Multiple shell management with GNU Screen
Feb 18, 2009, 06:04 (0 Talkback[s])
(Other stories by Martin Streicher)
[ Thanks to An Anonymous Reader for
this link. ]
"Harry Potter may have his wand, Thor may have
Mjöllnir, and Buckethead may have his axe, but all those
gizmos pale in power to the QWERTY. With a few taps at the command
line, you can launch a Web site, recruit legions to your cause, or
vanquish a marauding thunder lizard.
"Alas, even the mighty QWERTY has a fatal weakness: It succumbs
easily to a cut connection. A noisy phone line, a lost cellular or
wireless connection, or a network time-out spells certain death for
a remote shell. If you've spent hours on a task, such as debugging
an application, it can be frustrating and maddening to lose your
work in an instant.
"But don't smash Mjöllnir into your head. Instead, adopt
GNU Screen. Screen creates and manages multiple shell windows
within a console (say, a dumb terminal physically connected to the
host), an xterm window, or a Secure Shell (SSH) login. You can
switch from one shell window to another in a flash, and you can
leave shells running perpetually and reconnect at any time.
Effectively, Screen provides many virtualized consoles."