http://www.jwz.org/xscreensaver/xscreensaver-5.07.tar.gz
[xscreensaver] / hacks / pong.man
1 .TH XScreenSaver 1 "5-May-2004" "X Version 11"
2 .SH NAME
3 pong - Pong Home Video Game Emulator
4 .SH SYNOPSIS
5 .B pong
6 [\-display \fIhost:display.screen\fP] [\-foreground \fIcolor\fP]
7 [\-background \fIcolor\fP] [\-window] [\-root] [\-mono] [\-install]
8 [\-visual \fIvisual\fP]
9 [\-clock \fIfloat\fP]
10 [\-noise]
11 [\-fps]
12 .SH DESCRIPTION
13 The
14 .I pong 
15 program simulates an ancient Pong home video game, as well as various
16 artifacts from displaying it on a color TV set.
17 .SH OPTIONS
18 .I pong
19 accepts the following options:
20 .TP 8
21 .B \-window
22 Draw on a newly-created window.  This is the default.
23 .TP 8
24 .B \-root
25 Draw on the root window.
26 .TP 8
27 .B \-mono 
28 If on a color display, pretend we're on a monochrome display.
29 .TP 8
30 .B \-install
31 Install a private colormap for the window.
32 .TP 8
33 .B \-visual \fIvisual\fP
34 Specify which visual to use.  Legal values are the name of a visual class,
35 or the id number (decimal or hex) of a specific visual.
36 .TP 8
37 .B \-clock
38 The score of the game will be the current time.
39 .TP 8
40 .B \-noise \fIfloat\fP
41 How noisy the video signal should be (between 0.0 and 4.0 or so).
42 .TP 8
43 .B \-fps
44 Display the current frame rate and CPU load.
45 .SH ENVIRONMENT
46 .PP
47 .TP 8
48 .B DISPLAY
49 to get the default host and display number.
50 .TP 8
51 .B XENVIRONMENT
52 to get the name of a resource file that overrides the global resources
53 stored in the RESOURCE_MANAGER property.
54 .SH X RESOURCES
55 Notable X resources supported include the following which correspond
56 to standard TV controls:
57 .BR analogTVTint ,
58 .BR analogTVColor ,
59 .BR analogTVBrightness ,
60 and
61 .BR analogTVContrast .
62 They range from 0 to 100, except for tint which is an angle
63 between -180 and +180.
64 .SH TRADEMARKS
65 Pong may be a trademark.
66
67 .SH SEE ALSO
68 .BR X (1),
69 .BR xscreensaver (1),
70 .BR xanalogtv (MANSUFFIX),
71 .BR apple2 (MANSUFFIX)
72 .SH COPYRIGHT
73 2003 by Jeremy English.  Permission to use, copy, modify, 
74 distribute, and sell this software and its documentation for any purpose is 
75 hereby granted without fee, provided that the above copyright notice appear 
76 in all copies and that both that copyright notice and this permission notice
77 appear in supporting documentation.  No representations are made about the 
78 suitability of this software for any purpose.  It is provided "as is" without
79 express or implied warranty.
80 .SH AUTHOR
81 Original Pong program by Jeremy English <jenglish@myself.com>. Scoring
82 and television emulation by Trevor Blackwell <tlb@tlb.org>.