home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / ncr / 576 next >
Encoding:
Text File  |  1993-01-21  |  973 b   |  27 lines

  1. Newsgroups: comp.sys.ncr
  2. Path: sparky!uunet!pipex!mfmail!dnh
  3. From: dnh@mfltd.co.uk (Des Herriott)
  4. Subject: reading the console with scancodes
  5. Message-ID: <1993Jan21.164548.20265@mfltd.co.uk>
  6. Sender: dnh@mfltd.co.uk (Des Herriott)
  7. Organization: Micro Focus Ltd., Newbury, UK
  8. Date: Thu, 21 Jan 1993 16:45:48 GMT
  9. Lines: 16
  10.  
  11.  
  12. I've been wondering for some time now how to read scancodes from the console of
  13. an NCR 3000 series machine (running SVR4).  In particular, what I want to do
  14. is detect when, say, the Control or Alt keys are pressed.
  15.  
  16. Now, I've gleaned from the system manuals that some cunning combination of
  17. <sys/kd.h> and ioctl() is going to be required - unfortunately, my attempts
  18. to date have resulted mainly in dead consoles :-(  
  19.  
  20.  
  21.  
  22. -- 
  23. Des Herriott,           /     "...and I hate, and I hate, and I hate,
  24. Micro Focus, Newbury.  /             elevator music..."
  25. +44 (0635) 565354     /
  26. dnh@mfltd.co.uk      /                   -- Tori Amos, Little Earthquakes.
  27.