Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site kitty.UUCP
Path: utzoo!watmath!sunybcs!kitty!peter
From: peter@kitty.UUCP (Peter DaSilva)
Newsgroups: net.unix-wizards,net.flame
Subject: Re: ioctl/termio/Xenix SIII
Message-ID: <291@kitty.UUCP>
Date: Fri, 9-Aug-85 13:26:21 EDT
Article-I.D.: kitty.291
Posted: Fri Aug  9 13:26:21 1985
Date-Received: Sat, 10-Aug-85 02:48:18 EDT
References: <64@brl-tgr.ARPA> <311@baylor.UUCP> <143@ho95e.UUCP> <208@kitty.UUCP> <2574@sun.uucp>
Organization: Recognition Research Corp., Clarence, NY
Lines: 30
Xref: watmath net.unix-wizards:14255 net.flame:11489

> Also note that, unless UniSoft broke the tty driver rather badly (which I
> consider to be largely outside the realm of possibility), the read "timeout"
> isn't really a timeout; the clock doesn't start running until the first
> character comes in.

More interesting & useful.

> > This broke several programs I was trying to maintain on a system that
> > was converted from SIII to SV. I still haven't gotten Xmodem to work
> > reliably again
> 
> The programs were broken already.  If you turn off ICANON you *must* also
> set MIN and TIME to some other values - MIN of 1 and TIME of 0 will emulate
> V7's CBREAK mode exactly - if you want reliable results.  If you didn't do
> so, go fix your code.

Nope. The system wasn't really SIII. I have since found out that Microsoft
did their first SIII port by adding the SIII commands & making a few cosmetic
changes to a V7 port. So, it was a V7 to SV conversion, not SIII to SV.

> > The 4.2 method of handling timouts is much better, since it ADDS a
> > function, instead of CHANGING an existing one.
> 
> What "4.2 method of handling timeouts"?  If you mean using
> "alarm"/"setitimer", that's in S3/S5 ("alarm", that is; only 4.2BSD has
> "setitimer", alas); it's been there since before V6.  If you mean the
> timeout in "select", that's a timeout, not a silo drain clock like TIME in
> S3/S5 (as was pointed out before).

You're right. Someone hit me.