mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Update TODO
This commit is contained in:
parent
ae604d12e2
commit
b6672c1704
1 changed files with 21 additions and 0 deletions
21
TODO
21
TODO
|
|
@ -1,3 +1,24 @@
|
||||||
|
* Support for interaction using simple autoresponse strings
|
||||||
|
|
||||||
|
Add support for simple autoresponse strings in the configuration file. For
|
||||||
|
example:
|
||||||
|
|
||||||
|
autoresponse = expect:'localhost login: ', send:'root\n',
|
||||||
|
expect:'Password: ', send:'abcd1234\n'
|
||||||
|
|
||||||
|
When expect line is matched tio will respond by writing the send string.
|
||||||
|
|
||||||
|
When parsing the autoresponse variable make sure matching expect/send pairs
|
||||||
|
else provide warning.
|
||||||
|
|
||||||
|
Maybe support regex matching in expect string to make feature more powerful.
|
||||||
|
|
||||||
|
This is mostly a convenience feature. For more powerful scripted interaction
|
||||||
|
users can continue use the socket feature in combination with the expect tool
|
||||||
|
as described in the man page.
|
||||||
|
|
||||||
|
Maybe provide a mechanism to disable autoresponse feature. Maybe by defining
|
||||||
|
maximum match count and/or in session key command to toggle feature.
|
||||||
|
|
||||||
* Support for running external command
|
* Support for running external command
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue