From http://www.jwz.org/xscreensaver/xscreensaver-5.35.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 .TP 8
46 .B (\-p1 | \-p2) \fImode\fP
47 Set a player to either \fIai\fP, \fImouse\fP, \fItablet\fP, \fIkbleft\fP (for W and S), or
48 \fIkbright\fP (or just \fIkb\fP, for arrow keys).
49 .SH ENVIRONMENT
50 .PP
51 .TP 8
52 .B DISPLAY
53 to get the default host and display number.
54 .TP 8
55 .B XENVIRONMENT
56 to get the name of a resource file that overrides the global resources
57 stored in the RESOURCE_MANAGER property.
58 .SH X RESOURCES
59 Notable X resources supported include the following which correspond
60 to standard TV controls:
61 .BR analogTVTint ,
62 .BR analogTVColor ,
63 .BR analogTVBrightness ,
64 and
65 .BR analogTVContrast .
66 They range from 0 to 100, except for tint which is an angle
67 between -180 and +180.
68 .SH TRADEMARKS
69 Pong may be a trademark.
70
71 .SH SEE ALSO
72 .BR X (1),
73 .BR xscreensaver (1),
74 .BR xanalogtv (MANSUFFIX),
75 .BR apple2 (MANSUFFIX)
76 .SH COPYRIGHT
77 2003 by Jeremy English.  Permission to use, copy, modify, 
78 distribute, and sell this software and its documentation for any purpose is 
79 hereby granted without fee, provided that the above copyright notice appear 
80 in all copies and that both that copyright notice and this permission notice
81 appear in supporting documentation.  No representations are made about the 
82 suitability of this software for any purpose.  It is provided "as is" without
83 express or implied warranty.
84 .SH AUTHOR
85 Original Pong program by Jeremy English <jenglish@myself.com>. Scoring
86 and television emulation by Trevor Blackwell <tlb@tlb.org>.