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: <20100416152200.GV8556@calimero.vinschen.de> References: <20100416152200 DOT GV8556 AT calimero DOT vinschen DOT de> Date: Fri, 16 Apr 2010 19:12:02 +0100 Received: by 10.239.166.148 with SMTP id b20mr158758hbe.140.1271441522598; Fri, 16 Apr 2010 11:12:02 -0700 (PDT) Message-ID: Subject: Re: mintty: Doesn't know about CTRL key From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 endorsemen= t. :) > Consider you have more than one mintty window open. =C2=A0A typical use c= ase > 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 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. =C2=A0The second mintty window = does > not close. =C2=A0Instead, it behaves as if I had pressed the 'd' key alon= e. > 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. 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