Computer Science


printftest(6)          Svgalib User Manual          printftest(6)

NAME
       printftest - tests the vgagl gl_printf function

SYNOPSIS
       printftest x y

DESCRIPTION
       This  test  utility  reads keys from the keyboard and dis-
       plays them on the screen at pixel position  (x,  y)  using
       gl_printf(3).   It  must  be  linked  with the ELF svgalib
       libraries.

       You can set a videomode to use by setting the  environment
       variable SVGALIB_DEFAULT_MODE to a number (see vgatest for
       a list) or a string like G0x1x2 where you replace  0  with
       desired x resolution, 1 with the desired y rez, and 2 with
       the desired number of colors (2, 16, 256, 32K,  64K,  16M,
       16M4).  Again,  only  certain  choices  are available, see
       vgatest for a list.

       In case nothing is selected, G320x200x256 is choosen.

       This demo is part of svgalib  and  can  be  found  in  the
       demos/  subdirectory of the original svgalib distribution.
       However, it is not installed in  the  system  by  default,
       s.t.  it  is unclear where you can find it if your svgalib
       was installed by some linux distribution. Even then,  when
       you  have the demo on your system, you probably won't have
       the sources s.t. it is only of limited use for you.

       In case of any such problem, simply get an svgalib distri-
       bution  from  the  net. You even don't need to install it.
       Just make in the demos/ subdirecty. As  of  this  writing,
       svgalib-1.2.12.tar.gz  is  the  latest  version and can be
       retrieved    by    ftp     from     sunsite.unc.edu     at
       /pub/Linux/libs/graphics     and     tsx-11.mit.edu     at
       /pub/linux/sources/libs which will most probably  be  mir-
       rored by a site close to you.

SEE ALSO
       svgalib(7),    vgagl(7),    libvga(5),   threed(6),
       accel(6), bg_test(6), eventtest(6),  forktest(6),  fun(6),
       mousetest(6),  scrolltest(6),  speedtest(6), spin(6), tes-
       taccel(6), testgl(6), testlinear(6), vgatest(6), plane(6),
       wrapdemo(6)

AUTHOR
       This manual page was edited by Michael Weller <eowmob@exp-
       math.uni-essen.de>. The exact  source  of  the  referenced
       demo  as well as of the original documentation is unknown.

       It is very likely that both are at least  to  some  extent
       are due to Harm Hanemaayer <H.Hanemaayer@inter.nl.net>.

       Occasionally  this  might  be  wrong. I hereby asked to be
       excused by the original author and will happily accept any
       additions  or  corrections  to  this  first version of the
       svgalib manual.

Svgalib 1.3.0              8 April 1997                         1

Back to the index


Apply now!


Handbook

Postgraduate study options

Computer Science Blog



Please give us your feedback or ask us a question

This message is...


My feedback or question is...


My email address is...

(Only if you need a reply)

A to Z Directory | Site map | Accessibility | Copyright | Privacy | Disclaimer | Feedback on this page