X-Recipient: archive-cygwin@delorie.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.GV8556@calimero.vinschen.de> 	 <y2y416096c61004161112s20f97506k537f429d10b9763b@mail.gmail.com>
Date: Fri, 16 Apr 2010 19:15:00 +0100
Received: by 10.239.147.11 with SMTP id y11mr148606hba.78.1271441700866; Fri,  	16 Apr 2010 11:15:00 -0700 (PDT)
Message-ID: <k2u416096c61004161115yd7d37ca4o97c680dd0d8ec6ac@mail.gmail.com>
Subject: Re: mintty: Doesn't know about CTRL key
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

