1eventtest(6) Svgalib User Manual eventtest(6)
2
3
4
6 eventtest - test the waitevent function of svgalib
7
9 eventtest
10
11
13 This is a kind of an upgraded keytest(6) and mousetest(6) demo using
14 the vga_waitevent(3) function.
15
16 Use mouse to move cursor. <1>-<9>, <0> to set the cursor size.
17 <Space> to change the cursor color. Left button to draw. Right button
18 or <Q> to bailout.
19
20 The cursor goes on/off every half second by usage of a timeout passed
21 to vga_waitevent(3). Every 5 seconds a string from a child process
22 (the time) arrives asynchronously and is displayed by the frontend.
23 This comes in through a pipe(2) which is monitored by vga_waitevent(2).
24
25 You can set a videomode to use by setting the environment variable
26 SVGALIB_DEFAULT_MODE to a number (see vgatest for a list) or a string
27 like G0x1x2 where you replace 0 with desired x resolution, 1 with the
28 desired y rez, and 2 with the desired number of colors (2, 16, 256,
29 32K, 64K, 16M, 16M4). Again, only certain choices are available, see
30 vgatest for a list.
31
32 In case nothing is selected, G320x200x256 is choosen.
33
34 This demo is part of svgalib and can be found in the demos/ subdirec‐
35 tory of the original svgalib distribution. However, it is not installed
36 in the system by default, s.t. it is unclear where you can find it if
37 your svgalib was installed by some linux distribution. Even then, when
38 you have the demo on your system, you probably won't have the sources
39 s.t. it is only of limited use for you.
40
41 In case of any such problem, simply get an svgalib distribution from
42 the net. You even don't need to install it. Just make in the demos/
43 subdirecty. As of this writing, svgalib-1.2.12.tar.gz is the latest
44 version and can be retrieved by ftp from sunsite.unc.edu at
45 /pub/Linux/libs/graphics and tsx-11.mit.edu at /pub/linux/sources/libs
46 which will most probably be mirrored by a site close to you.
47
48
50 svgalib(7), vgagl(7), libvga.config(5), vga_waitevent(3), threed(6),
51 accel(6), bg_test(6), forktest(6), fun(6), keytest(6), mousetest(6),
52 scrolltest(6), speedtest(6), spin(6), testaccel(6), testgl(6), testlin‐
53 ear(6), vgatest(6), plane(6), wrapdemo(6)
54
55
57 This manual page was edited by Michael Weller <eowmob@exp-math.uni-
58 essen.de>. The demos as well as the vga_waitevent(3) function is due to
59 him.
60
61
62
63Svgalib 1.3.0 8 April 1998 eventtest(6)