home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / hp / 9298 < prev    next >
Encoding:
Text File  |  1992-08-14  |  902 b   |  27 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!timbuk.cray.com!walter.cray.com!albrcp
  3. From: albrcp@cray.com (Albrecht Craig P)
  4. Subject: How to do nobuffered IO on stdin in C on HP unix?
  5. Message-ID: <1992Aug14.121655.18711@walter.cray.com>
  6. Followup-To: albrcp@brewery.cray.com
  7. Keywords: C
  8. Organization: Cray Research, Inc, Mendota Heights, MN
  9. Distribution: usa
  10. Date: 14 Aug 92 12:16:55 CDT
  11. Lines: 14
  12.  
  13. Does anybody know a way of doing nobuffered IO using C on a HP9000/7xx
  14. workstation?
  15.  
  16. I would like to do nobuffered IO on the "stdin" file.  I want to be
  17. able to process each character as the user types it in at the time
  18. of input, NOT when they press the RETURN key.
  19.  
  20. I heard that one can use "setvbuf", but I have no such luck in getting
  21. to work for "stdin"
  22.  
  23. HELP!
  24.  
  25. Craig P. Albrecht    Corporated Information Center  612-683-7281
  26. Cray Reseach, Inc.   Technical Systems/Specialist   albrcp@brewey.cray.com
  27.