head 1.2; access; symbols pkgsrc-2026Q2:1.2.0.8 pkgsrc-2026Q2-base:1.2 pkgsrc-2026Q1:1.2.0.6 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.4 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.2 pkgsrc-2025Q3-base:1.2; locks; strict; comment @.\" @; 1.2 date 2025.09.01.21.46.23; author gutteridge; state Exp; branches; next 1.1; commitid aU9i9UMdd03pG39G; 1.1 date 2025.08.30.02.49.34; author tsutsui; state Exp; branches; next ; commitid 9ZvO2xCOirNvsH8G; desc @@ 1.2 log @xbattbar: fix grammar and spelling in man page patching @ text @$NetBSD: patch-xbattbar.man,v 1.1 2025/08/30 02:49:34 tsutsui Exp $ - mention ACPI support - improve misc wording --- xbattbar.man.orig 2001-02-02 05:25:29.000000000 +0000 +++ xbattbar.man @@@@ -36,8 +36,8 @@@@ .Sh DESCRIPTION .Nm xbattbar shows the current (laptop) battery status in the X window environment. -Battery status is obtained through the APM kernel module. -The APM kernel module depends on your UNIX platform, +Battery status is obtained through the APM or ACPI kernel module. +The APM and ACPI kernel modules depend on your UNIX platform, therefore, consult your documentation for its detail. .Pp .Nm xbattbar @@@@ -48,7 +48,7 @@@@ The thickness of the indicator is 3 pixe you can set the thickness as a parameter of .Nm -t option. -This indicator is appeared in the bottom of the display, as its default. +This indicator appears in the bottom of the display (by default). The option .Nm top, .Nm left, @@@@ -57,12 +57,12 @@@@ or forces the status indicator to be at the top, left, and right of the display, respectively. -Though it's a default, you can also use -.Nm buttom +Though it's the default, you can also use +.Nm bottom as the option. .Pp -In the case the AC line is on-line (plugged in), -its color of the bar indicator consists of "green" and "olive drab" +When the AC line is on-line (plugged in), +the color of the bar indicator consists of "green" and "olive drab" portions. The "green" portion shows its battery charging level. These colors can be changed by @@@@ -71,19 +71,20 @@@@ and .Nm -O options. In the other case (AC line is off-line), +the color of the bar indicator consists of "blue" and "red"; the "blue" portion of the bar indicator shows the percentage of its remaining battery level. -The color conbination for the AC off-line case can be changed by +The color combination for the AC off-line case can be changed by .Nm -i and .Nm -o options. .Pp .Nm xbattbar -trys to know its battery status in every 10 seconds in default. -This is achived by APM polling. +tries to determine the battery status every 10 seconds (by default). +This is achieved by APM or ACPI polling. .Nm -p -option sets the polling interval in second. +option changes the polling interval (in seconds). .Pp If the mouse cursor enters in the status indicator, the diagnosis window appears in the center of the display, @ 1.1 log @xbattbar: rename patches for maintainability, and misc cleanup. - add a valid MASTER_SITES - refer web.archive.org page for the latest HOMEPAGE - add LICENSE per COPYING file to appease pkglint @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 - mention about ACPI support - imporove misc wording d15 1 a15 1 +The APM and ACPI kernels module depends on your UNIX platform, d62 1 a62 1 +trys to know the battery status in every 10 seconds. @