CBREAK translation (HACKers, note)

Mark Horton mark at cbosgd.UUCP
Sat Mar 23 15:18:53 AEST 1985


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



More information about the Comp.unix mailing list