X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=R/nGsGrUzcKu47eX NJGdEPsycjKhzCzO5XJmpDr1fmOv2kMv2iDEY8J62o+qZy3cuJ1gjoMTmrqrDYiX J0XpJku4iuLdyjh/dmhilawMJXeKLLgig8GxlzbSNG5ZMwjLYdR2ev14LIJhOEhT whsGNtiyWoQXbf2zHeTcMg1E5uw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:mime-version:content-type :content-transfer-encoding; s=default; bh=gYUdQFNQAxwXo3/dgoDnN6 3E6A4=; b=HmDyVZxODOBD0M/JstC8z2ywWBQWWoWkcKnr4yvP8WpdrSjAug7Mfi tGHCTUWRuUraJaVGShO1vEGsUKiLUS5UjiE3PeW2u6C8DP8Z6ILE7ckeP0OsRS7A 7kTDXMEW+4iknGbt9eh9upImdM11ytAPyd0Qr/j/vzwvCvi9sNFyY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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== From: Jose Isaias Cabrera To: "cygwin AT cygwin DOT com" , Kevin Schnitzius Subject: Re: cygwin 3.1 pseudo console in PTY and break/ctrl-c handling Date: Tue, 18 Feb 2020 21:30:10 +0000 Message-ID: References: <937489593 DOT 4978154 DOT 1582060605719 DOT ref AT mail DOT yahoo DOT com>,<937489593 DOT 4978154 DOT 1582060605719 AT mail DOT yahoo DOT 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" X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 01ILVCao006072 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 steps you are doing. > With 3.1.2-1: > > mintty -o "CA+F12:break" =====> ctrl-alt-F12 causes a break and kills > notepad > mintty -o "c:break" =====> ctrl-shift-c causes a break and kills notepad > mintty -o "C+c:break" =====> FAIL -- ctrl-c kills native apps but notepad > is not affected > mintty -o "CA+c:break" =====> FAIL -- ctrl-alt-c kills native apps 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