This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mintty: Doesn't know about CTRL key

On Apr 16 19:15, Andy Koppe wrote:
> > Corinna Vinschen:
> >> I'm more and more using mintty for everything (shell, admin shell,
> >> heating my food, you name it).
> >
> > Food as well? It was only meant to make mint tea. Thanks for the endorsement. :)

Oh, hey, I didn't see the mint tea extension yet.  I'm drinking coffee
most of the time.

> >> Consider you have more than one mintty window open. ?A typical use case
> >> for me is to have one shell open under UAC and the other one with admin
> >> rights to test to test something. ?Then I want to close both ttys and
> >> test again with another Cygwin DLL.
> >>
> >> So I press Ctrl-D twice, without lifting my thumb from the Ctrl key.
> >>
> >> The first mintty window closes just fine. ?The second mintty window does
> >> not close. ?Instead, it behaves as if I had pressed the 'd' key alone.
> >> So I have to BS and then press Ctrl-D again to exit the second shell.
> >>
> >> Apparently the second mintty window doesn't recognize the fact that the
> >> Ctrl key is still pressed. ?This does not happen with two console
> >> windows, neither in tty, nor in notty mode.
> >
> > Phew, not quite as bad as the title suggested.
> >
> > This will be due to the hack for telling AltGrrrr from Ctrl+AltGr
> > (which is needed because Windows sends AltGr keypresses as
> > simultaneous Ctrl and Alt key events). Hopefully I'll find a way to
> > fix this without breaking something else again.

That would be cool.

> ps: One workaround is to use Alt-F4 instead of Ctrl-D.

This not so much.  Do you realize how 25 years of Ctrl-D gets imprinted
into your brain?  I have a Ctrl-D tattoo on my cerebral cortex...


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]