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 the proposed hack: http://lists.gnu.org/archive/html/bug-bash/2006-03/msg00005.html seems to work for this test case ... -mike _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash