delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/02/12:45:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-7.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_PASS
X-Spam-Check-By: sourceware.org
From: Stephan Mueller <Stephan DOT Mueller AT microsoft DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: [1.7] Updated: cygwin-1.7.0-45
Date: Thu, 2 Apr 2009 17:44:31 +0000
Deferred-Delivery: Thu, 2 Apr 2009 17:32:00 +0000
Message-ID: <450B91BCB17B4346BD55B6FE9215AFFF01ACA60D@DF-M14-05.exchange.corp.microsoft.com>
References: <20090331111757 DOT GA22043 AT calimero DOT vinschen DOT de> <200904021430 DOT n32EUuKv024760 AT mail DOT bln1 DOT bf DOT nsn-intra DOT net> <20090402145915 DOT GA18756 AT calimero DOT vinschen DOT de> <20090402171059 DOT GE12738 AT calimero DOT vinschen DOT de>
In-Reply-To: <20090402171059.GE12738@calimero.vinschen.de>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Apr  2 16:59, Corinna Vinschen wrote:
" 2. Use the environment variable setting of LC_ALL/LC_CTYPE/LANG at
"    the moment the console is opened the first time and then never
"    change this setting again until the console is closed again.
"
" 3. Change rlogin to call setlocale(LC_ALL, ""); at the start of
"    main.
"
" Solution 3 seems not feasible.  I'm leaning towards solution 2.  Does
" anybody know a reason why we should prefer solution 1?  Does anybody
" have another solution?

How about 2, with a background effort towards 3 for each of the
relevant apps -- just push the setlocale call upstream based on
the Good Idea aspect.  Someday, (at this point in the Cygwin
1.7-to-1.9 transition, perhaps :-) the norm will be for remote
connection apps to call setlocale, 2 can be removed if desired,
and any apps that still break may be considered broken -- to be
fixed with a setlocale(), just like all the now well-behaved
apps which set the precedent due to the effort started now?

stephan();

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019