#!/bin/sh
#
# Dim the screen to 0 and use pft to cover screen with a black window.
# Restore the screen to its original brightness after control-D is typed.
#
# John Garnett, 2/23/91
#
# PFTFILE must contain the full path name to black.pft
#
PFTFILE=/usr/local/ps/black.pft
#
dim 0
OLDVALUE=`echo $?`
pft -f $PFTFILE > /dev/null
# restore screen brightness to previous level
dim $OLDVALUE
exit 0
