Bug 87396 - gnome-terminal doesn't handle clear to end of screen properly
gnome-terminal doesn't handle clear to end of screen properly
Product: Red Hat Linux
Classification: Retired
Component: vte (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Ray Strode [halfline]
Depends On:
  Show dependency treegraph
Reported: 2003-03-26 11:46 EST by Gilles Detillieux
Modified: 2007-04-18 12:52 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-11-04 22:05:52 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Gilles Detillieux 2003-03-26 11:46:50 EST
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):

How reproducible:
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.
Actual results:

Expected results:

Additional info:
Comment 1 Gilles Detillieux 2003-04-11 18:14:15 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.