View on GitHub

Tanasinn

三 ┏( ^o^)┛ < Terminal emulator extension for Firefox / Thunderbird / SeaMonkey.

Download this project as a .zip file Download this project as a tar.gz file

Overview

tanasinn is a terminal emulator extension for Firefox/Thunderbird/SeaMonkey, which is supported on Windows(XP/Vista/7) + Cygwin / Mac / Linux / FreeBSD.

License

This software is distributed under Mozilla Public License 1.1(MPL 1.1).

Highlighting features

Requirements

Download

https://addons.mozilla.org/ja/seamonkey/addon/tanasinn/

Install

Build Firefox/Thunderbird/SeaMonkey extension(XPI package):

.Mac, FreeBSD, Linux, Cygwin
git clone TANASINN_GIT_REPOSITORY
cd tanasinn
./configure
make

If build process succeeded, target XPI file tanasinn@zuse.jp is to be generated. enjoy it!

Install as Vimperator/Muttator plugin:

You need to make some symbolic links into Vimperator/Muttator runtime directory

Mac, FreeBSD, Linux
git clone TANASINN_GIT_REPOSITORY
cd tanasinn
ln -s $PWD $RUNTIME/tanasinn
ln $PWD/modules/tanasinn-vimp.js $RUNTIME/plugin/
.Windows Vista/7 + Cygwin
git clone TANASINN_GIT_REPOSITORY
cd tanasinn
$(cygpath $COMSPEC) /c mklink /D "$(cygpath -w "$RUNTIME/tanasinn")" "$(cygpath -w "$PWD")";
ln $PWD/modules/tanasinn-vimp.js $RUNTIME/plugin/
Windows XP + Cygwin

To make Windows native symbolic link, you may need to install http:/#/www.microsoft.com/download/en/details.aspx?DisplayLang=en%2cen&id=17657[Windows Server 2003 Resource Kit Tools].

git clone TANASINN_GIT_REPOSITORY
cd tanasinn
$(cygpath $COMSPEC) /c linkd.exe "$(cygpath -w "$RUNTIME/tanasinn")" "$(cygpath -w "$PWD")";
ln $PWD/modules/tanasinn-vimp.js $RUNTIME/plugin/

$RUNTIME is Vimperator/Muttator runtime directory such as '$HOME/.{vimperator,muttator}'.

Launching

You can launch a terminal session from context menu.

[tanasinn] -> [New session]

Or, you can use GCLI integrated "tanasinn" command. Press and type as follows:

tanasinn <command line>

If it is Installed as Vimperator/Muttator plugin: You can also use the following integrated vimperator commands:

:tanasinnstart <command line>

Troubleshooting

※ If tanasinn does not work, try creating tanasinn.js at your home directory, as follows:

.%USERPROFILE%¥.tanasinn.js or $HOME/.tanasinn.js

process.cygwin_root = "C:\\cygwin";
process.bin_path = "/bin:/usr/bin:/usr/local/bin:/opt/local/bin";
process.python_path = "/usr/bin/python"

Operation

It is similar to well-known terminal emulators, like xterm. but including specific features as follows.

shift + shift (shift key twice)

switch input focus between terminal and commandline textbox.

shift + mouse drag

move window.

alt + mouse select

select rectangle region. (like Terminal.app)

alt + shift + drag

3D rotation

Supported escape sequences

See https://github.com/saitoha/tanasinn/wiki/_pages

Bug reports and patches

Patches and bug reports are are encouraged. > saitoha user@zuse.jp, or contact my twitter account(http://twitter.com/kefir_).