Automatic Screen Blanking for the Login Console

Andy Peterman andyp at treehouse.UUCP
Fri Oct 19 15:38:06 AEST 1990


In article <27224 at shamash.cdc.com> jdh at punjab.udev.cdc.com () writes:
>I have found a kludgy way to get my screen blanker to automatically
>take effect when the login console is up.  We all know ........

...(some code shown here)

>This causes a dialog box to appear on the screen telling the user that
>console messages are availble.  If no one clicks the OK button, the blanker
>will turn on after its normal wait for inactivity.  Luckily, A/UX only 
>queues up two of these dialog boxes so you do not have to click several
>hundred OKs after leaving the system idle for a few hours.

Beware that this will chew up about 50% of your processor time.  Waiting
for something to happen in a modal dialog seems to use a lot of overhead.
If you have any other processes or other ways to login (such as using a
dialup or dialing out with cron), you'll find things going REAL slow.
If nothing else is going on, then it shouldn't matter.

-- 
Andy Peterman                       |   Opinions expressed
treehouse!andyp at gvgpsa.gvg.tek.com  | are definitely those of
(916) 273-4569                      |      my employer!



More information about the Comp.unix.aux mailing list