make it look like kernel driver
[unix-history] / usr / src / old / gettable / gettable.8
index 07931bd..b6a3ca1 100644 (file)
@@ -2,15 +2,19 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)gettable.8  5.1 (Berkeley) %G%
+.\"    @(#)gettable.8  6.2 (Berkeley) %G%
 .\"
 .\"
-.TH GETTABLE 8C "4 March 1983"
+.TH GETTABLE 8C ""
 .UC 5
 .SH NAME
 gettable \- get NIC format host tables from a host 
 .SH SYNOPSIS
 .B /etc/gettable
 .UC 5
 .SH NAME
 gettable \- get NIC format host tables from a host 
 .SH SYNOPSIS
 .B /etc/gettable
+[
+.B \-v
+]
 .I host
 .I host
+[ outfile ]
 .SH DESCRIPTION
 .I Gettable
 is a simple program used to obtain the NIC standard
 .SH DESCRIPTION
 .I Gettable
 is a simple program used to obtain the NIC standard
@@ -18,8 +22,18 @@ host tables from a ``nicname'' server.  The indicated
 .I host
 is queried for the tables.  The tables, if retrieved,
 are placed in the file
 .I host
 is queried for the tables.  The tables, if retrieved,
 are placed in the file
+.I outfile
+or by default,
 .IR hosts.txt .
 .PP
 .IR hosts.txt .
 .PP
+The
+.B \-v
+option will get just the version number instead of the complete host table
+and put the output in the file
+.I outfile
+or by default,
+.IR hosts.ver .
+.PP
 .I Gettable
 operates by opening a TCP connection to the port indicated
 in the service specification for ``nicname''.  A request
 .I Gettable
 operates by opening a TCP connection to the port indicated
 in the service specification for ``nicname''.  A request
@@ -33,6 +47,10 @@ program which converts the NIC standard file format to
 that used by the network library lookup routines.
 .SH "SEE ALSO"
 intro(3N),
 that used by the network library lookup routines.
 .SH "SEE ALSO"
 intro(3N),
-htable(8)
+htable(8),
+named(8)
 .SH BUGS
 .SH BUGS
-Should allow requests for only part of the database.
+If the name-domain system provided network name mapping well as host
+name mapping,
+.I gettable
+would no longer be needed.