From: Juanma Barranquero <lekktu@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 14661@debbugs.gnu.org
Subject: bug#14661: 24.3.50; `C-<scroll>' is seen as `C-<pause>'
Date: Wed, 19 Jun 2013 16:44:00 +0200 [thread overview]
Message-ID: <CAAeL0STXEhxV6gae8E5Wt03sRPwuk7n-uEvB8ij2G3N9hzzjUA@mail.gmail.com> (raw)
In-Reply-To: <83bo72qidw.fsf@gnu.org>
On Wed, Jun 19, 2013 at 4:34 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> This is a conundrum whose way out I don't know, nor whether it at all
> exists. Windows gives us the same virtual key code VK_CANCEL for both
> C-<scroll> and C-<pause> (for reasons of backward compatibility).
According to this:
http://blogs.msdn.com/b/oldnewthing/archive/2008/02/11/7596539.aspx
there's no way to fix it:
«Even though the enhanced keyboard moved the Pause and Break functions
to their own key, pressing the Pause key internally generated scan
codes that simulated a press of Ctrl+NumLock. In other words, when you
pressed Pause, the keyboard hardware actually tells the computer, "The
user pressed the Ctrl key and then pressed the NumLock key."
Similarly, when you pressed Ctrl+Break, the keyboard hardware tells
the computer, "The user pressed the Ctrl key and then pressed the
ScrollLock key."
Therefore, Ctrl+ScrollLock acts like Ctrl+Break because at the
hardware level, they are the same thing. That the two functions exist
on separate keys is just a fake-out by the keyboard hardware.»
next prev parent reply other threads:[~2013-06-19 14:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-19 2:53 bug#14661: 24.3.50; `C-<scroll>' is seen as `C-<pause>' Drew Adams
2013-06-19 14:34 ` Eli Zaretskii
2013-06-19 14:44 ` Juanma Barranquero [this message]
2013-06-19 14:47 ` Juanma Barranquero
2013-06-19 14:48 ` Drew Adams
2013-06-19 14:51 ` Juanma Barranquero
2013-06-19 14:57 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAeL0STXEhxV6gae8E5Wt03sRPwuk7n-uEvB8ij2G3N9hzzjUA@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=14661@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).