mirror of https://gitee.com/openkylin/ppp.git
chat_man
chat(8): document the TIMEOUT directive Gbp-Pq: Name chat_man
This commit is contained in:
parent
39d9577c2c
commit
7b27beb1f6
|
@ -35,7 +35,8 @@ Set the timeout for the expected string to be received. If the string
|
||||||
is not received within the time limit then the reply string is not
|
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
|
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
|
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
|
.TP
|
||||||
.B \-r \fI<report file>
|
.B \-r \fI<report file>
|
||||||
Set the file for output of the report strings. If you use the keyword
|
Set the file for output of the report strings. If you use the keyword
|
||||||
|
@ -349,7 +350,7 @@ ogin:\-\-BREAK\-\-ogin: real_account
|
||||||
.LP
|
.LP
|
||||||
.SH TIMEOUT
|
.SH TIMEOUT
|
||||||
The initial timeout value is 45 seconds. This may be changed using the \fB\-t\fR
|
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
|
.LP
|
||||||
To change the timeout value for the next expect string, the following
|
To change the timeout value for the next expect string, the following
|
||||||
example may be used:
|
example may be used:
|
||||||
|
|
Loading…
Reference in New Issue