| 1 |
.TH SCREENDUMP 1 "2002-02-24" "kbd" |
| 2 |
|
| 3 |
.SH NAME |
| 4 |
screendump \- dump the contents of a virtual console to stdout |
| 5 |
|
| 6 |
.SH SYNOPSIS |
| 7 |
.B screendump |
| 8 |
[\fI\,options\/\fR] |
| 9 |
[\fI\,N\/\fR] |
| 10 |
|
| 11 |
.SH DESCRIPTION |
| 12 |
The |
| 13 |
.B screendump |
| 14 |
command dumps the contents of virtual console |
| 15 |
.B N |
| 16 |
, (or the current console if N is omitted) |
| 17 |
to standard out. |
| 18 |
|
| 19 |
Just saying |
| 20 |
.RS |
| 21 |
cat /dev/vcsN |
| 22 |
.RE |
| 23 |
has a similar effect. |
| 24 |
|
| 25 |
.SH OPTIONS |
| 26 |
.TP |
| 27 |
\fB\-V\fR, \fB\-\-version\fR |
| 28 |
print version number. |
| 29 |
.TP |
| 30 |
\fB\-h\fR, \fB\-\-help\fR |
| 31 |
print this usage message. |
| 32 |
|
| 33 |
.SH NOTES |
| 34 |
For security reasons, |
| 35 |
.B screendump |
| 36 |
uses linux devices "virtual console screen" and |
| 37 |
"virtual console screen with attributes" to give access for screendump. |
| 38 |
.P |
| 39 |
Ensure these files exist, using |
| 40 |
.LP |
| 41 |
.RS |
| 42 |
cd /dev |
| 43 |
for i in 0 1 2 3 ...; do |
| 44 |
.br |
| 45 |
mknod vcs$i c 7 $i |
| 46 |
.br |
| 47 |
mknod vcsa$i c 7 `expr 128 + $i` |
| 48 |
.br |
| 49 |
done |
| 50 |
.RE |
| 51 |
|
| 52 |
(filling in the ellipses) and give the device files appropriate |
| 53 |
permissions, or run |
| 54 |
.B screendump |
| 55 |
as root. |
| 56 |
|
| 57 |
.SH AUTHORS |
| 58 |
Andries Brouwer <[email protected]> |
| 59 |
.BR |
| 60 |
Manpage by Alastair McKinstry <[email protected]> |
| 61 |
|
| 62 |
.SH SEE ALSO |
| 63 |
.BR setterm (1) |