Commit Graph

18 Commits

Author SHA1 Message Date
lukem 25cdf6cf5b add "-i input-device", to specify another device to monitor for activity 2002-01-24 01:34:13 +00:00
lukem 3296e70335 revert part of previous; don't monitor framebuffers for input because
they get mtime updates on output.

XXX: need to find out how to monitor a wscons input device other than
ttyE0 that gets updated when keys are pressed on the console keyboard...
2002-01-23 17:30:17 +00:00
lukem cd95ffb688 - check framebuffers for input, because /dev/ttyE0 (wscons framebuffer)
gets modified, not /dev/console or /dev/wskbd
- use /dev/wskbd instead of /dev/wskbd0
- use /dev/wsmouse instead of /dev/wsmouse0
2002-01-23 16:57:51 +00:00
augustss 5d206b8d31 Correct a comment. Pointed out by Michael.Eriksson@era-t.ericsson.se. 2001-11-06 22:56:02 +00:00
augustss 87faac94d7 Avoid opening /dev/ws{mouse,kbd}0; use stat() instead. 2001-11-01 19:06:08 +00:00
christos ffea4be4c7 - KNF
- use syslog after we become a daemon to write error messages.
- failure to open a device is not fatal.
- copy timeval, because select is allowed to change it.
- if we failed to blank all the devices we are monitoring, exit
2001-10-28 01:32:46 +00:00
thorpej f189453cbc Pull in fbio.h from <dev/sun/fbio.h> 2001-09-19 16:16:03 +00:00
cgd 25bdbb661e convert to use getprogname() 2001-02-19 23:22:40 +00:00
thorpej bcd4659148 Use pidfile(3). 1999-06-06 03:27:35 +00:00
thorpej cdee73fd5b Add support for WSCONS, and default to it. If the platform also has
Sun-style fbio, add support for determining this at run-time and switching
to that mode.
1998-12-18 01:15:43 +00:00
is 6ee3015175 Avoid using FP where its no win. 1998-05-14 21:49:13 +00:00
lukem b46ed65876 use memset instead of bzero 1997-10-18 11:37:45 +00:00
jtc 87f4ccd45f Fix files using old TNF copyright notice 1997-07-30 22:53:50 +00:00
thorpej 35a6561e44 __RCSID()/__COPYRIGHT()/prototype police. 1997-07-23 20:22:48 +00:00
christos ac58fd7ef4 Fix sighandler signature. 1997-05-17 15:48:50 +00:00
thorpej 5ab89821de Use sigemptyset() rather than frobbing the sa_mask directly. 1996-06-23 22:08:43 +00:00
thorpej c479d69ad9 Copyright assigned to The NetBSD Foundation. 1996-02-28 01:13:20 +00:00
thorpej dcbb2c500e A screen saver daemon for Sun 3 and SPARC machines, similar to the SunOS
program of the same name.
1995-07-12 04:57:47 +00:00