public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin@cygwin.com
Subject: Re: Console doesn't work correctly under anything else than cmd or mintty
Date: Thu, 14 May 2020 12:33:06 +0900	[thread overview]
Message-ID: <20200514123306.46d94d4b32990a0b240368b9@nifty.ne.jp> (raw)
In-Reply-To: <CABPLASQf4L0WN6wOFd2C6=6ZY1hM9mCL6LaNLsQRa4yGbP6=Mw@mail.gmail.com>

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>

  parent reply	other threads:[~2020-05-14  3:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-12 20:26 Kacper Michajlow
2020-05-13  8:50 ` Eric Lilja
2020-05-13 10:34 ` Takashi Yano
     [not found]   ` <CABPLASQf4L0WN6wOFd2C6=6ZY1hM9mCL6LaNLsQRa4yGbP6=Mw@mail.gmail.com>
2020-05-14  3:33     ` Takashi Yano [this message]
2020-05-14 17:48       ` Kacper Michajlow
2020-05-14 23:47         ` Takashi Yano
2020-05-15  9:34           ` Kacper Michajlow
2020-05-15 11:45             ` Takashi Yano
2020-05-15 15:41               ` Kacper Michajlow
2020-05-15 20:57           ` Brian Inglis
2020-05-16  4:58             ` Takashi Yano
2020-05-16 12:10               ` Brian Inglis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200514123306.46d94d4b32990a0b240368b9@nifty.ne.jp \
    --to=takashi.yano@nifty.ne.jp \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).