Screen Dumps
Bob Willey
bob at consult.UUCP
Mon Oct 15 05:45:51 AEST 1990
Subject: screen dump
# Bourne sheel script to write the screen
# to standard output
#
# zdump > file
# zdump | lp
#
# are good examples of how to use this
#
stty -echo ixon
/bin/echo '\033[2i' 1>&2
cat - | {
while read a
do
echo $a
done
}
stty echo
This appears to work, BUT:
We have to abort to end, and the tty need to be reset - stty echo
to get the echo back.
--
>.. CCS Enterprises, Inc. .. Bob Willey, CDP ..<
>.. P.O. Drawer 1690 .. uunet!consult!bob ..<
>.. Easton, Maryland 21601 .. (301) 820-4670 ..<
>.......................BBS: (301) 476-5098.....................<
More information about the Comp.unix.questions
mailing list