home *** CD-ROM | disk | FTP | other *** search
- 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
- From: dej@qpoint.ocunix.on.ca (David Jones)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: New hardware reference guide?
- Distribution: world
- Message-ID: <dej.0239@qpoint.ocunix.on.ca>
- References: <OAHVENLA.92Nov14204125@lk-hp-4.hut.fi> <1dosbvINNa4n@uwm.edu> <1992Nov4.134857.24783@sth.frontec.se> <1992Nov17.230939.8604@freenet.carleton.ca>
- Date: 18 Nov 92 18:29:29 EST
- Organization: Dejital Software
- Lines: 33
-
- In article <1992Nov17.230939.8604@freenet.carleton.ca> aa302@Freenet.carleton.ca (Russell McOrmond) writes:
- > d) A very reliable method has existed that solves all of the known problems
- >with the DTR control, and is in use by pretty much every
- >third party driver author with the exception of CBM for their A2232
- >card, their internal serial port and Supra with their 2400ZI deiver. This
- >method involves a very simple DoIO call to the driver in order to set the
- >status of eithor the DTR or the RTS line (Ulthough one would not at
- >this time have a reason to control the RTS on their own in most situations).
-
- It should also be noted that Unix (or at least DEC Ultrix) allows one
- direct control over the modem leads all the while an application maintains
- an open file descriptor on the serial line in question. It's a matter
- of
-
- ioctl(fd, TIOCCDTR, 0);
-
- or
-
- ioctl(fd, TIOCSDTR, 0);
-
- as the case may be.
-
- The point is, at least one other OS has recognized the utility of allowing
- direct control over the modem leads. I need this control for a lab for
- a course I'm taking at school. In light of the above discussion, I'm
- glad in a way that I'm doing the lab in Unix and not AmigaOS, and I
- **detest** Unix.
-
- --
- David Jones, 6730 Tooney Drive, Orleans, Ontario K1C 6R4 CANADA
- email: dej@qpoint.ocunix.on.ca Fido: 1:163/109.8
- AMIGA: Advanced Multimedia with Interactive Graphics and Audio
-
-