X-Git-Url: https://sipb.mit.edu/gitweb.cgi/wiki.git/blobdiff_plain/205750e85ded8d754e66e2b9df2543beb625f3fd..1986b7ff54a863cb3bb93ff4d4a24d0213b1add4:/doc/UsingScreen diff --git a/doc/UsingScreen b/doc/UsingScreen index 0a448ca..eb0f875 100644 --- a/doc/UsingScreen +++ b/doc/UsingScreen @@ -25,8 +25,21 @@ The {{{-dr}}} means "find my screen session, detach it from wherever it's attach Once you're comfortable with this, hit "C-a C-c". This creates what screen calls a new "window"; it should give you a new shell prompt, and you can do stuff at it. If you want to switch back to the old "window", hit "C-a C-a". You can create as many "windows" as you want; you can -switch to the first 10 of them with "C-a 0" through "C-a 9" and see a list of what's open with "C-a w". +switch to the first 10 of them with "C-a 0" through "C-a 9" and see a list of what's open with "C-a w". ("C-a C-a" actually means "switch to the previously +used window".) A useful shorthand: {{{screen -dR}}} is like {{{screen -dr}}} except it adds a "if I don't already have a session, create one" step. -You can uses {{{screen -x}}} to attach a screen session +You can use {{{screen -x}}} to attach a screen session that's already attached somewhere without detaching it first. This can +have side effects if the other place is already attached or is in a window that is a different size than your current one. +It's useful when you want to share context between different screens, or even different people, but doing it when you're not +sure where else your screen might be attached has privacy implications. + +== For More Information == + +{{{screen}}} can do lots of stuff. If you have a while to burn, run {{{man screen}}} at the shell prompt. It may be helpful to do this inside of screen +so you can put it down and come back to it later. + +=== TODO === + +clean up, explain the "C-a C-a" notation. \ No newline at end of file