1apple2(6x)                    XScreenSaver manual                   apple2(6x)
2
3
4

NAME

6       apple2 - Apple ][ display emulator
7

SYNOPSIS

9       apple2  [--display  host:display.screen]  [--foreground color] [--back‐
10       ground color] [--window] [--root] [--window-id  number][--mono]  [--in‐
11       stall]   [--visual   visual]   [--program  command  to  run]  [--basic]
12       [--slideshow] [--text] [--meta] [--esc] [--bs] [--del] [--fast] [--fps]
13

DESCRIPTION

15       The apple2 program simulates an original Apple ][ Plus computer in  all
16       its 1979 glory. It also reproduces the appearance of display on a color
17       television set of the period.
18
19       There are 3 modes: basic, slideshow, and text. Normally  it  chooses  a
20       mode  randomly,  but you can override with the --basic, --slideshow, or
21       --text options.
22
23       In basic mode a simulated user types in a Basic program and runs it.
24
25       In slideshow mode it chooses a number of images from the  image  source
26       you  configured  into XScreenSaver and displays them within the limita‐
27       tions of the Apple ][ display hardware. With only 6  available  colors,
28       you can only make out the general shape of the pictures.
29
30       In  text  mode it displays the output of a command or the contents of a
31       file or URL (via the default xscreensaver-text(6x) program,  which  can
32       be overridden with --program).
33
34       In  text  mode,  it is also a fully functional (if anachronistic) vt100
35       terminal emulator.
36

OPTIONS

38       apple2 accepts the following options:
39
40       --window
41               Draw on a newly-created window.  This is the default.
42
43       --root  Draw on the root window.
44
45       --window-id number
46               Draw on the specified window.
47
48       --mono  If on a color display, pretend we're on a monochrome display.
49
50       --install
51               Install a private colormap for the window.
52
53       --visual visual
54               Specify which visual to use.  Legal values are the  name  of  a
55               visual  class,  or the id number (decimal or hex) of a specific
56               visual.
57
58       --basic Choose basic mode
59
60       --slideshow
61               Choose slideshow mode
62
63       --text  Choose text mode
64
65       --program sh-command
66               In text mode, the command to run to generate the text  to  dis‐
67               play.  This option may be any string acceptable to /bin/sh. The
68               program will be run at the end of a pipe,  and  any  characters
69               that  it  prints to stdout will be printed on the Apple ][ dis‐
70               play. If the program exits, it will be launched again  after  3
71               seconds.  Default: xscreensaver-text(6x).
72
73               In  text  mode,  apple2  emulates a vt100 terminal running on a
74               40x24 uppercase-only screen.
75
76               For example:
77
78                 apple2 --text --program 'ping apple.com'
79                 apple2 --text --program 'ps -e'
80                 apple2 --text --program 'od -txCz -w7 /dev/urandom'
81                 apple2 --text --program 'cat /dev/random'
82                 apple2 --text --fast --program 'emacs -nw -q -f life'
83                 apple2 --text --fast \
84                        --program 'emacs -nw -q --eval "(hanoi 5)"'
85
86               You can also use apple2 as an extremely lo-fi  replacement  for
87               the xterm(1) and gnome-terminal(1) terminal emulators:
88
89                 apple2 -text -fast -program tcsh
90
91
92       --pty   In  --text  mode, launch the sub-program under a pty so that it
93               can address the screen directly.  This is the default.
94
95       --pipe  In --text mode, launch the sub-program at the end of a pipe: do
96               not let it address the screen directly.
97
98       --esc   When  the user types a key with the Alt or Meta keys held down,
99               send an ESC character first.  This is the default.
100
101       --meta  When Meta or Alt are held down, set the high bit on the charac‐
102               ter instead.
103
104       --del   Swap Backspace and Delete.  This is the default.
105
106       --bs    Do not swap Backspace and Delete.
107
108       --fast  Normally,  characters  are  printed at the speed of an original
109               Apple][ computer; however, when using this program as a  termi‐
110               nal  emulator,  the  novelty of those 300 baud characters might
111               wear off.  You can use the --fast option to speed things  up  a
112               bit.
113
114       --fps   Display the current frame rate and CPU load.
115

TERMINAL EMULATION

117       By  default,  apple2  allocates  a  pseudo-tty for the --text-mode sub-
118       process to run under.  This has the desirable side effect that the pro‐
119       gram  will  be able to use ioctl(2) to fetch information about terminal
120       parameters and window size, which many programs (such as  top(1))  need
121       to  run properly. apple2 will also set the environment variable TERM to
122       vt100 in the child process.
123
124       Any characters typed on the apple2 window will be passed along  to  the
125       sub-process.  (Note that this only works when running in "window" mode,
126       not when running in --root mode under xscreensaver.)
127

ENVIRONMENT

129       DISPLAY to get the default host and display number.
130
131       XENVIRONMENT
132               to get the name of a resource file that  overrides  the  global
133               resources stored in the RESOURCE_MANAGER property.
134
135       XSCREENSAVER_WINDOW
136               The window ID to use with --root.
137
138       TERM    to inform the sub-process of the type of terminal emulation.
139

X RESOURCES

141       Notable X resources supported include the following which correspond to
142       standard TV controls: analogTVTint, analogTVColor,  analogTVBrightness,
143       and  analogTVContrast  which  correspond  to standard TV controls. They
144       range from 0 to 100,except for tint which is an angle between -180  and
145       +180.
146

TRADEMARKS

148       Apple ][ and Applesoft are trademarks of Apple Computer.
149
150

SEE ALSO

152       xscreensaver(1),  bsod(6x),  xscreensaver-text(6x),  fortune(1),  phos‐
153       phor(6x),  starwars(6x),  ljlatest(6x),  dadadodo(1),   webcollage(6x),
154       driftnet(1) EtherPEG, EtherPeek, console_codes(4).
155
157       Copyright  ©  2002-2003  by Trevor Blackwell.  Permission to use, copy,
158       modify, distribute, and sell this software and  its  documentation  for
159       any  purpose  is  hereby  granted  without fee, provided that the above
160       copyright notice appear in all copies and that both that copyright  no‐
161       tice and this permission notice appear in supporting documentation.  No
162       representations are made about the suitability of this software for any
163       purpose.  It is provided "as is" without express or implied warranty.
164

AUTHOR

166       Television  and  Apple  ][ emulation by Trevor Blackwell <tlb@tlb.org>.
167       Slideshow and text mode by Jamie Zawinski <jwz@jwz.org>.  Pty and vt100
168       emulation by Fredrik Tolf <fredrik@dolda2000.com>.
169
170
171
172X Version 11               6.08-1.fc39 (17-Oct-2023)                apple2(6x)
Impressum