Am 24.11.2020 um 21:22 schrieb Kevin Schnitzius via Cygwin:
On Tuesday, November 24, 2020, 07:52:11 AM EST, aki...@free.fr <aki...@free.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

Reply via email to