105 lines
1.9 KiB
HTML
105 lines
1.9 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of SCREENDUMP</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>SCREENDUMP</H1>
|
|
Section: Linux Console (1)<BR>Updated: 2002-02-24<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<P>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
screendump - dump the contents of a virtual console to stdout
|
|
<P>
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>screendump </B>
|
|
|
|
[
|
|
<I>N</I>
|
|
|
|
]
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
The
|
|
<B>screendump</B>
|
|
|
|
command dumps the contents of virtual console
|
|
<B>N</B>
|
|
|
|
, (or the current console if N is omitted)
|
|
to standard out.
|
|
<P>
|
|
Just saying
|
|
<DL COMPACT><DT id="1"><DD>
|
|
cat /dev/vcsN
|
|
</DL>
|
|
|
|
has a similar effect.
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>NOTES</H2>
|
|
|
|
For security reasons,
|
|
<B>screendump</B>
|
|
|
|
uses linux devices "virtual console screen" and
|
|
"virtual console screen with attributes" to give access for screendump.
|
|
<P>
|
|
|
|
Ensure these files exist, using
|
|
<P>
|
|
|
|
<DL COMPACT><DT id="2"><DD>
|
|
cd /dev
|
|
for i in 0 1 2 3 ...; do
|
|
<BR>
|
|
|
|
<TT> </TT>mknod vcs$i c 7 $i<BR>
|
|
<BR>
|
|
|
|
<TT> </TT>mknod vcsa$i c 7 `expr 128 + $i`<BR>
|
|
<BR>
|
|
|
|
done
|
|
</DL>
|
|
|
|
<P>
|
|
(filling in the ellipses) and give the device files appropriate
|
|
permissions, or run
|
|
<B>screendump</B>
|
|
|
|
as root.
|
|
<P>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?1+setterm">setterm</A>(1)
|
|
<P>
|
|
|
|
|
|
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="3"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="4"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="5"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="6"><A HREF="#lbAE">NOTES</A><DD>
|
|
<DT id="7"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:26 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|