http://qa.mandrakesoft.com/show_bug.cgi?id=3747





------- Additional Comments From [EMAIL PROTECTED]  2003-22-06 14:11 -------
Some news:

   This is highly related to the prompt: on a real terminal (Ctrl+Alt+F1), I
have only to set my coloured prompt with:
export PS1="\e[31;1m\h:\w\e[33;1m#\e[0m"
   and then the bug appears: the cursor jumps before arriving at the end of the
line.
   It happens only with colours, so a PS1="\e[34mC:\\> " would also do it and a
PS1="C:\\> " will correct it.

   The bug is probably when counting the number of chars that has the prompt; it
may count more than the actual number. At the examples above, both prompts have
5 chars, but the first acts as if it had more (although "\e[34m" is 0 chars
long...).

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: NEW
creation_date: 
description: 
This happens on Mandrake (and maybe others) on any terminal emulator (konsole,
aterm, xterm, rxvt, Eterm, etc) on Mdk9.1 and earlier versions.

   To reproduce it:
   1. On X, open any terminal (eg. xterm). Don't maximize it.
   2. Write 'top' and press ENTER. top uses all the window.
   3. Maximize the window.
   4. Press 'q' to quit top
   5. Start writing anything until you reach the right-most part of the screen.
Before reaching the right margin, the cursor will go the the beginning of the
line (as if it were going to pass to the next line, but it doesn't).


   PS: I first thought it was due to KDE and filed a bug at
http://bugs.kde.org/show_bug.cgi?id=53418    See the screenshot there.

Reply via email to