DISPLAY
to get the default host and display number.
Munching squares screen hack
munch [-display
host:display.screen]
[-foreground
color]
[-background
color]
[-window]
[-root]
[-mono]
[-install]
[-visual
visual]
[-delay
seconds]
[-xor]
[-noxor]
[-shift]
[-noshift]
[-logminwidth
minimum
width]
The munch program preforms the munching squares hack until killed. It picks square size, position, and gravity randomly; configurable options are listed below.
The munching squares hack cosists of drawing Y = X XOR T for a range of X and T over and over until all the possible combinations of X and T have come up. It was reportedly discovered by Jackson Wright in 1962 and took 5 instructions of PDP-6 code.
munch accepts the following options:
-window
Draw on a newly-created window. This is the default.
-root
Draw on the root window.
-mono
If on a color display, pretend we're on a monochrome display.
-install
Install a private colormap for the window.
-visual visual
Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual.
-delay seconds
How long to wait before starting over. Default 5 seconds.
-xor
Use the XOR drawing function. (Default.)
-no-xor
Don't use the XOR drawing function.
-shift
Start drawing the square at weird starting points. (Default.)
-no-shift
Don't shift and start drawing the square at weird starting points.
-logminwidth minimum-width
The logarithm (base 2) of the minimum with of a square (must be a power of 2, or some parts of the square aren't.)
DISPLAY
to get the default host and display number.
XENVIRONMENT
to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.
4 releases since Debian 2.0 (Hamm); the text changed 1 time.