vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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? if not, is there any other good candidate for a sacrifice to this task? -- getting out of bed in the morning is an act of false confidence - jules feifer to email me, delete syzygy. from my return address |
| |||
| 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 = currency' You would then have to set up some kind of macro in your mail reader to translate this symbol (¤ 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=/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 = blank' |
| ||||
| 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" |