1runx(1)                       Svgalib User Manual                      runx(1)
2
3
4

NAME

6       runx  -  try  to  overcome problems of Xfree96 restoring textmode using
7       svgalib.
8

SYNOPSIS

10       runx
11
12

DESCRIPTION

14       If XFree86 corrupts your textmode font, try putting  restorefont(1)  in
15       your  path  and use the shell script runx to run X.  runx saves the VGA
16       font data in /tmp/fontdata, and restores it when you exit X.
17
18       The runx script actually is:
19
20              #!/bin/sh
21              echo Saving font in /tmp/fontdata
22              restorefont -w /tmp/fontdata
23              startx
24              echo Restoring font from /tmp/fontdata
25              restorefont -r /tmp/fontdata
26
27       Note that this doesn't help with syncing problems.
28
29       A more rigorous alternative is to run the savetextmode(1) script before
30       running X, and textmode(1) after. This will restore the textmode regis‐
31       ters and the VGA palette in addition to the VGA font.
32
33       Assuming that savetextmode(1) and textmode(1) are in your PATH the runx
34       script would then look like:
35
36              #!/bin/sh
37              echo Saving SVGA state
38              savetextmode
39              startx
40              echo restoring SVGA state
41              textmode
42
43
44       This  utility  is part of svgalib and can be found in the utils/ subdi‐
45       rectory of the  original  svgalib  distribution.  However,  it  is  not
46       installed  by default, s.t. it is unclear where you can find it if your
47       svgalib was install by a linux distribution.
48
49       However, this is no big deal as it was printed out above already ;-).
50
51

SEE ALSO

53       svgalib(7),  vgagl(7),   libvga.config(5),   convfont(1),   dumpreg(1),
54       restorefont(1),  restorepalette(1),  restoretextmode(1),  fix132x43(1),
55       savetextmode(1), setmclk(1), textmode(1).
56
57

AUTHOR

59       This manual page was edited  by  Michael  Weller  <eowmob@exp-math.uni-
60       essen.de>. The exact source of the referenced utility as well as of the
61       original documentation is unknown.
62
63       It is very likely that both are at least to some extent are due to Harm
64       Hanemaayer <H.Hanemaayer@inter.nl.net>.
65
66       Occasionally  this  might be wrong. I hereby asked to be excused by the
67       original author and will happily accept any additions or corrections to
68       this first version of the svgalib manual.
69
70
71
72Svgalib (>= 1.2.11)               2 Aug 1997                           runx(1)
Impressum