1savetextmode(1) Svgalib User Manual savetextmode(1)
2
3
4
6 savetextmode, textmode - save or restore the complete SVGA status for
7 textmode.
8
10 savetextmode
11 textmode
12
13
15 These are simple scripts to save the SVGA register state when in
16 textmode to the files /etc/vga/fontdata and /etc/vga/textregs
17 ($HOME/.vga/fontdata and $HOME/.vga/textregs if directory /etc/vga is
18 not writeable) or to restore it from these files.
19
20 The actual utilities used are restorefont(1), restoretextmode(1), and
21 restorepalette(1).
22
23 The purpose of these scripts program is usually to recover from a
24 crashed console due to an svgalib, Xfree or other program bug.
25
26 You do this by being a smart guy and running savetextmode right after
27 booting of your machine, prior to any problems. Then, in case the SVGA
28 state is hosed and you sit in front of a blank or useless console,
29 change VC (maybe login) to get to a shell. Or exist the currently run‐
30 ning program with <Ctrl>-C, <Ctrl>-<Alt>-<Backspace>, or whatever
31 applies. Once you got a shell, run textmode and it will hopefully ren‐
32 der your console useable again.
33
34 To make it clear: You do all this while not seeing anything on your
35 console screen, you enter this information blindly or after logging in
36 from a network. Also, if the keyboard is left in raw mode, nothing can
37 really help you as you cannot enter anything which a shell will under‐
38 stand.
39
40
42 /etc/vga/fontdata or $HOME/.vga/fontdata
43 /etc/vga/textregs or $HOME/.vga/textregs
44
45
47 svgalib(7), vgagl(7), libvga.config(5), dumpreg(1), convfont(1),
48 fix132x43(1), restorefont(1), restoretextmode(1), restorepalette(1),
49 runx(1), setmclk(1),
50
52 This manual page was edited by Michael Weller <eowmob@exp-math.uni-
53 essen.de>. The exact source of the referenced utility as well as of the
54 original documentation is unknown.
55
56 It is very likely that both are at least to some extent are due to Harm
57 Hanemaayer <H.Hanemaayer@inter.nl.net>.
58
59 Occasionally this might be wrong. I hereby asked to be excused by the
60 original author and will happily accept any additions or corrections to
61 this first version of the svgalib manual.
62
63
64
65Svgalib (>= 1.2.11) 2 Aug 1997 savetextmode(1)