vim and b18

Larry Hall lhall@rfk.com
Mon Sep 29 06:55:00 GMT 1997


Hello fellow gnu-win32 users,

I have asked about this problem before on this list and received no feedback
so perhaps I'm the only one experiencing it.  Nevertheless, since I have
created a patch for the problem, I thought others might be interested (or
even better, explain to me a better way to solve this problem).  The problem
I had was using a locally compiled version of vim (5.0k and 5.0m) in the
b18 environment.  While vim ran with Chris Faylor's patch, I found that 
scrolling down (CTRL-D), searching down (/<something> and "n"), and even 
moving down a line when I was at the bottom of the screen would scroll the 
command line of vim as well.  Many times the text of the command line would
be overwritten by the source from the file that displayed on that line so 
the problem would look like it was sporadic.  It was most noticeable when the
ruler was used.  However, with a little investigation, I noticed that it
ALWAYS occurred but was only noticeable when text from the source file did
not overwrite the text from the command line.  I have created a patch which
fixes this problem for me.  My guess is it is not optimal, since it forces
the command line to be cleared in all these cases.  However, it was unclear
exactly what was causing this problem so this is the best solution I could
find.  It works fine for me and does not appear to affect performance to any
noticeable extent.  Suggestions from others on a better way to fix this are 
welcome.  

If you notice problems similar to what I describe, you may want to try this
patch.  I'm, using it on vim-5.0k but it should work through 5.0m at least.
My configuration is NT 4.0 + SP3 running b18 with an updated DLL from 
Sergey (circa 7/23).  I'm also using ncurses 1.9.9g and the slightly modified 
linux termcap entry (as included).  If anyone else finds this useful or has
any comments, I'd like to know.  

Thanks,

Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      (781) 239-1053
8 Grove Street                          (781) 239-1655 - FAX
Wellesley, MA  02181 

PS - For those who are curious, the unmodified source compiles, links, and 
runs fine WITHOUT THIS PATCH on linux (2.0.27 kernel).


More information about the Cygwin mailing list