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

  1. Path: sparky!uunet!munnari.oz.au!comp.vuw.ac.nz!actrix!templar!jbickers
  2. From: jbickers@templar.actrix.gen.nz (John Bickers)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: New hardware reference guide?
  5. References: <1dosbvINNa4n@uwm.edu> <1992Nov4.134857.24783@sth.frontec.se> <BxGvwE.4op@visix.com> <1992Nov13.211221.1609@freenet.carleton.ca> <37160@cbmvax.commodore.com>
  6. Message-ID: <jbickers.0j7f@templar.actrix.gen.nz>
  7. Date: 22 Nov 92 11:01:07 PST
  8. Organization: TAP
  9. Lines: 32
  10.  
  11. Quoted from <37160@cbmvax.commodore.com> by andy@cbmvax.commodore.com (Andy Finkel):
  12.  
  13. > Since I seldom need to send data through a modem that is offline,
  14. > closing the device is no hardship.  When I want to raise DTR, I
  15.  
  16.     I've seen an article in this newsgroup within the last few months
  17.     where the author needed to drop DTR and then write to the device.
  18.     I think that was when Russell posted his code that writes directly
  19.     to the hardware.
  20.  
  21.     I myself want to be able to drop DTR without closing the device
  22.     for several reasons:
  23.  
  24.     1.  To remain compatible with a particular PC link library, to aid
  25.         in porting an application from MS-DOS to the Amiga.
  26.  
  27.     2.  There is a chance that the attempt to reopen the device would
  28.         fail (because another application got in first).
  29.  
  30.     3.  Closing the device will not drop DTR if it was opened in
  31.         shared mode, and another application still has it open.
  32.  
  33.     There are a couple of other things that would be nice to have in
  34.     the serial device, like a way to open the device in shared mode,
  35.     then promote oneself to exclusive use of the device - other apps
  36.     that had opened it in shared mode would have their requests put
  37.     "on hold" until a "demote" command was sent to the device.
  38.  
  39. >             andy
  40. --
  41. *** John Bickers, TAP.                   jbickers@templar.actrix.gen.nz ***
  42. ***    "Radioactivity - It's in the air, for you and me" - Kraftwerk    ***
  43.