Gentoo Archives: gentoo-dev

From: Alexander V Svadkovsky <alex-sly@×××××××.ru>
To: gentoo-dev@g.o
Cc: alter@×××××××.ru
Subject: [gentoo-dev] Re: Gentoo l18n - russian
Date: Sun, 27 Oct 2002 07:00:26
Message-Id: 20021027125527.GA4723@avs.homelinux.org
1 Hello, you wrote:
2 > Hi there. I plan to use GentooLinux (I using Linux since 2.0, FreeBSD
3 > since 4.2)
4 > coz it have ports-like system, it's just grate! But I should know how I be
5 > able type and see russian chars(koi8-r) in console?
6 > What tool is used(kbd?). What doc I should read? Or russification of
7 > Gentoo is the same as other distros(Slackware for example)?
8 >
9 > Thanks.
10
11 That's how I do it: (The toolkit for console/keyboard manipulations in Gentooo
12 is kbd)
13 In /etc/rc.conf, you should set
14 KEYMAP, CONSOLEFONT and CONSOLETRANSLATION.
15
16 For keymap, there are several choices. Personally, I use a version of "ru-ms" changed so that
17 my backspace key sends "Delete" (the line that does it is commented in the original ru-ms.map)
18 Or you can use one of the ru*.map's you like best.
19
20 The console fonts for KOI8-R included in kbd are inevitably ugly, so if you don't like them,
21 you can load the Cyr_a8x16 font and, as it's for cp866, load the koi2alt translation.
22 The distros like RedHat use a font called 'cyr-sun16' which looks very nice, so you could
23 as well take it from a RedHat package and use it. (Then you'll need the 'koi8r' unimap)
24
25 As for l18n, I created a /etc/env.d/91locale file:
26 --
27 LANG=ru_RU.KOI8-R
28 --
29
30 --
31 With best regards, Alexander V. Svadkovsky