Configuration Information [Automatically generated, do not change]: Machine: i586 OS: linux Compiler: i586-uhu-linux-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i586' -DCONF_OSTYPE='linux' -DCONF_MACHTYPE='i586-uhu-linux' -DCONF_VENDOR='uhu' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 uname output: Linux bobek 2.6.15-9 #1 SMP Fri Jan 20 15:43:25 CET 2006 i686 UHU-Linux Machine Type: i586-uhu-linux
Bash Version: 3.1 Patch Level: 5 Release Status: release Description: Hi, I have a nice color prompt: export PS1=$'\\[\017\E[10;0m\E[1;[EMAIL PROTECTED]:\\w\\$ \\[\E[0m\\]' and use UTF-8 locales everywhere. When the output of a command doesn't end with a newline, I could perfectly see it in bash 3.0 since the prompt was printed on its right: [EMAIL PROTECTED]:~$ echo -n foobar [EMAIL PROTECTED]:~$ Is is also okay in bash 3.1 with 8-bit locales or with simple prompts. However, if both colors are used in the prompt, and an UTF-8 locale is in effect, the prompt overwrites the output: [EMAIL PROTECTED]:~$ echo -n foobar [EMAIL PROTECTED]:~$ ek:~$ ^ the cursor stands here (actually that leftover part of the prompt suggest that probably the prompt is printed twice, first at the right place (after foobar) and then at the end of the line). -- Egmont _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash