From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward107j.mail.yandex.net (forward107j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::252]) by sourceware.org (Postfix) with ESMTPS id 0CD53385828E for ; Sun, 10 Jul 2022 14:35:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0CD53385828E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru Received: from myt5-d569b15f034e.qloud-c.yandex.net (myt5-d569b15f034e.qloud-c.yandex.net [IPv6:2a02:6b8:c12:2501:0:640:d569:b15f]) by forward107j.mail.yandex.net (Yandex) with ESMTP id ADFF5884BF2 for ; Sun, 10 Jul 2022 17:35:01 +0300 (MSK) Received: from myt6-016ca1315a73.qloud-c.yandex.net (myt6-016ca1315a73.qloud-c.yandex.net [2a02:6b8:c12:4e0e:0:640:16c:a131]) by myt5-d569b15f034e.qloud-c.yandex.net (mxback/Yandex) with ESMTP id iitDwwaH3n-Z1g0WfEE; Sun, 10 Jul 2022 17:35:01 +0300 X-Yandex-Fwd: 2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1657463701; bh=HlhyTnyKTmgXMsvN7jw4S0D7TUy7RLPIOeH3PXC2WVM=; h=Subject:To:From:Message-ID:Date:Reply-To; b=Df6eXdLpHTsS4VXVkfuXiKZTOnStX9f3JDTf0Fw0gkTDmsEao0naRHYyu9oCAIv6O mAibK0xN7WnTzpMlzd9VCqFUl3UxCUUBoX7VyMI+YtvXm4LKY6Gr85Z8li2fG/LYag muk+eFDU1/4mWgbmw3YdkBd1hO/zsfOgZhIMGbUg= Authentication-Results: myt5-d569b15f034e.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Received: by myt6-016ca1315a73.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id eLtNr2cjPU-Z1eehoLG; Sun, 10 Jul 2022 17:35:01 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Sun, 10 Jul 2022 14:30:20 -0000 Date: Sun, 10 Jul 2022 17:30:19 +0300 From: Andrey Repin X-Mailer: The Bat! (v9.3.4) Professional Reply-To: cygwin@cygwin.com Message-ID: <1099261364.20220710173019@yandex.ru> To: All Subject: [mintty] Suppress a key completely MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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, 10 Jul 2022 14:35:06 -0000 Greetings, All! I'm experimenting with programs to replace my current keyboard switcher (which is good, but do not behave well with "modern" idiotic applications based on Chromium/Electron). found one that works nearly exactly as I'd like, but one problem had arisen: to implement non-intrusive "CapsLock as keyboard switch" functionality, it using native Windows functionality to remap the key to F24, and use that one to switch layouts. Everything is good until I launch mintty, where every press of the key prints "5~" in console in addition to switching the layout. I suppose it is in its own right on this one (the key is real, after all), but is there a way to filter the key so that it does not get down to the applications? -- With best regards, Andrey Repin Sunday, July 10, 2022 16:44:16 Sorry for my terrible english...