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 [quick_reference]

Differences

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

quick_reference [2017/07/26 17:57]
181.110.117.188 Organize clipboard section. Remove duplicates. Delete commentary.
quick_reference [2018/01/11 15:01] (current)
128.214.166.186
Line 1: Line 1:
-====== screen Quick Reference ======+====== SCREEN Quick Reference ======
-===== Getting in =====+===== Getting in test ====
| 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]]'' |
| 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>+ 
 + 
 +A 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 =====
 
quick_reference.1501091824.txt.gz · Last modified: 2017/07/26 17:57 by 181.110.117.188
Recent changes RSS feed GNU General Public License Driven by DokuWiki