BSD 4_3_Tahoe development
[unix-history] / usr / man / cat5 / remote.0
CommitLineData
ff5df15a
C
1
2
3
4REMOTE(5) UNIX Programmer's Manual REMOTE(5)
5
6
7
8N\bNA\bAM\bME\bE
9 remote - remote host description file
10
11D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
12 The systems known by _\bt_\bi_\bp(1C) and their attributes are stored
13 in an ASCII file which is structured somewhat like the
14 _\bt_\be_\br_\bm_\bc_\ba_\bp(5) file. Each line in the file provides a descrip-
15 tion for a single _\bs_\by_\bs_\bt_\be_\bm. Fields are separated by a colon
16 (``:''). Lines ending in a \ character with an immediately
17 following newline are continued on the next line.
18
19 The first entry is the name(s) of the host system. If there
20 is more than one name for a system, the names are separated
21 by vertical bars. After the name of the system comes the
22 fields of the description. A field name followed by an `='
23 sign indicates a string value follows. A field name fol-
24 lowed by a `#' sign indicates a following numeric value.
25
26 Entries named ``tip*'' and ``cu*'' are used as default
27 entries by _\bt_\bi_\bp, and the _\bc_\bu interface to _\bt_\bi_\bp, as follows.
28 When _\bt_\bi_\bp is invoked with only a phone number, it looks for
29 an entry of the form ``tip300'', where 300 is the baud rate
30 with which the connection is to be made. When the _\bc_\bu inter-
31 face is used, entries of the form ``cu300'' are used.
32
33C\bCA\bAP\bPA\bAB\bBI\bIL\bLI\bIT\bTI\bIE\bES\bS
34 Capabilities are either strings (str), numbers (num), or
35 boolean flags (bool). A string capability is specified by
36 _\bc_\ba_\bp_\ba_\bb_\bi_\bl_\bi_\bt_\by=_\bv_\ba_\bl_\bu_\be; e.g. ``dv=/dev/harris''. A numeric capa-
37 bility is specified by _\bc_\ba_\bp_\ba_\bb_\bi_\bl_\bi_\bt_\by#_\bv_\ba_\bl_\bu_\be; e.g. ``xa#99''. A
38 boolean capability is specified by simply listing the capa-
39 bility.
40
41 a\bat\bt (str) Auto call unit type.
42
43 b\bbr\br (num) The baud rate used in establishing a connection
44 to the remote host. This is a decimal number. The
45 default baud rate is 300 baud.
46
47 c\bcm\bm (str) An initial connection message to be sent to the
48 remote host. For example, if a host is reached through
49 port selector, this might be set to the appropriate
50 sequence required to switch to the host.
51
52 c\bcu\bu (str) Call unit if making a phone call. Default is the
53 same as the `dv' field.
54
55 d\bdi\bi (str) Disconnect message sent to the host when a
56 disconnect is requested by the user.
57
58 d\bdu\bu (bool) This host is on a dial-up line.
59
60
61
62
63Printed 7/9/88 May 15, 1985 1
64
65
66
67
68
69
70REMOTE(5) UNIX Programmer's Manual REMOTE(5)
71
72
73
74 d\bdv\bv (str) UNIX device(s) to open to establish a connection.
75 If this file refers to a terminal line, _\bt_\bi_\bp(1C)
76 attempts to perform an exclusive open on the device to
77 insure only one user at a time has access to the port.
78
79 e\bel\bl (str) Characters marking an end-of-line. The default is
80 NULL. `~' escapes are only recognized by _\bt_\bi_\bp after one
81 of the characters in `el', or after a carriage-return.
82
83 f\bfs\bs (str) Frame size for transfers. The default frame size
84 is equal to BUFSIZ.
85
86 h\bhd\bd (bool) The host uses half-duplex communication, local
87 echo should be performed.
88
89 i\bie\be (str) Input end-of-file marks. The default is NULL.
90
91 o\boe\be (str) Output end-of-file string. The default is NULL.
92 When _\bt_\bi_\bp is transferring a file, this string is sent at
93 end-of-file.
94
95 p\bpa\ba (str) The type of parity to use when sending data to
96 the host. This may be one of ``even'', ``odd'',
97 ``none'', ``zero'' (always set bit 8 to zero), ``one''
98 (always set bit 8 to 1). The default is even parity.
99
100 p\bpn\bn (str) Telephone number(s) for this host. If the tele-
101 phone number field contains an @ sign, _\bt_\bi_\bp searches the
102 file /_\be_\bt_\bc/_\bp_\bh_\bo_\bn_\be_\bs file for a list of telephone numbers;
103 c.f. _\bp_\bh_\bo_\bn_\be_\bs(5).
104
105 t\btc\bc (str) Indicates that the list of capabilities is con-
106 tinued in the named description. This is used pri-
107 marily to share common capability information.
108
109 Here is a short example showing the use of the capability
110 continuation feature:
111
112 UNIX-1200:\
113 :dv=/dev/cau0:el=^D^U^C^S^Q^O@:du:at=ventel:ie=#$%:oe=^D:br#1200:
114 arpavax|ax:\
115 :pn=7654321%:tc=UNIX-1200
116
117F\bFI\bIL\bLE\bES\bS
118 /etc/remote
119
120S\bSE\bEE\bE A\bAL\bLS\bSO\bO
121 tip(1C), phones(5)
122
123
124
125
126
127
128
129Printed 7/9/88 May 15, 1985 2
130
131
132