[PATCH] Cygwin: pty: Trigger redraw screen if ESC[?3h or ESC[?3l is sent.

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Nov 14 09:49:00 GMT 2019


On Nov 14 10:35, Corinna Vinschen wrote:
> Hi Takashi,
> 
> On Nov 13 19:49, Takashi Yano wrote:
> > - Pseudo console clears console screen buffer if ESC[?3h or ESC[?3l
> >   is sent. However, xterm/vt100 does not clear screen. This cause

Btw., this is not pseudo console behaviour per se, but the standard
behaviour of the new Windows console with VT ESC sequences turned on.
You can try this in a normal console under Cygwin.  It will clear the
screen after ESC[?3h, but it won't actually resize the console to switch
into 132 column mode.

This probably won't matter much for the problem at hand, I'm just
writing this so this is mentioned somewhere searchable.


Corinna


> 
> This is only correct if xterm hasn't been started with the c132 widget
> resource set to 'true'.  This resource specifies whether the ESC[?3h
> and ESC[?3l ESC sequences are honored or not.  The default is 'false'.
> 
> However, if you specify the c132 resource, or if you start xterm
> with the commandline option -132, it will resize when these sequences
> are sent.  And here's the joke: The resize also clears the screen
> in xterm.
> 
> My question now is, does this change anything in terms of the below
> code, or is it still valid as is?
> 
> 
> Thanks,
> Corinna
> [...]

-- 
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20191114/1940369b/attachment.sig>


More information about the Cygwin-patches mailing list