# Modemcap file
# 	Define characteristics for auto-dialling a modem using standard
#	dial(3) routine and RS232 connections to auto-dialer
#	The L-devices file should have modem name instead of cua? device
#	name. WARNING- do not use names beginning with cua!
#
# The following commands are recognized by dial:
#	pl (str ) - place call string - consists of a set of 2 character
#		commands to be executed. The commands must be defined
#		elsewhere in the entry for this modem. (required)
#	ps (char) - primary command start char
#	es (char) - primary command end char
#	ph (str ) - send (str,phone#,eh) (if not defined, then no str sent)
#	eh (str ) - end of phone string
#	pa (char) - pause character (replaces [-])
#	pw (char) - wait character (replaces [w=])
#	w[a-z,0-9] (char) - read characters until get char specified
#			    (NULLS are squashed)
#	s[a-z,0-9] (str) - send (ps,str,es) (if ps,es are defined)
#	t[a-z,0-9] (str) - send (str)
#	c[a-z,0-9] (str) - compare str to previous results of 'w' (not
#		           including terminator)
#	d[a-z,0-9] (num) - delay num seconds
#	a[a-z,0-9] (str) - abort EQUAL with string as error
#	b[a-z,0-9] (str) - abort NOT_EQUAL with string as error
#	m[a-z,0-9] (num) - skip num instructions EQUAL
#	n[a-z,0-9] (num) - skip num instructions NOT_EQUAL
#
# bizcomp 1012 - option switch 9 down
bz|bizcomp|bizcomp 1012:ps=\02:sa=A:sz=Z:sv=V:sx=X:ph=\02D:pw=\072:\
	:a1=NO ANSWER:b1=NO DIAL TONE:b2=NO ANSWER:wp=\r:eh=\r:sq=Q:\
	:c1=1:c2=2:c7=7:d1#1:d5#5:\
	:pl=szd5wpd1svwpsqwpsxwpd1phwpc7b1wpc2a1c1b2d1:
# Racal-Vadic VA212
va|vadic|racal vadic VA212:d1#1:d5#5:es=\r:se=\05:wp=\n:ws=*:sd=d:tr=\r:\
	:ca=ANSWER TONE\r:cr=RINGING...\r:co=ON LINE \r:eh=\r:pw=k:si=i:\
	:n1#9:n2#6:n3#3:a1=NO ANSWER:b1=FAILED CALL:b2=NO_ANSWER:\
	:pl=sed1wssiwpwpd1sed1wssdwpwpphwpwptrwpwpwpcrn1wpcrn2wpcrn3\
wpcra1cab2wpcob1d1:
# D.C. Hayes Smartmodem
sm|smartmodem|smartmodem 1200|d.c. hayes smartmodem:\
	:d1#1:ph=ATDT:eh=\r:es=\r:pa=,:pw=,:\
	:wn=\n:co=OK\r:bo=NO OK:\
	:cc=CONNECT\r:cn=NO CARRIER\r:an=NO CARRIER:bc=NO CONNECT:\
	:si=ATZ E0 F1 Q0 V1 X0 S0=0 S2=29 S7=16:\
	:pl=siwnwncobod1phwnwncnanccbc:
nokia:Nokia 2400 ACM:\
	:d1#1:d2#30:ph=ATDT:eh=\r:es=\r:pa=,:pw=,:\
	:wn=\n:co=OK\r:bo=NO OK:\
	:cc=CONNECT\r:cn=NO CARRIER\r:an=NO CARRIER:bc=NO CONNECT:\
	:si=ATE0 Q0 V1 X0 S0=0 S7=50 M1:\
	:pl=siwnwncobod1phd2wnwncnanccbc:
ecm2400:Nokia ECM2400:\
	:d1#1:d2#30:ph=ATDT:eh=\r:es=\r:pa=,:pw=,:\
	:wn=\n:co=OK\r:bo=NO OK:\
	:cc=CONNECT\r:cn=NO CARRIER\r:an=NO CARRIER:bc=NO CONNECT:\
	:si=ATE0 Q0 V1 X0 S0=0 S7=50 M1:\
	:pl=siwnwncobod1phd2wnwncnanccbc:
ecm4896:Nokia ECM 4896:\
	:d1#1:d2#30:ph=ATDT:eh=\r:es=\r:pa=,:pw=,:\
	:wn=\n:co=OK\r:bo=NO OK:\
	:cc=CONNECT\r:cn=NO CARRIER\r:an=NO CARRIER:bc=NO CONNECT:\
	:si=ATE0 Q0 V1 X0 S0=0 S7=50 M1:\
	:pl=siwnwncobod1phd2wnwncnanccbc:
