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