hi *
I try to add support for ru_RU.UTF-8 to Slackware 11.0. For this, I just do the following:
Code:
1) cat > /etc/rc.d/rc.keymap << "EOF"
#!/bin/sh
if [ -x /usr/bin/loadkeys ]; then
/usr/bin/loadkeys ru-utf.my.map.gz
fi
2) chmod a+x /etc/rc.d/rc.keymap
3) cat > /etc/rc.d/rc.font << "EOF"
#!/bin/sh
unicode_start cyr-sun16
4) cat > /etc/profile.d/lang.sh << "EOF"
#!/bin/sh
export LC_CTYPE=ru_RU.UTF-8
export LC_COLLATE=ru_RU.UTF-8
5) in file /usr/bin/unicode_start I change line
echo -n -e '33%G'
with
for n in 1 2 3 4 5 6; do
echo -n -e '\033%G' > /dev/tty$n
done
7) in file /usr/share/locale/locale.alias I find line "russian" and change it
to:
russuin ru
ru ru_RU
ru_RU ru_RU.UTF-8
So after I do the above and reboot it begins work, but only in /dev/tty1 and in /dev/pts/* i.e in the first virtual console (/dev/vc/1) and in pseudo-terminals (/dev/pts/*). But it doesn't work on the other virtual consoles (tty2 - tt6). Any suggestions?
thanks in advance