;-----------------------------------------------------------------------------
[Responses]
; This section is temporary.

;-----------------------------------------------------------------------------
[SprintNet, Standard]

DEFAULTOFF=
MAXCARRIERBPS=9600
MAXCONNECTBPS=9600


; The next two lines ignore logon banners
COMMAND=
OK=<ignore>


; The @ characters sets the SprintNet PAD for 8 databit communication.
COMMAND=@
NoResponse


; The D character requests a 9600 speed.
COMMAND=D<cr>
; We dont care about the response so we ignore it (unless modem has hung up).
ERROR_NO_CARRIER=<match>"NO CARRIER"
OK=<ignore>


; A carriage return to initialize the PAD read/write buffers
COMMAND=<cr>
ERROR_NO_CARRIER=<match>"NO CARRIER"
OK=<ignore>


; Set X.3 settings on the PAD which make it work well with RAS. Broken into
; two parts since the line is too long.
COMMAND=SET 1:0,2:0,3:0,4:1,5:0,6:1,7:0,8:0,9:0,10:0<cr>
ERROR_NO_CARRIER=<match>"NO CARRIER"
OK=<ignore>


; Set the other half of X.3 parameters
COMMAND=SET 12:0,13:0,14:0,15:0,16:0,17:0,18:0,19:0,20:0,22:0<cr>
ERROR_NO_CARRIER=<match>"NO CARRIER"
OK=<ignore>


; Finally try to call RAS X25 server
COMMAND=C <x25address>*<UserData><cr>

CONNECT=<match>" CONNECT"
ERROR_NO_CARRIER=<match>"NO CARRIER"
ERROR_DIAGNOSTICS=<cr><lf><Diagnostics>
ERROR_DIAGNOSTICS=<lf><cr><lf><Diagnostics>


; CONNECT response means that the connection completed fine.
; ERROR_DIAGNOISTICS response means connection attempt failed - the X25
;  DIAGNOSTIC information will be extracted from the response and sent to the
;  user.
; ERROR_NO_CARRIER means that the remote modem hung up.
; ERROR resonses are for generic failures.

;-----------------------------------------------------------------------------
[SprintNet, Alternate]

; Connections can be made more reliably in some SprintNet locations if
; there are some delays near the beginning of the pad.inf entry.  As a
; general rule of thumb use this entry with older, slower (2400 bps)
; locations.


DEFAULTOFF=
MAXCARRIERBPS=9600
MAXCONNECTBPS=9600


; The next line will give a delay of 2 secs - allowing the PAD to initialize
COMMAND=
NoResponse


; The next line will give a delay of 2 secs - allowing the PAD to initialize
COMMAND=
NoResponse


; The @ characters sets the SprintNet PAD for 8 databit communication.
COMMAND=@
NoResponse


COMMAND=
NoResponse


; The D character requests a 9600 speed.
COMMAND=D<cr>
; We dont care about the response so we ignore it (unless modem has hung up).
ERROR_NO_CARRIER=<match>"NO CARRIER"
OK=<ignore>


; A carriage return to initialize the PAD read/write buffers
COMMAND=<cr>
ERROR_NO_CARRIER=<match>"NO CARRIER"
OK=<ignore>


; Set X.3 settings on the PAD which make it work well with RAS. Broken into
; two parts since the line is too long.
COMMAND=SET 1:0,2:0,3:0,4:1,5:0,6:1,7:0,8:0,9:0,10:0<cr>
ERROR_NO_CARRIER=<match>"NO CARRIER"
OK=<ignore>


; Set the other half of X.3 parameters
COMMAND=SET 12:0,13:0,14:0,15:0,16:0,17:0,18:0,19:0,20:0,22:0<cr>
ERROR_NO_CARRIER=<match>"NO CARRIER"
OK=<ignore>


; Finally try to call RAS X25 server
COMMAND=C <x25address>*<UserData><cr>

CONNECT=<match>" CONNECT"
ERROR_NO_CARRIER=<match>"NO CARRIER"
ERROR_DIAGNOSTICS=<cr><lf><Diagnostics>
ERROR_DIAGNOSTICS=<lf><cr><lf><Diagnostics>


; CONNECT response means that the connection completed fine.
; ERROR_DIAGNOISTICS response means connection attempt failed - the X25
;  DIAGNOSTIC information will be extracted from the response and sent to the
;  user.
; ERROR_NO_CARRIER means that the remote modem hung up.
; ERROR resonses are for generic failures.

;-----------------------------------------------------------------------------
[InfoNet]

DEFAULTOFF=
MAXCARRIERBPS=2400
MAXCONNECTBPS=2400


; The next line will give a delay of 2 secs - allowing the PAD to initialize
COMMAND=
NoResponse


; The next line will give a delay of 2 secs - allowing the PAD to initialize
COMMAND=
NoResponse


COMMAND=<cr>
; We dont care about the response so we ignore it (unless modem has hung up).
ERROR_NO_CARRIER=<match>"NO CARRIER"
OK=<ignore>


COMMAND=<cr>
ERROR_NO_CARRIER=<match>"NO CARRIER"
OK=<ignore>


COMMAND=X<cr>
ERROR_NO_CARRIER=<match>"NO CARRIER"
OK=<ignore>


; Set X.3 settings on the PAD which make it work well with RAS. Broken into
; two parts since the line is too long.
COMMAND=SET 1:126,2:1,3:0,4:1,5:0,6:1,7:0,8:0,9:0,10:0<cr>
ERROR_NO_CARRIER=<match>"NO CARRIER"
ERROR=<match>"INV"
OK=<ignore>


; Set the other half of X.3 parameters
COMMAND=SET 12:0,13:0,14:0,15:0,16:0,17:0,18:0,19:0,20:0,21:0,22:0<cr>
ERROR_NO_CARRIER=<match>"NO CARRIER"
ERROR=<match>"INV"
OK=<ignore>


; Try to call RAS X25 server
COMMAND=<x25address><cr><lf>

OK=<match>"COM"
ERROR_NO_CARRIER=<match>"NO CARRIER"
ERROR_DIAGNOSTICS=<cr><lf><Diagnostics>


; CONNECT response means that the connection completed fine.
; ERROR_DIAGNOISTICS response means connection attempt failed - the X25
;  DIAGNOSTIC information will be extracted from the response and sent
;  to the user.
; ERROR_NO_CARRIER means that the remote modem hung up.
; ERROR resonses are for generic failures.


; Finally set no escape and no echo
COMMAND=~SET 1:0,2:0<cr>
NoEcho
CONNECT=<ignore>
