From 6fb72da2ec23b2c1b2060e5f41eaf472436f9f45 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Wed, 22 Oct 2014 16:34:51 -0500 Subject: [PATCH] wmifs: Add manpage. Obtained from Debian: http://sources.debian.net/data/main/w/wmifs/1.3b1-22/debian/wmifs.1 --- wmifs/wmifs/Makefile | 7 ++++- wmifs/wmifs/wmifs.1 | 73 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 wmifs/wmifs/wmifs.1 diff --git a/wmifs/wmifs/Makefile b/wmifs/wmifs/Makefile index 299cb35..6f41987 100755 --- a/wmifs/wmifs/Makefile +++ b/wmifs/wmifs/Makefile @@ -2,6 +2,9 @@ DESTDIR = prefix =/usr/local bindir=${prefix}/bin +datarootdir=${prefix}/share +mandir=${datarootdir}/man +man1dir=${mandir}/man1 CONF=/etc CC = gcc @@ -36,8 +39,10 @@ clean:: install:: $(INSTALL_DIR) $(DESTDIR)$(bindir) $(INSTALL_DIR) $(DESTDIR)$(CONF) + $(INSTALL_DIR) $(DESTDIR)$(man1dir) $(INSTALL_PROGRAM) wmifs $(DESTDIR)$(bindir) $(INSTALL_FILE) sample.wmifsrc $(DESTDIR)$(CONF)/wmifsrc - @echo "WMiFS-1.3beta installation finished..." + $(INSTALL_FILE) wmifs.1 $(DESTDIR)$(man1dir) + @echo "WMiFS-1.4 installation finished..." @echo " " @echo "have fun! ;-)" diff --git a/wmifs/wmifs/wmifs.1 b/wmifs/wmifs/wmifs.1 new file mode 100644 index 0000000..9d57ed1 --- /dev/null +++ b/wmifs/wmifs/wmifs.1 @@ -0,0 +1,73 @@ +.\" Hey, Emacs! This is an -*- nroff -*- source file. +.\" wmifs is copyright 1999-2003 by Jordi Mallach +.\" copyright 2003-2004 by Romain Francoise +.\" +.\" This is free documentation, see the latest version of the GNU +.\" General Public License for copying conditions. There is NO warranty. + + +.TH WMIFS 1 "December 26, 2001" "wmifs" + +.SH NAME +wmifs \- a dockable network traffic monitor +.SH SYNOPSIS +.B wmifs +[-d ] [-i ] [-l] [-w] [-h] [-v] + +.SH DESCRIPTION +WMiFS is a dockable applet for X11 that can monitor all your network +interfaces. It's designed for WindowMaker's Dock and AfterStep's Wharf, +but it's not dependant on these window managers and should work with +any other. +It can display the net load using a standard bar graph or using a waveform +mode. It also displays the state of the interface with a group of leds. +Clicking on the interface name will cycle to the next interface in the +system. Users can define commands to be executed when the different mouse +buttons are pressed on the main window. + +.SH OPTIONS +.TP +.B \-h +Show summary of options. +.TP +.B \-v +Show version of the program. +.TP +.B \-d +Use an alternate X display. +.TP +.B \-i +Interface that should come up initially when executing wmifs. If you +use "auto" as interface name, the first active ("up") interface will be +used. +.TP +.B \-I +Sampling interval, in seconds (default: 0.05). +.TP +.B \-l +Starts wmifs in lock mode. Useful if combined with \-i, if you want to +monitor a, for example, ppp device which isn't up when wmifs is started. +It won't switch to the next available interface. +.TP +.B \-s +Scrolling interval, in seconds (default: 5) +.TP +.B \-w +Use the waveform graph instead of the classic one. + +.SH FILES +.TP +.I /etc/wmifsrc +system wide wmifs configuration file. +.TP +.I ~/.wmifsrc +peruser wmifs configuration file. + +.SH AUTHOR +This manual page was written by Jordi Mallach +for the Debian GNU/Linux system (but may be used by others). + +.SH SEE ALSO +.PD 0 +.TP +\fI/usr/share/doc/wmifs\fP