Hi Theo,

Theo Buehler wrote on Thu, Feb 12, 2015 at 12:47:14PM +0100:

> I was trying to convince apropos(1) to give me information on the
> scripts in /etc/apm and found myself unable to do so...

Heh, somebody is actually using this functionality!  :-)

> The reason turned out to be missing semantic markup
> in the relevant man page.

Indeed, good catch.  With the advent of semantic apropos(1),
correct and complete markup has become more relevant.

Patch committed.

> 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?

That would be a question for ACPI hackers, not me.

Yours,
  Ingo


> 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
> @@ -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