summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2006-06-05 21:47:28 +0000
committerRichard Hughes <richard@hughsie.com>2006-06-05 21:47:28 +0000
commitbe6bc9d7464bb9897acec10fdf7580aa3d212326 (patch)
tree0c5ef4458956ffafd07df344c52fcb45907ac106 /man
parent7306ce4d2ae22de302034f2d6c69aaf1b8cea9cd (diff)
2006-06-05 Richard Hughes <richard@hughsie.com>
* INSTALL: Add this GNU required file. * man/on_ac_power.1: * man/pm-pmu.1: Newest files (from the SGML files) * .cvsignore: * man/.cvsignore: * pm/.cvsignore: * pm/Makefile.am: * pm/hooks/.cvsignore: * pm/power.d/.cvsignore: * src/.cvsignore: Add these files to keep cvs happy.
Diffstat (limited to 'man')
-rw-r--r--man/.cvsignore3
-rw-r--r--man/on_ac_power.164
-rw-r--r--man/pm-pmu.167
3 files changed, 75 insertions, 59 deletions
diff --git a/man/.cvsignore b/man/.cvsignore
new file mode 100644
index 0000000..9f826e0
--- /dev/null
+++ b/man/.cvsignore
@@ -0,0 +1,3 @@
+Makefile
+Makefile.in
+manpage.*
diff --git a/man/on_ac_power.1 b/man/on_ac_power.1
index 4d29c1e..0e2a375 100644
--- a/man/on_ac_power.1
+++ b/man/on_ac_power.1
@@ -1,36 +1,40 @@
-.\" Hey, EMACS: -*- nroff -*-
-.\" First parameter, NAME, should be all caps
-.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
-.\" other parameters are allowed: see man(7), man(1)
-.TH ON_AC_POWER 1 "April 2005" "" ""
-.\" Please adjust this date whenever revising the manpage.
-.\"
-.\" Some roff macros, for reference:
-.\" .nh disable hyphenation
-.\" .hy enable hyphenation
-.\" .ad l left justify
-.\" .ad b justify to both left and right margins
-.\" .nf disable filling
-.\" .fi enable filling
-.\" .br insert line break
-.\" .sp <n> insert n+1 empty lines
-.\" for manpage-specific macros, see man(7)
+.\" This manpage has been automatically generated by docbook2man
+.\" from a DocBook document. This tool can be found at:
+.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
+.\" Please send any bug reports, improvements, comments, patches,
+.\" etc. to Steve ChDone.
+teve@ggi-project.org>.
+.TH "ON_AC_POWER" "1" "05 June 2006" "" ""
+
.SH NAME
on_ac_power \- test whether the computer is running on line power
.SH SYNOPSIS
-.B on_ac_power
-.SH DESCRIPTION
+
+\fBon_ac_power\fR
+
+.SH "DESCRIPTION"
+.PP
+This manual page documents briefly the
+\fBon_ac_power\fR command.
+.PP
+\fBon_ac_power\fR is a command line program to test whether the computer is running on line power
+.SH "EXIT CODES"
+.PP
The command succeeds (status 0) if the system is using line power
and fails (status other than 0) otherwise.
It is designed to be easy to use in shell scripts.
-.SH OPTIONS
-None.
-.SH "EXIT STATUS"
-.br
-.nf
-\fB0\fR (true) System is on line power
-\fB1\fR (false) System is not on line power
-\fB255\fR (false) Power status could not be determined
-.SH NOTES
-Absence of any batteries is taken to mean that the system is on line power.
-
+.TP
+\fB 0 (true) \fR
+System is on line power.
+.TP
+\fB 1 (false) \fR
+System is not on line power.
+.TP
+\fB 255 (false) \fR
+Power status could not be determined.
+.SH "SEE ALSO"
+.PP
+pm-suspend (1).
+.SH "AUTHOR"
+.PP
+This manual page was written by Richard Hughes <richard@hughsie.com>\&.
diff --git a/man/pm-pmu.1 b/man/pm-pmu.1
index 349fdb4..a51ab68 100644
--- a/man/pm-pmu.1
+++ b/man/pm-pmu.1
@@ -1,40 +1,49 @@
-.\" Hey, EMACS: -*- nroff -*-
-.\" First parameter, NAME, should be all caps
-.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
-.\" other parameters are allowed: see man(7), man(1)
-.TH PM-PMU 1 "May 2006" "" ""
-.\" Please adjust this date whenever revising the manpage.
-.\"
-.\" Some roff macros, for reference:
-.\" .nh disable hyphenation
-.\" .hy enable hyphenation
-.\" .ad l left justify
-.\" .ad b justify to both left and right margins
-.\" .nf disable filling
-.\" .fi enable filling
-.\" .br insert line break
-.\" .sp <n> insert n+1 empty lines
-.\" for manpage-specific macros, see man(7)
+.\" This manpage has been automatically generated by docbook2man
+.\" from a DocBook document. This tool can be found at:
+.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
+.\" Please send any bug reports, improvements, comments, patches,
+.\" etc. to SteDone.
+ng <steve@ggi-project.org>.
+.TH "PM-PMU" "1" "05 June 2006" "" ""
+
.SH NAME
pm-pmu \- suspend the computer on machines using a Macintosh-style PMU
.SH SYNOPSIS
-.B pm-pmu --suspend
-.SH DESCRIPTION
+
+\fBpm-pmu\fR
+
+.SH "DESCRIPTION"
+.PP
+This manual page documents briefly the
+\fBpm-pmu\fR command.
+.PP
+\fBpm-pmu\fR is a command line program to test whether the computer is running on line power
+.SH "EXIT CODES"
+.PP
The command succeeds (status 0) if the machine uses a Macintosh-style
PMU, and suspended successfully. The command fails (status other than
0) otherwise.
It is designed to be easy to use in shell scripts.
-.SH OPTIONS
.TP
-.BI "--suspend"
+\fB 0 (true) \fR
+System was suspended using PMU.
+.TP
+\fB 1 (false) \fR
+System could not be suspended using PMU.
+.SH "OPTIONS"
+.PP
+This program follows the usual GNU command line syntax,
+with long options starting with two dashes (`-'). A summary of
+options is included below.
+.TP
+\fB --suspend \fR
Suspend the computer.
-.br
.TP
-.BI "--help"
+\fB --help \fR
Show help message.
-.br
-.SH "EXIT STATUS"
-.br
-.nf
-\fB0\fR (true) System was suspended using PMU
-\fB1\fR (false) System could not be suspended using PMU
+.SH "SEE ALSO"
+.PP
+pm-suspend (1).
+.SH "AUTHOR"
+.PP
+This manual page was written by Richard Hughes <richard@hughsie.com>\&.