X N\010N\010N\010NA\010A\010A\010AM\010M\010M\010ME\010E\010E\010E
X sb2 - blank console screen when not in use
X
X S\010S\010S\010SY\010Y\010Y\010YN\010N\010N\010NO\010O\010O\010OP\010P\010P\010PS\010S\010S\010SI\010I\010I\010IS\010S\010S\010S
X sb2 [ options ]
X
X D\010D\010D\010DE\010E\010E\010ES\010S\010S\010SC\010C\010C\010CR\010R\010R\010RI\010I\010I\010IP\010P\010P\010PT\010T\010T\010TI\010I\010I\010IO\010O\010O\010ON\010N\010N\010N
X s\010s\010s\010sb\010b\010b\010b2\0102\0102\0102 is a program which blanks the console screen after
X inactivity. It uses the SCO specific extensions to ANSI
X escapes, but could be modified to use ioctl on other
X systems. One vterm will be selected and blanked, and
X therefore may not have a getty active on it.
X
X After the screen is blanked, when activity resumes of _\010a_\010n_\010y
X vterm (see the -i option), the most recently active vterm
X will be selected and displayed. Then screen blanking will
X resume as before.
X
X O\010O\010O\010Op\010p\010p\010pt\010t\010t\010ti\010i\010i\010io\010o\010o\010on\010n\010n\010ns\010s\010s\010s
X -\010-\010-\010-t\010t\010t\010t_\010N timeout after N minutes (default 10)
X
X -\010-\010-\010-r\010r\010r\010r_\010N when blanked check for activity
X every N sec (default 90)
X
X -\010-\010-\010-b\010b\010b\010b_\010N blank to vterm N (default 7)
X
X -\010-\010-\010-i\010i\010i\010i_\010l_\010i_\010s_\010t Ignore activity on vterms in _\010l_\010i_\010s_\010t,
X comma separated. This is useful when
X one vterm is displaying periodic
X information, when you wish to check
X only when of interest.
X
X I\010I\010I\010In\010n\010n\010ns\010s\010s\010st\010t\010t\010ta\010a\010a\010al\010l\010l\010ll\010l\010l\010la\010a\010a\010at\010t\010t\010ti\010i\010i\010io\010o\010o\010on\010n\010n\010n
X Select a vterm and insure that there is no getty on it. The
X default vterm is tty07, although that may be changed. Edit
X the makefile where indicated and make. After testing make
X install as root.
X
X E\010E\010E\010EX\010X\010X\010XA\010A\010A\010AM\010M\010M\010MP\010P\010P\010PL\010L\010L\010LE\010E\010E\010ES\010S\010S\010S
X sb2 -t15 # 15 minute timeout
X sb2 -b12 # blank screen on tty12
X sb2 -i5 # ignore tty05 activity
X
X F\010F\010F\010FI\010I\010I\010IL\010L\010L\010LE\010E\010E\010ES\010S\010S\010S
X /dev/tty01-12
X
X S\010S\010S\010SE\010E\010E\010EE\010E\010E\010E A\010A\010A\010AL\010L\010L\010LS\010S\010S\010SO\010O\010O\010O
X disable(C), console(M)
X
X D\010D\010D\010DI\010I\010I\010IA\010A\010A\010AG\010G\010G\010GN\010N\010N\010NO\010O\010O\010OS\010S\010S\010ST\010T\010T\010TI\010I\010I\010IC\010C\010C\010CS\010S\010S\010S
X Error message only.
X
X
X
X
X Page 1 (printed 11/14/90)
X
X
X
X
X
X
X s\010s\010s\010sb\010b\010b\010b2\0102\0102\0102(\010(\010(\010(L\010L\010L\010LO\010O\010O\010OC\010C\010C\010CA\010A\010A\010AL\010L\010L\010L)\010)\010)\010) X\010X\010X\010XE\010E\010E\010EN\010N\010N\010NI\010I\010I\010IX\010X\010X\010X S\010S\010S\010Sy\010y\010y\010ys\010s\010s\010st\010t\010t\010te\010e\010e\010em\010m\010m\010m V\010V\010V\010V (\010(\010(\010(L\010L\010L\010Lo\010o\010o\010oc\010c\010c\010ca\010a\010a\010al\010l\010l\010l)\010)\010)\010) s\010s\010s\010sb\010b\010b\0
X L\010L\010L\010LI\010I\010I\010IM\010M\010M\010MI\010I\010I\010IT\010T\010T\010TA\010A\010A\010AT\010T\010T\010TI\010I\010I\010IO\010O\010O\010ON\010N\010N\010NS\010S\010S\010S
X Doesn't check ttys higher than 12 if you diddle your config.
X May not work if run from rc.d files rather than from a login
X session.
X
X A\010A\010A\010AU\010U\010U\010UT\010T\010T\010TH\010H\010H\010HO\010O\010O\010OR\010R\010R\010R
X Bill Davidsen, davidsen@crdos1.crd.ge.com
X
X C\010C\010C\010Co\010o\010o\010op\010p\010p\010py\010y\010y\010yr\010r\010r\010ri\010i\010i\010ig\010g\010g\010gh\010h\010h\010ht\010t\010t\010t
X Copyright (c) 1990 by Bill Davidsen, all rights reserved.
X This program and documentation may be used and distributed
X without payment, provided that the copyright notices are
X left intact.
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X Page 2 (printed 11/14/90)
X
X
X
SHAR_EOF
chmod 0644 sb2.man || echo "restore of sb2.man fails"
exit 0
--
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