Keyboard weirdness

Jan Willem Stumpel
2004-07-24T11:03:43Z

On my new computer (on which I compiled dosemu again) the keyboard
behaves strangely in xdosemu: lots of keys do not work. E.g. qwertyuiop
becomes qwt.

The problem can be largely fixed by setting $_X_keycode = (off) -- apart
from the letter s which still does not work! The s key also does not
work in dosemu on the console.

I get the same problem with 2 different keyboards (normal and usb).

In the past (previous computer) it worked fine with the default setting.
Now the problem happens with dosemu 1.2, 1.3.0, 1.3.1 in the same way. I
don't have any other problems with Linux on this machine.

There seem to be 3 types of keys:

type 1: keys that work even with $_X_keycode = (auto) (e.g. q,w,t)
type 2: keys that only work if $_X_keycode = (off) (e.g. e,r)
type 3: the letter s.

I tried running xdosemu -Dk -O. Each time I press a key lots of
diagnostic messages appear. They are different for the 3 types of keys.
The last message is:

For type 1: HELPER: get_bios_key() returned 0000
For type 2: put_symbol: modifiers=0000 keysym=0065 [for letter e]
For type 3: put_keynum_r(break) called with invalid keynum ff:00

Outside xdosemu, with xev, the three types of keys behave exactly the same.

Regards, Jan