Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 2010 11:54:11 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        "Andrey V. Elsukov" <bu7cher@yandex.ru>
Cc:        Anton Shterenlikht <mexas@bristol.ac.uk>, freebsd-current@freebsd.org, Alexandre Sunny Kovalenko <gaijin.k@ovi.com>
Subject:   Re: how to set up UTF8 russian in -current?
Message-ID:  <20100617105411.GA98964@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <4C19A270.4060901@yandex.ru>
References:  <20100616131503.GA77642@mech-cluster241.men.bris.ac.uk> <20100616134530.GX1797@hoeg.nl> <20100616163035.GA42606@mech-cluster241.men.bris.ac.uk> <1276739842.66339.15.camel@RabbitsDen> <4C19A270.4060901@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 17, 2010 at 08:20:00AM +0400, Andrey V. Elsukov wrote:
> On 17.06.2010 5:57, Alexandre "Sunny" Kovalenko wrote:
> > Can you specifically point out things that do not work for you in the
> > xterm window? I am able to create files and directories with Cyrillic
> > names, use Cyrillic strings as the command parameters, etc. It has been
> > working for me for quite a long time, so I could not really remember
> > what, if anything, I had to do, but we can compare settings if you'd
> > like to. I do use Gnome, though, so some of its pixie dust could have
> > been spilled onto xterm.
> > 
> > I have attached small screenshot as an illustration -- if this is not
> > what you are talking about, please, accept my apology for the noise.
> 
> I think Anton said about console localization (not X Window).

well, after Ed's reply I got console localisation back.
It was apparently TEKEN_* option in kernel that broke it.

I'm struggling to get console localisation in xterm.

Here's a small example of what I get:

http://seis.bris.ac.uk/~mexas/xterm-mangled-russian.png

I have this in /etc/rc.conf:

font8x8="cp866-8x8"
font8x14="cp866-8x14"
font8x16="cp866b-8x16"
keymap="ru.koi8-r"
scrnmap="koi8-r2cp866"

And these environment variables in shell:

LANG=en_US.ISO8859-1
LC_CTYPE=ru_RU.KOI8-R
TERM=xterm
XTERM_VERSION=XTerm(258)
XTERM_LOCALE=ru_RU.KOI8-R
XTERM_SHELL=/bin/tcsh

many thanks
anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100617105411.GA98964>