Comment 0 for bug 378668

Revision history for this message
Don Cristóbal (doncristobal) wrote : Cursor in terminal at the wrong place

Binary package hint: xfce4-terminal

Both xfce4-terminal and gnome-terminal are affected, but not the text-only terminals (alt+f1, f2 etc.). So probably the package hint is wrong...

Description:
When going back to the previous line (backspace or cursor keys), the cursor jumps one character to the left and shifts the other letters incorrectly.

How to reproduce (cf. always my attachment, a screenshot):
1. Open the terminal (in X, not the real text-only screens)
2. Type some rubbish until you reach the end of the screen (in my example: "abcdefghijklmnopqrst". As soon as you have filled up the last column (the "t" in my case), the cursor jumps correctly to the next line.
3. Hit backspace or the left cursor once. Backspace eats 2 characters instead of one.
4. Hit return. Bash says it does not know the rubbish that you've actually typed (not the rubbish that was displayed). So obviously this is a display problem, not an input problem.

Instead of step 4, you can also type some new rubbish. It will be inserted into the old rubbish exactly the way you type it, but it won't display correctly. It's like a blind flight: As long as you know exactly where you are, you'll land on the airport. But never try to tell your position from what you see...

The bug is possibly a duplicate of Bug #238055 or Bug #88504, but the symptoms described there don't seem to match mine exactly.

Xubuntu 9.04, up to date as of May 20th 2009

$ apt-cache policy gnome-terminal
gnome-terminal:
  Installed: 2.26.0-0ubuntu2
  Candidate: 2.26.0-0ubuntu2
  Version table:
 *** 2.26.0-0ubuntu2 0
        500 http://ch.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

$ apt-cache policy xfce4-terminal
xfce4-terminal:
  Installed: 0.2.10-1ubuntu2
  Candidate: 0.2.10-1ubuntu2
  Version table:
 *** 0.2.10-1ubuntu2 0
        500 http://ch.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: xfce4-terminal 0.2.10-1ubuntu2
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: xfce4-terminal
Uname: Linux 2.6.28-11-generic i686