Version: 1.6 (using KDE 3.5.1 Level "a" , SUSE 10.1) Compiler: Target: i586-suse-linux OS: Linux (i686) release 2.6.16.21-0.25-default > PS1="\e[0;48;33m\u:\w> \e[0m" Now enter a command line, which too long for the cols of the konsole window (Eingabe länger als das Konsolenfenster breit ist) The cursor starts at the beginning of the same line rather than the beginning of the next line; the input gets messed. username~path>fffffff fffffame~path>fffffff instead of username~path>fffffff fffff
This is duplicate of bug #48109. It can be resolved as INVALID.
This is caused by libreadline, which is used by bash. solution: Enclose escape sequence by \[...\] to tell bash that it has zero length.
Thanks Olivier. *** This bug has been marked as a duplicate of 48109 ***