Commit Graph

52 Commits

Author SHA1 Message Date
wiz 1ac719d147 Remove unnecessary Bk/Ek pairs from SYNOPSIS.
No effective change except where I used the opportunity to sort options
and/or option descriptions.
2012-04-08 22:00:37 +00:00
joerg dc9f50680c Use static + __dead 2011-11-25 12:51:27 +00:00
jruoho 7e4def2e7d Add a note that APM was deprecated by the PC manufacturers in about 1996.
Mention the APM emulation layer of ACPI. In addition, some small fixes.
2010-03-20 07:59:44 +00:00
nakayama 1c54a66d99 System utilities, boot programs and kernel modules are machine
(port) specific not CPU, so use MACHINE not MACHINE_ARCH.
2009-12-13 05:01:32 +00:00
abs 515e52158b Convert more MACHINE tests to MACHINE_ARCH 2009-02-14 13:50:50 +00:00
reed 221899b84e Mention that the program is only installed on supported platforms.
(Also add a paragraph break.)

I didn't specifically mention the platforms or what support is needed.
At least someone reading the manpage will have some idea why the tool
is missing from their system.

(Some manual pages mention this in the BUGS section, but I didn't do that.)
2008-09-25 22:44:51 +00:00
xtraeme b2bb69490d WARNS=4 love. 2008-05-02 19:59:19 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
plunky 60822ed9d3 When no estimate of battery minutes_left can be made, apm should
return a value of 0.
2007-10-27 19:51:29 +00:00
nonaka 055f45996f Added zaurus. 2007-07-29 14:34:45 +00:00
elad f5b68de4eb PR/34593: Arnaud LACOMBE: apm(8) prints meaningless default unknow value
for minutes_left
Patch applied, thanks for the report!
2006-09-23 22:06:42 +00:00
macallan 631f2d878c build the apm utility on sparc since we already build apmd 2005-11-24 15:47:09 +00:00
cube c8f95d9a61 Add 'd' to usage, sort options in usage, sort options in getopt() call. 2005-01-23 20:55:57 +00:00
uch 0afeae9aa7 add hpcsh 2004-07-03 12:55:47 +00:00
tron 98f96f8aa4 Add missing "m" option in SYNOPSIS.
Remove duplicate "d" in getopt(3) call.
The patches were provided by Jeff Ito in PR bin/24971.
2004-03-31 12:00:57 +00:00
wiz f9502382bc No longer i386-only. 2003-06-27 22:58:30 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
takemura 976f1e210f Enabled apm command device node for hpcmips and put apm.8 and zzz.8 man pages
into mi directory.
2002-10-14 06:31:37 +00:00
lukem 805b400ba7 use NETBSDSRCDIR as appropriate 2002-09-19 12:08:37 +00:00
manu a9fed43086 Initial support for APM on hpcarm (just enough to get battery state) 2002-09-16 19:58:58 +00:00
soren 236006d5dc Remove extraneous \n's in {err,warn}{,x} that used to be printfs. 2002-08-08 13:24:12 +00:00
grant eda9e509bb sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:40:16 +00:00
itojun 7dd411b55d userland access to apm emulation. 2002-06-18 05:24:44 +00:00
enami 69af775e86 - Bail out when failed to ioctl.
- Clear args to APM_IOC_GETPOWER.
2001-09-13 11:05:58 +00:00
enami 453bf8d640 KNF and other misc. stylistic changes. 2001-09-13 11:01:49 +00:00
itojun 71aa31a75a support multiple batteries (currently only # of batteris is visible -
need to tweak ioctl API more).  PR 10545.
2001-07-22 16:05:17 +00:00
wiz 43de32aa6c Add arch to Dt, since it's only installed for i386. Whitespace nits. 2001-04-21 14:42:32 +00:00
cgd 25bdbb661e convert to use getprogname() 2001-02-19 23:22:40 +00:00
enami f0b2202df0 Kill the period in the SEE ALSO list. 2000-02-05 11:52:37 +00:00
hwr 38bced384f Document -s option. Fixes PR 6759 by me. 1999-08-08 16:15:17 +00:00
garbled d1407362ba More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:43:46 +00:00
mycroft d77575d3c8 Clean up SYNOPSIS formatting. 1999-03-07 11:58:22 +00:00
augustss d7a044aeec Add -m option to display minutes left. From dbj@netbsd.org 1999-01-15 00:29:02 +00:00
abs b0ebb38178 momentarily -> in a moment, to avoid ambiguity. 1998-11-13 22:44:17 +00:00
lukem 786b86d71b use AF_LOCAL instead of AF_UNIX 1998-07-18 05:04:35 +00:00
mycroft c22d2f71a5 Change return type of main to int. 1998-03-31 02:36:13 +00:00
mrg dc05f41d80 add missing .Nm sections 1997-11-11 10:07:34 +00:00
lukem f0fe153c0a use CPPFLAGS instead of CFLAGS 1997-10-23 06:27:34 +00:00
lukem f5bf267d90 enable WARNS=1 by default, but disable in unclean 3rd party code 1997-10-18 06:42:25 +00:00
lukem 955c39c7ef minor cleanup 1997-10-17 04:31:55 +00:00
mikel 7e0384f892 replace -W flags in CFLAGS with WARNS?=1, cleanup 1997-10-03 05:39:03 +00:00
mikel f06175c4c6 apm is new in 1.3, update HISTORY to say so 1997-10-03 05:37:05 +00:00
jtc 87f4ccd45f Fix files using old TNF copyright notice 1997-07-30 22:53:50 +00:00
mrg 78033298f7 decend all subdirs for man pages. 1997-06-23 14:48:02 +00:00
gwr 10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr 012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
christos 0aad9d4378 Makefile cleanups 1997-03-24 22:02:40 +00:00
mikel cdc053b0b4 fix some typos and .Nm usage 1997-02-18 06:34:01 +00:00
jtk 43130f9be2 apply typo fix per misc/3134 (from Thorsten Frueauf) 1997-01-23 00:31:14 +00:00