[net.micro] XENIX, AT KEYBOARD

andys@aquin.UUCP (Andy Sibre) (08/06/86)

The brain-damaged AT keyboard comes with the <ESCAPE> key in the wrong place. 
This is a minor problem, thanks to SCO.  There is a utility called "mapkey"
which solves the problem.  You edit "/usr/lib/keyboard/keys", swapping
the lines for scan-codes 1 and 41, and then change the number "1" to "41",
and "41" to "1".

Then swap keycaps on the keyboard (escape and the tilde-backquote).
(When you do this, be sure to pry STRAIGHT UP !!!)

Lastly, be root and run "/usr/bin/mapkey".  Voila!  It makes NO CHANGES to
"/xenix"... only to that kernal data space containing the keyboard driver's
definitions.  Takes effect immediately.

If you like it, simply add a line to the end of "/etc/rc" saying
"/usr/bin/mapkey".  It will then set the driver properly every time the machine
boots.  Effective for all console users.

SCO isn't perfect, but they do include a lot of nice touches.
--andys

kds@mipos3.UUCP (08/07/86)

actually, keyboard mapping is not limited to xenix.  If you take your favorite
ms-dos disk and plug it into an European AT, you had better be pretty familiar
with the US keyboard layout, since that is what you are going to get when
you reboot the computer, regardless of what it says on the keycaps (which
follows more closely the standard for the country the computer came from than
what you get here).  Also, for some programs, such as Flight Simulator, the
documentation needs to be modified, since the scan codes are the same for
the key locations, not for the key names...
-- 
The above views are personal.

I've seen the future, I can't afford it...

Ken Shoemaker, Microprocessor Design, Intel Corp., Santa Clara, California