Configuration Information [Automatically generated, do not change]: Machine: i686 OS: cygwin Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i686-pc-cygwin' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -DRECYCLES_PIDS -I. -I/tmp/bash-3.0 -I/tmp/bash-3.0/include -I/tmp/bash-3.0/lib -O2 uname output: CYGWIN_NT-5.0 PN100-01-1-123s 1.5.17(0.129/4/2) 2005-05-25 19:38 i686 unknown unknown Cygwin Machine Type: i686-pc-cygwin
Bash Version: 3.0 Patch Level: 16 Release Status: release Description: Typing in a command (without hitting <CR>), and then clearing the window with ^L results in extra characters being added to the command line. This may be the result of bash not properly taking into account escape sequences in the prompt. As an example: 250 scripts > ls /bin - <CR> not typed yet Now I press ^L, and the window looks like: 250 scripts > ls /bin /bin Trying to erase the entire line using BS, leaves: 250 scripts > ls /b My prompt is set to: PS1='\[\e]2;\w\007\]\[\e[1;31m\]\# \[\e[32m\]\W \[\e[36m\]> \[\e[0m\]' Repeat-By: Set prompt to: PS1='\[\e]2;\w\007\]\[\e[1;31m\]\# \[\e[32m\]\W \[\e[36m\]> \[\e[0m\]' At the shell prompt, type a command without hitting <CR>. Now type ^L. Observe extra chars added to the command. Backspace to try to eliminate the entire line. Observe that some chars cannot be erased. Fix: (I have none.) _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash