[This is my attempt to return this web page back to its contents before someone accidentally replaced it.]
Subtitle: A Tcl-Based Toolkit for Automating Interactive Applications
WWW book information: http://www.ora.com/catalog/expect/ Book's examples: The bigger ones all come with the Expect distribution Errata: http://expect.nist.gov/errata
For all of you who thought that the Expect man page was too long and too terse at the same time, this book provides relief. "Exploring Expect" is an introduction and comprehensive tutorial to Expect. Numerous examples are provided and explained, demonstrating how to save you time and money. Example topics include how to write patterns, do signal handling, use Expect as a telnetable daemon, and use Expect with Tk and other Tcl extensions.
The book also includes an innovative introduction to Tcl - if you've had trouble using Tcl before, all of a sudden, it will make a lot more sense. And while Exploring Expect concentrates primarily on using Expect with Tcl, programmers attempting to automate interactive programs using C, Perl, Python, or any other language will find this book helpful because many of the concepts underlying Expect-like programming are common to all languages.
Exploring Expect was originally based on Tcl 7. But Don wrote very carefully and it is not surprising that this book is still accurate to Tcl - except in a couple places. In particular, Tk's bind syntax is different now, so some of the examples in the Expectk chapter aren't quite right anymore. (But all the examples come with the Expect distribution and they've all been kept up to date.)
Even if you're not interested in Expect, the book is a landmark because it talks about a single extension and its domain in its entirely, covering everything you'd want to know about Tcl programming including the pitfalls, without pulling any punches.
The home for Expect is http://expect.nist.gov/ .
Comments on this book:
I agree that Exploring Expect is still a valuable tool. I do wish that O'Reilly would dump a nice wad o' bills in Don's lap to bring out a new edition. -PSE
Eh. I've evangelized Expect until I was blue in the face to all the programmers I've worked with, to no avail. I'd imagine sales of the title were not high enough to warrant a second edition. But you never know...
Category Application], Category Package hi