Red Hat Bugzilla – Bug 50067
incorrect termcap handling
Last modified: 2007-04-18 12:35:10 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:
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
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~"
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.
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)
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 ?