chat(8): document the TIMEOUT directive
PATCH 4/14 chat(8): document the TIMEOUT directive
chat/chat.8 +3 -2
@@ -35,7 +35,8 @@ is not received within the time limit then the reply string is not sent. An alternate reply may be sent or the script will fail if there is no alternate reply string. A failed script will cause the -\fIchat\fR program to terminate with a non-zero error code. +\fIchat\fR program to terminate with a non-zero error code. You can +also use the TIMEOUT string in order to specify the timeout. .TP .B \-r \fI<report file> Set the file for output of the report strings. If you use the keyword
@@ -348,7 +349,7 @@ .LP .SH TIMEOUT The initial timeout value is 45 seconds. This may be changed using the \fB\-t\fR -parameter. +parameter. You can also specify "TIMEOUT 0". .LP To change the timeout value for the next expect string, the following example may be used:
Signature · 2 lines
ciao, Marco