Mike Frysinger wrote: > to dig up this thread yet again :) > http://lists.gnu.org/archive/html/bug-bash/2006-03/msg00006.html > > a user reported this with bash-3.0.17 with a good test case: > http://bugs.gentoo.org/130955 > > and i'm able to reproduce this here by setting my PS1: > PS1='$(echo "Strange \[\e[0;32m\]Prompt\[\e[0m\] ")' > then holding down say 'f' until my cmdline wraps around, then holding > backspace to delete the letters until it wraps back up to one line and > triggers a garbaled prompt: > ;32mPrompt fffffffffffffffffffff
Yes, that's a good test case, and I was able to reproduce it. It will be fixed in the next version. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Live Strong. No day but today. Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/ _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash