Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!gatech!uflorida!mailer.cc.fsu.edu!prism!hydra!burns From: burns@gatech.edu (James E. Burns) Newsgroups: comp.sys.next Subject: Re: automatic screen dimming Message-ID: Date: 4 Dec 90 15:57:10 GMT References: <10533@helios.TAMU.EDU> <1001@nada.cs.utexas.edu> <12038@milton.u.washington.edu> Sender: news@prism.gatech.EDU Distribution: usa Organization: School of ICS, Georgia Tech Lines: 34 In-reply-to: cyliao@hardy.u.washington.edu's message of 30 Nov 90 19:43:04 GMT Since there has been a lot of traffic about how to dim the screen completely & quickly, I thought I might as well post this little hack (also appears in NUJ11). Put the following code into a file, say /me/hacks/Blackforeground. In Terminal (or Shell) type (or use an alias for): pft -f /me/hacks/Blackforeground (Note: full path name is required.) To quit, use Cntl-D (to end the expect keyboard input). -------clip here----- %! % BlackForeground -- James E. Burns, 11/4/90, burns@cc.gatech.edu % Clear the screen to black % Usage: pft -f % Exit : ^D % Note: must have full pathname 0 0 1120 832 Nonretained window windowdeviceround Above 0 currentwindow orderwindow 0 setgray 0 0 1120 832 rectfill ---------end of clipping----- -- James E. Burns Associate Professor (404) 894-3816 College of Computing, Georgia Tech, Atlanta GA 30332-0280 Internet : burns@CC.GATech.edu uucp: ...!{akgua,allegra,hplabs,ihnp4,linus,seismo,ulysses}!gatech!cc!burns