Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
becki:linux:gnu_screen [2017-12-15 10:45] becki to Creole |
becki:linux:gnu_screen [2018-06-25 10:15] (aktuell) becki [Configuration] |
||
---|---|---|---|
Zeile 10: | Zeile 10: | ||
== Configuration | == Configuration | ||
- | Add | + | Append |
- | shell -bash | + | {{{ |
- | bindkey -d ^@ stuff ^H | + | shell -bash |
+ | shell -$SHELL #alternativ, from ~./screenrc | ||
+ | bindkey -d ^@ stuff ^H | ||
+ | }}} | ||
to ''~/.screenrc'' or to ''/etc/screenrc'' to automatically get a login shell and to enable the Backspace key. [[http://www4.informatik.uni-erlangen.de/~jnweiger/screen-faq.html|Login source]], [[http://www.deadlock.it/linux/fix-gnu-screen-backspace-misinterpretation/|Backspace source]] | to ''~/.screenrc'' or to ''/etc/screenrc'' to automatically get a login shell and to enable the Backspace key. [[http://www4.informatik.uni-erlangen.de/~jnweiger/screen-faq.html|Login source]], [[http://www.deadlock.it/linux/fix-gnu-screen-backspace-misinterpretation/|Backspace source]] | ||
+ | Note: The already existing {{{~./screenrc}}} file probably comes from {{{/etc/skel/.screenrc}}} | ||
== Commands | == Commands | ||
- | <code> | + | {{{ |
+ | C-a ? display a list of the available screen commands and their bindings | ||
+ | C-a v show screen version. Can be used to check if screen is running | ||
C-a S Split the current region horizontally into two new ones | C-a S Split the current region horizontally into two new ones | ||
- | C-a | Split the current region vertically into two new ones | + | C-a | (Sometimes) split the current region vertically into two new ones |
C-a <Tab> Move the input focus to the next region | C-a <Tab> Move the input focus to the next region | ||
C-a X Kill the current region. | C-a X Kill the current region. | ||
Zeile 33: | Zeile 40: | ||
C-a [ Enter copy/scrollback mode. Scroll with arrow keys | C-a [ Enter copy/scrollback mode. Scroll with arrow keys | ||
C-a ] Paste | C-a ] Paste | ||
- | </code> | + | }}} |
== Serial communication | == Serial communication | ||
Zeile 40: | Zeile 47: | ||
See also: [[man>screen#heading9|Window Types]] | See also: [[man>screen#heading9|Window Types]] | ||
+ | |||
+ | == Session Management | ||
+ | |||
+ | {{{ | ||
+ | C-a d detach screen session. Started programs continue | ||
+ | screen -ls prints a list of pid.tty.host strings identifying your screen sessions | ||
+ | screen -R reattach detachted screen session | ||
+ | }}} | ||