1 .\" $NetBSD: screenblank.1,v 1.14 2006/09/23 20:23:14 wiz Exp $
3 .\" Copyright (c) 1996-2002 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" This code is derived from software contributed to The NetBSD Foundation
7 .\" by Jason R. Thorpe.
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions
12 .\" 1. Redistributions of source code must retain the above copyright
13 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
18 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 .\" POSSIBILITY OF SUCH DAMAGE.
30 .Dd September 23, 2006
35 .Nd screen saver daemon for wscons and FBIO machines
39 .Op Fl d Ar inactivity-timeout
40 .Op Fl e Ar wakeup-delay
41 .Op Fl f Ar framebuffer
42 .Op Fl i Ar input-device
47 disables the framebuffer if the keyboard and mouse are idle for a period
48 of time, and re-enables the framebuffer when keyboard or mouse activity
51 When killed with a SIGINT, SIGHUP, or SIGTERM,
53 will re-enable the framebuffer.
54 The pid can be found in the file
55 .Pa /var/run/screenblank.pid .
57 The options are as follows:
58 .Bl -tag -width indent
60 Overriding the other options, simply try (once) to blank the
61 framebuffer, then exit.
62 .It Fl d Ar inactivity-timeout
63 Wait the number of seconds specified by
64 .Ar inactivity-timeout ,
65 expressed in the format
67 before disabling the framebuffer due to inactivity.
68 The default is 600 seconds (10 minutes).
69 .It Fl e Ar wakeup-delay
70 Wait the number of seconds specified by
72 expressed in the format
74 before re-enabling the framebuffer once activity resumes.
75 The default is .25 seconds.
76 .It Fl f Ar framebuffer
77 Use the framebuffer device
79 instead of the default
81 .It Fl i Ar input-device
84 to the list of devices to monitor for activity.
86 Do not check the keyboard for activity.
88 Do not check the mouse for activity.
90 Overriding the other options, simply try (once) to unblank the
91 framebuffer, then exit.
98 flags are mutually exclusive.
100 .Bl -tag -width "/var/run/screenblank.pid "
108 The default framebuffer.
110 The keyboard for wscons machines.
112 The mouse device for wscons machines.
114 The console device for wscons machines.
115 .It /var/run/screenblank.pid
116 File containing the pid of