cbreak mode in ESIX
Guy Harris
guy at auspex.auspex.com
Mon Aug 27 05:28:32 AEST 1990
>CBREAK is called ICANON under System V.
(Actually, turning CBREAK on is like turning ICANON *off*, but....)
>If you're lazy and don't want to do the terminal settings via an ioctl(2),
>Stty should have a "raw" option, aka cbreak.
No, "raw" and "cbreak" are different.
"raw" means *RAW*, as in "no input processing of any sort, not even
checking for the interrupt or quit characters, or for ^S and ^Q, and
8-bit input/output with no parity, and no *output* processing either".
"cbreak" means "don't do input editing, i.e. no erase or kill character,
*but* do *all* the output processing requested by the other mode bits,
and check for the interrupt and quit characters, as well as for ^S and
^Q."
Not the same at all.
More information about the Comp.unix.i386
mailing list