printscreen in SCO xenix
Bob Willey
bob at consult.UUCP
Mon Aug 7 03:31:09 AEST 1989
In article <437 at holston.UUCP> barton at holston.UUCP (barton) writes:
>anyone successfully gotten a printscreen-like
>function to work on a sco xenix console?
This was found on the SCO SOS BBS.
How do I get a console screen dump?
Give the following command, all on one line:
stty -echo ixon ixoff -ixany; /bin/echo '\033[2i' ;
cat > screen.out ; stty sane
...
Then wait approx. 10 seconds and type <ctrl>-d. The output
is a file in the current directory called 'screen.out'.
If desired, this command can be put into a shell script, as shown below.
...
oldstty='stty -g'
stty -echo ixon ixoff -ixany; /bin/echo '\033[2i' ;
head -24 >> screen.out ; stty $oldstty
...
Hope this helps.
--
.. Computer Consulting Service .. Bob Willey ..
.. P.O. Drawer 1690 .. uunet!consult!bob ..
.. Easton, Maryland 21601 .. (301) 820-4670 ..
...............................................................
More information about the Comp.unix.xenix
mailing list