home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / os2 / misc / 43418 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.7 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!torn!news.ccs.queensu.ca!qucis.queensu.ca!ember!vicuna!frampton
  2. From: frampton@vicuna.ocunix.on.ca (Steve Frampton)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: IBM: Please help me hang up my phone!
  5. Keywords: COM, DTR, COM-Driver
  6. Message-ID: <TNLqXB3w165w@vicuna.ocunix.on.ca>
  7. Date: 21 Jan 93 17:12:40 GMT
  8. References: <1993Jan20.074823.20678@neptune.inf.ethz.ch>
  9. Reply-To: frampton@vicuna.ocunix.on.ca
  10. Followup-To: comp.os.os2.misc
  11. Organization: Vicuna Systems, Kingston, Ontario, CANADA
  12. Lines: 24
  13. Content-Type: text/plain; charset=us-ascii
  14.  
  15. rofische@iiic.ethz.ch (Roman Fischer) writes:
  16.  
  17. > I noticed this too. In a small com-programm (kind of network driver) i 
  18. > wrote for myself, i noticed, that DTR goes high as soon as the programm 
  19. > opens the com-port (fopen("com1"...) or something).
  20.  
  21. > As far as i can remember, MODE ...DTR=OFF doesn't work as long as the 
  22. > program is running (as long as the port is opened).
  23.  
  24. I *think* I fixed the problem -- I tried DTR=ON, and DTR=OFF, and leaving
  25. the DTR statement off altogether (talking about MODE command, here)...
  26. none worked.  I then said, what the heck, and just put in DTR with no
  27. parameters (instead of DTR=... I just have DTR) and now the modem hangs
  28. up instantly!
  29.  
  30. I have to see if this works with other callers, but it certainly works
  31. now with my other PC.
  32.  
  33. +--------+< Unabashed Shabba Ranks Fan! >+------+--------------------+
  34. | Steve Frampton - frampton@vicuna.ocunix.on.ca | Steve Frampton     |
  35. | I collect postcards!  If you send me one from | 501-A Princess St. |
  36. | your area, I'll send one in return.  Send to >| Kingston, Ontario  |
  37. | (Don't forget both email and mailing address) | CANADA   K7L 1C3   |
  38. +-----------------------------------------------+--------------------+
  39.