Can't start a cygwin terminal(mintty) as admin

Thomas Wolff towo@towo.net
Wed Nov 25 08:44:26 GMT 2020



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
>



More information about the Cygwin mailing list