This file is scripts/README. It describes publicly-contributed Expect scripts in this same directory. (The directory ../example contains another 50 or so of my own examples. This same example directory can also be found in the Expect source distribution itself.) To contribute to this collection, email your shar'd script to expect@nist.gov. Please include documentation. Thanks Don ====================================================================== arlog A very fancy script to automate remote logins. Shows interesting techniques such as getting passwords from an encrypted file. bc Uses bc to do arbitrary precision math. bonfield.exp Solves Jim Bonfield's puzzle that won the 1991 Obfuscated C contest. chat A semi-faithful reimplementation of the popular chat(1) program used by many Unix folks (along with pppd(1)) to dial out a modem and connect to their ISP. dialer start remote net connections with a lot of nice bells and whistles: Try a list of phone numbers, run login script, run arbitrary command, e.g., pppd or term; Has GUI status indicator and configuration windows. eftp ftp client with some frills. ftp-talk-radio Gets "Internet Talk Radio" files from a host. idiff Interactive diff program. Takes two files, runs diff on them, and then prompts for which version of each difference to include in the output. imapprune Prune imap folders on a monthly basis. libro-II Connect to Libro-II, the NIST library catalog. manymaint Multiple router maintenance program. (Uses autoexpect!) mirror_file Mirror a file from another ftp site, copying file only if changed. mirror_dir Mirror a directory from another ftp site, copying only files which have changed. mx Return any MX records for the given hostname. noidle Run a shell which avoids being 'autologged out' by sending a every hour if no other I/O has occurred. pager.alpha Send a message to an Alpha Pager. pager.mercury Send a message to a Mercury Pager. (Includes some non-essential Perl code which can be ignored - to read data files and call the Mercury pager script.) passwdchk A procedure to verify a password is valid. ping-and-page Ping a list of hosts. If any are down, page the system admin. scripttoggle Records a transcript of a session (like 'script' command) but can enable/disable control of recording on-demand. (Good for avoiding recording of editor sessions, etc.) slip.shar Scripts to keep your SLIP link alive. s-key-rlogin Automate rlogin (or telnet) using s/key su.exp Start up an 'su' and run the argument. Useful when you've mistakenly typed in a command that you needed to be su'd for. term-rlogin Run Term over rlogin. Good for traversing PPP/SLIP or firewall rlogin connections. term-start Start up Term (a sophisticated UNIX-to-UNIX serial line handler). timed-choice Offer user a timed choice of responses. timeout-monitor Monitor a command for inactivity. try-phone-list This script automates logging in to a remote system, trying phone numbers from a list until it finds one that works. waste-collection Contacts NIST service for hazardous waste pickup and removal. There are many more scripts available in the Expect distribution in the example directory.