diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2011-09-03 14:05:24 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2011-09-03 14:05:24 +0200 |
commit | 0e9a09d7718f02726b12924f7ddb05a992202aa3 (patch) | |
tree | 7b78a28379fdbe3a9dba37cd99c780c5d42c1e6c /doc/screen.info-2 | |
parent | bdf45bc45637eefdbdee913465729f9d31d6c255 (diff) | |
download | screen-0e9a09d7718f02726b12924f7ddb05a992202aa3.tar.gz |
Imported Upstream version 3.9.11upstream/3.9.11
Diffstat (limited to 'doc/screen.info-2')
-rw-r--r-- | doc/screen.info-2 | 446 |
1 files changed, 220 insertions, 226 deletions
diff --git a/doc/screen.info-2 b/doc/screen.info-2 index 2995343..21dfb8d 100644 --- a/doc/screen.info-2 +++ b/doc/screen.info-2 @@ -1,9 +1,14 @@ -This is Info file screen.info, produced by Makeinfo-1.55 from the input -file ./screen.texinfo. +This is screen.info, produced by makeinfo version 4.0 from +./screen.texinfo. + +INFO-DIR-SECTION General Commands +START-INFO-DIR-ENTRY +* Screen: (screen). Full-screen window manager. +END-INFO-DIR-ENTRY This file documents the `Screen' virtual terminal manager. - Copyright (c) 1993-1995 Free Software Foundation, Inc. + Copyright (c) 1993-2002 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are @@ -20,12 +25,102 @@ versions, except that this permission notice may be stated in a translation approved by the Foundation. +File: screen.info, Node: Next and Previous, Next: Other Window, Up: Selecting + +Moving Back and Forth +===================== + + - Command: next + (`C-a <SPC>', `C-a n', `C-a C-n') + Switch to the next window. This command can be used repeatedly to + cycle through the list of windows. (On some terminals, C-<SPC> + generates a NUL character, so you must release the control key + before pressing space.) + + - Command: prev + (`C-a p', `C-a C-p') + Switch to the previous window (the opposite of `C-a n'). + + +File: screen.info, Node: Other Window, Next: Select, Prev: Next and Previous, Up: Selecting + +Other Window +============ + + - Command: other + (`C-a C-a') + Switch to the last window displayed. Note that this command + defaults to the command character typed twice, unless overridden. + For instance, if you use the option `-e]x', this command becomes + `]]' (*note Command Character::). + + +File: screen.info, Node: Select, Next: Windowlist, Prev: Other Window, Up: Selecting + +Select +====== + + - Command: select [n] + (`C-a N', `C-a '') + Switch to the window with the number N. If no window number is + specified, you get prompted for an identifier. This can be a + window name (title) or a number. When a new window is + established, the lowest available number is assigned to this + window. Thus, the first window can be activated by `select 0'; + there can be no more than 10 windows present simultaneously + (unless screen is compiled with a higher MAXWIN setting). The + special command `select -' switches to a blank window. + + +File: screen.info, Node: Windowlist, Prev: Select, Up: Selecting + +Windowlist +========== + + - Command: windowlist [-b] | string [STRING] | title [TITLE] + (`C-a "') + Display all windows in a table for visual window selection. The + desired window can be selected via the standard movement keys + (*note Movement::) and activated via the return key. 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. + + 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 setting. The default setting is `Num + Name%=Flags' for the title and `%3n %t%=%f' for the lines. See the + string escapes chapter (*note String Escapes::) for more codes + (e.g. color settings). + + + +File: screen.info, Node: Session Management, Next: Regions, Prev: Selecting, Up: Top + +Session Management Commands +*************************** + + Perhaps the most useful feature of `screen' is the way it allows the +user to move a session between terminals, by detaching and reattaching. +This also makes life easier for modem users who have to deal with +unexpected loss of carrier. + +* Menu: + +* Detach:: Disconnect `screen' from your terminal. +* Power Detach:: Detach and log out. +* Lock:: Lock your terminal temporarily. +* Multiuser Session:: Changing number of allowed users. +* Session Name:: Rename your session for later reattachment. +* Suspend:: Suspend your session. +* Quit:: Terminate your session. + + File: screen.info, Node: Detach, Next: Power Detach, Up: Session Management Detach ====== - - Command: autodetach STATE + - Command: autodetach state (none) Sets whether `screen' will automatically detach upon hangup, which saves all your running programs until they are resumed with a @@ -37,9 +132,11 @@ Detach (`C-a d', `C-a C-d') Detach the `screen' session (disconnect it from the terminal and put it into the background). A detached `screen' can be resumed by - invoking `screen' with the `-r' option. (*note Invoking Screen::.) + invoking `screen' with the `-r' option (*note Invoking Screen::). + The `-h' option tells screen to immediately close the connection + to the terminal (`hangup'). - - Command: password [CRYPTED_PW] + - Command: password [crypted_pw] (none) Present a crypted password in your `.screenrc' file and screen will ask for it, whenever someone attempts to resume a detached @@ -60,10 +157,10 @@ Power Detach (`C-a D') Mainly the same as `detach', but also sends a HANGUP signal to the parent process of `screen'. - *Caution*: This will result in a logout if `screen' was started + _Caution_: This will result in a logout if `screen' was started from your login shell. - - Command: pow_detach_msg [MESSAGE] + - Command: pow_detach_msg [message] (none) The MESSAGE specified here is output whenever a power detach is performed. It may be used as a replacement for a logout message or @@ -219,8 +316,8 @@ File: screen.info, Node: Umask, Next: Wall, Prev: Displays, Up: Multiuser Se aclumask -------- - - Command: aclumask [[USERS]+BITS |[USERS]-BITS .... ] - - Command: umask [[USERS]+BITS |[USERS]-BITS .... ] + - Command: aclumask [USERS]+/-BITS ... + - Command: umask [USERS]+/-BITS ... (none) This specifies the access other users have to windows that will be created by the caller of the command. USERS may be no, one @@ -298,7 +395,7 @@ Session Name Rename the current session. Note that for `screen -list' the name shows up with the process-id prepended. If the argument NAME is omitted, the name of this session is displayed. - *Caution*: The `$STY' environment variable still reflects the old + _Caution_: The `$STY' environment variable still reflects the old name. This may result in confusion. The default is constructed from the tty and host names. @@ -326,7 +423,7 @@ Quit terminals the keys `C-4' and `C-\' are identical. So be careful not to type `C-a C-4' when selecting window no. 4. Use the empty bind command (as in `bind "^\"') to remove a key binding (*note - Key Binding::.). + Key Binding::). File: screen.info, Node: Regions, Next: Window Settings, Prev: Session Management, Up: Top @@ -344,7 +441,9 @@ contain different windows. * Focus:: Change to the next region * Only:: Delete all other regions * Remove:: Delete the current region +* Resize:: Grow or shrink a region * Caption:: Control the window's caption +* Fit:: Resize a window to fit the region File: screen.info, Node: Split, Next: Focus, Up: Regions @@ -365,9 +464,16 @@ Focus ===== - Command: focus - (`C-a Tab') + (`C-a <Tab>') Move 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. + way so that the top region is selected after the bottom one. If no + subcommand is given it defaults to `down'. `up' cycles in the + opposite order, `top' and `bottom' go to the top and bottom region + respectively. Useful bindings are (j and k as in vi) + bind j focus down + bind k focus up + bind t focus top + bind b focus bottom File: screen.info, Node: Only, Next: Remove, Prev: Focus, Up: Regions @@ -380,7 +486,7 @@ Only Kill all regions but the current one. -File: screen.info, Node: Remove, Next: Caption, Prev: Only, Up: Regions +File: screen.info, Node: Remove, Next: Resize, Prev: Only, Up: Regions Remove ====== @@ -391,13 +497,31 @@ Remove region. -File: screen.info, Node: Caption, Prev: Remove, Up: Regions +File: screen.info, Node: Resize, Next: Caption, Prev: Remove, Up: Regions + +Resize +====== + + - Command: resize [(+/-)LINES] + (none) + Resize the current region. The space will be removed from or added + to the region below or if there's not enough space from the region + above. + resize +N increase current region height by N + resize -N decrease current region height by N + resize N set current region height to N + resize = make all windows equally high + resize max maximize current region height + resize min minimize current region height + + +File: screen.info, Node: Caption, Next: Fit, Prev: Resize, Up: Regions Caption ======= - - Command: caption `always'|`splitonly' [STRING] - - Command: caption `string' [STRING] + - Command: caption `always'|`splitonly' [string] + - Command: caption `string' [string] (none) This command controls the display of the window captions. Normally a caption is only used if more than one window is shown on the @@ -406,13 +530,25 @@ Caption default is `splitonly'. The second form changes the text used for the caption. You can use - all string escapes (*Note String Escapes::). `Screen' uses a + all string escapes (*note String Escapes::). `Screen' uses a default of `%3n %t'. You can mix both forms by providing the string as an additional argument. +File: screen.info, Node: Fit, Prev: Caption, Up: Regions + +Fit +=== + + - Command: fit + (`C-a F') + Change the window size to the size of the current region. This + command is needed because screen doesn't adapt the window size + automatically if the window is displayed more than once. + + File: screen.info, Node: Window Settings, Next: Virtual Terminal, Prev: Regions, Up: Top Window Settings @@ -440,19 +576,19 @@ Naming Windows (Titles) ======================= You can customize each window's name in the window display (viewed -with the `windows' command (*note Windows::.) by setting it with one of +with the `windows' command (*note Windows::) by setting it with one of the title commands. Normally the name displayed is the actual command name of the program created in the window. However, it is sometimes useful to distinguish various programs of the same name or to change the name on-the-fly to reflect the current state of the window. The default name for all shell windows can be set with the -`shelltitle' command (*note Shell::.). You can specify the name you +`shelltitle' command (*note Shell::). You can specify the name you want for a window with the `-t' option to the `screen' command when the -window is created (*note Screen Command::.). To change the name after +window is created (*note Screen Command::). To change the name after the window has been created you can use the title-string escape-sequence -(`ESC k NAME ESC \') and the `title' command (C-a A). The former can -be output from an application to control the window's name under +(`<ESC> k NAME <ESC> \') and the `title' command (C-a A). The former +can be output from an application to control the window's name under software control, and the latter will prompt for a name when typed. You can also bind predefined names to keys with the `title' command to set things quickly without prompting. @@ -470,7 +606,7 @@ File: screen.info, Node: Title Command, Next: Dynamic Titles, Up: Naming Wind Title Command ------------- - - Command: title [WINDOWTITLE] + - Command: title [windowtitle] (`C-a A') Set the name of the current window to WINDOWALIAS. If no name is specified, screen prompts for one. @@ -492,16 +628,16 @@ Otherwise the current command name supersedes the shell name while it is running. Here's how it works: you must modify your shell prompt to output a -null title-escape-sequence (ESC k ESC \) as a part of your prompt. The -last part of your prompt must be the same as the string you specified -for the SEARCH portion of the title. Once this is set up, `screen' -will use the title-escape-sequence to clear the previous command name -and get ready for the next command. Then, when a newline is received -from the shell, a search is made for the end of the prompt. If found, -it will grab the first word after the matched string and use it as the -command name. If the command name begins with `!', `%', or `^', -`screen' will use the first word on the following line (if found) in -preference to the just-found name. This helps csh users get more +null title-escape-sequence (<ESC> k <ESC> \) as a part of your prompt. +The last part of your prompt must be the same as the string you +specified for the SEARCH portion of the title. Once this is set up, +`screen' will use the title-escape-sequence to clear the previous +command name and get ready for the next command. Then, when a newline +is received from the shell, a search is made for the end of the prompt. +If found, it will grab the first word after the matched string and use +it as the command name. If the command name begins with `!', `%', or +`^', `screen' will use the first word on the following line (if found) +in preference to the just-found name. This helps csh users get more accurate titles when using job control or history recall commands. @@ -593,7 +729,7 @@ Console - Command: console [STATE] (none) Grabs or un-grabs the machines console output to a window. When - the argument is omitted the current state is displayed. *Note*: + the argument is omitted the current state is displayed. _Note_: Only the owner of `/dev/console' can grab the console output. This command is only available if the host supports the ioctl `TIOCCONS'. @@ -607,17 +743,17 @@ Kill - Command: kill (`C-a k', `C-a C-k') Kill the current window. - If there is an `exec' command running (*note Exec::.) then it is + If there is an `exec' command running (*note Exec::) then it is killed. Otherwise the process (e.g. shell) running in the window receives a `HANGUP' condition, the window structure is removed and screen (your display) switches to another window. When the last window is destroyed, `screen' exits. After a kill screen switches to the previously displayed window. - *Caution*: `emacs' users may find themselves killing their `emacs' + _Caution_: `emacs' users may find themselves killing their `emacs' session when trying to delete the current line. For this reason, it is probably wise to use a different command character (*note - Command Character::.) or rebind `kill' to another key sequence, - such as `C-a K' (*note Key Binding::.). + Command Character::) or rebind `kill' to another key sequence, + such as `C-a K' (*note Key Binding::). File: screen.info, Node: Login, Next: Mode, Prev: Kill, Up: Window Settings @@ -625,21 +761,21 @@ File: screen.info, Node: Login, Next: Mode, Prev: Kill, Up: Window Settings Login ===== - - Command: deflogin STATE + - Command: deflogin state (none) Same as the `login' command except that the default setting for new windows is changed. This defaults to `on' unless otherwise - specified at compile time (*note Installation::.). Both commands + specified at compile time (*note Installation::). Both commands are only present when `screen' has been compiled with utmp support. - - Command: login [STATE] + - Command: login [state] (`C-a L') Adds or removes the entry in `/etc/utmp' for the current window. This controls whether or not the window is "logged in". In addition to this toggle, it is convenient to have "log in" and "log out" keys. For instance, `bind I login on' and `bind O login off' will map these keys to be `C-a I' and `C-a O' (*note Key - Binding::.). + Binding::). File: screen.info, Node: Mode, Next: Monitor, Prev: Login, Up: Window Settings @@ -647,12 +783,12 @@ File: screen.info, Node: Mode, Next: Monitor, Prev: Login, Up: Window Settin Mode ==== - - Command: defmode MODE + - Command: defmode mode (none) The mode of each newly allocated pseudo-tty is set to MODE. MODE is an octal number as used by chmod(1). Defaults to 0622 for windows which are logged in, 0600 for others (e.g. when `-ln' was - specified for creation. *note Screen Command::.). + specified for creation, *note Screen Command::). File: screen.info, Node: Monitor, Next: Windows, Prev: Mode, Up: Window Settings @@ -660,7 +796,7 @@ File: screen.info, Node: Monitor, Next: Windows, Prev: Mode, Up: Window Sett Monitoring ========== - - Command: activity MESSAGE + - Command: activity message (none) When any activity occurs in a background window that is being monitored, `screen' displays a notification in the message line. @@ -675,19 +811,19 @@ Monitoring Note that monitoring is off for all windows by default, but can be altered by use of the `monitor' command (`C-a M'). - - Command: defmonitor STATE + - Command: defmonitor state (none) Same as the `monitor' command except that the default setting for new windows is changed. Initial setting is `off'. - - Command: monitor [STATE] + - Command: monitor [state] (`C-a M') Toggles monitoring of the current window. When monitoring is turned on and the affected window is switched into the background, the activity notification message will be displayed in the status line at the first sign of output, and the window will also be - marked with an `@' in the window-status display (*note - Windows::.). Monitoring defaults to `off' for all windows. + marked with an `@' in the window-status display (*note Windows::). + Monitoring defaults to `off' for all windows. File: screen.info, Node: Windows, Next: Hardstatus, Prev: Monitor, Up: Window Settings @@ -703,10 +839,10 @@ Windows The current window is marked with a `*'; the previous window is marked with a `-'; all the windows that are logged in are marked - with a `$' (*note Login::.); a background window that has received + with a `$' (*note Login::); a background window that has received a bell is marked with a `!'; a background window that is being monitored and has had activity occur is marked with an `@' (*note - Monitor::.); a window which has output logging turned on is marked + Monitor::); a window which has output logging turned on is marked with `(L)'; windows occupied by other users are marked with `&' or `&&' if the window is shared by other users; windows in the zombie state are marked with `Z'. @@ -727,7 +863,7 @@ ANSI Application Program Command (APC): `ESC_<string>ESC\'. As a convenience for xterm users the sequence `ESC]0..2;<string>^G' is also accepted. - - Command: defhstatus [STATUS] + - Command: defhstatus [status] (none) The hardstatus line that all new windows will get is set to STATUS. This command is useful to make the hardstatus of every window @@ -739,7 +875,7 @@ accepted. the current default string is displayed. Per default the hardstatus line of new windows is empty. - - Command: hstatus STATUS + - Command: hstatus status (none) Changes the current window's hardstatus line to STATUS. @@ -803,8 +939,14 @@ functions, respectively. Outputs a string directly to the host terminal without interpretation. ESC _ (A) Application Program Command (Hardstatus) - ESC ] (A) Operating System Command (Hardstatus, xterm + ESC ] 0 ; string ^G (A) Operating System Command (Hardstatus, xterm title hack) + ESC ] 83 ; cmd ^G (A) Execute screen command. This only works if + multi-user support is compiled into screen. + The pseudo-user ":window:" is used to check + the access control list. Use "addacl :window: + -rwx #?" to create a user with no rights and + allow only the needed commands. Control-N (A) Lock Shift G1 (SO) Control-O (A) Lock Shift G0 (SI) ESC n (A) Lock Shift G2 @@ -825,6 +967,7 @@ functions, respectively. Pn = None or 0 From Cursor to End of Line 1 From Beginning of Line to Cursor 2 Entire Line + ESC [ Pn X Erase character ESC [ Pn A Cursor Up ESC [ Pn B Cursor Down ESC [ Pn C Cursor Right @@ -857,8 +1000,8 @@ functions, respectively. 37 (A) Foreground White 39 (A) Foreground Default 40 (A) Background Black - ... ... - 49 (A) Background Default + ... ... + 49 (A) Background Default ESC [ Pn g Tab Clear Pn = None or 0 Clear Tab at Current Position 3 Clear All Tabs @@ -882,7 +1025,9 @@ functions, respectively. ?5 (V) Reverse Video ?6 (V) `Origin' Mode ?7 (V) `Wrap' Mode + ?9 X10 mouse tracking ?25 (V) Visible Cursor + ?1000 (V) VT200 mouse tracking ESC [ 5 i (A) Start relay to printer (ANSI Media Copy) ESC [ 4 i (A) Stop relay to printer (ANSI Media Copy) ESC [ 8 ; Ph ; Pw t Resize the window to `Ph' lines and @@ -904,11 +1049,11 @@ on the user's keyboard 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 sequences of characters. For standard VT100 emulation the command will always insert a string in the -input buffer of the window (see also command `stuff', *note Paste::.). +input buffer of the window (see also command `stuff', *note Paste::). Because the sequences generated by a keypress can change after a reattach from a different terminal type, it is possible to bind commands to the termcap name of the keys. `Screen' will insert the -correct binding after each reattach. *Note Bindkey:: for further +correct binding after each reattach. See *Note Bindkey:: for further details on the syntax and examples. Here is the table of the default key bindings. (A) means that the @@ -935,9 +1080,8 @@ command is executed if the keyboard is switched into application mode. Function key 8 k8 stuff \033[19~ Function key 9 k9 stuff \033[20~ Function key 10 k; stuff \033[21~ - Function key 11 F1 stuff \033[22~ - Function key 12 F2 stuff \033[23~ - Backspace kb stuff \010 + Function key 11 F1 stuff \033[23~ + Function key 12 F2 stuff \033[24~ Home kh stuff \033[1~ End kH stuff \033[4~ Insert kI stuff \033[2~ @@ -987,7 +1131,7 @@ File: screen.info, Node: Digraph, Next: Bell, Prev: Input Translation, Up: V Digraph ======= - - Command: digraph [PRESET] + - Command: digraph [preset] (none) This command prompts the user for a digraph sequence. The next two characters typed are looked up in a builtin table and the @@ -1006,7 +1150,7 @@ File: screen.info, Node: Bell, Next: Clear, Prev: Digraph, Up: Virtual Termi Bell ==== - - Command: bell_msg [MESSAGE] + - Command: bell_msg [message] (none) When a bell character is sent to a background window, `screen' displays a notification in the message line. The notification @@ -1022,7 +1166,7 @@ Bell suppress output of a message line (`bell_msg ""'). Without parameter, the current message is shown. - - Command: vbell [STATE] + - Command: vbell [state] (`C-a C-g') Sets or toggles the visual bell setting for the current window. If `vbell' is switched to `on', but your terminal does not support a @@ -1034,7 +1178,7 @@ Bell Per default, `vbell' is `off', thus the audible bell is used. - - Command: vbell_msg [MESSAGE] + - Command: vbell_msg [message] (none) Sets the visual bell message. MESSAGE is printed to the status line if the window receives a bell character (^G), `vbell' is set @@ -1042,7 +1186,7 @@ Bell default message is `Wuff, Wuff!!'. Without parameter, the current message is shown. - - Command: vbellwait SEC + - Command: vbellwait sec (none) Define a delay in seconds after each display of `screen' 's visual bell message. The default is 1 second. @@ -1069,8 +1213,8 @@ Info window: the cursor position in the form `(COLUMN,ROW)' starting with `(1,1)', the terminal width and height plus the size of the scrollback buffer in lines, like in `(80,24)+50', the current - state of window XON/XOFF flow control is shown like this (see also - *Note Flow Control::): + state of window XON/XOFF flow control is shown like this (*note + Flow Control::): +flow automatic flow control, currently on. -flow automatic flow control, currently off. +(+)flow flow control enabled. Agrees with automatic control. @@ -1087,9 +1231,10 @@ Info The 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'. Additional modes + currently designated as `G0' through `G3'. If the window is in + UTF-8 mode, the string `UTF-8' is shown instead. Additional modes depending on the type of the window are displayed at the end of - the status line (*note Window Types::.). + the status line (*note Window Types::). If the state machine of the terminal emulator is in a non-default state, the info line is started with a string identifying the @@ -1097,159 +1242,8 @@ Info For system information use `time'. - -File: screen.info, Node: Redisplay, Next: Wrap, Prev: Info, Up: Virtual Terminal - -Redisplay -========= - - - Command: allpartial STATE - (none) - If set to on, only the current cursor line is refreshed on window - change. This affects all windows and is useful for slow terminal - lines. The previous setting of full/partial refresh for each - window is restored with `allpartial off'. This is a global flag - that immediately takes effect on all windows overriding the - `partial' settings. It does not change the default redraw behavior - of newly created windows. - - - Command: partial STATE - (none) - Defines whether the display should be refreshed (as with - `redisplay') after switching to the current window. This command - only affects the current window. To immediately affect all - windows use the `allpartial' command. Default is `off', of - course. This default is fixed, as there is currently no - `defpartial' command. - - - Command: redisplay - (`C-a l', `C-a C-l') - Redisplay the current window. Needed to get a full redisplay in - partial redraw mode. - - -File: screen.info, Node: Wrap, Next: Reset, Prev: Redisplay, Up: Virtual Terminal - -Wrap -==== - - - Command: wrap STATE - (`C-a r', `C-a C-r') - Sets the line-wrap setting for the current window. When line-wrap - is on, the second consecutive printable character output at the - last column of a line will wrap to the start of the following - line. As an added feature, backspace (^H) will also wrap through - the left margin to the previous line. Default is `on'. - - - Command: defwrap STATE + - Command: dinfo (none) - Same as the `wrap' command except that the default setting for new - windows is changed. Initially line-wrap is on and can be toggled - with the `wrap' command (`C-a r') or by means of "C-a : wrap - on|off". - - -File: screen.info, Node: Reset, Next: Window Size, Prev: Wrap, Up: Virtual Terminal - -Reset -===== - - - Command: reset - (`C-a Z') - Reset the virtual terminal to its "power-on" values. Useful when - strange settings (like scroll regions or graphics character set) - are left over from an application. - - -File: screen.info, Node: Window Size, Next: Character Processing, Prev: Reset, Up: Virtual Terminal - -Window Size -=========== - - - Command: width [NUM] - (`C-a W') - Toggle the window width between 80 and 132 columns, or set it to - NUM columns if an argument is specified. This requires a capable - terminal and the termcap entries `Z0' and `Z1'. See the `termcap' - command (*note Termcap::.), for more information. - - - Command: height [LINES] - (none) - Set the display height to a specified number of lines. When no - argument is given it toggles between 24 and 42 lines display. - - - Command: fit - (`C-a F') - Change the window size to the size of the current region. This - command is needed because screen doesn't adapt the window size - automatically if the window is displayed more than once. - - -File: screen.info, Node: Character Processing, Prev: Window Size, Up: Virtual Terminal - -Character Processing -==================== - - - Command: c1 [STATE] - (none) - Change c1 code processing. `c1 on' tells screen to treat the input - characters between 128 and 159 as control functions. Such an - 8-bit code is normally the same as ESC followed by the - corresponding 7-bit code. The default setting is to process c1 - codes and can be changed with the `defc1' command. Users with - fonts that have usable characters in the c1 positions may want to - turn this off. - - - - Command: gr [STATE] - (none) - Turn GR charset switching on/off. Whenever screen sees an input - char with an 8th bit set, it will use the charset stored in the GR - slot and print the character with the 8th bit stripped. The - default (see also `defgr') is not to process GR switching because - otherwise the ISO88591 charset would not work. - - - Command: kanji WTYPE [DTYPE] - (none) - Tell screen how to process kanji input/output. WTYPE and DTYPE - must be one of the strings `jis', `euc' or `sjis'. The first - argument sets the kanji type of the current window. Each window - can emulate a different type. The optional second parameter tells - screen how to write the kanji codes to the connected terminal. The - preferred method of setting the display type is to use the `KJ' - termcap entry. *Note Special Capabilities::. See also `defkanji', - which changes the default setting of a new window. - - - Command: charset SET - (none) - Change the current character set slot designation and charset - mapping. The first four character of SET are treated as charset - designators while the fifth and sixth character must be in range - `0' to `3' and set the GL/GR charset mapping. On every position a - `.' may be used to indicate that the corresponding charset/mapping - should not be changed (SET is padded to six characters internally - by appending `.' chars). New windows have `BBBB02' as default - charset, unless a `kanji' command is active. - - The current setting can be viewed with the *Note Info:: command. - - - Command: defc1 STATE - (none) - Same as the `c1' command except that the default setting for new - windows is changed. Initial setting is `on'. - - - Command: defgr STATE - (none) - Same as the `gr' command except that the default setting for new - windows is changed. Initial setting is `off'. - - - Command: defkanji WTYPE - (none) - Same as the `kanji' command except that the default setting for - new windows is changed. Initial setting is `off', i.e. `jis'. - - - Command: defcharset [SET] - Like the `charset' command except that the default setting for new - windows is changed. Shows current default if called without - argument. + Show what screen thinks about your terminal. Useful if you want to + know why features like color or the alternate charset don't work. |