Go forward to UUCP Over TCP.
Go backward to port File.
Go up to Configuration Files.
The Dialer Configuration File
=============================
The dialer configuration files define dialers. By default there is a
single dialer file, named `dial' in the directory NEWCONFIGDIR. This
may be overridden by the `dialfile' command in the main configuration
file; see See Configuration File Names.
Any commands in the file before the first `dialer' command specify
defaults for all the dialers in the file. All commands after a
`dialer' command up to the next `dialer' command are associated with
the named dialer.
`dialer STRING'
Introduces and names a dialer.
`chat STRINGS'
`chat-timeout NUMBER'
`chat-fail STRING'
`chat-seven-bit BOOLEAN'
`chat-program STRINGS'
Specify a chat script to be used to dial the phone. This chat
script is used before the login chat script in the `sys' file, if
any (see Logging In.). For full details on chat scripts, see
See Chat Scripts.
The `uucico' daemon will sleep for one second between attempts to
dial out on a modem. If your modem requires a longer wait period,
you must start your chat script with delays (`\d' in a send
string).
The chat script will be read from and sent to the port specified
by the `dial-device' command for the port, if there is one.
The following escape addition escape sequences may appear in send
strings:
`\D'
send phone number without dialcode translation
`\T'
send phone number with dialcode translation
`\M'
do not require carrier
`\m'
require carrier (fail if not present)
See the description of the dialcodes file (*note Configuration
File Names::.) for a description of dialcode translation. If the
port does not support carrier, as set by the `carrier' command in
the port file, `\M' and `\m' are ignored. If both the port and
the dialer support carrier, as set by the `carrier' command in the
port file and the `carrier' command in the dialer file, then every
chat script implicitly begins with `\M' and ends with `\m'. There
is no default chat script for dialers.
The following additional escape sequences may be used in
`chat-program':
`\D'
phone number without dialcode translation
`\T'
phone number with dialcode translation
If the program changes the port in any way (e.g., sets parity) the
changes will be preserved during protocol negotiation, but once the
protocol is selected it will change the port settings.
`dialtone STRING'
A string to output when dialing the phone number which causes the
modem to wait for a secondary dial tone. This is used to
translate the `=' character in a phone number. The default is a
comma.
`pause STRING'
A string to output when dialing the phone number which causes the
modem to wait for 1 second. This is used to translate the `-'
character in a phone number. The default is a comma.
`carrier BOOLEAN'
An argument of true means that the dialer supports the modem
carrier signal. After the phone number is dialed, `uucico' will
require that carrier be on. One some systems, it will be able to
wait for it. If the argument is false, carrier will not be
required. The default is true.
`carrier-wait NUMBER'
If the port is supposed to wait for carrier, this may be used to
indicate how many seconds to wait. The default is 60 seconds.
Only some systems support waiting for carrier.
`dtr-toggle BOOLEAN BOOLEAN'
If the first argument is true, then DTR is toggled before using
the modem. This is only supported on some systems and some ports.
The second BOOLEAN need not be present; if it is, and it is true,
the program will sleep for 1 second after toggling DTR. The
default is to not toggle DTR.
`complete-chat STRINGS'
`complete-chat-timeout NUMBER'
`complete-chat-fail STRING'
`complete-chat-seven-bit BOOLEAN'
`complete-chat-program STRINGS'
These commands define a chat script (see Chat Scripts.) which
is run when a call is finished normally. This allows the modem to
be reset. There is no default. No additional escape sequences
may be used.
`complete STRING'
This is a simple use of `complete-chat'. It is equivalent to
`complete-chat "" STRING'; this has the effect of sending STRING
to the modem when a call finishes normally.
`abort-chat STRINGS'
`abort-chat-timeout NUMBER'
`abort-chat-fail STRING'
`abort-chat-seven-bit BOOLEAN'
`abort-chat-program STRINGS'
These commands define a chat script (see Chat Scripts.) to be
run when a call is aborted. They may be used to interrupt and
reset the modem. There is no default. No additional escape
sequences may be used.
`abort STRING'
This is a simple use of `abort-chat'. It is equivalent to
`abort-chat "" STRING'; this has the effect of sending STRING to
the modem when a call is aborted.
`protocol-parameter CHARACTER STRINGS'
Set protocol parameters, just like the `protocol-parameter' command
in the system configuration file or the port configuration file;
see See Protocol Selection. These parameters take precedence,
then those for the port, then those for the system.
`seven-bit BOOLEAN'
This is only used during protocol negotiation; if it is true, it
forces selection of a protocol which works across a seven-bit
link. It does not prevent eight bit characters from being
transmitted. The default is false. It would be more common to
specify this for a port than for a dialer.
`reliable BOOLEAN'
This is only used during protocol negotiation; if it is false, it
forces selection of a protocol which works across an unreliable
communication link. The default is true.
`half-duplex BOOLEAN [ any type ]'
If the argument is true, it means that the dialer only supports
half-duplex connections. This only affects bidirectional
protocols, and causes them to not do bidirectional transfers.