Go to the first, previous, next, last section, table of contents.


11.11 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. See section 16.5 Special Terminal 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 See section 11.6 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.


Go to the first, previous, next, last section, table of contents.