Re: [PATCH] Cygwin: pty: Disable clear screen for ssh sessions with -t option.

2019-10-21 Thread Corinna Vinschen
On Oct 22 09:09, Takashi Yano wrote: > On Mon, 21 Oct 2019 11:43:56 +0200 > Corinna Vinschen wrote: > > So it seems cmd.exe is the only (or one of few) native CLI tools > > actually trying to manipulate the screen buffer. And what it does is > > not so much clearing the screen, but to align buffer

Re: [PATCH] Cygwin: pty: Disable clear screen for ssh sessions with -t option.

2019-10-21 Thread Takashi Yano
On Mon, 21 Oct 2019 11:43:56 +0200 Corinna Vinschen wrote: > So it seems cmd.exe is the only (or one of few) native CLI tools > actually trying to manipulate the screen buffer. And what it does is > not so much clearing the screen, but to align buffer line 1 with the top > of the screen, even if l

Re: [PATCH] Cygwin: Provide more COM devices

2019-10-21 Thread Achim Gratz
Corinna Vinschen writes: > That's not the right way to patch this. devices.cc gets generated from > devices.in by the gendevices script which in turn calls shilka from the > cocom package. Now that you mention it I remember… :-( > Apart from the struct members you added here, it will > also add

Re: [PATCH] Cygwin: pty: Disable clear screen for ssh sessions with -t option.

2019-10-21 Thread Corinna Vinschen
On Oct 21 19:55, Takashi Yano wrote: > On Mon, 21 Oct 2019 11:43:56 +0200 > Corinna Vinschen wrote: > > So it seems cmd.exe is the only (or one of few) native CLI tools > > actually trying to manipulate the screen buffer. And what it does is > > not so much clearing the screen, but to align buffer

Re: [PATCH] Cygwin: pty: Disable clear screen for ssh sessions with -t option.

2019-10-21 Thread Takashi Yano
On Mon, 21 Oct 2019 19:55:15 +0900 Takashi Yano wrote: > netsh is even worse. The cursor position will be broken by the follwing > steps. > 1) env TERM=dumb script > 2) netsh > 3) winhttp show proxy wmic also has the cursor position problem. 1) env TERM=dumb script 2) /cygdrive/c/windows/system32

Re: [PATCH] Cygwin: pty: Disable clear screen for ssh sessions with -t option.

2019-10-21 Thread Takashi Yano
On Mon, 21 Oct 2019 11:43:56 +0200 Corinna Vinschen wrote: > So it seems cmd.exe is the only (or one of few) native CLI tools > actually trying to manipulate the screen buffer. And what it does is > not so much clearing the screen, but to align buffer line 1 with the top > of the screen, even if l

Re: [PATCH] Cygwin: pty: Disable clear screen for ssh sessions with -t option.

2019-10-21 Thread Corinna Vinschen
Hi Takashi, On Oct 19 08:50, Takashi Yano wrote: > Hi Corinna, > > On Fri, 18 Oct 2019 16:33:06 +0200 > Corinna Vinschen wrote: > > Sorry, but this doesn't look feasible. > > > > You can't base the behaviour on the name of an application. What about > > other applications like telnetd, rshd, ju

Re: [PATCH] Cygwin: Provide more COM devices

2019-10-21 Thread Corinna Vinschen
Hi Achim, On Oct 20 15:27, Achim Gratz wrote: > > This was requested on IRC. > > >From a80b1c9ba67f94237948e85ad2dee744cdfbdcad Mon Sep 17 00:00:00 2001 > From: Achim Gratz > Date: Sun, 20 Oct 2019 15:23:04 +0200 > Subject: [PATCH] Cygwin: provide more COM devices > > * winsup/cygwin/devices.c