From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 72533 invoked by alias); 18 Feb 2020 21:18:51 -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 72525 invoked by uid 89); 18 Feb 2020 21:18:50 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=yahoocom, yahoo.com, H*M:yahoo, H*x:WebService X-HELO: sonic304-25.consmr.mail.gq1.yahoo.com Received: from sonic304-25.consmr.mail.gq1.yahoo.com (HELO sonic304-25.consmr.mail.gq1.yahoo.com) (98.137.68.206) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 18 Feb 2020 21:18:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1582060725; bh=aUNfYMGoV3vQYXTU41iR8nTDz9VMpDi8RcoKGjGtTbw=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=NUkW00HYKsJCFarmRAveeRleW11CMyHn86DOgoGORYnad8DRdYSQQKJXcHSc0XLzOfOCk3ZUIcdu4yv36imgs9fQs7UJBv8uAxQphJuVwD4p1s46tZOKfCBl4dKVmdAb1Y+VjpWo5LpEfB6i1GhdJoD58LkHvf19P9NdJrwApFS1Bz55tnJ9gbrQfzb0tsD+808V2hQKT+6pfo30jpzSWfea/+PuimDfaeExsNswPJnDrKCqpyjLAvH8PevSa81Xm7KvZ7h6gsbW56egWrnZmdFaW1qL7hI1/yfgavw76qQL1QvxcWgGXCXvgAgVvsyRBqHP4Hy8EJtM/HvD1BFyBA== Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.gq1.yahoo.com with HTTP; Tue, 18 Feb 2020 21:18:45 +0000 Date: Tue, 18 Feb 2020 21:18:00 -0000 From: "Kevin Schnitzius via cygwin" Reply-To: Kevin Schnitzius Reply-To: Kevin Schnitzius To: "cygwin@cygwin.com" Message-ID: <937489593.4978154.1582060605719@mail.yahoo.com> Subject: cygwin 3.1 pseudo console in PTY and break/ctrl-c handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <937489593.4978154.1582060605719.ref@mail.yahoo.com> X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00141.txt.bz2 With Cygwin version 3.0.7-1, crtl-c kills native apps that are started from= the shell,=C2=A0 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 star= ted from the shell,=C2=A0 Can I restore this behavior? With 3.1.2-1: mintty -o "CA+F12:break"=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D=3D=3D=3D=3D>=C2= =A0 =C2=A0 ctrl-alt-F12 causes a break and kills notepad mintty -o "c:break"=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =3D=3D=3D=3D=3D>=C2=A0 =C2=A0 ctrl-shift-c causes a break= and kills notepad mintty -o "C+c:break"=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0=3D=3D=3D=3D=3D>=C2=A0 FAIL -- ctrl-c kills native apps but notepad i= s not affected mintty -o "CA+c:break"=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =3D=3D=3D=3D=3D>=C2=A0 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.=C2=A0=C2=A0 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?=C2=A0=C2=A0 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