BSD 4_2 development
[unix-history] / usr / man / man8 / gettable.8c
CommitLineData
47e1b422
C
1.TH GETTABLE 8C "4 March 1983"
2.UC 4
3.SH NAME
4gettable \- get NIC format host tables from a host
5.SH SYNOPSIS
6.B /etc/gettable
7.I host
8.SH DESCRIPTION
9.I Gettable
10is a simple program used to obtain the NIC standard
11host tables from a ``nicname'' server. The indicated
12.I host
13is queried for the tables. The tables, if retrieved,
14are placed in the file
15.IR hosts.txt .
16.PP
17.I Gettable
18operates by opening a TCP connection to the port indicated
19in the service specification for ``nicname''. A request
20is then made for ``ALL'' names and the resultant information
21is placed in the output file.
22.PP
23.I Gettable
24is best used in conjunction with the
25.IR htable (8)
26program which converts the NIC standard file format to
27that used by the network library lookup routines.
28.SH "SEE ALSO"
29intro(3N),
30htable(8)
31.SH BUGS
32Should allow requests for only part of the database.