home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / msdos / programm / 8912 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  1.2 KB

  1. Path: sparky!uunet!think.com!unixland!wellspring!elliot
  2. From: elliot@Wellspring.COM (Elliot H. Mednick)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Keyboard input processing -- rolling one's own?
  5. Distribution: world
  6. Message-ID: <715280941snx@Wellspring.COM>
  7. References: <BttsIw.4z1@NCoast.ORG>
  8. Date: Mon, 31 Aug 92 17:09:01 GMT
  9. Organization: Wellspring Solutions, Sutton, MA.
  10. Reply-To: elliot@Wellspring.COM
  11. Lines: 23
  12.  
  13. In article <BttsIw.4z1@NCoast.ORG> brown@NCoast.ORG writes:
  14.  > In article <715029154snx@Wellspring.COM> elliot@Wellspring.COM writes:
  15.  > >
  16.  > > [...]
  17.  > >
  18.  > >Is this possible?
  19.  > 
  20.  > No, it is not possible.  The keyboard is unknown to ANSI C.  (Don't post
  21.  > disagreements until you've read the standard, please.)  So there is in
  22.  > principle no ANSI-standard way to do anything that requires the presence
  23.  > of a keyboard.
  24.  > 
  25.  > FWIW, Microsoft C has getch( ); I think most MS-DOS based compilers do.
  26.  > 
  27.  > This topic (like so many) is well covered by the FAQ list in
  28.  > comp.lang.c.  Here's the relevant excerpt:
  29.  > 
  30.  > [...]
  31.  
  32. Thanks for the info.  Egg on my face for not checking the FAQ, first.
  33. I almost _always_ check the FAQ before I post.  Almost always.  Really.
  34.  
  35. -Elliot
  36.