Echoing chars and input functions

Karl Heuer karl at haddock.ima.isc.com
Sat Aug 20 02:25:30 AEST 1988


In article <5940003 at hpcupt1.HP.COM>  williamo at hpcupt1.HP.COM (William O'Saughnessy) writes:
>OK, what is the proper and portable way to get a character from stdin
>without having it echoed to the screen?!!!!

I generally use tioset(), which is portable to as many implementations as I've
bothered to implement it on.

>Basic may have C beat here it defines the way with INKEY

Do you really believe that INKEY is portable?  How many flavors of BASIC have
you used?

Karl W. Z. Heuer (ima!haddock!karl or karl at haddock.isc.com), The Walking Lint



More information about the Comp.lang.c mailing list