Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 1996 10:11:25 -0700
From:      kelly@fsl.noaa.gov (Sean Kelly)
To:        matt@server.wulaw.wustl.edu
Cc:        questions@freebsd.org
Subject:   Re: ecu and tip
Message-ID:  <9601031711.AA08477@emu.fsl.noaa.gov>
In-Reply-To: <30E12443.4B0D@server.wulaw.wustl.edu> (message from Matt Rosenberg on Wed, 27 Dec 1995 04:47:31 -0600)

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Matt" == Matt Rosenberg <matt@server.wulaw.wustl.edu> writes:

    Matt> I am trying to automate a daily batch download from a BBS
    Matt> via modem using 2.1.0.  I am using ecu BETA-3.34.56 and rz
    Matt> (The standard FreeBSD port)version 3.36.

    Matt> I created a wonderful ecu script ...

    Matt> I thought I would then try tip and converted my ecu script
    Matt> to perl to interface with tip ...

    Matt> Anyone have an idea for a work around either place?

Hmm, maybe you want to try expect?  I've never tried it with rz/sz,
but expect acts really well with a lot of other programs.

------------------------------------------------------------------------
#!/usr/local/bin/expect

set fd [open /dev/cuaa1 r+]
stty -f /dev/cuaa1 38400 raw
spawn -open $fd

... do login stuff ...
... get to patch location ...

exec rz
exit 0
------------------------------------------------------------------------


-- 
Sean Kelly
NOAA Forecast Systems Laboratory, Boulder Colorado USA

TASK: Shoot yourself in the foot.  In Modula2: After realizing that
you can't actually accomplish anything in this language, you shoot
yourself in the head.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9601031711.AA08477>