REMOTE(5)
πΈ REMOTE(5) β the remote host description file, bestie edition πΈ
okay so this is a File Formats Manual page, section 5, and it's literally the whole guide to the remote file. it's giving "config file but make it vintage" and honestly? iconic. π
β¨ NAME β¨
remote β the remote host description file. that's it, that's the vibe. π
π DESCRIPTION π
so the systems that tip(1) knows about β plus all their little attributes β live in an ASCII file that's structured somewhat like the termcap(5) file. like, cousin energy. each line in the file describes one single system. fields are separated by a colon (:). and if a line ends in a \ character with a newline immediately after it, the line keeps going on the next line. continuation slay. β¨
the first entry is the name(s) of the host system. if a system has more than one name, 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 means it's a string value. a field name followed by a # sign means it's a numeric value. iykyk. π₯
entries named tip* and cu* are used as default entries by tip(1), and by the cu(1) interface to tip, like this:
- when
tipis invoked with only a phone number, it looks for an entry of the formtip300, where300is the data rate with which the connection is to be made. - when the
cuinterface is used, entries of the formcu300are used.
no cap, that's the whole lookup system. π«Ά
π CAPABILITIES π
capabilities come in three flavors, and yes we stan all of them:
- strings (
str) - numbers (
num) - 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. that's it. just vibes. π
at(str) β auto call unit type.br(num) β the data rate (bits per second) used for communications on the serial port. when a modem is used, the data rate used to communicate with the remote modem may be different than this rate. this is a decimal number. the default rate is115200bits per second. β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. like a little "hey bestie let me in" text. π¦cu(str) β call unit if making a phone call. default is the same as thedvfield.di(str) β disconnect message sent to the host when a disconnect is requested by the user. bye bitch energy. πdu(bool) β this host is on a dial-up line.dv(str) β Unix device(s) to open to establish a connection. if this file refers to a terminal line,tip(1)attempts to perform an exclusive open on the device to ensure only one user at a time has access to the port. no sharing, we gatekeep. πel(str) β characters marking an end-of-line. the default isNULL.~escapes are only recognized bytipafter one of the characters inel, or after a carriage-return. important detail, don't forget it.fs(str) β frame size for transfers. the default frame size is equal toBUFSIZ.hd(bool) β the host uses half-duplex communication, so local echo should be performed.ie(str) β input end-of-file marks. the default isNULL.oe(str) β output end-of-file string. the default isNULL. whentipis 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:evenoddnonezero(always set bit 8 to zero)one(always set bit 8 to one)
the default is even parity. πΈ
pn(str) β telephone number(s) for this host. if the telephone number field contains an@sign,tipsearches the file/etc/phonesfor a list of telephone numbers (seephones(5)).tc(str) β indicates that the list of capabilities is continued in the named description. this is used primarily to share common capability information. literally inheritance before inheritance was cool. π
π FILES π
/etc/remoteβ the remote host description file resides in/etc.
π¦ EXAMPLES π¦
here's a short example showing off the capability continuation feature, because honestly that's the main character of this page. it defines a 56k modem connection on the first serial port at 115200 bits per second, no parity, using the Hayes command set with standard line editing and end of file characters. the arpavax entry includes everything in the UNIX-57600 entry plus the phone number for arpavax β in this case an @ character so that it is retrieved from the environment. sneaky but valid. π
UNIX-57600:\
:dv=/dev/cuau0:el=^D^U^C^S^Q^O@:oe=^D:du:at=hayes:br#115200:pa=none:
arpavax|ax:\
:pn=\@:tc=UNIX-57600
π SEE ALSO π
β HISTORY β
the remote file format appeared in 4.2BSD. vintage. retro. a true elder. π«Ά
π BUGS π
tip(1) uses its own notion of the serial ports data rate rather than the system default for a serial port. so yeah, it does what it wants. not me being surprised. π
and that's the whole page bestie!! this edition came from Debian, dated October 20, 2003 β an absolute time capsule, we love her for it. mwah πβ¨π
π¦ where this page comes from
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 1983, 1991, 1993 The Regents of the University of California. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms