Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!rdin!perl From: perl@rdin.UUCP (Robert Perlberg) Newsgroups: net.lang.c Subject: Re: Single char input using getchar() Message-ID: <338@rdin.UUCP> Date: Wed, 4-Jan-84 02:26:48 EST Article-I.D.: rdin.338 Posted: Wed Jan 4 02:26:48 1984 Date-Received: Thu, 29-Dec-83 01:16:29 EST Lines: 13 WOOOOOOOOOOOOOOOOOOOOOOAAAAAAAAAAA!!!!! There's nothing wrong with using getchar for single character input. The stdio package treats terminals differently than it does other devices. Terminal I/O will not be buffered by getchar or putchar or any other stdio routine unless you request buffering with setbuf(). The only buffering you have to worry about is that controlled by ioctl. Robert Perlberg Resource Dynamics Inc. New York philabs!rdin!rdin2!perl