X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/0f4556f12c8f75078501c9d1338ae7648a97f975..95f51977ddc18faa2e212f30c00a39540b39f325:/usr/man/man8/htable.8 diff --git a/usr/man/man8/htable.8 b/usr/man/man8/htable.8 index eb7cdd232e..4021d02316 100644 --- a/usr/man/man8/htable.8 +++ b/usr/man/man8/htable.8 @@ -1,5 +1,11 @@ -.TH HTABLE 8 "4 March 1983" -.UC 4 +.\" Copyright (c) 1983 Regents of the University of California. +.\" All rights reserved. The Berkeley software License Agreement +.\" specifies the terms and conditions for redistribution. +.\" +.\" @(#)htable.8 6.3 (Berkeley) 5/22/86 +.\" +.TH HTABLE 8 "May 22, 1986" +.UC 5 .SH NAME htable \- convert NIC standard format host tables .SH SYNOPSIS @@ -25,9 +31,12 @@ and .IR gateways . The .I hosts -file is used by the -.IR gethostent (3N) -routines in mapping host names to addresses. +file may be used by the +.IR gethostbyname (3N) +routines in mapping host names to addresses +if the nameserver, +.IR named (8), +is not used. The .I networks file is used by the @@ -35,7 +44,7 @@ file is used by the routines in mapping network names to numbers. The .I gateways -file is used by the routing daemon +file may be used by the routing daemon in identifying ``passive'' Internet gateways; see .IR routed (8C) @@ -57,11 +66,13 @@ Only one gateway to each network will be placed in the gateways file; a gateway listed in the localgateways file will override any in the input file. .PP -A list of networks to which the host is directly connected is specified with the +If the gateways file is to be used, +a list of networks to which the host is directly connected +is specified with the .B \-c flag. The networks, separated by commas, -may be given by name or in internet-standard dot notation, +may be given by name or in Internet-standard dot notation, e.g. .B \-c arpanet,128.32,local-ether-net. @@ -87,4 +98,10 @@ is best used in conjunction with the program which retrieves the NIC database from a host. .SH "SEE ALSO" intro(3N), -gettable(8C) +gettable(8C), +named(8) +.SH BUGS +If the name-domain system provided network name mapping well as host +name mapping, +.I htable +would no longer be needed.