1forktest(6)                   Svgalib User Manual                  forktest(6)
2
3
4

NAME

6       forktest - tests the vga_safety_fork() function.
7

SYNOPSIS

9       forktest
10
11

DESCRIPTION

13       This  is  a  copy of the keytest(6) demo (look there). However, it uses
14       vga_safety_fork(3) to start a background process to restore the console
15       in  case  the  fore  ground  process  crashes. It removes all automatic
16       restore functions of svgalib. Thus, in case you kill this program  with
17       kill(1)  or <Ctrl>-C, only the background process will save your system
18       from being hosed up.
19
20       You can set a videomode to use  by  setting  the  environment  variable
21       SVGALIB_DEFAULT_MODE  to  a number (see vgatest for a list) or a string
22       like G0x1x2 where you replace 0 with desired x resolution, 1  with  the
23       desired  y  rez,  and  2 with the desired number of colors (2, 16, 256,
24       32K, 64K, 16M, 16M4). Again, only certain choices  are  available,  see
25       vgatest for a list.
26
27       In case nothing is selected, G320x200x256 is choosen.
28
29       This  demo  is part of svgalib and can be found in the demos/ subdirec‐
30       tory of the original svgalib distribution. However, it is not installed
31       in  the  system by default, s.t. it is unclear where you can find it if
32       your svgalib was installed by some linux distribution. Even then,  when
33       you  have  the demo on your system, you probably won't have the sources
34       s.t. it is only of limited use for you.
35
36       In case of any such problem, simply get an  svgalib  distribution  from
37       the  net.  You  even  don't need to install it. Just make in the demos/
38       subdirecty. As of this writing,  svgalib-1.2.12.tar.gz  is  the  latest
39       version   and   can   be  retrieved  by  ftp  from  sunsite.unc.edu  at
40       /pub/Linux/libs/graphics and tsx-11.mit.edu at  /pub/linux/sources/libs
41       which will most probably be mirrored by a site close to you.
42
43

SEE ALSO

45       svgalib(7),  vgagl(7), libvga.config(5), vga_safety_fork(3), threed(6),
46       accel(6), bg_test(6), eventtest(6), fun(6),  keytest(6),  mousetest(6),
47       scrolltest(6), speedtest(6), spin(6), testaccel(6), testgl(6), testlin‐
48       ear(6), vgatest(6), plane(6), wrapdemo(6)
49
50

AUTHOR

52       This manual page was edited  by  Michael  Weller  <eowmob@exp-math.uni-
53       essen.de>.  The  exact  source of the referenced demo 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.3.0                    8 April 1998                      forktest(6)
Impressum