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: Wed, 02 Apr 2003 23:16:06 -0500 Lines: 43 Message-ID: <3E8BB586.5070608@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> <3E7FE6AB DOT 5070305 AT ece DOT gatech DOT edu> <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030402075839 DOT 02bc0cf0 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.20030402075839.02bc0cf0@pop3.cris.com> Randall R Schulz wrote: > Since there were no attachments, I placed the text embedded in the > message into a file named "cygwin.terminfo" and used "tic" as you > prescribed. I get a diagnostic "Name collision between cygwin cygwin". I > tried removing the existing terminfo entry, but the result is unchanged. Igor is correct. There were two attachments, but the web archive inlined them. If you go to gmane, you'll see the attachments in their original form. But that shouldn't matter too much. The first attachment (or part) is the terminfo input -- the commentblock all the way down to the last "dense" block of 20 or so lines. That "dense" block is the termcap entry. You don't want to 'tic' that; it was generated from the longer file using 'tic -C' -- but any codes that termcap doesn't understand are dropped. So converting it BACK to terminfo format is a lossy conversion. Again, you want the first group. But, if you're cut-n-pasting, you need to insure that each line begins with a tab, not 8 spaces (sometimes tic can be picky about that). > >> You can also hand edit /etc/termcap (back it up, first) and paste the >> attached cygwin.termcap file into it, deleting the current definition. > > > Then I saw this, so I figured that there are two text attachments that > got merged into a blob of in-line text, so I took the last 20 lines > beginning with "cygwin|ansi emulation for Cygwin:\" and gave them to > tic, and it seems to work (tic likes it and the results reinstate screen > context save and restore). Yes, but your terminfo database entry is probably missing a few codes. Who knows if they are important... > Could you clarify what's up here? Am I the only one who didn't see > attachments? I dunno; they looked fine to me.... --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/