Bug 50067 - incorrect termcap handling
incorrect termcap handling
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: vim (Show other bugs)
7.3
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-07-26 10:03 EDT by greg hosler
Modified: 2007-04-18 12:35 EDT (History)
0 users

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


Attachments (Terms of Use)

  None (edit)
Description greg hosler 2001-07-26 10:03:57 EDT
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:

	^[39m~

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
file)



How reproducible:
Always

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 15:53:45 EDT
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 19:46:53 EDT
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.