VOGONS

Common searches


mapper.txt

Topic actions

First post, by truffaut

User metadata
Rank Newbie
Rank
Newbie

There are several threads concerning Alt-GR but no real answers. There is little information on the mapper.txt file.

Some of my problems (getting WORD 5.5 for DOS to run in a DOSBox in Windows7):
- Why do mod1 and mod2 have 2 keys attached?
- The mapper layout is always(?) US. If you select the right alt-key the corresponding event(?) is key_ralt (the notation may not be completely accurate because I don't have access to the dosbox right now). However, it appears impossible to assign that key to mod3. If I press the right Alt-key to assign it to mod3, the Ctrl key appears as as binding.
- The backslash on the German keyboard is the same key as ß/?. The entry in the mapper.txt file ist 'key_minus "key 045"'. If I want Ctrl-Alt+ß to map to a backslash, I would think that 'key_backslash "key 45 mod1 mod2"' should work. I managed to get such an entry by using the keymapper, but it didn't work.
- How does "keyb gr 437" or "keyb gr 858" affect the mappings in mapper.txt? Do the key numbers change?

Any helpful information will be appreciated.

François

P.S. At one point I had all Alt-GR combinations of the German keyboard available in the command line (like {[]}\|~@) but in WORD the Alt-GR key worked just as the Alt-key (to enter the menu)

Reply 2 of 3, by TeaRex

User metadata
Rank Member
Rank
Member

@truffaut: Forget the mapper and use a decent keyboard layout for your language, as wd already hinted at. Slightly simplified: the mapper moves *individual keys* around, not key combinations. It corresponds to rewiring the keyboard on a real DOS machine. What you want is not rewiring the keyboard but loading a keyboard driver for your language. Back in the days all the IBM keyboards were wired the same way - it was the software driver "KEYB.COM" that created the language differences.

For changing the keyboard driver, try the keyboardlayout= line in the config file. Or if you need a special layout that the keyboardlayout= line doesn't cover, use FreeDOS's "KEYB" command which can be downloaded from the FreeDOS site.

tearex