Site Tools


Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
quick_reference [2017-07-26 18:03]
181.110.117.188 See previous
quick_reference [2018-11-14 10:15]
213.164.94.170 deleted 'test' in title
Line 1: Line 1:
-====== screen Quick Reference ======+====== SCREEN Quick Reference ======
  
-===== Getting in =====+===== Getting in ====
  
 | start a new screen session with session name | ''screen -S //<name>//'' | | start a new screen session with session name | ''screen -S //<name>//'' |
Line 41: Line 41:
  
 | split display horizontally  | ''[[commands:split|C-a S]]'' | | split display horizontally  | ''[[commands:split|C-a S]]'' |
-| split display vertically    | ''[[commands:split|C-a | or C-a V (for the vanilla vertical screen patch)]]'' |+| split display vertically    | ''[[commands:split|C-a |]]'' or ''[[commands:split|C-a V]]'' (for the vanilla vertical screen patch) |
 | jump to next display region | ''[[commands:focus|C-a tab]]'' | | jump to next display region | ''[[commands:focus|C-a tab]]'' |
 | remove current region       | ''[[commands:remove|C-a X]]'' | | remove current region       | ''[[commands:remove|C-a X]]'' |
Line 64: Line 64:
 | create a new window and run //ping example.com// | ''screen -S //<name>// -X screen //ping example.com//'' | | create a new window and run //ping example.com// | ''screen -S //<name>// -X screen //ping example.com//'' |
 | stuff characters into the input buffer\\ using bash to expand a newline character\\ ([[http://lists.gnu.org/archive/html/screen-users/2007-06/msg00012.html|from here]]) | <code bash>screen -S <name> [-p <page>] -X stuff $'quit\r'</code> | | stuff characters into the input buffer\\ using bash to expand a newline character\\ ([[http://lists.gnu.org/archive/html/screen-users/2007-06/msg00012.html|from here]]) | <code bash>screen -S <name> [-p <page>] -X stuff $'quit\r'</code> |
-| a full example <code bash>+ 
 + 
 +full example
 + 
 +<code bash>
 # run bash within screen # run bash within screen
 screen -AmdS bash_shell bash screen -AmdS bash_shell bash
Line 76: Line 80:
 # stuff 'exit\n' to exit bash session # stuff 'exit\n' to exit bash session
 screen -S bash_shell -X stuff $'exit\r' screen -S bash_shell -X stuff $'exit\r'
-</code> |+</code>
  
 ===== Misc ===== ===== Misc =====

User Tools