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. 

There is no reason.  It looks like it is set by some default bash init
scripts.
bash$ grep LC_ALL ~/.bash*
bash$ env |grep LC_ALL
LC_ALL=
bash$

I set other locale variables in my bash init scripts:
bash$ grep LC_ ~/.bash*
/home/sasha/.bash_profile.global:export LC_CTYPE=ru_RU.UTF-8
/home/sasha/.bash_profile.global:export LC_COLLATE=ru_RU.UTF-8

But I do not touch LC_ALL.  I guess only Debian bash and/or locales
maintainers know why LC_ALL is set and empty by default.

bash$ debconf-show locales
debconf: DbDriver "passwords" warning: could not open 
/var/cache/debconf/passwords.dat: Permission denied
* locales/default_environment_locale: None
* locales/locales_to_be_generated: en_GB ISO-8859-1, en_GB.ISO-8859-15 
ISO-8859-15, en_GB.UTF-8 UTF-8, en_US ISO-8859-1, en_US.ISO-8859-15 
ISO-8859-15, en_US.UTF-8 UTF-8, ru_RU.CP1251 CP1251, ru_RU.KOI8-R KOI8-R, 
ru_RU.UTF-8 UTF-8, ru_UA.UTF-8 UTF-8


> 
> 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