Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site cbosgd.UUCP Path: utzoo!watmath!clyde!cbosgd!mark From: mark@cbosgd.UUCP (Mark Horton) Newsgroups: net.unix,net.sources.bugs Subject: Re: CBREAK translation (HACKers, note) Message-ID: <993@cbosgd.UUCP> Date: Sat, 23-Mar-85 00:18:53 EST Article-I.D.: cbosgd.993 Posted: Sat Mar 23 00:18:53 1985 Date-Received: Sat, 23-Mar-85 04:21:05 EST References: <1078@ihuxe.UUCP> <588@rlgvax.UUCP> Organization: Bell Labs, Columbus Lines: 9 Xref: watmath net.unix:4011 net.sources.bugs:268 Well, almost. While clearing ICANON is similar to setting CBREAK, you also have to set VMIN and VTIME (two of the c_cc values, they overlap two other perfectly useful characters) to 1 when going into CBREAK mode. Of course, save the old ones so you can restore them later. If you forget to set these to 1, the symptom is that it only wakes up every 4 characters you type (since one of the characters that is overlayed is your EOF character, control D.) Mark