Hello
I need to have a possibility to type and read cyrillic fonts in a terminal
window in OpenBSD 4.2
unfortunately I did not find ANY onformation on console cyrrilization in
FAQ. Hope you will add it soon. Googling I found one article and followed
it.
I did the following:
1. Uncommented the string "kayboard.encoding=ru" in /etc/wsconsctl.conf
2. Added into /etc/rc.local such strings:
if [ -x /usr/sbin/wsconfig -a -x /usr/sbin/wsfontload ]; then
/usr/sbin/wsfontload -h 16 /usr/share/misc/pcvtfonts/koi8-r-8x16
for SCREEN in 1 2 3 4 ; do
/usr/sbin/wsconscfg -dF $SCREEN
/usr/sbin/wsconscfg -t 80x15bf -e vt100 $SCREEN
done
# Adding a group switch with right Ctrl key:
/sbin/wsconsctl -w keyboard.map+="kaycode 157 = Mode_Lock" >
/dev/null
( I also tried to put group switch to the right Alt key with such a string:
/sbin/wsconsctl -w keyboard.map+="kaycode 184 = Mode_switch" > /dev/null but
it also didn't give any result :( )
keyboard.ledstate=2
fi
3. Added to /etc/kshrc this string: "set +o emacs-usemeta"
According to the article that sould work in OpenBSD 3.0 and newer. I've got
OpenBSD 4.2 distribution and these steps did not help me.
Please suggest what do I have to do to get an opportunity reading and typing
russian texts in console.
Best regards, Alexandr.
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/