PHONES(5) BSD Reference Manual PHONES(5)
phones - remote host phone number file
phones files are used by tip(1) to find phone numbers not included in the
remote(5) database(s) being used.
The default file is /etc/phones, which is used unless the PHONES environ-
ment variable has been set. /etc/phones is world readable by default, and
should not contain privileged information.
The format of the file is a series of lines of the form:
<system name>[ \t]*<phone number>
The system name must start at the first character on the line. The phone
number is any sequence of characters terminated by a ',' or the end of
the line. Thus the phone number field can contain arbitrary dialing
strings, not just phone numbers.
Certain auto-call units or modems can use ',' in their dialing strings.
For these units (currently Hayes, Courier and Telebit) tip(1) will
translate a '=' in the phone number to a ',' when actually dialing the
number.
If the auto-call unit is a Racal-Vadic 831, tip(1) will translate a '_'
in the phone number to a '='.
tip(1) ignores all lines with a system name other than the one being
looked up. Comments can be inserted into the file by making the first
character on a line something not used to start any system name in the
remote(5) database(s) being used, such as '#'.
Only one phone number per line is permitted. To associate more than one
phone number with a system name you must create multiple lines that have
the same system name. tip(1) will try each number in sequence until it
makes a connection or reaches the end of the file.
/etc/phones The default phones file for tip(1).
tip(1), remote(5)
The phones file appeared in 4.2BSD.
MirOS BSD #10-current June 5, 1993 1
Generated on 2013-04-27 00:20:00 by $MirOS: src/scripts/roff2htm,v 1.77 2013/01/01 20:49:09 tg Exp $
These manual pages and other documentation are copyrighted by their respective writers;
their source is available at our CVSweb,
AnonCVS, and other mirrors. The rest is Copyright © 2002‒2013 The MirOS Project, Germany.
This product includes material
provided by Thorsten Glaser.
This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.