[lug] expect, autoexpect...
bill ehlert
bill_ehlert at yahoo.com
Mon Jun 12 18:52:02 MDT 2000
** for those who have no idea what
an "expect file" is, would you
please post a few clear words about
-- its purpose
-- how it accomplishes the purpose
-- its inner workings
thanks !
--- Andrew Reberry <Andrew.Reberry at colorado.edu>
wrote:
> I am writing an expect file to post my current
> IP address on a webpage so I can telnet to my
> machine when my IP changes. I am having 2
> small problems though:
>
> 1) Whenever I type 'exit' to exit from ftp,
> telnet or anything else, expect thinks I'm
> telling it to exit. Anyone know a way around
> this? All works fine until I run the expect
> script, then when the script gets to the 'exit'
> point expect stops running completely. I
> don't want to kill my ftp connection with a
> CTRL-Z because that will hang my web host for a
> few minutes on me, wont it?
>
> 2) How can I set my expect file to run every
> half hour or so?
>
> Thanks
>
> Andrew Reberry
>
__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com
More information about the LUG
mailing list