From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95860 invoked by alias); 18 Feb 2020 21:30:37 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 92827 invoked by uid 89); 18 Feb 2020 21:30:24 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=Kevin, uname, schnitzius, H*i:sk:9374895 X-HELO: EUR02-HE1-obe.outbound.protection.outlook.com Received: from mail-oln040092068107.outbound.protection.outlook.com (HELO EUR02-HE1-obe.outbound.protection.outlook.com) (40.92.68.107) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 18 Feb 2020 21:30:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GhTsonaGKEMh9r2CHewD/o9gQxgQIzrPhWtQ+RZ40wCnCkU/18jlXAXhmCMptZz56RNi4MAPlnLmZo1OuDqGvmm/mrOVoj0g3pbxrwAL3TbDGO8WH2eIyZB1XkxOSa/xRtL1nQdt/EKwUxJcHQ/YWLIXz4AMfBzXGVV68JtDLfT7mWc8pYEjqjmAttxupMpJprsJeoMyU2iR5SMi8d8BtvqOqjHbKk4cltRyiyvM9OQCER3Y2mghrhenx/t4yaHiVgYR2KkiVGAVjEj6F2rnZnW+t5Lkp05bMSipkLsa1Rc9INDjRvRzTzufxHGwCn5sXMLbsIdwSFVm5TxstcUi/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wO0aOlbdgpNxiqco23rUwDcb14JQ8w9wvokvijeuVks=; b=fgqltOQoX4q+xNVESuFni/wWr/dW6FPYL2zy+bSbibI0q5yaVoify8vnCRzXQ9RVEDO68x2nRnBUoJCdUAJNMiVVjNRCKRAkVZlxoG78XOatap2q/HxTlcvUlGiXcl4X8IVOAPdutK8pqvXAwX4dCFbGkKFDJsbT920mfkLxky6W7UTUt+MpdpLWRiCEiLuNAjRlFEBGNr4J/sgxww2nALQkLE7moW9s0qn7WFzU9860TDCrvX0uzEFsH+72HE2eOGY8IG8E2ZsN4kyf5FcA8cOqS/fBsPaoISq1gLZCOwSjCrcXxWzKwXxA3o+BcyubzF+0oECJzwGiY2uQBJrcjg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wO0aOlbdgpNxiqco23rUwDcb14JQ8w9wvokvijeuVks=; b=hpdrg2xVzVoL5tlLb6JpndV2xNpCk9OWK7Dmim6UJKCoKZCM670TM3rxZ+638nFzIC/RtFXYCD1LlUQOOSAIum2xJ80Po376I/TbwBKBDyHGDbqmkx+y4dMdplKlEwMguZaPinkDNzD1oGx7yFkC04KsjKSeb0GDWAZ9mVUzOcoOn+d8cE1UoI7k6RJKwqSzhxWjdzApkKgYRe1d48XoBEn/ptfQFK9zmzqa/mDDjJvG+2yY+JvLNs5SD5IQ0pSS5600P+UE+fm2mhqDxpLT5/cRbwqmqYBaRBbBcTfLE9F1VrQPgS8jntVY3FjMV87hCKET7mLPbpVtLK7XJhb7Fw== Received: from VE1EUR02FT029.eop-EUR02.prod.protection.outlook.com (10.152.12.57) by VE1EUR02HT204.eop-EUR02.prod.protection.outlook.com (10.152.12.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.22; Tue, 18 Feb 2020 21:30:10 +0000 Received: from VI1P195MB0765.EURP195.PROD.OUTLOOK.COM (10.152.12.51) by VE1EUR02FT029.mail.protection.outlook.com (10.152.12.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.22 via Frontend Transport; Tue, 18 Feb 2020 21:30:10 +0000 Received: from VI1P195MB0765.EURP195.PROD.OUTLOOK.COM ([fe80::e5ee:b39:4983:683]) by VI1P195MB0765.EURP195.PROD.OUTLOOK.COM ([fe80::e5ee:b39:4983:683%3]) with mapi id 15.20.2729.032; Tue, 18 Feb 2020 21:30:10 +0000 From: Jose Isaias Cabrera To: "cygwin@cygwin.com" , Kevin Schnitzius Subject: Re: cygwin 3.1 pseudo console in PTY and break/ctrl-c handling Date: Tue, 18 Feb 2020 21:30:00 -0000 Message-ID: References: <937489593.4978154.1582060605719.ref@mail.yahoo.com>,<937489593.4978154.1582060605719@mail.yahoo.com> In-Reply-To: <937489593.4978154.1582060605719@mail.yahoo.com> x-ms-exchange-antispam-messagedata: 48MXGd2Bnm3Szh/qmSy8qRDZHd5bxX8RLx7AWiUuIAlRZSX3b6hDfmQqbhiW8HTPnrrJCzq0SOqT1DmW309s/C94AOsMjA/xFjwo+jZx8chr10iUKsKVrT2nKR6XawnDqgkvIN2uBlQskmIRKVHkAQ== x-ms-exchange-transport-forked: True MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00142.txt.bz2 Kevin Schnitzius via cygwin, on Tuesday, February 18, 2020 04:16 PM, > wrote... > > With Cygwin version 3.0.7-1, crtl-c kills native apps that are started > from the shell, For example, starting notepad in the foreground from bash > would be kill by a ctrl-c. > > With Cygwin version 3.1.2-1, crtl-c DOES NOT kill native apps that are > started from the shell, > > Can I restore this behavior? It's working fine for me, $ uname -a CYGWIN_NT-10.0-WOW HORSE8E 3.1.2(0.340/5/3) 2019-12-21 15:21 i686 Cygwin But I am using a 32bit system. Or maybe, I am not properly following the st= eps you are doing. > With 3.1.2-1: > > mintty -o "CA+F12:break" =3D=3D=3D=3D=3D> ctrl-alt-F12 causes a break and= kills > notepad > mintty -o "c:break" =3D=3D=3D=3D=3D> ctrl-shift-c causes a break and kill= s notepad > mintty -o "C+c:break" =3D=3D=3D=3D=3D> FAIL -- ctrl-c kills native apps b= ut notepad > is not affected > mintty -o "CA+c:break" =3D=3D=3D=3D=3D> FAIL -- ctrl-alt-c kills native a= pps but > notepad is not affected > > These tests show that the 'break' signal can be propagated from mintty > but is not for the ctrl-c case. > > I am guessing that this behavior is from the pty handing but I have not > dug into this code or installed winpty. > > Is all this documented somewhere that I could not find? > > Kevin -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple