Toolserver:Screen

Problem: when you log off, the programs that were running under your session quit.

Solution: run the programs under screen.

Quick-start
Type $ screen at a terminal. You will get a new shell prompt. Now run your program here. When you want to log off, type  . You will see: [screen detached] and you're back at the old shell prompt. Now log off; your programs will continue running in screen's virtual terminal. When you want to get them back, log in again and run $ screen -r This will resume a detached screen. To terminate a screen, resume it with   and then press  , or simply exit the shell, and screen will exit automatically.

Other features

 * Opening multiple windows : Type CTRL+A c. A new screen will open.  You can switch between screens with CTRL+A #, where # is the screen to switch to (starting from 0).  All screens under the same session are detached and reattached together.
 * List all open windows : Type CTRL+A w.

For a detailed overview of screen, see the manual page screen(1).