This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: vim quits and cygwin window contents not restored
- From: Charles Wilson <cwilson at ece dot gatech dot edu>
- To: cygwin at cygwin dot com
- Date: Wed, 02 Apr 2003 23:16:06 -0500
- Subject: Re: vim quits and cygwin window contents not restored
- References: <5.2.0.9.2.20030324161421.02364528@pop3.cris.com> <024301c2f25a$363fe250$ab474e51@ellixia> <5.2.0.9.2.20030324161421.02364528@pop3.cris.com> <5.2.0.9.2.20030324201123.029927a8@pop3.cris.com> <3E7FE6AB.5070305@ece.gatech.edu> <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/