cbreak mode in ESIX

Bruce Adler bruce at segue.segue.com
Mon Sep 3 09:51:09 AEST 1990


In article <3989 at auspex.auspex.com> guy at auspex.auspex.com (Guy Harris) writes:
>>How about:
>>	stty -icanon min 1 time 0
>
>Maybe S5/386 is different, but the S5R3.1 3B2 code won't handle that - it'll
>set VMIN to octal 61, i.e. '1', and VTIME to octal 60, i.e. '0' ...

You're right. So use:

	stty -icanon min '^a' time '^@'

I guess you (and a few other people) missed the whole point of my 
message.  My intent was to point out that the usage of "min" and "time" 
was guaranteed to work (on SysV) but that overloading "eof" and "eol" 
depends on your kernel implemenation.

Also, my copy of IEEE 300.1 says the kernel is "permitted" (not 
required) to overlap VEOF and VEOL with VMIN and VTIME.  Therefore it's 
also implementation dependent on POSIX compliant systems.  

-- 
bruce at segue.com
ism.isc.com!segue!bruce
aero.org!segue!bruce



More information about the Comp.unix.sysv386 mailing list