home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / console-tools / contrib / keysyms.h.txt < prev    next >
Encoding:
Text File  |  1999-04-08  |  260 b   |  10 lines

  1. jrv@vanzandt.mv.com (Jim Van Zandt) writes:
  2.  
  3. I have found that I can construct the definitions of
  4. the keysyms with the command
  5.  
  6. dumpkeys --long-info | awk '/^0x0000/, /^$/ {
  7.         if(/^$/) exit;
  8.         printf("#define KS_%-22s %s\n", $2, $1);
  9. }' >keysyms.h
  10.