Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!jarthur!nntp-server.caltech.edu!kanga!bchen From: bchen@kanga.caltech.edu (Bing-Qing Chen) Newsgroups: comp.sys.next Subject: Re: Burn-in fears (Real or Imaginary ?), Prevention ? Keywords: Burn-in, Monitors, Screen-saving, Insanity Message-ID: <1991Feb22.193234.9619@nntp-server.caltech.edu> Date: 22 Feb 91 19:32:34 GMT References: <2171@fornax.UUCP> Sender: news@nntp-server.caltech.edu Organization: California Institute of Technology, Pasadena Lines: 63 Nntp-Posting-Host: kanga In article <2171@fornax.UUCP> oneill@fornax.UUCP (Richard O'Neill) writes: >Some of our older NeXT machines have an after-image of the loginwindow >burned into their display. Its faint, but noticeable. I don't know whether >this was caused by behavour which is no longer exhibited by v2.0, but I have >noticed that at our site, running v2.0, loginwindow screens stay at "normal >intensity" for quite a while after logout before dimming to "reduced >intensity". Is there some way to > > a) Reduce the dimming time for the login window The following is a small program that will set the screen brightness to 0 when screen is auto-dimmed and restore to the previous brightness when screen is reactivated. It will maintain a preset auto-dim time even when loginwindow is running. - Bing Chen bchen@pooh.caltech.edu -------------------------------------------------------- /* * Usage: screensaver * Run when logged into console or run by root */ #import #import void main( int argc, char **argv) { int nb=0; int ob; int o_dim,c_dim; int ad_time=20400; int cad_time; int evs=open( "/dev/evs0", O_RDONLY); if ( evs == -1 ) { perror ("/dev/evs0"); exit(10); } if ( argc == 2 ) ad_time = atoi(argv[1])*4080; if ( ad_time < 4080 ) ad_time = 4080; ioctl(evs, EVSIOSADT, &ad_time); ioctl(evs, EVSIOCADS, &o_dim); ioctl(evs, EVSIOCB, &ob); while (1) { sleep(1); ioctl(evs,EVSIOCADS,&c_dim); ioctl(evs,EVSIOCADT, &cad_time); if ( cad_time != ad_time ) ioctl(evs, EVSIOSADT, &ad_time); if ( c_dim != o_dim ) { o_dim = c_dim; if ( c_dim ) { ioctl(evs, EVSIOCB, &ob); ioctl(evs, EVSIOSB, &nb); } else ioctl(evs, EVSIOSB, &ob); } } exit(0); } Brought to you by Super Global Mega Corp .com