Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!rpi!crdgw1!sixhub!davidsen From: davidsen@sixhub.UUCP (Wm E. Davidsen Jr) Newsgroups: comp.unix.i386 Subject: Re: Screen blanking for SCO SYS V Keywords: SCO UNIX, screenblank, graphics Message-ID: <1333@sixhub.UUCP> Date: 22 Jul 90 20:49:38 GMT References: <611@inpnms.ROCKVILLE.DG.COM> Reply-To: davidsen@sixhub.UUCP (bill davidsen) Distribution: usa Organization: *IX Public Access UNIX, Schenectady NY Lines: 32 In article <611@inpnms.ROCKVILLE.DG.COM> smith@rockville.dg.com (R. Smith) writes: | Does a screen blanking program exist for SCO's multiscreens? This blanker | must blank the screen (or place a randomly moving entity thereon) after | a period of inactivity. It must do this to the visible multiscreen. It must | do this when NO ONE is logged in (i.e., a daemon process -- any other way | requiring a constant logged-in state is fairly simple to implement but is | NOT what I'm looking for). Mine is burried in another script, but let me give you the details of how I did it, and you can roll your own in about five minutes. 1. To find the idle time on all consoles, use "who -u" 2. You're going to have to sacrifice a multiscreen. Set the cursor height to none with a cursor starting on line 14 and ending on line 10. Clear the screen with a "\f" echo in the rc file, and disable the getty on it. 3. When you setect that the system consoles have been idle too long, switch to the blank multiscreen with the echo "\033[##z" where ## is the screen you blanked earlier. I switch manually lots of times, for instance if someone walks into my office while I'm working on proprietary material, salary data, performance appraisals, etc. ie. the blank screen is useful (to me) without the blanker. -- bill davidsen - davidsen@sixhub.uucp (uunet!crdgw1!sixhub!davidsen) sysop *IX BBS and Public Access UNIX moderator of comp.binaries.ibm.pc and 80386 mailing list "Stupidity, like virtue, is its own reward" -me