Red Hat Bugzilla – Bug 87396
gnome-terminal doesn't handle clear to end of screen properly
Last modified: 2007-04-18 12:52:27 EDT
Description of problem:
When doing a clear to EOS operation (Esc [ J), gnome-terminal doesn't do it
properly like xterm and other ANSI-compliant terminal emulators. It should
clear from the current cursor position to the end of the line, and all lines
below it, but leave any text left of or above the cursor intact. What it does
is clear all text on or below the line where the cursor is, so text left of
the cursor is wiped out.
Version-Release number of selected component (if applicable):
Try outputting an Esc-[-J sequence with the cursor somewhere in the middle
of the line, in both xterm and gnome-terminal and note the difference.
Steps to Reproduce:
1. In gnome-terminal, at the shell prompt, type: echo -e 'xxxx\033[Jyyyy'
2. Note the output: " yyyy", not "xxxxyyyy".
3. Try again in xterm, and note it leaves "xxxxyyyy" on the screen.
This was a problem with vte-0.8.19-2.
It seems to be fixed in vte-0.10.25-1 under Red Hat 9,
as are a few other problems that were reported for vte 0.8,
but it sure would be nice to have a backport of vte-0.10.25-1
for Red Hat 8.0. It seems that would require also updating
gnome-terminal and any other packages that depend on vte, as
the shared library version number for libvte.so jumped from
2 to 4.