ftp://ftp.krokus.ru/pub/OpenBSD/distfiles/xscreensaver-4.22.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 a running tally of how many frames per second are being rendered.
40 In conjunction with \fB\-delay 0\fP, this can be a useful benchmark of 
41 your GL performance.
42 .SH ENVIRONMENT
43 .PP
44 .TP 8
45 .B DISPLAY
46 to get the default host and display number.
47 .TP 8
48 .B XENVIRONMENT
49 to get the name of a resource file that overrides the global resources
50 stored in the RESOURCE_MANAGER property.
51 .SH BUGS
52 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.
53 .SH SEE ALSO
54 .BR X (1),
55 .BR xscreensaver (1)
56 .BR xscreensaver\-demo (1),
57 .BR xscreensaver\-getimage (1)
58 .SH COPYRIGHT
59 Copyright \(co 2002 by Blair Tennessy.  Permission to use, copy, modify,
60 distribute, and sell this software and its documentation for any purpose is
61 hereby granted without fee, provided that the above copyright notice appear
62 in all copies and that both that copyright notice and this permission notice
63 appear in supporting documentation.  No representations are made about the
64 suitability of this software for any purpose.  It is provided "as is" without
65 express or implied warranty.
66 .SH AUTHOR
67 Blair Tennessy <tennessb@unbc.ca>, 20-April-2002.
68