Expect is an extension to the Tcl scripting language written by Don Libes.[2] The program automates interactions with programs that expose a text terminal interface. Expect, originally written in 1990 for the Unix platform, has since become available for Microsoft Windows and other systems. Basics[edit] Expect is used to automate control of interactive applications such as Telnet, FTP, passwd, fsc