Re: how to set up UTF8 russian in -current?

From: Anton Shterenlikht <mexas_at_bristol.ac.uk>
Date: Thu, 17 Jun 2010 11:54:11 +0100
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
Received on Thu Jun 17 2010 - 08:54:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC