http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.04.2.tar.gz
[xscreensaver] / hacks / glx / queens.man
1 .TH XScreenSaver 1 "May 2002"
2 .SH NAME
3 queens \- n queens screensaver
4 .SH SYNOPSIS
5 .B queens
6 [\-display \fIhost:display.screen\fP] [\-window] [\-root] [\-install]
7 [\-visual \fIvisual\fP] [\-delay \fImicroseconds\fP] [\-fps]
8 .SH DESCRIPTION
9 The \fIqueens\fP program solves the n-queens problem (where, in this
10 program, N is between 5 and 10 queens) using a straightforward
11 backtracking algorithm.  The problem is: how may one place N queens 
12 on an NxN chessboard such that no queen can attack a sister?
13 .SH OPTIONS
14 .I queens
15 accepts the following options:
16 .TP 8
17 .B \-window
18 Draw on a newly-created window.  This is the default.
19 .TP 8
20 .B \-root
21 Draw on the root window.
22 .TP 8
23 .B \-install
24 Install a private colormap for the window.
25 .TP 8
26 .B \-visual \fIvisual\fP\fP
27 Specify which visual to use.  Legal values are the name of a visual class,
28 or the id number (decimal or hex) of a specific visual.
29 .B \-fps
30 Display a running tally of how many frames per second are being rendered.
31 In conjunction with \fB\-delay 0\fP, this can be a useful benchmark of 
32 your GL performance.
33 .SH ENVIRONMENT
34 .PP
35 .TP 8
36 .B DISPLAY
37 to get the default host and display number.
38 .TP 8
39 .B XENVIRONMENT
40 to get the name of a resource file that overrides the global resources
41 stored in the RESOURCE_MANAGER property.
42 .SH BUGS
43 It's not unknown for this and other OpenGL hacks to fail under hardware accelaration (UtahGLX) and take the X server with them.  Texture images must be 16x16 or 32x32 or 64x64 etc.
44 .SH SEE ALSO
45 .BR X (1),
46 .BR xscreensaver (1)
47 .BR xscreensaver\-demo (1),
48 .BR xscreensaver\-getimage (1)
49 .SH COPYRIGHT
50 Copyright \(co 2002 by Blair Tennessy.  Permission to use, copy, modify,
51 distribute, and sell this software and its documentation for any purpose is
52 hereby granted without fee, provided that the above copyright notice appear
53 in all copies and that both that copyright notice and this permission notice
54 appear in supporting documentation.  No representations are made about the
55 suitability of this software for any purpose.  It is provided "as is" without
56 express or implied warranty.
57 .SH AUTHOR
58 Blair Tennessy <tennessb@unbc.ca>, 20-April-2002.
59