Re: reprogramming the 5c keyboard 'blank' key?

From: Richard L. Hamilton (Richard.L.Hamilton_at_mindwarp.smart.net)
Date: 10/24/05

  • Next message: Kurt Duncan: "Re: 36GB disk is really 18GB."
    Date: Mon, 24 Oct 2005 21:08:49 -0000
    
    

    In article <1129272711.267715.41940@g49g2000cwa.googlegroups.com>,
            "Glenn" <eponymousalias@yahoo.com> writes:
    > Arthur Wouk wrote:
    >> in reading mail digests on my suns, i often want to skip through to
    >> each Subject: line in turn, reading a bit, and then move on. it
    >> would be convenient to have /^Subj/ be available on a key. the blank
    >> key next to the help key is an appropriate target for this. is it
    >> programmable?
    >
    > That key is programmable to emit a single keycode (as defined in
    > /usr/include/X11/keysymdef.h), not a string. For instance:
    >
    > /usr/openwin/bin/xmodmap -e 'keycode 22 =3D currency'
    >
    > You would then have to set up some kind of macro in your mail reader
    > to translate this symbol (=A4 in this example) into whatever string
    > does your desired task. For greatest convenience, set up the keyboard
    > mapping so it is executed on every login (CDE in this example):
    >
    > % cat ~/.dt/sessions/sessionetc
    > #!/bin/sh
    > XDIR=3D/usr/openwin/bin
    > # Make the blank key next to the Help key on a Sun Type 5 UNIX
    > # keyboard emit something useful and unique that we can refer to
    > # in applications like FrameMaker.
    > $XDIR/xmodmap -e 'keycode 22 =3D blank'
    >

    Just be aware that if you're using something with a Type 6 USB US/Unix
    keyboard, the blank key is indistinguishable from the Props key. AFAIK,
    that's a hardware limitation.

    -- 
    mailto:rlhamil@smart.net  http://www.smart.net/~rlhamil
    Lasik/PRK theme music:
        "In the Hall of the Mountain King", from "Peer Gynt"
    

  • Next message: Kurt Duncan: "Re: 36GB disk is really 18GB."