BSD 4_1c_2 development
[unix-history] / usr / man / man8 / htable.8
CommitLineData
d5a86688
C
1.TH HTABLE 8 "4 March 1983"
2.UC 4
3.SH NAME
4htable \- convert NIC standard format host tables
5.SH SYNOPSIS
6.B /etc/htable
7.I file
8.SH DESCRIPTION
9.I Htable
10is used to convert host files in the format specified
11in Internet RFC 810 to the format used by the network
12library routines. Three files are created as a result
13of running
14.IR htable :
15.IR hosts ,
16.IR networks ,
17and
18.IR gateways .
19The
20.I hosts
21file is used by the
22.IR gethostent (3N)
23routines in mapping host names to addresses.
24The
25.I networks
26file is used by the
27.IR getnetent (3N)
28routines in mapping network names to numbers.
29The
30.I gateways
31file is used by the routing daemon
32in identifying ``passive'' Internet gateways;
33see
34.IR routed (8C)
35for an explanation.
36.PP
37If any of the files
38.IR localhosts ,
39.IR localnetworks ,
40or
41.I localgateways
42are present in the current directory,
43the file's contents is prepended to the
44output file without interpretation. This
45allows sites to maintain local aliases and
46entries which are not normally present in the
47master database.
48.PP
49.I Htable
50is best used in conjunction with the
51.IR gettable (8C)
52program which retrieves the NIC database from a host.
53.SH "SEE ALSO"
54intro(3N),
55gettable(8C)
56.SH BUGS
57Does not properly calculate the
58.I gateways
59file.