From owner-freebsd-ports Sun Dec 8 21:40:09 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id VAA03194 for ports-outgoing; Sun, 8 Dec 1996 21:40:09 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id VAA03162; Sun, 8 Dec 1996 21:40:06 -0800 (PST) Resent-Date: Sun, 8 Dec 1996 21:40:06 -0800 (PST) Resent-Message-Id: <199612090540.VAA03162@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-ports Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, mi@aldan.ziplink.net Received: from rtfm.ziplink.net ([199.232.255.52]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id VAA01988 for ; Sun, 8 Dec 1996 21:33:08 -0800 (PST) Received: (from mi@localhost) by rtfm.ziplink.net (8.7.5/8.7.3) id AAA01510; Mon, 9 Dec 1996 00:31:24 -0500 (EST) Message-Id: <199612090531.AAA01510@rtfm.ziplink.net> Date: Mon, 9 Dec 1996 00:31:24 -0500 (EST) From: mi@aldan.ziplink.net Reply-To: mi@aldan.ziplink.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/2182: FreeBSD, XFree86-3.2, locales; russian/X.language Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2182 >Category: ports >Synopsis: FreeBSD's and X-32's list of locales do not match >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 8 21:40:04 PST 1996 >Last-Modified: >Originator: Mikhail Teterin >Organization: >Release: FreeBSD 2.2-960801-SNAP i386 >Environment: >Description: XFree86 has a list of locales, including ru_RU.KOI8-R. FreeBSD's correspondent is ru_SU.KOI8-R (I am sure there are other mismatches). Nope, applying Alex Chernov's port from russian/X.language does not help. IMHO the port is seriously broken. It does not install all the files listed in pkg/PLIST and after applying it there is no ${X11ROOT}/lib/X11/locale/locale.alias, for example. Only locale.alias.bak. Whatever it installs goes into misterious X11/nls , X11/locale becomes unusable. I do not think there is a need for the port at all, because XFree86 is supposed to handle displaying cyrillics on its own. I am sure, however, the port will be usefull for _entering_ koi-characters (currently, xterm beeps on my attempts to type them). IMO, the port of XFree86-3.2 (thanks, Jean-Marc) has to be fixed to make sure ALL of the FreeBSD's locales have correctly corresponding X-locales. Here is my list (after I added the ru_SU.KOI8-R manually): mi@rtfm:/usr/share/locale (1009) foreach l ( `\ls` ) foreach? (grep -q $l /usr/X11R6/lib/X11/locale/locale.alias || \ grep -q $l /usr/X11R6/lib/X11/locale/locale.dir ) || \ echo $l not present foreach? end lt_LN.ASCII not present lt_LN.ISO_8859-1 not present ru_SU.CP866 not present us-ascii not present >How-To-Repeat: Install XFree86-3.2. setenv LANG ru_SU.KOI8-R; xterm xterm will come up with no title. (I posted to Usenet about this too, recently). If you install the current X.language port xterm will not come up at all (as well as half of other X-programs). >Fix: Add ru_SU.KOI8-R to /usr/X11R6/lib/X11/locale/locale.* manually for displaying. See what Alex has to say about typing. Another work-around is to admit that Russia is the same as Soviet Union (question of one's beliefs) and ``setenv LANG ru_RU.KOI8-R''. >Audit-Trail: >Unformatted: