Bug 187297

Summary: last line not updated properly in gnome-terminal with vim as root
Product: [Fedora] Fedora Reporter: Keith Howanitz <howanitz>
Component: vimAssignee: Karsten Hopp <karsten>
Status: CLOSED WORKSFORME QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: howanitz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-05 09:44:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Keith Howanitz 2006-03-29 20:28:44 UTC
Description of problem:
When in gnome-terminal (does not happen in e.g. Ctrl-Alt-F2 system terminal),
edit long file with vi (e.g. vi /etc/X11/xorg.conf). Scroll down with j. The new
line will append the text from the previous line for anything longer than the
current line. Does not work for normal user, only after issuing su - root

Version-Release number of selected component (if applicable):
vim-enhanced-6.4.007-4
vim-minimal-6.4.007-4
VIM - Vi IMproved 6.4 (2005 Oct 15, compiled Mar  9 2006 09:43:24)
Included patches: 2-7

How reproducible: Any file tested, as long as 
1) in gnome-terminal
and
2) logged in as root (su - root)

Steps to Reproduce:
1. start gnome-terminal
2. su - root
3. vi /etc/X11/xorg.conf
4. scroll down with "j"
  
Actual results:
new line appended with text from previous longer line

Expected results:
only new line

Additional info:
vim or gnome-terminal bug???

Comment 1 Karsten Hopp 2007-04-05 09:44:58 UTC
This is supposed to be fixed with the latest release. Please reopen if this
happens again and don't forget to include the exact package versions of vim and
gnome-terminal