delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/01/27/06:19:00

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 50RBIwoc1871753
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 50RBIwoc1871753
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=jc93wrXA
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 30D27385829B
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1737976737;
bh=pUE0vlfMlfB4nZmTsKci1dH9TrPT5DF5RFhIz/TElBc=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=jc93wrXANt/fW+5NKopbOB8SLH92n6tc6MngSYklBuqKXN3u2nABNOlww/OyRjs3G
WEGUu1EZ4dcVfkVaNNEqNXKpx8CUU8ABNedSha/WIdje71Mp0SWZtpvTbnlQl0hgF3
Fnn3480UYvBWgEg7lYhczAtICRzPYV0hwNhuPW2Y=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2E08F3858430
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2E08F3858430
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1737976645; cv=none;
b=uSlH/hxzYZRpZBL5kJADqCgM3J4CPGUyuyrJt3CWwOWGMLYkOaoQGoYrnSfV5M5qc1+vp6JMYjVc+NNEqgVto+xM4PPMQEmA4WkcQWYR+97rJKSusGspX8CbZw9ZoYCdngfRow4T/sV4P1zWvPEBRJwJM5I1Lhmi0YfpdHaGrHA=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1737976645; c=relaxed/simple;
bh=RGDzf65WWYtC/2pQBw8cohh2KRwR2jypCIIXV9pYRo8=;
h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature;
b=uiaIxDbUMk64bUVX5/YxsFMVrZm5La8u4Egyr5+SFO6HKyIIeKuBt2owkAbIt8iQ1YlchUtKKRaTYHiFaD64kVzxEXsJbjJcWnMKhhZR52ehqeTq23eNURBPv0TqjUJa/93dkJJ2ztT7ys/EHP6NllnZp5r7+3OdfYyTbLXG57E=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2E08F3858430
Date: Mon, 27 Jan 2025 20:17:21 +0900
To: cygwin AT cygwin DOT com
Subject: [mintty] Problem of the control key on focus change
Message-Id: <20250127201721.2f31acf76d494f5e13652537@nifty.ne.jp>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi Thomas,

A few days ago, Corinna asked me to check a problem of TTY.
The problem is as follows.

Reproduce steps:
(1) Open mintty.
(2) Open another mintty.
(3) Place the second mintty window over the first one.
(4) Hold ctrl key down.
(5) Press 'd' key while holding ctrl key. The second mintty
    window will be closed. Keep ctrl key still hold down.
(6) Now the first mintty window is focused. Then press 'd' key
    while holding ctrl key down.
(7) The first mintty window will not logout but displays 'd'.

I checked the pty and found the pty in the first mintty
receives just 'd' but not Ctrl-D from mintty. In other words,
fhandler_pty_master::write() is called with 'd'. So I suspect it
might be a problem of mintty. Therefore, I tried old version
of mintty. The results are:

3.7.7-1: NG
3.7.4-1: NG
2.9.6-0: OK

I guess this bug(?) was introduced between 2.x.x and 3.7.x.

Any idea?

If you need more information from pty side, please let me know.

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019