Screen clearing in CMD without "Legacy Console Mode"

2021-04-30 Thread Kevin Locke via Cygwin
Hi All, I'm investigating an issue in Git for Windows[^1], which also affects Cygwin. The issue is that, when using CMD (i.e. Command Prompt) on Windows 10 1703 or above with "Legacy Console Mode"[^2] disabled, if TERM=cygwin is set in the environment, the console is not cleared when vi exits. T

Re: Screen clearing in CMD without "Legacy Console Mode"

2021-04-30 Thread Takashi Yano via Cygwin
On Fri, 30 Apr 2021 08:25:12 -0600 Kevin Locke wrote: > Hi All, > > I'm investigating an issue in Git for Windows[^1], which also affects > Cygwin. The issue is that, when using CMD (i.e. Command Prompt) on > Windows 10 1703 or above with "Legacy Console Mode"[^2] disabled, if > TERM=cygwin is se

Re: Screen clearing in CMD without "Legacy Console Mode"

2021-04-30 Thread Kevin Locke via Cygwin
On Fri, 2021-04-30 at 23:53 +0900, Takashi Yano wrote: > On Fri, 30 Apr 2021 08:25:12 -0600 Kevin Locke wrote: >> I'm investigating an issue in Git for Windows[^1], which also affects >> Cygwin. The issue is that, when using CMD (i.e. Command Prompt) on >> Windows 10 1703 or above with "Legacy Con

Re: Screen clearing in CMD without "Legacy Console Mode"

2021-04-30 Thread Brian Inglis
On 2021-04-30 08:53, Takashi Yano via Cygwin wrote: On Fri, 30 Apr 2021 08:25:12 -0600 Kevin Locke wrote: Hi All, I'm investigating an issue in Git for Windows[^1], which also affects Cygwin. The issue is that, when using CMD (i.e. Command Prompt) on Windows 10 1703 or above with "Legacy Conso

Re: Screen clearing in CMD without "Legacy Console Mode"

2021-04-30 Thread Takashi Yano via Cygwin
On Fri, 30 Apr 2021 10:40:33 -0600 Brian Inglis wrote: > On 2021-04-30 08:53, Takashi Yano via Cygwin wrote: > > On Fri, 30 Apr 2021 08:25:12 -0600 > > Kevin Locke wrote: > >> Hi All, > >> > >> I'm investigating an issue in Git for Windows[^1], which also affects > >> Cygwin. The issue is that, wh

Re: Screen clearing in CMD without "Legacy Console Mode"

2021-04-30 Thread Jack Adrian Zappa via Cygwin
On Fri, Apr 30, 2021 at 1:31 PM Takashi Yano via Cygwin wrote: > Why on earth do you want to set TERM=cygwin? > If you don't set TERM=cygwin, TERM is automatically set to > xterm-256color, in which the issue does not occur. > Might be because for the longest time, if you didn't set it to cygwin,

Re: Screen clearing in CMD without "Legacy Console Mode"

2021-05-05 Thread Johannes Schindelin via Cygwin
Hi, On Fri, 30 Apr 2021, Kevin Locke wrote: > On Fri, 2021-04-30 at 23:53 +0900, Takashi Yano wrote: > > On Fri, 30 Apr 2021 08:25:12 -0600 Kevin Locke wrote: > >> I'm investigating an issue in Git for Windows[^1], which also affects > >> Cygwin. The issue is that, when using CMD (i.e. Command P

Re: Screen clearing in CMD without "Legacy Console Mode"

2021-05-06 Thread Takashi Yano via Cygwin
On Wed, 5 May 2021 15:07:04 +0200 (CEST) Johannes Schindelin wrote: > Hi, > > On Fri, 30 Apr 2021, Kevin Locke wrote: > > > On Fri, 2021-04-30 at 23:53 +0900, Takashi Yano wrote: > > > On Fri, 30 Apr 2021 08:25:12 -0600 Kevin Locke wrote: > > >> I'm investigating an issue in Git for Windows[^1],

Re: Screen clearing in CMD without "Legacy Console Mode"

2021-05-06 Thread Takashi Yano via Cygwin
On Thu, 6 May 2021 18:12:38 +0900 Takashi Yano via Cygwin> wrote: > On Wed, 5 May 2021 15:07:04 +0200 (CEST) > Johannes Schindelin wrote: > > Hi, > > > > On Fri, 30 Apr 2021, Kevin Locke wrote: > > > > > On Fri, 2021-04-30 at 23:53 +0900, Takashi Yano wrote: > > > > On Fri, 30 Apr 2021 08:25:12 -