xref: /titanic_44/usr/src/man/man4/remote.4 (revision 33f5ff17089e3a43e6e730bf80384c233123dbd9)
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]
REMOTE 4 "Jun 13, 2002"
NAME
remote - remote host description file
SYNOPSIS

/etc/remote
DESCRIPTION

The systems known by tip(1) and their attributes are stored in an ASCII file which is structured somewhat like the termcap file. Each line in the file provides a description for a single system. Fields are separated by a colon `:'. Lines ending in a `\e' 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 tipbaudrate are used as default entries by tip, as follows. When tip is invoked with only a phone number, it looks for an entry of the form tipbaudrate, where baudrate is the baud rate with which the connection is to be made. For example, if the connection is to be made at 300 baud, tip looks for an entry of the form tip300.

CAPABILITIES

Capabilities are either strings (str), numbers (num), or boolean flags (bool). A string capability is specified by capability=value; for example, `dv=/dev/harris'. A numeric capability is specified by capability#value; for example, `xa#99'. A boolean capability is specified by simply listing the capability. at

(str) Auto call unit type. The following lists valid 'at' types and their corresponding hardware: biz31f

Bizcomp 1031, tone dialing

biz31w

Bizcomp 1031, pulse dialing

biz22f

Bizcomp 1022, tone dialing

biz22w

Bizcomp 1022, pulse dialing

df02

DEC DF02

df03

DEC DF03

ventel

Ventel 212+

v3451

Vadic 3451 Modem

v831

Vadic 831

hayes

Any Hayes-compatible modem

at

Any 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 300 baud.

cm

(str) 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.

cu

(str) Call unit if making a phone call. Default is the same as the dv field.

db

(bool) Cause tip(1) to ignore the first hangup it sees. db (dialback) allows the user to remain in tip while the remote machine disconnects and places a call back to the local machine. For more information about dialback configuration, see System Administration Guide: IP Services.

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) Device(s) to open to establish a connection. If this file refers to a terminal line, tip attempts to perform an exclusive open on the device to insure only one user at a time has access to the port.

ec

(bool) Initialize the tip variable echocheck to on, so that tip will synchronize with the remote host during file transfer by waiting for the echo of the last character transmitted.

el

(str) Characters marking an end-of-line. The default is no characters. tip only recognizes `~' escapes after one of the characters in el, or after a RETURN.

es

(str) The command prefix (escape) character for tip.

et

(num) Number of seconds to wait for an echo response when echo-check mode is on. This is a decimal number. The default value is 10 seconds.

ex

(str) Set of non-printable characters not to be discarded when scripting with beautification turned on. The default value is "\et\en\eb\ef".

fo

(str) Character used to force literal data transmission. The default value is `\e377'.

fs

(num) Frame size for transfers. The default frame size is equal to 1024.

hd

(bool) Initialize the tip variable halfduplex to on, so local echo should be performed.

hf

(bool) Initialize the tip variable hardwareflow to on, so hardware flow control is used.

ie

(str) Input end-of-file marks. The default is a null string ("").

nb

(bool) Initialize the tip variable beautify to off, so that unprintable characters will not be discarded when scripting.

nt

(bool) Initialize the tip variable tandem to off, so that XON/XOFF flow control will not be used to throttle data from the remote host.

nv

(bool) Initialize the tip variable verbose to off, so that verbose mode will be turned on.

oe

(str) Output end-of-file string. The default is a null string (""). 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, zero (always set bit 8 to 0), one (always set bit 8 to 1). The default is none.

pn

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

pr

(str) Character that indicates end-of-line on the remote host. The default value is `\en'.

ra

(bool) Initialize the tip variable raise to on, so that lower case letters are mapped to upper case before sending them to the remote host.

rc

(str) Character that toggles case-mapping mode. The default value is `\e377'.

re

(str) The file in which to record session scripts. The default value is tip.record.

rw

(bool) Initialize the tip variable rawftp to on, so that all characters will be sent as is during file transfers.

sc

(bool) Initialize the tip variable script to on, so that everything transmitted by the remote host will be recorded.

tb

(bool) Initialize the tip variable tabexpand to on, so that tabs will be expanded to spaces during file transfers.

tc

(str) Indicates that the list of capabilities is continued in the named description. This is used primarily to share common capability information.

EXAMPLES

Example 1 Using the Capability Continuation Feature

Here is a short example showing the use of the capability continuation feature:

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
FILES
/etc/remote

remote host description file.

/etc/phones

remote host phone number database.

SEE ALSO

tip(1), phones(4)

System Administration Guide: IP Services