magic-lamp

twin is a great tool for connecting to a remote box and having the ability to have several consoles in a gui kind'a way.

There are other, more light-weight tools, such as screen, which is another means of leaving tasks running in the background.

The reason for this usage is so that I can have notes somewhere as a quick reference.

Starting Up

Connect to the box you want to fire up twin on. If you are using SSH the also pass the -XC arguments to turn on X11 forwarding and Compression.

If you don't already have a session then you start twin like this: twin -hw=X

Re-attaching

This was the part I most wanted, but found most elusive. If you already have a twin session running you should see it in ps -aux. Usually this will be twin :0. In this case to re-attach to this instance you need to twattach -twin@:0 -hw=X.

2003-10-25

Copyleft © 1998 - 2007 • Jinn Koriech