delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/03/15:31:24

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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
Subject: Re: vim quits and cygwin window contents not restored
Date: Thu, 03 Apr 2003 15:30:08 -0500
Lines: 28
Message-ID: <3E8C99D0.7090606@ece.gatech.edu>
References: <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030402075839 DOT 02bc0cf0 AT pop3 DOT cris DOT com> <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> <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030403061532 DOT 037c7210 AT pop3 DOT cris DOT com>
Mime-Version: 1.0
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.20030403061532.037c7210@pop3.cris.com>

Randall R Schulz wrote:

> Can I trouble you to explain why your termcap replaces something so 
> different in the existing /etc/termcap file:
> 
> cygwin:\
>     :xn@:op=\E[39;49m:Km=\E[M:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:tc=linux:
> 
> I understand that this entry incrementally modifies the "linux" entry. 
> Your new one does not? You just decided to sever the connection? There's 
> too much difference to handle this way? It was a bad idea for some reason?

No, it's just that the existing termcap is very very different in 
structure from the existing terminfo entry for cygwin.  Now, if you work 
thru all of the dependencies, you might end up with the same thing; I dunno.

But, the terminfo entry is a straight "specify everything, no backrefs 
to other terminals".  So, if you tic -C it, you get a "specify 
everything, no backrefs" termcap entry.  As to WHY the existing termcap 
entry references linux but the terminfo one does not, your guess is as 
good as mine.  Historical, perhaps?

IMO, "specify everything" is the right way to go here.  cygwin is not 
linux.  cygwin is not xterm.  cygwin is cygwin, with all of its own very 
special quirks...

--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/

- Raw text -


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