X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9CA4E3858C27
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=towo.net
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo@towo.net
Subject: Re: Can't start a cygwin terminal(mintty) as admin
To: Kevin Schnitzius <kometes@yahoo.com>,
        "cygwin@cygwin.com" <cygwin@cygwin.com>
References: <938348063.536233005.1606213898648.JavaMail.root@zimbra93-e16.priv.proxad.net>
 <159295841.536767529.1606222319350.JavaMail.root@zimbra93-e16.priv.proxad.net>
 <824848490.1294388.1606249323648@mail.yahoo.com>
 <b5b9d72d-0ebf-82f9-c13f-3b4933ecf0c5@towo.net>
 <1940447422.1428712.1606290212521@mail.yahoo.com>
 <39ef00f6-fcd9-8aaa-4fa1-1d7720b06910@towo.net>
 <55810709.2094334.1606533196052@mail.yahoo.com>
From: Thomas Wolff <towo@towo.net>
Message-ID: <31fc690d-a847-fec8-4c26-f57ba46dd2e1@towo.net>
Date: Sat, 28 Nov 2020 05:28:51 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.5.0
MIME-Version: 1.0
In-Reply-To: <55810709.2094334.1606533196052@mail.yahoo.com>
X-Provags-ID: V03:K1:k92Pl3MgM7rUN/dLDGO2DagF7gaazZi9Kh9ZAL9B3DAxKfDTp0b
 pjDK7UyKMERN6r2yNOZu5guwa59ak73YcGcOeNH4JyWPVQet/ey2i0cEhL9COsB141WI4Kp
 RjmX2gBzFOmF3T1zz7RWdO4il39onsoi29/RdoWAGcjKbi79c+z46olUHzNpQ4Li6yl0y39
 YwgMimhCGxpvmsxlfIFjQ==
X-UI-Out-Filterresults: notjunk:1;V03:K0:e3uk++Cr3JQ=:yX6yyePHMtTA9mXcxx1mtR
 JaMUmMIW7tUmv13E8Eyfy/moFrgTgq42oKxYmWwX+rNfI+KW5pGh8WMapHu0Dme5I2RBiAhQZ
 gVOa3ZR5sjFHRbLoXvdGeM77fadkWG7FkwI4/EmCsmxlHRQudmkGcuuimKncEWFT+1WcRg/fy
 HBkSz0BTQjB7hiuHwxQhpaxjUv2JCxeGAB8StlP4Ne0OPO5ofhMZOqjWajTsUJNpuD0d6mKiV
 +dyLid6YxIq9lwoC8Hc4UI+fFHoyTNsjK9Q7b7R9uu6m/TqrLzBPh1j3BArmMQNJCiWajVNzD
 5eoOhCzhUlt+8bCAygPRQy2C1ajkEquYeO12vSkFZTilbVshORHE8dSrz9p2Kl43xJXs9ox1T
 p1z9tyvtJ31gEqs/plSuwkZAfWqLt8kR2AdBGDX+89gPTkixZdp/W5WNI8wzIjeZlMQeyYaQa
 zoqHkyHFrQ==
X-Spam-Status: No, score=3.1 required=5.0 tests=BAYES_00, HTML_MESSAGE,
 KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_ABUSEAT,
 RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, RCVD_IN_SBL_CSS, SPF_HELO_NONE,
 SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Level: ***
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>



Am 28.11.2020 um 04:13 schrieb Kevin Schnitzius:
> On Wednesday, November 25, 2020, 03:44:30 AM EST, Thomas Wolff 
> <towo@towo.net> wrote:
>
> >> D:\cygwin64\bin\mintty.exe -o "KeyFunctions=C+c:break" -
> >> Ctrl-c is a break that works on Cygwin processes only.
>
> > That configuration would assign the break function to Shift+Ctrl+c, not 
> just Ctrl+c, so with Ctrl+c you still just
> > send a ^C character while in the other case mintty would invoke a BRK 
> signal. So try Shift+Ctrl+c.
>
> Oops, it's been a while since I looked into it.
>
> D:\cygwin64\bin\mintty.exe -o "KeyFunctions=C+c:break"
> Shift+Ctrl+c does not produce a break for Cygwin or non-Cygwin processes
>
Works for me. Your child process may have disabled the SIGINT signal.
> mintty -o "KeyFunctions=c:break" -o CtrlExchangeShift=true
> Actually, this restores the old behavior of Ctrl+c actually doing a 
> break for Cygwin and non-Cygwin processes.
>
> Kevin
>
>

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
