I've sent this also to the bug-bash mailinglist and Andreas Schwab replied:
-------------
> 1. Set PS1="\033[01;37m[ \[\033[01;34m\]\w\[\033[00m\] \033[01;37m]\n\$\033[00m "
You need to bracket _every_ nonprinting sequence of characters with \[\].
-------------
I'm not sure what he meant and asked him, but no reply yet.
I've sent this also to the bug-bash mailinglist and Andreas Schwab replied: 01;34m\ ]\w\[\033[ 00m\] \033[01; 37m]\n\ $\033[00m "
-------------
> 1. Set PS1="\033[01;37m[ \[\033[
You need to bracket _every_ nonprinting sequence of characters with \[\].
-------------
I'm not sure what he meant and asked him, but no reply yet.