]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
Update manual pages for each updated utility.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 31 Oct 2003 00:08:59 +0000 (00:08 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 31 Oct 2003 00:08:59 +0000 (00:08 +0000)
svn-id: @1467

doc/consoletype.1
doc/initlog.1
doc/ipcalc.1
doc/netreport.1
doc/ppp-watch.8

index b14b03b0f899fcfbba34c3ab666bdca53673bb0c..3f4ec14bb9e42efd341e6abfab22be7430a3b60e 100644 (file)
@@ -1,28 +1,39 @@
-.TH CONSOLETYPE 1 "Red Hat Software" "RHS" \" -*- nroff -*-
+.TH CONSOLETYPE 1 "Red Hat, Inc" "RH" \" -*- nroff -*-
 .SH NAME
-.B consoletype
+\fBconsoletype
 \- print type of the console connected to standard input
 .SH SYNOPSIS
-.B consoletype
+\fBconsoletype [\fIfg\fR]
 .SH DESCRIPTION
-.B consoletype
-prints the type of console connected to standard input. It prints
-.I vt
+\fBconsoletype
+prints the type of console connected to standard input, and checks
+whether the console connected to standard input is the current
+foreground virtual console. With no arguments, it prints
+\fIvt\fR
 if console is a virtual terminal (/dev/tty* or /dev/console device if not on
 a serial console),
-.I serial
+\fIserial\fR
 if standard input is a serial console (/dev/console or /dev/ttyS*) and
-.I pty
+\fIpty\fR
 if standard input is a pseudo terminal.
 .SH RETURN VALUE
-.B consoletype
-returns
+\fBconsoletype
+when passed no arguments returns 
 .TP
-.I 0
+\fI0
 if on virtual terminal
 .TP
-.I 1
+\fI1
 if on serial console
 .TP
-.I 2
+\fI2
 if on a pseudo terminal.
+.TP
+When passed the \fIfg\fR argument, \fBconsoletype\fR returns
+.TP
+\fI0
+if the console connected to standard input is the current virtual
+terminal
+.TP
+\fI1
+otherwise.
\ No newline at end of file
index 87eaf8d3af780615da901ccdceda6659f3247348..1eb0587b3a8c26093c88f71e7a42af77298bb67f 100644 (file)
@@ -33,16 +33,26 @@ Execute the specified program, logging anything output to
 stdout or stderr.
 .TP
 .I "\-e, \-\-event=[number]"
-Logs that the specified event happened. Usually used in conjuction
+Logs that the specified event happened. Used in conjuction
 with \fB\-\-name\fR. Currently specified events are:
-.nf
- \fB1\fR  the action completed successfully
- \fB2\fR  the action failed
- \fB3\fR  the action was cancelled at user request
- \fB4\fR  the action failed due to the failure of a dependent action
+.PD 0
+.RS 8n
+.TP 3n
+.B 1
+the action completed successfully
+.TP
+.B 2
+the action failed
+.TP
+.B 3
+the action was cancelled at user request
+.TP
+.B 4
+the action failed due to the failure of a dependent action
+.RE
+.PD
 .TP
 .I "\-f, \-\-facility=[facility]"
-
 Log at the specified syslog facility. The default
 is \fBdaemon\fR (see syslog(3)).
 .TP
index 0337e498b85b0ec7e98f1ece74794ae51305c0b4..fd9b21212abe498d70c7e7f40ec5ea6991c4f6b6 100644 (file)
@@ -1,37 +1,58 @@
-.TH IPCALC 1 "Red Hat Software" "RHS" \" -*- nroff -*-
+.TH IPCALC 1 "April 30 2001" "Red Hat, Inc." RH \" -*- nroff -*-
 .SH NAME
 ipcalc \- perform simple manipulation of IP addresses
 .SH SYNOPSIS
 .B ipcalc
-\fI[--hostname] [--broadcast] [--network] [--netmask] [--prefix] \fBip \fI[netmask]\fR
+[\fIOPTION\fR]... <\fBIP address\fR>[\fI/prefix\fR] [\fInetmask\fR]
 
 .SH DESCRIPTION
 \fBipcalc\fR provides a simple way to calculate IP information for a host.
 The various options specify what information \fBipcalc\fR should display
-on standard out. Multiple options may be specified.
+on standard out. Multiple options may be specified.  An IP address to
+operate on must always be specified.  Most operations also require a
+netmask or a CIDR prefix as well.
 
 .SH OPTIONS
 .TP
-.IP \fI--broadcast\fR 
+.TP
+\fB\-b\fR, \fB\-\-broadcast\fR 
 Display the broadcast address for the given IP address and netmask.
 
-.IP \fI--hostname\fR 
+.TP
+\fB\-h\fR, \fB\-\-hostname\fR 
 Display the hostname for the given IP address.
 
-.IP \fI--netmask\fR
+.TP
+\fB\-m\fR, \fB\-\-netmask\fR
 Calculate the netmask for the given IP address. It assumes that the IP
-address is in a complete Class A, B, or C network. Many networks do
+address is in a complete class A, B, or C network. Many networks do
 not use the default netmasks, in which case an inappropriate value will
 be returned.
 
-.IP \fI--prefix\fR
-That same as \fB--netmask\fR but return prefix (see CIDR specification)
+.TP
+\fB\-p\fR, \fB\-\-prefix\fR
+Show the prefix for the given mask/IP address.
 
-.IP \fI--network\fR 
+.TP
+\fB\-n\fR, \fB\-\-network\fR 
 Display the network address for the given IP address and netmask.
 
-.SH AUTHOR
+.TP
+\fB\-s\fR, \fB\-\-silent\fR 
+Don't ever display error messages.
+
+.SH AUTHORS
 .nf
 Erik Troan <ewt@redhat.com>
-Modifications: Arkadiusz Miskiewicz <misiek@pld-linux.org>
+.nf
+Preston Brown <pbrown@redhat.com>
 .fi
+.SH "REPORTING BUGS"
+Report bugs to our bugtracking system:
+http://bugzilla.redhat.com/bugzilla.
+.SH COPYRIGHT
+Copyright \(co 1997-2001 Red Hat, Inc.
+.br
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
index ff52e91bc2283653750c92146506412ad16e1228..75ed074782d4788a32a37decc74abdb3db13bcb7 100644 (file)
@@ -1,4 +1,4 @@
-.TH USERNETCTL 1 "Red Hat Software" "RHS" \" -*- nroff -*-
+.TH NETREPORT 1 "Red Hat, Inc." "RH" \" -*- nroff -*-
 .SH NAME
 netreport \- request notification of network interface changes
 .SH SYNOPSIS
index 337f06760c863316da06893ce03787aee46fd91f..d2b8cc4b7f81604fd2f69156ade80c572b7c4ac1 100644 (file)
@@ -3,7 +3,7 @@
 ppp-watch \- daemon to make PPP interfaces act more like other interfaces
 .SH SYNOPSIS
 .B ppp-watch
-\fIinterface-name\fP \fIinterface-name\fP [boot]
+\fIinterface-name\fP [boot]
 .SH DESCRIPTION
 .B ppp-watch
 manages one PPP connection, including starting, stopping, and redialing.
This page took 0.063641 seconds and 4 git commands to generate.