1printftest(6) Svgalib User Manual printftest(6)
2
3
4
6 printftest - tests the vgagl gl_printf function
7
9 printftest x y
10
11
13 This test utility reads keys from the keyboard and displays them on the
14 screen at pixel position (x, y) using gl_printf(3). It must be linked
15 with the ELF svgalib libraries.
16
17 You can set a videomode to use by setting the environment variable
18 SVGALIB_DEFAULT_MODE to a number (see vgatest for a list) or a string
19 like G0x1x2 where you replace 0 with desired x resolution, 1 with the
20 desired y rez, and 2 with the desired number of colors (2, 16, 256,
21 32K, 64K, 16M, 16M4). Again, only certain choices are available, see
22 vgatest for a list.
23
24 In case nothing is selected, G320x200x256 is choosen.
25
26 This demo is part of svgalib and can be found in the demos/ subdirec‐
27 tory of the original svgalib distribution. However, it is not installed
28 in the system by default, s.t. it is unclear where you can find it if
29 your svgalib was installed by some linux distribution. Even then, when
30 you have the demo on your system, you probably won't have the sources
31 s.t. it is only of limited use for you.
32
33 In case of any such problem, simply get an svgalib distribution from
34 the net. You even don't need to install it. Just make in the demos/
35 subdirecty. As of this writing, svgalib-1.2.12.tar.gz is the latest
36 version and can be retrieved by ftp from sunsite.unc.edu at
37 /pub/Linux/libs/graphics and tsx-11.mit.edu at /pub/linux/sources/libs
38 which will most probably be mirrored by a site close to you.
39
40
42 svgalib(7), vgagl(7), libvga.config(5), threed(6), accel(6),
43 bg_test(6), eventtest(6), forktest(6), fun(6), mousetest(6), scroll‐
44 test(6), speedtest(6), spin(6), testaccel(6), testgl(6), testlinear(6),
45 vgatest(6), plane(6), wrapdemo(6)
46
47
49 This manual page was edited by Michael Weller <eowmob@exp-math.uni-
50 essen.de>. The exact source of the referenced demo as well as of the
51 original documentation is unknown.
52
53 It is very likely that both are at least to some extent are due to Harm
54 Hanemaayer <H.Hanemaayer@inter.nl.net>.
55
56 Occasionally this might be wrong. I hereby asked to be excused by the
57 original author and will happily accept any additions or corrections to
58 this first version of the svgalib manual.
59
60
61
62Svgalib 1.3.0 8 April 1997 printftest(6)