bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: incorrect handling of invisible characters in prompt string


From: Mike Frysinger
Subject: Re: incorrect handling of invisible characters in prompt string
Date: Wed, 3 May 2006 22:21:01 -0400
User-agent: KMail/1.9.1

On Wednesday 03 May 2006 21:42, Mike Frysinger wrote:
> the proposed hack:
> http://lists.gnu.org/archive/html/bug-bash/2006-03/msg00005.html
>
> seems to work for this test case ...

but then seems to break another one:
export LC_ALL=C
PS1='\[\e[0;33m\]\u\[\e[0m\] '
printf a > foo.txt
cat foo.txt

then again, this test is broken atm with a unicode locale:
PS1='\[\e[0;33m\]\u\[\e[0m\] '
printf a > foo.txt
export LC_ALL=en_US
cat foo.txt             <- works
export LC_ALL=en_US.UTF8
cat foo.txt             <- fails
-mike




reply via email to

[Prev in Thread] Current Thread [Next in Thread]