X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 43B0F383E801
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1590850013;
	bh=8fsWP1oIH1cErJ02LwPtn49VGnWtEGRDjLZ9guDiS00=;
	h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=CCMzwvRUibwVxWktmpA/n1s7wPRlv4sN7jlIK6fZQbV8uBHDdBYaX+Haz1PVRNmdX
	 4REBCySWk+mOYDkX9f3s+/ZNZGhUBKnfDJtt3Iaoidqh5zvMDD2ubeHsaOLSOBfnTX
	 6GXi8a1ujP0OGsPlZsRWDKzgSHTDjyb3p+3vwmXA=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A6114383F85F
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
Date: Sat, 30 May 2020 15:46:39 +0100
Message-ID: <CADbiGS7HpQanb1seVLu8O8QqB+G_FN2mc-cgeoo7Hx-NnM7w3Q@mail.gmail.com>
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
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Andrew Ng via Cygwin <cygwin@cygwin.com>
Reply-To: Andrew Ng <anng.sw@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

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
--
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
