REMOTE(5) — NEWS-OS Programmer’s Manual
NAME
remote − remote host description file
DESCRIPTION
The systems known by tip(1C) and their attributes are stored in an ASCII file which is structured somewhat like the termcap(5) file. Each line in the file provides a description for a single system. Fields are separated by a colon (:). Lines ending in a \ character with an immediately following newline are continued on the next line.
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 = sign indicates a string value follows. A field name followed by a # sign indicates a following numeric value.
Entries named tip∗ and cu∗ are used as default entries by tip, and the cu interface to tip, as follows. When tip is invoked with only a phone number, it looks for an entry of the form tip300, where 300 is the baud rate with which the connection is to be made. When the cu interface is used, entries of the form cu300 are used.
CAPABILITIES
Capabilities are either strings (str), numbers (num), or boolean flags (bool). A string capability is specified by capability=value; e.g. dv=/dev/harris. A numeric capability is specified by capability#value; e.g. xa#99. A boolean capability is specified by simply listing the capability.
at (str) Auto call unit type. Modem sets command echo effective, and returns the resulting codes. The following units are supported:
nwb238tone
NWB-238 tone dialling. Resulting codes should be in long format.
nwb238pulse
NWB-238 pulse dialling. Resulting codes should be in long format.
hayes Hayes compatible modem.
br (num) The baud rate used in establishing a connection to the remote host. This is a decimal number. The default baud rate is 1200 baud.
cm (str) An initial connection message to be sent to the remote host. For example, if a host is reached through port selector, this might be set to the appropriate sequence required to switch to the host.
cu (str) Call unit if making a phone call. Default is the same as the ‘dv’ field.
di (str) Disconnect message sent to the host when a disconnect is requested by the user.
du (bool) This host is on a dial-up line.
dv (str) NEWS device(s) to open to establish a connection. If this file refers to a terminal line, tip(1C) attempts to perform an exclusive open on the device to insure only one user at a time has access to the port.
ec (bool) Turn on the echocheck variable of tip.
el (str) Characters marking an end-of-line. The default is NULL. ~ escapes are only recognized by tip after one of the characters in el, or after a carriage-return.
es (str) Escape character. The default is ~.
et (num) Response time of echo in second when echocheck is on. The default is 10 seconds.
fo (str) Character that forces literal deta transfer. The default is ^P.
fs (num) Frame size for transfers. The default frame size is equal to BUFSIZ.
hd (bool) The host uses half-duplex communication, local echo should be performed.
ie (str) Input end-of-file marks. The default is NULL.
nb (bool) Turn off the beautify variable of tip.
nt (bool) Turn off the tandem variable of tip.
nv (bool) Turn off the verbose variable of tip.
oe (str) Output end-of-file string. The default is NULL. When tip is transferring a file, this string is sent at end-of-file.
pa (str) The type of parity to use when sending data to the host. This may be one of even, odd, none (8 bit data), zero (always set bit 8 of 7 bit data to zero, actually equivalent to none), one (always set bit 8 to 1). The default is even parity.
pn (str) Telephone number(s) for this host. If the telephone number field contains an @ sign, tip searches the file /etc/phones file for a list of telephone numbers; c.f. phones(5).
pr (str) Line terminator of remote host. The default is ’\n’.
ra (bool) Turn on the raise variable of tip.
rc (str) Character for changing case mapping mode. The default is ^A.
rw (bool) Turn on the rawftp variable of tip.
sc (bool) Turn on the script variable of tip.
tb (bool) Turn on the tabexpand variable of tip.
tc (str) Indicates that the list of capabilities is continued in the named description. This is used primarily to share common capability information.
Here is a short example showing the use of the capability continuation feature:
NEWS-1200:\
:dv=/dev/tty00:el=^D^U^C^S^Q^O@:du:at=nwb238tone:\
:ie=#$%:oe=^D:br#2400:
arpavax|ax:\
:pn=7654321%:tc=NEWS-1200
FILES
/etc/remote
SEE ALSO
NEWS-OSRelease 4.2.1R