From owner-freebsd-bugs Fri Aug 23 00:21:33 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA03317 for bugs-outgoing; Fri, 23 Aug 1996 00:21:33 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA03308 for ; Fri, 23 Aug 1996 00:21:29 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA04601; Fri, 23 Aug 1996 09:21:11 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA17834; Fri, 23 Aug 1996 09:21:11 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id IAA29126; Fri, 23 Aug 1996 08:52:22 +0200 (MET DST) From: J Wunsch Message-Id: <199608230652.IAA29126@uriah.heep.sax.de> Subject: Re: 2.1.5-RELEASE /etc/csh.login LOCALE absense To: freebsd-bugs@FreeBSD.org (FreeBSD bugs list) Date: Fri, 23 Aug 1996 08:52:22 +0200 (MET DST) Cc: marck@pluscom.cronyx.ru (Dmitry Morozovsky) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199608221607.UAA04517@pluscom.cronyx.ru> from Dmitry Morozovsky at "Aug 22, 96 08:07:32 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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. ;-)