1keytest(6) Svgalib User Manual keytest(6)
2
3
4
6 keytest - tests the svgalib raw keyboard functions
7
9 keytest
10
11
13 A program to test the low-level keyboard interface. This uses basic VGA
14 functionality (or an svga mode you specify). Works only in 256 color
15 modes.
16
17 Cursor keys or keypad <1>, <2>, <3>, <4>, <5>, <6>, <7>, <8>, and <9>
18 move the cursor. Keypad <0> or <Enter> changes color. <Q> or <Ctrl>-C
19 quits. (autoquit after 60 seconds).
20
21 Note that the svgalib diagonal <7>, <9>, <1>, and <3> keypad keys emu‐
22 lation is flawed in that it emulates the vertical/horizontal keys. If
23 one of these is pressed too, it's release confuses svgalib.
24
25 The top pixel line shows a blue pixel for each key which is reported to
26 be pressed.
27
28 You can set a videomode to use by setting the environment variable
29 SVGALIB_DEFAULT_MODE to a number (see vgatest for a list) or a string
30 like G0x1x2 where you replace 0 with desired x resolution, 1 with the
31 desired y rez, and 2 with the desired number of colors (2, 16, 256,
32 32K, 64K, 16M, 16M4). Again, only certain choices are available, see
33 vgatest for a list.
34
35 In case nothing is selected, G320x200x256 is choosen.
36
37 This demo is part of svgalib and can be found in the demos/ subdirec‐
38 tory of the original svgalib distribution. However, it is not installed
39 in the system by default, s.t. it is unclear where you can find it if
40 your svgalib was installed by some linux distribution. Even then, when
41 you have the demo on your system, you probably won't have the sources
42 s.t. it is only of limited use for you.
43
44 In case of any such problem, simply get an svgalib distribution from
45 the net. You even don't need to install it. Just make in the demos/
46 subdirecty. As of this writing, svgalib-1.2.12.tar.gz is the latest
47 version and can be retrieved by ftp from sunsite.unc.edu at
48 /pub/Linux/libs/graphics and tsx-11.mit.edu at /pub/linux/sources/libs
49 which will most probably be mirrored by a site close to you.
50
51
53 svgalib(7), vgagl(7), libvga.config(5), threed(6), accel(6),
54 bg_test(6), eventtest(6), forktest(6), fun(6), mousetest(6), scroll‐
55 test(6), speedtest(6), spin(6), testaccel(6), testgl(6), testlinear(6),
56 vgatest(6), plane(6), wrapdemo(6)
57
58
60 This manual page was edited by Michael Weller <eowmob@exp-math.uni-
61 essen.de>. The exact source of the referenced demo as well as of the
62 original documentation is unknown.
63
64 It is very likely that both are at least to some extent are due to Harm
65 Hanemaayer <H.Hanemaayer@inter.nl.net>.
66
67 Occasionally this might be wrong. I hereby asked to be excused by the
68 original author and will happily accept any additions or corrections to
69 this first version of the svgalib manual.
70
71
72
73Svgalib 1.3.0 8 April 1998 keytest(6)