Mail Archives: djgpp/1998/05/20/13:19:08
On Tue, 19 May 1998, Salvador Eduardo Tropea (SET) wrote:
> Num Lock OFF:
> Gray 6 => ASCII 0 and SCAN just like before.
> Shift + Gray 6 => ASCII 6 ?!!!!!!!
>
> If course command.com behaves like the current RHIDE 1.4.5
> so I don't know if this behavior is a bug, and is this case
> the bug is in the BIOS.
This is how BIOS had always worked. Whether this is a bug or a
feature is open to interpetation. (E.g., since 6 is printed above the
arrow on the key, you could see it as a shifted character.)
BIOS keyboard handling is a hodge-podge of special cases like this.
For example, some key combinations don't produce anything, like
"Ctrl-/", I don't know why. Emacs has some 750 lines of code in it,
just to handle all this mess in a reasonable way.
> Anyways, the new code traps the Shift+Key==Number and remaps
> it, I think it will produce the desired effect.
It might be a good idea to let the user choose the behavior of the
keypad keys, with and without NumLock, especially if RHIDE and the
editor support binding keys to certain functions.
- Raw text -