Re: Console doesn't work correctly under anything else than cmd or mintty

2020-05-16 Thread Brian Inglis
On 2020-05-15 22:58, Takashi Yano via Cygwin wrote: > On Fri, 15 May 2020 14:57:14 -0600 > Brian Inglis wrote: >>> cygcheck -k >> >> This key check works only in a console window, _NOT_ in a terminal session! >> Abort with Ctrl+C if in a terminal session. > > Now cygcheck -k works in pty in a limi

Re: Console doesn't work correctly under anything else than cmd or mintty

2020-05-15 Thread Takashi Yano via Cygwin
On Fri, 15 May 2020 14:57:14 -0600 Brian Inglis wrote: > >cygcheck -k > > This key check works only in a console window, _NOT_ in a terminal session! > Abort with Ctrl+C if in a terminal session. Now cygcheck -k works in pty in a limited way due to pseudo console support if the OS is Win10 1809 o

Re: Console doesn't work correctly under anything else than cmd or mintty

2020-05-15 Thread Brian Inglis
On 2020-05-14 17:47, Takashi Yano via Cygwin wrote: > On Thu, 14 May 2020 19:48:59 +0200 > Kacper Michajlow wrote: >> On Thu, 14 May 2020 at 05:33, Takashi Yano wrote: >> >>> I guess setting >>> stty erase '^?' >>> on the host resolves this problem. >>> >> >> Nope, it still doesn't work. And '^?'

Re: Console doesn't work correctly under anything else than cmd or mintty

2020-05-15 Thread Kacper Michajlow via Cygwin
On Fri, 15 May 2020 at 13:45, Takashi Yano wrote: > ... > Then, > stty echoe echok echoctl echoke > should solve the problem. > Indeed, but I got confused, because it does work fine in local session and it also has -echoe -echok -echoctl -echoke... What is the difference? I'm just curious at thi

Re: Console doesn't work correctly under anything else than cmd or mintty

2020-05-15 Thread Takashi Yano via Cygwin
On Fri, 15 May 2020 11:34:33 +0200 Kacper Michajlow wrote: > Windows Terminal: > > $ echo $TERM > xterm-256color > $ stty > speed 38400 baud; line = 0; > eol = M-^?; eol2 = M-^?; > -brkint -imaxbel iutf8 > -echoe -echok -echoctl -echoke ... > Mintty: > > $ echo $TERM > xterm-256color > $ stty > s

Re: Console doesn't work correctly under anything else than cmd or mintty

2020-05-15 Thread Kacper Michajlow via Cygwin
On Fri, 15 May 2020 at 01:47, Takashi Yano wrote: > Please check the result of > xxd > Ctrl-V Backspace Enter Ctrl-D > Here is comparison with running ssh connection to the same machine in WT and Mintty. Also I noticed that selecting and copying multi-line output of stty in Windows Terminal was

Re: Console doesn't work correctly under anything else than cmd or mintty

2020-05-14 Thread Takashi Yano via Cygwin
On Thu, 14 May 2020 19:48:59 +0200 Kacper Michajlow wrote: > On Thu, 14 May 2020 at 05:33, Takashi Yano wrote: > > > I guess setting > > stty erase '^?' > > on the host resolves this problem. > > > > Nope, it still doesn't work. And '^?' default so it doesn't change > anything. Please note that

Re: Console doesn't work correctly under anything else than cmd or mintty

2020-05-14 Thread Kacper Michajlow via Cygwin
On Thu, 14 May 2020 at 05:33, Takashi Yano wrote: > I guess setting > stty erase '^?' > on the host resolves this problem. > Nope, it still doesn't work. And '^?' default so it doesn't change anything. Please note that in bash Backspace works fine, but in read command (or any other program that

Re: Console doesn't work correctly under anything else than cmd or mintty

2020-05-13 Thread Takashi Yano via Cygwin
On Thu, 14 May 2020 01:15:55 +0200 Kacper Michajlow wrote: > On Wed, 13 May 2020 at 12:34, Takashi Yano wrote: > > > What do you mean by "Microsoft Terminal"? Also, do you use cygwin vim? > > If you mean "Windows Terminal" and cygwin vim, I cannot reproduce your > > problem. Arrow keys are work

Re: Console doesn't work correctly under anything else than cmd or mintty

2020-05-13 Thread Takashi Yano via Cygwin
On Tue, 12 May 2020 22:26:07 +0200 Kacper Michajlow via Cygwin wrote: > I was testing latest master (e637d53) and console is clunky in anything > that isn't cmd.exe or mintty. I tested Microsoft Terminal and ConEmu. > > For example navigating with arrows doesn't work in vim. In zsh searching > hi

Re: Console doesn't work correctly under anything else than cmd or mintty

2020-05-13 Thread Eric Lilja via Cygwin
I had a similar experience when I tried to use the CLI that comes with MongoDB. Switched to use TakeCommand instead when I needed to use the MongoDB CLI. Too bad! - Eric L On Tue, May 12, 2020 at 11:05 PM Kacper Michajlow via Cygwin < cygwin@cygwin.com> wrote: > Hi, > > I was testing latest mast

Console doesn't work correctly under anything else than cmd or mintty

2020-05-12 Thread Kacper Michajlow via Cygwin
Hi, I was testing latest master (e637d53) and console is clunky in anything that isn't cmd.exe or mintty. I tested Microsoft Terminal and ConEmu. For example navigating with arrows doesn't work in vim. In zsh searching history with up arrow when there is beginning of the command doesn't work. And