lkml.org 
[lkml]   [2001]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Stateful Magic Sysrq Key
    > I'd suggest either making this behaviour optional,
    or making it
    > so that hitting alt-sysrq twice, without any other
    keys being
    > pressed makes the next key stick.

    I agree with you that there's a risk. Mike Harris had
    written a
    patch for 2.2 which did something similar, but
    slightly better
    IMO since it avoids risks of mis-press, handles
    correctly
    broken keyboards and keeps compatible with the
    existing
    method. Basically, it allows the user to press Alt,
    then SysRQ,
    release SysRQ then press the desired key, and later
    release
    Alt. In fact, it only resets the "magic-key-mode" flag
    after Alt
    has been released, and doesn't bother when SysRq is
    released.

    I don't remember where it was available, but if
    someone needs
    it, I still have it here for 2.2.

    Willy


    ___________________________________________________________
    Do You Yahoo!? -- Un e-mail gratuit @yahoo.fr !
    Yahoo! Courrier : http://fr.mail.yahoo.com
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:03    [W:0.024 / U:88.200 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site