Re: [PATCH] Magic SysRq key in Dvorak

Martin Mares (mj@ucw.cz)
Sun, 11 Oct 1998 22:29:27 +0200


Hello,

> This summer I changed my keyboard layout from QWERTY to Dvorak, and I have
> been configuring things to work with Dvorak ever since. The console, LILO,
> X, and even the seldom-used DOS and Windows 95 were fairly easy to do, but
> I had to hack two things: svgalib (for Quake ;^) and the Linux kernel (for
> the Magic SysRq key). I think all that's left is the system BIOS, but I'll
> leave that alone. ;)
>
> For the kernel, I simply added a configuration option for "Dvorak keyboard
> layout" after "Magic SysRq Key" and then wrapped pckbd_sysrq_xlate[] in an
> #ifdef block, defining the Dvorak translation table if the option has been
> selected or the QWERTY table if it has not. If the option is declined, the
> resulting kernel will be in no way different from a stock kernel.

Hmmm, it seems to me this really doesn't belong to the kernel. People who
are smart enough to be kernel hackers (and if they are not kernel hackers,
they should not use SysRq since they don't understand what it means) are also
expected to know that it doesn't respect the keymap and to remember the right
mapping.

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"Light-year? One-third less calories than a regular year."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/