summaryrefslogtreecommitdiff
path: root/usr/src/man/man5/remote.5
blob: 0e26c323f7015f113a4e8a9369242e9b689a37c2 (plain)
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
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
'\" te
.\" Copyright (C) 2002, Sun Microsystems, Inc. All Rights Reserved
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (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 or http://www.opensolaris.org/os/licensing.  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]
.TH REMOTE 5 "Jun 13, 2002"
.SH NAME
remote \- remote host description file
.SH SYNOPSIS
.LP
.nf
\fB/etc/remote\fR
.fi

.SH DESCRIPTION
.sp
.LP
The systems known by \fBtip\fR(1) and their attributes are stored in an
\fBASCII\fR file which is structured somewhat like the \fBtermcap\fR file. Each
line in the file provides a description for a single \fIsystem\fR. Fields are
separated by a colon `\fB:\fR'. Lines ending in a `\fB\e\fR\&' character with
an immediately following \fBNEWLINE\fR are continued on the next line.
.sp
.LP
The first entry is the name(s) of the host system. If there is more than one
name for a system, the names are separated by vertical bars. After the name of
the system comes the fields of the description.  A field name followed by an
`\fB=\fR' sign indicates a string value follows. A field name followed by a
`\fB#\fR' sign indicates a following numeric value.
.sp
.LP
Entries named \fBtip\fR\fIbaudrate\fR are used as default entries by \fBtip\fR,
as follows.  When \fBtip\fR is invoked with only a phone number, it looks for
an entry of the form \fBtip\fR\fIbaudrate\fR, where \fIbaudrate\fR is the baud
rate with which the connection is to be made.  For example, if the connection
is to be made at  \fB300\fR baud, \fBtip\fR looks for an entry of the form
\fBtip300\fR.
.SH CAPABILITIES
.sp
.LP
Capabilities are either strings \fB(str)\fR, numbers \fB(num)\fR, or boolean
flags \fB(bool)\fR. A string capability is specified by
\fIcapability\fR=\fIvalue\fR; for example, `\fBdv=/dev/harris\fR'. A numeric
capability is specified by \fIcapability\fR#\fIvalue\fR; for example,
`\fBxa#99\fR'. A boolean capability is specified by simply listing the
capability.
.sp
.ne 2
.na
\fB\fBat\fR\fR
.ad
.RS 6n
\fB(str)\fR Auto call unit type. The following lists valid '\fBat\fR' types and
their corresponding hardware:
.sp
.ne 2
.na
\fB\fBbiz31f\fR\fR
.ad
.RS 10n
Bizcomp 1031, tone dialing
.RE

.sp
.ne 2
.na
\fB\fBbiz31w\fR\fR
.ad
.RS 10n
Bizcomp 1031, pulse dialing
.RE

.sp
.ne 2
.na
\fB\fBbiz22f\fR\fR
.ad
.RS 10n
Bizcomp 1022, tone dialing
.RE

.sp
.ne 2
.na
\fB\fBbiz22w\fR\fR
.ad
.RS 10n
Bizcomp 1022, pulse dialing
.RE

.sp
.ne 2
.na
\fB\fBdf02\fR\fR
.ad
.RS 10n
DEC DF02
.RE

.sp
.ne 2
.na
\fB\fBdf03\fR\fR
.ad
.RS 10n
DEC DF03
.RE

.sp
.ne 2
.na
\fB\fBventel\fR\fR
.ad
.RS 10n
Ventel 212+
.RE

.sp
.ne 2
.na
\fB\fBv3451\fR\fR
.ad
.RS 10n
Vadic 3451 Modem
.RE

.sp
.ne 2
.na
\fB\fBv831\fR\fR
.ad
.RS 10n
Vadic 831
.RE

.sp
.ne 2
.na
\fB\fBhayes\fR\fR
.ad
.RS 10n
Any Hayes-compatible modem
.RE

.sp
.ne 2
.na
\fB\fBat\fR\fR
.ad
.RS 10n
Any Hayes-compatible modem
.RE

.RE

.sp
.ne 2
.na
\fB\fBbr\fR\fR
.ad
.RS 6n
\fB(num)\fR The baud rate used in establishing a connection to the remote host.
This is a decimal number. The default baud rate is  \fB300\fR baud.
.RE

.sp
.ne 2
.na
\fB\fBcm\fR\fR
.ad
.RS 6n
\fB(str)\fR An initial connection message to be sent to the remote host. For
example, if a host is reached through a port selector, this might be set to the
appropriate sequence required to switch to the host.
.RE

.sp
.ne 2
.na
\fB\fBcu\fR\fR
.ad
.RS 6n
\fB(str)\fR Call unit if making a phone call. Default is the same as the
\fBdv\fR field.
.RE

.sp
.ne 2
.na
\fB\fBdb\fR\fR
.ad
.RS 6n
\fB(bool)\fR Cause \fBtip\fR(1) to ignore the first hangup it sees.  \fBdb\fR
(dialback) allows the user to remain in \fBtip\fR while the remote machine
disconnects and places a call back to the local machine. For more information
about dialback configuration, see \fISystem Administration Guide: IP
Services\fR.
.RE

.sp
.ne 2
.na
\fB\fBdi\fR\fR
.ad
.RS 6n
\fB(str)\fR Disconnect message sent to the host when a disconnect is requested
by the user.
.RE

.sp
.ne 2
.na
\fB\fBdu\fR\fR
.ad
.RS 6n
\fB(bool)\fR This host is on a dial-up line.
.RE

.sp
.ne 2
.na
\fB\fBdv\fR\fR
.ad
.RS 6n
\fB(str)\fR Device(s) to open to establish a connection. If this file refers to
a terminal line, \fBtip\fR attempts to perform an exclusive open on the device
to insure only one user at a time has access to the port.
.RE

.sp
.ne 2
.na
\fB\fBec\fR\fR
.ad
.RS 6n
\fB(bool)\fR Initialize the \fBtip\fR variable \fBechocheck\fR to \fBon\fR, so
that \fBtip\fR will synchronize with the remote host during file transfer by
waiting for the echo of the last character transmitted.
.RE

.sp
.ne 2
.na
\fB\fBel\fR\fR
.ad
.RS 6n
\fB(str)\fR Characters marking an end-of-line.  The default is no characters.
\fBtip\fR only recognizes `\fB~\fR' escapes after one of the characters in
\fBel\fR, or after a \fBRETURN.\fR
.RE

.sp
.ne 2
.na
\fB\fBes\fR\fR
.ad
.RS 6n
\fB(str)\fR The command prefix (escape) character for \fBtip\fR.
.RE

.sp
.ne 2
.na
\fB\fBet\fR\fR
.ad
.RS 6n
\fB(num)\fR Number of seconds to wait for an echo response when echo-check mode
is on.  This is a decimal number.  The default value is  \fB10\fR seconds.
.RE

.sp
.ne 2
.na
\fB\fBex\fR\fR
.ad
.RS 6n
\fB(str)\fR Set of non-printable characters not to be discarded when scripting
with beautification turned on.  The default value is "\fB\et\en\eb\ef\fR".
.RE

.sp
.ne 2
.na
\fB\fBfo\fR\fR
.ad
.RS 6n
\fB(str)\fR Character used to force literal data transmission.  The default
value is  `\fB\e377\fR\&'.
.RE

.sp
.ne 2
.na
\fB\fBfs\fR\fR
.ad
.RS 6n
\fB(num)\fR Frame size for transfers. The default frame size is equal to
\fB1024\fR.
.RE

.sp
.ne 2
.na
\fB\fBhd\fR\fR
.ad
.RS 6n
\fB(bool)\fR Initialize the \fBtip\fR variable \fBhalfduplex\fR to \fBon\fR, so
local echo should be performed.
.RE

.sp
.ne 2
.na
\fB\fBhf\fR\fR
.ad
.RS 6n
\fB(bool)\fR Initialize the \fBtip\fR variable \fBhardwareflow\fR to \fBon\fR,
so hardware flow control is used.
.RE

.sp
.ne 2
.na
\fB\fBie\fR\fR
.ad
.RS 6n
\fB(str)\fR Input end-of-file marks.  The default is a null string ("").
.RE

.sp
.ne 2
.na
\fB\fBnb\fR\fR
.ad
.RS 6n
\fB(bool)\fR Initialize the \fBtip\fR variable \fBbeautify\fR to \fIoff\fR, so
that unprintable characters will not be discarded when scripting.
.RE

.sp
.ne 2
.na
\fB\fBnt\fR\fR
.ad
.RS 6n
\fB(bool)\fR Initialize the \fBtip\fR variable \fBtandem\fR to \fIoff\fR, so
that  \fBXON/XOFF\fR flow control will not be used to throttle data from the
remote host.
.RE

.sp
.ne 2
.na
\fB\fBnv\fR\fR
.ad
.RS 6n
\fB(bool)\fR Initialize the \fBtip\fR variable \fBverbose\fR to \fIoff\fR, so
that verbose mode will be turned on.
.RE

.sp
.ne 2
.na
\fB\fBoe\fR\fR
.ad
.RS 6n
\fB(str)\fR Output end-of-file string.  The default is a null string ("").
When  \fBtip\fR is transferring a file, this string is sent at end-of-file.
.RE

.sp
.ne 2
.na
\fB\fBpa\fR\fR
.ad
.RS 6n
\fB(str)\fR The type of parity to use when sending data to the host.  This may
be one of \fBeven\fR, \fBodd\fR, \fBnone\fR, \fBzero\fR (always set bit
\fB8\fR to \fB0\fR), \fBone\fR (always set bit  \fB8\fR to \fB1\fR).  The
default is \fBnone\fR.
.RE

.sp
.ne 2
.na
\fB\fBpn\fR\fR
.ad
.RS 6n
\fB(str)\fR Telephone number(s) for this host. If the telephone number field
contains an `\fB@\fR' sign, \fBtip\fR searches the \fB/etc/phones\fR file for a
list of telephone numbers \(em see \fBphones\fR(5). A `\fB%\fR' sign in the
telephone number indicates a 5-second delay for the Ventel Modem.
.sp
For Hayes-compatible modems, if the telephone number starts with an 'S', the
telephone number string will be sent to the modem without the "\fBDT\fR", which
allows reconfiguration of the modem's S-registers and other parameters; for
example, to disable auto-answer:  "\fBpn=S0=0DT5551234\fR";  or to also
restrict the modem to return only the basic result codes:
"\fBpn=S0=0X0DT5551234\fR".
.RE

.sp
.ne 2
.na
\fB\fBpr\fR\fR
.ad
.RS 6n
\fB(str)\fR Character that indicates end-of-line on the remote host.  The
default value is  \fB`\fR\en\fB\&'.\fR
.RE

.sp
.ne 2
.na
\fB\fBra\fR\fR
.ad
.RS 6n
\fB(bool)\fR Initialize the \fBtip\fR variable \fBraise\fR to \fBon\fR, so that
lower case letters are mapped to upper case before sending them to the remote
host.
.RE

.sp
.ne 2
.na
\fB\fBrc\fR\fR
.ad
.RS 6n
\fB(str)\fR Character that toggles case-mapping mode.  The default value is
`\fB\e377\fR\&'.
.RE

.sp
.ne 2
.na
\fB\fBre\fR\fR
.ad
.RS 6n
\fB(str)\fR The file in which to record session scripts.  The default value is
\fBtip.record\fR.
.RE

.sp
.ne 2
.na
\fB\fBrw\fR\fR
.ad
.RS 6n
\fB(bool)\fR Initialize the \fBtip\fR variable \fBrawftp\fR to \fBon\fR, so
that all characters will be sent as is during file transfers.
.RE

.sp
.ne 2
.na
\fB\fBsc\fR\fR
.ad
.RS 6n
\fB(bool)\fR Initialize the \fBtip\fR variable \fBscript\fR to \fBon\fR, so
that everything transmitted by the remote host will be recorded.
.RE

.sp
.ne 2
.na
\fB\fBtb\fR\fR
.ad
.RS 6n
\fB(bool)\fR Initialize the \fBtip\fR variable \fBtabexpand\fR to \fBon\fR, so
that tabs will be expanded to spaces during file transfers.
.RE

.sp
.ne 2
.na
\fB\fBtc\fR\fR
.ad
.RS 6n
\fB(str)\fR Indicates that the list of capabilities is continued in the named
description.  This is used primarily to share common capability information.
.RE

.SH EXAMPLES
.LP
\fBExample 1 \fRUsing the Capability Continuation Feature
.sp
.LP
Here is a short example showing the use of the capability continuation feature:

.sp
.in +2
.nf
UNIX-1200:\e
	:dv=/dev/cua0:el=^D^U^C^S^Q^O@:du:at=ventel:ie=#$%:oe=^D
:br#1200:arpavax|ax:\e
	:pn=7654321%:tc=UNIX-1200
.fi
.in -2
.sp

.SH FILES
.sp
.ne 2
.na
\fB\fB/etc/remote\fR\fR
.ad
.RS 15n
remote host description file.
.RE

.sp
.ne 2
.na
\fB\fB/etc/phones\fR\fR
.ad
.RS 15n
remote host phone number database.
.RE

.SH SEE ALSO
.sp
.LP
.BR tip (1),
.BR phones (5)
.sp
.LP
\fISystem Administration Guide: IP Services\fR