Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!tandem!zorch!hico2!sonyd1.Broadcast.Sony.COM!blilly.UUCP!bruce From: bruce@balilly (Bruce Lilly) Newsgroups: comp.sys.3b1 Subject: Re: more on the HFC saga Message-ID: <1991May17.223119.14806@blilly.UUCP> Date: 17 May 91 22:31:19 GMT References: <1991May13.010730.4743@fithp> Sender: usenet@blilly.UUCP (News Administrator) Distribution: na Organization: Bruce Lilly, Flushing, NY Lines: 14 Nntp-Posting-Host: balilly In article <1991May13.010730.4743@fithp> mhw@fithp (Marc Weinstein) writes: > >First and foremost, the /etc/hfc_ctl program appears to ENABLE HFC, not turn >it on. It seems that this program (somehow) configures the driver so that It uses an ioctl, which is listed in recent /usr/include/sys/termio.h's as: #define TCHFCCTL (TIOC|15) It is not in old termio.h's. ioctl(fd, TCHFCCTL, 1) is equivalent to /etc/hfc_ctl +/dev/ttyNNN ioctl(fd, TCHFCCTL, 0) is equivalent to /etc/hfc_ctl -/dev/ttyNNN -- Bruce Lilly blilly!balilly!bruce@sonyd1.Broadcast.Sony.COM