delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/07/10/10:35:43

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
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
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
Date: Sun, 10 Jul 2022 17:30:19 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <1099261364.20220710173019@yandex.ru>
To: All <cygwin AT cygwin DOT com>
Subject: [mintty] Suppress a key completely
MIME-Version: 1.0
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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...


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019