lkml.org 
[lkml]   [1998]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Magic SysRq key in Dvorak
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:44    [W:5.909 / U:0.420 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site