delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/02/19/15:03:52

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:date:from:reply-to:reply-to:to:message-id
:in-reply-to:references:subject:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=ekOqSEkTcgVe1GDL
Wv+gDnhnFpp6xRpBYfC+PGg7UmyvBtxebqz6zIcwSgh5CEiazr/IYuaqtx2dKwnm
sjTsXsnjrdMUh5vlb3NyDUwG2nZiUGJqEi4hWHNfnSZp9afZJqe9Z3WpeX7r1zem
+X6K3ZIGWm6dMyggG/XXw45RxmY=
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:date:from:reply-to:reply-to:to:message-id
:in-reply-to:references:subject:mime-version:content-type
:content-transfer-encoding; s=default; bh=OkoPIUE5SDiAUUvanIo6v1
7Cvoo=; b=YpyEHl35OfrMGi0cWRelk4EYRleJGN5VwHi04+fY0M+FjvA5N+1i1e
8HYzWmbimT+N0BB2fbvPZdu6PHbF4c4suOVrmIyTVeuTbO/ZjLkfeLFHZpTcbwwn
Jp7AvSqJ4bEqE1rvHMUGVElYA5WlbCvHTeKhNvwsAckuI8DE83aFI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-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 AT towo DOT net
X-HELO: sonic316-55.consmr.mail.gq1.yahoo.com
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==
Date: Wed, 19 Feb 2020 20:02:50 +0000 (UTC)
From: "Kevin Schnitzius via cygwin" <cygwin AT cygwin DOT com>
Reply-To: Kevin Schnitzius <kometes AT yahoo DOT com>
Reply-To: Kevin Schnitzius <kometes AT yahoo DOT com>
To: cygwin AT cygwin DOT com, Thomas Wolff <towo AT towo DOT net>
Message-ID: <1610701589.5557144.1582142570779@mail.yahoo.com>
In-Reply-To: <b579ee20-ff91-b633-594f-d7dee81936f8@towo.net>
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> <b579ee20-ff91-b633-594f-d7dee81936f8 AT towo DOT net>
Subject: Re: cygwin 3.1 pseudo console in PTY and break/ctrl-c handling
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 01JK3SAd022649

On Tuesday, February 18, 2020, 05:54:23 PM EST, Thomas Wolff <towo AT towo DOT net> wrote: 

>> 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
>
> This would be mintty -o KeyFunctions='CA+F12:break' etc.
> The latter two are not valid mintty configuration; Ctrl is only 
> supported as a modifier for function keys and special keys, not letters. 
> This is unchanged with the cygwin version.

Ah, thank you.  That was the clue that I needed.

For those also having this problem:

mintty.exe -o "KeyFunctions=c:break" -o CtrlExchangeShift=true -

will propagate Ctrl-C to the non-native apps and kill them, imitating the behavior 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 native 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


- Raw text -


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