Console doesn't work correctly under anything else than cmd or mintty
Thu May 14 03:33:06 GMT 2020
On Thu, 14 May 2020 01:15:55 +0200
Kacper Michajlow <email@example.com> wrote:
> On Wed, 13 May 2020 at 12:34, Takashi Yano <firstname.lastname@example.org> 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
> 1. ssh <hostname>
> 2. Run read command
> 3. You can type, but trying to erase char with Backspace key will print ⌂
> 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 <email@example.com>
More information about the Cygwin