www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/16/14:53:17

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 16 Apr 2010 20:53:00 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: mintty: Doesn't know about CTRL key
Message-ID: <20100416185300.GZ8556@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20100416152200 DOT GV8556 AT calimero DOT vinschen DOT de> <y2y416096c61004161112s20f97506k537f429d10b9763b AT mail DOT gmail DOT com> <k2u416096c61004161115yd7d37ca4o97c680dd0d8ec6ac AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <k2u416096c61004161115yd7d37ca4o97c680dd0d8ec6ac@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

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

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019