autoexpect

term

programmingnetworking

Kept in this browser · My desk

The program in the Expect distribution that watches you use another program and writes an Expect script that repeats what you did.

Its own manual page is the fairest review of it: the script it writes is not guaranteed to work, it records every character, output that changes from run to run included, and it should not be taken as a model of style. As a first draft it saves typing and shows how Tcl wants a string quoted. As the finished script it waits for an exact banner with no timeout, and it stops the first time anything on the other side changes.

Also known as: auto expect, script.exp

← Back to A Back to the glossary