|
You can get the "batteries included" distribution of tcl/tk that installs expect with it. I have used the 8.4.2 version, I see this one is newer and just came out. Get it at Apple's site:
http://www.apple.com/downloads/macosx/unix_open_source/tcltkaqua.html
Also, you can get an autolearning script by going to expect.nist.gov and downloading the expect package. Don't install it, but keep the examples folder which has the autolearn script. It nakes a script after watching you perform a telnet or ftp session, etc. The FAQ on that site tells how to use it. So you can use expect even if you aren't a programmer.
|