Making chars disappear

Dave P. Schaumann dave at cs.arizona.edu
Mon Feb 18 16:04:09 AEST 1991


In article <8531 at castle.ed.ac.uk> james at 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.

I suspect that this is best done with an un-buffered read of the keyboard.
Unfortunately, there is no standard way to do this.

Even more so for any control code you might send, since that would be
terminal dependant.

-- 
Dave Schaumann      | Is this question undecidable?
dave at cs.arizona.edu |



More information about the Comp.lang.c mailing list