-f
<chat file>
Read the chat script from the chat file. The use of this
option is mutually exclusive with the chat script
parameters. The user must have read access to the file.
Multiple lines are permitted in the file. Space or
horizontal tab characters should be used to separate the
strings.
-t
<timeout>
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 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 chat program to
terminate with a non-zero error code.
-r
<report file>
Set the file for output of the report strings. If you use
the keyword REPORT, the resulting strings are written to
this file. If this option is not used and you still use
REPORT keywords, the stderr file is used for the report
strings.
-e
Start with the echo option turned on. Echoing may also be
turned on or off at specific points in the chat script by
using the ECHO keyword. When echoing is enabled, all
output from the modem is echoed to stderr.
-E
Enables environment variable substitution within chat
scripts using the standard $xxx syntax.
-v
Request that the chat script be executed in a verbose
mode. The chat program will then log the execution state
of the chat script as well as all text received from the
modem and the output strings sent to the modem. The
default is to log through the SYSLOG; the logging method
may be altered with the -S and -s flags.
-V
Request that the chat script be executed in a stderr
verbose mode. The chat program will then log all text
received from the modem and the output strings sent to the
modem to the stderr device. This device is usually the
local console at the station running the chat or pppd
program.
-s
Use stderr. All log messages from '-v' and all error
messages will be sent to stderr.
-S
Do not use the SYSLOG. By default, error messages are
sent to the SYSLOG. The use of -S will prevent both log
messages from '-v' and error messages from being sent to
the SYSLOG.
-T
<phone number>
Pass in an arbitrary string, usually a phone number, that
will be substituted for the \T substitution metacharacter
in a send string.
-U
<phone number 2>
Pass in a second string, usually a phone number, that will
be substituted for the \U substitution metacharacter in a
send string. This is useful when dialing an ISDN terminal
adapter that requires two numbers.
script
If the script is not specified in a file with the -f
option then the script is included as parameters to the
chat program.