- expect_out
Output object accessible by the user. buffer contains all data on the stream between the previous two matches. This object is meant to emulate TCL Expect's expect_out behavior. For more, see http://www.tcl.tk/man/expect5.31/expect.1.html
- options
Options object.
- emitter
Spectcl is an emitter.
- cache
String containing the data to match against thus far. Subject to matchMax restrictions. Once a match is found, the contents up to the match are flushed to expect_out.buffer.
- cacheStream
A buffering stream. STDOUT/ERR is piped to this stream. Starts out paused, and is resumed when we are expecting, and is paused again when we match. We also watch this stream for eof.
- child
Child object.
- expecting
True if this session is currently in an expect block.
- fullBuffer
Set when the cache string is longer than options.matchMax
- EXP_CONTINUE
Enum values for special handling
Output object accessible by the user. buffer contains all data on the stream between the previous two matches. This object is meant to emulate TCL Expect's expect_out behavior. For more, see http://www.tcl.tk/man/expect5.31/expect.1.html
Options object.
Kind: global variable
Properties
Name | Type | Description |
---|---|---|
timeout | number |
Max inactivity time, in ms. Defaults to 30s |
matchMax | number |
Max length of cache. Default to 2000 |
Spectcl is an emitter.
String containing the data to match against thus far. Subject to matchMax restrictions. Once a match is found, the contents up to the match are flushed to expect_out.buffer.
A buffering stream. STDOUT/ERR is piped to this stream. Starts out paused, and is resumed when we are expecting, and is paused again when we match. We also watch this stream for eof.
Child object.
True if this session is currently in an expect block.
Set when the cache string is longer than options.matchMax
Enum values for special handling
Kind: global variable