This bug has already been reported for konsole under bugs.kde.org,
bug#Bug 48109 <http://bugs.kde.org/show_bug.cgi?id=48109>
In a fact it is an error of bash, because I get the same results in text
mode under vt01.
Additionally Bug 138411 <http://bugs.kde.org/show_bug.cgi?id=138411>:
cursor postioning error after output without trailing newline seems to
be closely related.
Please have a look!

The use of ANSI sequences in konsole seems to confuse konsole's idea of
where the current write position is. When I run a bash shell inside
konsole and set the prompt string to contain ANSI escape sequences, then
when typing long lines the write position wraps back to the beginning of
the current line before the right margin has been reached. The same
behaviour can be observed with xterm, so the problem obviously has been
inherited from there.


/------- Additional Comment #1
<https://bugs.kde.org/show_bug.cgi?id=48109#c1> From Stephan Binner
<mailto:[EMAIL PROTECTED]> 2002-09-21 14:48 ------- /
What ANSI sequences? And you exclude an error of you when the two best
terminal emulators both show this behaviour? :-)


/------- Additional Comment #2
<https://bugs.kde.org/show_bug.cgi?id=48109#c2> From Thomas Koeller
<mailto:[EMAIL PROTECTED]> 2002-09-21 14:56 ------- /
Steps to reproduce:
 
1. Start a bash shell inside konsole.
2. Enter PS1="\e]2;\w\a\e[34;1m\! \s-\v \$\e[0m "
3. Type a long line (contents do not matter).


/------- Additional Comment #3
<https://bugs.kde.org/show_bug.cgi?id=48109#c3> From Stephan Binner
<mailto:[EMAIL PROTECTED]> 2002-11-02 21:03 ------- /
Likely a bash problem.


/------- Additional Comment #4
<https://bugs.kde.org/show_bug.cgi?id=48109#c4> From [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 2007-01-27 17:51 ------- /
Even simple things like coloring the prompt will confuse konsole.
This is just too bad!
export PS1="\e[0;33m\u:\w> \e[0m"
_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to