Subject: Re: NetBSD-1.4 Beta - Screenblank
To: Graham Jenkins <c714553@vus415.telstra.com.au>
From: Perry E. Metzger <perry@piermont.com>
List: port-i386
Date: 05/03/1999 08:43:30
c714553@vus415.telstra.com.au (Graham Jenkins) writes:
> >> I have been trying to figure how to make the 'screenblank' utility
> >> work.  Is it actually supposed to work on Intel-386
> 
> > No.
> 
> Does that mean:
> a) Not in the BETA ?  or
> b) Not ever? - in which case - why is it there? 

Not ever -- it is for Suns and other machines where this is easy/feasible.

> And is there something else that does the 'screenblank' trick on
> Intel-386 boxes ?

Sure. If you are running X, just set the screen blank functionality to 
on.

Doing this in a generic way on a machine where the X server has
essentially direct access to the vga device without causing trouble
(things like your program and the X server stepping on each other) is
difficult from what I can tell. Suns have driver based framebuffer
support, which means the driver can mediate this access and provide an 
ioctl to blank the screen, which is what screenblank does IIRC.

Perry