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 \
79                           -program 'cat /usr/src/linux*/README | fold -sw40'
80                    apple2 -text -program 'ping apple.com'
81                    apple2 -text -program 'ps -e'
82                    apple2 -text -program 'od -txCz -w7 /dev/urandom'
83                    apple2 -text -program 'cat /dev/random'
84                    apple2 -text -fast -program 'xemacs -nw -q -f life'
85                    apple2 -text -fast \
86                           -program 'xemacs -nw -q --eval "(hanoi 5)"'
87
88               You can also use apple2 as an extremely lo-fi  replacement  for
89               the xterm(1) and gnome-terminal(1) terminal emulators:
90
91                    apple2 -text -fast -program tcsh
92
93
94       --pty   In  --text  mode, launch the sub-program under a pty so that it
95               can address the screen directly.  This is the default.
96
97       --pipe  In --text mode, launch the sub-program at the end of a pipe: do
98               not let it address the screen directly.
99
100       --esc   When  the user types a key with the Alt or Meta keys held down,
101               send an ESC character first.  This is the default.
102
103       --meta  When Meta or Alt are held down, set the high bit on the charac‐
104               ter instead.
105
106       --del   Swap Backspace and Delete.  This is the default.
107
108       --bs    Do not swap Backspace and Delete.
109
110       --fast  Normally,  characters  are  printed at the speed of an original
111               Apple][ computer; however, when using this program as a  termi‐
112               nal  emulator,  the  novelty of those 300 baud characters might
113               wear off.  You can use the --fast option to speed things  up  a
114               bit.
115
116       --fps   Display the current frame rate and CPU load.
117

TERMINAL EMULATION

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

ENVIRONMENT

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

X RESOURCES

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

TRADEMARKS

150       Apple ][ and Applesoft are trademarks of Apple Computer.
151
152

SEE ALSO

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

AUTHOR

168       Television  and  Apple  ][ emulation by Trevor Blackwell <tlb@tlb.org>.
169       Slideshow and text mode by Jamie Zawinski <jwz@jwz.org>.  Pty and vt100
170       emulation by Fredrik Tolf <fredrik@dolda2000.com>.
171
172
173
174X Version 11               6.06-1.fc37 (12-Dec-2022)                apple2(6x)
Impressum