From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) by sourceware.org (Postfix) with ESMTPS id 9CA4E3858C27 for ; Sat, 28 Nov 2020 04:28:56 +0000 (GMT) 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 Received: from [192.168.178.45] ([95.90.245.244]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MvrRB-1jtFAa2wGF-00ssUD; Sat, 28 Nov 2020 05:28:51 +0100 Subject: Re: Can't start a cygwin terminal(mintty) as admin To: Kevin Schnitzius , "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> <1940447422.1428712.1606290212521@mail.yahoo.com> <39ef00f6-fcd9-8aaa-4fa1-1d7720b06910@towo.net> <55810709.2094334.1606533196052@mail.yahoo.com> From: Thomas Wolff 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 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Nov 2020 04:28:58 -0000 Am 28.11.2020 um 04:13 schrieb Kevin Schnitzius: > On Wednesday, November 25, 2020, 03:44:30 AM EST, Thomas Wolff > 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 > >