From owner-freebsd-current Fri Dec 11 03:31:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA21892 for freebsd-current-outgoing; Fri, 11 Dec 1998 03:31:17 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from rf900.physics.usyd.edu.au (rf900.physics.usyd.edu.au [129.78.129.109]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA21874; Fri, 11 Dec 1998 03:31:12 -0800 (PST) (envelope-from dawes@rf900.physics.usyd.edu.au) Received: (from dawes@localhost) by rf900.physics.usyd.edu.au (8.8.5/8.8.2) id WAA10434; Fri, 11 Dec 1998 22:30:48 +1100 (EST) Message-ID: <19981211223048.K6124@rf900.physics.usyd.edu.au> Date: Fri, 11 Dec 1998 22:30:48 +1100 From: David Dawes To: Igor Lidin , current@FreeBSD.ORG Cc: questions@FreeBSD.ORG Subject: Re: xterm input is in cp866, not in koi8-r References: <002401be24f3$0e58b520$5c987dc1@lightning.relcom.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <002401be24f3$0e58b520$5c987dc1@lightning.relcom.ru>; from Igor Lidin on Fri, Dec 11, 1998 at 01:43:14PM +0300 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Dec 11, 1998 at 01:43:14PM +0300, Igor Lidin wrote: >Can anyone help me? > >Environment: >FreeBSD 3.0-Current as of 1 Dec 1998 >XFree86 3.3.3 built from ports collection as of 4 Dec 1998 >/ports/russian/X.language port installed > >I have LANG and MM_CHARSET environment variables >set to ru_RU.KOI8-R. Russian fonts are first in my FontPath. There is a bug in the 3.3.3 Xlib code that results in an iso8859-6 table being used instead of the koi8-r table. Here's the fix. Let me know if it helps. David -- --- imConv.c 1998/10/21 06:40:38 1.5.2.5 +++ xc/lib/X11/imConv.c 1998/12/06 05:40:33 1.5.2.6 @@ -429,7 +429,7 @@ #endif {sUTF8, "utf8", "\033%B"}, /* Non-standard */ - {sCyrillic, "KOI8-R", "\033%/1\200\210koi8-r\002"}, + {sKoi8, "KOI8-R", "\033%/1\200\210koi8-r\002"}, {sLatin9, "ISO8859-15", "\033%/1\200\213iso8859-15\002"},/* a.k.a. Latin-0 */ }; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message