From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) by sourceware.org (Postfix) with ESMTPS id 683EE38708B2 for ; Wed, 25 Nov 2020 08:44:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 683EE38708B2 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 (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MmU9X-1k0IFW3oWn-00iPbF; Wed, 25 Nov 2020 09:44:28 +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> From: Thomas Wolff Message-ID: <39ef00f6-fcd9-8aaa-4fa1-1d7720b06910@towo.net> Date: Wed, 25 Nov 2020 09:44:26 +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: <1940447422.1428712.1606290212521@mail.yahoo.com> X-Provags-ID: V03:K1:z1dqG1uV+wg2iKlFJTQh10W24XYDsLW/CWQd/pWA0QgxWuAC2R9 6JfuERQ6zzPULSaoYrWQzO0B1m1WCVA5InE306vu+Q6UxJ8kMi6hDkFb0tj+bLIvqsn4cMl 3MIEmMTCa+KzlgDUuvEeaWBu6LWumjVa9Xegz7QHxCpBBwaMi1kFBbxEjCoq4Sj27ZMAS0G vUejB77QCq4tNY27CJl6g== X-UI-Out-Filterresults: notjunk:1;V03:K0:+bo5vtIlT1U=:h+cIXLJQW0IogOUfYfaPDz IFhEDoYquaEYCJOIKEZOzxmzwgBEQRwjmpae9P1BiC0l5OL9R2C4fFRcwE2AODd/0wmTgosBl DhPK9XsmNDzEVw1pa141Rbgb68GM25qcYxhkWCmbqNdsozlvvYBiyDqw1AzVCYmAod/jnPq/M 3jjt6WKkbiGrB0xqGRE5a5Do3PADPn5eGr9xxh3d0Z+7OGyQOG3dmtVffv9XPm5WlDu7mf+G+ wieseuegvcZGEd3rqZqt1iTwONhzc+9CASDGT/lMVHu1RSYugJU5Y068MSt25SEXub+eSOczx APFgqpiak5kkTLQTTFPAQSdx+waVkI4zFiZeBF4pBiNU/t67P0pCr2pqDUVU2oGZ957OfyRTL 3DZ8MgVvUahvZF24uEj6MapLqCete5T2oZOThCLHQ7Bo5BXwsvAIj0BHRTdbmICS6AWFowzZF XGZYu8CCxw== X-Spam-Status: No, score=3.0 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: 8bit 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: Wed, 25 Nov 2020 08:44:34 -0000 Am 25.11.2020 um 08:43 schrieb Kevin Schnitzius: > On Tuesday, November 24, 2020, 03:59:19 PM EST, Thomas Wolff > wrote: > > Am 24.11.2020 um 21:22 schrieb Kevin Schnitzius via Cygwin: > >> Ctrl-c is broken on mintty. > > This is a wrong statement. For a terminal, Ctrl+c is just a control > > character, nothing else. It's the pty device, shell or application that > > may, or may not, associate it with specific handling like interruption. > > D:\cygwin64\bin\mintty.exe -o "KeyFunctions=A+F5:break" - > alt-F5 is a break that works on both Cygwin and non-Cygwin processes. > > 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. > > This C+c used to work in both cases...  I think we've been over this > before and > the problem very well may be in the pty break handling. > > Kevin >