"Eric W. Biederman" wrote:
> dosemu-0.99.13.eb1.1 is a preliminary patch of my ongoing
> work to improve the keyboard code in dosemu.
first of all, many thanks to Eric for taking time to solve
the keyborad code problem.
I compiled the "eb" Version (with some little warnings, see below))
after installing and starting dosemu says "key_table -> sizemap = 97"
(it doesn�t depend on running "local" or "over telnet")
When i try to use (Umlaute (german keyboard "ae,ue,oe,ss")) it WORKS !!!
GREAT !!!!
but :
Backspace didn�t work proper (it does without the patch)
A dos keyboard scan program says :
with patch : without the patch :
Scan : 14 14
AscII : 0x7f 0x08
KeyIdnt : \127 \270
and many other keys also reports other (false) dos scancodes as in the previous version
also the ibm-display codes (e.g. for norton commander) didn�t
work (with the same dosemu.conf and without the patch -> no problem)
> Testers wanted.
tell me what to do, and i will try to help, because its important for me
to get it work !
"Errors" while compiling the eb Version
emu.c: In function `main':
emu.c:450: warning: implicit declaration of function `pcibios_init'
vgaemu.c:811: warning: `vgaemu_unmap' defined but not used
gfxemu.c: In function `GFX_write_value':
gfxemu.c:150: warning: unused variable `u'
instremu.c:63: warning: `seg_txt' defined but not used
instremu.c:64: warning: `rep_txt' defined but not used
instremu.c:65: warning: `lock_txt' defined but not used
terminal.c: In function `slang_update':
terminal.c:455: warning: passing arg 1 of `SLsmg_write_nchars' discards `const' from
pointer target type
terminal.c:476: warning: assignment discards `const' from pointer target type
pci_bios.c: In function `pcibios_init':
pci_bios.c:214: warning: assignment from incompatible pointer type
pci.c:35: warning: initialization from incompatible pointer type
ports.c: In function `port_register_handler':
ports.c:1066: warning: int format, different type arg (arg 7)
ports.c: At top level:
ports.c:145: warning: `p2bin' defined but not used
pic.c:703: warning: #warning using assembly run_irqs,expect pic1_mask not used
pic.c:181: warning: `pic1_mask' defined but not used
lexer.l: In function `real_yylex':
lexer.l:698: warning: statement with no effect
serv_xlat.c: In function `init_scancode_translation_rules':
serv_xlat.c:530: warning: unused variable `j'
keymaps.c:22: warning: `is_a_console' declared `static' but never defined
keymaps.c:23: warning: `open_a_console' declared `static' but never defined
keymaps.c:24: warning: `getfd' declared `static' but never defined
keymaps.c:25: warning: `dosemu_val' declared `static' but never defined
keyb_slang.c:41: warning: type defaults to `int' in declaration of `pc_scancode_mode'
keyb_clients.c: In function `paste_run':
keyb_clients.c:49: warning: unused variable `ch'
prestroke.c: In function `append_pre_strokes':
prestroke.c:331: warning: unused variable `offs'
translate.c: In function `charset_to_unicode':
translate.c:261: warning: comparison is always 1 due to limited range of data type
translate.c: At top level:
translate.c:298: warning: `get_ctext_char_set_piece' defined but not used
translate.c:324: warning: `interpret_ctext_control' declared `static' but never defined
pktnew.c: In function `Find_Handle':
pktnew.c:819: warning: implicit declaration of function `ntohs'
linux_sound.c:60: warning: `sound_frag' defined but not used
sound.c: In function `adlib_io_read':
sound.c:514: warning: `result' might be used uninitialized in this function
sound.c: In function `fm_io_read':
sound.c:543: warning: unused variable `adlib_info'
sound.c: In function `fm_reset':
sound.c:2515: warning: unused variable `adlib_info'
Gereon
--
http://key.baer.rwth-aachen.de
If the box says `Windows 95 or better'', it should run on Linux, right?