[SLL] Screen
johnbaxterlists at mac.com
johnbaxterlists at mac.com
Sun Jan 13 10:14:02 PST 2008
On Jan 13, 2008, at 9:27 AM, Glenn Stone wrote:
> There are two ways to disconnect, and a couple different ways to
> reconnect
> as well. C-a d will disconnect the screen session, but leave you
> logged in;
> C-a C-d is a "power detach" which also terminates the calling
> shell. This
> is what I do just before going home.
>
> Then on the other end, I do
>
> ssh colohost -t "screen -D -R"
Thanks for the reconnect information.
If one gets into multi-level screen usage (as my colleague finds
himself doing a fair amount), it's handy to change escape characters
using -e in the screen command in one of the levels (as my colleague
routinely forgets to do). Otherwise, disconnecting becomes something
of a blunderbuss approach.
-e ^Aa
produces the default--control-A is the command character, and control-
Aa is the way to type a control-A into the session (eg, to return to
the start of a line in many contexts).
There is so much more to screen than I've ever used.
--John
More information about the linux-list
mailing list