Input and output conversion table

The input and output conversion tables are stored in the $BSE/lib/nlsinf directory. The possible table names in this directory include the following:

<terminal type>.in (input conversion terminal)
<terminal type>.out (output conversion terminal)
<printer type>.out (output conversion printer)

For each terminal, one input and one output conversion table is available. For each printer, only an output conversion table is available.

The format of every line in a conversion table is:

<string><tabs or spaces><string>

A string can consist of one or more:

  • ASCII codes: A-Z, a-z, and 0-9...
  • Octal codes: \01, \012, \012...
  • Decimal codes: \1, \12, \12...
  • Hexadecimal codes: \0x1, 0x12...
  • Control codes: ^A, ^B, ^C...
  • Escape codes: \E, \e, \s, \n, \r, \f, \v, \b
  • Special codes: \\, \^

For a list of control and escape codes, refer to Overview of ESC/CTRL codes. The first column contains the numeric representation of the ISO 8859-1 character set.

In an input table, the second column contains the compose sequence of the input characters. In an output table, the second column contains the numeric representation of the output characters. The columns are separated by spaces or tabs.