, . , , , . , , .
Linux , . , , X Window. , .
, - . , : . , .
, "" Linux . , , . , , . .
Linux - . , . , kbd. Linux kbd .
kbd , .
kbd :
loadkeys. Redhat ,
.
/usr/sbin/kbdconfig.
loadkeys
~/.profile .
setfont. /usr/lib/kbd/consolefonts.
: Linux, setfont
X Windows .
.
, ,
PC - (
Midnight Commander),
Alt
(console character map). ,
Alt ,
, KOI-8R
Alt .
,
Alt .
, , .
loadkeys /usr/lib/kbd/keytables/ru.map setfont /usr/lib/kbd/consolefonts/Cyr_a8x16 mapscrn /usr/lib/kbd/consoletrans/koi2alt echo -ne "\033(K" #
, Control.
Alt . - . , , kbd.
, , Alt , , KOI8-R .
loadkeys /usr/lib/kbd/keytables/ru.map setfont /usr/lib/kbd/consolefonts/koi8-8x16
, , .
, , .
bash tcsh
( ),
, Control.
, .
'q' "", 'w'
"", ..
, ( US) . :
loadkeys /usr/lib/kbd/keytables/defkeymap.map setfont /usr/lib/kbd/consolefonts/default8x16
: , ( ), X Windows. , , X ( ), .
, X Windows . X Windows. .
, .
1995 X Window KOI8-R KOI8-R fonts, created by Cronyx. XFree86.
, X Windows . RedHat ( RedHat 5.2).
, . , , - , , :
xlsfonts | grep koi8'.
, X
.find / -name crox\*.pcf\*. X , - .
, .
Cronyx (
ftp.kiae.su), , xrus (
xruskb, xrus.
Xrus Xfree86
(38 68).
, vakufonts
,
X
Windows. ,
. Vakufonts, , ,
.
, Maple V Linux,
vakufonts,
"" .
, :
XFree86-cyrillic-fonts.
,
X Windows.
/usr/lib/X11/fonts/cyrillic ,
.
*.bdf ),
. :
bdftopcf -o <font>.pcf <font>.bdfX ,
compress ( XFree86
gzip):
compress *.pcf ( gzip *.pcf)- , "" ,
fonts.alias , ,
.
fonts.dir.
. , :
cd <new font directory> mkfontdir .
XF86Config. ,
startx ( Redhat
/etc/X11). man XF86Config (4/5).
xinit.
xinit. xinit(1x).
~/.xinitrc ( ~/.Xclients,
~/.xsession RedHat).
:
xset +fp < > xset fp rehash, '
+fp'- ,
.
, , , fixed,
fixed font ,
.
.
fixed .
- 6x13, ,
, Emacs/XEmacs
. , -
, .
xfontsel(1x),
. X ,
X . ,
~/.Xdefaults:
*font: 6x13
(
'xset q'),
-
, - ,
.
. X
,
, (
editres(1x))
, . :
$ xterm -font '-cronyx-*-bold-*-*-*-19-*-*-*-*-*-*-*'
... xterm ;
$ xfontsel -xrm '*quitButton.font: -*-times-*-*-*-*-13-*-*-*-*-*-koi8-*'
... Cyrillic Times Quit
xfontsel.
TrueType, Windows ( Mastdie :)), , X. TrueType .
, X Windows. TrueType XFSFT X (, TrueType XFree86).
- , , . , , , :
xfstt ... --encoding koi8-r,windows-1251,iso8859-1
, X Windows -
, xfontsel ttf
.
X (X11R61 )
"" : ,
xmodmap, , Xkb
(X KeyBoard). , , Xkb !.
"russian keyboard". , ,
keysymdef.h.
.
, ,
ASCII -
! ,
keysymdef.h
8 ASCII. ,
, KOI8-R. (
: - Xkb
, KOI8-R
XFree86. Redhat
XFree86-3.3.3-1.)
Xkb, XF86Config
Keyboard , ,
Xkb ( ).
, :
XkbDisable
xmodmap
.
, .
xmodmap.
. ,
, xmodmap, , -,
, .
XFree . ,
.
xmodmap,
.
. ,
xruskb,
xmodmap. Redhat Linux
RPM .
, bash 8 ,
.
~/.inputrc.
:
set meta-flag on set convert-meta off set output-meta on
.cshrc :
setenv LC_CTYPE iso_8859_5 stty pass8
POSIX stty ( Linux), :
stty -istrip cs8
public domain ksh - pdksh
5.1.3 , 8
vi . :
set -o vi
LESSCHARSET:
export LESSCHARSET=koi8-r
less KOI8-R,
:
export LESSCHARSET=latin1
, full 8 bits
Options/Display .
, Linux .
off-topic: mc Xterm :
COLORTERM:
COLORTERM= ; export COLORTERM
, shell
. rlogin ,
'rlogin -8'.
, csh (
csh). - .zshrc
/etc/zshrc.