Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Charles Wilson Subject: Re: vim quits and cygwin window contents not restored Date: Tue, 25 Mar 2003 00:18:35 -0500 Lines: 42 Message-ID: <3E7FE6AB.5070305@ece.gatech.edu> References: <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030324161421 DOT 02364528 AT pop3 DOT cris DOT com> <024301c2f25a$363fe250$ab474e51 AT ellixia> <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030324161421 DOT 02364528 AT pop3 DOT cris DOT com> <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030324201123 DOT 029927a8 AT pop3 DOT cris DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en In-Reply-To: <5.2.0.9.2.20030324201123.029927a8@pop3.cris.com> Sorry, I haven't been following this thread. See below. Randall wrote: >>> 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. Larry wrote: >> 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. Randall wrote: > Does the presence of quote marks indicate you don't consider this a > problem? > > The wording of the "updating ..." and "reverting ..." sentences is > ambiguous to me. Are you saying that you do see the failure to restore > the original window contents when Vim is quit or suspended under > terminfo-5.3-1 and see the proper restore behavior under 5.2-3? terminfo is a fork from ncurses -- but I try to keep it sync'ed. Recently, I built ncurses-5.3 for cygwin (it's available as a 'test' package right now) and while doing so, I resync'ed terminfo to the ncurses base. I did this because the ncurses maintainer finally folded in most of Earnie Boyd's original changes for the "cygwin" terminal. However, he did not include all of them. In my foolishness, I figured that if the upstream maintainer had seen Earnie's patches, but opted to leave out a few codes, that he must have had a good reason to do so. So I followed his lead. (I never noticed a problem pre-release, because I do most of my work in an rxvt window; I did only minimal testing in a "DOSbox" TERM=cygwin shell. Sorry. [doesn't everybody use rxvt?? ] ) I'll try to figure out which parts are missing, and reinstate them -- look for a new release (of terminfo-) sometime in the next week. --Chuck -- 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/