Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 1996 08:52:22 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-bugs@FreeBSD.org (FreeBSD bugs list)
Cc:        marck@pluscom.cronyx.ru (Dmitry Morozovsky)
Subject:   Re: 2.1.5-RELEASE /etc/csh.login LOCALE absense
Message-ID:  <199608230652.IAA29126@uriah.heep.sax.de>
In-Reply-To: <199608221607.UAA04517@pluscom.cronyx.ru> from Dmitry Morozovsky at "Aug 22, 96 08:07:32 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Dmitry Morozovsky wrote:

> Rather than in earlier releases, there is no (commented by default) line
> 
> setenv ENABLE_STARTUP_LOCALE
> 
> in /etc/csh.login

It was a hack to work around poorly written programs that do not
handle localization of their own (i.e., that do not call
setlocale(LC_XXX, "") at the beginning).  It was found to be rather
harmful, some programs that handle localization correctly like xterm
started to dump core with this hack enabled.  In 2.1.5, it's
deprecated, in 2.2 it's completely removed, and Andrey Chernov walked
along the entire source tree to do it right and have the programs
call setlocale().

Of course, broken third-party software will become more obvious then.
However, elm handles localization correctly now.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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