home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / c / 19192 < prev    next >
Encoding:
Text File  |  1993-01-04  |  910 b   |  28 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!netnews!bandy
  3. From: bandy@netnews.jhuapl.edu (Mike Bandy)
  4. Subject: Re: How to read without echo.
  5. Message-ID: <C0CCF3.2Mw@netnews.jhuapl.edu>
  6. Organization: JHU/Applied Physics Laboratory
  7. References: <1i9pi5INN972@taloa.unice.fr>
  8. Date: Mon, 4 Jan 1993 17:54:39 GMT
  9. Lines: 17
  10.  
  11. vyskocil@taloa.unice.fr (Vyskocyl) writes:
  12.  
  13. >I only want to read a word on the keyboard without any
  14. >print on the screen. I mean, I want someone to answer
  15. >a question on his keyboard without any echo of what he
  16. >is typing. It will end just after he pressed 'return'.
  17.  
  18. You'll have to find the operating system specific call to turn
  19. off echo for the keyboard.  C does not have a built in routine
  20. to do that, but your operating system (you don't say what
  21. environment you're running under) probably does.
  22.  
  23. -- 
  24.  
  25.     Mike Bandy
  26.     bandy@aplcomm.jhuapl.edu
  27.     Johns Hopkins University / Applied Physics Lab
  28.