home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / msdos / programm / 8504 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  1.7 KB

  1. Xref: sparky comp.os.msdos.programmer:8504 comp.lang.pascal:4828
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!ohstpy!miavx1!sjmadsen
  3. Newsgroups: comp.os.msdos.programmer,comp.lang.pascal
  4. Subject: Re: Problems using exec to run a program that accesses modem
  5. Message-ID: <1992Aug12.172925.12112@miavx1.acs.muohio.edu>
  6. From: sjmadsen@miavx1.acs.muohio.edu (Steve Madsen)
  7. Date: 12 Aug 92 17:29:24 -0500
  8. References: <V6waPB1w164w@yngbld.tfsquad.mn.org>
  9. Organization: Miami of Ohio
  10. Lines: 23
  11.  
  12. > My program is a front end that calls up another specialized program that 
  13. > accesses the modem, dials a system (via script file) and collects/sends 
  14. > data, and hangs up.  It accesses the modem fine, and even connects mostly, 
  15. > but sometimes it won't connect, and when it does connect the data coming oer 
  16. > the modem is garbage.  It appears that my program, running the other 
  17. > program, causes problems with the communications...  
  18.  
  19.         Stab in the dark: your modem and the serial port aren't agreeing on the
  20. right bps rate as the remote system.
  21.  
  22.         Your program that you exec should operate no differently when you exec
  23. it or when you run it from the command line.  The only difference it would even
  24. see would be that there is less memory when it's exec'ed.  So, the problem
  25. probably doesn't lie in your program but in your comm setup.  It's my
  26. experience that getting modems and serial ports to operate flawlessly when
  27. there is no one there to fix things is a tough thing to do.  My first
  28. suggestion would be to make sure the bps rates are set correctly, because that
  29. would more than account for garbage over the line.
  30.  
  31. -- 
  32. Steve Madsen
  33. Miami University  Oxford, OH
  34. Internet: sjmadsen@miavx1.acs.muohio.edu
  35.