# International console driver support for Linux (Mar 14, 1993)
# Eugene G. Crosser <crosser@pccross.msk.su>

This package provide fixes in the kernel (console.c, keydoard.c and vt.c)
and utilities setfont, mapscrn and mapkey to load custom EGA/VGA fonts,
specify screen output mapping and keyboard layout.

make all	-	compile utilities and binary tables
make apply	-	apply cdiffs to the kernel code & .h files
make install	-	install utilities in the /etc directory

Utilities make use of ioctl() entries added to the kernel as follows:

"setfont" accepts binary font from the file specified as a paramter.
File size may be 2048, 3584 and 4096 bytes for 8x8, 8x14 and 8x16
fonts respectively.

"mapscrn" accepts a 256 byte translation table from the file specified as a
parameter. First 32 bytes of the file (control characters) are always 
ignored. All screen output will be translated if a "\033(K" (or "\033)K")
sequence was used to select "user table".

"mapkey" accepts a kd_mapkey structure defined in /usr/include/sys/kd.h
from the file specified as a parameter. This structure consists of
4 97 byte mapping tables, 2 96 bit bitstrings and a flag byte.
Mapping tables are "main", "shift main", "alternete" and "shift alternate"
Shift tables are selected with the Shift key or CapsLock, alternate 
tables - by AltGr or ScrolLock. All four tables map scancodes to output
characters. 96 bit (12 byte) bitstrings specify which scancodes should
map via "shift" tables when capslock is on. First table corresponds to
"main" state, secong - to "alternate" state. Flags byte specifies which
"dead" characters used for diacritic symbols are active. These characters
are "`", "'", "^", "~" and dieresis (umlaut). 0x01 bit activates
backquote, 0x10 activates umlaut.

Keyboard related defines no longer needed after this fixes, so is the
"fixkbd" utility. You can customize your keyboard, as well as screen
fonts and mapping, from /etc/rc and/or at any moment.

Note that if you need to make custom screen mapping default, you will
have to output the magic escape sequence ("\033(K" or "\033)K") to every
virtual screen in use. That can be done from /etc/profile. 
