delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/16/14:15:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <y2y416096c61004161112s20f97506k537f429d10b9763b@mail.gmail.com>
References: <20100416152200 DOT GV8556 AT calimero DOT vinschen DOT de> <y2y416096c61004161112s20f97506k537f429d10b9763b AT mail DOT gmail DOT com>
Date: Fri, 16 Apr 2010 19:15:00 +0100
Message-ID: <k2u416096c61004161115yd7d37ca4o97c680dd0d8ec6ac@mail.gmail.com>
Subject: Re: mintty: Doesn't know about CTRL key
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
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

> 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 endorsem=
ent. :)
>
>
>> Consider you have more than one mintty window open. =C2=A0A 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. =C2=A0Then I want to close both ttys a=
nd
>> 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. =C2=A0The second mintty window=
 does
>> not close. =C2=A0Instead, it behaves as if I had pressed the 'd' key alo=
ne.
>> 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. =C2=A0This 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.

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

Andy

--
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