Mail Archives: djgpp/1998/05/20/08:07:31
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
> 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.)
Yes, that's why I say "fixed", because the user spects a different behavior and
it needs to be twisted.
> 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.
Yes I know, currently I'm shipping a small (and totally optional) TSR with the
editor to get some combinations like Ctrl+any number. The TSR needs only 430
bytes of base memory and works very well.
> > 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.
Yes I agree.
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -