Red Hat Bugzilla – Bug 184070
gnome-terminal doesn't scroll properly in /bin/vi
Last modified: 2007-11-30 17:11:26 EST
Description of problem:
When I edit a long file in vi (note, not vim, only /bin/vi) using gnome-
terminal (TERM=xterm), the bottom line is not cleared properly when scrolling
down, so if the next line is shorter than the previous one, part of the end of
the previous line is still displayed at the bottom of the screen.
If I cover the window with something else and bring it back to the foreground,
or if I attempt to select that region of the window, it will redraw it
correctly, so this appears to be only a window drawing issue and not actually
in the screen buffer of the terminal.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open a gnome-terminal window.
2. Open a long file with lines of varying width in /bin/vi.
3. Scroll down until a line that's significantly shorter than the previous
line scrolls onto the screen.
Remnants of the previous line stay on the last line of the screen when it
Scrolling without leaving droppings behind.
Created attachment 125685 [details]
Screenshot of problem.
Note: last line should read only "They hadn't any feet." The bits after that
are left over from previous lines that scrolled up.
I see this too with the terminal set to vt100.
Same problem for me with FC5 (latest updates)
No work here?
*** Bug 185204 has been marked as a duplicate of this bug. ***