Sven, et al --

...and then Sven Guckes said...
% 
% * David Thorburn-Gundlach <[EMAIL PROTECTED]> [2002-06-04]:
% > It looks like that's the case for Ctl, anyway, and maybe for Shf.
% > Given, thanks to my new friend Bob, the handy
% >   perl -lpe '$_ = join " ", unpack("c*", $_)'
% > to take input per line and spit out key codes and then running
% 
% kewl.  talk about killing a sparrow with perl..

Hey, if it works...


% 
% "man dumpkeys"
% "man showkey"

The former was pointed out to me earlier, and I'm grateful for the pointer
to the latter, though I had seen it but couldn't use it.  I tried looking
a bit for these sorts of things earlier and got something much like

  [zero] [3:19pm] ~>  man -k key | grep code
  keybound (3ncurses)  - return definition of keycode ..
  showkey (1)          - examine the codes sent by the keyboard
  define_key (3ncurses) - define a keycode ..
  getkeycodes (8)      - print kernel scancode-to-keycode mapping table
  keyok (3ncurses)     - enable or disable a keycode ..
  setkeycodes (8)      - load kernel scancode-to-keycode mapping table entries

but trying something that looked promising yielded

  [zero] [3:19pm] ~>  showkey
  Couldnt get a file descriptor referring to the console

and so I didn't really bother to pursue it much more.  After all, I'm not
the one who's trying to bind shifted function keys.


% 
% and even if you'll get xmodmap to do something for

Well, that sort of assumes you're running under X, now, doesn't it?


% pressing Extended-Meta-Alternate-Control-Shift -
% forget all about it when using mutt (or whataever)
% within a terminal over some connection.
% 
% Sven  [always using ASCII - because it *works*]

It sure does!


Thanks & HAND

:-D the only true ELQ
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg28602/pgp00000.pgp
Description: PGP signature

Reply via email to