Path: utzoo!utgpu!water!watmath!clyde!ima!haddock!karl
From: karl@haddock.ima.isc.com (Karl Heuer)
Newsgroups: comp.lang.c
Subject: Re: Echoing chars and input functions
Message-ID: <6265@haddock.ima.isc.com>
Date: 19 Aug 88 16:25:30 GMT
References: <8808160751.aa03016@SMOKE.BRL.MIL> <5940003@hpcupt1.HP.COM>
Reply-To: karl@haddock.isc.com (Karl Heuer)
Organization: Interactive Systems, Boston
Lines: 13

In article <5940003@hpcupt1.HP.COM>  williamo@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@haddock.isc.com), The Walking Lint