diff options
author | ache <ache@FreeBSD.org> | 1994-05-03 18:46:44 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-05-03 18:46:44 +0000 |
commit | bd63619a368896b2a8ccd35d29b6cb39e106646c (patch) | |
tree | 2b5180edbc733a5806460d0a0f65b724ef6854b3 /gnu | |
parent | 50c4325ec84b6c3b523abe1916ec4fde39535716 (diff) | |
download | FreeBSD-src-bd63619a368896b2a8ccd35d29b6cb39e106646c.zip FreeBSD-src-bd63619a368896b2a8ccd35d29b6cb39e106646c.tar.gz |
1) Add \p\c after CONNECT for modems which give CONNECT before
carrier up
2) Add more chat-fail codes
3) Add comment about complete/abort scripts, when modem handle
DTR drop properly
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/libexec/uucp/sample/dial.sample | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/libexec/uucp/sample/dial.sample b/gnu/libexec/uucp/sample/dial.sample index f0d4bdd..7eb0087 100644 --- a/gnu/libexec/uucp/sample/dial.sample +++ b/gnu/libexec/uucp/sample/dial.sample @@ -23,13 +23,17 @@ dialer hayes # 4) send "ATDT", then the telephone number (after translating any # dialcodes). # 5) wait until the modem echoes "CONNECT" -chat "" ATZ\r\d\c OK ATDT\T CONNECT +# 6) Wait a little more, if your modem give CONNECT before carrier up +chat "" ATZ\r\d\c OK ATDT\T CONNECT \p\c # If we get "BUSY" or "NO CARRIER" during the dial chat script we # abort the dial immediately. chat-fail BUSY +chat-fail ERROR +chat-fail NO\sDIALTONE chat-fail NO\sCARRIER # When the call is over, we make sure we hangup the modem. +# You don't need this stuff, if you modem can handle DTR drop properly complete \d\d+++\d\dATH\r\c abort \d\d+++\d\dATH\r\c |