diff --git a/docs/manual/OptionalTasks/telnet.html b/docs/manual/OptionalTasks/telnet.html index 3e419303c..eb6055e64 100644 --- a/docs/manual/OptionalTasks/telnet.html +++ b/docs/manual/OptionalTasks/telnet.html @@ -2,16 +2,19 @@
-If you do specify a userid and password, the system will assume a common unix prompt to wait on. This behavior can be easily over-ridden.
+If you do specify a userid and password, the system will +assume a common unix prompt to wait on. This behavior can be easily over-ridden.
userid | the login id to use on the telnet server. | -No | +Only if password is specified |
password | the login password to use on the telnet server. | -No | +Only if userid is specified |
server | @@ -50,8 +53,34 @@ Task to automate a remote telnet session. The task uses nested <read> to iNo |
declare (as a text child of this element) a string to wait for. +The element supports the timeout attribute, which overrides any +timeout specified for the task as a whole. It also has a string +attribute, which is an alternative to specifying the string as +a text element. +
+Always declare an opening and closing +<read> element to ensure that statements are not sent before +the connection is ready, and that the connection is not broken before +the final command has completed. + +describes the text to send to the server. The echo boolean +attribute controls whether the string is echoed to the local log; +this is "true" by default +
<telnet userid="bob" password="badpass" server="localhost"> <read>/home/bob</read>