mapscrn
Hurricane Electric Internet Services
NAME
mapscrn - load screen output mapping table
SYNOPSIS
mapscrn [ -o map.orig ] mapfile
DESCRIPTION
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.
OPERATION
The mapscrn command can read the map in either of two for-
mats:
1. 256 byte binary data
2. two-column text file
Format (1) is is an image of translation table. Any time
a character with the code i is output to the console
device, the character with the code table[i] appears on
the screen. Format (2) is used to fill the table as fol-
lows: cell with offset mentioned in the first column is
filled with the value mentioned in the second column.
Values in the file may be specified in one of four for-
mats:
1. Decimal: string of decimal digits not beginning with
'0'
2. Octal: string of octal digits beginning with '0'
3. Hexadecimal: string of hexadecimal digits preceded by
"0x"
4. Character: Single character enclosed in single quotes.
Note that blank, comma, tab character and '#' cannot be
specified with the 4th format.
Note that control characters ( with codes < 32) cannot be
re-mapped with mapscrn because they have special meaning
for the driver.
SEE ALSO
setfont(8)
AUTHOR
Copyright (C) 1993 Eugene G. Crosser
<crosser@pccross.msk.su>
This software and documentation may be distributed freely.
Hurricane Electric Internet Services
Copyright (C) 1998
Hurricane Electric.
All Rights Reserved.