Russian characters in tcsh
s4
s4inbox at gmail.com
Tue Jul 29 03:11:06 PDT 2014
Hello!
I trying to make tcsh show me russian characters in console on DragonFly
v3.8.1-RELEASE. Here is what i did:
# cat /etc/rc.conf
...
font8x8="cp866-8x8"
font8x14="cp866-8x14"
font8x16="cp866-8x16"
scrnmap="koi8-r2cp866"
keymap="ru.koi8-r.win"
...
# grep ttyv /etc/ttys
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
...
# pw usermod -n user -L russian
Then i've been reboot and logging as normal user:
> echo $version
tcsh 6.18.01 (Astron) 2012-02-14 (x86_64-amd-DragonFly) options
wide,nls,dl,al,kan,rh,color,filec
> ls notexist
ls: notexist: Нет такого файла или каталога # <-- OK
> notcmd
notcmd: п п╬п╪п╟п╫п╢п╟ п╫п╣ п╫п╟п╧п╢п╣п╫п╟. # <-- BAD
Then i've been trying to use bash:
> bash
[user at dflybox ~]$ ls notexist
ls: notexist: Нет такого файла или каталога # <-- OK
[user at dflybox ~]$ notcmd
bash: notcmd: команда не найдена # <-- OK
In bash everything works by default. After adding ~/.initrc with:
set convert-meta off
set input-meta on
set output-meta on
in tcsh nothing changed (as expected).
Then I've been trying my settings in FreeBSD 8.3 and in their tcsh
everything works ok. What i'm missing?
Thanks and sorry for my english)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20140729/8b32d5a7/attachment-0002.htm>
More information about the Users
mailing list