Hello Karl,

I've found how I get LC_ALL="".  I use to ssh to various machines with
various supported locale.  To avoid a lot of messages about "You have
unsupported locale", I have following lone in my .bashrc:
eval export $(locale)
This line does "the best effort" - if the locale I really want is
supported, it uses my locale; else, it sets to POSIX.
As a side-effect, I get export LC_ALL="".

So, there is a reason for such settings.  However, I can add
a workaround to my .bashrc...

Thank you.

On Sat, Apr 16, 2011 at 02:21:16PM +0200, Karl Ferdinand Ebert wrote:
> Hello Alexandra,
> 
> I spoke with upstream about this issue and would not like to include your 
> patch because we do not see a case where an empty but not unset LC_ALL has 
> any 
> purpose. Is there some reason for you behind this? If it is sound, I will 
> reconsider to include your nevertheless appreciated patch. 
> 
> Best regards,
> 
> Ferdinand
> 
> On Thursday 14 of April 2011 16:41:32 Alexandra N. Kossovsky wrote:
> > Package: tmux
> > Version: 1.4-6~bpo60+1
> > Severity: normal
> > Tags: patch
> > 
> > I have empty LC_ALL, and UTF-8 detection does not work for me.  Attached
> > patch fixes the problem.  I use tmux from backports, but the squeeze
> > version has the same problem with the same solution.
> > 
> > 
> > Thank you for your work!
> > 
> > -- System Information:
> > Debian Release: 6.0.1
> >   APT prefers stable
> >   APT policy: (999, 'stable'), (90, 'unstable'), (50, 'experimental')
> > Architecture: i386 (x86_64)
> > 
> > Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
> > Locale: LANG=, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
> > Shell: /bin/sh linked to /bin/dash
> > 
> > Versions of packages tmux depends on:
> > ii  libc6                    2.11.2-10       Embedded GNU C Library: Shared
> > lib ii  libevent-1.4-2           1.4.13-stable-1 An asynchronous event
> > notification ii  libncurses5              5.7+20100313-5  shared libraries
> > for terminal hand
> > 
> > tmux recommends no packages.
> > 
> > tmux suggests no packages.
> > 
> > -- no debconf information



-- 
Alexandra N. Kossovsky
OKTET Labs (http://www.oktetlabs.ru/)
Phones: +7(921)956-42-86(mobile) +7(812)783-21-91(office)
e-mail: sa...@oktetlabs.ru



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to