X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AAA6138708AC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1590915910; bh=4IZ9NTCfuoQCjTE8EpLBySHJWCHb85Sr6NFkQw1DGZM=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=my8C4uxVcTy3kquLp6SuNbZ+oxZib2wdhAE7HuLXT4GhNPwRM4+4cQolRpFaiL4x5 jhLo5B/fjEMZytMFGT3Osepf7Jqb5gsF1riFrBBskYo7PHMRBj6ntkyHGQcS5A27WM 5tjhijHHOaC+HJ/9z+QeDVQi2sRry4u8pZTBs9oM= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 792BD3851C30 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 To: cygwin AT cygwin DOT com 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 DOT da3864bdc895a02b768bb694 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=-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 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 Cc: Andrew Ng Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" 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 -- 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