Script question

Rick Forrister rickf
Mon May 17 11:35:16 PDT 2004


On Mon, 22 Jul 2002 16:50:58 -0400
Joel Hammer <Joel at HammersHome.com> wrote:

> I would look at Expect, which is designed to do just what you want.
> Joel

expect would be one good choice.  Python with the popen2.popen2 module is another; it can grab sysin & sysout and "talk" to another program.

rickf

> 
> On Mon, Jul 22, 2002 at 08:12:24PM +0200, Oliver Ob wrote:
> > Hello Lx Mgetty friends!!!
> > 
> > Now, that I am back, I would like to hear your inspiration on this:
> > 
> > I have been running a BBS.
> > 
> > What I want to do now is have a script (or perl???) dial
> > out (means send ATDT xxxxxxxxxxxx) command and then wait
> > for response.
> > 
> > In case there is no response or so it should receive the
> > error (maybe "BUSY" or "NO CARRIER") from modem and log it
> > to a log file.
> > 
> > How do I approach this?
> > Use Mgetty?
> > Or anything else?
> > 
> > Any friendly pointers appreciated!
> > 
> > -- 
> > *??., ??,.??*???*?        =Oliver at home=         *??., ??,.??*??*?
> > I       http://www.bmw-roadster.de/Friends/Olli/olli.html       I
> > I       http://www.bmw-roadster.de/Friends/friends.html         I
> > I       http://groups.yahoo.com/group/VGAP-93                   I
> > I       mailto:VGAP-93-subscribe at yahoogroups.com                I
> > I       http://home.t-online.de/home/spacecraft.portal          I
> > >>>  Telek0ma iBBMS - now back online +49.4504.TRSi1/TRSi2   <<<
> > _______________________________________________
> > Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
> > Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
> _______________________________________________
> Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
> Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.


-- 
If you are successfull they'll beat a path to your doorstep ...
     Picket signs firmly in hand!



More information about the Linux-users mailing list