MirBSD manpage: phones(5)

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

     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.

MirBSD #10-current               June 5, 1993                                1

Generated on 2022-12-24 01:00:14 by $MirOS: src/scripts/roff2htm,v 1.113 2022/12/21 23:14:31 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2022 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.

Kontakt / Impressum & Datenschutzerklärung