Russian console

Darwin

New Member

Reaction score: 4
Messages: 13

For russian users only ;)
1 step, russian ttys:

Code:
(12:07)-[Darwin@Darwin ~]% cat /etc/ttys | grep 25r
ttyv0   "/usr/libexec/getty Pc"         cons25r on  secure
ttyv1   "/usr/libexec/getty Pc"         cons25r on  secure
ttyv2   "/usr/libexec/getty Pc"         cons25r on  secure
ttyv3   "/usr/libexec/getty Pc"         cons25r on  secure
ttyv4   "/usr/libexec/getty Pc"         cons25r on  secure
ttyv5   "/usr/libexec/getty Pc"         cons25r on  secure
ttyv6   "/usr/libexec/getty Pc"         cons25r on  secure
ttyv7   "/usr/libexec/getty Pc"         cons25r on  secure

2 Step, russian fonts:
edit /etc/rc.conf

Code:
font8x14="cp866-8x14"
font8x16="cp866-8x16"
font8x8="cp866-8x8"
keymap="ru.koi8-r"
scrnmap="koi8-r2cp866"

3 Step, russian user(s)

login for root, and type "vipw"

Code:
Darwin:XXXXXXXXXXXXXX:1001:0[B]:russian:[/B]0:0:Darwin:/home/Darwin:/bin/tcsh

4 step, reboot :)

reboot your computer. Finish
 

lyuts

Active Member

Reaction score: 11
Messages: 193

I also use this

setenv LANG ru_RU.KOI8-R
setenv MM_CHARSET KOI8-R
 

nal

New Member

Reaction score: 3
Messages: 13

lyuts said:
I also use this

setenv LANG ru_RU.KOI8-R
setenv MM_CHARSET KOI8-R

if user class is set the LANG variable gets defined.
 
Top