14 .TH XScreenSaver 1 "5-May-2004" "X Version 11"
16 apple2 - Apple ][ display emulator
19 [\-display \fIhost:display.screen\fP] [\-foreground \fIcolor\fP]
20 [\-background \fIcolor\fP] [\-window] [\-root] [\-mono] [\-install]
21 [\-visual \fIvisual\fP]
22 [\-program \fIcommand to run\fP]
23 [\-basic] [\-slideshow] [\-text]
24 [\-meta] [\-esc] [\-bs] [\-del] [\-fast]
29 program simulates an original Apple ][ Plus computer in all its 1979
30 glory. It also reproduces the appearance of display on a color
31 television set of the period.
33 There are 3 modes: basic, slideshow, and text. Normally it chooses a
34 mode randomly, but you can override with the \fI\-basic\fP,
35 \fI\-slideshow\fP, or \fI\-text\fP options.
37 In basic mode a simulated user types in a Basic program and runs it.
39 In slideshow mode it chooses a number of images from the image source
40 you configured into XScreenSaver and displays them within the
41 limitations of the Apple ][ display hardware. With only 6 available
42 colors, you can only make out the general shape of the pictures.
44 In text mode it displays the output of a command or the contents of
45 a file or URL (via the default
46 .BR xscreensaver-text (1)
47 program, which can be overridden with \fI\-program\fP).
49 In text mode, it is also a fully functional (if anachronistic)
50 vt100 terminal emulator.
53 accepts the following options:
56 Draw on a newly-created window. This is the default.
59 Draw on the root window.
62 If on a color display, pretend we're on a monochrome display.
65 Install a private colormap for the window.
67 .B \-visual \fIvisual\fP
68 Specify which visual to use. Legal values are the name of a visual class,
69 or the id number (decimal or hex) of a specific visual.
80 .B \-program \fIsh-command\fP
81 In text mode, the command to run to generate the text to display. This
82 option may be any string acceptable to /bin/sh. The program will be
83 run at the end of a pipe, and any characters that it prints to
84 \fIstdout\fP will be printed on the Apple ][ display. If the program
85 exits, it will be launched again after 3 seconds. Default:
86 .BR xscreensaver-text (1).
88 In text mode, \fIapple2\fP emulates a vt100 terminal running on a 40x24
89 uppercase-only screen.
94 -program 'cat /usr/src/linux*/README | fold -sw40'
95 apple2 -text -program 'ping apple.com'
96 apple2 -text -program 'ps -e'
97 apple2 -text -program 'od -txCz -w7 /dev/urandom'
98 apple2 -text -program 'cat /dev/random'
99 apple2 -text -fast -program 'xemacs -nw -q -f life'
100 apple2 -text -fast \\
101 -program 'xemacs -nw -q --eval "(hanoi 5)"'
103 You can also use \fIapple2\fP as an extremely lo-fi replacement for the
106 .BR gnome-terminal (1)
109 apple2 -text -fast -program tcsh
113 In \fI\-text\fP mode, launch the sub-program under a pty so that it
114 can address the screen directly. This is the default.
117 In \fI\-text\fP mode, launch the sub-program at the end of a pipe:
118 do not let it address the screen directly.
121 When the user types a key with the Alt or Meta keys held down, send an
122 ESC character first. This is the default.
125 When Meta or Alt are held down, set the high bit on the character instead.
128 Swap Backspace and Delete. This is the default.
131 Do not swap Backspace and Delete.
134 Normally, characters are printed at the speed of an original Apple][
135 computer; however, when using this program as a terminal emulator,
136 the novelty of those 300 baud characters might wear off. You can use
137 the \fI\-fast\fP option to speed things up a bit.
140 Display the current frame rate and CPU load.
141 .SH TERMINAL EMULATION
142 By default, \fIapple2\fP allocates a pseudo-tty for the \fI\-text\fP-mode
143 sub-process to run under. This has the desirable side effect that the
144 program will be able to use
146 to fetch information about terminal parameters and window size, which
147 many programs (such as
149 need to run properly. \fIapple2\fP will also set the environment
150 variable \fITERM\fP to \fIvt100\fP in the child process.
152 Any characters typed on the apple2 window will be passed along to
153 the sub-process. (Note that this only works when running in "window"
154 mode, not when running in \fI\-root\fP mode under xscreensaver.)
159 to get the default host and display number.
162 to get the name of a resource file that overrides the global resources
163 stored in the RESOURCE_MANAGER property.
166 to inform the sub-process of the type of terminal emulation.
168 Notable X resources supported include the following which correspond
169 to standard TV controls:
172 .BR analogTVBrightness ,
175 which correspond to standard TV controls. They range from 0 to
176 100,except for tint which is an angle between -180 and +180.
178 Apple ][ and Applesoft are trademarks of Apple Computer.
181 .BR xscreensaver (1),
182 .BR bsod (MANSUFFIX),
183 .BR xscreensaver-text (1),
185 .BR phosphor (MANSUFFIX),
186 .BR starwars (MANSUFFIX),
187 .BR ljlatest (MANSUFFIX),
189 .BR webcollage (MANSUFFIX),
193 .BR console_codes (4).
195 Copyright \(co 2002-2003 by Trevor Blackwell. Permission to use, copy,
196 modify, distribute, and sell this software and its documentation for
197 any purpose is hereby granted without fee, provided that the above
198 copyright notice appear in all copies and that both that copyright
199 notice and this permission notice appear in supporting documentation.
200 No representations are made about the suitability of this software for
201 any purpose. It is provided "as is" without express or implied
204 Television and Apple ][ emulation by Trevor Blackwell <tlb@tlb.org>.
205 Slideshow and text mode by Jamie Zawinski <jwz@jwz.org>.
206 Pty and vt100 emulation by Fredrik Tolf <fredrik@dolda2000.com>.