This is the mail archive of the
mailing list for the Cygwin project.
Re: vim quits and cygwin window contents not restored
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Elfyn McBratney <elfyn at exposure dot org dot uk>
- Cc: cygwin at cygwin dot com, Randall R Schulz <rrschulz at cris dot com>
- Date: Mon, 24 Mar 2003 18:43:27 -0500 (EST)
- Subject: Re: vim quits and cygwin window contents not restored
- Reply-to: cygwin at cygwin dot com
On Mon, 24 Mar 2003, Elfyn McBratney wrote:
> > It used to work for me, but a recent update has caused it to cease
> > working for me, too. Unfortunately, I'm not sure which--wasn't there an
> > ncurses update recently? Perhaps when it's convenient, I'll try to back
> > up to see if that makes screen restore start working again.
> > One other thing I've noticed is that "less" restores the screen but Vim
> > doesn't.
> FWICS (acronym alert: "From What I Can See" :-)
Yes, but you don't get the credit. It's been used before... :-p
> there is no difference. I've been switching libncurses and ncurses and I
> don't think anything has changed. Perhaps a change in the termcap?
> Elfyn McBratney
Well, I've been reading some vim help. A few interesting things surfaced.
For details, "help restorescreen", "help term", "help terminfo", and "help
xterm-screens" in vim. FWIW, it works for me in an xterm, but doesn't in
the "bash window" (we *really* ought to come up with a better name for
that). Looks like vim doesn't recognize TERM=cygwin and doesn't set t_ti
and t_te appropriately. These two variables control the "alternate
screen" feature. As they aren't even defined for TERM=cygwin, I don't
know how it ever worked (unless termcap/terminfo were changed recently).
|\ _,,,---,,_ pechtcha at cs dot nyu dot edu
ZZZzz /,`.-'`' -. ;-;;,_ igor at watson dot ibm dot com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html