[PATCH] Cygwin: pty: Disable clear screen for ssh sessions with -t option.
Mon Nov 11 10:05:00 GMT 2019
On 11/11/19 10:17 AM, Corinna Vinschen wrote:
> On Nov 8 22:42, Takashi Yano wrote:
>> I came up with another alternative. How about the attached
>> patch? This forcibly redraws screen when the first native
>> program is executed after creating new pty (pseudo console),
>> instead of clearing screen.
>> This does not solve missing screen contents, but can avoid
>> cursor position problem in netsh.
> I tested it and I think this is a great step forward. Dropping
> $TERM checks and clear screen sequence is the way to go!
I second that!
Your "when the first native program is executed" does lead me to my
next test case with native programs involved, which seems to work
as expected with your patch applied on top of commit d14714c69.
Thanks a lot!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2960 bytes
Desc: not available
More information about the Cygwin-patches