See The Linux Cyrillic HOWTO (a bit obsoleted).
Более новая русская версия The Linux Cyrillic HOWTO ведётся Евгением Балдиным.
The Linux console driver is quite a flexible piece of software. It is capable of changing fonts as well as keyboard layouts. To achieve it, you'll need the
kbd package. Both RedHat and Slackware install
kbd as part of a system.
kbd package contains keyboard control utilities as well as a big collection of fonts and keyboard layouts.
Cyrillic setup with
kbd usually involves two things:
- Screen font setup. This is performed by the setfont program. The fonts files are located in
/usr/lib/kbd/consolefonts. NOTE: Never run the
setfontprogram under X because it will hang your system. This is because it works with low-level video card calls which X doesn't like.
- Load the appropriate keyboard layout with the
This script sets up the Cyrillic mode for Linux console (
loadkeys ru1 setfont Cyr_a8x16 mapscrn koi2alt echo -ne "\033(K" echo "Use the right Ctrl key to switch the mode..."
In case you use popular
consolechars -f UniCyr_8x16 -m koi8-r echo -ne "\033(K" loadkeys ru1