This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: vim quits and cygwin window contents not restored


Randall R Schulz wrote:
Hi,

Some salient facts:

Vim uses ncurses6:

% cygcheck vim
Found: D:\cygwin\bin\vim.exe
D:/cygwin/bin/vim.exe
  D:\cygwin\bin\cygwin1.dll
    D:\WINNT\System32\KERNEL32.dll
      D:\WINNT\System32\ntdll.dll
  D:\cygwin\bin\cygintl-2.dll
    D:\cygwin\bin\cygiconv-2.dll
  D:\cygwin\bin\cygncurses6.dll


Less doesn't use ncurses at all (!):


% cygcheck less
Found: D:\cygwin\bin\less.exe
D:/cygwin/bin/less.exe
  D:\WINNT\System32\KERNEL32.dll
    D:\WINNT\System32\ntdll.dll
  D:\cygwin\bin\cygwin1.dll
  D:\cygwin\bin\cygpcre.dll


Ncurses6 has not been updated recently:


% pwd
/e/Cygnus/Install/http%3a%2f%2fmirror.mcs.anl.gov%2fcygwin/release

% ll -R ncurses
ncurses:
total 4402
drwxrwxrwx+   2 Administ None            0 Mar 12 11:15 libncurses-devel/
drwxrwxrwx+   2 Administ None            0 Aug 18  2002 libncurses5/
drwxrwxrwx+   2 Administ None         4096 Aug 23  2002 libncurses6/
drwxrwxrwx+   2 Administ None            0 Mar 12 11:21 libncurses7/
-rwxrwxrwx    1 Administ None      1770933 Aug 16  2002 ncurses-5.2-8-src.tar.bz2*
-rwxrwxrwx    1 Administ None       647793 Jan 10  2002 ncurses-5.2-8.tar.bz2*
-rwxrwxrwx    1 Administ None      2087131 Mar 12 11:21 ncurses-5.3-1-src.tar.bz2*
drwxrwxrwx+   2 Administ None            0 Mar 12 11:22 ncurses-demo/

ncurses/libncurses-devel:
total 234
-rwxrwxrwx    1 Administ None       239337 Mar 12 11:15 libncurses-devel-5.3-1.tar.bz2

ncurses/libncurses5:
total 179
-rwxrwxrwx    1 Administ None          259 Aug 16  2002 libncurses5-5.2-1-src.tar.bz2
-rwxrwxrwx    1 Administ None       181942 Oct  3  2001 libncurses5-5.2-1.tar.bz2

ncurses/libncurses6:
total 188
-rwxrwxrwx    1 Administ None          523 Aug 16  2002 libncurses6-5.2-8-src.tar.bz2
-rwxrwxrwx    1 Administ None       190693 Jan 10  2002 libncurses6-5.2-8.tar.bz2

ncurses/libncurses7:
total 164
-rwxrwxrwx    1 Administ None       167635 Mar 12 11:21 libncurses7-5.3-1.tar.bz2

ncurses/ncurses-demo:
total 137
-rwxrwxrwx    1 Administ None       139630 Mar 12 11:22 ncurses-demo-5.3-1.tar.bz2


Terminfo, on the other hand, was recently updated:


% ll -R terminfo
terminfo:
total 447
-rwxrwxrwx    1 Administ None       273706 Mar 11 21:26 terminfo-5.3-1-src.tar.bz2*
-rwxrwxrwx    1 Administ None       182382 Mar 11 21:25 terminfo-5.3-1.tar.bz2*

% ll $(find /usr/share/terminfo -iname '*cygwin*')
-rwxrwxrwx    1 Administ None         1448 Mar  9 15:15 /usr/share/terminfo/c/cygwin
-rwxrwxrwx    1 Administ None         1376 Mar  9 15:15 /usr/share/terminfo/c/cygwinB19
-rwxrwxrwx    1 Administ None         1512 Mar  9 15:15 /usr/share/terminfo/c/cygwinDBG
-rwxrwxrwx    1 Administ None         1664 Mar  9 15:15 /usr/share/terminfo/r/rxvt-cygwin
-rwxrwxrwx    1 Administ None         1682 Mar  9 15:15 /usr/share/terminfo/r/rxvt-cygwin-native


So, my bet is on the terminfo for cygwin as the locus of the problem, whatever it is. Other reasonable hypotheses are that there's problem in ncurses or in how Vim uses it.




Yeah, the terminfo change is the "problem".   Updating to 5.3-1
allows me to reproduce the behavior.  Reverting to 5.2-3 restores
the original behavior.


-- Larry Hall lhall at rfk dot com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]