Skip to content
EntityQ2642029· pop 10· linked from 18 articles

Expect is an extension to the Tcl scripting language written by Don Libes. 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.

Key facts

Software.name
Expect
Software.author
Don Libes
Software.developer
Nils Carlson
Software.latest release version
5.45.4
Software.programming language
C
Software.operating system
POSIX, Windows
Software.license
Public domain
Software.discontinued
no

via Wikipedia infobox

~9 min read

Encyclopedic overview

17 sections
Contents
  • Basics
  • Usage
  • Alternatives
  • C#
  • Erlang
  • Go
  • Groovy
  • Java
  • Perl
  • Python
  • Ruby
  • Rust
  • Scala
  • Shell
  • References
  • Further reading
  • External links

Expect is an extension to the Tcl scripting language written by Don Libes. 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 == Expect is used to automate control of interactive applications such as Telnet, FTP, passwd, fsck, rlogin, tip, SSH, and others. Expect uses pseudo terminals (Unix) or emulates a console (Windows), starts the target program, and then communicates with it, just as a human would, via the terminal or console interface. Tk, another Tcl extension, can be used to provide a GUI.

Excerpted from Wikipedia’s “Expect” article, available under the CC BY-SA 4.0 licence.

Available in 10 languages

via Wikidata sitelinks · CC0