A word from our sponsors

Differences

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

Link to this comparison view

Next revision
Previous revision
sw:screen:intro [2016/06/29 19:55] – created Frank Fegertsw:screen:intro [2017/08/29 19:43] (current) Frank Fegert
Line 1: Line 1:
 ====== Introduction ====== ====== Introduction ======
  
-FIXME+A screen manager with VT100/ANSI terminal emulation. 
 + 
 +Screen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells). Each virtual terminal provides the functions of a DEC VT100 terminal and, in addition, several control functions from  the  ISO  6429 (ECMA  48,  ANSI X3.64) and ISO 2022 standards (e.g. insert/delete line and support for multiple character sets).  There is a scrollback history buffer for each virtual terminal and a copy-and-paste mechanism that allows moving text regions between windows.
  
 ====== Links ====== ====== Links ======
- 
-FIXME 
  
 ===== General ===== ===== General =====
  
-FIXME +[[https://www.gnu.org/software/screen/]]\\
- +
-/* [[]]\\ */+
  
 ====== Docs ====== ====== Docs ======
  
-FIXME+[[https://www.gnu.org/software/screen/manual/]]\\
  
 ====== Files and Directories ====== ====== Files and Directories ======
- 
-FIXME 
  
 ===== General Files and Directories ===== ===== General Files and Directories =====
Line 27: Line 23:
 ===== Configuration Files ===== ===== Configuration Files =====
  
-FIXME+^ File                  ^ Description                                                       ^ 
 +| ''$SYSSCREENRC''      | System-wide screen configuration for all users on the system.     | 
 +| ''/etc/screenrc''     | System-wide screen configuration for all users on the system.     | 
 +| ''$SCREENRC''         | User-specific screen configuration.                               | 
 +| ''$HOME/.screenrc''   | User-specific screen configuration.                               | 
 + 
 +Each configuration location from top to bottom can override configuration options set in the previous one.
  
 ====== Getting Help ====== ====== Getting Help ======
- 
-FIXME 
  
 Manual pages:  Manual pages: 
  
 <cli> <cli>
-user@host:~$ +user@host:~$ man screen
 </cli> </cli>
  
 ====== Install ====== ====== Install ======
  
-FIXME +To install //screen// on Debian: 
- +
-To install //// on Debian: +
  
 <cli> <cli>
-root@host:~$ +root@host:~$ apt-get update 
 +root@host:~$ apt-get -y install screen
 </cli>  </cli> 
  
 ====== Configuration ====== ====== Configuration ======
  
-FIXME+General configuration: 
 + 
 +<code bash> 
 +autodetach on           # Detach upon hangup, keep programs in screen(s) 
 +                        # running: Default: on 
 +bell_msg 'Update in window %n' # Message shown for a bell in a non-active window 
 + 
 +# Always show a caption. Default: splitonly 
 +# Format: 
 +#  - The background color is black. 
 +#  - On the left side, show the hostname enclosed in "[" and "]" in a 
 +#    green color. 
 +#  - On the right side, show the date in a blue color and the time in 
 +#    a white color together enclosed in "[" and "]"
 +#  - In the middle show the window list. The active window name in a 
 +#    white color and enclosed in red "(" and ")". The inactive window 
 +#    names in a gray color. 
 +caption always '%{= kG}[%{G}%H%{g}][%=%{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%=%{g}][%{B}%Y/%m/%d %{W}%c:%s%{g}]' 
 + 
 +defmonitor off          # Do not display activity notification messages 
 +                        # for windows which are in the background. 
 +defscrollback 50000     # Keep scrollback buffer of n lines. Default: 100 
 +defutf8 on              # Set the default character encoding to UFT8 
 +hardcopydir $HOME       # Write hardcopys to the users $HOME. Default: 
 +                        # current working directory 
 +msgwait 5               # Duration a message is displayed. Default: 5 
 +shelltitle 'bash'       # Name of the title for newly created windows 
 +startup_message off     # Do not show the screens startup message 
 +vbell off               # Disable the visual bell 
 +</code> 
 + 
 +Key bindings: 
 +  * Reload the screen configuration file of the current user with <kbd>C - 'A'</kbd> <kbd>Shift - R</kbd>: 
 +<code bash> 
 +bind R eval "source $HOME/.screenrc" "echo '.screenrc reloaded!'" 
 +</code> <
  
 ====== Usage ====== ====== Usage ======
  
-FIXME+To start a new //screen// session:
  
-===== Status Check =====+<cli> 
 +user@host:~$ screen 
 +</cli>
  
-FIXME+Detach a //screen// session already running: 
 + 
 +<cli> 
 +user@host:~$ screen -d [pid.tty.host] 
 +</cli>
  
-To check the status of ////: +Reattach to a already running //screen// session:
  
 <cli> <cli>
-root@host:~$ +user@host:~$ screen -d -r [pid.tty.host]
 </cli> </cli>
  
-====== Recipies ======+===== Status Check =====
  
-FIXME+To check the status of all currently running //screen// sessions:  
 + 
 +<cli> 
 +user@host:~$ screen -list 
 +user@host:~$ screen -ls 
 +There is a screen on: 
 +    6156.pts-0.hostname     (08/04/2017 06:43:08 AM)    (Detached) 
 +1 Socket in /var/run/screen/S-root. 
 +</cli> 
 + 
 +====== Recipies ======
  
-<nspages recipies -subns -pagesInNs -simpleList -title -hideNoSubns -hideNoPages -textNS="" -exclude:start>+<nspages .:recipies -subns -pagesInNs -simpleList -title -hideNoSubns -hideNoPages -textNS="" -exclude:start>
  
 ====== Known Issues ====== ====== Known Issues ======