Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/rwhod New sentence, new line.



details:   https://anonhg.NetBSD.org/src/rev/ab03acaca989
branches:  trunk
changeset: 584296:ab03acaca989
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Sep 12 18:33:56 2005 +0000

description:
New sentence, new line.
Add -u to SYNOPSIS. Fix some typos.
Use more markup. Bump date for -u.

diffstat:

 usr.sbin/rwhod/rwhod.8 |  40 +++++++++++++++++++++++-----------------
 1 files changed, 23 insertions(+), 17 deletions(-)

diffs (104 lines):

diff -r d6f5c1a9e9c7 -r ab03acaca989 usr.sbin/rwhod/rwhod.8
--- a/usr.sbin/rwhod/rwhod.8    Mon Sep 12 16:55:01 2005 +0000
+++ b/usr.sbin/rwhod/rwhod.8    Mon Sep 12 18:33:56 2005 +0000
@@ -26,9 +26,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     from: @(#)rwhod.8      8.2 (Berkeley) 12/11/93
-.\"    $NetBSD: rwhod.8,v 1.19 2005/09/12 16:13:13 tsarna Exp $
+.\"    $NetBSD: rwhod.8,v 1.20 2005/09/12 18:33:56 wiz Exp $
 .\"
-.Dd August 9, 2005
+.Dd September 12, 2005
 .Dt RWHOD 8
 .Os
 .Sh NAME
@@ -37,13 +37,15 @@
 .Sh SYNOPSIS
 .Nm
 .Op Fl i Ar interval
+.Op Fl u Ar user
 .Sh DESCRIPTION
 .Nm
 is the server which maintains the database used by the
 .Xr rwho 1
 and
 .Xr ruptime 1
-programs.  Its operation is predicated on the ability to
+programs.
+Its operation is predicated on the ability to
 .Em broadcast
 messages on a network.
 .Pp
@@ -62,7 +64,8 @@
 .Xr ruptime 1
 to mark the host as being down.
 .It Fl u Ar user
-drop privledges and become the named user.
+Drop privileges and become the user
+.Ar user .
 .El
 .Pp
 .Nm
@@ -77,7 +80,9 @@
 .Pa /var/rwho .
 .Pp
 The server transmits and receives messages at the port indicated
-in the ``who'' service specification; see
+in the
+.Dq who
+service specification; see
 .Xr services 5 .
 The messages sent and received, are of the form:
 .Bd -literal -offset indent
@@ -104,17 +109,18 @@
 .Ed
 .Pp
 All fields are converted to network byte order prior to
-transmission.  The load averages are as calculated by the
+transmission.
+The load averages are as calculated by the
 .Xr w 1
 program, and represent load averages over the 5, 10, and 15 minute
 intervals prior to a server's transmission; they are multiplied by 100
-for representation in an integer.  The host name
-included is that returned by the
+for representation in an integer.
+The host name included is that returned by the
 .Xr gethostname 3
 function call, with any trailing domain name omitted.
 The array at the end of the message contains information about
-the users logged in to the sending machine.  This information
-includes the contents of the
+the users logged in to the sending machine.
+This information includes the contents of the
 .Xr utmp 5
 entry for each non-idle terminal line and a value indicating the
 time in seconds since a character was last received on the terminal line.
@@ -122,12 +128,13 @@
 Messages received by the
 .Xr rwho 1
 server are discarded unless they originated at an
-rwho
-server's port.  In addition, if the host's name, as specified
+.Xr rwho 1
+server's port.
+In addition, if the host's name, as specified
 in the message, contains any unprintable
 .Tn ASCII
-characters, the
-message is discarded.  Valid messages received by
+characters, the message is discarded.
+Valid messages received by
 .Nm
 are placed in files named
 .Pa whod.hostname
@@ -149,6 +156,5 @@
 .Sh BUGS
 There should be a way to relay status information between networks.
 Status information should be sent only upon request rather than continuously.
-People often interpret the server dying
-or network communication failures
-as a machine going down.
+People often interpret the server dying or network communication
+failures as a machine going down.



Home | Main Index | Thread Index | Old Index