home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!auspex-gw!guy
- From: guy@Auspex.COM (Guy Harris)
- Newsgroups: comp.unix.sys5.r4
- Subject: Re: Can Sys/V force DTR low or high?
- Keywords: DTR
- Message-ID: <16070@auspex-gw.auspex.com>
- Date: 23 Dec 92 20:13:33 GMT
- References: <1406@minya.UUCP>
- Sender: news@auspex-gw.auspex.com
- Organization: Auspex Systems, Santa Clara
- Lines: 21
- Nntp-Posting-Host: auspex.auspex.com
-
- >I've poked around in TFM for several Sys/V releases (both R3 and R4),
- >and as near as I can tell, there is no (documented) equivalent of this
- >operation in Sys/V.
-
- Well, you have to check the right documentation, first. Thanks to some
- nitwit at AT&T (who, hopefully, has either been re-educated, or is no
- longer working at USL^H^H^HNovell), the documentation in question is the
- System Administration manual - yup, it's sure obvious to *me* that
- documentation on how a *programmer* controls a device belongs in the
- *system administrator's* manual rather than the *programmer's*
- manual....
-
- In any case, the SVR4 "termio(7)", in the SVR4 "System Administrator's
- Reference Manual", documents the TIOCMBIS, TIOCMBIC, TIOCMSET, and
- TIOCMGET "ioctl"s (as lifted from SunOS, with Sun's blessing), which
- should let a process wiggle control lines and read the state of status
- lines.
-
- Now, this requires that the underlying serial port drivers *implement*
- those "ioctl"s; whether any particular SVR4 driver does, or doesn't, is
- up to its author. If you find one that doesn't, complain to the vendor.
-