delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/24/22:39:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3E7FCF3D.707@rfk.com>
Date: Mon, 24 Mar 2003 22:38:37 -0500
From: "Larry Hall (RFK Partners, Inc.)" <lhall AT rfk DOT com>
Reply-To: lhall AT rfk DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210
X-Accept-Language: en-us, en
MIME-Version: 1.0
CC: cygwin AT cygwin DOT com
Subject: Re: vim quits and cygwin window contents not restored
References: <024301c2f25a$363fe250$ab474e51 AT ellixia> <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030324161421 DOT 02364528 AT pop3 DOT cris DOT com>
In-Reply-To: <5.2.0.9.2.20030324161421.02364528@pop3.cris.com>

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019