Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 1996 00:31:24 -0500 (EST)
From:      mi@aldan.ziplink.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/2182: FreeBSD, XFree86-3.2, locales; russian/X.language
Message-ID:  <199612090531.AAA01510@rtfm.ziplink.net>
Resent-Message-ID: <199612090540.VAA03162@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612090531.AAA01510>