Possible to change default keyboard abort sequence?
Posted on 2004-07-30
Is is possible to change the default keyboard abort sequence to another sequence of your own choosing? If so, please explain how. Reason: We have a custom PC-101 keyboard that does not have a left CTRL button. (Stop laughing!)
System: Several different ones -- UltraSPARC IIi of various speeds, and 1.28GHz UltraSPARC IIIi system.
OS: Solaris 8 and Solaris 9; I would be happy with a solution for either.
(Note that "KEYBOARD_ABORT=alternate" in /etc/default/kbd doesn't count, because it only changes console connections, not keyboard connections. Also, it doesn't let you choose your own sequence.)
For instance, normally STOP-A on a Sun keyboard will take you down to the OBP "ok" prompt. Or, if you have a system that uses a standard PC-101 keyboard instead of a Sun keyboard then it's CTRL-BREAK. Technically, on a PC-101 keyboard, it's Left-CTRL-BREAK because Right-CTRL-BREAK is a different key sequence and it won't work. I would like to change the Left-CTRL-BREAK to something (anything) else.
I've tried all sorts of stuff with dumpkeys & loadkeys, but this "keyboard abort sequence" thing seems to be at a lower level than keyboard translation tables. (Redefining some other key to be the LeftCTRL didn't work...but you can redefine letter & number keys willy-nilly.)