Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!hou3c!hocda!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!sri-unix!jpm@bnl.ARPA From: jpm@bnl.ARPA Newsgroups: net.lang.c Subject: Re: Cbreak or not Cbreak, that is the question ... Message-ID: <13344@sri-arpa.UUCP> Date: Mon, 10-Sep-84 03:19:46 EDT Article-I.D.: sri-arpa.13344 Posted: Mon Sep 10 03:19:46 1984 Date-Received: Fri, 14-Sep-84 08:32:52 EDT Lines: 15 > To do unbuffered I/O on Unix systems without playing with the tty driver >you can use the lowest level I/O commands (short of asm), read and write. But that wont get the same thing as turning CBREAK on. The read() call still wont return until a full line has been typed. There is no call in Unix like ci() in DeSmet C. ci() can be simulated by going into CBREAK mode, reading one character, and then going back to normal. A better idea might be to rework the program to use CBREAK mode at all times. -- John McNamee ..!decvax!philabs!sbcs!bnl!jpm jpm@Bnl.Arpa "Use a modem, Go to jail"