Bug 50067 - incorrect termcap handling
Summary: incorrect termcap handling
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: vim   
(Show other bugs)
Version: 7.3
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-07-26 14:03 UTC by greg hosler
Modified: 2007-04-18 16:35 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-07-26 14:04:01 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description greg hosler 2001-07-26 14:03:57 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.6-2smp i686; Nav)

Description of problem:
vi (from vim-minimal-5.8-5) displays:


after the last line of text when you are editting a file.
My TERM is "xterm".
The "^[39m~" will fill up the screen if you start deleting lines
from the file.

to reproduce this problem the file must have less than 24 lines.
(for example a new, empty file, or a very small 5 line shell scrip

How reproducible:

Steps to Reproduce:
1. ensure that /bin/vi is from vim-minimal-5.8-5
2. type vi
3. enter 5 blank lines
4. start deleting the lines.

Actual Results:  ^[39m~ is displayed on the bottom of the xterm screen, and
in the middle after the last line.

Expected Results:  there should not be any "^[39m~"

Additional info:

The steps to reproduce is the trivial case. If you start editting
a 5 or 10 line script, you will find the "^[39m~" to become quite
annoying, and you can become confused as to what is in your document
and what is not.

Comment 1 Bernhard Rosenkraenzer 2001-07-26 19:53:45 UTC
Doesn't happen here (on beta3 though, but I'm quite sure none of the related 
packages had any significant changes).
By any chance, are you using TERM=xterm in an rxvt or the likes? (Tried in 
konsole and xterm)

Comment 2 greg hosler 2001-07-26 23:46:53 UTC
I'm using stock beta2, custom install (will the rpm package list help)?

this is on an xterm.

any other environment variables that vim might be looking at ?

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