- Subject: Re: x-keydefs
- From: Marko Mahnic <marko.mahnic@xxxxxxxx>
- Date: Wed, 02 Nov 2005 12:49:33 +0100
G. Milde wrote:
Is it used widely? If so, we could have
Key_NumLock = ""; % default case
#ifdef IBMPC
if (NumLock_Is_Gold)
Key_NumLock = <was auch immer Pooh sagte>;
#endif
NumLock_Is_Gold is mostly used in EDT mode. If NumLock_Is_Gold=1,
when pressing NumLock, the keycode will be returned, otherwise
it won't.
The NumLock_Is_Gold can be changed by the user to change the behaviour
of the numeric keypad. EDT mode should require("x-keydefs"), but when
the call is made, NumLock_Is_Gold might be 0 and Key_NumLock will
remain empty (""). Therefore the test for NumLock_Is_Gold does not
belong in x-keydefs.
If EDT emulation would work in xjed, the ifdef IBMPC would prevent it
to work correctly. (EDT mode should be rewritten to use Key_XXX
variables).
Another problem is the IBMPC symbol which is misleading. In fljed it
is defined, but the keyboard keycodes are nothing like the old DOS
keycodes.
I think IBMPC and IBMPC_SYSTEM should be extended by something like:
* DOS_KEYBOARD
* DOS_FILESYSTEM
* others if necessary:
- CR-LF line terminator
- support for signals
- file permissions
- screen resizing (screen_w132)
- mouse support
- ...
wjed defines: IBMPC_SYSTEM, DOS_FILESYSTEM, DOS_KEYBOARD
fljed on windows defines: IBMPC_SYSTEM, DOS_FILESYSTEM
Marko
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2005 date index]
[2005 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]