home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / dcom / modems / 13106 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.2 KB

  1. Path: sparky!uunet!spool.mu.edu!sol.ctr.columbia.edu!ira.uka.de!smurf.sub.org!news
  2. From: urlichs@smurf.sub.org (Matthias Urlichs)
  3. Newsgroups: comp.dcom.modems
  4. Subject: Re: NetFax & ZyXEL U-1496E ... are they compatible???
  5. Date: 7 Sep 1992 21:14:57 +0200
  6. Organization: University of Karlsruhe, FRG
  7. Lines: 18
  8. Message-ID: <18g9nhINNqes@smurf.smurf.sub.org>
  9. References: <1992Aug27.094518.15764@leland.Stanford.EDU> <stefanb.715264535@hathi> <stefanb.715284595@rama>
  10. NNTP-Posting-Host: 127.0.0.1
  11.  
  12. In comp.dcom.modems, article <stefanb.715284595@rama>,
  13.   stefanb@rama.informatik.rwth-aachen.de (Stefan Becker) writes:
  14. >       fdprintf(f->fd, "ATS7=120 +FCR=1\r");
  15. >       tcdrain(f->fd); sleep(1);
  16. [...]
  17.  
  18. It might make a lot of sense to actually wait for an OK from the modem here
  19. instead of blindly sending a bunch of commands and sleeping for a second.
  20. That's (a) faster and (b) you get alerted if something's wrong.
  21.  
  22. -- 
  23. Peter's Law of Substitution:
  24.         Look after the molehills, and the mountains will look after
  25.         themselves.
  26. -- 
  27. Matthias Urlichs  --  urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de   /(o\
  28. Humboldtstrasse 7 -- 7500 Karlsruhe 1 -- Germany  --  +49-721-9612521     \o)/
  29.