Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!eru!luth!sunic!spocm2!lhv From: lhv@spocm2.UUCP (Leo Vermeulen) Newsgroups: comp.sys.ibm.pc Subject: MS-DOS call to read without echo Message-ID: <1036@spocm2.UUCP> Date: 5 Feb 90 17:34:43 GMT Organization: Philips TDS, Stockholm, Sweden Lines: 17 I have the following problem: I'm trying to write a C-program, using Microsoft-C 5.1, that reads a character string from the keyboard and assigns it to an character array. Since this string is supposed to be a password, I do not want it echoed to the display. Does anybody have any advice on how to write this bit of code? I am accustomed to a Un*x environment, and have not too much experience coding in C for MS-DOS, so please keep it simple. Any responses, by e-mail, would be greatly appreciated. Leo Vermeulen (UUCP: ..!uunet!mcsun!sunic!spocm2!lhv) -------------------------------------------------------------------------- Stockholm -- where the banks are on strike, and public transport will follow suit next week. Nobody will be able to pay for a taxi! --------------------------------------------------------------------------