* David T-G <[EMAIL PROTECTED]> [2002-06-04 13:17]: > 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 > > echo "ctl-v f1" | ... > echo "ctl-v shf-f1" | ... > echo "ctl-v ctl-ft" | ... > > we get > > 27 79 80 > 27 91 50 51 126 > 27 79 80 > > (where F1 and Ctl-F1 appear as '^[OP' and Shf-F1 is '^[[23~'), so > there is no difference whatsoever between F1 and C-F1, while S-F1 > might be tricky to recognize because it's longer (and, in fact, the > same as F11, as Kurt showed).
I get: $ echo "ctrl-v f1" | perl -lpe '$_ = join " ", unpack("c*", $_)' 27 79 80 $ echo "ctrl-v ctrl-F1" | perl -lpe '$_ = join " ", unpack("c*", $_)' 27 79 53 80 I'm using a happy hacking keyboard, which might make a difference, but I doubt it. (darren) -- People who are willing to give up freedom for the sake of short term security, deserve neither freedom nor security. -- Ben Franklin