From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) by sourceware.org (Postfix) with ESMTPS id 4EE293851C34 for ; Sun, 7 Jun 2020 14:42:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4EE293851C34 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=towo.net Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo@towo.net Received: from [192.168.178.45] ([95.90.245.244]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1McpaE-1j99uZ452I-00Zzxv for ; Sun, 07 Jun 2020 16:42:06 +0200 Subject: Re: AltGr key and mintty To: cygwin@cygwin.com References: <20200607115043.GA6281@GIOVE> <895a1699-325d-72f2-9000-9213ed88532e@towo.net> <20200607130738.GB6281@GIOVE> From: Thomas Wolff X-Tagtoolbar-Keys: D20200607164203922 Message-ID: Date: Sun, 7 Jun 2020 16:42:03 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200607130738.GB6281@GIOVE> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:6n2rNyUT/8UXkvZQkU4hGnrDWmuB1UPWvav//3wuVtRSv6TTnBu IWQ2A3J5si6zYGAgBExTtOQWuv0gyFe+PYAikRs4BOafoEzGdvPwHI2KcdzVykeYBYr5i/g du3oWbMCWsE7Lc8ORr3R0wOi96SDDgBOmy15aJ98ABfBpVx1iYlH0hiQRToM6UhqS7evv08 B9/H982ZJgA5x3nVl/v/g== X-UI-Out-Filterresults: notjunk:1;V03:K0:DCDO+UCd7n4=:qj1EfrlO9XGRVH7YYxzE7k 6I5twjCBQJrTVEJKNSZRdLb1V3AmCmvz7zaI/SR69JMhpvodTQpm/tWJB6TExCIly/aYTEezL YE4UJnY7rxmqY73pYUqaLKfyhsVcVwaGWewg7y8G05sxM6rMpUdwlPNjYj6/bTozFrdGonkLa ke5XSalxvVEbHN3YM3VGf2Tma5jr9UmxAy0BB8/vu14sVglmki93771wnkVmzzFVNrE2d7Ztt 6lKX4yZLPm8523+1X4DXvhPqS3/8xz3qfbVdJ0ql85100Ttwuh6IR2IEgzn35a41rcNiXvx9L s4Ad0qqxdHSym+iAa8OvcSMZOH9xMHJrOyOBZnqCOIAmW1d935AFiJJaoMiGG12AZOi7Hy8qb 9OXCYFFkoF0zyvB841KIhSGVw3DlET5lsYOQ/3CJWZFGsOlx0r3goB0sW+sNVXnnDnTKs0+Si A1yoylmEyR+h2ob5J1qqz7mTolnmdDEzsSZuWqVF/Yr1JLFTpU1t4uSTduzBlVFpY0afqdgao NaIyrSO22Wc8ZmA9N+IeDqhl59YITcOsIPt+NqgJjrf/OC0hTQPer6+uifMSwdZbuXk5dXfEZ ThzVC/dPmQVpi+ggixnlATuzH4gmEatqjC5R5VWGlnnEmeMjUanLbki4EbItSUwzXONTnY57W udIyW5G5oIm+2f7+2m8CuymEOSv7f0AcYhqCsbAWWwJXqW89f/Ai0uNSqw7q33az0Hu2faU3U JTrlOOamtejHIMvc9zAHKm5Dxu4k7o05ny/UPiAfLJ0f+pUwMds4N3YBsMwGcAzM2vCAIHTQ6 r2Ka8sQiyOLd2bVcT4QkR+bBc6Od/7mKXXLe6bHkGkAq49sJaA= X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, 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 14:42:08 -0000 Am 07.06.2020 um 15:07 schrieb Enrico Forestieri: > 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. The Italian keyboard layout does have an AltGr key: AltGr+ò → @ AltGr+à → # AltGr+è → [ AltGr++ → ] AltGr+é → { AltGr+* → } AltGr+' → unmapped by keyboard layout So the current behaviour is consistent with both the recent changes and the Italian layout. However, if people desire, I can add an option to restore the old AltGr/Alt fallback. Thomas >>> 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. >