Console doesn't work correctly under anything else than cmd or mintty
Takashi Yano
takashi.yano@nifty.ne.jp
Thu May 14 03:33:06 GMT 2020
On Thu, 14 May 2020 01:15:55 +0200
Kacper Michajlow <kasper93@gmail.com> wrote:
> On Wed, 13 May 2020 at 12:34, Takashi Yano <takashi.yano@nifty.ne.jp> 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 working correctly in vim with Windows Terminal
> > as well as with console (command prompt)
>
>
> Of course, I meant Windows Terminal, silly mistake :)
>
> Also I am sorry for not checking it thoroughly enough. Because while it
> broke by updating Cygwin, actually updating WT to latest version fixed most
> of my problems. I have not tested it much yet, but only one issue remains.
>
> When something ask for user input, Backspace doesn't work in remote ssh
> session.
>
> STR:
> 1. ssh <hostname>
> 2. Run read command
> 3. You can type, but trying to erase char with Backspace key will print ⌂
> instead.
>
> This happens only in remote ssh session in WT using Cygwin's ssh. Works
> fine using Native Window's OpenSSH client or in local Cygwin session. Also
> works fine when using mintty or WSL for that matter...
>
> I don't know who is to blame here, WT or Cygwin?
I guess setting
stty erase '^?'
on the host <hostname> resolves this problem.
--
Takashi Yano <takashi.yano@nifty.ne.jp>
More information about the Cygwin
mailing list