1 .\" $NetBSD: remote.5,v 1.10 2000/11/17 10:14:20 lukem Exp $
3 .\" Copyright (c) 1983, 1991, 1993
4 .\" The Regents of the University of California. All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. Neither the name of the University nor the names of its contributors
15 .\" may be used to endorse or promote products derived from this software
16 .\" without specific prior written permission.
18 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" @(#)remote.5 8.1 (Berkeley) 6/5/93
37 .Nd remote host description file
41 and their attributes are stored in an
44 is structured somewhat like the
47 Each line in the file provides a description for a single
49 Fields are separated by a colon
51 Lines ending in a \e character with an immediately following newline are
52 continued on the next line.
54 The first entry is the name(s) of the host system.
55 If there is more than one name for a system, the names are separated
57 After the name of the system comes the fields of the description.
58 A field name followed by an `=' sign indicates a string value follows.
59 A field name followed by a `#' sign indicates a following numeric value.
65 are used as default entries by
74 is invoked with only a phone number, it looks for an entry
77 where 300 is the baud rate with
78 which the connection is to be made.
81 interface is used, entries of the form
85 Capabilities are either strings (str), numbers (num), or boolean flags (bool).
86 A string capability is specified by
87 .Em "capability=value" ;
89 .Dq Li dv=/dev/harris .
90 A numeric capability is specified by
91 .Em "capability#value" ;
94 A boolean capability is specified by simply listing the capability.
95 .Bl -tag -width indent
101 The baud rate used in establishing
102 a connection to the remote host.
103 This is a decimal number.
104 The default baud rate is 300 baud.
107 An initial connection message to be sent to the remote host.
108 For example, if a host is reached through a port selector, this might
109 be set to the appropriate sequence required to switch to the host.
112 Call unit if making a phone call.
113 Default is the same as the `dv' field.
116 This host is directly connected, and tip should not expect carrier detect
117 to be high, nor should it exit if carrier detect drops.
120 Disconnect message sent to the host when a
121 disconnect is requested by the user.
124 This host is on a dial-up line.
128 device(s) to open to establish a connection.
129 If this file refers to a terminal line,
131 attempts to perform an exclusive open on the device to ensure only
132 one user at a time has access to the port.
135 Characters marking an end-of-line.
141 after one of the characters in `el',
142 or after a carriage-return.
145 Frame size for transfers.
146 The default frame size is equal to
150 The host uses half-duplex communication, local
151 echo should be performed.
154 Use hardware (RTS/CTS) flow control.
157 Input end-of-file marks.
162 Output end-of-file string.
167 is transferring a file, this
168 string is sent at end-of-file.
171 The type of parity to use when sending data
178 (always set bit 8 to zero),
180 (always set bit 8 to one).
181 The default is even parity.
184 Telephone number(s) for this host.
185 If the telephone number field contains an @ sign,
189 file for a list of telephone numbers;
194 Indicates that the list of capabilities is continued in the named
196 This is used primarily to share common capability information.
199 Here is a short example showing the use of the capability continuation
203 :dv=/dev/cau0:el=^D^U^C^S^Q^O@:du:at=ventel:ie=#$%:oe=^D:br#1200:
205 :pn=7654321%:tc=UNIX-1200
208 .Bl -tag -width /etc/remote -compact
212 host description file
222 file format appeared in