Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!sgi!duncan@spectre.vlsi.sgi.com From: duncan@spectre.vlsi.sgi.com (Donald Duncan) Newsgroups: comp.os.minix Subject: Re: Screen blankers Summary: screen blanker implemented Message-ID: <73038@sgi.sgi.com> Date: 23 Oct 90 22:43:00 GMT References: <12681@chaph.usc.edu> <72802@sgi.sgi.com> Sender: guest@sgi.sgi.com Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 258 In article <12681@chaph.usc.edu>, kjh@nunki.usc.edu (Kenneth J. Hendrickson) writes: > Has anybody implemented a screen blanker for Minix? I've done some > thinking about it, and I think it would require just a small amount of > code in the keyboard and screen device driver in the kernel. If nobody > has done it yet, and nobody will do it before Christmas, then maybe I'll > get around to it then. If somebody has done it, please let me (and the > net) know. Thanks. > > Ken Hendrickson N8DGN/6 kjh@usc.edu ...!uunet!usc!pollux!kjh > Here is a uuencoded tar file for pc minix 1.5: kernel/{clock.c,keyboard.c,console.c,const.h,glo.h}.cdif The screen blanks after about 5 minutes of keyboard inactivity. The screen is restored by typing any key. You can change the timeout value by modifying DISPLAY_TIMEOUT in kernel/const.h . Send mail if you have difficulties. --snip snip-- begin 664 cdif.uue M8VQO8VLN8RYC9&EF```````````````````````````````````````````` M```````````````````````````````````````````````````````````` M`````````````"`@(#8V-"``("`R,C`P(``@("`@,3(@`"`@("`@("`R-32!L;W<@;&5V96P@;VYL>2`J+PH@(%!2 M259!5$4@=&EM95]T(')E86QT:6UE.PDO*B!R96%L('1I;64@8VQO8VL@*B\* M*R!054),24,@=&EM95]T(&1IBX@*B\*("`**R`@(&1I71I;64@/2!D=&EM96]U=#L*("`)='1Y7V5V96YT#!&1D8)+RH@;6%S:R!F;W(@(#1+('9I9&5O(%)!32`J+PH@("-D969I;F4@ M0U]2151204-%("`@("`P>#`S,#`)+RH@:&]W(&UA;GD@8VAA#-",`DO*B!P;W)T(&9O#-$.`DO*B!C;VQO MF4@#`W,#`[("\J(&1IPHK8V]N7,O:V5R;F5L+V=L;RYH"51U92!/8W0@,C,@,30Z,CF5R;R!I9B!C M;VYS;VQE(&ES($5'02`J+PH@($585$523B!I;G0@2!P2!T:6UE;W5T('1I;65R("HO"BL@15A415).('1I;65?="!D=&EM M96]U=#L)"2\J(&1IF5S+B`J+PH@($585$523B!U;G-I9VYE M9"!E>'1?;65M71I;64["0DO*B!D:7-P;&%Y('1I;65O=70@=&EM97(@*B\**R!% M6%1%4DX@=&EM95]T(&1T:6UE;W5T.PD)+RH@9&ES<&QA>2!T:6UE;W5T('1I M;65R("HO"BL@15A415).('9O:0`````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` 9```````````````````````````````````` ` end --snip snip-- ---------------------------- ~Don WB6QMS duncan@sgi.com