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 17:57]
181.110.117.188 Organize clipboard section. Remove duplicates. Delete commentary.
quick_reference [2021-02-19 19:39] (current)
Line 1: Line 1:
-====== screen Quick Reference ======+====== SCREEN Quick Reference ======
  
 ===== Getting in ===== ===== Getting in =====
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]]'' |
 | remove all regions but the current one | ''[[commands:only|C-a Q]]'' | | remove all regions but the current one | ''[[commands:only|C-a Q]]'' |
  
-===== Clipboard =====+===== Clipboard and Navigation =====
  
-copy mode | ''[[commands:copy|C-a [ ]]'' or ''[[commands:copy|C-a <esc>]]'' (also used for viewing scrollback buffer) +freely navigate buffer | ''[[commands:copy|C-a [ ]]'' or ''[[commands:copy|C-a <esc>]]''
-| toggle selection | ''[[commands:copy|space]]'' |+| toggle selection to copy | ''[[commands:copy|space]]'' |
 | paste                       | ''[[commands:copy|C-a ] ]]''  | | paste                       | ''[[commands:copy|C-a ] ]]''  |
  
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