thostr@stud.cs.uit.no (Thomas Strandenaes) (06/07/91)
Is there a screen blanker available for SCO Xenix 386 (2.2.3) somewhere? If so, I'd be happy if anyone cared to either send it to me or otherwise tell me how to get it. Also, are there anon-ftp sites with Xenix specific source code around? What happended to 'sir-alan' - they promised a anonftp site this side of 1991? -- //// Thomas Strandenaes |e-mail : thostr@stud.cs.uit.no /// ///Dept. of Computer Science, University| bang : /// //of Tromsoe, N-9000 TROMSOE, NORWAY |Phone : +47-8383332 // / "What's the meaning of life?" | "42 of course." /
bob@consult.UUCP (Bob Willey) (06/10/91)
In article <1991Jun6.205517.10479@mack.uit.no> thostr@stud.cs.uit.no (Thomas Strandenaes) writes: >Is there a screen blanker available for SCO Xenix 386 (2.2.3) somewhere? >If so, I'd be happy if anyone cared to either send it to me or otherwise >tell me how to get it. Since this has come up several times recently, I have posted it for general usage. This was gotten from the net, and the original author is quoted in the following: The following script will do it (in a simple way). Just add it to your crontab file to call it every five minutes. ------------------------ cut here -------------------------- : # screen saver for sco console # # Published on the net by Chip Rosenthel # # use who -u for logged in screens # use who -a for all active screens who -u | awk '{ tty=$2 # basename of tty idle=$6 # time idle in "hh:mm" if ( tty !~ /^tty[01][0-9]$/ || idle == "." || tty == "tty01" ) next # skip non-console & non-idle terms n = split(idle,x,":") if ( x[1] * 60 + x[2] > 15 ) # print tty if idle > 15 mins print tty }' | while read tty ; do echo "\f" > /dev/$tty ; done -- Jonathan Bayer Intelligent Software Products, Inc. -- >.. CCS Enterprises, Inc. .. Bob Willey, CDP ..< >.. P.O. Drawer 1690 .. uunet!consult!bob ..< >.. Easton, Maryland 21601 .. (301) 820-4670 ..< >.......................BBS: (301) 476-5098.....................<