X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 76C33386F451 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1589427209; bh=F3ZTSHC0gK8LPVwGhgZgQK8qsu1CMzUge62yQIVXJIo=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=OxkGkLb9++9E/5HOU/fw3B04E2dgKfH3THO7mH7nz4jq9xmhenonxj6U4fs8m3W3k 8MXl1C4Xtx8MkB0+qXUdJJg+O41kNGgMB2VHgZKn3sNU6SkTIvBQgVG0Meae6soB6B LR3FzADSLClfzKTaT+A64odrR2DGrPucpzN2Q80A= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7DDD13851C2B DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 04E3WqtN003155 X-Nifty-SrcIP: [124.155.40.7] Date: Thu, 14 May 2020 12:33:06 +0900 To: cygwin AT cygwin DOT com Subject: Re: Console doesn't work correctly under anything else than cmd or mintty Message-Id: <20200514123306.46d94d4b32990a0b240368b9@nifty.ne.jp> In-Reply-To: References: <20200513193421 DOT 0de070302883f349c14ad5de AT nifty DOT ne DOT jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 04E3XtOR029757 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 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 > 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 resolves this problem. -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple