|
|
1.1 root 1: # This is an example of dial, the dialer configuration file for Taylor
2: # UUCP. To use it, you must compile the package with
3: # HAVE_TAYLOR_CONFIG set to 1 in policy.h (that is the default), copy
4: # this file to newconfigdir as set in Makefile.in (the default is
5: # /usr/local/conf/uucp), and edit it as appropriate for your system.
6:
7: # Everything after a '#' character is a comment. To uncomment any of
8: # the sample lines below, just delete the '#'.
9:
10: # All dialers named in the port (or sys) file must be described in the
11: # dial file. It is also possible to describe a dialer directly in the
12: # port (or sys) file.
13:
14: # This is a typical Hayes modem definition.
15: dialer hayes
16:
17: # The chat script used to dial the phone.
18: # This means:
19: # 1) expect nothing (i.e., continue with step 2)
20: # 2) send "ATZ", then a carriage return, then sleep for 1 to 2
21: # seconds. The \c means to not send a final carriage return.
22: # 3) wait until the modem echoes "OK"
23: # 4) send "ATDT", then the telephone number (after translating any
24: # dialcodes).
25: # 5) wait until the modem echoes "CONNECT"
26: chat "" ATZ\r\d\c OK ATDT\T CONNECT
27:
28: # If we get "BUSY" or "NO CARRIER" during the dial chat script we
29: # abort the dial immediately.
30: chat-fail BUSY
31: chat-fail NO\sCARRIER
32:
33: # When the call is over, we make sure we hangup the modem.
34: complete \d\d+++\d\dATH\r\c
35: abort \d\d+++\d\dATH\r\c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.