Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!adobe!steel!burgett From: burgett@steel.COM (Michael Burgett) Newsgroups: comp.lang.c Subject: Re: Echoing chars and input functions Message-ID: <4163@adobe.COM> Date: 18 Aug 88 23:26:54 GMT References: <8808160751.aa03016@SMOKE.BRL.MIL> <8349@smoke.ARPA> <2821@boulder.Colorado.EDU> Sender: news@adobe.COM Reply-To: burgett@steel.UUCP (Michael Burgett) Organization: Adobe Systems Incorporated, Mountain View Lines: 16 In article <2821@boulder.Colorado.EDU> swarbric@tramp.Colorado.EDU (Frank Swarbrick) writes: >>>What, then, is the portable way to input a character from standard input, >>>echoing the character to the screen when necessary? >> >>We already answered that! It's >> c = getchar(); > >I could have sworn someone said their compiler did not echo the character when >they used this. Did I misunderstand someone, or is their compiler just >non-conformant (broken)? I think the point is that terminal echo is controlled by the operating system and NOT by the c library function used to get the character. mike burgett burgett!adobe.decwrl.dec.com