XENIX, AT KEYBOARD

Andy Sibre andys at aquin.UUCP
Wed Aug 6 07:58:59 AEST 1986


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



More information about the Comp.unix mailing list