The mapscrn command loads a user defined output character mapping table into the console driver. The console driver may be later put into use user-defined mapping table mode by outputting a special escape sequence to the console device. This sequence is <esc>(K for the G0 character set and <esc>)K for the G1 character set. When the -o option is given, the old map is saved in map.orig.
mapscrn trivialsets up a one-to-one direct-to-font table where user bytes directly address the font. This is useful for fonts that are in the same order as the character set one uses. A command like
mapscrn 8859-2sets up a user-to-unicode table that assumes that the user uses ISO 8859-2.
Values in the file may be specified in one of several formats:
1. Decimal: String of decimal digits not starting with ’0’
2. Octal: String of octal digits beginning with ’0’.
3. Hexadecimal: String of hexadecimal digits preceded by "0x".
4. Unicode: String of four hexadecimal digits preceded by "U+".
5. Character: Single character enclosed in single quotes. (And the binary
value is used.) Note that blank, comma, tab character and ’#’ cannot be specified
with this format.
6. UTF-8 Character: Single (possibly multi-byte) UTF-8 character, enclosed
in single quotes.
Note that control characters (with codes < 32) cannot be re-mapped with mapscrn because they have special meaning for the driver.