summaryrefslogtreecommitdiff
path: root/sys/man/1/tel
blob: 69bc37331bf19fd4e5a9dce6a016a180ed43c83a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.TH TEL 1
.SH NAME
tel, iwhois \- look in phone book
.SH SYNOPSIS
.B tel
.I key ...
.PP
.B iwhois
.IR name [ \fL@\f2domain ]
.SH DESCRIPTION
.I Tel
looks up
.I key
in a private telephone book,
.BR $home/lib/tel ,
and in the public telephone book,
.BR /lib/tel .
It uses
.IR grep
(with the
.B -i
option to ignore case differences), so the key may be any part of a
name or number.  Customarily, the telephone book contains names,
userids, home numbers, and office numbers of users.  It also contains
a directory of area codes and miscellaneous people of general
interest.
.PP
.I Iwhois
looks up names in the Internet NIC's personnel database.
.I Name
should be a surname optionally followed by a comma and given name.
A different server can be chosen by appending to the name an
.B @
followed by the server's domain name.
.SH FILES
.TF /lib/areacodes
.TP
.B /lib/areacodes
Telephone area codes database.
.TP
.B /lib/tel
Public telephone number database.
.TP
.B $home/lib/tel
Personal telephone number database.
.SH SOURCE
.B /rc/bin/tel
.br
.B /rc/bin/iwhois