delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/09/03:09:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,TW_RX,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: philippe <philippe DOT roux AT univ-rennes1 DOT fr>
Subject: Re: configure rxvt on cygwin 1.7.5
Date: Fri, 09 Jul 2010 09:08:42 +0200
Lines: 31
Message-ID: <i16htg$u1l$1@dough.gmane.org>
References: <i106qt$q32$1 AT dough DOT gmane DOT org> <AANLkTin1LVQ1S1NgYCZelOpYchU6Wy_Z3vNg6yinCVgE AT mail DOT gmail DOT com> <i159qe$me0$1 AT dough DOT gmane DOT org> <4C36399F DOT 5030909 AT bopp DOT net> <i15fhu$cji$1 AT dough DOT gmane DOT org> <4C365415 DOT 1080406 AT bopp DOT net> <op DOT vfjrkhbh5o90vo AT orion DOT search DOT b DOT superkabel DOT de> <AANLkTinTnpm86AXbqDyF1vad12dvHZa7N0L1zB9peMAD AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
In-Reply-To: <AANLkTinTnpm86AXbqDyF1vad12dvHZa7N0L1zB9peMAD@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Andy Koppe a écrit :
> On 9 July 2010 00:01 lemkemch wrote:
>> If you want to continue with rxvt and want to keep it as close
>> as possible to the old behavior set
>>
>> export LANG=C.ISO-8859-1
>> export LC_TIME=C
>>
>> in .profile

this change modify only output display.

> 
> Setting LANG in .profile is too late for bash itself, because that
> will continue to operate in C.UTF-8. That will cause trouble when
> entering non-ASCII characters on the command line, for example, try
> typing an ä or â.

that's exactly what appends.
> 
> Therefore you need to set it before bash is invoked, for example in
> cygwin.bat if that's where you're invoking rxvt from.

adding

export LANG=C.ISO-8859-1
export LC_TIME=C

in Cygwin.bat has no effect.

Philippe


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

- Raw text -


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