• Please review our updated Terms and Rules here

XENIX 2.3.4 and foreign (german) keyboards ... problem with '}' char/ascii 125

z80eu

Experienced Member
Joined
Feb 26, 2014
Messages
51
Location
Germany
Trying to go on writing my expiriences with Xenix at my blog ( http://www.z80.eu/blog ), I discovered a problem with my german keyboard layout.
I am using a MF-II compatible keyboard (Extended Keyboard, Chicony 5312, No Windows Key but already an AltGr key) with german key layout.
Using 'z' and 'y' (that's exchanged by default on a german keyboard) works fine, but even the '<'/'>' is located instead at '^'/'°', and I can't find any key combination for '}' (no, any AltGr nor any Ctrl-Alt combination helped).

Can I choose a different keyboard layout in Xenix ?

P.S.: I already found a hint.... there is an utility included named 'mapkey', and there is also a file at /usr/lib/keyboard/ named 'keys' - but at the moment I am not sure about the structure of that file (also valid for shifted keys etc.?)...
 
Last edited:

I solved the problem. Xenix 2.3.4 offers for many european countries a predefined keyboard layout, e.g. for germany, there are two files in /usr/lib/keyboard existing, 'ger.ibm' and 'ger.iso'.
To overwrite the system default, you just have to copy the above mentioned predefined keyboard layout file to a file named 'keys' (means overwriting the existing 'keys' file).
Unfortunately that was NOT enough, I had to edit about 11 text lines (exchanging some values). The most difficult part was to find the "nop" line for the non-working key (it was scancode 86 decimal).
After replacing the 'keys' file, you just have to run 'mapkey' one time.
I will offer the edited keys file in my above mentioned blog, too.
 
Back
Top