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 8C53F3857804 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: 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> From: Thomas Wolff Message-ID: Date: Tue, 24 Nov 2020 21:59:05 +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: <824848490.1294388.1606249323648@mail.yahoo.com> X-Provags-ID: V03:K1:0ZyMSiaQ8I7gXSkaeXkYKHR7jk8nB4S3Bj5vSIsC8XOcigiVerP //xRijQCMTS+PcP11egfpUP75WJCZR3hHaARMG14xnz7E7AFpwjH83Nh1BVTTkyKw/RqEV/ a8sqMrMLh/88B4Pkgc4ed2U/Zzz6S2xnE4ipo4ZzpqOS44HhRT/ILa2u4wd+luq1syjgQQU TBBKWFB20iV1r5PnI/jeA== X-UI-Out-Filterresults: notjunk:1;V03:K0:7sXpb3l7fLk=:fnvh3udMsYHYQzVLoac98H 2/BHR1OHfeNHzTqPRKo/vBtPWBTHpSqdWYlNoUNa69dTjRRn2yR/A36ooeWyrqDxt+K3Vrmtp eYFGKeXhG7sZm7b4UcuVykOa4PLU5AgpgVTG0yC36/dxO/TGpP559T2VSVlvtt4n+wtsSFXl1 kZFa4jpIMp4sBDfA+QR9umPHkL+UA00AvFNKNLkVKERK6X4fDSgv8Kk1nMdKLsIV/FnGmZLmQ Gi6/wZcI7Eftjc3wvivL/o2A7mQhOqf6E7IFqeHyqwZjeSk5dlF2uJ+cIEKAGWYWnsyJ8lRta 6+3m0hI2oF7P9WZIBBZXkJh+6czY5XeLUXigxaYedjHbSJzk/PjeKpvbsYFkSAsoBKEfGnx0J xWQ1LrAITXiklJBkZoqRwraIlY/lSyuMCUGJ5G8nhVt19G+rTOerATSbNKfD0bZ+9XHFbRKl+ 5TQimSBuZg== X-Spam-Status: No, score=4.4 required=5.0 tests=BAYES_00, BODY_8BITS, 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-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-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 0AOKxd0p032444 Am 24.11.2020 um 21:22 schrieb Kevin Schnitzius via Cygwin: > On Tuesday, November 24, 2020, 07:52:11 AM EST, akikij AT free DOT fr wrote: > >>  QUESTION 1 : HOW TO NOW HANDLE CTRL-C in a multi threaded cygwin application regarless of terminal > 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. >   I use this: >     D:\cygwin64\bin\mintty.exe -o "KeyFunctions=A+F5:break" - > > And use alt-F5 as a break that works on both Cygwin and non-Cygwin processes. >> QUESTION 2 : HOW TO LAUNCH A MINTTY SESSION AS ADMIN > cygstart --action=runas mintty.exe > > 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 -- 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