summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-tumbleweed/man1/screendump.1
blob: e70f20fccd2fe49f7b5abc49c1c2488a01d26421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.TH SCREENDUMP 1 "2002-02-24" "kbd"

.SH NAME
screendump \- dump the contents of a virtual console to stdout

.SH SYNOPSIS
.B screendump 
[
.I N
]

.SH DESCRIPTION
The
.B screendump
command dumps the contents of virtual console 
.B N
, (or the current console if N is omitted)
to standard out.

Just saying
.RS
cat /dev/vcsN
.RE
has a similar effect.

.SH NOTES
For security reasons,
.B screendump
uses linux devices "virtual console screen" and 
"virtual console screen with attributes" to give access for screendump.
.P
Ensure these files exist, using
.LP
.RS
cd /dev
for i in 0 1 2 3 ...; do
.br
	mknod vcs$i c 7 $i
.br
	mknod vcsa$i c 7 `expr 128 + $i`
.br
done
.RE

(filling in the ellipses) and give the device files appropriate
permissions, or run 
.B screendump
as root.

.SH SEE ALSO
.BR setterm (1)

.\" .SH AUTHORS
.\" Andries Brouwer <aeb@cwi.nl>
.\" .br
.\" Manpage by Alastair McKinstry <mckinstry@computer.org>