From http://www.jwz.org/xscreensaver/xscreensaver-5.23.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]
7 [\-window]
8 [\-root]
9 [\-install]
10 [\-visual \fIvisual\fP]
11 [\-delay \fImicroseconds\fP]
12 [\-wireframe]
13 [\-fps]
14 .SH DESCRIPTION
15 The \fIqueens\fP program solves the n-queens problem (where, in this
16 program, N is between 5 and 10 queens) using a straightforward
17 backtracking algorithm.  The problem is: how may one place N queens 
18 on an NxN chessboard such that no queen can attack a sister?
19 .SH OPTIONS
20 .I queens
21 accepts the following options:
22 .TP 8
23 .B \-window
24 Draw on a newly-created window.  This is the default.
25 .TP 8
26 .B \-root
27 Draw on the root window.
28 .TP 8
29 .B \-install
30 Install a private colormap for the window.
31 .TP 8
32 .B \-visual \fIvisual\fP\fP
33 Specify which visual to use.  Legal values are the name of a visual class,
34 or the id number (decimal or hex) of a specific visual.
35 .TP 8
36 .B \-wireframe
37 Render in wireframe instead of solid.
38 .B \-fps
39 Display the current frame rate, CPU load, and polygon count.
40 .SH ENVIRONMENT
41 .PP
42 .TP 8
43 .B DISPLAY
44 to get the default host and display number.
45 .TP 8
46 .B XENVIRONMENT
47 to get the name of a resource file that overrides the global resources
48 stored in the RESOURCE_MANAGER property.
49 .SH BUGS
50 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.
51 .SH SEE ALSO
52 .BR X (1),
53 .BR xscreensaver (1)
54 .BR xscreensaver\-demo (1),
55 .BR xscreensaver\-getimage (1)
56 .SH COPYRIGHT
57 Copyright \(co 2002 by Blair Tennessy.  Permission to use, copy, modify,
58 distribute, and sell this software and its documentation for any purpose is
59 hereby granted without fee, provided that the above copyright notice appear
60 in all copies and that both that copyright notice and this permission notice
61 appear in supporting documentation.  No representations are made about the
62 suitability of this software for any purpose.  It is provided "as is" without
63 express or implied warranty.
64 .SH AUTHOR
65 Blair Tennessy <tennessb@unbc.ca>, 20-April-2002.
66