From owner-freebsd-current@FreeBSD.ORG Thu Jun 17 10:54:15 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B1D2106567F for ; Thu, 17 Jun 2010 10:54:15 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 363078FC22 for ; Thu, 17 Jun 2010 10:54:14 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1OPCjc-000401-Ad; Thu, 17 Jun 2010 11:54:13 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1OPCjb-0006Iu-MI; Thu, 17 Jun 2010 11:54:11 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id o5HAsB5e016779; Thu, 17 Jun 2010 11:54:11 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id o5HAsBsg016778; Thu, 17 Jun 2010 11:54:11 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Thu, 17 Jun 2010 11:54:11 +0100 From: Anton Shterenlikht To: "Andrey V. Elsukov" Message-ID: <20100617105411.GA98964@mech-cluster241.men.bris.ac.uk> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C19A270.4060901@yandex.ru> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Anton Shterenlikht , freebsd-current@freebsd.org, Alexandre Sunny Kovalenko Subject: Re: how to set up UTF8 russian in -current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2010 10:54:15 -0000 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