From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: save/restore the console buffer. Date: Sat, 25 Aug 2001 19:54:00 -0000 Message-id: <20010825225446.A20524@redhat.com> References: <20010825210556.B24810@redhat.com> X-SW-Source: 2001-08/msg01153.html On Sun, Aug 26, 2001 at 11:27:44AM +0900, Kazuhiro Fujieda wrote: >>>> On Sat, 25 Aug 2001 21:05:56 -0400 >>>> Christopher Faylor said: > >>Huh. Good point. I think that vim used to do the right thing. Did >>something change? It works fine with less. > >Less is compiled not with ncurses but termcap. The /etc/termcap in the >current termcap package doesn't has `ti' and `te' capabilities for >cygwin, so less doesn't use the feature at all. I just released a new version of termcap with this feature. I'd built one of these some time ago when Corinna first added this capability and forgot to release it. That's why things work for me. When I add these to the cygwin entry for terminfo, vim works fine, too. I've included the terminfo entry that I used below. The change the terminfo database, just extract the file 'cygwin-terminfo' and type 'tic cygwin-terminfo'. cgf