Module Name: src Committed By: sevan Date: Mon Apr 8 20:18:15 UTC 2019
Modified Files: src/usr.sbin/screenblank: screenblank.1 Log Message: Offer a potential workaround to the caveat. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/screenblank/screenblank.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/screenblank/screenblank.1 diff -u src/usr.sbin/screenblank/screenblank.1:1.17 src/usr.sbin/screenblank/screenblank.1:1.18 --- src/usr.sbin/screenblank/screenblank.1:1.17 Sat Dec 29 18:34:59 2018 +++ src/usr.sbin/screenblank/screenblank.1 Mon Apr 8 20:18:14 2019 @@ -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 @@ If the devices are on a file system moun 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