pkgsrc/net/wmnet/patches/patch-ae
seb 285b3ac294 Add support for Solaris via the kstat(3) facility.
Provided in PR pkg/17521 by Lubomir Sedlacik <salo@Xtrmntr.org>.
2002-07-18 12:57:56 +00:00

59 lines
1.9 KiB
Text

$NetBSD: patch-ae,v 1.4 2002/07/18 12:57:58 seb Exp $
--- wmnet.man.orig Fri May 5 02:43:35 2000
+++ wmnet.man Mon Jul 8 17:09:42 2002
@@ -1,6 +1,6 @@
.\" -*-Nroff-*-
.\"
-.TH wmnet 1x "4 May 2000"
+.TH wmnet 1x "8 Jul 2002"
.SH NAME
wmnet \- an IP accounting monitoring tool
.SH SYNOPSIS
@@ -17,6 +17,7 @@
.RB [\| -F,--labelfg=\fICOLOR \|]
.RB [\| -B,--labelbg=\fICOLOR \|]
.RB [\| -L,--label=\fILABEL \|]
+.RB [\| -b,--bg=\fICOLOR \|]
.RB [\| -e,--execute=\fICOMMAND \|]
.RB [\| -p,--promisc=\fIDEVICE \|]
.RB [\| -u,--unpromisc=\fIDEVICE \|]
@@ -82,6 +83,10 @@
.B -B,--labelbg=\fICOLOR
specifies the color for the background of the label text
.TP
+.B -b,--bg=\fICOLOR
+specifies the color for the background of WMnet. For use with other
+window managers than Window Maker. See also the -N switch.
+.TP
.B --withdrawn
.TP
.B --normalstate
@@ -90,6 +95,10 @@
defined atom is present, and in normalstate otherwise. This behavior is
overriden by specifying one of these options.
.TP
+.B -N,--no3d
+Switch off pseudo 3D look. For use with other window managers than
+Window Maker. See also the -b switch.
+.TP
.B -e,--execute=\fICOMMAND
executes \fICOMMAND \fPon a single click from button 1 (left mouse button).
.TP
@@ -147,9 +156,13 @@
Otherwise, the kernel will not collect the stats we need.
.TP
.B kmem
-this driver is available on FreeBSD and OpenBSD systems and must be passed
-a device through the \fI--device\fP option. By default, it uses ec0 but
-will accept any valid device name.
+this driver is available on FreeBSD, OpenBSD and NetBSD systems and must be
+passed a device through the \fI--device\fP option. By default, it uses ppp0
+but will accept any valid device name.
+.TP
+.B kstat
+this driver is available on Solaris and uses general-purpose kernel statistics
+facility provided by kstat device.
.SH FILES
.TP
.I /proc/net/ip_acct /proc/net/dev /proc/net/ipchains