Hi all :)

Yes, I know, my Vim version is a bit outdated, but from what I've seen
in the README's of the patches for 7.1 and 7.2, this bug has not been
addressed (and maybe it is not a bug at all). I'm asking here and not in
vim_dev just in case it's my fault and not a bug in Vim. If nobody can
reproduce I'll build a Vim myself with latest patches and retest.

The bug happens with and without my rc files, I've tested both, and
seems to depend on using the "-o" option with just one file.

If "-o" is used and console vim is opened in a terminal emulator (I've
tested with gnome-terminal and xcfe4-terminal) with a geometry where the
lines are *LESS* than the number of lines in the opened file, then the
screen is not correctly redrawn, even when scrolling. The screen appears
as if the number of lines was 24. In this case, a screen capture is
worth thousand messages:

http://www.dervishd.net/vim-bad.png

If the file is short enough, this doesn't happen:

http://www.dervishd.net/vim-good.png

To reproduce, run "gnome-terminal --geometry=80x30 -x vim -o file.txt",
where "file.txt" is a file with more than 30 lines. I haven't found the
exact number of excess lines that causes the bug, so better try with a
file of more than 100 lines so you can scroll, because the screen is
correctly redrawn again if you scroll to the end of file, not using "G",
but using PgDn repeteadly.

The bug doesn't happen if the "-o" option is not used.

Raúl "DervishD" Núñez de Arenas Coronado
-- 
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!
We are waiting for 13 Feb 2009 23:31:30 +0000 ...

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to