Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bria!mike Newsgroups: comp.lang.c Subject: Re: Making chars disappear Message-ID: <461@bria> Date: 18 Feb 91 01:20:02 GMT References: <8531@castle.ed.ac.uk> Reply-To: uunet!bria!mike Followup-To: comp.unix.programmer Distribution: comp Organization: MGI Group International, Los Angeles, CA Lines: 19 Keywords: In an article, castle.ed.ac.uk!james (J Gillespie) writes: >Does anyone know of a way to prevent characters being echoed as they >are typed in? Like when you log in, your password doesn't get echoed. >I have a nasty feeling this may involve sending control codes to the >terminal. This is a function of the operating system, and not C. Since it comes up every so often, I'll post an answer to comp.unix.progammer. BTW, no operating system that I know of accompishes supressing echo by using control characters; it is usually a bit flag in a status word for the port, or something along those lines. -- Michael Stefanik, MGI Inc., Los Angeles| Opinions stated are not even my own. Title of the week: Systems Engineer | UUCP: ...!uunet!bria!mike ------------------------------------------------------------------------------- Remember folks: If you can't flame MS-DOS, then what _can_ you flame?