From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.santannapisa.it (mail.sssup.it [193.205.80.98]) by sourceware.org (Postfix) with ESMTP id 188543851C34 for ; Sun, 7 Jun 2020 13:07:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 188543851C34 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=lyx.org Authentication-Results: sourceware.org; spf=none smtp.mailfrom=forenr@lyx.org Received: from [79.52.44.192] (account e.forestieri@santannapisa.it HELO jovis.sssup.it) by santannapisa.it (CommuniGate Pro SMTP 6.1.11) with ESMTPSA id 148706274 for cygwin@cygwin.com; Sun, 07 Jun 2020 15:07:38 +0200 Received-SPF: none receiver=ucs.santannapisa.it; client-ip=79.52.44.192; envelope-from=forenr@lyx.org Received: by jovis.sssup.it (sSMTP sendmail emulation); Sun, 07 Jun 2020 15:07:38 +0200 Date: Sun, 7 Jun 2020 15:07:38 +0200 From: Enrico Forestieri To: cygwin@cygwin.com Subject: Re: AltGr key and mintty Message-ID: <20200607130738.GB6281@GIOVE> Mail-Followup-To: cygwin@cygwin.com References: <20200607115043.GA6281@GIOVE> <895a1699-325d-72f2-9000-9213ed88532e@towo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <895a1699-325d-72f2-9000-9213ed88532e@towo.net> User-Agent: Mutt/1.12.1 (2019-06-15) X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jun 2020 13:07:42 -0000 On Sun, Jun 07, 2020 at 02:55:25PM +0200, Thomas Wolff wrote: > Am 07.06.2020 um 13:50 schrieb Enrico Forestieri: > > According to > > https://github.com/mintty/mintty/wiki/Keycodes#altgr > > when the keyboard layout does not have a keycode for an AltGr > > combination, the AltGr key is treated as Alt instead. > There were some recent tweaks to ensure consistent handling of AltGr and > right-Alt and I was not aware of that section in the wiki (it was there > before my time...). > However, I do not reproduce your particular issue: > > > I have the following entry in ~/.inputrc > > > > "\e'": "`" # Alt+' -> ` > > > > and, as AltGr+' is not a valid combination in my keyboard layout, > > until mintty 3.1.6 by pressing it I was obtaining the wanted backtick character. > > However, since mintty 3.1.7, this key combination now produces nothing. > Works for me when switching to US keyboard layout. Which layout do you use? I am using the IT keyboard layout. > > One has to explicitly use LeftALt+' to obtain the backtick. > That is the proper way now enforced if the right Alt key is in fact AltGr. > If it's not, right-Alt+' etc should work alike, as it does here. All I can say is that it works again when reverting to mintty 3.1.6. -- Enrico