{"id":343,"date":"2019-10-21T19:54:09","date_gmt":"2019-10-21T17:54:09","guid":{"rendered":"http:\/\/linuxboxen2.dk\/?p=343"},"modified":"2019-10-21T19:54:09","modified_gmt":"2019-10-21T17:54:09","slug":"org_screen","status":"publish","type":"post","link":"https:\/\/www.linuxboxen.dk\/?p=343","title":{"rendered":"SCREEN"},"content":{"rendered":"<p>SCREEN(1)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 General Commands Manual\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 SCREEN(1)<\/p>\n<p>NAME<br \/>\nscreen &#8211; screen manager with VT100\/ANSI terminal emulation<\/p>\n<p>SYNOPSIS<br \/>\nscreen [ -options ] [ cmd [ args ] ]<br \/>\nscreen -r [[pid.]tty[.host]]<br \/>\nscreen -r sessionowner\/[[pid.]tty[.host]]<\/p>\n<p>DESCRIPTION<br \/>\nScreen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells).\u00a0 Each virtual terminal<br \/>\nprovides the functions of a DEC VT100 terminal and, in addition, several control functions from the ISO 6429 (ECMA 48, ANSI X3.64) and\u00a0 ISO\u00a0 2022\u00a0 standards<br \/>\n(e.g.\u00a0 insert\/delete\u00a0 line\u00a0 and\u00a0 support\u00a0 for multiple character sets).\u00a0 There is a scrollback history buffer for each virtual terminal and a copy-and-paste<br \/>\nmechanism that allows moving text regions between windows.<\/p>\n<p>When screen is called, it creates a single window with a shell in it (or the specified command) and then gets out of your way so that you can use\u00a0 the\u00a0 pro\u2010<br \/>\ngram\u00a0 as you normally would.\u00a0 Then, at any time, you can create new (full-screen) windows with other programs in them (including more shells), kill existing<br \/>\nwindows, view a list of windows, turn output logging on and off, copy-and-paste text between windows, view the scrollback history, switch between windows in<br \/>\nwhatever\u00a0 manner you wish, etc. All windows run their programs completely independent of each other. Programs continue to run when their window is currently<br \/>\nnot visible and even when the whole screen session is detached from the user&#8217;s terminal.\u00a0 When a program terminates, screen (per default) kills\u00a0 the\u00a0 window<br \/>\nthat\u00a0 contained\u00a0 it.\u00a0 If this window was in the foreground, the display switches to the previous window; if none are left, screen exits. Shells usually dis\u2010<br \/>\ntinguish between running as login-shell or sub-shell.\u00a0 Screen runs them as sub-shells, unless told otherwise (See &#8220;shell&#8221; .screenrc command).<\/p>\n<p>Everything you type is sent to the program running in the current window.\u00a0 The only exception to this is the one keystroke that is used to initiate\u00a0 a\u00a0 com\u2010<br \/>\nmand\u00a0 to\u00a0 the\u00a0 window manager.\u00a0 By default, each command begins with a control-a (abbreviated C-a from now on), and is followed by one other keystroke.\u00a0 The<br \/>\ncommand character and all the key bindings can be fully customized to be anything you like, though they are always two characters in length.<\/p>\n<p>Screen does not understand the prefix &#8220;C-&#8221; to mean control, although this notation is used in this manual for readability.\u00a0 Please use\u00a0 the\u00a0 caret\u00a0 notation<br \/>\n(&#8220;^A&#8221; instead of &#8220;C-a&#8221;) as arguments to e.g. the escape command or the -e option.\u00a0 Screen will also print out control characters in caret notation.<\/p>\n<p>The\u00a0 standard\u00a0 way to create a new window is to type &#8220;C-a c&#8221;.\u00a0 This creates a new window running a shell and switches to that window immediately, regardless<br \/>\nof the state of the process running in the current window.\u00a0 Similarly, you can create a new window with a custom command in it by first binding the\u00a0 command<br \/>\nto\u00a0 a\u00a0 keystroke\u00a0 (in\u00a0 your .screenrc file or at the &#8220;C-a :&#8221; command line) and then using it just like the &#8220;C-a c&#8221; command.\u00a0 In addition, new windows can be<br \/>\ncreated by running a command like:<\/p>\n<p>screen emacs prog.c<\/p>\n<p>from a shell prompt within a previously created window.\u00a0 This will not run another copy of screen, but will instead supply the command name\u00a0 and\u00a0 its\u00a0 argu\u2010<br \/>\nments\u00a0 to the window manager (specified in the $STY environment variable) who will use it to create the new window.\u00a0 The above example would start the emacs<br \/>\neditor (editing prog.c) and switch to its window. &#8211; Note that you cannot transport environment variables from the invoking shell to the\u00a0 application\u00a0 (emacs<br \/>\nin this case), because it is forked from the parent screen process, not from the invoking shell.<\/p>\n<p>If\u00a0 &#8220;\/var\/run\/utmp&#8221;\u00a0 is\u00a0 writable\u00a0 by screen, an appropriate record will be written to this file for each window, and removed when the window is terminated.<br \/>\nThis is useful for working with &#8220;talk&#8221;, &#8220;script&#8221;, &#8220;shutdown&#8221;, &#8220;rsend&#8221;, &#8220;sccs&#8221; and other similar programs that use the utmp file to determine who you are. As<br \/>\nlong as screen is active on your terminal, the terminal&#8217;s own record is removed from the utmp file. See also &#8220;C-a L&#8221;.<\/p>\n<p>GETTING STARTED<br \/>\nBefore\u00a0 you\u00a0 begin\u00a0 to\u00a0 use screen you&#8217;ll need to make sure you have correctly selected your terminal type, just as you would for any other termcap\/terminfo<br \/>\nprogram.\u00a0 (You can do this by using tset for example.)<\/p>\n<p>If you&#8217;re impatient and want to get started without doing a lot more reading, you should remember this one command:\u00a0 &#8220;C-a ?&#8221;.\u00a0 Typing these\u00a0 two\u00a0 characters<br \/>\nwill\u00a0 display a list of the available screen commands and their bindings. Each keystroke is discussed in the section &#8220;DEFAULT KEY BINDINGS&#8221;. The manual sec\u2010<br \/>\ntion &#8220;CUSTOMIZATION&#8221; deals with the contents of your .screenrc.<\/p>\n<p>If your terminal is a &#8220;true&#8221; auto-margin terminal (it doesn&#8217;t allow the last position on the screen to be updated without\u00a0 scrolling\u00a0 the\u00a0 screen)\u00a0 consider<br \/>\nusing\u00a0 a version of your terminal&#8217;s termcap that has automatic margins turned off. This will ensure an accurate and optimal update of the screen in all cir\u2010<br \/>\ncumstances. Most terminals nowadays have &#8220;magic&#8221; margins (automatic margins plus usable last column). This is the VT100 style type and perfectly suited\u00a0 for<br \/>\nscreen.\u00a0\u00a0 If\u00a0 all\u00a0 you&#8217;ve\u00a0 got is a &#8220;true&#8221; auto-margin terminal screen will be content to use it, but updating a character put into the last position on the<br \/>\nscreen may not be possible until the screen scrolls or the character is moved into a safe position in some other way. This delay can be shortened by using a<br \/>\nterminal with insert-character capability.<\/p>\n<p>COMMAND-LINE OPTIONS<br \/>\nScreen has the following command-line options:<\/p>\n<p>-a\u00a0\u00a0 include all capabilities (with some minor exceptions) in each window&#8217;s termcap, even if screen must redraw parts of the display in order to implement a<br \/>\nfunction.<\/p>\n<p>-A\u00a0\u00a0 Adapt the sizes of all windows to the size of the current terminal.\u00a0 By default, screen tries to restore its old window sizes when attaching to\u00a0 resiz\u2010<br \/>\nable terminals (those with &#8220;WS&#8221; in its description, e.g. suncmd or some xterm).<\/p>\n<p>-c file<br \/>\noverride the default configuration file from &#8220;$HOME\/.screenrc&#8221; to file.<\/p>\n<p>-d|-D [pid.tty.host]<br \/>\ndoes\u00a0 not start screen, but detaches the elsewhere running screen session. It has the same effect as typing &#8220;C-a d&#8221; from screen&#8217;s controlling terminal.<br \/>\n-D is the equivalent to the power detach key.\u00a0 If no session can be detached, this option is ignored. In combination with the -r\/-R option more\u00a0 power\u2010<br \/>\nful effects can be achieved:<\/p>\n<p>-d -r\u00a0\u00a0 Reattach a session and if necessary detach it first.<\/p>\n<p>-d -R\u00a0\u00a0 Reattach a session and if necessary detach or even create it first.<\/p>\n<p>-d -RR\u00a0 Reattach a session and if necessary detach or create it. Use the first session if more than one session is available.<\/p>\n<p>-D -r\u00a0\u00a0 Reattach a session. If necessary detach and logout remotely first.<\/p>\n<p>-D -R\u00a0\u00a0 Attach\u00a0 here\u00a0 and\u00a0 now.\u00a0 In detail this means: If a session is running, then reattach. If necessary detach and logout remotely first.\u00a0 If it was not<br \/>\nrunning create it and notify the user. This is the author&#8217;s favorite.<\/p>\n<p>-D -RR\u00a0 Attach here and now. Whatever that means, just do it.<\/p>\n<p>Note: It is always a good idea to check the status of your sessions by means of &#8220;screen -list&#8221;.<\/p>\n<p>-e xy<br \/>\nspecifies the command character to be x and the character generating a literal command character to y (when typed after the\u00a0 command\u00a0 character).\u00a0\u00a0 The<br \/>\ndefault\u00a0 is\u00a0 &#8220;C-a&#8221;\u00a0 and\u00a0 `a&#8217;,\u00a0 which can be specified as &#8220;-e^Aa&#8221;.\u00a0 When creating a screen session, this option sets the default command character. In a<br \/>\nmultiuser session all users added will start off with this command character. But when attaching to an already running\u00a0 session,\u00a0 this\u00a0 option\u00a0 changes<br \/>\nonly the command character of the attaching user.\u00a0 This option is equivalent to either the commands &#8220;defescape&#8221; or &#8220;escape&#8221; respectively.<\/p>\n<p>-f, -fn, and -fa<br \/>\nturns flow-control on, off, or &#8220;automatic switching mode&#8221;.\u00a0 This can also be defined through the &#8220;defflow&#8221; .screenrc command.<\/p>\n<p>-h num<br \/>\nSpecifies the history scrollback buffer to be num lines high.<\/p>\n<p>-i\u00a0\u00a0 will\u00a0 cause\u00a0 the\u00a0 interrupt\u00a0 key\u00a0 (usually\u00a0 C-c) to interrupt the display immediately when flow-control is on.\u00a0 See the &#8220;defflow&#8221; .screenrc command for<br \/>\ndetails.\u00a0 The use of this option is discouraged.<\/p>\n<p>-l and -ln<br \/>\nturns login mode on or off (for \/var\/run\/utmp updating).\u00a0 This can also be defined through the &#8220;deflogin&#8221; .screenrc command.<\/p>\n<p>-ls [match]<br \/>\n-list [match]<br \/>\ndoes not start screen, but prints a list of pid.tty.host strings and creation timestamps identifying your screen sessions.\u00a0 Sessions marked\u00a0 `detached&#8217;<br \/>\ncan\u00a0 be\u00a0 resumed\u00a0 with\u00a0 &#8220;screen\u00a0 -r&#8221;. Those marked `attached&#8217; are running and have a controlling terminal. If the session runs in multiuser mode, it is<br \/>\nmarked `multi&#8217;. Sessions marked as `unreachable&#8217; either live on a different host or are `dead&#8217;.\u00a0 An unreachable session is considered\u00a0 dead,\u00a0 when\u00a0 its<br \/>\nname\u00a0 matches either the name of the local host, or the specified parameter, if any.\u00a0 See the -r flag for a description how to construct matches.\u00a0 Ses\u2010<br \/>\nsions marked as `dead&#8217; should be thoroughly checked and removed.\u00a0 Ask your system administrator if you are not sure. Remove\u00a0 sessions\u00a0 with\u00a0 the\u00a0 -wipe<br \/>\noption.<\/p>\n<p>-L\u00a0\u00a0 tells screen to turn on automatic output logging for the windows.<\/p>\n<p>-m\u00a0\u00a0 causes screen to ignore the $STY environment variable. With &#8220;screen -m&#8221; creation of a new session is enforced, regardless whether screen is called from<br \/>\nwithin another screen session or not. This flag has a special meaning in connection with the `-d&#8217; option:<\/p>\n<p>-d -m\u00a0\u00a0 Start screen in &#8220;detached&#8221; mode. This creates a new session but doesn&#8217;t attach to it. This is useful for system startup scripts.<\/p>\n<p>-D -m\u00a0\u00a0 This also starts screen in &#8220;detached&#8221; mode, but doesn&#8217;t fork a new process. The command exits if the session terminates.<\/p>\n<p>-O\u00a0\u00a0 selects a more optimal output mode for your terminal rather than true VT100 emulation (only affects auto-margin terminals without `LP&#8217;).\u00a0 This can also<br \/>\nbe set in your .screenrc by specifying `OP&#8217; in a &#8220;termcap&#8221; command.<\/p>\n<p>-p number_or_name|-|=|+<br \/>\nPreselect\u00a0 a window. This is useful when you want to reattach to a specific window or you want to send a command via the &#8220;-X&#8221; option to a specific win\u2010<br \/>\ndow. As with screen&#8217;s select command, &#8220;-&#8221; selects the blank window. As a special case for reattach, &#8220;=&#8221; brings up the windowlist on the\u00a0 blank\u00a0 window,<br \/>\nwhile a &#8220;+&#8221; will create a new window. The command will not be executed if the specified window could not be found.<\/p>\n<p>-q\u00a0\u00a0 Suppress\u00a0 printing\u00a0 of error messages. In combination with &#8220;-ls&#8221; the exit value is as follows: 9 indicates a directory without sessions. 10 indicates a<br \/>\ndirectory with running but not attachable sessions. 11 (or more) indicates 1 (or more) usable sessions.\u00a0 In combination with &#8220;-r&#8221; the exit value is\u00a0 as<br \/>\nfollows:\u00a0 10\u00a0 indicates that there is no session to resume. 12 (or more) indicates that there are 2 (or more) sessions to resume and you should specify<br \/>\nwhich one to choose.\u00a0 In all other cases &#8220;-q&#8221; has no effect.<\/p>\n<p>-Q\u00a0\u00a0 Some commands now can be queried from a remote session using this flag, e.g. &#8220;screen -Q windows&#8221;. The commands will send the response to the stdout\u00a0 of<br \/>\nthe querying process. If there was an error in the command, then the querying process will exit with a non-zero status.<\/p>\n<p>The commands that can be queried now are:<br \/>\necho<br \/>\ninfo<br \/>\nlastmsg<br \/>\nnumber<br \/>\nselect<br \/>\ntime<br \/>\ntitle<br \/>\nwindows<\/p>\n<p>-r [pid.tty.host]<br \/>\n-r sessionowner\/[pid.tty.host]<br \/>\nresumes a detached screen session.\u00a0 No other options (except combinations with -d\/-D) may be specified, though an optional prefix of [pid.]tty.host may<br \/>\nbe needed to distinguish between multiple detached screen sessions.\u00a0 The second form is used to connect to another user&#8217;s screen session which runs\u00a0 in<br \/>\nmultiuser mode. This indicates that screen should look for sessions in another user&#8217;s directory. This requires setuid-root.<\/p>\n<p>-R\u00a0\u00a0 attempts\u00a0 to\u00a0 resume\u00a0 the\u00a0 youngest\u00a0 (in\u00a0 terms\u00a0 of creation time) detached screen session it finds.\u00a0 If successful, all other command-line options are<br \/>\nignored.\u00a0 If no detached session exists, starts a new session using the specified options, just as if -R had not been specified. The option is\u00a0 set\u00a0 by<br \/>\ndefault\u00a0 if\u00a0 screen is run as a login-shell (actually screen uses &#8220;-xRR&#8221; in that case).\u00a0 For combinations with the -d\/-D option see there.\u00a0 Note: Time-<br \/>\nbased session selection is a Debian addition.<\/p>\n<p>-s program<br \/>\nsets the default shell to the program specified, instead of the value in the environment variable $SHELL (or &#8220;\/bin\/sh&#8221; if not defined).\u00a0 This can\u00a0 also<br \/>\nbe defined through the &#8220;shell&#8221; .screenrc command.\u00a0 See also there.<\/p>\n<p>-S sessionname<br \/>\nWhen\u00a0 creating a new session, this option can be used to specify a meaningful name for the session. This name identifies the session for &#8220;screen -list&#8221;<br \/>\nand &#8220;screen -r&#8221; actions. It substitutes the default [tty.host] suffix.<\/p>\n<p>-t name<br \/>\nsets the title (a.k.a.) for the default shell or specified program.\u00a0 See also the &#8220;shelltitle&#8221; .screenrc command.<\/p>\n<p>-T term<br \/>\nSet the $TERM environment varible using the spcified term as opposed to the defualt setting of screen.<\/p>\n<p>-U\u00a0\u00a0 Run screen in UTF-8 mode. This option tells screen that your terminal sends and understands UTF-8 encoded characters. It also sets the default encoding<br \/>\nfor new windows to `utf8&#8242;.<\/p>\n<p>-v\u00a0\u00a0 Print version number.<\/p>\n<p>-wipe [match]<br \/>\ndoes\u00a0 the\u00a0 same as &#8220;screen -ls&#8221;, but removes destroyed sessions instead of marking them as `dead&#8217;.\u00a0 An unreachable session is considered dead, when its<br \/>\nname matches either the name of the local host, or the explicitly given parameter, if any.\u00a0 See the -r flag for a description how to construct matches.<\/p>\n<p>-x\u00a0\u00a0 Attach to a not detached screen session. (Multi display mode).\u00a0 Screen refuses to attach from within itself.\u00a0\u00a0 But\u00a0 when\u00a0 cascading\u00a0 multiple\u00a0 screens,<br \/>\nloops are not detected; take care.<\/p>\n<p>-X\u00a0\u00a0 Send\u00a0 the\u00a0 specified\u00a0 command\u00a0 to a running screen session. You may use the -S option to specify the screen session if you have several screen sessions<br \/>\nrunning. You can use the -d or -r option to tell screen to look only for attached or detached screen sessions. Note that this command doesn&#8217;t\u00a0 work\u00a0 if<br \/>\nthe session is password protected.<\/p>\n<p>-4\u00a0\u00a0 Resolve hostnames only to IPv4 addresses.<\/p>\n<p>-6\u00a0\u00a0 Resolve hostnames only to IPv6 addresses.<\/p>\n<p>DEFAULT KEY BINDINGS<br \/>\nAs mentioned, each screen command consists of a &#8220;C-a&#8221; followed by one other character.\u00a0 For your convenience, all commands that are bound to lower-case let\u2010<br \/>\nters are also bound to their control character counterparts (with the exception of &#8220;C-a a&#8221;; see below), thus, &#8220;C-a c&#8221; as well as &#8220;C-a C-c&#8221; can\u00a0 be\u00a0 used\u00a0 to<br \/>\ncreate a window. See section &#8220;CUSTOMIZATION&#8221; for a description of the command.<\/p>\n<p>The following table shows the default key bindings:<\/p>\n<p>C-a &#8216;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (select)\u00a0\u00a0\u00a0\u00a0\u00a0 Prompt for a window name or number to switch to.<\/p>\n<p>C-a &#8221;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (windowlist -b)<br \/>\nPresent a list of all windows for selection.<\/p>\n<p>C-a 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (select 0)<br \/>\n\u2026\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u2026<br \/>\nC-a 9\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (select 9)<br \/>\nC-a &#8211;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (select -)\u00a0\u00a0\u00a0 Switch to window number 0 &#8211; 9, or to the blank window.<\/p>\n<p>C-a tab\u00a0\u00a0\u00a0\u00a0 (focus)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Switch the input focus to the next region.\u00a0 See also split, remove, only.<\/p>\n<p>C-a C-a\u00a0\u00a0\u00a0\u00a0 (other)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Toggle\u00a0 to the window displayed previously.\u00a0 Note that this binding defaults to the command character typed twice, unless overrid\u2010<br \/>\nden.\u00a0 For instance, if you use the option &#8220;-e]x&#8221;, this command becomes &#8220;]]&#8221;.<\/p>\n<p>C-a a\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (meta)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Send the command character (C-a) to window. See escape command.<\/p>\n<p>C-a A\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (title)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Allow the user to enter a name for the current window.<\/p>\n<p>C-a b<br \/>\nC-a C-b\u00a0\u00a0\u00a0\u00a0 (break)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Send a break to window.<\/p>\n<p>C-a B\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (pow_break)\u00a0\u00a0 Reopen the terminal line and send a break.<\/p>\n<p>C-a c<br \/>\nC-a C-c\u00a0\u00a0\u00a0\u00a0 (screen)\u00a0\u00a0\u00a0\u00a0\u00a0 Create a new window with a shell and switch to that window.<\/p>\n<p>C-a C\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (clear)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Clear the screen.<\/p>\n<p>C-a d<br \/>\nC-a C-d\u00a0\u00a0\u00a0\u00a0 (detach)\u00a0\u00a0\u00a0\u00a0\u00a0 Detach screen from this terminal.<\/p>\n<p>C-a D D\u00a0\u00a0\u00a0\u00a0 (pow_detach)\u00a0 Detach and logout.<\/p>\n<p>C-a f<br \/>\nC-a C-f\u00a0\u00a0\u00a0\u00a0 (flow)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Toggle flow on, off or auto.<\/p>\n<p>C-a F\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (fit)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Resize the window to the current region size.<\/p>\n<p>C-a C-g\u00a0\u00a0\u00a0\u00a0 (vbell)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Toggles screen&#8217;s visual bell mode.<\/p>\n<p>C-a h\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (hardcopy)\u00a0\u00a0\u00a0 Write a hardcopy of the current window to the file &#8220;hardcopy.n&#8221;.<\/p>\n<p>C-a H\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (log)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Begins\/ends logging of the current window to the file &#8220;screenlog.n&#8221;.<\/p>\n<p>C-a i<br \/>\nC-a C-i\u00a0\u00a0\u00a0\u00a0 (info)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Show info about this window.<\/p>\n<p>C-a k<br \/>\nC-a C-k\u00a0\u00a0\u00a0\u00a0 (kill)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Destroy current window.<\/p>\n<p>C-a l<br \/>\nC-a C-l\u00a0\u00a0\u00a0\u00a0 (redisplay)\u00a0\u00a0 Fully refresh current window.<\/p>\n<p>C-a L\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (login)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Toggle this windows login slot. Available only if screen is configured to update the utmp database.<\/p>\n<p>C-a m<br \/>\nC-a C-m\u00a0\u00a0\u00a0\u00a0 (lastmsg)\u00a0\u00a0\u00a0\u00a0 Repeat the last message displayed in the message line.<\/p>\n<p>C-a M\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (monitor)\u00a0\u00a0\u00a0\u00a0 Toggles monitoring of the current window.<\/p>\n<p>C-a space<br \/>\nC-a n<br \/>\nC-a C-n\u00a0\u00a0\u00a0\u00a0 (next)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Switch to the next window.<\/p>\n<p>C-a N\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (number)\u00a0\u00a0\u00a0\u00a0\u00a0 Show the number (and title) of the current window.<\/p>\n<p>C-a backspace<br \/>\nC-a C-h<br \/>\nC-a p<br \/>\nC-a C-p\u00a0\u00a0\u00a0\u00a0 (prev)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Switch to the previous window (opposite of C-a n).<\/p>\n<p>C-a q<br \/>\nC-a C-q\u00a0\u00a0\u00a0\u00a0 (xon)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Send a control-q to the current window.<\/p>\n<p>C-a Q\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (only)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Delete all regions but the current one.\u00a0 See also split, remove, focus.<\/p>\n<p>C-a r<br \/>\nC-a C-r\u00a0\u00a0\u00a0\u00a0 (wrap)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Toggle the current window&#8217;s line-wrap setting (turn the current window&#8217;s automatic margins on and off).<\/p>\n<p>C-a s<br \/>\nC-a C-s\u00a0\u00a0\u00a0\u00a0 (xoff)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Send a control-s to the current window.<\/p>\n<p>C-a S\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (split)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Split the current region horizontally into two new ones.\u00a0 See also only, remove, focus.<\/p>\n<p>C-a t<br \/>\nC-a C-t\u00a0\u00a0\u00a0\u00a0 (time)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Show system information.<\/p>\n<p>C-a v\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (version)\u00a0\u00a0\u00a0\u00a0 Display the version and compilation date.<\/p>\n<p>C-a C-v\u00a0\u00a0\u00a0\u00a0 (digraph)\u00a0\u00a0\u00a0\u00a0 Enter digraph.<\/p>\n<p>C-a w<br \/>\nC-a C-w\u00a0\u00a0\u00a0\u00a0 (windows)\u00a0\u00a0\u00a0\u00a0 Show a list of window.<\/p>\n<p>C-a W\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (width)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Toggle 80\/132 columns.<\/p>\n<p>C-a x<br \/>\nC-a C-x\u00a0\u00a0\u00a0\u00a0 (lockscreen)\u00a0 Lock this terminal.<\/p>\n<p>C-a X\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (remove)\u00a0\u00a0\u00a0\u00a0\u00a0 Kill the current region.\u00a0 See also split, only, focus.<\/p>\n<p>C-a z<br \/>\nC-a C-z\u00a0\u00a0\u00a0\u00a0 (suspend)\u00a0\u00a0\u00a0\u00a0 Suspend screen.\u00a0 Your system must support BSD-style job-control.<\/p>\n<p>C-a Z\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (reset)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Reset the virtual terminal to its &#8220;power-on&#8221; values.<\/p>\n<p>C-a .\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (dumptermcap) Write out a &#8220;.termcap&#8221; file.<\/p>\n<p>C-a ?\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (help)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Show key bindings.<\/p>\n<p>C-a \\\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (quit)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Kill all windows and terminate screen.<\/p>\n<p>C-a :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (colon)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Enter command line mode.<\/p>\n<p>C-a [<br \/>\nC-a C-[<br \/>\nC-a esc\u00a0\u00a0\u00a0\u00a0 (copy)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Enter copy\/scrollback mode.<\/p>\n<p>C-a C-]<br \/>\nC-a ]\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (paste .)\u00a0\u00a0\u00a0\u00a0 Write the contents of the paste buffer to the stdin queue of the current window.<\/p>\n<p>C-a {<br \/>\nC-a }\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (history)\u00a0\u00a0\u00a0\u00a0 Copy and paste a previous (command) line.<\/p>\n<p>C-a &gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (writebuf)\u00a0\u00a0\u00a0 Write paste buffer to a file.<\/p>\n<p>C-a &lt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (readbuf)\u00a0\u00a0\u00a0\u00a0 Reads the screen-exchange file into the paste buffer.<\/p>\n<p>C-a =\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (removebuf)\u00a0\u00a0 Removes the file used by C-a &lt; and C-a &gt;.<\/p>\n<p>C-a ,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (license)\u00a0\u00a0\u00a0\u00a0 Shows where screen comes from, where it went to and why you can use it.<\/p>\n<p>C-a _\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (silence)\u00a0\u00a0\u00a0\u00a0 Start\/stop monitoring the current window for inactivity.<\/p>\n<p>C-a |\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (split -v)\u00a0\u00a0\u00a0 Split the current region vertically into two new ones.<\/p>\n<p>C-a *\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (displays)\u00a0\u00a0\u00a0 Show a listing of all currently attached displays.<\/p>\n<p>CUSTOMIZATION<br \/>\nThe &#8220;socket directory&#8221; defaults either to $HOME\/.screen or simply to \/tmp\/screens or preferably to \/var\/run\/screen chosen\u00a0 at\u00a0 compile-time.\u00a0 If\u00a0 screen\u00a0 is<br \/>\ninstalled\u00a0 setuid-root,\u00a0 then\u00a0 the administrator should compile screen with an adequate (not NFS mounted) socket directory. If screen is not running setuid-<br \/>\nroot, the user can specify any mode 700 directory in the environment variable $SCREENDIR.<\/p>\n<p>When screen is invoked, it executes initialization commands from the files &#8220;\/etc\/screenrc&#8221; and &#8220;.screenrc&#8221; in the user&#8217;s home directory. These are the &#8220;pro\u2010<br \/>\ngrammer&#8217;s\u00a0 defaults&#8221;\u00a0 that\u00a0 can\u00a0 be overridden in the following ways: for the global screenrc file screen searches for the environment variable $SYSSCREENRC<br \/>\n(this override feature may be disabled at compile-time). The user specific screenrc file is searched in $SCREENRC, then $HOME\/.screenrc.\u00a0 The\u00a0 command\u00a0 line<br \/>\noption -c takes precedence over the above user screenrc files.<\/p>\n<p>Commands\u00a0 in these files are used to set options, bind functions to keys, and to automatically establish one or more windows at the beginning of your screen<br \/>\nsession.\u00a0 Commands are listed one per line, with empty lines being ignored.\u00a0 A command&#8217;s arguments are separated by tabs or spaces, and may be surrounded by<br \/>\nsingle\u00a0 or\u00a0 double quotes.\u00a0 A `#&#8217; turns the rest of the line into a comment, except in quotes.\u00a0 Unintelligible lines are warned about and ignored.\u00a0 Commands<br \/>\nmay contain references to environment variables. The syntax is the shell-like &#8220;$VAR &#8221; or &#8220;${VAR}&#8221;. Note\u00a0 that\u00a0 this\u00a0 causes\u00a0 incompatibility\u00a0 with\u00a0 previous<br \/>\nscreen\u00a0 versions,\u00a0 as\u00a0 now\u00a0 the &#8216;$&#8217;-character has to be protected with &#8216;\\&#8217; if no variable substitution shall be performed. A string in single-quotes is also<br \/>\nprotected from variable substitution.<\/p>\n<p>Two configuration files are shipped as examples with your screen distribution: &#8220;etc\/screenrc&#8221; and &#8220;etc\/etcscreenrc&#8221;. They contain a number of\u00a0 useful\u00a0 exam\u2010<br \/>\nples for various commands.<\/p>\n<p>Customization can also be done &#8216;on-line&#8217;. To enter the command mode type `C-a :&#8217;. Note that commands starting with &#8220;def&#8221; change default values, while others<br \/>\nchange current settings.<\/p>\n<p>The following commands are available:<\/p>\n<p>acladd usernames [crypted-pw]<br \/>\naddacl usernames<\/p>\n<p>Enable users to fully access this screen session. Usernames can be one user or a comma separated list of users. This command enables to attach to the screen<br \/>\nsession and performs the equivalent of `aclchg usernames +rwx &#8220;#?&#8221;&#8216;.\u00a0 executed. To add a user with restricted access, use the `aclchg&#8217; command below.\u00a0 If an<br \/>\noptional second parameter is supplied, it should be a crypted password for the named user(s). `Addacl&#8217; is a synonym to `acladd&#8217;.\u00a0 Multi user mode only.<\/p>\n<p>aclchg usernames permbits list<br \/>\nchacl usernames permbits list<\/p>\n<p>Change permissions for a comma separated list of users. Permission bits are represented as `r&#8217;, `w&#8217; and\u00a0 `x&#8217;.\u00a0 Prefixing\u00a0 `+&#8217;\u00a0 grants\u00a0 the\u00a0 permission,\u00a0 `-&#8216;<br \/>\nremoves\u00a0 it.\u00a0 The third parameter is a comma separated list of commands and\/or windows (specified either by number or title). The special list `#&#8217; refers to<br \/>\nall windows, `?&#8217; to all commands. if usernames consists of a single `*&#8217;, all known users are affected.\u00a0 A command can be executed when the user has the\u00a0 `x&#8217;<br \/>\nbit\u00a0 for\u00a0 it.\u00a0\u00a0 The\u00a0 user can type input to a window when he has its `w&#8217; bit set and no other user obtains a writelock for this window.\u00a0 Other bits are cur\u2010<br \/>\nrently ignored.\u00a0 To withdraw the writelock from another user in window 2: `aclchg username -w+w 2&#8242;.\u00a0 To allow read-only access to the session: `aclchg user\u2010<br \/>\nname\u00a0 -w\u00a0 &#8220;#&#8221;&#8216;. As soon as a user&#8217;s name is known to screen he can attach to the session and (per default) has full permissions for all command and windows.<br \/>\nExecution permission for the acl commands, `at&#8217; and others should also be removed or the user may be able to regain write permission.\u00a0 Rights of the special<br \/>\nusername nobody cannot be changed (see the &#8220;su&#8221; command).\u00a0 `Chacl&#8217; is a synonym to `aclchg&#8217;.\u00a0 Multi user mode only.<\/p>\n<p>acldel username<\/p>\n<p>Remove\u00a0 a\u00a0 user\u00a0 from\u00a0 screen&#8217;s\u00a0 access\u00a0 control list. If currently attached, all the user&#8217;s displays are detached from the session. He cannot attach again.<br \/>\nMulti user mode only.<\/p>\n<p>aclgrp username [groupname]<\/p>\n<p>Creates groups of users that share common access rights. The name of the group is the username of the group leader. Each member of the\u00a0 group\u00a0 inherits\u00a0 the<br \/>\npermissions\u00a0 that\u00a0 are\u00a0 granted\u00a0 to\u00a0 the\u00a0 group\u00a0 leader. That means, if a user fails an access check, another check is made for the group leader.\u00a0 A user is<br \/>\nremoved from all groups the special value &#8220;none&#8221; is used for groupname.\u00a0 If the second parameter is omitted all groups the user is in are listed.<\/p>\n<p>aclumask [[users]+bits |[users]-bits \u2026. ]<br \/>\numask [[users]+bits |[users]-bits \u2026. ]<\/p>\n<p>This specifies the access other users have to windows that will be created by the caller of the command.\u00a0 Users may be no, one or a comma separated list\u00a0 of<br \/>\nknown\u00a0 usernames. If no users are specified, a list of all currently known users is assumed.\u00a0 Bits is any combination of access control bits allowed defined<br \/>\nwith the &#8220;aclchg&#8221; command. The special username &#8220;?&#8221; predefines the access that not yet known users will be granted to any\u00a0 window\u00a0 initially.\u00a0\u00a0 The\u00a0 special<br \/>\nusername\u00a0 &#8220;??&#8221;\u00a0 predefines the access that not yet known users are granted to any command.\u00a0 Rights of the special username nobody cannot be changed (see the<br \/>\n&#8220;su&#8221; command).\u00a0 `Umask&#8217; is a synonym to `aclumask&#8217;.<\/p>\n<p>activity message<\/p>\n<p>When any activity occurs in a background window that is being monitored, screen displays a notification in the message line.\u00a0 The notification\u00a0 message\u00a0 can<br \/>\nbe re-defined by means of the &#8220;activity&#8221; command.\u00a0 Each occurrence of `%&#8217; in message is replaced by the number of the window in which activity has occurred,<br \/>\nand each occurrence of `^G&#8217; is replaced by the definition for bell in your termcap (usually an audible bell).\u00a0 The default message is<\/p>\n<p>&#8216;Activity in window %n&#8217;<\/p>\n<p>Note that monitoring is off for all windows by default, but can be altered by use of the &#8220;monitor&#8221; command (C-a M).<\/p>\n<p>allpartial on|off<\/p>\n<p>If set to on, only the current cursor line is refreshed on window change.\u00a0 This affects all windows and is useful for slow terminal lines. The previous set\u2010<br \/>\nting of full\/partial refresh for each window is restored with &#8220;allpartial off&#8221;.\u00a0 This is a global flag that immediately takes effect on all windows overrid\u2010<br \/>\ning the &#8220;partial&#8221; settings. It does not change the default redraw behavior of newly created windows.<\/p>\n<p>altscreen on|off<\/p>\n<p>If set to on, &#8220;alternate screen&#8221; support is enabled in virtual terminals, just like in xterm.\u00a0 Initial setting is `off&#8217;.<\/p>\n<p>at [identifier][#|*|%] command [args \u2026 ]<\/p>\n<p>Execute a command at other displays or windows as if it had been entered there.\u00a0 &#8220;At&#8221; changes the context (the `current window&#8217; or\u00a0 `current\u00a0 display&#8217;\u00a0 set\u2010<br \/>\nting)\u00a0 of\u00a0 the command. If the first parameter describes a non-unique context, the command will be executed multiple times. If the first parameter is of the<br \/>\nform `identifier*&#8217; then identifier is matched against user names.\u00a0 The command is executed once for each display of\u00a0 the\u00a0 selected\u00a0 user(s).\u00a0 If\u00a0 the\u00a0 first<br \/>\nparameter\u00a0 is\u00a0 of\u00a0 the\u00a0 form\u00a0 `identifier%&#8217;\u00a0 identifier\u00a0 is\u00a0 matched\u00a0 against displays. Displays are named after the ttys they attach. The prefix `\/dev\/&#8217; or<br \/>\n`\/dev\/tty&#8217; may be omitted from the identifier.\u00a0 If identifier has a `#&#8217; or nothing appended it is matched against window numbers\u00a0 and\u00a0 titles.\u00a0 Omitting\u00a0 an<br \/>\nidentifier\u00a0 in\u00a0 front of the `#&#8217;, `*&#8217; or `%&#8217;-character selects all users, displays or windows because a prefix-match is performed. Note that on the affected<br \/>\ndisplay(s) a short message will describe what happened. Permission is checked for initiator of the &#8220;at&#8221; command, not for the owners\u00a0 of\u00a0 the\u00a0 affected\u00a0 dis\u2010<br \/>\nplay(s).\u00a0\u00a0 Note\u00a0 that the &#8216;#&#8217; character works as a comment introducer when it is preceded by whitespace. This can be escaped by prefixing a &#8216;\\&#8217;.\u00a0 Permission<br \/>\nis checked for the initiator of the &#8220;at&#8221; command, not for the owners of the affected display(s).<br \/>\nCaveat: When matching against windows, the command is executed at least once per window. Commands that change the\u00a0 internal\u00a0 arrangement\u00a0 of\u00a0 windows\u00a0 (like<br \/>\n&#8220;other&#8221;)\u00a0 may\u00a0 be called again. In shared windows the command will be repeated for each attached display. Beware, when issuing toggle commands like &#8220;login&#8221;!<br \/>\nSome commands (e.g. &#8220;process&#8221;) require that a display is associated with the target windows.\u00a0 These commands may not work correctly under &#8220;at&#8221; looping\u00a0 over<br \/>\nwindows.<\/p>\n<p>attrcolor attrib [attribute\/color-modifier]<\/p>\n<p>This\u00a0 command\u00a0 can be used to highlight attributes by changing the color of the text. If the attribute attrib is in use, the specified attribute\/color modi\u2010<br \/>\nfier is also applied. If no modifier is given, the current one is deleted. See the &#8220;STRING ESCAPES&#8221; chapter for the syntax of the\u00a0 modifier.\u00a0 Screen\u00a0 under\u2010<br \/>\nstands two pseudo-attributes, &#8220;i&#8221; stands for high-intensity foreground color and &#8220;I&#8221; for high-intensity background color.<\/p>\n<p>Examples:<\/p>\n<p>attrcolor b &#8220;R&#8221;<\/p>\n<p>Change the color to bright red if bold text is to be printed.<\/p>\n<p>attrcolor u &#8220;-u b&#8221;<\/p>\n<p>Use blue text instead of underline.<\/p>\n<p>attrcolor b &#8220;.I&#8221;<\/p>\n<p>Use bright colors for bold text. Most terminal emulators do this already.<\/p>\n<p>attrcolor i &#8220;+b&#8221;<\/p>\n<p>Make bright colored text also bold.<\/p>\n<p>autodetach on|off<\/p>\n<p>Sets\u00a0 whether\u00a0 screen\u00a0 will\u00a0 automatically\u00a0 detach upon hangup, which saves all your running programs until they are resumed with a screen -r command.\u00a0 When<br \/>\nturned off, a hangup signal will terminate screen and all the processes it contains. Autodetach is on by default.<\/p>\n<p>autonuke on|off<\/p>\n<p>Sets whether a clear screen sequence should nuke all the output that has not been written to the terminal. See also &#8220;obuflimit&#8221;.<\/p>\n<p>backtick id lifespan autorefresh cmd args\u2026<br \/>\nbacktick id<\/p>\n<p>Program the backtick command with the numerical id id.\u00a0 The output of such a command is used for substitution of the &#8220;%`&#8221; string escape. The specified life\u2010<br \/>\nspan\u00a0 is\u00a0 the\u00a0 number\u00a0 of seconds the output is considered valid. After this time, the command is run again if a corresponding string escape is encountered.<br \/>\nThe autorefresh parameter triggers an automatic refresh for caption and hardstatus strings after the specified number of seconds. Only the last line of out\u2010<br \/>\nput is used for substitution.<br \/>\nIf\u00a0 both\u00a0 the\u00a0 lifespan\u00a0 and\u00a0 the\u00a0 autorefresh parameters are zero, the backtick program is expected to stay in the background and generate output once in a<br \/>\nwhile.\u00a0 In this case, the command is executed right away and screen stores the last line of output. If a new line gets\u00a0 printed\u00a0 screen\u00a0 will\u00a0 automatically<br \/>\nrefresh the hardstatus or the captions.<br \/>\nThe second form of the command deletes the backtick command with the numerical id id.<\/p>\n<p>bce [on|off]<\/p>\n<p>Change background-color-erase setting. If &#8220;bce&#8221; is set to on, all characters cleared by an erase\/insert\/scroll\/clear operation will be displayed in the cur\u2010<br \/>\nrent background color. Otherwise the default background color is used.<\/p>\n<p>bell_msg [message]<\/p>\n<p>When a bell character is sent to a background window, screen displays a notification in the message line.\u00a0 The notification message\u00a0 can\u00a0 be\u00a0 re-defined\u00a0 by<br \/>\nthis\u00a0 command.\u00a0\u00a0 Each\u00a0 occurrence\u00a0 of\u00a0 `%&#8217;\u00a0 in message is replaced by the number of the window to which a bell has been sent, and each occurrence of `^G&#8217; is<br \/>\nreplaced by the definition for bell in your termcap (usually an audible bell).\u00a0 The default message is<\/p>\n<p>&#8216;Bell in window %n&#8217;<\/p>\n<p>An empty message can be supplied to the &#8220;bell_msg&#8221; command to suppress output of a message line (bell_msg &#8220;&#8221;).\u00a0 Without parameter, the\u00a0 current\u00a0 message\u00a0 is<br \/>\nshown.<\/p>\n<p>bind [-c class] key [command [args]]<\/p>\n<p>Bind\u00a0 a command to a key.\u00a0 By default, most of the commands provided by screen are bound to one or more keys as indicated in the &#8220;DEFAULT KEY BINDINGS&#8221; sec\u2010<br \/>\ntion, e.g. the command to create a new window is bound to &#8220;C-c&#8221; and &#8220;c&#8221;.\u00a0 The &#8220;bind&#8221; command can be used to redefine the key\u00a0 bindings\u00a0 and\u00a0 to\u00a0 define\u00a0 new<br \/>\nbindings.\u00a0 The key argument is either a single character, a two-character sequence of the form &#8220;^x&#8221; (meaning &#8220;C-x&#8221;), a backslash followed by an octal number<br \/>\n(specifying the ASCII code of the character), or a backslash followed by a second character, such as &#8220;\\^&#8221; or &#8220;\\\\&#8221;.\u00a0 The argument can also be quoted, if\u00a0 you<br \/>\nlike.\u00a0\u00a0 If no further argument is given, any previously established binding for this key is removed.\u00a0 The command argument can be any command listed in this<br \/>\nsection.<\/p>\n<p>If a command class is specified via the &#8220;-c&#8221; option, the key is bound for the specified class. Use the\u00a0 &#8220;command&#8221;\u00a0 command\u00a0 to\u00a0 activate\u00a0 a\u00a0 class.\u00a0 Command<br \/>\nclasses can be used to create multiple command keys or multi-character bindings.<\/p>\n<p>Some examples:<\/p>\n<p>bind &#8216; &#8216; windows<br \/>\nbind ^k<br \/>\nbind k<br \/>\nbind K kill<br \/>\nbind ^f screen telnet foobar<br \/>\nbind \\033 screen -ln -t root -h 1000 9 su<\/p>\n<p>would\u00a0 bind\u00a0 the\u00a0 space key to the command that displays a list of windows (so that the command usually invoked by &#8220;C-a C-w&#8221; would also be available as &#8220;C-a<br \/>\nspace&#8221;). The next three lines remove the default kill binding from &#8220;C-a C-k&#8221; and &#8220;C-a k&#8221;.\u00a0 &#8220;C-a K&#8221; is then bound to the kill command. Then it binds &#8220;C-f&#8221; to<br \/>\nthe\u00a0 command\u00a0 &#8220;create\u00a0 a window with a TELNET connection to foobar&#8221;, and bind &#8220;escape&#8221; to the command that creates an non-login window with a.k.a. &#8220;root&#8221; in<br \/>\nslot #9, with a superuser shell and a scrollback buffer of 1000 lines.<\/p>\n<p>bind -c demo1 0 select 10<br \/>\nbind -c demo1 1 select 11<br \/>\nbind -c demo1 2 select 12<br \/>\nbindkey &#8220;^B&#8221; command -c demo1<\/p>\n<p>makes &#8220;C-b 0&#8221; select window 10, &#8220;C-b 1&#8221; window 11, etc.<\/p>\n<p>bind -c demo2 0 select 10<br \/>\nbind -c demo2 1 select 11<br \/>\nbind -c demo2 2 select 12<br \/>\nbind &#8211; command -c demo2<\/p>\n<p>makes &#8220;C-a &#8211; 0&#8221; select window 10, &#8220;C-a &#8211; 1&#8221; window 11, etc.<\/p>\n<p>bindkey [-d] [-m] [-a] [[-k|-t] string [cmd args]]<\/p>\n<p>This command manages screen&#8217;s input translation tables. Every entry in one of the tables tells screen how to react if a certain sequence\u00a0 of\u00a0 characters\u00a0 is<br \/>\nencountered. There are three tables: one that should contain actions programmed by the user, one for the default actions used for terminal emulation and one<br \/>\nfor screen&#8217;s copy mode to do cursor movement. See section &#8220;INPUT TRANSLATION&#8221; for a list of default key bindings.<br \/>\nIf the -d option is given, bindkey modifies the default table, -m changes the copy mode table and with neither option the user table is selected.\u00a0 The argu\u2010<br \/>\nment\u00a0 string\u00a0 is the sequence of characters to which an action is bound. This can either be a fixed string or a termcap keyboard capability name (selectable<br \/>\nwith the -k option).<br \/>\nSome keys on a VT100 terminal can send a different string if application mode is turned on (e.g the cursor keys).\u00a0 Such keys have two entries in the\u00a0 trans\u2010<br \/>\nlation table. You can select the application mode entry by specifying the -a option.<br \/>\nThe -t option tells screen not to do inter-character timing. One cannot turn off the timing if a termcap capability is used.<br \/>\nCmd can be any of screen&#8217;s commands with an arbitrary number of args.\u00a0 If cmd is omitted the key-binding is removed from the table.<br \/>\nHere are some examples of keyboard bindings:<\/p>\n<p>bindkey -d<br \/>\nShow all of the default key bindings. The application mode entries are marked with [A].<\/p>\n<p>bindkey -k k1 select 1<br \/>\nMake the &#8220;F1&#8221; key switch to window one.<\/p>\n<p>bindkey -t foo stuff barfoo<br \/>\nMake &#8220;foo&#8221; an abbreviation of the word &#8220;barfoo&#8221;. Timeout is disabled so that users can type slowly.<\/p>\n<p>bindkey &#8220;\\024&#8221; mapdefault<br \/>\nThis\u00a0 key-binding\u00a0 makes\u00a0 &#8220;^T&#8221;\u00a0 an\u00a0 escape\u00a0 character\u00a0 for key-bindings. If you did the above &#8220;stuff barfoo&#8221; binding, you can enter the word &#8220;foo&#8221; by typing<br \/>\n&#8220;^Tfoo&#8221;. If you want to insert a &#8220;^T&#8221; you have to press the key twice (i.e., escape the escape binding).<\/p>\n<p>bindkey -k F1 command<br \/>\nMake the F11 (not F1!) key an alternative screen escape (besides ^A).<\/p>\n<p>break [duration]<\/p>\n<p>Send a break signal for duration*0.25 seconds to this window.\u00a0 For non-Posix systems the time interval may be rounded up to full seconds.\u00a0 Most useful if\u00a0 a<br \/>\ncharacter\u00a0 device is attached to the window rather than a shell process (See also chapter &#8220;WINDOW TYPES&#8221;). The maximum duration of a break signal is limited<br \/>\nto 15 seconds.<\/p>\n<p>blanker<\/p>\n<p>Activate the screen blanker. First the screen is cleared. If no blanker program is defined, the cursor is turned off, otherwise, the program is started\u00a0 and<br \/>\nit&#8217;s output is written to the screen.\u00a0 The screen blanker is killed with the first keypress, the read key is discarded.<br \/>\nThis command is normally used together with the &#8220;idle&#8221; command.<\/p>\n<p>blankerprg [program args]<\/p>\n<p>Defines a blanker program. Disables the blanker program if an empty argument is given. Shows the currently set blanker program if no arguments are given.<\/p>\n<p>breaktype [tcsendbreak|TIOCSBRK |TCSBRK]<\/p>\n<p>Choose\u00a0 one\u00a0 of\u00a0 the\u00a0 available methods of generating a break signal for terminal devices. This command should affect the current window only.\u00a0 But it still<br \/>\nbehaves identical to &#8220;defbreaktype&#8221;. This will be changed in the future.\u00a0 Calling &#8220;breaktype&#8221; with no parameter displays the break method\u00a0 for\u00a0 the\u00a0 current<br \/>\nwindow.<\/p>\n<p>bufferfile [exchange-file]<\/p>\n<p>Change\u00a0 the\u00a0 filename used for reading and writing with the paste buffer.\u00a0 If the optional argument to the &#8220;bufferfile&#8221; command is omitted, the default set\u2010<br \/>\nting (&#8220;\/tmp\/screen-exchange&#8221;) is reactivated.\u00a0 The following example will paste the system&#8217;s password file into the screen window (using the\u00a0 paste\u00a0 buffer,<br \/>\nwhere a copy remains):<\/p>\n<p>C-a : bufferfile \/etc\/passwd<br \/>\nC-a &lt; C-a ]<br \/>\nC-a : bufferfile<\/p>\n<p>c1 [on|off]<\/p>\n<p>Change\u00a0 c1 code processing. &#8220;C1 on&#8221; tells screen to treat the input characters between 128 and 159 as control functions.\u00a0 Such an 8-bit code is normally the<br \/>\nsame as ESC followed by the corresponding 7-bit code. The default setting is to process c1 codes and can be changed with the &#8220;defc1&#8221;\u00a0 command.\u00a0\u00a0 Users\u00a0 with<br \/>\nfonts that have usable characters in the c1 positions may want to turn this off.<\/p>\n<p>caption always|splitonly [string]<br \/>\ncaption string [string]<\/p>\n<p>This\u00a0 command\u00a0 controls\u00a0 the\u00a0 display\u00a0 of the window captions. Normally a caption is only used if more than one window is shown on the display (split screen<br \/>\nmode). But if the type is set to always screen shows a caption even if only one window is displayed. The default is splitonly.<\/p>\n<p>The second form changes the text used for the caption. You can use all escapes from the &#8220;STRING ESCAPES&#8221; chapter. Screen uses a default of `%3n %t&#8217;.<\/p>\n<p>You can mix both forms by providing a string as an additional argument.<\/p>\n<p>charset set<br \/>\nChange the current character set slot designation and charset mapping.\u00a0 The first four character of set are treated as charset designators while\u00a0 the\u00a0 fifth<br \/>\nand\u00a0 sixth\u00a0 character\u00a0 must be in range &#8216;0&#8217; to &#8216;3&#8217; and set the GL\/GR charset mapping. On every position a &#8216;.&#8217; may be used to indicate that the corresponding<br \/>\ncharset\/mapping should not be changed (set is padded to six characters internally by appending &#8216;.&#8217;\u00a0 chars). New windows have &#8220;BBBB02&#8221;\u00a0 as\u00a0 default\u00a0 charset,<br \/>\nunless a &#8220;encoding&#8221; command is active.<br \/>\nThe current setting can be viewed with the &#8220;info&#8221; command.<\/p>\n<p>chdir [directory]<\/p>\n<p>Change\u00a0 the\u00a0 current\u00a0 directory of screen to the specified directory or, if called without an argument, to your home directory (the value of the environment<br \/>\nvariable $HOME).\u00a0 All windows that are created by means of the &#8220;screen&#8221; command from within &#8220;.screenrc&#8221; or by means of &#8220;C-a : screen \u2026&#8221; or &#8220;C-a c&#8221; use\u00a0 this<br \/>\nas\u00a0 their default directory.\u00a0 Without a chdir command, this would be the directory from which screen was invoked.\u00a0 Hardcopy and log files are always written<br \/>\nto the window&#8217;s default directory, not the current directory of the process running in the window.\u00a0\u00a0 You\u00a0 can\u00a0 use\u00a0 this\u00a0 command\u00a0 multiple\u00a0 times\u00a0 in\u00a0 your<br \/>\n.screenrc to start various windows in different default directories, but the last chdir value will affect all the windows you create interactively.<\/p>\n<p>cjkwidth [ on | off ]<\/p>\n<p>Treat ambiguous width characters as full\/half width.<\/p>\n<p>clear<\/p>\n<p>Clears the current window and saves its image to the scrollback buffer.<\/p>\n<p>colon [prefix]<\/p>\n<p>Allows you to enter &#8220;.screenrc&#8221; command lines. Useful for on-the-fly modification of key bindings, specific window creation and changing settings. Note that<br \/>\nthe &#8220;set&#8221; keyword no longer exists! Usually commands affect the current window rather than default settings for future windows. Change\u00a0 defaults\u00a0 with\u00a0 com\u2010<br \/>\nmands starting with &#8216;def\u2026&#8217;.<\/p>\n<p>If you consider this as the `Ex command mode&#8217; of screen, you may regard &#8220;C-a esc&#8221; (copy mode) as its `Vi command mode&#8217;.<\/p>\n<p>command [-c class]<\/p>\n<p>This\u00a0 command\u00a0 has\u00a0 the\u00a0 same\u00a0 effect as typing the screen escape character (^A). It is probably only useful for key bindings.\u00a0 If the &#8220;-c&#8221; option is given,<br \/>\nselect the specified command class.\u00a0 See also &#8220;bind&#8221; and &#8220;bindkey&#8221;.<\/p>\n<p>compacthist [on|off]<\/p>\n<p>This tells screen whether to suppress trailing blank lines when scrolling up text into the history buffer.<\/p>\n<p>console [on|off]<\/p>\n<p>Grabs or un-grabs the machines console output to a window.\u00a0 Note: Only the owner of \/dev\/console can grab the console output.\u00a0 This command is\u00a0 only\u00a0 avail\u2010<br \/>\nable if the machine supports the ioctl TIOCCONS.<\/p>\n<p>copy<\/p>\n<p>Enter\u00a0 copy\/scrollback mode. This allows you to copy text from the current window and its history into the paste buffer. In this mode a vi-like `full screen<br \/>\neditor&#8217; is active:<br \/>\nMovement keys:<br \/>\nh, C-h, or left arrow move the cursor left.<br \/>\nj, C-n, or down arrow move the cursor down.<br \/>\nk, C-p, or up arrow move the cursor up.<br \/>\nl (&#8216;el&#8217;) or right arrow move the cursor right.<br \/>\n0 (zero) or C-a move to the leftmost column.<br \/>\n+ and &#8211; positions one line up and down.<br \/>\nH, M and L move the cursor to the leftmost column of the top, center or bottom line of the window.<br \/>\n| moves to the specified absolute column.<br \/>\ng or home moves to the beginning of the buffer.<br \/>\nG or end moves to the specified absolute line (default: end of buffer).<br \/>\n% jumps to the specified percentage of the buffer.<br \/>\n^ or $ move to the leftmost column, to the first or last non-whitespace character on the line.<br \/>\nw, b, and e move the cursor word by word.<br \/>\nB, E move the cursor WORD by WORD (as in vi).<br \/>\nf\/F, t\/T move the cursor forward\/backward to the next occurence of the target. (eg, &#8216;3fy&#8217; will move the cursor to the 3rd &#8216;y&#8217; to the right.)<br \/>\n; and , Repeat the last f\/F\/t\/T command in the same\/opposite direction.<br \/>\nC-e and C-y scroll the display up\/down by one line while preserving the cursor position.<br \/>\nC-u and C-d scroll the display up\/down by the specified amount of lines while preserving the cursor position. (Default: half screen-full).<br \/>\nC-b and C-f scroll the display up\/down a full screen.<br \/>\nNote:<br \/>\nEmacs style movement keys can be customized by a .screenrc command.\u00a0 (E.g. markkeys &#8220;h=^B:l=^F:$=^E&#8221;) There is no simple method for a\u00a0 full\u00a0 emacs-style<br \/>\nkeymap, as this involves multi-character codes.<\/p>\n<p>Marking:<br \/>\nThe copy range is specified by setting two marks. The text between these marks will be highlighted. Press:<br \/>\nspace or enter to set the first or second mark respectively. If mousetrack is set to `on&#8217;, marks can also be set using left mouse click.<br \/>\nY and y used to mark one whole line or to mark from start of line.<br \/>\nW marks exactly one word.<br \/>\nRepeat count:<br \/>\nAny of these commands can be prefixed with a repeat count number by pressing digits<br \/>\n0..9 which is taken as a repeat count.<br \/>\nExample: &#8220;C-a C-[ H 10 j 5 Y&#8221; will copy lines 11 to 15 into the paste buffer.<br \/>\nSearching:<br \/>\n\/ Vi-like search forward.<br \/>\n? Vi-like search backward.<br \/>\nC-a s Emacs style incremental search forward.<br \/>\nC-r Emacs style reverse i-search.<br \/>\nn Find next search pattern.<br \/>\nN Find previous search pattern.<br \/>\nSpecials:<br \/>\nThere are however some keys that act differently than in vi.\u00a0 Vi does not allow one to yank rectangular blocks of text, but screen does. Press:<br \/>\nc or C to set the left or right margin respectively. If no repeat count is given, both default to the current cursor position.<br \/>\nExample: Try this on a rather full text screen: &#8220;C-a [ M 20 l SPACE c 10 l 5 j C SPACE&#8221;.<\/p>\n<p>This\u00a0 moves\u00a0 one to the middle line of the screen, moves in 20 columns left, marks the beginning of the paste buffer, sets the left column, moves 5 col\u2010<br \/>\numns down, sets the right column, and then marks the end of the paste buffer. Now try:<br \/>\n&#8220;C-a [ M 20 l SPACE 10 l 5 j SPACE&#8221;<\/p>\n<p>and notice the difference in the amount of text copied.<br \/>\nJ joins lines. It toggles between 4 modes: lines separated by a newline character (012), lines glued seamless, lines separated by a single whitespace\u00a0 and<br \/>\ncomma separated lines. Note that you can prepend the newline character with a carriage return character, by issuing a &#8220;crlf on&#8221;.<br \/>\nv or V is for all the vi users with &#8220;:set numbers&#8221; &#8211; it toggles the left margin between column 9 and 1. Press<br \/>\na before the final space key to toggle in append mode. Thus the contents of the paste buffer will not be overwritten, but is appended to.<br \/>\nA toggles in append mode and sets a (second) mark.<br \/>\n&gt; sets the (second) mark and writes the contents of the paste buffer to the screen-exchange file (\/tmp\/screen-exchange per default) once copy-mode is fin\u2010<br \/>\nished.<br \/>\nThis example demonstrates how to dump the whole scrollback buffer to that file: &#8220;C-A [ g SPACE G $ &gt;&#8221;.<br \/>\nC-g gives information about the current line and column.<br \/>\nx or o exchanges the first mark and the current cursor position. You can use this to adjust an already placed mark.<br \/>\nC-l (&#8216;el&#8217;) will redraw the screen.<br \/>\n@ does nothing. Does not even exit copy mode.<br \/>\nAll keys not described here exit copy mode.<\/p>\n<p>copy_reg [key]<\/p>\n<p>No longer exists, use &#8220;readreg&#8221; instead.<\/p>\n<p>crlf [on|off]<\/p>\n<p>This affects the copying of text regions with the `C-a [&#8216; command. If it is set to `on&#8217;, lines will be separated by the two character sequence `CR&#8217; &#8211;\u00a0 `LF&#8217;.<br \/>\nOtherwise (default) only `LF&#8217; is used.\u00a0 When no parameter is given, the state is toggled.<\/p>\n<p>debug on|off<\/p>\n<p>Turns\u00a0 runtime debugging on or off. If screen has been compiled with option -DDEBUG debugging available and is turned on per default. Note that this command<br \/>\nonly affects debugging output from the main &#8220;SCREEN&#8221; process correctly. Debug output from attacher processes can only be turned off once and forever.<\/p>\n<p>defc1 on|off<\/p>\n<p>Same as the c1 command except that the default setting for new windows is changed. Initial setting is `on&#8217;.<\/p>\n<p>defautonuke on|off<\/p>\n<p>Same as the autonuke command except that the default setting for new displays is changed. Initial setting is `off&#8217;.\u00a0 Note that you can use the special\u00a0 `AN&#8217;<br \/>\nterminal capability if you want to have a dependency on the terminal type.<\/p>\n<p>defbce on|off<br \/>\nSame as the bce command except that the default setting for new windows is changed. Initial setting is `off&#8217;.<\/p>\n<p>defbreaktype [tcsendbreak|TIOCSBRK |TCSBRK]<\/p>\n<p>Choose\u00a0 one of the available methods of generating a break signal for terminal devices. The preferred methods are tcsendbreak and TIOCSBRK.\u00a0 The third, TCS\u2010<br \/>\nBRK, blocks the complete screen session for the duration of the break, but it may be the only way to generate long breaks.\u00a0 Tcsendbreak and TIOCSBRK may\u00a0 or<br \/>\nmay\u00a0 not\u00a0 produce\u00a0 long\u00a0 breaks with spikes (e.g. 4 per second). This is not only system-dependent, this also differs between serial board drivers.\u00a0 Calling<br \/>\n&#8220;defbreaktype&#8221; with no parameter displays the current setting.<\/p>\n<p>defcharset [set]<\/p>\n<p>Like the charset command except that the default setting for new windows is changed. Shows current default if called without argument.<\/p>\n<p>defescape xy<\/p>\n<p>Set the default command characters. This is equivalent to the &#8220;escape&#8221; except that it is useful multiuser sessions only. In\u00a0 a\u00a0 multiuser\u00a0 session\u00a0 &#8220;escape&#8221;<br \/>\nchanges the command character of the calling user, where &#8220;defescape&#8221; changes the default command characters for users that will be added later.<\/p>\n<p>defflow on|off|auto [interrupt]<\/p>\n<p>Same\u00a0 as the flow command except that the default setting for new windows is changed. Initial setting is `auto&#8217;.\u00a0 Specifying &#8220;defflow auto interrupt&#8221; is the<br \/>\nsame as the command-line options -fa and -i.<\/p>\n<p>defgr on|off<\/p>\n<p>Same as the gr command except that the default setting for new windows is changed. Initial setting is `off&#8217;.<\/p>\n<p>defhstatus [status]<\/p>\n<p>The hardstatus line that all new windows will get is set to status.\u00a0 This command is useful to make the hardstatus of every window display the window number<br \/>\nor\u00a0 title\u00a0 or the like.\u00a0 Status may contain the same directives as in the window messages, but the directive escape character is &#8216;^E&#8217; (octal 005) instead of<br \/>\n&#8216;%&#8217;.\u00a0 This was done to make a misinterpretation of program generated hardstatus lines impossible.\u00a0 If the parameter status is omitted, the\u00a0 current\u00a0 default<br \/>\nstring is displayed.\u00a0 Per default the hardstatus line of new windows is empty.<\/p>\n<p>defencoding enc<\/p>\n<p>Same as the encoding command except that the default setting for new windows is changed. Initial setting is the encoding taken from the terminal.<\/p>\n<p>deflog on|off<\/p>\n<p>Same as the log command except that the default setting for new windows is changed. Initial setting is `off&#8217;.<\/p>\n<p>deflogin on|off<\/p>\n<p>Same as the login command except that the default setting for new windows is changed. This is initialized with `on&#8217; as distributed (see config.h.in).<\/p>\n<p>defmode mode<\/p>\n<p>The mode of each newly allocated pseudo-tty is set to mode.\u00a0 Mode is an octal number.\u00a0 When no &#8220;defmode&#8221; command is given, mode 0622 is used.<\/p>\n<p>defmonitor on|off<\/p>\n<p>Same as the monitor command except that the default setting for new windows is changed. Initial setting is `off&#8217;.<\/p>\n<p>defmousetrack on|off<\/p>\n<p>Same as the mousetrack command except that the default setting for new windows is changed. Initial setting is `off&#8217;.<\/p>\n<p>defnonblock on|off|numsecs<\/p>\n<p>Same as the nonblock command except that the default setting for displays is changed. Initial setting is `off&#8217;.<\/p>\n<p>defobuflimit limit<\/p>\n<p>Same\u00a0 as the obuflimit command except that the default setting for new displays is changed. Initial setting is 256 bytes.\u00a0 Note that you can use the special<br \/>\n&#8216;OL&#8217; terminal capability if you want to have a dependency on the terminal type.<\/p>\n<p>defscrollback num<\/p>\n<p>Same as the scrollback command except that the default setting for new windows is changed. Initial setting is 100.<\/p>\n<p>defshell command<\/p>\n<p>Synonym to the shell .screenrc command. See there.<\/p>\n<p>defsilence on|off<\/p>\n<p>Same as the silence command except that the default setting for new windows is changed. Initial setting is `off&#8217;.<\/p>\n<p>defslowpaste msec&#8221;<\/p>\n<p>Same as the slowpaste command except that the default setting for new windows is changed. Initial setting is 0 milliseconds, meaning `off&#8217;.<\/p>\n<p>defutf8 on|off<\/p>\n<p>Same as the utf8 command except that the default setting for new windows is changed. Initial setting is `on&#8217; if screen\u00a0 was\u00a0 started\u00a0 with\u00a0 &#8220;-U&#8221;,\u00a0 otherwise<br \/>\n`off&#8217;.<\/p>\n<p>defwrap on|off<\/p>\n<p>Same\u00a0 as\u00a0 the\u00a0 wrap command except that the default setting for new windows is changed. Initially line-wrap is on and can be toggled with the &#8220;wrap&#8221; command<br \/>\n(&#8220;C-a r&#8221;) or by means of &#8220;C-a : wrap on|off&#8221;.<\/p>\n<p>defwritelock on|off|auto<\/p>\n<p>Same as the writelock command except that the default setting for new windows is changed. Initially writelocks will off.<\/p>\n<p>defzombie [keys]<\/p>\n<p>Synonym to the zombie command. Both currently change the default.\u00a0 See there.<\/p>\n<p>detach [-h]<\/p>\n<p>Detach the screen session (disconnect it from the terminal and put it into the background).\u00a0 This returns you to the shell\u00a0 where\u00a0 you\u00a0 invoked\u00a0 screen.\u00a0\u00a0 A<br \/>\ndetached\u00a0 screen\u00a0 can\u00a0 be resumed by invoking screen with the -r option (see also section &#8220;COMMAND-LINE OPTIONS&#8221;). The -h option tells screen to immediately<br \/>\nclose the connection to the terminal (&#8220;hangup&#8221;).<\/p>\n<p>dinfo<\/p>\n<p>Show what screen thinks about your terminal. Useful if you want to know why features like color or the alternate charset don&#8217;t work.<\/p>\n<p>displays<\/p>\n<p>Shows a tabular listing of all currently connected user front-ends (displays).\u00a0 This is most useful for multiuser sessions.\u00a0 The following keys can be\u00a0 used<br \/>\nin displays list:<br \/>\nk, C-p, or up Move up one line.<br \/>\nj, C-n, or down Move down one line.<br \/>\nC-a or home Move to the first line.<br \/>\nC-e or end Move to the last line.<br \/>\nC-u or C-d Move one half page up or down.<br \/>\nC-b or C-f Move one full page up or down.<br \/>\nmouseclick Move to the selected line. Available when &#8220;mousetrack&#8221; is set to on.<br \/>\nspace Refresh the list<br \/>\nd Detach that display<br \/>\nD Power detach that display<br \/>\nC-g, enter, or escape Exit the list<\/p>\n<p>The following is an example of what &#8220;displays&#8221; could look like:<\/p>\n<p>xterm 80&#215;42\u00a0jnweiger@\/dev\/ttyp4\u00a0\u00a0\u00a0\u00a0 0(m11)\u00a0\u00a0 &amp;rWx<br \/>\nfacit 80&#215;24\u00a0mlschroe@\/dev\/ttyhf nb 11(tcsh)\u00a0\u00a0 rwx<br \/>\nxterm 80&#215;42\u00a0jnhollma@\/dev\/ttyp5\u00a0\u00a0\u00a0\u00a0 0(m11)\u00a0\u00a0 &amp;R.x<br \/>\n(A)\u00a0\u00a0 (B)\u00a0\u00a0\u00a0\u00a0 (C)\u00a0\u00a0\u00a0\u00a0 (D)\u00a0\u00a0\u00a0\u00a0 (E) (F)(G)\u00a0\u00a0 (H)(I)<\/p>\n<p>The legend is as follows:<br \/>\n(A) The terminal type known by screen for this display.<br \/>\n(B) Displays geometry as width x height.<br \/>\n(C) Username who is logged in at the display.<br \/>\n(D) Device name of the display or the attached device<br \/>\n(E) Display is in blocking or nonblocking mode. The available modes are &#8220;nb&#8221;, &#8220;NB&#8221;, &#8220;Z&lt;&#8220;, &#8220;Z&gt;&#8221;, and &#8220;BL&#8221;.<br \/>\n(F) Number of the window<br \/>\n(G) Name\/title of window<br \/>\n(H) Whether the window is shared<br \/>\n(I) Window permissions. Made up of three characters:<br \/>\n(1st character)<br \/>\n\u2018-\u2019 : no read<br \/>\n\u2018r\u2019 : read<br \/>\n\u2018R\u2019 : read only due to foreign wlock<br \/>\n(2nd character)<br \/>\n\u2018-\u2019 : no write<br \/>\n\u2018.\u2019 : write suppressed by foreign wlock<br \/>\n\u2018w\u2019 : write<br \/>\n\u2018W\u2019 : own wlock<br \/>\n(3rd character)<br \/>\n\u2018-\u2019 : no execute<br \/>\n\u2018x\u2019 : execute<\/p>\n<p>&#8220;Displays&#8221; needs a region size of at least 10 characters wide and 5 characters high in order to display.<\/p>\n<p>digraph [preset[unicode-value]]<\/p>\n<p>This command prompts the user for a digraph sequence. The next two characters typed are looked up in a builtin table and the resulting character is inserted<br \/>\nin the input stream. For example, if the user enters &#8216;a&#8221;&#8216;, an a-umlaut will be inserted. If the first character entered is a 0 (zero), screen will treat the<br \/>\nfollowing\u00a0 characters (up to three) as an octal number instead.\u00a0 The optional argument preset is treated as user input, thus one can create an &#8220;umlaut&#8221; key.<br \/>\nFor example the command &#8220;bindkey ^K digraph &#8216;&#8221;&#8216;&#8221; enables the user to generate an a-umlaut by typing CTRL-K a.\u00a0 When a non-zero unicode-value is specified, a<br \/>\nnew digraph is created with the specified preset. The digraph is unset if a zero value is provided for the unicode-value.<\/p>\n<p>dumptermcap<\/p>\n<p>Write\u00a0 the\u00a0 termcap\u00a0 entry for the virtual terminal optimized for the currently active window to the file &#8220;.termcap&#8221; in the user&#8217;s &#8220;$HOME\/.screen&#8221; directory<br \/>\n(or wherever screen stores its sockets. See the &#8220;FILES&#8221; section below).\u00a0 This termcap entry is identical to the value of the environment\u00a0 variable\u00a0 $TERMCAP<br \/>\nthat is set up by screen for each window. For terminfo based systems you will need to run a converter like captoinfo and then compile the entry with tic.<\/p>\n<p>echo [-n] message<\/p>\n<p>The\u00a0 echo command may be used to annoy screen users with a &#8216;message of the day&#8217;. Typically installed in a global \/etc\/screenrc.\u00a0 The option &#8220;-n&#8221; may be used<br \/>\nto suppress the line feed.\u00a0 See also &#8220;sleep&#8221;.\u00a0 Echo is also useful for online checking of environment variables.<\/p>\n<p>encoding enc [enc]<\/p>\n<p>Tell screen how to interpret the input\/output. The first argument sets the encoding of the current window. Each window can emulate a different encoding. The<br \/>\noptional\u00a0 second\u00a0 parameter\u00a0 overwrites\u00a0 the\u00a0 encoding\u00a0 of the connected terminal. It should never be needed as screen uses the locale setting to detect the<br \/>\nencoding.\u00a0 There is also a way to select a terminal encoding depending on the terminal type by using the &#8220;KJ&#8221; termcap entry.<\/p>\n<p>Supported encodings are eucJP, SJIS, eucKR, eucCN, Big5, GBK, KOI8-R, CP1251, UTF-8,\u00a0 ISO8859-2,\u00a0 ISO8859-3,\u00a0 ISO8859-4,\u00a0 ISO8859-5,\u00a0 ISO8859-6,\u00a0 ISO8859-7,<br \/>\nISO8859-8, ISO8859-9, ISO8859-10, ISO8859-15, jis.<\/p>\n<p>See also &#8220;defencoding&#8221;, which changes the default setting of a new window.<\/p>\n<p>escape xy<\/p>\n<p>Set\u00a0 the command character to x and the character generating a literal command character (by triggering the &#8220;meta&#8221; command) to y (similar to the -e option).<br \/>\nEach argument is either a single character, a two-character sequence of the form &#8220;^x&#8221; (meaning &#8220;C-x&#8221;), a backslash followed by an octal\u00a0 number\u00a0 (specifying<br \/>\nthe ASCII code of the character), or a backslash followed by a second character, such as &#8220;\\^&#8221; or &#8220;\\\\&#8221;.\u00a0 The default is &#8220;^Aa&#8221;.<\/p>\n<p>eval command1 [command2 \u2026]<\/p>\n<p>Parses and executes each argument as separate command.<\/p>\n<p>exec [[fdpat] newcommand [args \u2026]]<\/p>\n<p>Run\u00a0 a\u00a0 unix\u00a0 subprocess (specified by an executable path newcommand and its optional arguments) in the current window. The flow of data between newcommands<br \/>\nstdin\/stdout\/stderr, the process originally started in the window (let us call it &#8220;application-process&#8221;) and screen itself (window)\u00a0 is\u00a0 controlled\u00a0 by\u00a0 the<br \/>\nfile descriptor pattern fdpat.\u00a0 This pattern is basically a three character sequence representing stdin, stdout and stderr of newcommand. A dot (.) connects<br \/>\nthe file descriptor to screen.\u00a0 An exclamation mark (!) causes the file descriptor to be connected to the application-process. A colon\u00a0 (:)\u00a0 combines\u00a0 both.<br \/>\nUser\u00a0 input\u00a0 will go to newcommand unless newcommand receives the application-process&#8217; output (fdpats first character is `!&#8217; or `:&#8217;) or a pipe symbol (|) is<br \/>\nadded (as a fourth character) to the end of fdpat.<br \/>\nInvoking `exec&#8217; without arguments shows name and arguments of the currently running subprocess in this window. Only one subprocess a time can be running\u00a0 in<br \/>\neach window.<br \/>\nWhen a subprocess is running the `kill&#8217; command will affect it instead of the windows process.<br \/>\nRefer\u00a0 to\u00a0 the postscript file `doc\/fdpat.ps&#8217; for a confusing illustration of all 21 possible combinations. Each drawing shows the digits 2,1,0 representing<br \/>\nthe three file descriptors of newcommand. The box marked `W&#8217; is the usual pty that has the application-process on its slave side.\u00a0 The box marked `P&#8217; is the<br \/>\nsecondary pty that now has screen at its master side.<\/p>\n<p>Abbreviations:<br \/>\nWhitespace\u00a0 between the word `exec&#8217; and fdpat and the command can be omitted. Trailing dots and a fdpat consisting only of dots can be omitted. A simple `|&#8217;<br \/>\nis synonymous for the pattern `!..|&#8217;; the word exec can be omitted here and can always be replaced by `!&#8217;.<\/p>\n<p>Examples:<\/p>\n<p>exec \u2026 \/bin\/sh<br \/>\nexec \/bin\/sh<br \/>\n!\/bin\/sh<\/p>\n<p>Creates another shell in the same window, while the original shell is still running. Output of both shells is displayed and user input is sent\u00a0 to\u00a0 the\u00a0 new<br \/>\n\/bin\/sh.<\/p>\n<p>exec !.. stty 19200<br \/>\nexec ! stty 19200<br \/>\n!!stty 19200<\/p>\n<p>Set the speed of the window&#8217;s tty. If your stty command operates on stdout, then add another `!&#8217;.<\/p>\n<p>exec !..| less<br \/>\n|less<\/p>\n<p>This adds a pager to the window output. The special character `|&#8217; is needed to give the user control over the pager although it gets its input from the win\u2010<br \/>\ndow&#8217;s process. This works, because less listens on stderr (a behavior that screen would not expect without the `|&#8217;) when its stdin is not a tty.\u00a0 Less\u00a0 ver\u2010<br \/>\nsions newer than 177 fail miserably here; good old pg still works.<\/p>\n<p>!:sed -n s\/.*Error.*\/\\007\/p<\/p>\n<p>Sends\u00a0 window\u00a0 output\u00a0 to\u00a0 both,\u00a0 the user and the sed command. The sed inserts an additional bell character (oct. 007) to the window output seen by screen.<br \/>\nThis will cause &#8220;Bell in window x&#8221; messages, whenever the string &#8220;Error&#8221; appears in the window.<\/p>\n<p>fit<\/p>\n<p>Change the window size to the size of the current region. This command is needed because screen doesn&#8217;t adapt the window size automatically if the window is<br \/>\ndisplayed more than once.<\/p>\n<p>flow [on|off|auto]<\/p>\n<p>Sets\u00a0 the flow-control mode for this window.\u00a0 Without parameters it cycles the current window&#8217;s flow-control setting from &#8220;automatic&#8221; to &#8220;on&#8221; to &#8220;off&#8221;.\u00a0 See<br \/>\nthe discussion on &#8220;FLOW-CONTROL&#8221; later on in this document for full details and note, that this is subject to change in future releases.\u00a0 Default is set\u00a0 by<br \/>\n`defflow&#8217;.<\/p>\n<p>focus [up|down|top|bottom]<\/p>\n<p>Move\u00a0 the input focus to the next region. This is done in a cyclic way so that the top region is selected after the bottom one. If no subcommand is given it<br \/>\ndefaults to `down&#8217;. `up&#8217; cycles in the opposite order, `top&#8217; and `bottom&#8217; go to the top and bottom region respectively. Useful bindings are (j and k\u00a0 as\u00a0 in<br \/>\nvi)<br \/>\nbind j focus down<br \/>\nbind k focus up<br \/>\nbind t focus top<br \/>\nbind b focus bottom<br \/>\nNote that k is traditionally bound to the kill command.<\/p>\n<p>focusminsize [ ( width|max|_ ) ( height|max|_ ) ]<\/p>\n<p>This\u00a0 forces any currently selected region to be automatically resized at least a certain width and height. All other surrounding regions will be resized in<br \/>\norder to accommodate.\u00a0 This constraint follows everytime the &#8220;focus&#8221; command is used. The &#8220;resize&#8221; command can be used to increase\u00a0 either\u00a0 dimension\u00a0 of\u00a0 a<br \/>\nregion,\u00a0 but never below what is set with &#8220;focusminsize&#8221;. The underscore `_&#8217; is a synonym for max. Setting a width and height of `0 0&#8242; (zero zero) will undo<br \/>\nany constraints and allow for manual resizing.\u00a0 Without any parameters, the minimum width and height is shown.<\/p>\n<p>gr [on|off]<\/p>\n<p>Turn GR charset switching on\/off. Whenever screen sees an input character with the 8th bit set, it will use the charset stored in the GR slot and print\u00a0 the<br \/>\ncharacter with the 8th bit stripped. The default (see also &#8220;defgr&#8221;) is not to process GR switching because otherwise the ISO88591 charset would not work.<\/p>\n<p>group [grouptitle]<\/p>\n<p>Change\u00a0 or\u00a0 show\u00a0 the\u00a0 group\u00a0 the\u00a0 current window belongs to. Windows can be moved around between different groups by specifying the name of the destination<br \/>\ngroup. Without specifying a group, the title of the current group is displayed.<\/p>\n<p>hardcopy [-h] [file]<\/p>\n<p>Writes out the currently displayed image to the file file, or, if no filename is specified, to hardcopy.n in the default directory, where n is the number of<br \/>\nthe\u00a0 current\u00a0 window.\u00a0\u00a0 This\u00a0 either\u00a0 appends\u00a0 or overwrites the file if it exists. See below.\u00a0 If the option -h is specified, dump also the contents of the<br \/>\nscrollback buffer.<\/p>\n<p>hardcopy_append on|off<\/p>\n<p>If set to &#8220;on&#8221;, screen will append to the &#8220;hardcopy.n&#8221; files created by the command &#8220;C-a h&#8221;, otherwise these files are overwritten each\u00a0 time.\u00a0\u00a0 Default\u00a0 is<br \/>\n`off&#8217;.<\/p>\n<p>hardcopydir directory<\/p>\n<p>Defines a directory where hardcopy files will be placed. If unset, hardcopys are dumped in screen&#8217;s current working directory.<\/p>\n<p>hardstatus [on|off]<br \/>\nhardstatus [always]lastline|message|ignore [string]<br \/>\nhardstatus string [string]<\/p>\n<p>This\u00a0 command configures the use and emulation of the terminal&#8217;s hardstatus line. The first form toggles whether screen will use the hardware status line to<br \/>\ndisplay messages. If the flag is set to `off&#8217;, these messages are overlaid in reverse video mode at the display line. The default setting is `on&#8217;.<\/p>\n<p>The second form tells screen what to do if the terminal doesn&#8217;t have a hardstatus line (i.e. the termcap\/terminfo capabilities &#8220;hs&#8221;, &#8220;ts&#8221;, &#8220;fs&#8221; and &#8220;ds&#8221; are<br \/>\nnot set). If the type &#8220;lastline&#8221; is used, screen will reserve the last line of the display for the hardstatus. &#8220;message&#8221; uses screen&#8217;s message mechanism and<br \/>\n&#8220;ignore&#8221; tells screen never to display the hardstatus.\u00a0 If you prepend the word &#8220;always&#8221; to the type (e.g., &#8220;alwayslastline&#8221;), screen will use the type even<br \/>\nif the terminal supports a hardstatus.<\/p>\n<p>The\u00a0 third\u00a0 form specifies the contents of the hardstatus line.\u00a0 &#8216;%h&#8217; is used as default string, i.e., the stored hardstatus of the current window (settable<br \/>\nvia &#8220;ESC]0;&lt;string&gt;^G&#8221; or &#8220;ESC_&lt;string&gt;ESC\\&#8221;) is displayed.\u00a0 You can customize this to any string you like including the escapes from the\u00a0 &#8220;STRING\u00a0 ESCAPES&#8221;<br \/>\nchapter. If you leave out the argument string, the current string is displayed.<\/p>\n<p>You can mix the second and third form by providing the string as additional argument.<\/p>\n<p>height [-w|-d] [lines [cols]]<\/p>\n<p>Set the display height to a specified number of lines. When no argument is given it toggles between 24 and 42 lines display. You can also specify a width if<br \/>\nyou want to change both values.\u00a0 The -w option tells screen to leave the display size unchanged and just set the window size, -d vice versa.<\/p>\n<p>help [-c class]<\/p>\n<p>Not really a online help, but displays a help screen showing you all the key bindings.\u00a0 The first pages list all the internal\u00a0 commands\u00a0 followed\u00a0 by\u00a0 their<br \/>\ncurrent\u00a0 bindings.\u00a0\u00a0 Subsequent\u00a0 pages\u00a0 will display the custom commands, one command per key.\u00a0 Press space when you&#8217;re done reading each page, or return to<br \/>\nexit early.\u00a0 All other characters are ignored. If the &#8220;-c&#8221; option is given, display all bound commands for the specified command class.\u00a0 See\u00a0 also\u00a0 &#8220;DEFAULT<br \/>\nKEY BINDINGS&#8221; section.<\/p>\n<p>history<\/p>\n<p>Usually\u00a0 users\u00a0 work\u00a0 with\u00a0 a shell that allows easy access to previous commands.\u00a0 For example csh has the command &#8220;!!&#8221; to repeat the last command executed.<br \/>\nScreen allows you to have a primitive way of re-calling &#8220;the command that started \u2026&#8221;: You just type the first letter of that command, then hit `C-a\u00a0 {&#8216;\u00a0 and<br \/>\nscreen tries to find a previous line that matches with the `prompt character&#8217; to the left of the cursor. This line is pasted into this window&#8217;s input queue.<br \/>\nThus you have a crude command history (made up by the visible window and its scrollback buffer).<\/p>\n<p>hstatus status<\/p>\n<p>Change the window&#8217;s hardstatus line to the string status.<\/p>\n<p>idle [timeout [cmd args]]<\/p>\n<p>Sets a command that is run after the specified number of seconds inactivity is reached. This command will normally be the\u00a0 &#8220;blanker&#8221;\u00a0 command\u00a0 to\u00a0 create\u00a0 a<br \/>\nscreen\u00a0 blanker, but it can be any screen command.\u00a0 If no command is specified, only the timeout is set. A timeout of zero (or the special timeout off) dis\u2010<br \/>\nables the timer.\u00a0 If no arguments are given, the current settings are displayed.<\/p>\n<p>ignorecase [on|off]<\/p>\n<p>Tell screen to ignore the case of characters in searches. Default is `off&#8217;. Without any options, the state of ignorecase is toggled.<\/p>\n<p>info<\/p>\n<p>Uses the message line to display some information about the current window: the cursor position in the form &#8220;(column,row)&#8221; starting with &#8220;(1,1)&#8221;, the termi\u2010<br \/>\nnal\u00a0 width and height plus the size of the scrollback buffer in lines, like in &#8220;(80,24)+50&#8221;, the current state of window XON\/XOFF flow control is shown like<br \/>\nthis (See also section FLOW CONTROL):<\/p>\n<p>+flow\u00a0\u00a0\u00a0\u00a0 automatic flow control, currently on.<br \/>\n-flow\u00a0\u00a0\u00a0\u00a0 automatic flow control, currently off.<br \/>\n+(+)flow\u00a0 flow control enabled. Agrees with automatic control.<br \/>\n-(+)flow\u00a0 flow control disabled. Disagrees with automatic control.<br \/>\n+(-)flow\u00a0 flow control enabled. Disagrees with automatic control.<br \/>\n-(-)flow\u00a0 flow control disabled. Agrees with automatic control.<\/p>\n<p>The current line wrap setting (`+wrap&#8217; indicates enabled, `-wrap&#8217; not) is also shown. The flags `ins&#8217;, `org&#8217;, `app&#8217;, `log&#8217;, `mon&#8217; or `nored&#8217;\u00a0 are\u00a0 displayed<br \/>\nwhen the window is in insert mode, origin mode, application-keypad mode, has output logging, activity monitoring or partial redraw enabled.<\/p>\n<p>The\u00a0 currently active character set (G0, G1, G2, or G3) and in square brackets the terminal character sets that are currently designated as G0 through G3 is<br \/>\nshown. If the window is in UTF-8 mode, the string &#8220;UTF-8&#8221; is shown instead.<\/p>\n<p>Additional modes depending on the type of the window are displayed at the end of the status line (See also chapter &#8220;WINDOW TYPES&#8221;).<br \/>\nIf the state machine of the terminal emulator is in a non-default state, the info line is started with a string identifying the current state.<br \/>\nFor system information use the &#8220;time&#8221; command.<\/p>\n<p>ins_reg [key]<\/p>\n<p>No longer exists, use &#8220;paste&#8221; instead.<\/p>\n<p>kill<\/p>\n<p>Kill current window.<br \/>\nIf there is an `exec&#8217; command running then it is killed. Otherwise the process (shell) running in the window receives a HANGUP condition, the window\u00a0 struc\u2010<br \/>\nture is removed and screen (your display) switches to another window.\u00a0 When the last window is destroyed, screen exits.\u00a0 After a kill screen switches to the<br \/>\npreviously displayed window.<br \/>\nNote: Emacs users should keep this command in mind, when killing a line.\u00a0 It is recommended not to use &#8220;C-a&#8221; as the screen escape key or to rebind\u00a0 kill\u00a0 to<br \/>\n&#8220;C-a K&#8221;.<\/p>\n<p>lastmsg<\/p>\n<p>Redisplay the last contents of the message\/status line.\u00a0 Useful if you&#8217;re typing when a message appears, because\u00a0 the message goes away when you press a key<br \/>\n(unless your terminal has a hardware status line).\u00a0 Refer to the commands &#8220;msgwait&#8221; and &#8220;msgminwait&#8221; for fine tuning.<\/p>\n<p>layout new [title]<\/p>\n<p>Create a new layout. The screen will change to one whole region and be switched to the blank window. From here, you build the regions and the\u00a0 windows\u00a0 they<br \/>\nshow\u00a0 as\u00a0 you\u00a0 desire.\u00a0 The new layout will be numbered with the smallest available integer, starting with zero. You can optionally give a title to your new<br \/>\nlayout.\u00a0 Otherwise, it will have a default title of &#8220;layout&#8221;. You can always change the title later by using the command layout title.<\/p>\n<p>layout remove [n|title]<\/p>\n<p>Remove, or in other words, delete the specified layout. Either the number or the title can be specified. Without either specification,\u00a0 screen\u00a0 will\u00a0 remove<br \/>\nthe current layout.<\/p>\n<p>Removing a layout does not affect your set windows or regions.<\/p>\n<p>layout next<\/p>\n<p>Switch to the next layout available<\/p>\n<p>layout prev<\/p>\n<p>Switch to the previous layout available<\/p>\n<p>layout select [n|title]<\/p>\n<p>Select\u00a0 the\u00a0 desired\u00a0 layout.\u00a0 Either\u00a0 the\u00a0 number\u00a0 or\u00a0 the title can be specified. Without either specification, screen will prompt and ask which screen is<br \/>\ndesired. To see which layouts are available, use the layout show command.<\/p>\n<p>layout show<\/p>\n<p>List on the message line the number(s) and title(s) of the available layout(s). The current layout is flagged.<\/p>\n<p>layout title [title]<\/p>\n<p>Change or display the title of the current layout. A string given will be used to name the layout. Without any options, the current title and number is dis\u2010<br \/>\nplayed on the message line.<\/p>\n<p>layout number [n]<\/p>\n<p>Change or display the number of the current layout. An integer given will be used to number the layout. Without any options, the current number and title is<br \/>\ndisplayed on the message line.<\/p>\n<p>layout attach [title|:last]<\/p>\n<p>Change or display which layout to reattach back to. The default is :last, which tells screen to reattach back to the last used layout\u00a0 just\u00a0 before\u00a0 detach\u2010<br \/>\nment.\u00a0 By supplying a title, You can instruct screen to reattach to a particular layout regardless which one was used at the time of detachment. Without any<br \/>\noptions, the layout to reattach to will be shown in the message line.<\/p>\n<p>layout save [n|title]<\/p>\n<p>Remember the current arrangement of regions. When used, screen will remember the arrangement of vertically and horizontally split regions. This\u00a0 arrangement<br \/>\nis\u00a0 restored\u00a0 when\u00a0 a\u00a0 screen\u00a0 session\u00a0 is\u00a0 reattached\u00a0 or switched back from a different layout. If the session ends or the screen process dies, the layout<br \/>\narrangements are lost. The layout dump command should help in this siutation. If a number or title is supplied, screen will remember the arrangement of that<br \/>\nparticular layout. Without any options, screen will remember the current layout.<\/p>\n<p>Saving your regions can be done automatically by using the layout autosave command.<\/p>\n<p>layout autosave [on|off]<\/p>\n<p>Change\u00a0 or\u00a0 display\u00a0 the\u00a0 status\u00a0 of\u00a0 automatcally\u00a0 saving layouts. The default is on, meaning when screen is detached or changed to a different layout, the<br \/>\narrangement of regions and windows will be remembered at the time of change and restored upon return.\u00a0 If autosave is set to off, that arrangement will only<br \/>\nbe\u00a0 restored to either to the last manual save, using layout save, or to when the layout was first created, to a single region with a single window. Without<br \/>\neither an on or off, the current status is displayed on the message line.<\/p>\n<p>layout dump [filename]<\/p>\n<p>Write to a file the order of splits made in the current layout. This is useful to recreate the order of your regions used in your current layout.\u00a0 Only\u00a0 the<br \/>\ncurrent\u00a0 layout\u00a0 is recorded. While the order of the regions are recorded, the sizes of those regions and which windows correspond to which regions are not.<br \/>\nIf no filename is specified, the default is layout-dump, saved in the directory that the screen process was started in. If the file already\u00a0 exists,\u00a0 layout<br \/>\ndump will append to that file. As an example:<\/p>\n<p>C-a : layout dump \/home\/user\/.screenrc<\/p>\n<p>will save or append the layout to the user&#8217;s .screenrc file.<\/p>\n<p>license<\/p>\n<p>Display the disclaimer page. This is done whenever screen is started without options, which should be often enough. See also the &#8220;startup_message&#8221; command.<\/p>\n<p>lockscreen<\/p>\n<p>Lock\u00a0 this\u00a0 display.\u00a0\u00a0 Call a screenlock program (\/local\/bin\/lck or \/usr\/bin\/lock or a builtin if no other is available). Screen does not accept any command<br \/>\nkeys until this program terminates. Meanwhile processes in the windows may continue, as the windows are in the `detached&#8217; state. The screenlock program\u00a0 may<br \/>\nbe\u00a0 changed\u00a0 through the environment variable $LOCKPRG (which must be set in the shell from which screen is started) and is executed with the user&#8217;s uid and<br \/>\ngid.<br \/>\nWarning: When you leave other shells unlocked and you have no password set on screen, the lock is void: One could easily re-attach from an\u00a0 unlocked\u00a0 shell.<br \/>\nThis feature should rather be called `lockterminal&#8217;.<\/p>\n<p>log [on|off]<\/p>\n<p>Start\/stop writing output of the current window to a file &#8220;screenlog.n&#8221; in the window&#8217;s default directory, where n is the number of the current window. This<br \/>\nfilename can be changed with the `logfile&#8217; command. If no parameter is given, the state of logging is toggled. The session log is appended to\u00a0 the\u00a0 previous<br \/>\ncontents\u00a0 of the file if it already exists. The current contents and the contents of the scrollback history are not included in the session log.\u00a0 Default is<br \/>\n`off&#8217;.<\/p>\n<p>logfile filename<br \/>\nlogfile flush secs<\/p>\n<p>Defines the name the log files will get. The default is &#8220;screenlog.%n&#8221;. The second form changes the number of seconds screen will wait before\u00a0 flushing\u00a0 the<br \/>\nlogfile buffer to the file-system. The default value is 10 seconds.<\/p>\n<p>login [on|off]<\/p>\n<p>Adds\u00a0 or\u00a0 removes\u00a0 the entry in the utmp database file for the current window.\u00a0 This controls if the window is `logged in&#8217;.\u00a0 When no parameter is given, the<br \/>\nlogin state of the window is toggled.\u00a0 Additionally to that toggle, it is convenient having a `log in&#8217; and a `log out&#8217; key. E.g. `bind I login on&#8217; and `bind<br \/>\nO\u00a0 login\u00a0 off&#8217;\u00a0 will map these keys to be C-a I and C-a O.\u00a0 The default setting (in config.h.in) should be &#8220;on&#8221; for a screen that runs under suid-root.\u00a0 Use<br \/>\nthe &#8220;deflogin&#8221; command to change the default login state for new windows. Both commands are only present when screen has been compiled with utmp support.<\/p>\n<p>logtstamp [on|off]<br \/>\nlogtstamp after [secs]<br \/>\nlogtstamp string [string]<\/p>\n<p>This command controls logfile time-stamp mechanism of screen.\u00a0 If time-stamps are turned &#8220;on&#8221;, screen adds a string containing the current time to the\u00a0 log\u2010<br \/>\nfile\u00a0 after\u00a0 two\u00a0 minutes\u00a0 of inactivity.\u00a0 When output continues and more than another two minutes have passed, a second time-stamp is added to document the<br \/>\nrestart of the output. You can change this timeout with the second form of the command. The third form is used for customizing the\u00a0 time-stamp\u00a0 string\u00a0 (`&#8211;<br \/>\n%n:%t &#8212; time-stamp &#8212; %M\/%d\/%y %c:%s &#8211;\\n&#8217; by default).<\/p>\n<p>mapdefault<\/p>\n<p>Tell screen that the next input character should only be looked up in the default bindkey table. See also &#8220;bindkey&#8221;.<\/p>\n<p>mapnotnext<\/p>\n<p>Like mapdefault, but don&#8217;t even look in the default bindkey table.<\/p>\n<p>maptimeout [timeout]<\/p>\n<p>Set\u00a0 the inter-character timer for input sequence detection to a timeout of timeout ms. The default timeout is 300ms. Maptimeout with no arguments shows the<br \/>\ncurrent setting.\u00a0 See also &#8220;bindkey&#8221;.<\/p>\n<p>markkeys string<\/p>\n<p>This is a method of changing the keymap used for copy\/history mode.\u00a0 The string is made up of oldchar=newchar pairs which are separated by `:&#8217;. Example: The<br \/>\nstring\u00a0 &#8220;B=^B:F=^F&#8221; will change the keys `C-b&#8217; and `C-f&#8217; to the vi style binding (scroll up\/down fill page).\u00a0 This happens to be the default binding for `B&#8217;<br \/>\nand `F&#8217;.\u00a0 The command &#8220;markkeys h=^B:l=^F:$=^E&#8221; would set the mode for an emacs-style binding.\u00a0 If your terminal sends characters, that cause you\u00a0 to\u00a0 abort<br \/>\ncopy\u00a0 mode, then this command may help by binding these characters to do nothing.\u00a0 The no-op character is `@&#8217; and is used like this: &#8220;markkeys @=L=H&#8221; if you<br \/>\ndo not want to use the `H&#8217; or `L&#8217; commands any longer.\u00a0 As shown in this example, multiple keys can be assigned to one function in a single statement.<\/p>\n<p>maxwin num<\/p>\n<p>Set the maximum window number screen will create. Doesn&#8217;t affect already existing windows. The number can be increased only when there are no existing\u00a0 win\u2010<br \/>\ndows.<\/p>\n<p>meta<\/p>\n<p>Insert the command character (C-a) in the current window&#8217;s input stream.<\/p>\n<p>monitor [on|off]<\/p>\n<p>Toggles\u00a0 activity monitoring of windows.\u00a0 When monitoring is turned on and an affected window is switched into the background, you will receive the activity<br \/>\nnotification message in the status line at the first sign of output and the window will also be marked with an `@&#8217; in the window-status display.\u00a0 Monitoring<br \/>\nis initially off for all windows.<\/p>\n<p>mousetrack [on|off]<\/p>\n<p>This\u00a0 command\u00a0 determines\u00a0 whether\u00a0 screen\u00a0 will\u00a0 watch\u00a0 for mouse clicks. When this command is enabled, regions that have been split in various ways can be<br \/>\nselected by pointing to them with a mouse and left-clicking them. Without specifying on or off, the current state is displayed. The default state is\u00a0 deter\u2010<br \/>\nmined by the &#8220;defmousetrack&#8221; command.<\/p>\n<p>msgminwait sec<\/p>\n<p>Defines the time screen delays a new message when one message is currently displayed.\u00a0 The default is 1 second.<\/p>\n<p>msgwait sec<\/p>\n<p>Defines the time a message is displayed if screen is not disturbed by other activity. The default is 5 seconds.<\/p>\n<p>multiuser on|off<\/p>\n<p>Switch\u00a0 between\u00a0 singleuser\u00a0 and\u00a0 multiuser\u00a0 mode.\u00a0 Standard screen operation is singleuser. In multiuser mode the commands `acladd&#8217;, `aclchg&#8217;, `aclgrp&#8217; and<br \/>\n`acldel&#8217; can be used to enable (and disable) other users accessing this screen session.<\/p>\n<p>nethack on|off<\/p>\n<p>Changes the kind of error messages used by screen.\u00a0 When you are familiar with the game &#8220;nethack&#8221;, you may enjoy the nethack-style messages which will often<br \/>\nblur the facts a little, but are much funnier to read. Anyway, standard messages often tend to be unclear as well.<br \/>\nThis\u00a0 option\u00a0 is only available if screen was compiled with the NETHACK flag defined. The default setting is then determined by the presence of the environ\u2010<br \/>\nment variable $NETHACKOPTIONS and the file ~\/.nethackrc &#8211; if either one is present, the default is on.<\/p>\n<p>next<\/p>\n<p>Switch to the next window.\u00a0 This command can be used repeatedly to cycle through the list of windows.<\/p>\n<p>nonblock [on|off|numsecs]<\/p>\n<p>Tell screen how to deal with user interfaces (displays) that cease to accept output. This can happen if a user presses ^S or a TCP\/modem connection gets cut<br \/>\nbut\u00a0 no hangup is received. If nonblock is off (this is the default) screen waits until the display restarts to accept the output. If nonblock is on, screen<br \/>\nwaits until the timeout is reached (on is treated as 1s). If the display still doesn&#8217;t receive characters, screen will consider it &#8220;blocked&#8221; and stop\u00a0 send\u2010<br \/>\ning characters to it. If at some time it restarts to accept characters, screen will unblock the display and redisplay the updated window contents.<\/p>\n<p>number [[+|-]n]<\/p>\n<p>Change\u00a0 the\u00a0 current window&#8217;s number. If the given number n is already used by another window, both windows exchange their numbers. If no argument is speci\u2010<br \/>\nfied, the current window number (and title) is shown. Using `+&#8217; or `-&#8216; will change the window&#8217;s number by the relative amount specified.<\/p>\n<p>obuflimit [limit]<\/p>\n<p>If the output buffer contains more bytes than the specified limit, no more data will be read from the windows. The default value is 256. If you have a\u00a0 fast<br \/>\ndisplay (like xterm), you can set it to some higher value. If no argument is specified, the current setting is displayed.<\/p>\n<p>only<\/p>\n<p>Kill all regions but the current one.<\/p>\n<p>other<\/p>\n<p>Switch to the window displayed previously. If this window does no longer exist, other has the same effect as next.<\/p>\n<p>partial on|off<\/p>\n<p>Defines whether the display should be refreshed (as with redisplay) after switching to the current window. This command only affects the current window.\u00a0 To<br \/>\nimmediately affect all windows use the allpartial command.\u00a0 Default is `off&#8217;, of course.\u00a0 This default is fixed, as there is currently\u00a0 no\u00a0 defpartial\u00a0 com\u2010<br \/>\nmand.<\/p>\n<p>password [crypted_pw]<br \/>\nPresent\u00a0 a\u00a0 crypted password in your &#8220;.screenrc&#8221; file and screen will ask for it, whenever someone attempts to resume a detached. This is useful if you have<br \/>\nprivileged programs running under screen and you want to protect your session from reattach attempts by another user masquerading\u00a0 as\u00a0 your\u00a0 uid\u00a0 (i.e.\u00a0 any<br \/>\nsuperuser.)\u00a0\u00a0 If\u00a0 no\u00a0 crypted\u00a0 password\u00a0 is specified, screen prompts twice for typing a password and places its encryption in the paste buffer.\u00a0 Default is<br \/>\n`none&#8217;, this disables password checking.<\/p>\n<p>paste [registers [dest_reg]]<\/p>\n<p>Write the (concatenated) contents of the specified registers to the stdin queue of the current window. The register &#8216;.&#8217; is treated as the paste\u00a0 buffer.\u00a0 If<br \/>\nno\u00a0 parameter\u00a0 is\u00a0 given\u00a0 the\u00a0 user is prompted for a single register to paste.\u00a0 The paste buffer can be filled with the copy, history and readbuf commands.<br \/>\nOther registers can be filled with the register, readreg and paste commands.\u00a0 If paste is called with a second argument, the contents of the specified\u00a0 reg\u2010<br \/>\nisters\u00a0 is pasted into the named destination register rather than the window. If &#8216;.&#8217; is used as the second argument, the displays paste buffer is the desti\u2010<br \/>\nnation.\u00a0 Note, that &#8220;paste&#8221; uses a wide variety of resources: Whenever a second argument is specified no current window is needed. When the source\u00a0 specifi\u2010<br \/>\ncation\u00a0 only contains registers (not the paste buffer) then there need not be a current display (terminal attached), as the registers are a global resource.<br \/>\nThe paste buffer exists once for every user.<\/p>\n<p>pastefont [on|off]<\/p>\n<p>Tell screen to include font information in the paste buffer. The default is not to do so. This command is especially useful for multi character\u00a0 fonts\u00a0 like<br \/>\nkanji.<\/p>\n<p>pow_break<\/p>\n<p>Reopen the window&#8217;s terminal line and send a break condition. See `break&#8217;.<\/p>\n<p>pow_detach<\/p>\n<p>Power\u00a0 detach.\u00a0\u00a0 Mainly\u00a0 the\u00a0 same\u00a0 as\u00a0 detach, but also sends a HANGUP signal to the parent process of screen.\u00a0 CAUTION: This will result in a logout, when<br \/>\nscreen was started from your login-shell.<\/p>\n<p>pow_detach_msg [message]<\/p>\n<p>The message specified here is output whenever a `Power detach&#8217; was performed. It may be used as a replacement for a logout message or to\u00a0 reset\u00a0 baud\u00a0 rate,<br \/>\netc.\u00a0 Without parameter, the current message is shown.<\/p>\n<p>prev<\/p>\n<p>Switch to the window with the next lower number.\u00a0 This command can be used repeatedly to cycle through the list of windows.<\/p>\n<p>printcmd [cmd]<\/p>\n<p>If\u00a0 cmd\u00a0 is\u00a0 not\u00a0 an empty string, screen will not use the terminal capabilities &#8220;po\/pf&#8221; if it detects an ansi print sequence ESC [ 5 i, but pipe the output<br \/>\ninto cmd.\u00a0 This should normally be a command like &#8220;lpr&#8221; or &#8220;&#8216;cat &gt; \/tmp\/scrprint'&#8221;.\u00a0 printcmd without a command displays\u00a0 the\u00a0 current\u00a0 setting.\u00a0\u00a0 The\u00a0 ansi<br \/>\nsequence ESC \\ ends printing and closes the pipe.<br \/>\nWarning: Be careful with this command! If other user have write access to your terminal, they will be able to fire off print commands.<\/p>\n<p>process [key]<\/p>\n<p>Stuff\u00a0 the contents of the specified register into screen&#8217;s input queue. If no argument is given you are prompted for a register name. The text is parsed as<br \/>\nif it had been typed in from the user&#8217;s keyboard. This command can be used to bind multiple actions to a single key.<\/p>\n<p>quit<\/p>\n<p>Kill all windows and terminate screen.\u00a0 Note that on VT100-style terminals the keys C-4 and C-\\ are identical.\u00a0 This makes the default\u00a0 bindings\u00a0 dangerous:<br \/>\nBe careful not to type C-a C-4 when selecting window no. 4.\u00a0 Use the empty bind command (as in &#8220;bind &#8216;^\\'&#8221;) to remove a key binding.<\/p>\n<p>readbuf [-e encoding] [filename]<\/p>\n<p>Reads\u00a0 the\u00a0 contents of the specified file into the paste buffer.\u00a0 You can tell screen the encoding of the file via the -e option.\u00a0 If no file is specified,<br \/>\nthe screen-exchange filename is used.\u00a0 See also &#8220;bufferfile&#8221; command.<\/p>\n<p>readreg [-e encoding] [register [filename]]<\/p>\n<p>Does one of two things, dependent on number of arguments: with zero or one arguments it it duplicates the paste buffer contents into the register\u00a0 specified<br \/>\nor\u00a0 entered at the prompt. With two arguments it reads the contents of the named file into the register, just as readbuf reads the screen-exchange file into<br \/>\nthe paste buffer.\u00a0 You can tell screen the encoding of the file via the -e option.\u00a0 The following example will paste the system&#8217;s\u00a0 password\u00a0 file\u00a0 into\u00a0 the<br \/>\nscreen window (using register p, where a copy remains):<\/p>\n<p>C-a : readreg p \/etc\/passwd<br \/>\nC-a : paste p<br \/>\nredisplay<\/p>\n<p>Redisplay the current window. Needed to get a full redisplay when in partial redraw mode.<\/p>\n<p>register [-e encoding] key string<\/p>\n<p>Save the specified string to the register key.\u00a0 The encoding of the string can be specified via the -e option.\u00a0 See also the &#8220;paste&#8221; command.<\/p>\n<p>remove<\/p>\n<p>Kill the current region. This is a no-op if there is only one region.<\/p>\n<p>removebuf<\/p>\n<p>Unlinks the screen-exchange file used by the commands &#8220;writebuf&#8221; and &#8220;readbuf&#8221;.<\/p>\n<p>rendition bell | monitor | silence | so attr [color]<\/p>\n<p>Change\u00a0 the\u00a0 way\u00a0 screen\u00a0 renders the titles of windows that have monitor or bell flags set in caption or hardstatus or windowlist. See the &#8220;STRING ESCAPES&#8221;<br \/>\nchapter for the syntax of the modifiers.\u00a0 The default for monitor is currently &#8220;=b &#8221; (bold, active colors), for bell &#8220;=ub &#8221; (underline, bold and active col\u2010<br \/>\nors), and &#8220;=u &#8221; for silence.<\/p>\n<p>reset<\/p>\n<p>Reset\u00a0 the\u00a0 virtual\u00a0 terminal\u00a0 to\u00a0 its &#8220;power-on&#8221; values. Useful when strange settings (like scroll regions or graphics character set) are left over from an<br \/>\napplication.<\/p>\n<p>resize<\/p>\n<p>Resize the current region. The space will be removed from or added to the region below or if there&#8217;s not enough space from the region above.<\/p>\n<p>resize +N\u00a0\u00a0 increase current region height by N<\/p>\n<p>resize -N\u00a0\u00a0 decrease current region height by N<\/p>\n<p>resize\u00a0 N\u00a0\u00a0 set current region height to N<\/p>\n<p>resize\u00a0 =\u00a0\u00a0 make all windows equally high<\/p>\n<p>resize\u00a0 max maximize current region height<\/p>\n<p>resize\u00a0 min minimize current region height<\/p>\n<p>screen [-opts] [n] [cmd [args]|\/\/group]<\/p>\n<p>Establish a new window.\u00a0 The flow-control options (-f, -fn and -fa), title (a.k.a.) option (-t), login options (-l and\u00a0 -ln)\u00a0 ,\u00a0 terminal\u00a0 type\u00a0 option\u00a0 (-T<br \/>\n&lt;term&gt;),\u00a0 the\u00a0 all-capability-flag\u00a0 (-a)\u00a0 and scrollback option (-h &lt;num&gt;) may be specified with each command.\u00a0 The option (-M) turns monitoring on for this<br \/>\nwindow.\u00a0 The option (-L) turns output logging on for this window.\u00a0 If an optional number n in the range\u00a0 0..MAXWIN-1\u00a0 is\u00a0 given,\u00a0 the\u00a0 window\u00a0 number\u00a0 n\u00a0 is<br \/>\nassigned to the newly created window (or, if this number is already in-use, the next available number).\u00a0 If a command is specified after &#8220;screen&#8221;, this com\u2010<br \/>\nmand (with the given arguments) is started in the window; otherwise, a shell is created.\u00a0 If \/\/group is supplied, a\u00a0 container-type\u00a0 window\u00a0 is\u00a0 created\u00a0 in<br \/>\nwhich other windows may be created inside it.<\/p>\n<p>Thus, if your &#8220;.screenrc&#8221; contains the lines<\/p>\n<p># example for .screenrc:<br \/>\nscreen 1<br \/>\nscreen -fn -t foobar -L 2 telnet foobar<\/p>\n<p>screen\u00a0 creates\u00a0 a shell window (in window #1) and a window with a TELNET connection to the machine foobar (with no flow-control using the title &#8220;foobar&#8221; in<br \/>\nwindow #2) and will write a logfile (&#8220;screenlog.2&#8221;) of the telnet session.\u00a0 Note, that unlike previous versions of screen no additional\u00a0 default\u00a0 window\u00a0 is<br \/>\ncreated\u00a0 when &#8220;screen&#8221; commands are included in your &#8220;.screenrc&#8221; file. When the initialization is completed, screen switches to the last window specified in<br \/>\nyour .screenrc file or, if none, opens a default window #0.<br \/>\nScreen has built in some functionality of &#8220;cu&#8221; and &#8220;telnet&#8221;.\u00a0 See also chapter &#8220;WINDOW TYPES&#8221;.<\/p>\n<p>scrollback num<br \/>\nSet the size of the scrollback buffer for the current windows to num lines. The default scrollback is 100 lines.\u00a0 See also the &#8220;defscrollback&#8221;\u00a0 command\u00a0 and<br \/>\nuse &#8220;info&#8221; to view the current setting. To access and use the contents in the scrollback buffer, use the &#8220;copy&#8221; command.<\/p>\n<p>select [WindowID]<\/p>\n<p>Switch\u00a0 to\u00a0 the\u00a0 window\u00a0 identified\u00a0 by\u00a0 WindowID.\u00a0\u00a0 This can be a prefix of a window title (alphanumeric window name) or a window number.\u00a0 The parameter is<br \/>\noptional and if omitted, you get prompted for an identifier.\u00a0 When a new window is established, the first available\u00a0 number\u00a0 is\u00a0 assigned\u00a0 to\u00a0 this\u00a0 window.<br \/>\nThus,\u00a0 the\u00a0 first\u00a0 window\u00a0 can\u00a0 be\u00a0 activated\u00a0 by &#8220;select 0&#8221;.\u00a0 The number of windows is limited at compile-time by the MAXWIN configuration parameter (which<br \/>\ndefaults to 40).\u00a0 There are two special WindowIDs, &#8220;-&#8221; selects the internal blank window and &#8220;.&#8221; selects the current window. The latter is\u00a0 useful\u00a0 if\u00a0 used<br \/>\nwith screen&#8217;s &#8220;-X&#8221; option.<\/p>\n<p>sessionname [name]<\/p>\n<p>Rename\u00a0 the\u00a0 current\u00a0 session. Note, that for &#8220;screen -list&#8221; the name shows up with the process-id prepended. If the argument &#8220;name&#8221; is omitted, the name of<br \/>\nthis session is displayed. Caution: The $STY environment variables will still reflect the old name in pre-existing shells. This may result in confusion. Use<br \/>\nof\u00a0 this\u00a0 command is generally discouraged. Use the &#8220;-S&#8221; command-line option if you want to name a new session.\u00a0 The default is constructed from the tty and<br \/>\nhost names.<\/p>\n<p>setenv [var [string]]<\/p>\n<p>Set the environment variable var to value string.\u00a0 If only var is specified, the user will be prompted to enter a value.\u00a0 If no\u00a0 parameters\u00a0 are\u00a0 specified,<br \/>\nthe user will be prompted for both variable and value. The environment is inherited by all subsequently forked shells.<\/p>\n<p>setsid [on|off]<\/p>\n<p>Normally screen uses different sessions and process groups for the windows. If setsid is turned off, this is not done anymore and all windows will be in the<br \/>\nsame process group as the screen backend process. This also breaks job-control, so be careful.\u00a0 The default is on, of course. This command is probably\u00a0 use\u2010<br \/>\nful only in rare circumstances.<\/p>\n<p>shell command<\/p>\n<p>Set\u00a0 the command to be used to create a new shell.\u00a0 This overrides the value of the environment variable $SHELL.\u00a0 This is useful if you&#8217;d like to run a tty-<br \/>\nenhancer which is expecting to execute the program specified in $SHELL.\u00a0 If the command begins with a &#8216;-&#8216; character, the shell will be started as\u00a0 a\u00a0 login-<br \/>\nshell.\u00a0 Typical\u00a0 shells\u00a0 do\u00a0 only\u00a0 minimal initialization when not started as a login-shell.\u00a0 E.g. Bash will not read your &#8220;~\/.bashrc&#8221; unless it is a login-<br \/>\nshell.<\/p>\n<p>shelltitle title<\/p>\n<p>Set the title for all shells created during startup or by the C-A C-c command.\u00a0 For details about what a title is, see the discussion entitled &#8220;TITLES (nam\u2010<br \/>\ning windows)&#8221;.<\/p>\n<p>silence [on|off|sec]<\/p>\n<p>Toggles silence monitoring of windows.\u00a0 When silence is turned on and an affected window is switched into the background, you will receive the silence noti\u2010<br \/>\nfication message in the status line after a specified period of inactivity (silence). The default timeout can be changed with the `silencewait&#8217;\u00a0 command\u00a0 or<br \/>\nby specifying a number of seconds instead of `on&#8217; or `off&#8217;.\u00a0 Silence is initially off for all windows.<\/p>\n<p>silencewait sec<\/p>\n<p>Define the time that all windows monitored for silence should wait before displaying a message. Default 30 seconds.<\/p>\n<p>sleep num<\/p>\n<p>This\u00a0 command will pause the execution of a .screenrc file for num seconds.\u00a0 Keyboard activity will end the sleep.\u00a0 It may be used to give users a chance to<br \/>\nread the messages output by &#8220;echo&#8221;.<\/p>\n<p>slowpaste msec<\/p>\n<p>Define the speed at which text is inserted into the current window by the paste (&#8220;C-a ]&#8221;) command.\u00a0 If the slowpaste value is nonzero text is written\u00a0 char\u2010<br \/>\nacter by character.\u00a0 screen will make a pause of msec milliseconds after each single character write to allow the application to process its input. Only use<br \/>\nslowpaste if your underlying system exposes flow control problems while pasting large amounts of text.<\/p>\n<p>source file<\/p>\n<p>Read and execute commands from file file. Source commands may be nested to a maximum recursion level of ten. If file is not an absolute path and\u00a0 screen\u00a0 is<br \/>\nalready processing a source command, the parent directory of the running source command file is used to search for the new command file before screen&#8217;s cur\u2010<br \/>\nrent directory.<\/p>\n<p>Note that termcap\/terminfo\/termcapinfo commands only work at startup and reattach time, so they must be reached via the default screenrc files\u00a0 to\u00a0 have\u00a0 an<br \/>\neffect.<\/p>\n<p>sorendition [attr [color]]<\/p>\n<p>This command is deprecated. See &#8220;rendition so&#8221; instead.<\/p>\n<p>split [-v]<\/p>\n<p>Split the current region into two new ones. All regions on the display are resized to make room for the new region. The blank window is displayed on the new<br \/>\nregion. Splits are made horizontally unless -v is used. Use the &#8220;remove&#8221; or the &#8220;only&#8221; command to delete regions. Use &#8220;focus&#8221; to toggle between regions.<\/p>\n<p>startup_message on|off<\/p>\n<p>Select whether you want to see the copyright notice during startup.\u00a0 Default is `on&#8217;, as you probably noticed.<\/p>\n<p>stuff [string]<\/p>\n<p>Stuff the string string in the input buffer of the current window.\u00a0 This is like the &#8220;paste&#8221; command but with much\u00a0 less\u00a0 overhead.\u00a0\u00a0 Without\u00a0 a\u00a0 parameter,<br \/>\nscreen will prompt for a string to stuff.\u00a0 You cannot paste large buffers with the &#8220;stuff&#8221; command. It is most useful for key bindings. See also &#8220;bindkey&#8221;.<\/p>\n<p>su [username [password [password2]]]<\/p>\n<p>Substitute\u00a0 the user of a display. The command prompts for all parameters that are omitted. If passwords are specified as parameters, they have to be speci\u2010<br \/>\nfied un-crypted. The first password is matched against the systems passwd database, the second password is matched against the screen password as\u00a0 set\u00a0 with<br \/>\nthe commands &#8220;acladd&#8221; or &#8220;password&#8221;.\u00a0 &#8220;Su&#8221; may be useful for the screen administrator to test multiuser setups.\u00a0 When the identification fails, the user has<br \/>\naccess to the commands available for user nobody.\u00a0 These are &#8220;detach&#8221;, &#8220;license&#8221;, &#8220;version&#8221;, &#8220;help&#8221; and &#8220;displays&#8221;.<\/p>\n<p>suspend<\/p>\n<p>Suspend screen.\u00a0 The windows are in the `detached&#8217; state, while screen is suspended. This feature relies on the shell being able to do job control.<\/p>\n<p>term term<\/p>\n<p>In each window&#8217;s environment screen opens, the $TERM variable is set to &#8220;screen&#8221; by default.\u00a0 But when no description for &#8220;screen&#8221; is installed in the local<br \/>\ntermcap or terminfo data base, you set $TERM to &#8211; say &#8211; &#8220;vt100&#8221;. This won&#8217;t do much harm, as screen is VT100\/ANSI compatible.\u00a0 The use of the &#8220;term&#8221; command<br \/>\nis discouraged for non-default purpose.\u00a0 That is, one may want to specify special $TERM settings (e.g. vt100) for the next &#8220;screen rlogin othermachine&#8221; com\u2010<br \/>\nmand. Use the command &#8220;screen -T vt100 rlogin othermachine&#8221; rather than setting and resetting the default.<\/p>\n<p>termcap term terminal-tweaks [window-tweaks]<br \/>\nterminfo term terminal-tweaks [window-tweaks]<br \/>\ntermcapinfo term terminal-tweaks [window-tweaks]<\/p>\n<p>Use\u00a0 this\u00a0 command to modify your terminal&#8217;s termcap entry without going through all the hassles involved in creating a custom termcap entry.\u00a0 Plus, you can<br \/>\noptionally customize the termcap generated for the windows.\u00a0 You have to place these commands in one of the screenrc startup files, as they are\u00a0 meaningless<br \/>\nonce the terminal emulator is booted.<br \/>\nIf your system works uses the terminfo database rather than termcap, screen will understand the `terminfo&#8217; command, which has the same effects as the `term\u2010<br \/>\ncap&#8217; command.\u00a0 Two separate commands are provided, as there are subtle syntactic differences, e.g. when parameter interpolation\u00a0 (using\u00a0 `%&#8217;)\u00a0 is\u00a0 required.<br \/>\nNote that termcap names of the capabilities have to be used with the `terminfo&#8217; command.<br \/>\nIn\u00a0 many\u00a0 cases,\u00a0 where\u00a0 the arguments are valid in both terminfo and termcap syntax, you can use the command `termcapinfo&#8217;, which is just a shorthand for a<br \/>\npair of `termcap&#8217; and `terminfo&#8217; commands with identical arguments.<\/p>\n<p>The first argument specifies which terminal(s) should be affected by this definition.\u00a0 You can specify multiple terminal names by separating them with `|&#8217;s.<br \/>\nUse `*&#8217; to match all terminals and `vt*&#8217; to match all terminals that begin with &#8220;vt&#8221;.<\/p>\n<p>Each\u00a0 tweak\u00a0 argument contains one or more termcap defines (separated by `:&#8217;s) to be inserted at the start of the appropriate termcap entry, enhancing it or<br \/>\noverriding existing values.\u00a0 The first tweak modifies your terminal&#8217;s termcap, and contains definitions that your terminal uses\u00a0 to\u00a0 perform\u00a0 certain\u00a0 func\u2010<br \/>\ntions.\u00a0\u00a0 Specify\u00a0 a null string to leave this unchanged (e.g. &#8221;).\u00a0 The second (optional) tweak modifies all the window termcaps, and should contain defini\u2010<br \/>\ntions that screen understands (see the &#8220;VIRTUAL TERMINAL&#8221; section).<\/p>\n<p>Some examples:<\/p>\n<p>termcap xterm*\u00a0 LP:hs@<\/p>\n<p>Informs screen that all terminals that begin with `xterm&#8217; have firm auto-margins that allow the last position on the screen to be\u00a0 updated\u00a0 (LP),\u00a0 but\u00a0 they<br \/>\ndon&#8217;t\u00a0 really have a status line (no &#8216;hs&#8217; &#8211; append `@&#8217; to turn entries off).\u00a0 Note that we assume `LP&#8217; for all terminal names that start with &#8220;vt&#8221;, but only<br \/>\nif you don&#8217;t specify a termcap command for that terminal.<\/p>\n<p>termcap vt*\u00a0 LP<br \/>\ntermcap vt102|vt220\u00a0 Z0=\\E[?3h:Z1=\\E[?3l<\/p>\n<p>Specifies the firm-margined `LP&#8217; capability for all terminals that begin with `vt&#8217;, and the second line will also add the escape-sequences\u00a0 to\u00a0 switch\u00a0 into<br \/>\n(Z0)\u00a0 and\u00a0 back\u00a0 out of (Z1) 132-character-per-line mode if this is a VT102 or VT220.\u00a0 (You must specify Z0 and Z1 in your termcap to use the width-changing<br \/>\ncommands.)<\/p>\n<p>termcap vt100\u00a0 &#8220;&#8221;\u00a0 l0=PF1:l1=PF2:l2=PF3:l3=PF4<\/p>\n<p>This leaves your vt100 termcap alone and adds the function key labels to each window&#8217;s termcap entry.<\/p>\n<p>termcap h19|z19\u00a0\u00a0am@:im=\\E@:ei=\\EO\u00a0 dc=\\E[P<\/p>\n<p>Takes a h19 or z19 termcap and turns off auto-margins (am@) and enables the insert mode (im) and end-insert (ei) capabilities (the `@&#8217; in the `im&#8217; string is<br \/>\nafter\u00a0 the\u00a0 `=&#8217;,\u00a0 so\u00a0 it\u00a0 is\u00a0 part of the string).\u00a0 Having the `im&#8217; and `ei&#8217; definitions put into your terminal&#8217;s termcap will cause screen to automatically<br \/>\nadvertise the character-insert capability in each window&#8217;s termcap.\u00a0 Each window will also get the delete-character capability (dc) added\u00a0 to\u00a0 its\u00a0 termcap,<br \/>\nwhich screen will translate into a line-update for the terminal (we&#8217;re pretending it doesn&#8217;t support character deletion).<\/p>\n<p>If\u00a0 you would like to fully specify each window&#8217;s termcap entry, you should instead set the $SCREENCAP variable prior to running screen.\u00a0 See the discussion<br \/>\non the &#8220;VIRTUAL TERMINAL&#8221; in this manual, and the termcap(5) man page for more information on termcap definitions.<\/p>\n<p>time [string]<\/p>\n<p>Uses the message line to display the time of day, the host name, and the load averages over 1, 5, and 15 minutes (if this is available on your system).\u00a0 For<br \/>\nwindow specific information, use &#8220;info&#8221;.<\/p>\n<p>If\u00a0 a string is specified, it changes the format of the time report like it is described in the &#8220;STRING ESCAPES&#8221; chapter. Screen uses a default of &#8220;%c:%s %M<br \/>\n%d %H%? %l%?&#8221;.<\/p>\n<p>title [windowtitle]<\/p>\n<p>Set the name of the current window to windowtitle. If no name is specified, screen prompts for one. This command was known as `aka&#8217; in previous releases.<\/p>\n<p>unbindall<\/p>\n<p>Unbind all the bindings. This can be useful when screen is used solely for its detaching abilities, such as when letting a console application run as a dae\u2010<br \/>\nmon. If, for some reason, it is necessary to bind commands after this, use &#8216;screen -X&#8217;.<\/p>\n<p>unsetenv var<\/p>\n<p>Unset an environment variable.<\/p>\n<p>utf8 [on|off [on|off]]<\/p>\n<p>Change the encoding used in the current window. If utf8 is enabled, the strings sent to the window will be UTF-8 encoded and vice versa. Omitting the param\u2010<br \/>\neter toggles the setting. If a second parameter is given, the display&#8217;s encoding is also changed (this should rather be done\u00a0 with\u00a0 screen&#8217;s\u00a0 &#8220;-U&#8221;\u00a0 option).<br \/>\nSee also &#8220;defutf8&#8221;, which changes the default setting of a new window.<\/p>\n<p>vbell [on|off]<\/p>\n<p>Sets the visual bell setting for this window. Omitting the parameter toggles the setting. If vbell is switched on, but your terminal does not support a vis\u2010<br \/>\nual bell, a `vbell-message&#8217; is displayed in the status line when the bell character (^G) is received.\u00a0 Visual bell support of a terminal is defined\u00a0 by\u00a0 the<br \/>\ntermcap variable `vb&#8217; (terminfo: &#8216;flash&#8217;).<br \/>\nPer default, vbell is off, thus the audible bell is used.\u00a0 See also `bell_msg&#8217;.<\/p>\n<p>vbell_msg [message]<\/p>\n<p>Sets\u00a0 the\u00a0 visual\u00a0 bell\u00a0 message. message is printed to the status line if the window receives a bell character (^G), vbell is set to &#8220;on&#8221;, but the terminal<br \/>\ndoes not support a visual bell.\u00a0 The default message is &#8220;Wuff, Wuff!!&#8221;.\u00a0 Without a parameter, the current message is shown.<\/p>\n<p>vbellwait sec<\/p>\n<p>Define a delay in seconds after each display of screen&#8217;s visual bell message. The default is 1 second.<\/p>\n<p>verbose [on|off]<br \/>\nIf verbose is switched on, the command name is echoed, whenever a window is created (or resurrected from zombie state). Default is off.\u00a0 Without\u00a0 a\u00a0 parame\u2010<br \/>\nter, the current setting is shown.<\/p>\n<p>version<\/p>\n<p>Print the current version and the compile date in the status line.<\/p>\n<p>wall message<\/p>\n<p>Write a message to all displays. The message will appear in the terminal&#8217;s status line.<\/p>\n<p>width [-w|-d] [cols [lines]]<\/p>\n<p>Toggle\u00a0 the window width between 80 and 132 columns or set it to cols columns if an argument is specified.\u00a0 This requires a capable terminal and the termcap<br \/>\nentries &#8220;Z0&#8221; and &#8220;Z1&#8221;.\u00a0 See the &#8220;termcap&#8221; command for more information. You can also specify a new height if you want to change both values.\u00a0 The -w\u00a0 option<br \/>\ntells screen to leave the display size unchanged and just set the window size, -d vice versa.<\/p>\n<p>windowlist [-b] [-m] [-g]<br \/>\nwindowlist string [string]<br \/>\nwindowlist title [title]<\/p>\n<p>Display all windows in a table for visual window selection.\u00a0 If screen was in a window group, screen will back out of the group and then display the windows<br \/>\nin that group.\u00a0 If the -b option is given, screen will switch to the blank window before presenting the list, so that the current window is also selectable.<br \/>\nThe\u00a0 -m\u00a0 option changes the order of the windows, instead of sorting by window numbers screen uses its internal most-recently-used list.\u00a0 The -g option will<br \/>\nshow the windows inside any groups in that level and downwards.<\/p>\n<p>The following keys are used to navigate in &#8220;windowlist&#8221;:<br \/>\nk, C-p, or up Move up one line.<br \/>\nj, C-n, or down Move down one line.<br \/>\nC-g or escape Exit windowlist.<br \/>\nC-a or home Move to the first line.<br \/>\nC-e or end Move to the last line.<br \/>\nC-u or C-d Move one half page up or down.<br \/>\nC-b or C-f Move one full page up or down.<br \/>\n0..9 Using the number keys, move to the selected line.<br \/>\nmouseclick Move to the selected line. Available when &#8220;mousetrack&#8221; is set to &#8220;on&#8221;<br \/>\n\/ Search.<br \/>\nn Repeat search in the forward direction.<br \/>\nN Repeat search in the backward direction.<br \/>\nm Toggle MRU.<br \/>\ng Toggle group nesting.<br \/>\na All window view.<br \/>\nC-h or backspace Back out the group.<br \/>\n, Switch numbers with the previous window.<br \/>\n. Switch numbers with the next window.<br \/>\nK Kill that window.<br \/>\nspace or enter Select that window.<\/p>\n<p>The table format can be changed with the string and title option, the title is displayed as table heading, while the lines are made by using the string set\u2010<br \/>\nting.\u00a0 The\u00a0 default\u00a0 setting is &#8220;Num Name%=Flags&#8221; for the title and &#8220;%3n %t%=%f&#8221; for the lines.\u00a0 See the &#8220;STRING ESCAPES&#8221; chapter for more codes (e.g. color<br \/>\nsettings).<\/p>\n<p>&#8220;Windowlist&#8221; needs a region size of at least 10 characters wide and 6 characters high in order to display.<\/p>\n<p>windows<\/p>\n<p>Uses the message line to display a list of all the windows.\u00a0 Each window is listed by number with the name of process that has been started\u00a0 in\u00a0 the\u00a0 window<br \/>\n(or\u00a0 its\u00a0 title);\u00a0 the current window is marked with a `*&#8217;; the previous window is marked with a `-&#8216;; all the windows that are &#8220;logged in&#8221; are marked with a<br \/>\n`$&#8217;; a background window that has received a bell is marked with a `!&#8217;; a background window that is being monitored and has had\u00a0 activity\u00a0 occur\u00a0 is\u00a0 marked<br \/>\nwith\u00a0 an\u00a0 `@&#8217;;\u00a0 a window which has output logging turned on is marked with `(L)&#8217;; windows occupied by other users are marked with `&amp;&#8217;; windows in the zombie<br \/>\nstate are marked with `Z&#8217;.\u00a0 If this list is too long to fit on the terminal&#8217;s status line only the portion around the current window is displayed.<\/p>\n<p>wrap [on|off]<\/p>\n<p>Sets the line-wrap setting for the current window.\u00a0 When line-wrap is on, the second consecutive printable character output at the last\u00a0 column\u00a0 of\u00a0 a\u00a0 line<br \/>\nwill\u00a0 wrap to the start of the following line.\u00a0 As an added feature, backspace (^H) will also wrap through the left margin to the previous line.\u00a0 Default is<br \/>\n`on&#8217;. Without any options, the state of wrap is toggled.<\/p>\n<p>writebuf [-e encoding] [filename]<br \/>\nWrites the contents of the paste buffer to the specified file, or the public accessible screen-exchange file if no filename is given. This is thought of\u00a0 as<br \/>\na\u00a0 primitive\u00a0 means\u00a0 of communication between screen users on the same host. If an encoding is specified the paste buffer is recoded on the fly to match the<br \/>\nencoding.\u00a0 The filename can be set with the bufferfile command and defaults to &#8220;\/tmp\/screen-exchange&#8221;.<\/p>\n<p>writelock [on|off|auto]<\/p>\n<p>In addition to access control lists, not all users may be able to write to the same window at once. Per default, writelock is\u00a0 in\u00a0 `auto&#8217;\u00a0 mode\u00a0 and\u00a0 grants<br \/>\nexclusive\u00a0 input permission to the user who is the first to switch to the particular window. When he leaves the window, other users may obtain the writelock<br \/>\n(automatically). The writelock of the current window is disabled by the command &#8220;writelock off&#8221;. If the user issues the command &#8220;writelock on&#8221; he keeps\u00a0 the<br \/>\nexclusive write permission while switching to other windows.<\/p>\n<p>xoff<br \/>\nxon<\/p>\n<p>Insert a CTRL-s \/ CTRL-q character to the stdin queue of the current window.<\/p>\n<p>zmodem [off|auto|catch|pass]<br \/>\nzmodem sendcmd [string]<br \/>\nzmodem recvcmd [string]<\/p>\n<p>Define\u00a0 zmodem\u00a0 support\u00a0 for\u00a0 screen.\u00a0 Screen\u00a0 understands\u00a0 two different modes when it detects a zmodem request: &#8220;pass&#8221; and &#8220;catch&#8221;.\u00a0 If the mode is set to<br \/>\n&#8220;pass&#8221;, screen will relay all data to the attacher until the end of the transmission is reached.\u00a0 In &#8220;catch&#8221; mode screen\u00a0 acts\u00a0 as\u00a0 a\u00a0 zmodem\u00a0 endpoint\u00a0 and<br \/>\nstarts\u00a0 the\u00a0 corresponding\u00a0 rz\/sz\u00a0 commands. If the mode is set to &#8220;auto&#8221;, screen will use &#8220;catch&#8221; if the window is a tty (e.g. a serial line), otherwise it<br \/>\nwill use &#8220;pass&#8221;.<br \/>\nYou can define the templates screen uses in &#8220;catch&#8221; mode via the second and the third form.<br \/>\nNote also that this is an experimental feature.<\/p>\n<p>zombie [keys[onerror]]<br \/>\ndefzombie [keys]<\/p>\n<p>Per default screen windows are removed from the window list as soon as the windows process (e.g. shell) exits. When a string of two keys is specified to the<br \/>\nzombie command, `dead&#8217; windows will remain in the list.\u00a0 The kill command may be used to remove such a window. Pressing the first key in the dead window has<br \/>\nthe same effect. When pressing the second key, screen will attempt to resurrect the window. The process that was initially running in\u00a0 the\u00a0 window\u00a0 will\u00a0 be<br \/>\nlaunched again. Calling zombie without parameters will clear the zombie setting, thus making windows disappear when their process exits.<\/p>\n<p>As the zombie-setting is manipulated globally for all windows, this command should only be called defzombie. Until we need this as a per window setting, the<br \/>\ncommands zombie and defzombie are synonymous.<\/p>\n<p>Optionally you can put the word &#8220;onerror&#8221; after the keys. This will cause screen to monitor exit status of the process running in the window.\u00a0 If\u00a0 it\u00a0 exits<br \/>\nnormally (&#8216;0&#8217;), the window disappears. Any other exit value causes the window to become a zombie.<\/p>\n<p>THE MESSAGE LINE<br \/>\nScreen\u00a0 displays\u00a0 informational\u00a0 messages and other diagnostics in a message line.\u00a0 While this line is distributed to appear at the bottom of the screen, it<br \/>\ncan be defined to appear at the top of the screen during compilation.\u00a0 If your terminal has a status line defined in its termcap, screen will use\u00a0 this\u00a0 for<br \/>\ndisplaying its messages, otherwise a line of the current screen will be temporarily overwritten and output will be momentarily interrupted. The message line<br \/>\nis automatically removed after a few seconds delay, but it can also be removed early (on terminals without a status line) by beginning to type.<\/p>\n<p>The message line facility can be used by an application running in the current window by means of the ANSI Privacy message control sequence.\u00a0 For\u00a0 instance,<br \/>\nfrom within the shell, try something like:<\/p>\n<p>echo &#8216;&lt;esc&gt;^Hello world from window &#8216;$WINDOW'&lt;esc&gt;\\\\&#8217;<\/p>\n<p>where &#8216;&lt;esc&gt;&#8217; is an escape, &#8216;^&#8217; is a literal up-arrow, and &#8216;\\\\&#8217; turns into a single backslash.<\/p>\n<p>WINDOW TYPES<br \/>\nScreen\u00a0 provides\u00a0 three\u00a0 different\u00a0 window\u00a0 types. New windows are created with screen&#8217;s screen command (see also the entry in chapter &#8220;CUSTOMIZATION&#8221;). The<br \/>\nfirst parameter to the screen command defines which type of window is created. The different window types are all special cases of\u00a0 the\u00a0 normal\u00a0 type.\u00a0 They<br \/>\nhave been added in order to allow screen to be used efficiently as a console multiplexer with 100 or more windows.<\/p>\n<p>\u00b7\u00a0 The\u00a0 normal\u00a0 window\u00a0 contains\u00a0 a shell (default, if no parameter is given) or any other system command that could be executed from a shell (e.g.\u00a0 slogin,<br \/>\netc\u2026)<\/p>\n<p>\u00b7\u00a0 If a tty (character special device) name (e.g. &#8220;\/dev\/ttya&#8221;) is specified as the first parameter, then the window is directly connected\u00a0 to\u00a0 this\u00a0 device.<br \/>\nThis\u00a0 window\u00a0 type\u00a0 is\u00a0 similar to &#8220;screen cu -l \/dev\/ttya&#8221;.\u00a0 Read and write access is required on the device node, an exclusive open is attempted on the<br \/>\nnode to mark the connection line as busy.\u00a0 An optional parameter is allowed consisting of a comma separated\u00a0 list\u00a0 of\u00a0 flags\u00a0 in\u00a0 the\u00a0 notation\u00a0 used\u00a0 by<br \/>\nstty(1):<br \/>\n&lt;baud_rate&gt;<br \/>\nUsually 300, 1200, 9600 or 19200. This affects transmission as well as receive speed.<\/p>\n<p>cs8 or cs7<br \/>\nSpecify the transmission of eight (or seven) bits per byte.<\/p>\n<p>ixon or -ixon<br \/>\nEnables (or disables) software flow-control (CTRL-S\/CTRL-Q) for sending data.<\/p>\n<p>ixoff or -ixoff<br \/>\nEnables (or disables) software flow-control for receiving data.<\/p>\n<p>istrip or -istrip<br \/>\nClear (or keep) the eight bit in each received byte.<\/p>\n<p>You may want to specify as many of these options as applicable. Unspecified options cause the terminal driver to make up the parameter values of the con\u2010<br \/>\nnection.\u00a0 These values are system dependent and may be in defaults or values saved from a previous connection.<\/p>\n<p>For tty windows, the info command shows some of the modem control lines in the status line. These may include `RTS&#8217;, `CTS&#8217;, &#8216;DTR&#8217;, `DSR&#8217;, `CD&#8217; and\u00a0 more.<br \/>\nThis\u00a0 depends on the available ioctl()&#8217;s and system header files as well as the on the physical capabilities of the serial board.\u00a0 Signals that are logi\u2010<br \/>\ncal low (inactive) have their name preceded by an exclamation mark (!), otherwise the signal is logical high (active).\u00a0\u00a0 Signals\u00a0 not\u00a0 supported\u00a0 by\u00a0 the<br \/>\nhardware but available to the ioctl() interface are usually shown low.<\/p>\n<p>When\u00a0 the CLOCAL status bit is true, the whole set of modem signals is placed inside curly braces ({ and }).\u00a0 When the CRTSCTS or TIOCSOFTCAR bit is set,<br \/>\nthe signals `CTS&#8217; or `CD&#8217; are shown in parenthesis, respectively.<\/p>\n<p>For tty windows, the command break causes the Data transmission line (TxD) to go low for a specified period of time. This is expected to\u00a0 be\u00a0 interpreted<br \/>\nas break signal on the other side.\u00a0 No data is sent and no modem control line is changed when a break is issued.<\/p>\n<p>\u00b7\u00a0 If\u00a0 the\u00a0 first parameter is &#8220;\/\/telnet&#8221;, the second parameter is expected to be a host name, and an optional third parameter may specify a TCP port number<br \/>\n(default decimal 23).\u00a0 Screen will connect to a server listening on the remote host and use the telnet protocol to communicate with that server.<br \/>\nFor telnet windows, the command info shows details about the connection in square brackets ([ and ]) at the end of the status line.<\/p>\n<p>b\u00a0\u00a0\u00a0\u00a0\u00a0 BINARY. The connection is in binary mode.<\/p>\n<p>e\u00a0\u00a0\u00a0\u00a0\u00a0 ECHO. Local echo is disabled.<\/p>\n<p>c\u00a0\u00a0\u00a0\u00a0\u00a0 SGA. The connection is in `character mode&#8217; (default: `line mode&#8217;).<\/p>\n<p>t\u00a0\u00a0\u00a0\u00a0\u00a0 TTYPE. The terminal type has been requested by the remote host.\u00a0 Screen sends the name &#8220;screen&#8221; unless instructed otherwise (see also the\u00a0 command<br \/>\n`term&#8217;).<\/p>\n<p>w\u00a0\u00a0\u00a0\u00a0\u00a0 NAWS. The remote site is notified about window size changes.<\/p>\n<p>f\u00a0\u00a0\u00a0\u00a0\u00a0 LFLOW. The remote host will send flow control information.\u00a0 (Ignored at the moment.)<\/p>\n<p>Additional flags for debugging are x, t and n (XDISPLOC, TSPEED and NEWENV).<\/p>\n<p>For telnet windows, the command break sends the telnet code IAC BREAK (decimal 243) to the remote host.<\/p>\n<p>This window type is only available if screen was compiled with the BUILTIN_TELNET option defined.<\/p>\n<p>STRING ESCAPES<br \/>\nScreen provides an escape mechanism to insert information like the current time into messages or file names. The escape character is &#8216;%&#8217; with one exception:<br \/>\ninside of a window&#8217;s hardstatus &#8216;^%&#8217; (&#8216;^E&#8217;) is used instead.<\/p>\n<p>Here is the full list of supported escapes:<\/p>\n<p>%\u00a0\u00a0\u00a0\u00a0\u00a0 the escape character itself<\/p>\n<p>a\u00a0\u00a0\u00a0\u00a0\u00a0 either &#8216;am&#8217; or &#8216;pm&#8217;<\/p>\n<p>A\u00a0\u00a0\u00a0\u00a0\u00a0 either &#8216;AM&#8217; or &#8216;PM&#8217;<\/p>\n<p>c\u00a0\u00a0\u00a0\u00a0\u00a0 current time HH:MM in 24h format<\/p>\n<p>C\u00a0\u00a0\u00a0\u00a0\u00a0 current time HH:MM in 12h format<\/p>\n<p>d\u00a0\u00a0\u00a0\u00a0\u00a0 day number<\/p>\n<p>D\u00a0\u00a0\u00a0\u00a0\u00a0 weekday name<\/p>\n<p>E\u00a0\u00a0\u00a0\u00a0\u00a0 sets %? to true if the escape character has been pressed.<\/p>\n<p>f\u00a0\u00a0\u00a0\u00a0\u00a0 flags of the window, see &#8220;windows&#8221; for meanings of the various flags<\/p>\n<p>F\u00a0\u00a0\u00a0\u00a0\u00a0 sets %? to true if the window has the focus<\/p>\n<p>h\u00a0\u00a0\u00a0\u00a0\u00a0 hardstatus of the window<\/p>\n<p>H\u00a0\u00a0\u00a0\u00a0\u00a0 hostname of the system<\/p>\n<p>l\u00a0\u00a0\u00a0\u00a0\u00a0 current load of the system<\/p>\n<p>m\u00a0\u00a0\u00a0\u00a0\u00a0 month number<\/p>\n<p>M\u00a0\u00a0\u00a0\u00a0\u00a0 month name<\/p>\n<p>n\u00a0\u00a0\u00a0\u00a0\u00a0 window number<\/p>\n<p>P\u00a0\u00a0\u00a0\u00a0\u00a0 sets %? to true if the current region is in copy\/paste mode<\/p>\n<p>S\u00a0\u00a0\u00a0\u00a0\u00a0 session name<\/p>\n<p>s\u00a0\u00a0\u00a0\u00a0\u00a0 seconds<\/p>\n<p>t\u00a0\u00a0\u00a0\u00a0\u00a0 window title<\/p>\n<p>u\u00a0\u00a0\u00a0\u00a0\u00a0 all other users on this window<\/p>\n<p>w\u00a0\u00a0\u00a0\u00a0\u00a0 all window numbers and names. With &#8216;-&#8216; qualifier: up to the current window; with &#8216;+&#8217; qualifier: starting with the window after the current one.<\/p>\n<p>W\u00a0\u00a0\u00a0\u00a0\u00a0 all window numbers and names except the current one<\/p>\n<p>y\u00a0\u00a0\u00a0\u00a0\u00a0 last two digits of the year number<\/p>\n<p>Y\u00a0\u00a0\u00a0\u00a0\u00a0 full year number<\/p>\n<p>?\u00a0\u00a0\u00a0\u00a0\u00a0 the part to the next &#8216;%?&#8217; is displayed only if a &#8216;%&#8217; escape inside the part expands to a non-empty string<\/p>\n<p>:\u00a0\u00a0\u00a0\u00a0\u00a0 else part of &#8216;%?&#8217;<\/p>\n<p>=\u00a0\u00a0\u00a0\u00a0\u00a0 pad the string to the display&#8217;s width (like TeX&#8217;s hfill). If a number is specified, pad to the percentage of the window&#8217;s\u00a0 width.\u00a0\u00a0 A\u00a0 &#8216;0&#8217;\u00a0 qualifier<br \/>\ntells\u00a0 screen\u00a0 to treat the number as absolute position.\u00a0 You can specify to pad relative to the last absolute pad position by adding a &#8216;+&#8217; qualifier<br \/>\nor to pad relative to the right margin by using &#8216;-&#8216;. The padding truncates the string if the specified position lies before the current position. Add<br \/>\nthe &#8216;L&#8217; qualifier to change this.<\/p>\n<p>&lt;\u00a0\u00a0\u00a0\u00a0\u00a0 same as &#8216;%=&#8217; but just do truncation, do not fill with spaces<\/p>\n<p>&gt;\u00a0\u00a0\u00a0\u00a0\u00a0 mark\u00a0 the current text position for the next truncation. When screen needs to do truncation, it tries to do it in a way that the marked position gets<br \/>\nmoved to the specified percentage of the output area. (The area starts from the last absolute pad position and ends with the\u00a0 position\u00a0 specified\u00a0 by<br \/>\nthe truncation operator.) The &#8216;L&#8217; qualifier tells screen to mark the truncated parts with &#8216;\u2026&#8217;.<\/p>\n<p>{\u00a0\u00a0\u00a0\u00a0\u00a0 attribute\/color modifier string terminated by the next &#8220;}&#8221;<\/p>\n<p>`\u00a0\u00a0\u00a0\u00a0\u00a0 Substitute with the output of a &#8216;backtick&#8217; command. The length qualifier is misused to identify one of the commands.<\/p>\n<p>The\u00a0 &#8216;c&#8217;\u00a0 and &#8216;C&#8217; escape may be qualified with a &#8216;0&#8217; to make screen use zero instead of space as fill character. The &#8216;0&#8217; qualifier also makes the &#8216;=&#8217; escape<br \/>\nuse absolute positions. The &#8216;n&#8217; and &#8216;=&#8217; escapes understand a length qualifier (e.g. &#8216;%3n&#8217;), &#8216;D&#8217; and &#8216;M&#8217; can be prefixed with &#8216;L&#8217; to generate long names, &#8216;w&#8217;<br \/>\nand &#8216;W&#8217; also show the window flags if &#8216;L&#8217; is given.<\/p>\n<p>An\u00a0 attribute\/color\u00a0 modifier\u00a0 is\u00a0 is\u00a0 used\u00a0 to\u00a0 change\u00a0 the attributes or the color settings. Its format is &#8220;[attribute modifier] [color description]&#8221;. The<br \/>\nattribute modifier must be prefixed by a change type indicator if it can be confused with a color description. The following change types are known:<\/p>\n<p>+\u00a0\u00a0\u00a0\u00a0\u00a0 add the specified set to the current attributes<\/p>\n<p>&#8211;\u00a0\u00a0\u00a0\u00a0\u00a0 remove the set from the current attributes<\/p>\n<p>!\u00a0\u00a0\u00a0\u00a0\u00a0 invert the set in the current attributes<\/p>\n<p>=\u00a0\u00a0\u00a0\u00a0\u00a0 change the current attributes to the specified set<\/p>\n<p>The attribute set can either be specified as a hexadecimal number or a combination of the following letters:<\/p>\n<p>d\u00a0\u00a0\u00a0\u00a0\u00a0 dim<br \/>\nu\u00a0\u00a0\u00a0\u00a0\u00a0 underline<br \/>\nb\u00a0\u00a0\u00a0\u00a0\u00a0 bold<br \/>\nr\u00a0\u00a0\u00a0\u00a0\u00a0 reverse<br \/>\ns\u00a0\u00a0\u00a0\u00a0\u00a0 standout<br \/>\nB\u00a0\u00a0\u00a0\u00a0\u00a0 blinking<\/p>\n<p>Colors are coded either as a hexadecimal number or two letters specifying the desired background and foreground color (in that order). The following\u00a0 colors<br \/>\nare known:<\/p>\n<p>k\u00a0\u00a0\u00a0\u00a0\u00a0 black<br \/>\nr\u00a0\u00a0\u00a0\u00a0\u00a0 red<br \/>\ng\u00a0\u00a0\u00a0\u00a0\u00a0 green<br \/>\ny\u00a0\u00a0\u00a0\u00a0\u00a0 yellow<br \/>\nb\u00a0\u00a0\u00a0\u00a0\u00a0 blue<br \/>\nm\u00a0\u00a0\u00a0\u00a0\u00a0 magenta<br \/>\nc\u00a0\u00a0\u00a0\u00a0\u00a0 cyan<br \/>\nw\u00a0\u00a0\u00a0\u00a0\u00a0 white<br \/>\nd\u00a0\u00a0\u00a0\u00a0\u00a0 default color<br \/>\n.\u00a0\u00a0\u00a0\u00a0\u00a0 leave color unchanged<\/p>\n<p>The\u00a0 capitalized\u00a0 versions\u00a0 of\u00a0 the\u00a0 letter\u00a0 specify\u00a0 bright\u00a0 colors.\u00a0 You\u00a0 can also use the pseudo-color &#8216;i&#8217; to set just the brightness and leave the color<br \/>\nunchanged.<br \/>\nA one digit\/letter color description is treated as foreground or background color dependent on the current attributes: if reverse mode\u00a0 is\u00a0 set,\u00a0 the\u00a0 back\u2010<br \/>\nground\u00a0 color is changed instead of the foreground color.\u00a0 If you don&#8217;t like this, prefix the color with a &#8220;.&#8221;. If you want the same behavior for two-letter<br \/>\ncolor descriptions, also prefix them with a &#8220;.&#8221;.<br \/>\nAs a special case, &#8220;%{-}&#8221; restores the attributes and colors that were set before the last change was made (i.e., pops one level of the color-change stack).<\/p>\n<p>Examples:<\/p>\n<p>&#8220;G&#8221;\u00a0\u00a0\u00a0 set color to bright green<\/p>\n<p>&#8220;+b r&#8221; use bold red<\/p>\n<p>&#8220;= yd&#8221; clear all attributes, write in default color on yellow background.<\/p>\n<p>%-Lw%{= BW}%50&gt;%n%f* %t%{-}%+Lw%&lt;<br \/>\nThe available windows centered at the current window and truncated to the available width. The current window is displayed white on blue.\u00a0\u00a0 This\u00a0 can<br \/>\nbe used with &#8220;hardstatus alwayslastline&#8221;.<\/p>\n<p>%?%F%{.R.}%?%3n %t%? [%h]%?<br \/>\nThe\u00a0 window\u00a0 number and title and the window&#8217;s hardstatus, if one is set.\u00a0 Also use a red background if this is the active focus. Useful for &#8220;caption<br \/>\nstring&#8221;.<br \/>\nFLOW-CONTROL<br \/>\nEach window has a flow-control setting that determines how screen deals with the XON and XOFF characters (and perhaps the interrupt character).\u00a0 When\u00a0 flow-<br \/>\ncontrol\u00a0 is\u00a0 turned off, screen ignores the XON and XOFF characters, which allows the user to send them to the current program by simply typing them (useful<br \/>\nfor the emacs editor, for instance).\u00a0 The trade-off is that it will take longer for output from a &#8220;normal&#8221; program to pause in response to\u00a0 an\u00a0 XOFF.\u00a0\u00a0 With<br \/>\nflow-control\u00a0 turned on, XON and XOFF characters are used to immediately pause the output of the current window.\u00a0 You can still send these characters to the<br \/>\ncurrent program, but you must use the appropriate two-character screen commands (typically &#8220;C-a q&#8221; (xon) and &#8220;C-a s&#8221; (xoff)).\u00a0\u00a0 The\u00a0 xon\/xoff\u00a0 commands\u00a0 are<br \/>\nalso useful for typing C-s and C-q past a terminal that intercepts these characters.<\/p>\n<p>Each window has an initial flow-control value set with either the -f option or the &#8220;defflow&#8221; .screenrc command. Per default the windows are set to automatic<br \/>\nflow-switching.\u00a0 It can then be toggled between the three states &#8216;fixed on&#8217;, &#8216;fixed off&#8217; and &#8216;automatic&#8217; interactively with the &#8220;flow&#8221; command bound to &#8220;C-a<br \/>\nf&#8221;.<\/p>\n<p>The\u00a0 automatic\u00a0 flow-switching\u00a0 mode deals with flow control using the TIOCPKT mode (like &#8220;rlogin&#8221; does). If the tty driver does not support TIOCPKT, screen<br \/>\ntries to find out the right mode based on the current setting of the application keypad &#8211; when it is enabled, flow-control is turned off and visa versa.\u00a0 Of<br \/>\ncourse, you can still manipulate flow-control manually when needed.<\/p>\n<p>If\u00a0 you&#8217;re\u00a0 running\u00a0 with flow-control enabled and find that pressing the interrupt key (usually C-c) does not interrupt the display until another 6-8 lines<br \/>\nhave scrolled by, try running screen with the &#8220;interrupt&#8221; option (add the &#8220;interrupt&#8221; flag to the &#8220;flow&#8221; command in your .screenrc, or use the\u00a0 -i\u00a0 command-<br \/>\nline\u00a0 option).\u00a0\u00a0 This causes the output that screen has accumulated from the interrupted program to be flushed.\u00a0 One disadvantage is that the virtual termi\u2010<br \/>\nnal&#8217;s memory contains the non-flushed version of the output, which in rare cases can cause minor inaccuracies in the output.\u00a0 For\u00a0 example,\u00a0 if\u00a0 you\u00a0 switch<br \/>\nscreens and return, or update the screen with &#8220;C-a l&#8221; you would see the version of the output you would have gotten without &#8220;interrupt&#8221; being on.\u00a0 Also, you<br \/>\nmight need to turn off flow-control (or use auto-flow mode to turn it off automatically) when running a program that expects you to type the interrupt char\u2010<br \/>\nacter\u00a0 as input, as it is possible to interrupt the output of the virtual terminal to your physical terminal when flow-control is enabled.\u00a0 If this happens,<br \/>\na simple refresh of the screen with &#8220;C-a l&#8221; will restore it.\u00a0 Give each mode a try, and use whichever mode you find more comfortable.<\/p>\n<p>TITLES (naming windows)<br \/>\nYou can customize each window&#8217;s name in the window display (viewed with the &#8220;windows&#8221; command (C-a w)) by setting it with one of the title\u00a0 commands.\u00a0\u00a0 Nor\u2010<br \/>\nmally\u00a0 the\u00a0 name displayed is the actual command name of the program created in the window.\u00a0 However, it is sometimes useful to distinguish various programs<br \/>\nof the same name or to change the name on-the-fly to reflect the current state of the window.<\/p>\n<p>The default name for all shell windows can be set with the &#8220;shelltitle&#8221; command in the .screenrc file, while all other windows are created with\u00a0 a\u00a0 &#8220;screen&#8221;<br \/>\ncommand\u00a0 and\u00a0 thus\u00a0 can have their name set with the -t option.\u00a0 Interactively, there is the title-string escape-sequence (&lt;esc&gt;kname&lt;esc&gt;\\) and the &#8220;title&#8221;<br \/>\ncommand (C-a A).\u00a0 The former can be output from an application to control the window&#8217;s name under software control, and the latter will prompt\u00a0 for\u00a0 a\u00a0 name<br \/>\nwhen typed.\u00a0 You can also bind pre-defined names to keys with the &#8220;title&#8221; command to set things quickly without prompting.<\/p>\n<p>Finally,\u00a0 screen\u00a0 has\u00a0 a\u00a0 shell-specific\u00a0 heuristic that is enabled by setting the window&#8217;s name to &#8220;search|name&#8221; and arranging to have a null title escape-<br \/>\nsequence output as a part of your prompt.\u00a0 The search portion specifies an end-of-prompt search string, while the name portion specifies the\u00a0 default\u00a0 shell<br \/>\nname\u00a0 for the window.\u00a0 If the name ends in a `:&#8217; screen will add what it believes to be the current command running in the window to the end of the window&#8217;s<br \/>\nshell name (e.g. &#8220;name:cmd&#8221;).\u00a0 Otherwise the current command name supersedes the shell name while it is running.<\/p>\n<p>Here&#8217;s how it works:\u00a0 you must modify your shell prompt to output a null title-escape-sequence (&lt;esc&gt;k&lt;esc&gt;\\) as a part of your prompt.\u00a0 The\u00a0 last\u00a0 part\u00a0 of<br \/>\nyour\u00a0 prompt\u00a0 must\u00a0 be\u00a0 the\u00a0 same\u00a0 as\u00a0 the string you specified for the search portion of the title.\u00a0 Once this is set up, screen will use the title-escape-<br \/>\nsequence to clear the previous command name and get ready for the next command.\u00a0 Then, when a newline is received from the shell, a search is made\u00a0 for\u00a0 the<br \/>\nend\u00a0 of\u00a0 the prompt.\u00a0 If found, it will grab the first word after the matched string and use it as the command name.\u00a0 If the command name begins with either<br \/>\n&#8216;!&#8217;, &#8216;%&#8217;, or &#8216;^&#8217; screen will use the first word on the following line (if found) in preference to the just-found name.\u00a0 This helps csh users get better com\u2010<br \/>\nmand names when using job control or history recall commands.<\/p>\n<p>Here&#8217;s some .screenrc examples:<\/p>\n<p>screen -t top 2 nice top<\/p>\n<p>Adding this line to your .screenrc would start a nice-d version of the &#8220;top&#8221; command in window 2 named &#8220;top&#8221; rather than &#8220;nice&#8221;.<\/p>\n<p>shelltitle &#8216;&gt; |csh&#8217;<br \/>\nscreen 1<\/p>\n<p>These\u00a0 commands\u00a0 would\u00a0 start a shell with the given shelltitle.\u00a0 The title specified is an auto-title that would expect the prompt and the typed command to<br \/>\nlook something like the following:<\/p>\n<p>\/usr\/joe\/src\/dir&gt; trn<\/p>\n<p>(it looks after the &#8216;&gt; &#8216; for the command name).\u00a0 The window status would show the name &#8220;trn&#8221; while the command was running, and revert to &#8220;csh&#8221; upon comple\u2010<br \/>\ntion.<\/p>\n<p>bind R screen -t &#8216;% |root:&#8217; su<\/p>\n<p>Having\u00a0 this\u00a0 command\u00a0 in\u00a0 your .screenrc would bind the key sequence &#8220;C-a R&#8221; to the &#8220;su&#8221; command and give it an auto-title name of &#8220;root:&#8221;.\u00a0 For this auto-<br \/>\ntitle to work, the screen could look something like this:<br \/>\n% !em<br \/>\nemacs file.c<\/p>\n<p>Here the user typed the csh history command &#8220;!em&#8221; which ran the previously entered &#8220;emacs&#8221; command.\u00a0 The window status would show\u00a0 &#8220;root:emacs&#8221;\u00a0 during\u00a0 the<br \/>\nexecution of the command, and revert to simply &#8220;root:&#8221; at its completion.<\/p>\n<p>bind o title<br \/>\nbind E title &#8220;&#8221;<br \/>\nbind u title (unknown)<\/p>\n<p>The\u00a0 first\u00a0 binding\u00a0 doesn&#8217;t\u00a0 have any arguments, so it would prompt you for a title. when you type &#8220;C-a o&#8221;.\u00a0 The second binding would clear an auto-title&#8217;s<br \/>\ncurrent setting (C-a E).\u00a0 The third binding would set the current window&#8217;s title to &#8220;(unknown)&#8221; (C-a u).<\/p>\n<p>One thing to keep in mind when adding a null title-escape-sequence to your prompt is that some shells (like the csh) count all the non-control characters as<br \/>\npart of the prompt&#8217;s length.\u00a0 If these invisible characters aren&#8217;t a multiple of 8 then backspacing over a tab will result in an incorrect display.\u00a0 One way<br \/>\nto get around this is to use a prompt like this:<\/p>\n<p>set prompt=&#8217;^[[0000m^[k^[\\% &#8216;<\/p>\n<p>The escape-sequence &#8220;&lt;esc&gt;[0000m&#8221; not only normalizes the character attributes, but all the zeros round the length of the\u00a0 invisible\u00a0 characters\u00a0 up\u00a0 to\u00a0 8.<br \/>\nBash users will probably want to echo the escape sequence in the PROMPT_COMMAND:<\/p>\n<p>PROMPT_COMMAND=&#8217;printf &#8220;\\033k\\033\\134&#8243;&#8216;<\/p>\n<p>(I used &#8220;134&#8221; to output a `\\&#8217; because of a bug in bash v1.04).<\/p>\n<p>THE VIRTUAL TERMINAL<br \/>\nEach window in a screen session emulates a VT100 terminal, with some extra functions added. The VT100 emulator is hard-coded, no other terminal types can be<br \/>\nemulated.<br \/>\nUsually screen tries to emulate as much of the VT100\/ANSI standard as possible. But if your terminal lacks certain capabilities, the emulation\u00a0 may\u00a0 not\u00a0 be<br \/>\ncomplete.\u00a0 In\u00a0 these\u00a0 cases screen has to tell the applications that some of the features are missing. This is no problem on machines using termcap, because<br \/>\nscreen can use the $TERMCAP variable to customize the standard screen termcap.<\/p>\n<p>But if you do a rlogin on another machine or your machine supports only terminfo this method fails. Because of this, screen offers a way to deal with\u00a0 these<br \/>\ncases.\u00a0 Here is how it works:<\/p>\n<p>When\u00a0 screen\u00a0 tries\u00a0 to figure out a terminal name for itself, it first looks for an entry named &#8220;screen.&lt;term&gt;&#8221;, where &lt;term&gt; is the contents of your $TERM<br \/>\nvariable.\u00a0 If no such entry exists, screen tries &#8220;screen&#8221; (or &#8220;screen-w&#8221; if the terminal is wide (132 cols or more)).\u00a0 If even this entry cannot\u00a0 be\u00a0 found,<br \/>\n&#8220;vt100&#8221; is used as a substitute.<\/p>\n<p>The\u00a0 idea\u00a0 is that if you have a terminal which doesn&#8217;t support an important feature (e.g. delete char or clear to EOS) you can build a new termcap\/terminfo<br \/>\nentry for screen (named &#8220;screen.&lt;dumbterm&gt;&#8221;) in which this capability has been disabled. If this entry is installed on your machines you are able\u00a0 to\u00a0 do\u00a0 a<br \/>\nrlogin and still keep the correct termcap\/terminfo entry.\u00a0 The terminal name is put in the $TERM variable of all new windows.\u00a0 Screen also sets the $TERMCAP<br \/>\nvariable reflecting the capabilities of the virtual terminal emulated. Notice that, however, on machines using the terminfo database this\u00a0 variable\u00a0 has\u00a0 no<br \/>\neffect.\u00a0 Furthermore, the variable $WINDOW is set to the window number of each window.<\/p>\n<p>The\u00a0 actual\u00a0 set\u00a0 of\u00a0 capabilities\u00a0 supported by the virtual terminal depends on the capabilities supported by the physical terminal.\u00a0 If, for instance, the<br \/>\nphysical terminal does not support underscore mode, screen does not put the `us&#8217; and `ue&#8217; capabilities into the\u00a0 window&#8217;s\u00a0 $TERMCAP\u00a0 variable,\u00a0 accordingly.<br \/>\nHowever, a minimum number of capabilities must be supported by a terminal in order to run screen; namely scrolling, clear screen, and direct cursor address\u2010<br \/>\ning (in addition, screen does not run on hardcopy terminals or on terminals that over-strike).<\/p>\n<p>Also, you can customize the $TERMCAP value used by screen by using the &#8220;termcap&#8221; .screenrc command, or by defining the variable $SCREENCAP prior to startup.<br \/>\nWhen\u00a0 the\u00a0 is latter defined, its value will be copied verbatim into each window&#8217;s $TERMCAP variable.\u00a0 This can either be the full terminal definition, or a<br \/>\nfilename where the terminal &#8220;screen&#8221; (and\/or &#8220;screen-w&#8221;) is defined.<\/p>\n<p>Note that screen honors the &#8220;terminfo&#8221; .screenrc command if the system uses the terminfo database rather than termcap.<\/p>\n<p>When the boolean `G0&#8242; capability is present in the termcap entry for the terminal on which screen has been called, the terminal emulation of screen supports<br \/>\nmultiple character sets.\u00a0 This allows an application to make use of, for instance, the VT100 graphics character set or national character sets.\u00a0 The follow\u2010<br \/>\ning control functions from ISO 2022 are supported: lock shift G0 (SI), lock shift G1 (SO), lock shift G2, lock shift G3, single shift G2, and\u00a0 single\u00a0 shift<br \/>\nG3.\u00a0 When a virtual terminal is created or reset, the ASCII character set is designated as G0 through G3.\u00a0 When the `G0&#8242; capability is present, screen eval\u2010<br \/>\nuates the capabilities `S0&#8242;, `E0&#8242;, and `C0&#8242; if present. `S0&#8242; is the sequence the terminal uses to enable and start the graphics character\u00a0 set\u00a0 rather\u00a0 than<br \/>\nSI.\u00a0\u00a0 `E0&#8242;\u00a0 is\u00a0 the\u00a0 corresponding\u00a0 replacement\u00a0 for SO. `C0&#8242; gives a character by character translation string that is used during semi-graphics mode. This<br \/>\nstring is built like the `acsc&#8217; terminfo capability.<\/p>\n<p>When the `po&#8217; and `pf&#8217; capabilities are present in the terminal&#8217;s termcap entry, applications running in a screen window can send output to the printer port<br \/>\nof the terminal.\u00a0 This allows a user to have an application in one window sending output to a printer connected to the terminal, while all other windows are<br \/>\nstill active (the printer port is enabled and disabled again for each chunk of output).\u00a0 As a side-effect, programs running in different\u00a0 windows\u00a0 can\u00a0 send<br \/>\noutput\u00a0 to the printer simultaneously.\u00a0 Data sent to the printer is not displayed in the window.\u00a0 The info command displays a line starting `PRIN&#8217; while the<br \/>\nprinter is active.<br \/>\nScreen maintains a hardstatus line for every window. If a window gets selected, the display&#8217;s hardstatus will be updated to match\u00a0 the\u00a0 window&#8217;s\u00a0 hardstatus<br \/>\nline.\u00a0 If\u00a0 the display has no hardstatus the line will be displayed as a standard screen message.\u00a0 The hardstatus line can be changed with the ANSI Applica\u2010<br \/>\ntion Program Command (APC): &#8220;ESC_&lt;string&gt;ESC\\&#8221;. As a convenience for xterm users the sequence &#8220;ESC]0..2;&lt;string&gt;^G&#8221; is also accepted.<\/p>\n<p>Some capabilities are only put into the $TERMCAP variable of the virtual terminal if they can be efficiently implemented\u00a0 by\u00a0 the\u00a0 physical\u00a0 terminal.\u00a0\u00a0 For<br \/>\ninstance,\u00a0 `dl&#8217; (delete line) is only put into the $TERMCAP variable if the terminal supports either delete line itself or scrolling regions. Note that this<br \/>\nmay provoke confusion, when the session is reattached on a different terminal, as the value of $TERMCAP cannot be modified by parent processes.<\/p>\n<p>The &#8220;alternate screen&#8221; capability is not enabled by default.\u00a0 Set the altscreen .screenrc command to enable it.<\/p>\n<p>The following is a list of control sequences recognized by screen.\u00a0 &#8220;(V)&#8221; and &#8220;(A)&#8221; indicate VT100-specific and ANSI-\u00a0 or\u00a0 ISO-specific\u00a0 functions,\u00a0 respec\u2010<br \/>\ntively.<\/p>\n<p>ESC E\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Next Line<\/p>\n<p>ESC D\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Index<\/p>\n<p>ESC M\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Reverse Index<\/p>\n<p>ESC H\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Horizontal Tab Set<\/p>\n<p>ESC Z\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Send VT100 Identification String<\/p>\n<p>ESC 7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (V)\u00a0 Save Cursor and Attributes<\/p>\n<p>ESC 8\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (V)\u00a0 Restore Cursor and Attributes<\/p>\n<p>ESC [s\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Save Cursor and Attributes<\/p>\n<p>ESC [u\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Restore Cursor and Attributes<\/p>\n<p>ESC c\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Reset to Initial State<\/p>\n<p>ESC g\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Visual Bell<\/p>\n<p>ESC Pn p\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Cursor Visibility (97801)<\/p>\n<p>Pn = 6\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Invisible<\/p>\n<p>7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Visible<\/p>\n<p>ESC =\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (V)\u00a0 Application Keypad Mode<\/p>\n<p>ESC &gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (V)\u00a0 Numeric Keypad Mode<\/p>\n<p>ESC # 8\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (V)\u00a0 Fill Screen with E&#8217;s<\/p>\n<p>ESC \\\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 String Terminator<\/p>\n<p>ESC ^\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Privacy Message String (Message Line)<\/p>\n<p>ESC !\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Global Message String (Message Line)<\/p>\n<p>ESC k\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 A.k.a. Definition String<\/p>\n<p>ESC P\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Device Control String.\u00a0 Outputs a string directly to the host terminal without interpretation.<\/p>\n<p>ESC _\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Application Program Command (Hardstatus)<\/p>\n<p>ESC ] 0 ; string ^G\u00a0\u00a0 (A)\u00a0 Operating System Command (Hardstatus, xterm title hack)<\/p>\n<p>ESC ] 83 ; cmd ^G\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Execute\u00a0 screen\u00a0 command.\u00a0 This\u00a0 only\u00a0 works if multi-user support is compiled into screen. The pseudo-user &#8220;:window:&#8221; is used to<br \/>\ncheck the access control list. Use &#8220;addacl :window: -rwx #?&#8221; to create a user with no rights and allow only the needed commands.<\/p>\n<p>Control-N\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Lock Shift G1 (SO)<\/p>\n<p>Control-O\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Lock Shift G0 (SI)<\/p>\n<p>ESC n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Lock Shift G2<br \/>\nESC o\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Lock Shift G3<\/p>\n<p>ESC N\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Single Shift G2<\/p>\n<p>ESC O\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Single Shift G3<\/p>\n<p>ESC ( Pcs\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Designate character set as G0<\/p>\n<p>ESC ) Pcs\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Designate character set as G1<\/p>\n<p>ESC * Pcs\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Designate character set as G2<\/p>\n<p>ESC + Pcs\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Designate character set as G3<\/p>\n<p>ESC [ Pn ; Pn H\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Direct Cursor Addressing<\/p>\n<p>ESC [ Pn ; Pn f\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 same as above<\/p>\n<p>ESC [ Pn J\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Erase in Display<\/p>\n<p>Pn = None or 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 From Cursor to End of Screen<\/p>\n<p>1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 From Beginning of Screen to Cursor<\/p>\n<p>2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Entire Screen<\/p>\n<p>ESC [ Pn K\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Erase in Line<\/p>\n<p>Pn = None or 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 From Cursor to End of Line<\/p>\n<p>1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 From Beginning of Line to Cursor<\/p>\n<p>2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Entire Line<\/p>\n<p>ESC [ Pn X\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Erase character<\/p>\n<p>ESC [ Pn A\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Cursor Up<\/p>\n<p>ESC [ Pn B\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Cursor Down<\/p>\n<p>ESC [ Pn C\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Cursor Right<\/p>\n<p>ESC [ Pn D\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Cursor Left<\/p>\n<p>ESC [ Pn E\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Cursor next line<\/p>\n<p>ESC [ Pn F\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Cursor previous line<\/p>\n<p>ESC [ Pn G\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Cursor horizontal position<\/p>\n<p>ESC [ Pn `\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 same as above<\/p>\n<p>ESC [ Pn d\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Cursor vertical position<\/p>\n<p>ESC [ Ps ;\u2026; Ps m\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Select Graphic Rendition<\/p>\n<p>Ps = None or 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Default Rendition<\/p>\n<p>1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Bold<\/p>\n<p>2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Faint<\/p>\n<p>3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Standout Mode (ANSI: Italicized)<\/p>\n<p>4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Underlined<\/p>\n<p>5\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Blinking<\/p>\n<p>7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Negative Image<br \/>\n22\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Normal Intensity<\/p>\n<p>23\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Standout Mode off (ANSI: Italicized off)<\/p>\n<p>24\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Not Underlined<\/p>\n<p>25\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Not Blinking<\/p>\n<p>27\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Positive Image<\/p>\n<p>30\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Foreground Black<\/p>\n<p>31\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Foreground Red<\/p>\n<p>32\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Foreground Green<\/p>\n<p>33\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Foreground Yellow<\/p>\n<p>34\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Foreground Blue<\/p>\n<p>35\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Foreground Magenta<\/p>\n<p>36\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Foreground Cyan<\/p>\n<p>37\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Foreground White<\/p>\n<p>39\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Foreground Default<\/p>\n<p>40\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Background Black<\/p>\n<p>\u2026\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u2026<\/p>\n<p>49\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Background Default<\/p>\n<p>ESC [ Pn g\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Tab Clear<\/p>\n<p>Pn = None or 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Clear Tab at Current Position<\/p>\n<p>3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Clear All Tabs<\/p>\n<p>ESC [ Pn ; Pn r\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (V)\u00a0 Set Scrolling Region<\/p>\n<p>ESC [ Pn I\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Horizontal Tab<\/p>\n<p>ESC [ Pn Z\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Backward Tab<\/p>\n<p>ESC [ Pn L\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Insert Line<\/p>\n<p>ESC [ Pn M\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Delete Line<\/p>\n<p>ESC [ Pn @\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Insert Character<\/p>\n<p>ESC [ Pn P\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Delete Character<\/p>\n<p>ESC [ Pn S\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Scroll Scrolling Region Up<\/p>\n<p>ESC [ Pn T\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Scroll Scrolling Region Down<\/p>\n<p>ESC [ Pn ^\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 same as above<\/p>\n<p>ESC [ Ps ;\u2026; Ps h\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Set Mode<\/p>\n<p>ESC [ Ps ;\u2026; Ps l\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Reset Mode<\/p>\n<p>Ps = 4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Insert Mode<\/p>\n<p>20\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Automatic Linefeed Mode<\/p>\n<p>34\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Normal Cursor Visibility<\/p>\n<p>?1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (V)\u00a0 Application Cursor Keys<\/p>\n<p>?3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (V)\u00a0 Change Terminal Width to 132 columns<\/p>\n<p>?5\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (V)\u00a0 Reverse Video<\/p>\n<p>?6\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (V)\u00a0 Origin Mode<\/p>\n<p>?7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (V)\u00a0 Wrap Mode<\/p>\n<p>?9\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 X10 mouse tracking<\/p>\n<p>?25\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (V)\u00a0 Visible Cursor<\/p>\n<p>?47\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Alternate Screen (old xterm code)<\/p>\n<p>?1000\u00a0\u00a0\u00a0\u00a0\u00a0 (V)\u00a0 VT200 mouse tracking<\/p>\n<p>?1047\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Alternate Screen (new xterm code)<\/p>\n<p>?1049\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Alternate Screen (new xterm code)<\/p>\n<p>ESC [ 5 i\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Start relay to printer (ANSI Media Copy)<\/p>\n<p>ESC [ 4 i\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A)\u00a0 Stop relay to printer (ANSI Media Copy)<\/p>\n<p>ESC [ 8 ; Ph ; Pw t\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Resize the window to `Ph&#8217; lines and `Pw&#8217; columns (SunView special)<\/p>\n<p>ESC [ c\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Send VT100 Identification String<\/p>\n<p>ESC [ x\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Send Terminal Parameter Report<\/p>\n<p>ESC [ &gt; c\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Send VT220 Secondary Device Attributes String<\/p>\n<p>ESC [ 6 n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Send Cursor Position Report<\/p>\n<p>INPUT TRANSLATION<br \/>\nIn order to do a full VT100 emulation screen has to detect that a sequence of characters in the input stream was generated by a keypress on the user&#8217;s\u00a0 key\u2010<br \/>\nboard\u00a0 and insert the VT100 style escape sequence. Screen has a very flexible way of doing this by making it possible to map arbitrary commands on arbitrary<br \/>\nsequences of characters. For standard VT100 emulation the command will always insert a string in the input buffer of the window (see also command\u00a0 stuff\u00a0 in<br \/>\nthe\u00a0 command\u00a0 table).\u00a0 Because the sequences generated by a keypress can change after a reattach from a different terminal type, it is possible to bind com\u2010<br \/>\nmands to the termcap name of the keys.\u00a0 Screen will insert the correct binding after each reattach. See the bindkey command for further details on the\u00a0 syn\u2010<br \/>\ntax and examples.<\/p>\n<p>Here is the table of the default key bindings. (A) means that the command is executed if the keyboard is switched into application mode.<\/p>\n<p>Key name\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Termcap name\u00a0\u00a0\u00a0 Command<br \/>\n______________________________________________________<br \/>\nCursor up\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ku\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[A<br \/>\nstuff \\033OA\u00a0\u00a0\u00a0 (A)<br \/>\nCursor down\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 kd\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[B<br \/>\nstuff \\033OB\u00a0\u00a0\u00a0 (A)<br \/>\nCursor right\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 kr\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[C<br \/>\nstuff \\033OC\u00a0\u00a0\u00a0 (A)<br \/>\nCursor left\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 kl\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[D<br \/>\nstuff \\033OD\u00a0\u00a0\u00a0 (A)<br \/>\nFunction key 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 k0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[10~<br \/>\nFunction key 1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 k1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033OP<br \/>\nFunction key 2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 k2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033OQ<br \/>\nFunction key 3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 k3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033OR<br \/>\nFunction key 4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 k4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033OS<br \/>\nFunction key 5\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 k5\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[15~<br \/>\nFunction key 6\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 k6\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[17~<br \/>\nFunction key 7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 k7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[18~<br \/>\nFunction key 8\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 k8\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[19~<br \/>\nFunction key 9\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 k9\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[20~<br \/>\nFunction key 10\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 k;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[21~<br \/>\nFunction key 11\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 F1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[23~<br \/>\nFunction key 12\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 F2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[24~<br \/>\nHome\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 kh\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[1~<br \/>\nEnd\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 kH\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[4~<br \/>\nInsert\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 kI\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[2~<br \/>\nDelete\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 kD\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[3~<br \/>\nPage up\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 kP\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[5~<br \/>\nPage down\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 kN\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\033[6~<br \/>\nKeypad 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 f0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff 0<br \/>\nstuff \\033Op\u00a0\u00a0\u00a0 (A)<br \/>\nKeypad 1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 f1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff 1<br \/>\nstuff \\033Oq\u00a0\u00a0\u00a0 (A)<br \/>\nKeypad 2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 f2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff 2<br \/>\nstuff \\033Or\u00a0\u00a0\u00a0 (A)<br \/>\nKeypad 3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 f3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff 3<br \/>\nstuff \\033Os\u00a0\u00a0\u00a0 (A)<br \/>\nKeypad 4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 f4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff 4<br \/>\nstuff \\033Ot\u00a0\u00a0\u00a0 (A)<br \/>\nKeypad 5\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 f5\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff 5<br \/>\nstuff \\033Ou\u00a0\u00a0\u00a0 (A)<br \/>\nKeypad 6\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 f6\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff 6<br \/>\nstuff \\033Ov\u00a0\u00a0\u00a0 (A)<br \/>\nKeypad 7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 f7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff 7<br \/>\nstuff \\033Ow\u00a0\u00a0\u00a0 (A)<br \/>\nKeypad 8\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 f8\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff 8<br \/>\nstuff \\033Ox\u00a0\u00a0\u00a0 (A)<br \/>\nKeypad 9\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 f9\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff 9<br \/>\nstuff \\033Oy\u00a0\u00a0\u00a0 (A)<br \/>\nKeypad +\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 f+\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff +<br \/>\nstuff \\033Ok\u00a0\u00a0\u00a0 (A)<br \/>\nKeypad &#8211;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 f-\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff &#8211;<br \/>\nstuff \\033Om\u00a0\u00a0\u00a0 (A)<br \/>\nKeypad *\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 f*\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff *<br \/>\nstuff \\033Oj\u00a0\u00a0\u00a0 (A)<br \/>\nKeypad \/\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 f\/\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \/<br \/>\nstuff \\033Oo\u00a0\u00a0\u00a0 (A)<br \/>\nKeypad =\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fq\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff =<br \/>\nstuff \\033OX\u00a0\u00a0\u00a0 (A)<br \/>\nKeypad .\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 f.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff .<br \/>\nstuff \\033On\u00a0\u00a0\u00a0 (A)<br \/>\nKeypad ,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 f,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff ,<br \/>\nstuff \\033Ol\u00a0\u00a0\u00a0 (A)<br \/>\nKeypad enter\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fe\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 stuff \\015<br \/>\nstuff \\033OM\u00a0\u00a0\u00a0 (A)<\/p>\n<p>SPECIAL TERMINAL CAPABILITIES<br \/>\nThe\u00a0 following\u00a0 table describes all terminal capabilities that are recognized by screen and are not in the termcap(5) manual.\u00a0 You can place these capabili\u2010<br \/>\nties in your termcap entries (in `\/etc\/termcap&#8217;) or use them with the commands `termcap&#8217;, `terminfo&#8217; and `termcapinfo&#8217; in your screenrc files. It\u00a0 is\u00a0 often<br \/>\nnot possible to place these capabilities in the terminfo database.<\/p>\n<p>LP\u00a0\u00a0 (bool)\u00a0 Terminal has VT100 style margins (`magic margins&#8217;). Note that this capability is obsolete because screen uses the standard &#8216;xn&#8217; instead.<\/p>\n<p>Z0\u00a0\u00a0 (str)\u00a0\u00a0 Change width to 132 columns.<\/p>\n<p>Z1\u00a0\u00a0 (str)\u00a0\u00a0 Change width to 80 columns.<\/p>\n<p>WS\u00a0\u00a0 (str)\u00a0\u00a0 Resize display. This capability has the desired width and height as arguments. SunView(tm) example: &#8216;\\E[8;%d;%dt&#8217;.<\/p>\n<p>NF\u00a0\u00a0 (bool)\u00a0 Terminal doesn&#8217;t need flow control. Send ^S and ^Q direct to the application. Same as &#8216;flow off&#8217;. The opposite of this capability is &#8216;nx&#8217;.<\/p>\n<p>G0\u00a0\u00a0 (bool)\u00a0 Terminal can deal with ISO 2022 font selection sequences.<\/p>\n<p>S0\u00a0\u00a0 (str)\u00a0\u00a0 Switch charset &#8216;G0&#8217; to the specified charset. Default is &#8216;\\E(%.&#8217;.<\/p>\n<p>E0\u00a0\u00a0 (str)\u00a0\u00a0 Switch charset &#8216;G0&#8217; back to standard charset. Default is &#8216;\\E(B&#8217;.<\/p>\n<p>C0\u00a0\u00a0 (str)\u00a0\u00a0 Use the string as a conversion table for font &#8216;0&#8217;. See the &#8216;ac&#8217; capability for more details.<\/p>\n<p>CS\u00a0\u00a0 (str)\u00a0\u00a0 Switch cursor-keys to application mode.<\/p>\n<p>CE\u00a0\u00a0 (str)\u00a0\u00a0 Switch cursor-keys back to normal mode.<\/p>\n<p>AN\u00a0\u00a0 (bool)\u00a0 Turn on autonuke. See the &#8216;autonuke&#8217; command for more details.<\/p>\n<p>OL\u00a0\u00a0 (num)\u00a0\u00a0 Set the output buffer limit. See the &#8216;obuflimit&#8217; command for more details.<\/p>\n<p>KJ\u00a0\u00a0 (str)\u00a0\u00a0 Set the encoding of the terminal. See the &#8216;encoding&#8217; command for valid encodings.<\/p>\n<p>AF\u00a0\u00a0 (str)\u00a0\u00a0 Change\u00a0 character\u00a0 foreground\u00a0 color\u00a0 in\u00a0 an ANSI conform way. This capability will almost always be set to &#8216;\\E[3%dm&#8217; (&#8216;\\E[3%p1%dm&#8217; on terminfo<br \/>\nmachines).<\/p>\n<p>AB\u00a0\u00a0 (str)\u00a0\u00a0 Same as &#8216;AF&#8217;, but change background color.<\/p>\n<p>AX\u00a0\u00a0 (bool)\u00a0 Does understand ANSI set default fg\/bg color (\\E[39m \/ \\E[49m).<\/p>\n<p>XC\u00a0\u00a0 (str)\u00a0\u00a0 Describe a translation of characters to strings depending on the current font. More details follow in the next section.<\/p>\n<p>XT\u00a0\u00a0 (bool)\u00a0 Terminal understands special xterm sequences (OSC, mouse tracking).<\/p>\n<p>C8\u00a0\u00a0 (bool)\u00a0 Terminal needs bold to display high-intensity colors (e.g. Eterm).<\/p>\n<p>TF\u00a0\u00a0 (bool)\u00a0 Add missing capabilities to the termcap\/info entry. (Set by default).<\/p>\n<p>CHARACTER TRANSLATION<br \/>\nScreen has a powerful mechanism to translate characters to arbitrary strings depending on the current font and terminal type.\u00a0 Use this feature if you\u00a0 want<br \/>\nto\u00a0 work with a common standard character set (say ISO8851-latin1) even on terminals that scatter the more unusual characters over several national language<br \/>\nfont pages.<br \/>\nSyntax:<br \/>\nXC=&lt;charset-mapping&gt;{,,&lt;charset-mapping&gt;}<br \/>\n&lt;charset-mapping&gt; := &lt;designator&gt;&lt;template&gt;{,&lt;mapping&gt;}<br \/>\n&lt;mapping&gt; := &lt;char-to-be-mapped&gt;&lt;template-arg&gt;<\/p>\n<p>The things in braces may be repeated any number of times.<\/p>\n<p>A &lt;charset-mapping&gt; tells screen how to map characters in font &lt;designator&gt; (&#8216;B&#8217;: Ascii, &#8216;A&#8217;: UK, &#8216;K&#8217;: German, etc.)\u00a0 to strings. Every &lt;mapping&gt;\u00a0 describes<br \/>\nto\u00a0 what string a single character will be translated. A template mechanism is used, as most of the time the codes have a lot in common (for example strings<br \/>\nto switch to and from another charset). Each occurrence of &#8216;%&#8217; in &lt;template&gt; gets substituted with the &lt;template-arg&gt; specified together with the character.<br \/>\nIf\u00a0 your\u00a0 strings\u00a0 are\u00a0 not similar at all, then use &#8216;%&#8217; as a template and place the full string in &lt;template-arg&gt;. A quoting mechanism was added to make it<br \/>\npossible to use a real &#8216;%&#8217;. The &#8216;\\&#8217; character quotes the special characters &#8216;\\&#8217;, &#8216;%&#8217;, and &#8216;,&#8217;.<\/p>\n<p>Here is an example:<\/p>\n<p>termcap hp700 &#8216;XC=B\\E(K%\\E(B,\\304[,\\326\\\\\\\\,\\334]&#8217;<\/p>\n<p>This tells screen how to translate ISOlatin1 (charset &#8216;B&#8217;) upper case umlaut characters on a hp700 terminal that has a German charset.\u00a0 &#8216;\\304&#8217;\u00a0 gets\u00a0 trans\u2010<br \/>\nlated\u00a0 to\u00a0 &#8216;\\E(K[\\E(B&#8217;\u00a0 and\u00a0 so\u00a0 on.\u00a0 Note that this line gets parsed *three* times before the internal lookup table is built, therefore a lot of quoting is<br \/>\nneeded to create a single &#8216;\\&#8217;.<\/p>\n<p>Another extension was added to allow more emulation: If a mapping translates the unquoted &#8216;%&#8217; char, it will be sent to the terminal whenever screen switches<br \/>\nto\u00a0 the\u00a0 corresponding\u00a0 &lt;designator&gt;. In this special case the template is assumed to be just &#8216;%&#8217; because the charset switch sequence and the character map\u2010<br \/>\npings normally haven&#8217;t much in common.<\/p>\n<p>This example shows one use of the extension:<\/p>\n<p>termcap xterm &#8216;XC=K%,%\\E(B,[\\304,\\\\\\\\\\326,]\\334&#8217;<\/p>\n<p>Here, a part of the German (&#8216;K&#8217;) charset is emulated on an xterm.\u00a0 If screen has to change to the &#8216;K&#8217; charset, &#8216;\\E(B&#8217; will be sent to the terminal, i.e. the<br \/>\nASCII charset is used instead. The template is just &#8216;%&#8217;, so the mapping is straightforward: &#8216;[&#8216; to &#8216;\\304&#8217;, &#8216;\\&#8217; to &#8216;\\326&#8217;, and &#8216;]&#8217; to &#8216;\\334&#8242;.<\/p>\n<p>ENVIRONMENT<br \/>\nCOLUMNS\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Number of columns on the terminal (overrides termcap entry).<br \/>\nHOME\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Directory in which to look for .screenrc.<br \/>\nLINES\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Number of lines on the terminal (overrides termcap entry).<br \/>\nLOCKPRG\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Screen lock program.<br \/>\nNETHACKOPTIONS Turns on nethack option.<br \/>\nPATH\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Used for locating programs to run.<br \/>\nSCREENCAP\u00a0\u00a0\u00a0\u00a0\u00a0 For customizing a terminal&#8217;s TERMCAP value.<br \/>\nSCREENDIR\u00a0\u00a0\u00a0\u00a0\u00a0 Alternate socket directory.<br \/>\nSCREENRC\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Alternate user screenrc file.<br \/>\nSHELL\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Default shell program for opening windows (default &#8220;\/bin\/sh&#8221;).\u00a0 See also &#8220;shell&#8221; .screenrc command.<br \/>\nSTY\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Alternate socket name.<br \/>\nSYSSCREENRC\u00a0\u00a0\u00a0 Alternate system screenrc file.<br \/>\nTERM\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Terminal name.<br \/>\nTERMCAP\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Terminal description.<br \/>\nWINDOW\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Window number of a window (at creation time).<\/p>\n<p>FILES<br \/>\n\u2026\/screen-4.?.??\/etc\/screenrc<br \/>\n\u2026\/screen-4.?.??\/etc\/etcscreenrc\u00a0\u00a0 Examples in the screen distribution package for private and global initialization files.<br \/>\n$SYSSCREENRC<br \/>\n\/etc\/screenrc\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 screen initialization commands<br \/>\n$SCREENRC<br \/>\n$HOME\/.screenrc\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Read in after \/etc\/screenrc<br \/>\n$SCREENDIR\/S-&lt;login&gt;<br \/>\n\/var\/run\/screen\/S-&lt;login&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Socket directories (default)<br \/>\n\/usr\/tmp\/screens\/S-&lt;login&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Alternate socket directories.<br \/>\n&lt;socket directory&gt;\/.termcap\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Written by the &#8220;termcap&#8221; output function<br \/>\n\/usr\/tmp\/screens\/screen-exchange\u00a0 or<br \/>\n\/tmp\/screen-exchange\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 screen `interprocess communication buffer&#8217;<br \/>\nhardcopy.[0-9]\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Screen images created by the hardcopy function<br \/>\nscreenlog.[0-9]\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Output log files created by the log function<br \/>\n\/usr\/lib\/terminfo\/?\/*\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 or<br \/>\n\/etc\/termcap\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Terminal capability databases<br \/>\n\/var\/run\/utmp\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Login records<br \/>\n$LOCKPRG\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Program that locks a terminal.<br \/>\nSEE ALSO<br \/>\ntermcap(5), utmp(5), vi(1), captoinfo(1), tic(1)<\/p>\n<p>AUTHORS<br \/>\nOriginally created by Oliver Laumann, this latest version was produced by Juergen Weigert, Michael Schroeder, Micah Cowan and Sadrul Habib Chowdhury.<\/p>\n<p>COPYLEFT<br \/>\nCopyright (c) 2010<br \/>\nJuergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)<br \/>\nSadrul Habib Chowdhury (sadrul@users.sourceforge.net)<br \/>\nCopyright (c) 2008, 2009<br \/>\nJuergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)<br \/>\nMichael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)<br \/>\nMicah Cowan (micah@cowan.name)<br \/>\nSadrul Habib Chowdhury (sadrul@users.sourceforge.net)<br \/>\nCopyright (C) 1993-2003<br \/>\nJuergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)<br \/>\nMichael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)<br \/>\nCopyright (C) 1987 Oliver Laumann<br \/>\nThis\u00a0 program is free software; you can redistribute it and\/or modify it under the terms of the GNU General Public License as published by the Free Software<br \/>\nFoundation; either version 3, or (at your option) any later version.<br \/>\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of\u00a0 MERCHANTABILITY\u00a0 or\u00a0 FITNESS<br \/>\nFOR A PARTICULAR PURPOSE.\u00a0 See the GNU General Public License for more details.<br \/>\nYou should have received a copy of the GNU General Public License along with this program (see the file COPYING); if not, write to the Free Software Founda\u2010<br \/>\ntion, Inc., 59 Temple Place &#8211; Suite 330, Boston, MA\u00a0 02111-1307, USA<\/p>\n<p>CONTRIBUTORS<br \/>\nKen Beal (kbeal@amber.ssd.csd.harris.com),<br \/>\nRudolf Koenig (rfkoenig@immd4.informatik.uni-erlangen.de),<br \/>\nToerless Eckert (eckert@immd4.informatik.uni-erlangen.de),<br \/>\nWayne Davison (davison@borland.com),<br \/>\nPatrick Wolfe (pat@kai.com, kailand!pat),<br \/>\nBart Schaefer (schaefer@cse.ogi.edu),<br \/>\nNathan Glasser (nathan@brokaw.lcs.mit.edu),<br \/>\nLarry W. Virden (lvirden@cas.org),<br \/>\nHoward Chu (hyc@hanauma.jpl.nasa.gov),<br \/>\nTim MacKenzie (tym@dibbler.cs.monash.edu.au),<br \/>\nMarkku Jarvinen (mta@{cc,cs,ee}.tut.fi),<br \/>\nMarc Boucher (marc@CAM.ORG),<br \/>\nDoug Siebert (dsiebert@isca.uiowa.edu),<br \/>\nKen Stillson (stillson@tsfsrv.mitre.org),<br \/>\nIan Frechett (frechett@spot.Colorado.EDU),<br \/>\nBrian Koehmstedt (bpk@gnu.ai.mit.edu),<br \/>\nDon Smith (djs6015@ultb.isc.rit.edu),<br \/>\nFrank van der Linden (vdlinden@fwi.uva.nl),<br \/>\nMartin Schweikert (schweik@cpp.ob.open.de),<br \/>\nDavid Vrona (dave@sashimi.lcu.com),<br \/>\nE. Tye McQueen (tye%spillman.UUCP@uunet.uu.net),<br \/>\nMatthew Green (mrg@eterna.com.au),<br \/>\nChristopher Williams (cgw@pobox.com),<br \/>\nMatt Mosley (mattm@access.digex.net),<br \/>\nGregory Neil Shapiro (gshapiro@wpi.WPI.EDU),<br \/>\nJohannes Zellner (johannes@zellner.org),<br \/>\nPablo Averbuj (pablo@averbuj.com).<\/p>\n<p>VERSION<br \/>\nThis is version 4.1.0. Its roots are a merge of a custom version 2.3PR7 by Wayne Davison and several enhancements to Oliver Laumann&#8217;s version 2.0. Note that<br \/>\nall versions numbered 2.x are copyright by Oliver Laumann.<\/p>\n<p>AVAILABILITY<br \/>\nThe\u00a0 latest\u00a0 official\u00a0 release of screen available via anonymous ftp from gnudist.gnu.org, nic.funet.fi or any other GNU distribution site. The home site of<br \/>\nscreen is ftp.uni-erlangen.de, in the directory pub\/utilities\/screen. The subdirectory `private&#8217; contains the latest beta testing release. If\u00a0 you\u00a0 want\u00a0 to<br \/>\nhelp, send a note to\u00a0screen@uni-erlangen.de.<br \/>\nBUGS<br \/>\n\u00b7\u00a0 `dm&#8217; (delete mode) and `xs&#8217; are not handled correctly (they are ignored). `xn&#8217; is treated as a magic-margin indicator.<\/p>\n<p>\u00b7\u00a0 Screen has no clue about double-high or double-wide characters.\u00a0 But this is the only area where vttest is allowed to fail.<\/p>\n<p>\u00b7\u00a0 It is not possible to change the environment variable $TERMCAP when reattaching under a different terminal type.<\/p>\n<p>\u00b7\u00a0 The support of terminfo based systems is very limited. Adding extra capabilities to $TERMCAP may not have any effects.<\/p>\n<p>\u00b7\u00a0 Screen does not make use of hardware tabs.<\/p>\n<p>\u00b7\u00a0 Screen\u00a0 must\u00a0 be\u00a0 installed\u00a0 as set-uid with owner root on most systems in order to be able to correctly change the owner of the tty device file for each<br \/>\nwindow.\u00a0 Special permission may also be required to write the file &#8220;\/var\/run\/utmp&#8221;.<\/p>\n<p>\u00b7\u00a0 Entries in &#8220;\/var\/run\/utmp&#8221; are not removed when screen is killed with SIGKILL.\u00a0 This will cause some programs (like &#8220;w&#8221; or &#8220;rwho&#8221;) to\u00a0 advertise\u00a0 that\u00a0 a<br \/>\nuser is logged on who really isn&#8217;t.<\/p>\n<p>\u00b7\u00a0 Screen may give a strange warning when your tty has no utmp entry.<\/p>\n<p>\u00b7\u00a0 When the modem line was hung up, screen may not automatically detach (or quit) unless the device driver is configured to send a HANGUP signal.\u00a0 To detach<br \/>\na screen session use the -D or -d command line option.<\/p>\n<p>\u00b7\u00a0 If a password is set, the command line options -d and -D still detach a session without asking.<\/p>\n<p>\u00b7\u00a0 Both &#8220;breaktype&#8221; and &#8220;defbreaktype&#8221; change the break generating method used by all terminal devices. The first should change a window\u00a0 specific\u00a0 setting,<br \/>\nwhere the latter should change only the default for new windows.<\/p>\n<p>\u00b7\u00a0 When\u00a0 attaching to a multiuser session, the user&#8217;s .screenrc file is not sourced. Each user&#8217;s personal settings have to be included in the .screenrc file<br \/>\nfrom which the session is booted, or have to be changed manually.<\/p>\n<p>\u00b7\u00a0 A weird imagination is most useful to gain full advantage of all the features.<\/p>\n<p>\u00b7\u00a0 Send bug-reports, fixes, enhancements, t-shirts, money, beer &amp; pizza to\u00a0screen@uni-erlangen.de.<\/p>\n<p>4th Berkeley Distribution\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Aug 2003\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 SCREEN(1)<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_343\" class=\"pvc_stats all  \" data-element-id=\"343\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/www.linuxboxen.dk\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>SCREEN(1)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 General Commands Manual\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 SCREEN(1) NAME screen &#8211; screen manager with VT100\/ANSI terminal emulation SYNOPSIS screen [ -options ] [ cmd [ args ] ] screen -r [[pid.]tty[.host]] screen -r sessionowner\/[[pid.]tty[.host]] DESCRIPTION Screen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells).\u00a0 Each virtual terminal provides the functions [&hellip;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_343\" class=\"pvc_stats all  \" data-element-id=\"343\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/www.linuxboxen.dk\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"categories":[8],"tags":[],"class_list":["post-343","post","type-post","status-publish","format-standard","hentry","category-shell"],"a3_pvc":{"activated":true,"total_views":9,"today_views":0},"_links":{"self":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/posts\/343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=343"}],"version-history":[{"count":0,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/posts\/343\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}