Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ucbvax!husc6!spdcc!dyer From: dyer@spdcc.COM (Steve Dyer) Newsgroups: comp.unix.xenix Subject: Re: termio under SCO Xenix Message-ID: <569@spdcc.COM> Date: 17 Jan 88 19:00:52 GMT References: <2113@chinet.UUCP> Organization: S.P. Dyer Computer Consulting, Cambridge MA Lines: 22 In article <2113@chinet.UUCP>, clif@chinet.UUCP (Clif Flynt) writes: > So, I tried: > > nterm.c_cc[VMIN] = 1; > nterm.c_cc[VTIME] = 2; > nterm.c_lflag &= !ICANON; > > ioctl... At the very least, your use of the "!" operator is incorrect. "!" is "logical NOT", meaning that !0 ==> 1 !anythingelse ==> 0 You wanted "~", i.e., nterm.c_lflag &= ~ICANON; -- Steve Dyer dyer@harvard.harvard.edu dyer@spdcc.COM aka {ihnp4,harvard,husc6,linus,ima,bbn,m2c}!spdcc!dyer