Dialers revision 7c478bd95313f5f23a4c958a745db2134aa03244
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#ident "%Z%%M% %I% %E% SMI"
#
# Each caller type that appears in the Devices file (5th field)
# should appear in this file except for the built in callers.
# Each line consists of three parts:
# - the name of the caller
# - the translation table for the phone number to translate from
# the 801 codes (=-) to the code for the particular device
# - 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
#
# See the Administration Documentation for more details.
#
# NOTE: blank lines and lines that begin with a <space>, <tab>, or # are ignored
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
develcon "" "" \pr\ps\c est:\007 \E\D\e \n\007
micom "" "" \s\c NAME? \D\r\c GO
direct
##########
# The following entry is for use with direct connections
# using ttymon with the -b and -r options on both ends,
# or the old uugetty with the -r option.
##########
uudirect "" "" \r\d in:--in:
# Rixon Intelligent Modem -- 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
# Hayes Smartmodem -- modem should be set with the configuration
# switches as follows:
#
# S1 - UP S2 - UP S3 - DOWN S4 - UP
# S5 - UP S6 - DOWN S7 - ? S8 - DOWN
#
hayes =,-, "" \dA\pTE1V1X1Q0S2=255S12=255\r\c OK\r \EATDT\T\r\c CONNECT
# USR Courier V.32 and Sportster
# Set the switches as follows:
#
# 1 2 3 4 5 6 7 8 9 10
# U U D U U U D D D U Courier
# U U D U U U U D Sportster
#
usrv32-ec =,-, "" \dA\pTE1V1X1Q0S2=255S12=255&A0&H1&M5&B2\r\c OK\r \EATDT\T\r\c CONNECT STTY=crtscts,crtsxoff
usrv32-nec =,-, "" \dA\pTE1V1X1Q0S2=255S12=255&A0&H1&M0&B0\r\c OK\r \EATDT\T\r\c CONNECT STTY=crtscts,crtsxoff
# Telebit TrailBlazer
#
tb1200 =W-, "" \dA\pA\pA\pTE1V1X1Q0S2=255S12=255S50=2\r\c OK\r \EATDT\T\r\c CONNECT\s1200
tb2400 =W-, "" \dA\pA\pA\pTE1V1X1Q0S2=255S12=255S50=3\r\c OK\r \EATDT\T\r\c CONNECT\s2400
tbfast =W-, "" \dA\pA\pA\pTE1V1X1Q0S2=255S12=255S50=255\r\c OK\r \EATDT\T\r\c CONNECT\sFAST
# Telebit T1600
#
tb9600-ec =W-, "" \dA\pA\pA\pTE1V1X1Q0S2=255S12=255S50=6\r\c OK\r \EATDT\T\r\c CONNECT\s9600 STTY=crtscts,crtsxoff
tb9600-nec =W-, "" \dA\pA\pA\pTE1V1X1Q0S2=255S12=255S50=6S180=0\r\c OK\r \EATDT\T\r\c CONNECT\s9600 STTY=crtscts,crtsxoff
##########
# AT&T Programmable 300/1200 Modem Model 4000
#
# Commands: Explanation:
# ------------ ---------------------------------------------------
# =,-, Use comma for secondary dial tone & for pause
# "" expect nothing
# ATZ\r\p\p enter command mode, reset modem,
# OK\r expect modem to reply OK
# ATZ\r enter command mode, reset modem
# OK\r expect modem to reply OK
# \E turn on echo check mode
# ATDT\T\r\c enter command mode, tone dial the number
# (substitute 'P' for first 'T' for pulse dialing)
# \T\r\c phone number to dial
# CONNECT expect "CONNECT" from modem when connected
##########
att4000 =,-, "" ATZ\r\p\p OK\r ATZ\r OK\r\c \EATDT\T\r\c CONNECT
##########
# AT&T Model 4024 Modem
#
# For normal operation, dip switch 4 should be CLOSED.
# This disables ENTER INTERACTIVE WITH <CR>.
#
# Commands: Explanation:
# ------------ ---------------------------------------------------
# =,-, Use comma for secondary dial tone & for pause
# "" expect nothing
# atzod, enter command mode, reset modem, set options to default
# o12=y, set option 12 to 'y' (transparent data mode)
# o4=n\r\c set option 4 to 'n' (don't disconnect on rcvd spaces)
# \006 expect ACK from modem
# atT\T\r\c enter command mode, tone dial the number
# ed expect "ed" (actually "Answered")
#
# Once transparent data mode is enabled, you
# cannot enter the interactive mode from the data mode.
##########
att4024 =+-, "" atzod,o12=y,o4=n\r\c \006 atT\T\r\c ed
##########
# AT&T DATAPHONE II 2212C Modem
#
# For normal operation, dip switch 4 should be CLOSED.
# This disables ENTER INTERACTIVE WITH <CR>.
#
# Commands: Explanation:
# ------------ ---------------------------------------------------
# =+-, '+' for secondary dial tone, ',' for pause
# "" expect nothing
# atzod, enter command mode, reset modem, set options to default
# o12=y, set option 12 to 'y' (transparent data mode)
# o4=n, set option 4 to 'n' (don't disconnect on rcvd spaces)
# \006 Wait for ACK
# atT\T\r\c enter command mode, tone dial the number
# ed expect "ed" (actually "Answered")
#
# Once transparent data mode is enabled, you
# cannot enter the interactive mode from the data mode.
##########
att2212c =+-, "" atzod,o12=y,o4=n\r\c \006 atT\T\r\c ed
att2212C =+-, "" atzod,o12=y,o4=n\r\c \006 atT\T\r\c ed
##########
# AT&T DATAPHONE II 2224B Modem
#
# For normal operation dip switch S1 switch 2 should be OPEN.
# This disables ENTER INTERACTIVE WITH <CR>.
#
# Commands: Explanation:
# ------------ ---------------------------------------------------
# =+-, '+' for secondary dial tone, ',' for pause
# "" expect nothing
# atT\T\r\c enter command mode, tone dial the number
# (substitute 'P' for first 'T' for pulse dialing)
# ed expect "ed" (actually "Answered")
##########
att2224b =+-, "" atT\T\r\c ed
att2224B =+-, "" atT\T\r\c ed
##########
# AT&T DATAPHONE II 2224CEO Modem
#
# The 2224CEO Modem supports MNP error control protocol.
# This entry will use MNP if it is also available on the
# remote end.
#
# For normal operation, dip switch S1 switch 3 should be UP.
# This disables ENTER INTERACTIVE WITH <CR>.
#
# When used with an EPORTS board on a 3B2, it is recommended that
# hardware flow control be enabled on the board and that the
# corresponding second set of entries below be used.
#
# Commands: Explanation:
# ------------ ---------------------------------------------------
# =+-, '+' for secondary dial tone, ',' for pause
# "" expect nothing
# atzod, enter command mode, reset options to default values,
# o12=y, set option 12 to 'y' (transparent data mode)
# o4=n, set option 4 to 'n' (don't disconnect on rcvd spaces)
# \\n3 select normal operating mode
# \\c1 modem does not buffer data
# \\j0 do not autobaud modem serial port
# \\q0 no flow control
# \\g0\r\c no modem port flow control
# \006 Wait for ACK
# atT\T\r\c enter command mode, tone dial the number
# (substitute 'P' for first 'T' for pulse dialing)
# Connected expect "ed" (actually "Connected")
#
# Once transparent data mode is enabled, you
# cannot enter the interactive mode from the data mode.
##########
att2224ceo =+-, "" atzod,o12=y,o4=n,\\n3\\c1\\j0\\q0\\g0\r\c \006 atT\T\r\c Connected
att2224CEO =+-, "" atzod,o12=y,o4=n,\\n3\\c1\\j0\\q0\\g0\r\c \006 atT\T\r\c Connected
#att2224ceo =+-, "" atzod,o12=y,o4=n,\\n3\\c1\\j0\\q3\\g0\r\c \006 atT\T\r\c Connected
#att2224CEO =+-, "" atzod,o12=y,o4=n,\\n3\\c1\\j0\\q3\\g0\r\c \006 atT\T\r\c Connected
##########
# AT&T DATAPHONE II 2224G Modem
#
# The 2224G Modem supports MNP error control protocol.
# This entry will use MNP if it is also available on the
# remote end.
#
# For normal operation, dip switch S1 switch 3 should be RIGHT.
# This disables ENTER INTERACTIVE WITH <CR>.
#
# When used with an EPORTS board on a 3B2, it is recommended that
# hardware flow control be enabled on the board and that the
# corresponding second set of entries below be used.
#
# Commands: Explanation:
# ------------ ---------------------------------------------------
# =+-, '+' for secondary dial tone, ',' for pause
# "" expect nothing
# atzod, enter command mode, reset options to default values,
# o12=y, set option 12 to 'y' (transparent data mode)
# o4=n, set option 4 to 'n' (don't disconnect on rcvd spaces)
# o1=n\r\c set option 1 to 'n' (don't wait for far end sense first)
# \006 Wait for ACK
# atz enter command mode
# \\n3 select auto-reliable operating mode
# \\c1 select auto-reliable buffering scheme 1
# \\j0 do not autobaud modem serial port
# \\q0 no flow control
# \\g0\r\c no modem port flow control
# \datT\T\r\c delay, enter command mode, tone dial the number
# (substitute 'P' for first 'T' for pulse dialing)
# Connected expect "Connected"
#
# Once transparent data mode is enabled, you
# cannot enter the interactive mode from the data mode.
##########
att2224g =+-, "" atzod,o12=y,o4=n,o1=n\r\c \006 atz\\n3\\c1\\j0\\q0\\g0\r\c "" \datT\T\r\c Connected
att2224G =+-, "" atzod,o12=y,o4=n,o1=n\r\c \006 atz\\n3\\c1\\j0\\q0\\g0\r\c "" \datT\T\r\c Connected
#att2224g =+-, "" atzod,o12=y,o4=n,o1=n\r\c \006 atz\\n3\\c1\\j0\\q3\\g0\r\c "" \datT\T\r\c Connected
#att2224G =+-, "" atzod,o12=y,o4=n,o1=n\r\c \006 atz\\n3\\c1\\j0\\q3\\g0\r\c "" \datT\T\r\c Connected
##########
# AT&T DATAPHONE II 2224 Modem
#
# This entry is for 2224 with the optional automatic caller.
# Is is provided only to provide compatibility with previous
# releases. The entry for the specific model modem you own
# should be found above.
#
# 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
##########
# AT&T DATAPHONE II 2248A Modem
#
# Commands: Explanation:
# ------------ ---------------------------------------------------
# =+-, '+' for secondary dial tone, ',' for pause
# "" expect nothing
# atzod, enter command mode, reset modem, set options to default
# o12=y\r\c set option 12 to 'y' (transparent data mode)
# \006 Wait for ACK
# atT\T\r\c enter command mode, tone dial the number
# (substitute 'P' for first 'T' for pulse dialing)
# Connected expect "Connected"
#
##########
att2248a =+-, "" atzod,o12=y\r\c \006 atT\T\r\c Connected
att2248A =+-, "" atzod,o12=y\r\c \006 atT\T\r\c Connected
##########
# AT&T DATAPHONE II 2296A Modem
#
# Commands: Explanation:
# ------------ ---------------------------------------------------
# =+-, '+' for secondary dial tone, ',' for pause
# "" expect nothing
# atzod, enter command mode, reset options to default values,
# o12=y, set option 12 to 'y' (transparent data mode)
# o50=y, set option 50 to 'y'
# o51=n, set option 51 to 'n' (don't strap CTS/RTS)
# o55=n, set option 55 to 'n' (CD does not indicate carrier)
# o69=n,\r\c set option 69 to 'n'
# \006 Wait for ACK
# atz enter command mode
# \\n3 select auto-reliable operating mode
# \\c1 select auto-reliable buffering scheme 1
# \\j0 do not autobaud modem serial port
# \\q0 no flow control
# \\g0\r\c no modem port flow control
# \datT\T\r\c delay, enter command mode, tone dial the number
# (substitute 'P' for first 'T' for pulse dialing)
# Connected expect "Connected"
#
# When used with an EPORTS board on a 3B2, it is recommended that
# hardware flow control be enabled on the board and that the
# corresponding second set of entries below be used.
#
##########
att2296a =+-, "" atzod,o12=y,o50=y,o51=n,o55=n,o69=n\r\c \006 atz\\n3\\c1\\j0\\q0\\g0\r\c "" \datT\T\r\c Connected
att2296A =+-, "" atzod,o12=y,o50=y,o51=n,o55=n,o69=n\r\c \006 atz\\n3\\c1\\j0\\q0\\g0\r\c "" \datT\T\r\c Connected
#att2296a =+-, "" atzod,o12=y,o50=y,o51=n,o55=n,o69=n\r\c \006 atz\\n3\\c1\\j0\\q0\\g0\r\c "" \datT\T\r\c Connected
#att2296A =+-, "" atzod,o12=y,o50=y,o51=n,o55=n,o69=n\r\c \006 atz\\n3\\c1\\j0\\q0\\g0\r\c "" \datT\T\r\c Connected
##########
# 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
# See comments in Sysfiles for instructions.
##########
nls "" "" NLPS:000:001:1\N\c
##########
# DATAKIT(r) serial port connection script
#
# Commands: Explanation:
# ------------ ---------------------------------------------------
# "" no special character translation table
# "" expect nothing
# \d delay to give some settling time
# TION:--TION: wait for the DESTINATION: prompt, if it does not come
# send a carriage return and wait again.
# \D send the specified token
##########
datakit "" "" \d TION:--TION: \D