Commit Graph

70 Commits

Author SHA1 Message Date
Tatsumi Hosokawa
96b54d7736 Updated my e-mail addresses. 1998-02-20 07:17:48 +00:00
Steve Price
2ccbe549bc Fix a couple of typos.
PR:		5561
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1998-01-25 16:22:22 +00:00
John Polstra
ec8f6ad756 Output the estimated battery lifetime as "hh:mm:ss" along with
everything else.  Add a "-t" option for outputting it in raw form.
Define and document the order in which raw values are printed when
more than one is requested on the command line.
1997-11-12 04:16:23 +00:00
Warner Losh
2fd8f469e5 Use warn rather than warnx to report errors opening the APM device.
Nit formatting fix
1997-11-06 23:55:38 +00:00
John Polstra
7a6b5d25b7 Correct the description of the output from the "-s" option. It was
backward.
1997-09-29 17:43:11 +00:00
Philippe Charnier
afe83a1cf7 Use err(3). Typo in man page. 1997-09-02 06:36:39 +00:00
Warner Losh
6c3f552a31 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-31 05:11:47 +00:00
Peter Wemm
476602a9d0 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Nate Williams
3a9b8d5000 Remove an un-needed static declaration. 1997-01-06 06:09:13 +00:00
Nate Williams
e46ea891b4 Re-write the driver to use getopt(), add the new display suspend
function of the kernel, and other assorted misc. cleanups.

Submitted by:	nate & HOSOKAWA, Tatsumi <hosokawa@jp.FreeBSD.org>
1997-01-06 06:04:42 +00:00
Wolfram Schneider
18e75007df delete MANDIR=/usr/share/man/man,
it breaks `env MANDIR=<dir> make maninstall'
1996-05-21 18:09:11 +00:00
Nate Williams
ddccc6ec01 Open up /dev/apm instead of /dev/apm0. 1996-03-18 20:34:29 +00:00
Nate Williams
b8d133e069 Add the '-s' flag to apm which returns the status of the APM support
(enable/disabled) now that the APM_GETINFO ioctl returns the necessary
information.  Also, print out the status along with the other
information as the default behavior.
1996-03-13 00:48:06 +00:00
Rodney W. Grimes
709e8f9ae1 Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
Poul-Henning Kamp
0d2cd3b7e9 make the right link to "zzz" 1994-11-02 07:20:58 +00:00
Poul-Henning Kamp
86f39ea7e0 Fixed a #include to point to machine/apm_bios.h 1994-11-02 04:54:30 +00:00
Poul-Henning Kamp
19a41dfcbd The latest user-land changes from the author. I added a big warning to the
apm.4 man-page.  I also hope the Makefiles make sense now.

Submitted by:	HOSOKAWA Tatsumi
1994-11-01 22:46:40 +00:00
Poul-Henning Kamp
eab1c60e10 Stop "make install" from falling over if DESTDIR is defined. 1994-10-15 07:45:45 +00:00
David Greenman
140cffd349 Laptop Advanced Power Management support (userland end) by HOSOKAWA Tatsumi.
Submitted by:	HOSOKAWA Tatsumi
1994-10-01 03:23:33 +00:00