This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
RE: New terminal capability in fhandler_console.cc
- To: <cygwin-patches at cygwin dot com>
- Subject: RE: New terminal capability in fhandler_console.cc
- From: "Luis Lozano" <luislozano at webhostix dot com>
- Date: Sun, 1 Apr 2001 04:12:36 -0700
-----Original Message-----
From: luislozano@webhostix.com [mailto:luislozano@webhostix.com]On
Behalf Of Christopher Faylor
Sent: Viernes, 30 de Marzo del 2001 07:47 AM
To: cygpatch
Subject: Re: New terminal capability in fhandler_console.cc
On Fri, Mar 30, 2001 at 01:15:41PM +0200, Corinna Vinschen wrote:
>Hi,
>
>I've just checked in a patch to fhandler_console.cc which adds a
>terminal capability to the windows console.
>
>ESC [ ? 47 h == Save screen content
>ESC [ ? 47 l == Restore screen content
>
>This allows adding the termcap capabilities `ti' and `te' to the
>"cygwin" terminal entry in the same way as they are defined for
>xterm:
>
> :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:
>
>That enables vim to restore the old screen content after quitting
>the same way in a console window as it does in a xterm window.
Nice. I'm constantly surprised when vim doesn't act this way.
How about implementing "insert a character" for your next trick?
Then, we're getting dangerously close to vt100 functionality, I think.
cgf