Screen

GNU Screen is a program that enables the user to create sessions and have several virtual consoles.

Installation
Full-screen window manager that multiplexes physical terminals between several processes Screen is available on Gentoo Linux and supports the following useflags


 * debug = Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 * multiuser = Enable multiuser support (by setting correct permissions)
 * nethack = Express error messages in nethack style
 * pam = Adds support for PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip

You can install Screen using the following command:

The configuration files are located in

Screen Configuration Files

Usage
General usage of Screen

Start Session
Screen can be started with the following command:

Once started is will create a socket for the session in /var/run/screen/S- You can use any key combination within the session except of Ctrl+A which initiates the Command-Mode.

Commands
In Command Mode the following key combinations can be used:
 * Ctrl+C = create another terminal
 * Ctrl+N = switch to the next terminal
 * Ctrl+D = detach from the current session

Resume Session
After the session is detached, all the active terminals remain active and so do commands that didn't finish yet. To list existing sessions:

screen -ls To resume this session:

Links
www.gnu.org