Commit Graph

39 Commits

Author SHA1 Message Date
uwe
d2af0aadf3 Handle -b/-u after default display device is added, otherwise
change_state() is called while ds_list is still empty (unless a
display device was specificed with -f).

This makes -b/-u actually work.
2006-09-24 01:57:03 +00:00
wiz
8651a9dfe6 Sync usage with manpage. 2006-09-23 20:26:25 +00:00
wiz
411b866d61 Sort options. Use more macros.
Add a separate line for {-b|-u}
2006-09-23 20:23:14 +00:00
elad
741d9f3bf8 PR/34305: screenblank could be more useful
Slightly different patch applied (1.4T is not the same as -current :)
Thanks!
2006-09-23 20:12:15 +00:00
peter
a54786194c Use the LIST_FOREACH macros. 2005-11-11 15:14:24 +00:00
christos
845189a2e2 Consider framebuffers in text emulation mode as regular ttys. Should fix
a few PRs.
2004-11-25 20:23:36 +00:00
christos
8526cbfc67 WARNS=3 2004-11-25 20:23:09 +00:00
dsl
9122339b9f Add (unsigned char) cast to ctype functions 2004-10-30 15:39:39 +00:00
jmmv
b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +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
mycroft
7fa9b49281 select() -> nanosleep() 2002-09-19 02:59:20 +00:00
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
wiz
a2d753e3ef Whitespace nits. 2002-01-19 11:44:57 +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
lukem
279552d3db fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
  e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
  using `.Nm ""' if there's stuff following, or for the 2nd and so on
  occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
is
7637a1f341 Reflect the recent support of wscons. 1999-08-16 20:10:37 +00:00
is
2cd7cc3fc5 Add missing Amiga to the list of architectures supported. 1999-08-16 17:44:43 +00:00
thorpej
bcd4659148 Use pidfile(3). 1999-06-06 03:27:35 +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
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
lukem
f5bf267d90 enable WARNS=1 by default, but disable in unclean 3rd party code 1997-10-18 06:42:25 +00:00
jeremy
fe56753f5e Add sun3x to the list of machines using this program. 1997-09-24 07:22:37 +00:00
jtc
87f4ccd45f Fix files using old TNF copyright notice 1997-07-30 22:53:50 +00:00
thorpej
865d47e9aa Add argument to .OS macro. 1997-07-23 20:27:16 +00:00
thorpej
d44f4bba41 Build with WARNS. 1997-07-23 20:23:16 +00:00
thorpej
35a6561e44 __RCSID()/__COPYRIGHT()/prototype police. 1997-07-23 20:22:48 +00:00
mrg
0553741950 move man pages into share/man. 1997-06-23 04:51:16 +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