Annotation of wikisrc/tutorials/how_to_blank_the_screen_on_the_console.mdwn, revision 1.1
1.1 ! mspo 1: To blank your screen on the console, the command [screenblank(1)](http://netbsd.gw.com/cgi-bin/man-cgi?screenblank+1+NetBSD-current) is what you need. It is part of the base system, so you don't need to install it.
! 3: # screenblank
! 6: This will activate blanking with a default of 600 Seconds (10 Minutes). If you wish to activate it in another time interval use the -d Option.
! 8: # screenblank -d 300
! 11: # Known Problems
! 13: If you are using screenblank on a filesystem that is mounted with noatime/nodevmtime (such as a system running off of a compact flash card), screenblank will not properly time out when you set -d, nor will it receive keyboard inputs to wake. Often on small devices that do not have a hardware method of turning off the screen, this can be problematic and actually lock you out of a session until you reboot. Thus, the following is a known "safe" method for blanking a small devices screen even with noatime/nodevmtime:
! 15: #!/bin/sh
! 16: /usr/sbin/screenblank -d 0 -e 0 && read
! 17: /usr/bin/pkill screenblank
! 20: # Additional Information
! 22: * [screenblank(1)](http://netbsd.gw.com/cgi-bin/man-cgi?screenblank+1+NetBSD-current) Manpage
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb