minor cleanups for cray
[unix-history] / usr / src / old / gettable / gettable.8
... / ...
CommitLineData
1.\" Copyright (c) 1983 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms are permitted
5.\" provided that the above copyright notice and this paragraph are
6.\" duplicated in all such forms and that any documentation,
7.\" advertising materials, and other materials related to such
8.\" distribution and use acknowledge that the software was developed
9.\" by the University of California, Berkeley. The name of the
10.\" University may not be used to endorse or promote products derived
11.\" from this software without specific prior written permission.
12.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
13.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
15.\"
16.\" @(#)gettable.8 6.3 (Berkeley) %G%
17.\"
18.TH GETTABLE 8 ""
19.UC 5
20.SH NAME
21gettable \- get NIC format host tables from a host
22.SH SYNOPSIS
23.B /etc/gettable
24[
25.B \-v
26]
27.I host
28[ outfile ]
29.SH DESCRIPTION
30.I Gettable
31is a simple program used to obtain the NIC standard
32host tables from a ``nicname'' server. The indicated
33.I host
34is queried for the tables. The tables, if retrieved,
35are placed in the file
36.I outfile
37or by default,
38.IR hosts.txt .
39.PP
40The
41.B \-v
42option will get just the version number instead of the complete host table
43and put the output in the file
44.I outfile
45or by default,
46.IR hosts.ver .
47.PP
48.I Gettable
49operates by opening a TCP connection to the port indicated
50in the service specification for ``nicname''. A request
51is then made for ``ALL'' names and the resultant information
52is placed in the output file.
53.PP
54.I Gettable
55is best used in conjunction with the
56.IR htable (8)
57program which converts the NIC standard file format to
58that used by the network library lookup routines.
59.SH "SEE ALSO"
60intro(3), htable(8), named(8)
61.SH BUGS
62If the name-domain system provided network name mapping well as host
63name mapping,
64.I gettable
65would no longer be needed.