Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/screenblank Offer a potential workaround to the cav...



details:   https://anonhg.NetBSD.org/src/rev/9b6c8a11ca72
branches:  trunk
changeset: 840522:9b6c8a11ca72
user:      sevan <sevan%NetBSD.org@localhost>
date:      Mon Apr 08 20:18:14 2019 +0000

description:
Offer a potential workaround to the caveat.

diffstat:

 usr.sbin/screenblank/screenblank.1 |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 9a2facc599f6 -r 9b6c8a11ca72 usr.sbin/screenblank/screenblank.1
--- a/usr.sbin/screenblank/screenblank.1        Mon Apr 08 18:50:52 2019 +0000
+++ b/usr.sbin/screenblank/screenblank.1        Mon Apr 08 20:18:14 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: screenblank.1,v 1.17 2018/12/29 18:34:59 wiz Exp $
+.\"    $NetBSD: screenblank.1,v 1.18 2019/04/08 20:18:14 sevan Exp $
 .\"
 .\" Copyright (c) 1996-2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd December 28, 2018
+.Dd April 8, 2019
 .Dt SCREENBLANK 1
 .Os
 .Sh NAME
@@ -125,3 +125,9 @@
 and/or
 .Cm nodevmtime
 options, it will not function as expected.
+A possible workaround is to use a script as such:
+.Bd -literal -offset indent
+#!/bin/sh
+/usr/sbin/screenblank -d 0 -e 0 && read
+/usr/bin/pkill screenblank
+.Ed



Home | Main Index | Thread Index | Old Index