From owner-freebsd-current@FreeBSD.ORG Wed Jun 16 13:45:32 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 5FB0F106566B for ; Wed, 16 Jun 2010 13:45:32 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (mx0.hoeg.nl [IPv6:2001:4dd0:ff41::b23f:aa]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6E38FC14 for ; Wed, 16 Jun 2010 13:45:32 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id 2806B2A29245; Wed, 16 Jun 2010 15:45:30 +0200 (CEST) Date: Wed, 16 Jun 2010 15:45:30 +0200 From: Ed Schouten To: Anton Shterenlikht Message-ID: <20100616134530.GX1797@hoeg.nl> References: <20100616131503.GA77642@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="szlDyXxWT551m6yh" Content-Disposition: inline In-Reply-To: <20100616131503.GA77642@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-current@freebsd.org 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: Wed, 16 Jun 2010 13:45:32 -0000 --szlDyXxWT551m6yh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Anton Shterenlikht wrote: > My system is amd64 r209195. >=20 > I was wondering if the user localisation > section of the handbook is a bit out of date: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localizat= ion.html >=20 > The handbook suggests using cons25r, whereas > the default console type in /etc/ttys is now xterm. > And keeping cons25r together with relevant fonts, > screenmap and keymap in /etc/rc.conf doesn't seem > to work anymore. >=20 > Also, the latest I can find on UTF8 in FreeBSD > is this thread: > http://lists.freebsd.org/pipermail/freebsd-current/2009-July/009349.html >=20 > I tried to follow the advice given in this thread, > namely I've rebuilt the kernel with TEKEN_UTF8 > (it seems the other option mentioned, TEKEN_XTERM, is no > longer valid), and set LC_CTYPE=3Dru_RU.UTF-8 > in my shell. This didn't seem to have any effect. Even though UTF-8 support for the console is closer than it used to be, it's still not useful in practice, since syscons won't display it. I guess if you want to get Russian working on HEAD, you should do the following: - Don't set TEKEN_* in your kernel configuration file. - Just use the xterm terminal type in /etc/ttys. - Set LC_CTYPE=3Dru_RU.{CP1251,CP866,ISO8859-5,KOI8-R}. - Load a font for Syscons which uses the same character as the one you chose above. So this means 8-bit character sets is the best thing we can do right now. --=20 Ed Schouten WWW: http://80386.nl/ --szlDyXxWT551m6yh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwY1XoACgkQ52SDGA2eCwX07ACcCWbz9Lnwj0+9eKiLwkjcc+q/ 4+YAn3Z0O5u06JFTHiDceohFqNx+j0bl =LRpL -----END PGP SIGNATURE----- --szlDyXxWT551m6yh--