MAN page from Fedora 16 svgalib-1.9.25-9.fc15.i686.rpm
forktest
Section: Svgalib User Manual (6)
Updated: 8 April 1998
Index NAME
forktest - tests the vga_safety_fork() function.
SYNOPSIS
forktest
DESCRIPTION
This is a copy of the
keytest(6)demo (look there). However, it uses
vga_safety_fork(3)to start a background process to restore theconsole in case the fore ground process crashes. It removes allautomatic restore functions of svgalib. Thus, in case you killthis program with
kill(1)or
<Ctrl>-C,only the background process willsave your system from being hosed up.
You can set a videomodeto use by setting the environment variableSVGALIB_DEFAULT_MODEto a number (see vgatestfor a list) or a string like G0x1x2 where you replace 0 with desired xresolution, 1 with the desired y rez, and 2 with the desired number ofcolors (2, 16, 256, 32K, 64K, 16M, 16M4). Again, only certain choices areavailable, see vgatest for a list.
In case nothing is selected, G320x200x256 is choosen.
This demo is part of svgalib and can be found in thedemos/subdirectory of the original svgalib distribution. However, it is not installed in the systemby default, s.t. it is unclear where you can find it if your svgalib was installed by somelinux distribution. Even then, when you have the demo on your system, you probably won't havethe sources s.t. it is only of limited use for you.
In case of any such problem, simply get an svgalib distribution from the net. You evendon't need to install it. Justmakein thedemos/subdirecty. As of this writing,svgalib-1.2.12.tar.gz is the latest version and can be retrieved by ftp fromsunsite.unc.edu at /pub/Linux/libs/graphicsandtsx-11.mit.edu at /pub/linux/sources/libswhich will most probably be mirrored by a site close to you.
SEE ALSO
svgalib(7),vgagl(7),libvga.config(5),vga_safety_fork(3),threed(6),accel(6),bg_test(6),eventtest(6),fun(6),keytest(6),mousetest(6),scrolltest(6),speedtest(6),spin(6),testaccel(6),testgl(6),testlinear(6),vgatest(6),plane(6),wrapdemo(6)
AUTHOR
This manual page was edited by Michael Weller <eowmobAATTexp-math.uni-essen.de>. Theexact source of the referenced demo as well as of the original documentation isunknown.
It is very likely that both are at least to some extent are due toHarm Hanemaayer <H.HanemaayerAATTinter.nl.net>.
Occasionally this might be wrong. I herebyasked to be excused by the original author and will happily accept any additions or correctionsto this first version of the svgalib manual.
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- SEE ALSO
- AUTHOR
This document was created byman2html,using the manual pages.