xref: /netbsd/usr.sbin/screenblank/screenblank.1 (revision d1407362)
1*d1407362Sgarbled.\"	$NetBSD: screenblank.1,v 1.5 1999/03/22 18:44:08 garbled Exp $
2dcbb2c50Sthorpej.\"
3c479d69aSthorpej.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
4dcbb2c50Sthorpej.\" All rights reserved.
5dcbb2c50Sthorpej.\"
6c479d69aSthorpej.\" This code is derived from software contributed to The NetBSD Foundation
7c479d69aSthorpej.\" by Jason R. Thorpe.
8c479d69aSthorpej.\"
9dcbb2c50Sthorpej.\" Redistribution and use in source and binary forms, with or without
10dcbb2c50Sthorpej.\" modification, are permitted provided that the following conditions
11dcbb2c50Sthorpej.\" are met:
12dcbb2c50Sthorpej.\" 1. Redistributions of source code must retain the above copyright
13dcbb2c50Sthorpej.\"    notice, this list of conditions and the following disclaimer.
14dcbb2c50Sthorpej.\" 2. Redistributions in binary form must reproduce the above copyright
15dcbb2c50Sthorpej.\"    notice, this list of conditions and the following disclaimer in the
16dcbb2c50Sthorpej.\"    documentation and/or other materials provided with the distribution.
17dcbb2c50Sthorpej.\" 3. All advertising materials mentioning features or use of this software
18dcbb2c50Sthorpej.\"    must display the following acknowledgement:
19c479d69aSthorpej.\"        This product includes software developed by the NetBSD
20c479d69aSthorpej.\"        Foundation, Inc. and its contributors.
21c479d69aSthorpej.\" 4. Neither the name of The NetBSD Foundation nor the names of its
22c479d69aSthorpej.\"    contributors may be used to endorse or promote products derived
23c479d69aSthorpej.\"    from this software without specific prior written permission.
24dcbb2c50Sthorpej.\"
25c479d69aSthorpej.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
26c479d69aSthorpej.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
27c479d69aSthorpej.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
2887f4ccd4Sjtc.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
2987f4ccd4Sjtc.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30c479d69aSthorpej.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31c479d69aSthorpej.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32c479d69aSthorpej.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33c479d69aSthorpej.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34c479d69aSthorpej.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35c479d69aSthorpej.\" POSSIBILITY OF SUCH DAMAGE.
36dcbb2c50Sthorpej.\"
37dcbb2c50Sthorpej.Dd June 7, 1995
38dcbb2c50Sthorpej.Dt SCREENBLANK 1
39*d1407362Sgarbled.Os
40dcbb2c50Sthorpej.Sh NAME
41dcbb2c50Sthorpej.Nm screenblank
42dcbb2c50Sthorpej.Nd screen saver daemon for the Sun 3 and SPARC
43dcbb2c50Sthorpej.Sh SYNOPSIS
44dcbb2c50Sthorpej.Nm screenblank
45dcbb2c50Sthorpej.Op Fl k | Fl m
46dcbb2c50Sthorpej.Op Fl d Ar timeout
47dcbb2c50Sthorpej.Op Fl e Ar timeout
48dcbb2c50Sthorpej.Op Fl f Ar framebuffer
49dcbb2c50Sthorpej.Sh DESCRIPTION
50dcbb2c50Sthorpej.Nm Screenblank
51dcbb2c50Sthorpejdisables the framebuffer if the keyboard and mouse are idle for a period
52dcbb2c50Sthorpejof time, and re-enables the framebuffer when keyboard or mouse activity
53dcbb2c50Sthorpejresumes.
54dcbb2c50Sthorpej.Pp
55dcbb2c50SthorpejWhen killed with a SIGINT, SIGHUP, or SIGTERM,
56dcbb2c50Sthorpej.Nm screenblank
57dcbb2c50Sthorpejwill re-enable the framebuffer.  The pid can be found in the file
58dcbb2c50Sthorpej.Pa /var/run/screenblank.pid .
59dcbb2c50Sthorpej.Pp
60dcbb2c50SthorpejThe options are as follows:
61dcbb2c50Sthorpej.Bl -tag -width indent
62dcbb2c50Sthorpej.It Fl k
63dcbb2c50SthorpejDo not check the keyboard for activity.
64dcbb2c50Sthorpej.It Fl m
65dcbb2c50SthorpejDo not check the mouse for activity.
66dcbb2c50Sthorpej.It Fl d Ar timeout
67dcbb2c50SthorpejWait the number of seconds specified by
68dcbb2c50Sthorpej.Ar timeout ,
69dcbb2c50Sthorpejexpressed in the format `xxx.xxx', before disabling the framebuffer due to
70dcbb2c50Sthorpejinactivity.  The default is 600 seconds (10 minutes).
71dcbb2c50Sthorpej.It Fl e Ar timeout
72dcbb2c50SthorpejWait the number of seconds specified by
73dcbb2c50Sthorpej.Ar timeout ,
74dcbb2c50Sthorpejexpressed in the format `xxx.xxx', before re-enabling the framebuffer once
75dcbb2c50Sthorpejactivity resumes.  The default is .25 seconds.
76dcbb2c50Sthorpej.It Fl f Ar framebuffer
77dcbb2c50SthorpejUse the framebuffer device
78dcbb2c50Sthorpej.Ar framebuffer
79dcbb2c50Sthorpejinstead of the default
80dcbb2c50Sthorpej.Pa /dev/fb .
81dcbb2c50Sthorpej.El
82dcbb2c50Sthorpej.Pp
83dcbb2c50SthorpejNote that the
84dcbb2c50Sthorpej.Fl k
85dcbb2c50Sthorpejand
86dcbb2c50Sthorpej.Fl m
87dcbb2c50Sthorpejflags are mutually exclusive.
88dcbb2c50Sthorpej.Sh FILES
89dcbb2c50Sthorpej.Bl -tag -width "/var/run/screenblank.pid  "
90dcbb2c50Sthorpej.It /dev/kbd
91dcbb2c50SthorpejThe keyboard device.
92dcbb2c50Sthorpej.It /dev/mouse
93dcbb2c50SthorpejThe mouse device.
94dcbb2c50Sthorpej.It /dev/console
95dcbb2c50SthorpejThe console device.
96dcbb2c50Sthorpej.It /dev/fb
97dcbb2c50SthorpejThe default framebuffer.
98dcbb2c50Sthorpej.It /var/run/screenblank.pid
99dcbb2c50SthorpejFile containing the pid of
100dcbb2c50Sthorpej.Nm screenblank .
101dcbb2c50Sthorpej.El
102