From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by sourceware.org (Postfix) with ESMTPS id A6114383F85F for ; Sat, 30 May 2020 14:46:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A6114383F85F Received: by mail-io1-xd32.google.com with SMTP id q8so2423992iow.7 for ; Sat, 30 May 2020 07:46:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=LAGEeqnjl1xg7Dejdo04ZWsQ1UxakGp3xGLsF6UtL7o=; b=UEj/EBk3kfn8E+7PWz1xI3zClFJbRej9FiJgTuD/9C37jnevTF/XG8CDN/92S//t7o GuprKOnw/9XiNQP+BtVL0CWeYGzlgVm3VtpHRrGbQsNDr3GaSy+8be4EeoomwMF7BpVX 3C2VSrh3bKy1G1SfhFdb8qKovW1QSqeW9ti9aSaY5obTGoSgGsnMeCoTSAZ5S8OVhYtD e8YpsaEmCY03s/EdY14afNT5Ot2GTyP0K3DFMrBPbv8tMNpmxwgc6oTQSzHOB0EEL97T vNturVFe1p5efUEvUP31Nx+OGbt9ciXf1ZQmg/dqDM1vbdgTTAZjwGav/VNhO3Kj4n6m 6BdQ== X-Gm-Message-State: AOAM533VjTCnDn4EBxxKcLs+V3kEtlK2VUE2OtFmguU4q8BvSXipxuF7 zi4uCw8aPFbiOY0em8uCEh7CzC8ettXyIgX8+LjxYw== X-Google-Smtp-Source: ABdhPJx+00TxNWUAH6PQeMtfpkk4r82GcA+n8hZbbsiYlZxlEIFKlKarRCtvlzVEEZT1FVtvABtPsnOF0kBXJj5G0hU= X-Received: by 2002:a02:c985:: with SMTP id b5mr11649171jap.22.1590850009799; Sat, 30 May 2020 07:46:49 -0700 (PDT) MIME-Version: 1.0 From: Andrew Ng Date: Sat, 30 May 2020 15:46:39 +0100 Message-ID: Subject: Repeated input in PTY with SSH when a native process runs a Cygwin process that consumes input To: cygwin@cygwin.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, 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 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sat, 30 May 2020 14:46:51 -0000 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. Thank you, Andrew Ng