I was trying to convince apropos(1) to give me information on the
scripts in /etc/apm and found myself unable to do so...  The reason
turned out to be missing semantic markup in the relevant man page.

While there I was wondering about the weird ordering "suspend,
hibernate, resume, powerup, powerdown" that is used somewhat
inconsistently throughout the entire man page of apmd(8).  Is there any
deeper reason for this or did this just grow organically, as the commit
log seems to indicate?

Index: usr.sbin/apmd/apmd.8
===================================================================
RCS file: /cvs/src/usr.sbin/apmd/apmd.8,v
retrieving revision 1.46
diff -u -p -r1.46 apmd.8
--- usr.sbin/apmd/apmd.8        31 Dec 2014 11:37:40 -0000      1.46
+++ usr.sbin/apmd/apmd.8        12 Feb 2015 11:28:01 -0000
@@ -26,7 +26,7 @@
 .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd $Mdocdate: December 31 2014 $
+.Dd $Mdocdate: February 12 2015 $
 .Dt APMD 8
 .Os
 .Sh NAME
@@ -145,15 +145,15 @@ connected or not) changes, as well as af
 status changed in the mean time).
 .Sh FILES
 .Bl -tag -width "/etc/apm/powerdownXX" -compact
-.It /dev/apmctl
+.It Pa /dev/apmctl
 Default device used to control the APM kernel driver.
 .Pp
-.It /etc/apm/suspend
-.It /etc/apm/hibernate
-.It /etc/apm/standby
-.It /etc/apm/resume
-.It /etc/apm/powerup
-.It /etc/apm/powerdown
+.It Pa /etc/apm/suspend
+.It Pa /etc/apm/hibernate
+.It Pa /etc/apm/standby
+.It Pa /etc/apm/resume
+.It Pa /etc/apm/powerup
+.It Pa /etc/apm/powerdown
 These files contain the host's customized actions.
 Each file must be an executable binary or shell script.
 A single program or script can be used to control all transitions
@@ -167,7 +167,7 @@ powerup,
 or
 powerdown.
 .Pp
-.It /var/run/apmdev
+.It Pa /var/run/apmdev
 Default
 .Ux Ns -domain
 socket used for communication with

Reply via email to