PDA

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



z80eu
June 15th, 2014, 12:51 PM
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.?)...

natcha
June 15th, 2014, 03:27 PM
The following Links on Xenix Maykey might help:

http://www.macgui.com/usenet/?group=26&id=14866

http://arpalab.com/service/man/generic.php?qf=mapkey&type=2&of=Xenix&sf=M

Bill
Smithville, NJ

z80eu
June 15th, 2014, 03:45 PM
The following Links on Xenix Maykey might help:

http://www.macgui.com/usenet/?group=26&id=14866

http://arpalab.com/service/man/generic.php?qf=mapkey&type=2&of=Xenix&sf=M

Bill
Smithville, NJ

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.