X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT 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 AT towo DOT net Subject: Re: Can't start a cygwin terminal(mintty) as admin To: Kevin Schnitzius , "cygwin AT cygwin DOT com" References: <938348063 DOT 536233005 DOT 1606213898648 DOT JavaMail DOT root AT zimbra93-e16 DOT priv DOT proxad DOT net> <159295841 DOT 536767529 DOT 1606222319350 DOT JavaMail DOT root AT zimbra93-e16 DOT priv DOT proxad DOT net> <824848490 DOT 1294388 DOT 1606249323648 AT mail DOT yahoo DOT com> <1940447422 DOT 1428712 DOT 1606290212521 AT mail DOT yahoo DOT com> <39ef00f6-fcd9-8aaa-4fa1-1d7720b06910 AT towo DOT net> <55810709 DOT 2094334 DOT 1606533196052 AT mail DOT yahoo DOT 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 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin AT cygwin DOT 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" 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 > > -- 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