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

TERMINAL EMULATION

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

ENVIRONMENT

123       DISPLAY to get the default host and display number.
124
125       XENVIRONMENT
126               to get the name of a resource file that  overrides  the  global
127               resources stored in the RESOURCE_MANAGER property.
128
129       TERM    to inform the sub-process of the type of terminal emulation.
130

X RESOURCES

132       Notable X resources supported include the following which correspond to
133       standard TV controls: analogTVTint, analogTVColor,  analogTVBrightness,
134       and  analogTVContrast  which  correspond  to standard TV controls. They
135       range from 0 to 100,except for tint which is an angle between -180  and
136       +180.
137

TRADEMARKS

139       Apple ][ and Applesoft are trademarks of Apple Computer.
140
141

SEE ALSO

143       xscreensaver(1),   bsod(6x),  xscreensaver-text(1),  fortune(1),  phos‐
144       phor(6x),  starwars(6x),  ljlatest(6x),  dadadodo(1),   webcollage(6x),
145       driftnet(1) EtherPEG, EtherPeek, console_codes(4).
146
148       Copyright  ©  2002-2003  by Trevor Blackwell.  Permission to use, copy,
149       modify, distribute, and sell this software and  its  documentation  for
150       any  purpose  is  hereby  granted  without fee, provided that the above
151       copyright notice appear in all copies  and  that  both  that  copyright
152       notice  and  this permission notice appear in supporting documentation.
153       No representations are made about the suitability of this software  for
154       any  purpose.   It  is provided "as is" without express or implied war‐
155       ranty.
156

AUTHOR

158       Television and Apple ][ emulation by  Trevor  Blackwell  <tlb@tlb.org>.
159       Slideshow and text mode by Jamie Zawinski <jwz@jwz.org>.  Pty and vt100
160       emulation by Fredrik Tolf <fredrik@dolda2000.com>.
161
162
163
164X Version 11               5.15-3.fc14 (18-Oct-2011)                apple2(6x)
Impressum