, Unix. ,
, X Window ( ) .
koi8. 6.3
yast .
"System administration"
"Set the console font". -
"Cyr_a8x" ( Cyr_a8x16.pcfu.gz
) -
"As standart font".
"System administration" "Change configuration file".
CONSOLE_FONT - ( - )
CONSOLE_SCREENMAP - koi2alt
CONSOLE_MAGIC - "(K" ( )
KEYTABLE - ru3.map.gz
(
Alt - ) ru4.map.gz
(
CapsLock - Windows )
CONSOLE_UNICODEMAP - cyralt.uni
RC_LANG - ru_RU.KOI8-R
rc.local /etc/
.
P.S. , "" (LANGUAGE=russian), (, )
, X Window - .
RedHat? , Linux : kbd consoletools. RedHat 5.x kbd. RedHat 6.x - consoletools. , , , initscripts RedHat 5.x 6.x.
( ) Linux RedHat 5.2 initscripts. SYSV init, . , RPM, RedHat.
RedHat 5.2
loadkeys kbd-096a-8
.
, RedHat .
loadkeys
/etc/rc.d/init.d/keytable
, :
/etc/sysconfig/keyboard
.
KEYTABLE:
/etc/sysconfig/keyboard : ============ KEYTABLE=ru1 ============
: kbdconfig,
/etc/sysconfig/keyboard
.
/usr/lib/kbd/keymaps/
.
ru_win_ctrl.map.gz
IP Labs.
Ctrl,
, Windows, ..
Shift. (
).
/usr/lib/kbd/keymaps/i386/quwerty/
,
kbdconfig ru_win_ctrl.
( ru1
( Shift 6, Shift 7 )).
:
/etc/rc.d/init.d/keytable start
RedHat 5.2 setfont mapscrn kbd-096a-8.
, , :
$ setfont Cyr_a8x16 $ mapscrn koi2alt
,
Charset G1
.
/dev/vty*
"" ESC (K.
$ echo -ne "\033(K"
, RedHat , . "" . RedHat-, .
RedHat "" , UNICODE :
$ setfont Cyr_a8x16 -u koi8
, "" mc . RedHat 6 : consoletools initscripts, -.
! ;-)
/sbin/setsysfont
( shell-),
/etc/sysconfig/i18n
.
, i18n
, .
/etc/sysconfig/i18n ===== SYSFONT= UNIMAP= =====
,
ESC (K. ~.profile
, X Window - .
Debian 2.2.( - - ).
/etc/environment
LANG=C
LANG=ru_RU.KOI8-R
. ,
root
X Window, /root/.bashrc
.
2.2,
# mv /usr/share/locale/ru_SU /usr/share/locale/ru_RU.KOI8-Rroot.
ru_SU ? , SU , , . ru_RU . ru_RU , ISO-8859-5. ru_RU.KOI8-R.
kbd
,
console-tools
. /etc/console-tools/config
:
SCREEN_FONT=Cyr_a8x16 APP_CHARSET_MAP=koi2alt.trans
cp /usr/share/keymaps/i386/qwerty/ru1.map.gz /etc/console-tools/default.map.gz
root.
- - APP_CHARSET_MAP?
, KOI8-R,
(APP_CHARSET_MAP).
'', 'YO'. ,
( debian linux-koi8).
cp866
. -
. ru1 102-
MicroSoft' .
2.2,
console-tools
kbd
- :
/etc/kbd/config
:
CONSOLE_FONT=Cyr_a8x16 CONSOLE_MAP=koi2alt.
# cp /usr/share/keymaps/i386/qwerty/ru1.map.gz /etc/default.map.gz
root.
xfonts-cyrillic CD.
# ln /usr/X11R6/lib/X11/fonts/cyrillic /usr/X11R6/lib/X11/fonts/local
XF86Setup ,
Russian
.
xdm, /etc/inittab
id:2:initdefault:
id:1:initdefault:
. ,
. /etc/environment export LANG
xdm (/etc/init.d/xdm
).
/etc/X11/xdm/xdm-config
DisplayManager.exportList: LANG
/usr/X11R6/lib/X11/fonts/cyrillic
? ,
XF86Setup
/usr/X11R6/lib/X11/fonts/local
,
"Files" /etc/X11/XF86Config
.
xdm? xdm .
( )
Slackware-7-INSTALL-RUS.HOWTO
() 1999 (multik@sw.ru, multik@istu.edu)
:
/etc/rc.d/rc.font.sample
rc.font
setfont Cyr_a8x16 mapscrn koi2alt for n in 1 2 3 4 5 6; do echo -ne "\033(K" > /dev/tty$n done loadkeys ru.map
.inputrc
/etc/skel
$if Bash set convert-meta off set output-meta on set input-meta on set show-all-if-ambiguous on "\e[1~" beginning-of-line "\e[2~" " " "\e[3~" delete-char "\e[4~" end-of-line "\e[C" forward-char "\e[D" backward-char "\e[A" previous-history "\e[B" next-history "\e[21~": "exit\C-m" # F10 - Exit from shell $endif
exit
.
/etc/profile
export LANG=ru_RU.KOI8-R export NLSPATH=/usr/share/locale/ru_RU/ export LESSCHARSET=koi8-r
/usr/share/locale/ru_RU/
.
cd /usr/share/locale localedef -c -f /usr/share/i18n/charmaps/KOI8-R -i \\ /usr/share/i18n/locales/ru_RU \\ ru_RU.KOI8-R ln -s ru_RU.koi8r ru_RU.KOI8-R
\\
-
locale.alias
-
ru ru_RU.KOI8-R
, Slackware .
, X Window - .
( - , ):
.Xmodmap . Alt.
/etc/XF86Config
, "Keyboard",
XkbDisable
,
.