expect-lite is a wrapper for expect, created to make expect programming even easier. The wrapper permits the creation of expect script command files by using a special character(s) at the beginning of each line to indicate the expect-lite action.
Be the first to post a text review of Expect-lite. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Fixed bug in labels, trailing spaces would not be trimmed
Expect-lite grows up, turning 4 this month, making automation even easier. In this release, key features include, instant-interact for immediate debugging, almost-unlimited multiple sessions, and better control over logging info. For example, the new feature, Instant-Interact, provides instant debugging assistance. Pressing ^\ (control+backslash) will force expect-lite to drop into interact mode, a mode which turns control of the keyboard over to the user, so that one may type directly to the process on the remote host. Now expect-lite supports nearly limitless multiple sessions. What is a new session? A new session starts with a new shell on the remote host. All commands '>' and received text '<' are constrained to that session. *FORK <session_name> switches between sessions. Additional directives *TERM, *FAIL, *SHOW VARS, *FORK, and *INTERACT provide easy control over the script, multiple sessions, and debugging. But that's not all, *INFO, *NOINFO, *WARN, *NOWARN, *DEBUG, *NODEBUG provide improved control of logging/debugging.
Version 3.1.5 adds two new features. Based on a user request, User Defined Prompt(s) has been added. This allows the setting of the prompt via a line */some_regex/ Expect-lite has always cooperated well with the bash shell. Now via a 5 line embedded bash script at the top of the expect-lite script, it can become executable with default arguments, and can even take linux-style (--example 1) arguments. Please see the documentation for more details.
This version of expect-lite includes some small bug fixes, and adds additional debugging information via -v and -vv. Additionally, three (3) self-test scripts have been included (in Examples), which provide confidence that expect-lite is functioning properly.
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?