= Gnu Screen Tips Screen multiplexes a physical terminal between several shells. == Info sources # [[http://www.gnu.org/software/screen/manual/html_node|Screen User's Manual]] # [[http://www.tutorials.de/linux-tutorials/151906-einfuehrung-screen.html|Einführung in Screen]] == Configuration Append {{{ 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]] Note: The already existing {{{~./screenrc}}} file probably comes from {{{/etc/skel/.screenrc}}} == Commands {{{ 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 | (Sometimes) split the current region vertically into two new ones C-a Move the input focus to the next region C-a X Kill the current region. C-a c Establish a new window (termial) C-a n next window C-a p provious window C-a " window list C-a K kill current window C-a [ Enter copy/scrollback mode. Scroll with arrow keys C-a ] Paste }}} == Serial communication Establish serial connection with eg: ''screen /dev/ttyUSB1 115200'' 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 }}}