Next Previous Contents

13.

, Unix. ,

, X Window ( ) .

13.1 Suse

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

, X Window - .

13.2 Linux RedHat 5.2

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

, X Window - .

13.3 Debian

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-R
root.

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.

X Window System

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 .

13.4 Slackware 7

( ) Slackware-7-INSTALL-RUS.HOWTO () 1999 (multik@sw.ru, multik@istu.edu)

.

:

, Slackware .

X Window System

, X Window - .

( - , ):

.Xmodmap . Alt.

/etc/XF86Config, "Keyboard", XkbDisable, .


Next Previous Contents