From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77811 invoked by alias); 19 Feb 2020 20:02:57 -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 77017 invoked by uid 89); 19 Feb 2020 20:02:57 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=played, only, towotowonet, towo@towo.net X-HELO: sonic316-55.consmr.mail.gq1.yahoo.com Received: from sonic316-55.consmr.mail.gq1.yahoo.com (HELO sonic316-55.consmr.mail.gq1.yahoo.com) (98.137.69.31) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 19 Feb 2020 20:02:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1582142574; bh=cN2QUfyRUo0cpoEthm6MOoPs2EpC1T8WKBVFUWY+HLo=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=rzZh6rL6e+Tb/XR24TEd/6gMrPCEgBWqUMKKZEvwUZOHSTsT48mEhJlPdm1i4HfOlhgAkxRA6PWh+aj1LyaWF84iEOERengXrszgbMNYGP9jL0jdHwJhomr+MGuhJ1ZyE4gg8zrkR8kzkiiL9INSu/rrM1t88fJbvARQXfr6xP+YCVdVkoGMFywIbgCOvDHh0SbiXNkJfdmRGdW3Y4NlcGOnall4iTrFWl5Iu9YLEOL/E8hQ7IFlSYwjci+2iGQGQaJEfiWhGepqFjSWHQWElDOPMNzg8WwXvu7Yvb0G/KKus1wIPmOwCFKtHbrtyrfjygBhnVK80plP9KTR0opTHA== Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Wed, 19 Feb 2020 20:02:54 +0000 Date: Wed, 19 Feb 2020 20:02:00 -0000 From: "Kevin Schnitzius via cygwin" Reply-To: Kevin Schnitzius Reply-To: Kevin Schnitzius To: cygwin@cygwin.com, Thomas Wolff Message-ID: <1610701589.5557144.1582142570779@mail.yahoo.com> In-Reply-To: References: <937489593.4978154.1582060605719.ref@mail.yahoo.com> <937489593.4978154.1582060605719@mail.yahoo.com> Subject: Re: 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 X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00152.txt.bz2 On Tuesday, February 18, 2020, 05:54:23 PM EST, Thomas Wolff wrote:=C2=A0 >> 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=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 =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 =3D=3D=3D=3D=3D>=C2=A0 FAIL -- ctrl-c kills native apps but n= otepad is 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=3D=3D=3D=3D=3D>=C2=A0 FAIL -- ctrl-alt-c kills native apps bu= t notepad is not affected > > This would be mintty -o KeyFunctions=3D'CA+F12:break' etc. > The latter two are not valid mintty configuration; Ctrl is only=C2=A0 > supported as a modifier for function keys and special keys, not letters.= =C2=A0 > This is unchanged with the cygwin version. Ah, thank you.=C2=A0 That was the clue that I needed. For those also having this problem: mintty.exe -o "KeyFunctions=3Dc:break" -o CtrlExchangeShift=3Dtrue - will propagate Ctrl-C to the non-native apps and kill them, imitating the b= ehavior of 3.0.X Cygwin. Now that I have played with this for a while, I am thinking that I like the= new behavior better and I have assigned a new key to specifically kill nat= ive Windows programs instead letting the Ctrl-C do all the work (I am using= Alt-F5 to do this). 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