http://www.jwz.org/xscreensaver/xscreensaver-5.07.tar.gz
[xscreensaver] / hacks / grav.man
1 .TH XScreenSaver 1 "10-May-97" "X Version 11"
2 .SH NAME
3 grav - draws a simple orbital simulation
4 .SH SYNOPSIS
5 .B grav
6 [\-display \fIhost:display.screen\fP] [\-foreground \fIcolor\fP] [\-background \fIcolor\fP] [\-window] [\-root] [\-mono] [\-install] [\-visual \fIvisual\fP] [\-ncolors \fIinteger\fP] [\-delay \fImicroseconds\fP] [\-count \fIinteger\fP] [\-decay] [\-no\-decay] [\-trail] [\-no\-trail]
7
8 [\-fps]
9 .SH DESCRIPTION
10 The \fIgrav\fP program draws a simple orbital simulation
11 .SH OPTIONS
12 .I grav
13 accepts the following options:
14 .TP 8
15 .B \-window
16 Draw on a newly-created window.  This is the default.
17 .TP 8
18 .B \-root
19 Draw on the root window.
20 .TP 8
21 .B \-mono 
22 If on a color display, pretend we're on a monochrome display.
23 .TP 8
24 .B \-install
25 Install a private colormap for the window.
26 .TP 8
27 .B \-visual \fIvisual\fP
28 Specify which visual to use.  Legal values are the name of a visual class,
29 or the id number (decimal or hex) of a specific visual.
30 .TP 8
31 .B \-ncolors \fIinteger\fP
32 How many colors should be used (if possible).  Default 64.
33 The colors are chosen randomly.
34 .TP 8
35 .B \-count \fIinteger\fP
36 Default 12.
37 .TP 8
38 .B \-decay
39 .TP 8
40 .B \-no\-decay
41 Whether orbits should decay.
42
43 .TP 8
44 .B \-trail
45 .TP 8
46 .B \-no\-trail
47 Whether the objects should leave trails behind them (makes it look vaguely
48 like a cloud-chamber.
49
50 .TP 8
51 .B \-fps
52 Display the current frame rate and CPU load.
53 .SH ENVIRONMENT
54 .PP
55 .TP 8
56 .B DISPLAY
57 to get the default host and display number.
58 .TP 8
59 .B XENVIRONMENT
60 to get the name of a resource file that overrides the global resources
61 stored in the RESOURCE_MANAGER property.
62 .SH SEE ALSO
63 .BR X (1),
64 .BR xscreensaver (1),
65 .BR xlock (1)
66 .SH COPYRIGHT
67 Copyright \(co 1993 by Greg Bowering.
68
69 Permission to use, copy, modify, and distribute this software and its
70 documentation for any purpose and without fee is hereby granted,
71 provided that the above copyright notice appear in all copies and that
72 both that copyright notice and this permission notice appear in
73 supporting documentation. 
74 .SH AUTHOR
75 Greg Bowering <gb@pobox.com>, 1993.
76
77 Ability to run standalone or with \fIxscreensaver\fP added by 
78 Jamie Zawinski <jwz@jwz.org>, 10-May-97.