Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.i386 Subject: Re: cbreak mode in ESIX Keywords: cbreak ESIX Message-ID: <3955@auspex.auspex.com> Date: 26 Aug 90 19:28:32 GMT References: <25160@boulder.Colorado.EDU> <1990Aug25.194849.1079@pilikia.pegasus.com> Distribution: usa Organization: Auspex Systems, Santa Clara Lines: 19 >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.