Project

General

Profile

Actions

Bug #2704

closed

Russian characters in tcsh

Added by s4 over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Userland
Target version:
Start date:
07/29/2014
Due date:
% Done:

100%

Estimated time:

Description

Tcsh in DragonFly v3.8.1-RELEASE not show russian characters.

Here is my settings:

  1. cat /etc/rc.conf
    ...
    font8x8="cp866-8x8"
    font8x14="cp866-8x14"
    font8x16="cp866-8x16"
    scrnmap="koi8-r2cp866"
    keymap="ru.koi8-r.win"
    ...
  2. 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
    ...
  3. 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@dflybox ~]$ ls notexist
ls: notexist: Нет такого файла или каталога # <-- OK
[user@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.

Actions

Also available in: Atom PDF