home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / 15460 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1.6 KB

  1. Path: sparky!uunet!convex!darwin.sura.net!mips!swrinde!elroy.jpl.nasa.gov!ames!agate!tfs.com!tfs.com!matt
  2. From: matt@tfs.com (Matthew Hom)
  3. Newsgroups: comp.windows.x
  4. Subject: How to simulate non-autorepeating keyboard?
  5. Message-ID: <1992Aug20.212455.6412@tfs.com>
  6. Date: 20 Aug 92 21:24:55 GMT
  7. Sender: matt@tfs.com
  8. Distribution: comp.windows.x.motif
  9. Organization: TRW Financial Systems
  10. Lines: 27
  11.  
  12. My X server does not support any of the XKeyboardControl features.
  13. I have tried disabling autorepeat via "xset r off" and although
  14. xset returns 
  15.  
  16. Keyboard Control:
  17.   auto repeat:  off    key click percent:  0    LED mask:  00000000
  18.   auto repeating keys:  0000000000000000
  19.                         0000000000000000
  20.                         0000000000000000
  21.                         0000000000000000
  22.  
  23. the autorepeat is still active. Is there a way an application can
  24. grab the keyboard when a keypress occurs and ignore subsequent keypresses
  25. until the keyrelease comes in? I haven't been able to get the right
  26. sequence of calls to do the trick. Can someone send me some code that
  27. does this?
  28.  
  29. Thanks.
  30.  
  31. +-----------------------------------------------------------------------+
  32. | These opinions are my own and do not reflect those of my employer.    |
  33. +-----------------------------------------------------------------------+
  34. | Matt Hom                              matt@tfs.com                    |
  35. | TRW Financial Systems                 (310)590-7510                   |
  36. | 200 Oceangate, Suite 1000                                             |
  37. | Long Beach, CA 90802-4336                                             |
  38. +-----------------------------------------------------------------------+
  39.