From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-05.nifty.com (conssluserg-05.nifty.com [210.131.2.90]) by sourceware.org (Postfix) with ESMTPS id 792BD3851C30 for ; Sun, 31 May 2020 09:05:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 792BD3851C30 Received: from Express5800-S70 (v038192.dynamic.ppp.asahi-net.or.jp [124.155.38.192]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 04V94ZCs015826; Sun, 31 May 2020 18:04:35 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 04V94ZCs015826 X-Nifty-SrcIP: [124.155.38.192] Date: Sun, 31 May 2020 18:04:39 +0900 From: Takashi Yano To: cygwin@cygwin.com Cc: Andrew Ng Subject: Re: Repeated input in PTY with SSH when a native process runs a Cygwin process that consumes input Message-Id: <20200531180439.3f6a13db1ffa6ed1df39959a@nifty.ne.jp> In-Reply-To: <20200531010628.da3864bdc895a02b768bb694@nifty.ne.jp> References: <20200531010628.da3864bdc895a02b768bb694@nifty.ne.jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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@cygwin.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: , X-List-Received-Date: Sun, 31 May 2020 09:05:08 -0000 Hi Andrew, On Sun, 31 May 2020 01:06:28 +0900 Takashi Yano via Cygwin wrote: > On Sat, 30 May 2020 15:46:39 +0100 > Andrew Ng via Cygwin wrote: > > Hi, > > > > There appears to be an issue with repeated input in PTY (with pcon enabled) > > when using SSH. If I run MinGW git from the bash shell via ssh, and git > > then executes Cygwin less, e.g. for git log, then any input to less is > > repeated as input after git exits. So typically, you will end up with some > > number of space characters and 'q' in your terminal. > > > > I have also seen this same behaviour in MSYS2 with pcon enabled. > > > > Both Cygwin and MSYS2 are running 3.1.4. > > Thanks for the report. I looked into this problem and found > the cause. Let me consider how to fix. The developers snapshot, in which the issue has been fixed, is ready. Could you please test? -- Takashi Yano