Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!unhd.unh.edu!jwm712 From: jwm712@unhd.unh.edu (Jonathan W Miner) Newsgroups: comp.lang.c Subject: Re: Making chars disappear Message-ID: <1991Feb18.025615.28749@unhd.unh.edu> Date: 18 Feb 91 02:56:15 GMT References: <8531@castle.ed.ac.uk> Distribution: comp Organization: University of New Hampshire Lines: 14 In article <8531@castle.ed.ac.uk> james@castle.ed.ac.uk (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. You will have to get the terminal driver to shift into RAW mode. This takes away all off the 'nice' features of line-oriented input. Look into the ioctl() system call and . (I just don't have the time.) -- Jonathan Miner | I don't speak for UNH, and UNH does not jwm712@unhd.unh.edu | speak for me! (603)868-3416 | Hacking to survive......