🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #862

Re: Problems using exec to run a program that accesses modem

#862
From: Steve Madsen
Date: Wed, 12 Aug 1992 22:29
23 lines
1705 bytes
> My program is a front end that calls up another specialized program that 
> accesses the modem, dials a system (via script file) and collects/sends 
> data, and hangs up.  It accesses the modem fine, and even connects mostly, 
> but sometimes it won't connect, and when it does connect the data coming oer 
> the modem is garbage.  It appears that my program, running the other 
> program, causes problems with the communications...  

        Stab in the dark: your modem and the serial port aren't agreeing on the
right bps rate as the remote system.

        Your program that you exec should operate no differently when you exec
it or when you run it from the command line.  The only difference it would even
see would be that there is less memory when it's exec'ed.  So, the problem
probably doesn't lie in your program but in your comm setup.  It's my
experience that getting modems and serial ports to operate flawlessly when
there is no one there to fix things is a tough thing to do.  My first
suggestion would be to make sure the bps rates are set correctly, because that
would more than account for garbage over the line.

-- 
Steve Madsen
Miami University  Oxford, OH
Internet: sjmadsen@miavx1.acs.muohio.edu
Technical Details
Message-ID: <1992Aug12.172925.12112@miavx1.acs.muohio.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!ohstpy!miavx1!sjmadsen
References: <V6waPB1w164w@yngbld.tfsquad.mn.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!ohstpy!miavx1!sjmadsen
Newsgroups: comp.os.msdos.programmer,comp.lang.pascal
Subject: Re: Problems using exec to run a program that accesses modem
Message-ID: <1992Aug12.172925.12112@miavx1.acs.muohio.edu>
From: sjmadsen@miavx1.acs.muohio.edu (Steve Madsen)
Date: 12 Aug 92 17:29:24 -0500
References: <V6waPB1w164w@yngbld.tfsquad.mn.org>
Organization: Miami of Ohio
Lines: 23