xref: /netbsd-src/share/man/man5/phones.5 (revision faebd471be779fd9c8d4c08a82774e90f32bc004)
1.\"	$NetBSD: phones.5,v 1.8 2011/01/06 16:37:35 njoly Exp $
2.\"
3.\" Copyright (c) 1983, 1991, 1993
4.\"	The Regents of the University of California.  All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. Neither the name of the University nor the names of its contributors
15.\"    may be used to endorse or promote products derived from this software
16.\"    without specific prior written permission.
17.\"
18.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28.\" SUCH DAMAGE.
29.\"
30.\"     @(#)phones.5	8.1 (Berkeley) 6/5/93
31.\"
32.Dd January 3, 2001
33.Dt PHONES 5
34.Os
35.Sh NAME
36.Nm phones
37.Nd remote host phone number data base
38.Sh DESCRIPTION
39The file
40.Pa /etc/phones
41contains the system-wide
42private phone numbers for the
43.Xr tip 1
44program.  This file is normally unreadable, and so may contain
45privileged information.
46.Pp
47The format of the file is a series of lines containing whitespace
48separate fields, of the form:
49.Dl system-name phone-number
50.Pp
51The
52.Em system-name
53is one of those defined in the
54.Xr remote 5
55file.
56.Pp
57The
58.Em phone-number
59is constructed from any sequence of characters terminated only by a comma
60.Pq Dq \&,
61or the end of the line.
62The equals
63.Pq Dq \&=
64and asterisk
65.Pq Dq \&*
66characters are
67indicators to the auto call units to pause and wait for a second dial
68tone (when going through an exchange).  The
69.Dq \&=
70is required by the
71.Tn DF02-AC
72and the
73.Dq \&*
74is required by the
75.Tn BIZCOMP
761030.
77.Pp
78Only one phone number per line is permitted.  However, if more than
79one line in the file contains the same system name
80.Xr tip 1
81will attempt to dial each one in turn, until it establishes a connection.
82.Sh FILES
83.Bl -tag -width /etc/phones -compact
84.It Pa /etc/phones
85.El
86.Sh SEE ALSO
87.Xr tip 1 ,
88.Xr remote 5
89.Sh HISTORY
90The
91.Nm
92file appeared in
93.Bx 4.2 .
94