apple2(6x) | XScreenSaver manual | apple2(6x) |
apple2 - Apple ][ display emulator
apple2 [--display host:display.screen] [--foreground color] [--background color] [--window] [--root] [--window-id number][--mono] [--install] [--visual visual] [--program command to run] [--basic] [--slideshow] [--text] [--meta] [--esc] [--bs] [--del] [--fast] [--fps]
The apple2 program simulates an original Apple ][ Plus computer in all its 1979 glory. It also reproduces the appearance of display on a color television set of the period.
There are 3 modes: basic, slideshow, and text. Normally it chooses a mode randomly, but you can override with the --basic, --slideshow, or --text options.
In basic mode a simulated user types in a Basic program and runs it.
In slideshow mode it chooses a number of images from the image source you configured into XScreenSaver and displays them within the limitations of the Apple ][ display hardware. With only 6 available colors, you can only make out the general shape of the pictures.
In text mode it displays the output of a command or the contents of a file or URL (via the default xscreensaver-text(6x) program, which can be overridden with --program).
In text mode, it is also a fully functional (if anachronistic) vt100 terminal emulator.
apple2 accepts the following options:
In text mode, apple2 emulates a vt100 terminal running on a 40x24 uppercase-only screen.
For example:
apple2 -text \ -program 'cat /usr/src/linux*/README | fold -sw40' apple2 -text -program 'ping apple.com' apple2 -text -program 'ps -e' apple2 -text -program 'od -txCz -w7 /dev/urandom' apple2 -text -program 'cat /dev/random' apple2 -text -fast -program 'xemacs -nw -q -f life' apple2 -text -fast \ -program 'xemacs -nw -q --eval "(hanoi 5)"'You can also use apple2 as an extremely lo-fi replacement for the xterm(1) and gnome-terminal(1) terminal emulators:
apple2 -text -fast -program tcsh
By default, apple2 allocates a pseudo-tty for the --text-mode sub-process to run under. This has the desirable side effect that the program will be able to use ioctl(2) to fetch information about terminal parameters and window size, which many programs (such as top(1)) need to run properly. apple2 will also set the environment variable TERM to vt100 in the child process.
Any characters typed on the apple2 window will be passed along to the sub-process. (Note that this only works when running in "window" mode, not when running in --root mode under xscreensaver.)
Notable X resources supported include the following which correspond to standard TV controls: analogTVTint, analogTVColor, analogTVBrightness, and analogTVContrast which correspond to standard TV controls. They range from 0 to 100,except for tint which is an angle between -180 and +180.
Apple ][ and Applesoft are trademarks of Apple Computer.
xscreensaver(1), bsod(6x), xscreensaver-text(6x), fortune(1), phosphor(6x), starwars(6x), ljlatest(6x), dadadodo(1), webcollage(6x), driftnet(1) EtherPEG, EtherPeek, console_codes(4).
Copyright © 2002-2003 by Trevor Blackwell. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
Television and Apple ][ emulation by Trevor Blackwell <tlb@tlb.org>. Slideshow and text mode by Jamie Zawinski <jwz@jwz.org>. Pty and vt100 emulation by Fredrik Tolf <fredrik@dolda2000.com>.
6.06 (11-Dec-2022) | X Version 11 |