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 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
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>
From: Thomas Wolff <towo@towo.net>
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
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-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 0AP8j0Ww026970



Am 25.11.2020 um 08:43 schrieb Kevin Schnitzius:
> On Tuesday, November 24, 2020, 03:59:19 PM EST, Thomas Wolff 
> <towo@towo.net> 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
>

--
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

