Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!sdd.hp.com!hplabs!hpcc05!hpcc01!azarian From: azarian@hpcc01.HP.COM (Randy Azarian) Newsgroups: comp.lang.c Subject: Reading a keystroke w/o echo Message-ID: <990007@hpcc01.HP.COM> Date: 22 May 91 23:56:27 GMT Organization: HP Corp Computing & Services Lines: 10 I am trying to write some C code that will be able to be portable to a number of platforms (Unix, MVS, DOS, MPE) without modification of any kind. I/O will be nothing fancy, using printf's and the like. I need to accept a user password (that won't echo to the screen). So what I am looking for is an ANSI-C routine that will accept a keystroke without echoing it to the screen. Does anyone know of such a function or a way to fool stdin/stdout to accomplish the same thing?