*BSD News Article 76986


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!news.vbc.net!alpha.sky.net!newshub.csu.net!newshub.sdsu.edu!newsfeeder.sdsu.edu!news.sgi.com!enews.sgi.com!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!isst.fhg.de!berlin.fhg.de!news.fhg.de!blackbush.xlink.net!ka.sub.net!ardbeg.islay.sub.org!ardbeg.islay.sub.org!pmh
From: pmh@ardbeg.islay.sub.org (Patrick M. Hausen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: 2.1.5 locale oddities
Date: 25 Aug 1996 11:41:41 GMT
Organization: Patrick M. Hausen - private site
Lines: 32
Message-ID: <4vpe5l$b7l@ardbeg.islay.sub.org>
NNTP-Posting-Host: localhost
X-Newsreader: TIN [version 1.2 PL2]

Hi All!

I updated my system to 2.1.5 - some bugs seem to have survived from 2.1.0.

When I set ENABLE_STARTUP_LOCALE, xterm still dumps core like in 2.1.0 -
this used to work in 2.0.5.

When I just set LANG to, say, lt_LN.ISO_8859-1, to make elm display 8bit,
then emacs complains:

	Warning: locale not supported by Xlib, locale set to C

When I set both LANG and ENABLE_STARTUP_LOCALE in 2.0.5, then vi displayed
8bit - doesn't work either.


What's going wrong here? Is there any way I can help to fix this?

As far as I understand, setting LANG makes the isxxx() functions of the
ctype library look up the definitions in the corresponding file in
/usr/share/locale - so far so good. Now, what for is ENABLE_STARTUP_LOCALE,
why do certain applications dump core and why are there
/usr/X11R6/lib/X11/locale and /usr/local/share/nls?

If someone could provide me with the right pointers to where to start, I
would try to fix this mess.

Paddy
--
Patrick M. Hausen   Gerwigstr. 11   76131 Karlsruhe   pmh@islay.sub.org
         "For all the good you do you get paid in heaven
              -- for all the bad you pay down here"     (Kieran Halpin)