X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D7F013851C0F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1590854836; bh=03cPTh6kI8/grJyAUhPHNpJfcUP8KWvxHOtI/VUNPsc=; 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=YIdm4LsyvK9j+wTEqn4qismb3/KWdKhUDkwgv+neO05nTWgBKCP0ATh0MscNmrwJk TNs+w8cvj9zAt+GFTsT3Ui0Lfz6d4iElQEKi9OhSDFxhmcaxr4KMRAhthHC7PxYKbO Jo5f5paDMGS17W1qgxFMrn+s9ak+F0M+3h0333b8= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 91DBE385BF81 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 04UG6JTV012513 X-Nifty-SrcIP: [124.155.38.192] Date: Sun, 31 May 2020 01:06:28 +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: <20200531010628.da3864bdc895a02b768bb694@nifty.ne.jp> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-1.2 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" 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. -- 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