Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ screenblank(1) — OS/MP 4.1C

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lockscreen(1)

sunview(1)

SCREENBLANK(1)  —  USER COMMANDS

NAME

screenblank − turn off the screen when the mouse and keyboard are idle

SYNOPSIS

screenblank [ −m ] [ −k ] [ −d interval ] [ −e interval ] [ −f frame-buffer ] [ −u unit ]

DESCRIPTION

screenblank turns off the display when the mouse and keyboard are idle for an extended period (the default is 10 minutes).  screenblank will continue to run until killed by hand, using ‘kill processid’.

Place the screenblank command in your /etc/rc.local file. 

OPTIONS

−m Do not check whether the mouse has been idle. 

−k Do not check whether the keyboard has been idle. 

−d interval
Disable after interval seconds.  interval is a number of the form xxx.xxx where each x is a decimal digit.   The default is 600 seconds (10 minutes). 

−e interval
Enable within interval seconds.  interval is the time between successive polls for keyboard or mouse activity.  If a poll detects keyboard or mouse activity, the display is resumed.  interval is a number of seconds, of the form xxx.xxx where each x is a  decimal digit.  The default is 0.25 seconds. 

−f frame-buffer
frame-buffer is the path name of the frame-buffer on which video disabling/enabling applies.  The defaults is /dev/fb. 

−u unit
unit selects the console, keyboard, and mouse devices monitored by screenblank.  This option is valid only if the default console is a serial port, in which case it is required. unit may be either 1, 2, or 3, thereby selecting /dev/ttyc1, /dev/ttyc2, or /dev/ttyc3, respectively, as the secondary console to blank. 

FILES

/dev/fb

SEE ALSO

lockscreen(1), sunview(1)

BUGS

screenblank only checks /dev/console for activity; it does not check non-window programs from /dev/tty which bypass /dev/console .  Consequently, screenblank will turn off the display if /dev/tty programs (for example, pixrect-based programs) are the only ones running. 

When not running sunview(1), only the RETURN key resumes video display. 

Solbourne Computer, Inc.  —  2 Jan 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026