Packages like recode and konwert-1.8 allow one to convert
between different character encodings.

The X distribution contains xmodmap, xset, kbd_mode.
(See also X386keybd(1) for the situation under XFree86 1.3,
and Xserver(1) for the XKEYBOARD extension under X11R6.)
A handy interface to xmodmap is xkeycaps, see
http://www.jwz.org/xkeycaps/.

termcap-2.0.8.tar.gz contains termcap, an old terminal
capabilities data base. ncurses-1.9.9e.tar.gz contains the
termlib data base which obsoletes termcap. (However,
there are still many programs using termcap.)

See loadkeys(1), setleds(1) and setmetamode(1) for the codes generated by the
various keys and the setting of leds when not under X. Under X, see xmodmap(1)
and xset(1).

See setfont(8) for loading console fonts. Many people will want to
load a font like iso01.f16 because the default font is the
hardware font of the video card, and often is a `Code Page 437' font
missing accented characters and other Latin-1 symbols.

See setterm(1) and kbdrate(8) for properties such as foreground and background
colors, screen blanking and character repeat rate when not under X.
Under X, see xset(1), also for key click and bell volume.

The file /etc/termcap defines the escape sequences
used by many programs addressing the console (or any other terminal).
See termcap(5).
A more modern version is found in /usr/lib/terminfo.
See terminfo(5). Terminfo files are compiled
by the terminfo compiler /usr/lib/terminfo/tic, see tic(1).
Their contents can be examined using the program infocmp,
see infocmp(1).