Markup and punctuation nits.
This commit is contained in:
parent
d41aa7462a
commit
362cd31336
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130131
@ -33,7 +33,7 @@
|
||||
.\" $FreeBSD$
|
||||
.\" $Whistle: nghook.8,v 1.4 1999/01/20 03:19:45 archie Exp $
|
||||
.\"
|
||||
.Dd January 19, 1999
|
||||
.Dd October 24, 2003
|
||||
.Dt NGHOOK 8
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -43,11 +43,10 @@
|
||||
node
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl Sadlns
|
||||
.Op Fl adlnSs
|
||||
.Op Fl m Ar msg
|
||||
.Ar path
|
||||
.Op Ar hookname
|
||||
.Pp
|
||||
.Nm
|
||||
.Fl e
|
||||
.Op Fl n
|
||||
@ -68,14 +67,14 @@ of the node found at
|
||||
If
|
||||
.Ar hookname
|
||||
is omitted,
|
||||
.Dq debug
|
||||
.Dq Li debug
|
||||
is assumed.
|
||||
.Pp
|
||||
If the
|
||||
.Fl e
|
||||
option is given the third argument is interpreted as the path to a program
|
||||
option is given, the third argument is interpreted as the path to a program,
|
||||
and this program is executed with the remaining arguments as its arguments.
|
||||
Before executing the program netgraph messages (specified by the
|
||||
Before executing, the program Netgraph messages (specified by the
|
||||
.Fl m
|
||||
option) are sent to the node.
|
||||
The program is executed with its standard input (unless closed by
|
||||
@ -84,11 +83,12 @@ and output connected to the hook.
|
||||
.Pp
|
||||
If the
|
||||
.Fl e
|
||||
option is not given all data written to standard input is sent
|
||||
to the node and all data received from the node is relayed
|
||||
to standard output. Messages specified with
|
||||
option is not given, all data written to standard input is sent
|
||||
to the node, and all data received from the node is relayed
|
||||
to standard output.
|
||||
Messages specified with
|
||||
.Fl m
|
||||
are send to the node before the loop is entered.
|
||||
are sent to the node before the loop is entered.
|
||||
The
|
||||
.Nm
|
||||
utility exits when
|
||||
@ -96,10 +96,7 @@ utility exits when
|
||||
is detected on standard input in this case.
|
||||
.Pp
|
||||
The options are as follows:
|
||||
.Pp
|
||||
.Bl -tag -width indent
|
||||
.It Fl S
|
||||
Use file descriptor 0 for output instead of the default 1.
|
||||
.It Fl a
|
||||
Output each packet read in human-readable decoded
|
||||
.Tn ASCII
|
||||
@ -117,19 +114,21 @@ Before executing the program (in
|
||||
mode) send the given ASCII control message to the node.
|
||||
This option may be given more than once.
|
||||
.It Fl n
|
||||
Don't attempt to read any data from standard input.
|
||||
Do not attempt to read any data from standard input.
|
||||
The
|
||||
.Nm
|
||||
utility will continue reading from the node until stopped by a signal.
|
||||
.It Fl S
|
||||
Use file descriptor 0 for output instead of the default 1.
|
||||
.It Fl s
|
||||
Use file descriptor 1 for input instead of the default 0.
|
||||
.El
|
||||
.Sh BUGS
|
||||
Although all input is read in unbuffered mode,
|
||||
there's no way to control the packetization of the input.
|
||||
there is no way to control the packetization of the input.
|
||||
.Pp
|
||||
If the node sends a reponse to a message (specified by
|
||||
.Fl m Ns No ),
|
||||
If the node sends a response to a message (specified by
|
||||
.Fl m ) ,
|
||||
this response is lost.
|
||||
.Sh SEE ALSO
|
||||
.Xr netgraph 3 ,
|
||||
@ -137,7 +136,7 @@ this response is lost.
|
||||
.Xr ngctl 8
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Em netgraph
|
||||
.Nm netgraph
|
||||
system was designed and first implemented at Whistle Communications, Inc.\&
|
||||
in a version of
|
||||
.Fx 2.2
|
||||
|
@ -13,11 +13,9 @@
|
||||
.\"
|
||||
.\" Jordan K. Hubbard
|
||||
.\"
|
||||
.\"
|
||||
.\" @(#)pkg_add.1
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd November 25, 1994
|
||||
.Dd March 1, 2004
|
||||
.Dt PKG_ADD 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -72,7 +70,9 @@ The following command line arguments are supported:
|
||||
.Bl -tag -width indent
|
||||
.It Ar pkg-name Op Ar pkg-name ...
|
||||
The named packages are installed.
|
||||
A package name of - will cause
|
||||
A package name of
|
||||
.Fl
|
||||
will cause
|
||||
.Nm
|
||||
to read from stdin.
|
||||
If the packages are not found in the current
|
||||
@ -190,7 +190,7 @@ from stdin.
|
||||
The complete packing list is also read from stdin,
|
||||
and the contents then acted on as normal.
|
||||
.It Fl C Ar chrootdir
|
||||
Before doing any operations
|
||||
Before doing any operations,
|
||||
.Xr chroot 2
|
||||
to the
|
||||
.Ar chrootdir
|
||||
@ -201,7 +201,7 @@ Note that
|
||||
.Ar chrootdir
|
||||
needs to be a fairly complete file system, including everything normally
|
||||
needed by
|
||||
.Xr pkg_add 8
|
||||
.Nm
|
||||
to run.
|
||||
This flag was added to help support operations done by
|
||||
.Xr sysinstall 8
|
||||
@ -213,7 +213,7 @@ versions of commands like
|
||||
.Xr fetch 1
|
||||
may be run inside
|
||||
.Ar chrootdir
|
||||
as a side-effect.
|
||||
as a side effect.
|
||||
.El
|
||||
.Pp
|
||||
One or more
|
||||
|
Loading…
Reference in New Issue
Block a user