#	@(#) Dialers 22.1 89/11/14 
#
#	Copyright (C) The Santa Cruz Operation, 1988.
#	This Module contains Proprietary Information of
#	The Santa Cruz Operation, Microsoft Corporation
#	and AT&T, and should be treated as Confidential.
#
# Entries have this format:
#	Dialer  Translation  Expect  Send  Expect  Send...
#
# Dialer	the name of the dialer: each dialer that appears in
#		the Devices file (5th field) should appear in this file,
#		except for the built-in dialers (801) and dialer programs.
# Translation	translation table for the phone number, to translate the
#		dialtone/pause codes (=-) to those for the particular device
# Expect Send.. a chat script, same format and meaning as the login scripts
#		that appear in the Systems file.
#
# Meaning of some of the escape characters:
# \p - pause (approximately 1/4-1/2 second delay)
# \d - delay (2 seconds)
# \D - phone number/token
# \T - phone number with Dialcodes and character translation
# \N - null byte
# \K - insert a BREAK
# \E - turn on echo checking (for slow devices)
# \e - turn off echo checking
# \r - carriage return
# \c - no new-line
# \n - send new-line
# \nnn - send octal number
#
# In addition, the expect field "Speed" can be used with a variable rate
# modem which returns the actual connect speed: that speed is then matched
# against the range of speeds allowed by the Systems and Devices entries.
# See the hayes2400 entry for an example of this.
#
# For some dialin-and-dialout modems it may be advisable to switch off
# dialin when dialling out, then restore to dialin afterwards.  Such
# "return to dialin" entries are distinguished by an "&" at the beginning
# of the line.  See the &hayes2400 entry for an example of this.
#
# NOTE: blank lines and lines that begin with a <space>, <tab> or # are ignored
#######

#  Empty entries for Direct lines or direct conversation with modem
#  (these direct line synonyms are actually built into the programs)
#
# direct
# Direct
# dir
# -

#  Develcon and Micom network dataswitches
#
develcon ""	"" \pr\ps\c est:\007 \E\D\e \007
micom	""	"" \s\c NAME? \D\r\c GO

#  Hayes Smartmodem 1200 --
#  should be set up with the configuration switches as follows:
#
#  S1	S2	S3	S4	S5	S6	S7	S8
#  UP	UP		UP	UP		UP
#		DOWN			DOWN		DOWN
#
hayes1200 =,-,	"" AT\r\c OK\r \EATDT\T\r\c CONNECT

#  Hayes Smartmodem 2400
#
hayes2400 =,-,	"" ATQ0E0T&D2&C1S0=0X4S2=043\r\c OK\r ATDT\T\r\c Speed
#
#  and afterwards reinitialise to dialin mode
#
&hayes2400 =,-,	"" +++\dATQ0H OK\r ATE0&D2&C1X4S2=128 OK\r ATS0=1Q1\r

#  Microcom AX/2410c modem --
#  use hayes2400 entry as above, with configuration switches as follows:
#
#  Back switches:
#  S1	S2	S3	S4	S5	S6	S7	S8
#  UP	UP	UP	UP	UP	UP		UP
#						DOWN
#  Front switches:
#  S1	S2	S3	S4	S5	S6	S7	S8	S9	S10
#  UP			UP	UP	UP	UP		UP	UP
#	DOWN	DOWN					DOWN

#  Racal Vadic 9600VP modem
#
vadic9600 =,-,	"" ATQ0E0T&D2&C1*F0*C0S0=0X4S2=043\r\c OK\r ATDT\T\r\c Speed
#
#  and afterwards reinitialise to dialin mode
#
&vadic9600 =,-,	"" +++\dATQ0H OK\r ATE0&D2&C1*F0*C0X4S2=128 OK\r ATS0=1Q1\r

#  Other Penril, Ventel and Vadic modems
#
penril	=W-P	"" \d > Q\c : \d- > s\p9\c )-W\p\r\ds\p9\c-) y\c : \E\TP > 9\c OK
ventel	=&-%	"" \r\p\r\c $ <K\T%%\r>\c ONLINE!
vadic	=K-K	"" \005\p *-\005\p-*\005\p-* D\p BER? \E\T\e \r\c LINE

#  Rixon Intelligent Modem --
#  should be set up in the Rixon mode and not the Hayes mode.
#
rixon	=&-%	"" \r\r\d $ s9\c )-W\r\ds9\c-) s\c : \T\r\c $ 9\c LINE
#
# This is the dialer script for use with the Telebit Trailblazer.  The
# Trailblazer can be configured for many different modes of operation.
# Therefore, review this information carefully, and match it to your unique
# configuration.  Two scripts are included.  The first should be used for
# local and long-distance Trailblazer communications.  For international
# transmission, use 'telebit-int'.  This uses the undocumented "small packet"
# feature of the modem.  To use this script, create an entry in the Devices
# file, similar to the standard Trailblazer entry, but which uses "ACU-I"
# instead of "ACU".  Then, for each remote system in the Systems file which
# may need the small packets, use the ACU-I call unit.  The sequence of
# 'A\p's in the script is for early Trailblazers which could not resync to
# the baud rate correctly.  If you don't need them, remove them and the
# script will run faster.
#
telebit	=,-,	"" \M\r\dA\pA\pA\pA\pA\pA\dATZ\rATQ0S50=255S51=4S110=1S111=30\r\c OK ATDT\T\r\m\c CONNECT
telebit-int =,-,	"" \M\r\dA\pA\pA\pA\pA\pA\d\dATZ\r\dATQ0S50=255S51=4S110=1S111=30S120=2\r\c OK ATDT\T\r\m\c CONNECT
#
#

#  AT&T Programmable 300/1200 Modem Model 4000
#
#	Commands:	Explanation:
#	------------	---------------------------------------------------
#	=,-,		Use comma for secondary dial tone & for pause
#	""		expect nothing
#	\033\r\r\c	Escape sequences!! This one should work right after
#			power-up and later. If first use after power up,
#			the modem will ignore the escape and see the
#			two carriage returns--and become active and
#			spits out the MODEM: prompt. Otherwise, the modem
#			is already active and the escape followed by the
#			first carriage return tells the modem to go into
#			menu mode, and the second carriage return simply
#			causes the MODEM: prompt to come out.
#	DEM:		expect "DEM:" (actually "MODEM:")
#	\033s0401\c	Turn the speaker off.
#	\006		expct ACK (octal 6)
#	\033s0901\c	DTR should control connection (i.e. dropping DTR
#			drops connection and disallows auto answer)
#	\006		expct ACK (octal 6)
#	\033s1001\c	Ignore the cancel character.
#	\006		expct ACK (octal 6)
#	\033s1102\c	Turn off ability for remote modem to start test
#			in this modem.
#	\006		expct ACK (octal 6)
#	\033dT\T\r\c	Tell the modem to dial the given number, using
#			touch-tone signaling (change the first T to P
#			if you want to use pulse dialing).
#	\006		expct ACK (octal 6)
#
att4000	=,-,	"" \033\r\r\c DEM: \033s0401\c \006 \033s0901\c \006 \033s1001\c \006 \033s1102\c \006 \033dT\T\r\c \006

#  AT&T DATAPHONE II 2212C Modem
#
#	Commands:	Explanation:
#	------------	---------------------------------------------------
#	=+-,		'+' for secondary dial tone, ',' for pause
#	""		expect nothing
#	\r\c		send carriage return to enter interactive mode
#	:--:		expect colon.  if don't see it, send newline
#			and expect colon again.
#	ato12=y,T\T\r\c	set option 12 (transparent data mode) to y,
#			pause for 2 seconds, dial the given number using
#			touch-tone signaling (change the first T to P if
#			you want to use pulse dialing).
#	red		expect "red" (actually "Answered")
#
#			Once transparent data mode is enabled, you
#			cannot enter the interactive mode from the data mode.
#
att2212c =+-,	"" \r\c :--: ato12=y,T\T\r\c red

#  AT&T DATAPHONE II 2224 Modem
#
#	This entry is for 2224A/2224B with the optional automatic caller.
#	If using a 2224A with a AT&T 801CR ACU, use dialer type "801"
#	instead.
#
#	Commands:	Explanation:
#	------------	---------------------------------------------------
#	=+-,		'+' for secondary dial tone, ',' for pause
#	""		expect nothing
#	\r\c		send carriage return to enter interactive mode
#	:--:		expect colon.  if don't see it, send newline
#			and expect colon again.
#	T\T\r\c		dial the given number, using touch-tone signaling
#			(change the first T to P if you want to use pulse
#			dialing).
#	red		expect "red" (actually "Answered")
#
att2224	=+-,	"" \r\c :--: T\T\r\c red

#  Network Listener Service
#  The format of the request to the listener is
#		NLPS:000:001:<service_code>\N\c
#  where <service_code> determines what server the listener invokes.
#  The entry below asks for service code 1.
#
#  If cu & uucico use different service codes, you will have to use 
#  separate Dialers files (e.g., Dialers.cico and Dialers.cu).
#  See comments in Sysfiles for instructions.
#
nls	""	"" NLPS:000:001:1\N\c
