Slackware-14.1
UTF-8
Проверяем
Код:
# grep append /etc/lilo.conf append=" vt.default_utf8=1"
если =0, то правим на =1 и выполняем
Код:
# lilo
/etc/profile.d/lang.sh
Код:
#!/bin/sh export LANG=ru_RU.UTF-8 export LC_COLLATE=C
/etc/rc.d/rc.font
Код:
#!/bin/sh setfont LatArCyrHeb-16 for i in 1 2 3 4 5 6; do echo -ne "\033%G" > /dev/tty$i done
/etc/rc.d/rc.keymap
Код:
#!/bin/sh # Load the keyboard map. More maps are in /usr/share/kbd/keymaps. if [ -x /usr/bin/loadkeys ]; then echo "Loading keybord layout, CapsLock to toggle" /usr/bin/loadkeys ruwin_cplk-UTF-8 fi
Выполняем:
Код:
# chmod a+x /etc/rc.d/rc.font /etc/rc.d/rc.keymap
grep ^NROFF /usr/lib/man.conf
Код:
NROFF /usr/bin/groff -Dutf8 -Tutf8 -mandoc
/usr/share/locale/locale.alias правим и добавляем
Код:
russian ru_RU.UTF.8 ru_RU ru_RU.UTF-8 ru ru_RU.UTF-8