Section: International Support (8)
Updated: 20 March 1993
Return to Main Contents
mapscrn - load screen output mapping table
mapscrn [-v] [-o
command is obsolete - its function is now built-in into setfont.
However, for backwards compatibility it is still available
as a separate command.
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
character set and
option is given, the old map is saved in
There are two kinds of mapping tables: direct-to-font tables,
that give a font position for each user byte value, and user-to-unicode
tables that give a unicode value for each user byte. The corresponding
glyph is now found using the unicode index of the font.
sets 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
sets up a user-to-unicode table that assumes that the user
uses ISO 8859-2.
command can read the map in either of two formats:
1. 256 or 512 bytes binary data
2. two-column text file
Format (1) is a direct image of the translation
table. The 256-bytes tables are direct-to-font,
the 512-bytes tables are user-to-unicode tables.
Format (2) is used to fill the
as follows: cell with offset mentioned in the first column is filled
with the value mentioned in the second column.
When values larger than 255 occur, or values are written using
the U+xxxx notation, the table is assumed to be a user-to-unicode
table, otherwise it is a direct-to-font table.
Values in the file may be specified in one of several
String of decimal digits not starting with '0'
String of octal digits beginning with '0'.
String of hexadecimal digits preceded by "0x".
String of four hexadecimal digits preceded by "U+".
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
because they have special meaning for the driver.
is the default directory for screen mappings.
Copyright (C) 1993 Eugene G. Crosser
This software and documentation may be distributed freely.
- INPUT FORMAT
- SEE ALSO
This document was created by
using the manual pages.
Time: 21:29:50 GMT, January 19, 2018