home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / programm / 16131 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  1.9 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!usc!cs.utexas.edu!torn!nott!cunews!revcan!sidus!atronx.OCUnix.On.Ca!qpoint!dej
  2. From: dej@qpoint.ocunix.on.ca (David Jones)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re:  New hardware reference guide?
  5. Distribution: world
  6. Message-ID: <dej.0239@qpoint.ocunix.on.ca>
  7. References:  <OAHVENLA.92Nov14204125@lk-hp-4.hut.fi> <1dosbvINNa4n@uwm.edu> <1992Nov4.134857.24783@sth.frontec.se> <1992Nov17.230939.8604@freenet.carleton.ca>
  8. Date: 18 Nov 92 18:29:29 EST
  9. Organization: Dejital Software
  10. Lines: 33
  11.  
  12. In article <1992Nov17.230939.8604@freenet.carleton.ca> aa302@Freenet.carleton.ca (Russell McOrmond) writes:
  13. >  d) A very reliable method has existed that solves all of the known problems
  14. >with the DTR control, and is in use by pretty much every
  15. >third party driver author with the exception of CBM for their A2232
  16. >card, their internal serial port and Supra with their 2400ZI deiver.  This
  17. >method involves a very simple DoIO call to the driver in order to set the
  18. >status of eithor the DTR or the RTS line (Ulthough one would not at
  19. >this time have a reason to control the RTS on their own in most situations).
  20.  
  21. It should also be noted that Unix (or at least DEC Ultrix) allows one
  22. direct control over the modem leads all the while an application maintains
  23. an open file descriptor on the serial line in question.  It's a matter
  24. of
  25.  
  26.    ioctl(fd, TIOCCDTR, 0);
  27.  
  28. or
  29.  
  30.    ioctl(fd, TIOCSDTR, 0);
  31.  
  32. as the case may be.
  33.  
  34. The point is, at least one other OS has recognized the utility of allowing
  35. direct control over the modem leads.  I need this control for a lab for
  36. a course I'm taking at school.  In light of the above discussion, I'm
  37. glad in a way that I'm doing the lab in Unix and not AmigaOS, and I
  38. **detest** Unix.
  39.  
  40. --
  41.  David Jones, 6730 Tooney Drive, Orleans, Ontario K1C 6R4 CANADA
  42.        email: dej@qpoint.ocunix.on.ca    Fido: 1:163/109.8
  43.  AMIGA: Advanced Multimedia with Interactive Graphics and Audio
  44.  
  45.