Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I../bash -I../bash/include -I../bash/lib   -g -O2 -Wall
uname output: Linux lisa 2.6.24-20-generic #1 SMP Mon Jul 28 13:49:52 UTC 2008 
i686 GNU/Linux
Machine Type: i486-pc-linux-gnu

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

Description:

\w in PS1 prompt string confuses bash when ending in \

        The standard prompt setting in ubuntu is
PS1="${debian_chroot:+($debian_chroot)[EMAIL PROTECTED]:\w\$"

which seems harmless enough.  However, if you do

mkdir /tmp/chaos\\ ; cd /tmp/chaos\\

the prompt display hopelessly confuses bash.  At first it displays
nothing at all, then with repeated entries of RET fragments of color
ANSI sequences appear, like

[EMAIL PROTECTED]:/tmp/xxx$ mkdir /tmp/chaos\\ ; cd /tmp/chaos\\
]0;[EMAIL PROTECTED]: /tmp/[EMAIL PROTECTED]:/tmp/chaos\$ 
]0;[EMAIL PROTECTED]: /tmp/[EMAIL PROTECTED]:/tmp/chaos\$ 

Repeat-By:

See above.

Fix:

Unknown.


Reply via email to