NAME
mapscrn - load screen output mapping tableSYNOPSIS
mapscrn [-V] [-v] [-o map.orig] mapfileDESCRIPTION
The mapscrn command is obsolete - its function is now built-in into setfont. However, for backwards compatibility it is still available as a separate command. 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.USE
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. The commandmapscrn trivial
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
mapscrn 8859-2
sets up a user-to-unicode table that assumes that the user uses ISO 8859-2.
INPUT FORMAT
The mapscrn command can read the map in either of two formats:OTHER OPTIONS
- -V
- Prints version number and exits.
- -v
- Be verbose.
FILES
- /usr/share/consoletrans
- The default directory for screen mappings.
SEE ALSO
setfont(8)AUTHOR
Copyright (C) 1993 Eugene G. Crosser20 March 1993 | kbd |