Re: [PATCH] Magic SysRq key in Dvorak

Pavel Machek (pavel@bug.ucw.cz)
Sun, 11 Oct 1998 22:54:34 +0200


Hi!

> 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.
>
> So I provide here my patch, made against 2.1.125; I've used identical code
> on 2.1.121 and 2.1.124 previously and have not had any problems with it. I
> wouldn't mind seeing it in the official kernel but I don't expect it since
> it is something of a niche product (kernel hackers who use Dvorak... can't
> be that many of us - or can there?).
>
> You can get my svgalib patch if interested (and some other Dvorak info) at
> http://pobox.com/~brion/linux/dvorak.php3

'Right' solution would be to make kernel not to require such table in
first place. But I can imagine that is rather hard to do correctly.

Pavel
PS: I tried to learn dvorak at one place.

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

- 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/