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.
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.
Change background-color-erase setting. If ‘bce’ is set to on, all characters cleared by an erase/insert/scroll/clear operation will be displayed in the current background color. Otherwise the default background color is used.
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 optional second parameter overwrites the encoding of the connected terminal. It should never be needed as screen uses the locale setting to detect the encoding. There is also a way to select a terminal encoding depending on the terminal type by using the ‘KJ’ termcap entry. See Special Capabilities.
Supported encodings are
See also ‘defencoding’, which changes the default setting of a new window.
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 ‘encoding’ command is active.
The current setting can be viewed with the Info command.
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 parameter toggles the setting. If a second parameter is given, the display’s encoding is also changed (this should rather be done with screen’s ‘-U’ option). See also ‘defutf8’, which changes the default setting of a new window.
Same as the ‘c1’ command except that the default setting for new windows is changed. Initial setting is ‘on’.
Same as the ‘gr’ command except that the default setting for new windows is changed. Initial setting is ‘off’.
Same as the ‘bce’ command except that the default setting for new windows is changed. Initial setting is ‘off’.
Same as the ‘encoding’ command except that the default setting for new windows is changed. Initial setting is the encoding taken from the terminal.
Like the ‘charset’ command except that the default setting for new windows is changed. Shows current default if called without argument.
Same as the ‘utf8’ command except that the default setting for new windows is changed. Initial setting is
on if screen was started
with ‘-U’, otherwise
Toggle how ambiguoous characters are treated. If cjkwidth is on screen interprets them as double (full) width characters. If off then they are seen as one cell (half) width characters.