[Top][All Lists]

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

Re: bash-3.2 regression: broken colour prompt

From: Benno Schulenberg
Subject: Re: bash-3.2 regression: broken colour prompt
Date: Fri, 23 Feb 2007 15:29:07 +0100
User-agent: KMail/1.9.6

Volkov Peter wrote:
> In bash-3.2:
> ~/tmp/bash/bash-3.2 $ mkdir тест/
> ~/tmp/bash/bash-3.2 $ cd тест/
> ~/tmp/bash/bash-3.2/тест $                 l                s
> ~/tmp/bash/bash-3.2/тест $                 #

Same problem here (# is position of cursor):

address@hidden ~ $ mkdir ĉĉ
address@hidden ~ $ cd ĉĉ
address@hidden ~/ĉĉ $                            #

Then typing "ls ." show this:

address@hidden ~/ĉĉ $  s .#                      l

Then typing ^U results in this:

address@hidden ~/ĉĉ $  s .                                                #

This is with a utf8 locale.  The problem does not occur when the current
dir contains just one non-ascii character, only with two or more does the
cursor get misplaced.  Setting LC_ALL=C makes the problem fully disappear.

address@hidden ~ $ echo $PS1
\[\e[001;address@hidden \[\e[001;034m\]\w \$\[\e[000m\]

Machine: i686
OS: linux-gnu
Compiler: i686-pc-linux-gnu-gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib   -march=athlon-xp -O2 -pipe 
uname output: Linux ordesa 2.6.19 #149 PREEMPT Thu Feb 22 11:19:16 CET 2007 
i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux
Machine Type: i686-pc-linux-gnu

Bash Version: 3.2
Patch Level: 9
Release Status: release


reply via email to

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