Strict Standards: Declaration of action_plugin_loglog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/public/screen/lib/plugins/loglog/action.php on line 15

Strict Standards: Declaration of action_plugin_captcha::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/public/screen/lib/plugins/captcha/action.php on line 0
GNU screen [faq]

Differences

This shows you the differences between two versions of the page.

faq [2010/01/29 19:01]
asciiphil More linkification.
faq [2015/03/02 15:52] (current)
asciiphil Add a question mark.
Line 1: Line 1:
====== FAQ ====== ====== FAQ ======
 +  
==== How do I get screen to put things into my terminal's scrollback? ==== ==== How do I get screen to put things into my terminal's scrollback? ====
 +
First off, it's recommended that you use ''screen'''s scrollback buffer instead.  Since you can have multiple windows in a ''screen'' session, if you switch between those windows, your terminal scrollback will mix lines from all of those windows, but ''screen'' keeps separate scrollback buffers for each one.  Just use ''[[commands:copy|C-a ESC]]''  or ''[[commands:copy|C-a []]'' to enter [[commands:copy]] mode.  (See also the [[interface#xterm-style_scrolling|interface examples]] for a description of how to make ''xterm'''s keystrokes work on ''screen'' instead.)  But if you do want scrollback in your terminal window (usually ''xterm''), read on. First off, it's recommended that you use ''screen'''s scrollback buffer instead.  Since you can have multiple windows in a ''screen'' session, if you switch between those windows, your terminal scrollback will mix lines from all of those windows, but ''screen'' keeps separate scrollback buffers for each one.  Just use ''[[commands:copy|C-a ESC]]''  or ''[[commands:copy|C-a []]'' to enter [[commands:copy]] mode.  (See also the [[interface#xterm-style_scrolling|interface examples]] for a description of how to make ''xterm'''s keystrokes work on ''screen'' instead.)  But if you do want scrollback in your terminal window (usually ''xterm''), read on.
Line 32: Line 33:
See the page on [[title examples]]. See the page on [[title examples]].
-==== How do I set and use session names ====+==== How do I set and use session names? ====
See the page on [[sessionnames]]. See the page on [[sessionnames]].
Line 108: Line 109:
Tutorial here: http://monia.wordpress.com/2006/08/31/integrating-gnome-terminal-and-screen/ Tutorial here: http://monia.wordpress.com/2006/08/31/integrating-gnome-terminal-and-screen/
 +(Note:This link wants you to sign in to view it. Is there a copy of this page anywhere that doesn't require that?)
==== I have a nested screen session - how do I send screen commands to the inner screen? ==== ==== I have a nested screen session - how do I send screen commands to the inner screen? ====
Line 113: Line 115:
When your outer/local ''screen'' session appears to catch your escape character, you have two options to send the escape to the inner ''screen'' session: When your outer/local ''screen'' session appears to catch your escape character, you have two options to send the escape to the inner ''screen'' session:
-  - (The quick-and-dirty method) When needed, tell the "outer" screen session to send a ''C-a'' to the inner session, with ''[[commands:meta|C-a a]]''.  For example, if you want to send ''[[commands:screen|C-a c]]'' to the inner session, you would type ''C-a a c'' to the outer session. +  - (The quick-and-dirty method) When needed, tell the "outer" screen session to send a ''C-a'' to the inner session, with ''[[commands:meta|C-a a]]''.  For example, if you want to send ''[[commands:screen|C-a c]]'' to the inner session, you would type ''C-a a c'' to the outer session.  For deeper nesting, just add more (middle) ''a'' keystrokes for each nested level
-  - (The sticky method) Change the [[commands:escape]] keystroke in one of the sessions, so they do not interfere.  For instance, to change the inner session's meta character to, say, ''C-s'' (instead of ''C-a''), use "''[[commands:colon|C-a a :]] [[commands:escape]] ^ss''".  Thereafter, use ''C-s'' for the inner ''screen'' session, instead of ''C-a''.+  - (The sticky method) Change the [[commands:escape]] keystroke in one of the sessions, so they do not interfere.  For instance, to change the inner session's [[commands:escape]] character to, say, ''C-s'' (instead of ''C-a''), use "''[[commands:colon|C-a a :]] [[commands:escape]] ^ss''".  Thereafter, use ''C-s'' for the inner ''screen'' session, instead of ''C-a''.
 +=== Oops, my process is running but not in ''screen'' ===
 +On Linux, we've heard that [[https://github.com/nelhage/reptyr|reptyr]] will let you pull a process into ''screen'' (i.e. grab its controlling terminal).  ''reptyr'' claims to be better than ''screenify''.
 
faq.1264791665.txt.gz · Last modified: 2010/01/29 19:01 by asciiphil
Recent changes RSS feed GNU General Public License Driven by DokuWiki