Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!wuarchive!decwrl!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.internals Subject: Re: Device Emulation with a pty? Message-ID: <4166@auspex.auspex.com> Date: 8 Oct 90 22:59:12 GMT References: <6372@emory.mathcs.emory.edu> <1978:Oct803:29:0790@kramden.acf.nyu.edu> Organization: Auspex Systems, Santa Clara Lines: 11 >> * detect device specific slave side ioctls and reply to them from >> the master side. > >Look up TIOCPKT and TIOCREMOTE. Which will tell you that you can only detect *some* effects from slave-side "ioctl"s (I'm not sure what "reply to them from the master side" means, but if it means that the process on the master side is to be responsible for providing the return code for "ioctl"s or providing the return data from "ioctl"s such as TIOCGETP that return data, you can't do that, either).