home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / sys5 / r4 / 968 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  1.4 KB

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