Skip to contentSkip to conversation

Keyboard problem

DISCUSSION Alain M. 1 participant 3 messages Oct 19, 2007 – Nov 7, 2007

lore
Share & tools
lore

Alain M.

author
#0 lore raw

Hi,

I just posted about this on FD-DEV, but further testing made me believe it's a dosemu problem:

I have a keyboard, that is a "small" and has a layout like a notebook but on a desktop and it has a key for characters "/" and "?" that is just besides the Alt-Grey key.

I found a program CCHAR in <http://www.bookcase.com/library/software/msdos.util.keyboard.html> that "displays keycode at bottom right of screen". It shows scancodes for everything, including Ctrl,Shift,Alt and all Locks *except* for this key!!!

Just tested with another program Chris sent on fd-dev with the same result :(

Please help

author
#1 lore raw

Confirmed: I just managed to boot this same machine in pure FreeDOS and the key works just fine. ScanCode is 0x73=115

So it is a dosemu problem. Ah! I have tested many combinations of $_rawkeyboard and $_X_keycode...

Please help :(
Alain

Alain M. escreveu:

Quoted 17 lines

Hi,

I just posted about this on FD-DEV, but further testing made me believe it's a dosemu problem:

I have a keyboard, that is a "small" and has a layout like a notebook but on a desktop and it has a key for characters "/" and "?" that is just besides the Alt-Grey key.

I found a program CCHAR in <http://www.bookcase.com/library/software/msdos.util.keyboard.html> that "displays keycode at bottom right of screen". It shows scancodes for everything, including Ctrl,Shift,Alt and all Locks *except* for this key!!!

Just tested with another program Chris sent on fd-dev with the same result :(

Please help
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#2 lore raw

Re: Keyboard problem - with NDN

Hi,

I still haven't fixed my keyboard problem 100%, but I know what is happening now!

Two keys ("ç" and "/") are generating a double scancode: one for ALT and one for the key, in fast sequence.

So in almost all applications there is no problem, an extra Alt doesn't make any difference, but NDN uses it change the cursor to the upper window.

I did a lot more tests and this is my configuration (all keys work):
$_rawkeyboard = (1)
$_X_keycode = (off)
$_layout = "auto"
autoexec.bat: keyb br,850,c:\bin\br.kl /ID:275
here is my keyboard: <http://web.omnidrive.com/APIServer/public/DBpDfNQ3OyrUjdIRc2OiY0Dd/MiniKeyboard.jpg>

All keys work except for these two keys in NDN. I tested many different keyboard, including big, small, brazilian and US. I also tested many old and latest NDN. A small program CCHAR.COM shows me the two scan codes when I press "ç" or "/"

I tried running dosemu with -Dk (or -D+k or +Dk) but nothing gets printed on the console.

Please help, but if you only direct me to the portion of dosemu's code where this could be happening, I can make tests...

Thanks,
Alain

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html