home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / programm / 3870 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.1 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!news.duc.auburn.edu!eng.auburn.edu!sprice
  2. From: sprice@eng.auburn.edu (Shannon W. Price)
  3. Newsgroups: comp.unix.programmer
  4. Subject: FAQ - keyboard input
  5. Message-ID: <sprice.920723122640@eng.auburn.edu>
  6. Date: 23 Jul 92 17:26:41 GMT
  7. Sender: usenet@news.duc.auburn.edu (News Account)
  8. Distribution: usa
  9. Organization: Auburn University Engineering
  10. Lines: 23
  11. Nntp-Posting-Host: wilbur.eng.auburn.edu
  12.  
  13. This must be without a doubt a FAQ, but I was unable to find a FAQ list
  14. among unread messages....
  15.  
  16.     I'd like to accept three different types of input from
  17.     a keyboard (Sun IPC - running OpenWindows 3.0, 4.1.2)
  18.     using C.  The c.lang FAQ stated that this sort of thing
  19.     is a system dependent question rather than a C question.
  20.  
  21.     The three types of input are :
  22.  
  23.         A single enter (e.g. Press enter to continue...)
  24.         A single character (e.g. a menu selection)
  25.         A character string that may have imbedded blanks
  26.                 (e.g. a data item)
  27.  
  28. I've been racking my brain, trying different combinations, asking everyone
  29. I could and none of the suggestions seem to work.  
  30.  
  31. -shannon price
  32.  auburn university
  33.  
  34.  sprice@humsci.auburn.edu
  35.  :wq
  36.