more fixes
[unix-history] / usr / src / share / man / man5 / remote.5
CommitLineData
3acf4594
KM
1.\" Copyright (c) 1983 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
f661e5fb 5.\" @(#)remote.5 6.1 (Berkeley) %G%
3acf4594 6.\"
f661e5fb 7.TH REMOTE 5 ""
3acf4594
KM
8.UC 5
9.SH NAME
10remote \- remote host description file
11.SH DESCRIPTION
12The systems known by
13.IR tip (1C)
14and their attributes are stored in an ASCII file which
15is structured somewhat like the
16.IR termcap (5)
17file. Each line in the file provides a description for a single
18.IR system .
19Fields are separated by a colon (``:'').
20Lines ending in a \e character with an immediately following newline are
21continued on the next line.
22.PP
23The first entry is the name(s) of the host system. If there is more
24than one name for a system, the names are separated by vertical bars.
25After the name of the system comes the fields of the description. A
26field name followed by an `=' sign indicates a string value follows. A field
27name followed by a `#' sign indicates a following numeric value.
28.PP
29Entries named ``tip*'' and ``cu*''
30are used as default entries by
31.IR tip ,
32and the
33.I cu
34interface to
35.IR tip ,
36as follows. When
37.I tip
38is invoked with only a phone number, it looks for an entry
39of the form ``tip300'', where 300 is the baud rate with
40which the connection is to be made. When the
41.I cu
42interface is used, entries of the form ``cu300'' are used.
43.SH CAPABILITIES
44Capabilities are either strings (str), numbers (num), or boolean
45flags (bool). A string capability is specified by
46.IR capability = value ;
47e.g. ``dv=/dev/harris''. A numeric capability is specified by
48.IR capability # value ;
49e.g. ``xa#99''. A boolean capability is specified by simply listing
50the capability.
51.TP 0.5i
52.B at
53(str)
54Auto call unit type.
55.TP 0.5i
56.B br
57(num)
58The baud rate used in establishing
59a connection to the remote host.
60This is a decimal number.
61The default baud rate is 300 baud.
62.TP 0.5i
63.B cm
64(str)
65An initial connection message to be sent
66to the remote host. For example, if a
67host is reached through port selector, this
68might be set to the appropriate sequence
69required to switch to the host.
70.TP 0.5i
71.B cu
72(str)
73Call unit if making a phone call.
74Default is the same as the `dv' field.
75.TP 0.5i
76.B di
77(str)
78Disconnect message sent to the host when a
79disconnect is requested by the user.
80.TP 0.5i
81.B du
82(bool)
83This host is on a dial-up line.
84.TP 0.5i
85.B dv
86(str)
87UNIX device(s) to open to establish a connection.
88If this file refers to a terminal line,
89.IR tip (1C)
90attempts to perform an exclusive open on the device to insure only
91one user at a time has access to the port.
92.TP 0.5i
93.B el
94(str)
95Characters marking an end-of-line.
96The default is NULL. `~' escapes are only
97recognized by
98.I tip
99after one of the characters in `el',
100or after a carriage-return.
101.TP 0.5i
102.B fs
103(str)
104Frame size for transfers.
105The default frame size is equal to BUFSIZ.
106.TP 0.5i
107.B hd
108(bool)
109The host uses half-duplex communication, local
110echo should be performed.
111.TP 0.5i
112.B ie
113(str)
114Input end-of-file marks.
115The default is NULL.
116.TP 0.5i
117.B oe
118(str)
119Output end-of-file string.
120The default is NULL. When
121.I tip
122is transferring a file, this
123string is sent at end-of-file.
124.TP 0.5i
125.B pa
126(str)
127The type of parity to use when sending data
128to the host. This may be one of ``even'',
129``odd'', ``none'', ``zero'' (always set bit 8 to zero),
130``one'' (always set bit 8 to 1). The default
131is even parity.
132.TP 0.5i
133.B pn
134(str)
135Telephone number(s) for this host.
136If the telephone number field contains
137an @ sign,
138.I tip
139searches the file
140.I /etc/phones
141file for a list of telephone numbers;
142c.f.
143.IR phones (5).
144.TP 0.5i
145.B tc
146(str)
147Indicates that the list of capabilities is continued
148in the named description. This is used
149primarily to share common capability information.
150.PP
151Here is a short example showing the use of the capability continuation
152feature:
153.PP
154.nf
155.ta 0.5i
156UNIX-1200:\e
157 :dv=/dev/cau0:el=^D^U^C^S^Q^O@:du:at=ventel:ie=#$%:oe=^D:br#1200:
158arpavax|ax:\e
159 :pn=7654321%:tc=UNIX-1200
160.fi
161.SH FILES
162/etc/remote
163.SH "SEE ALSO"
164tip(1C),
165phones(5)