Smart Modem Dial Out Database

avolio at decuac.UUCP avolio at decuac.UUCP
Mon Jul 7 23:35:10 AEST 1986


In article <802 at mit-trillian.MIT.EDU> martillo at mit-athena.UUCP (Yakim Martillo) writes:
>Has anything like termcap or printcap been developed for smart modem
>dial-out and modem-control?

In Ultrix-32, there is /etc/acucap.  A sample entry...

df112|df124|DF112|DF124|DEC df112:\
	:cr:hu:re:ls:ss=^B:sr=Ready\r\n:sd#250000:di=T:fd#40:\
	:dt=#:dd#50000:os=\r\nAttached\r\n:rs==:
# Options used in this capabilities file are:
#
#      Strings which can be written to a modem:
#
# ss = Synchronization string. Initially output to modem to 'see' if its awake.
# sr = What modem should say to ss having been sent.
# di = Dial initialization string (ie start a dialing sequence).
# dt = How to finish a dial sequence (needed since some modems need
#      to put the number to be dialed between some string).
# dr = What modem should say if the dial went off correctly.
# cs = Completion string which is a catchall for sync/dial strings
#      (Sent out last but probably not used by many modems).
# ab = An abort string to be send to modem if we abort tip.
# ds = A sequence used when modem is disconnected.
# os = A string which says a remote system came online (after 
#      carrier is detected).
# rs = A single character replacement string for the default delay
#      character of '=' OR '-' (which is default for DEC equipment). This
#      conversion only takes place within the phone number string
#      passed in.
#
#      Logical flags:
#
# cr = Wait for carrier to be sensed.
# hu = hangup if line goes away.
# re = Reset dtr (turn it off then on) before dialing begins.
# ls = use local sleep routine (rather than sleep) & thus all delays
#      must be given in microseconds (1000000 apx eq 1 second).
# si = ignore all response strings as this modem is attached to 
#	an interface which gives no characters back until carrier
#	is up (eg a dmf32).
#
#      Delays:
#
# sd = Synchronization delay (time between sync characters).
# dd = Dial delay (time between dial chars).
# da = Dial acknowledge delay (time to wait before looking for dial response)
# cd = Completion delay (time between completion chars).
# fd = Full delay (total time we wait for carrier detect).


-- 
Fred @ DEC Ultrix Applications Center
INET: avolio at decuac.DEC.COM				* Fight the Fight *
UUCP: {decvax,seismo,cbosgd}!decuac!avolio	       * Rescue the Unborn *



More information about the Comp.unix.wizards mailing list