+++ /dev/null
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-XScreenSaver(1) XScreenSaver(1)
-
-
-N\bNA\bAM\bME\bE
- munch - munching squares screen hack
-
-S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
- d\bde\bec\bco\bo [-display _\bh_\bo_\bs_\bt_\b:_\bd_\bi_\bs_\bp_\bl_\ba_\by_\b._\bs_\bc_\br_\be_\be_\bn] [-foreground _\bc_\bo_\bl_\bo_\br]
- [-background _\bc_\bo_\bl_\bo_\br] [-window] [-root] [-mono] [-install]
- [-visual _\bv_\bi_\bs_\bu_\ba_\bl] [-delay _\bs_\be_\bc_\bo_\bn_\bd_\bs] [-xor] [-noxor] [-shift]
- [-noshift] [-logminwidth _\bm_\bi_\bn_\bi_\bm_\bu_\bm _\bw_\bi_\bd_\bt_\bh]
-
-D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
- The _\bm_\bu_\bn_\bc_\bh program preforms the munching squares hack until
- killed. It picks square size, position, and gravity ran-
- domly; 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 possi-
- ble combinations of X and T have come up. It was report-
- edly discovered by Jackson Wright in 1962 and took 5
- instructions of PDP-6 code.
-
-O\bOP\bPT\bTI\bIO\bON\bNS\bS
- _\bm_\bu_\bn_\bc_\bh accepts the following options:
-
- -\b-w\bwi\bin\bnd\bdo\bow\bw Draw on a newly-created window. This is the
- default.
-
- -\b-r\bro\boo\bot\bt Draw on the root window.
-
- -\b-m\bmo\bon\bno\bo If on a color display, pretend we're on a
- monochrome display.
-
- -\b-i\bin\bns\bst\bta\bal\bll\bl
- Install a private colormap for the window.
-
- -\b-v\bvi\bis\bsu\bua\bal\bl _\bv_\bi_\bs_\bu_\ba_\bl
- 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.
-
- -\b-d\bde\bel\bla\bay\by _\bs_\be_\bc_\bo_\bn_\bd_\bs
- How long to wait before starting over. Default 5
- seconds.
-
- -\b-x\bxo\bor\br Use the XOR drawing function. (Default.)
-
- -\b-n\bno\bo-\b-x\bxo\bor\br Don't use the XOR drawing function.
-
- -\b-s\bsh\bhi\bif\bft\bt Start drawing the square at weird starting points.
- (Default.)
-
- -\b-n\bno\bo-\b-s\bsh\bhi\bif\bft\bt
- Don't shift and start drawing the square at weird
- starting points.
-
-
-
-
-X Version 11 17-Jun-97 1
-
-
-
-
-
-XScreenSaver(1) XScreenSaver(1)
-
-
- -\b-l\blo\bog\bgm\bmi\bin\bnw\bwi\bid\bdt\bth\bh _\bm_\bi_\bn_\bi_\bm_\bu_\bm_\b-_\bw_\bi_\bd_\bt_\bh
- 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.)
-
-E\bEN\bNV\bVI\bIR\bRO\bON\bNM\bME\bEN\bNT\bT
- D\bDI\bIS\bSP\bPL\bLA\bAY\bY to get the default host and display number.
-
- X\bXE\bEN\bNV\bVI\bIR\bRO\bON\bNM\bME\bEN\bNT\bT
- to get the name of a resource file that overrides
- the global resources stored in the RESOURCE_MAN-
- AGER property.
-
-S\bSE\bEE\bE A\bAL\bLS\bSO\bO
- X\bX(1), x\bxs\bsc\bcr\bre\bee\ben\bns\bsa\bav\bve\ber\br(1),
- h\bht\btt\btp\bp:\b:/\b//\b/w\bww\bww\bw.\b.i\bin\bnw\bwa\bap\bp.\b.c\bco\bom\bm/\b/p\bpd\bdp\bp1\b10\b0/\b/h\bhb\bba\bak\bke\ber\br/\b/h\bha\bak\bkm\bme\bem\bm/\b/h\bha\bak\bkm\bme\bem\bm.\b.h\bht\btm\bml\bl,\b,
- h\bht\btt\btp\bp:\b:/\b//\b/w\bww\bww\bw.\b.c\bco\bom\bme\bed\bdi\bia\ba.\b.c\bco\bom\bm/\b/H\bHo\bot\bt/\b/j\bja\bar\brg\bgo\bon\bn_\b_3\b3.\b.0\b0/\b/J\bJA\bAR\bRG\bGO\bON\bN_\b_M\bM/\b/M\bMU\bUN\bNC\bCH\bH-\b-
- S\bSQ\bQR\bR.\b.H\bHT\bTM\bML\bL
-
-H\bHI\bIS\bST\bTO\bOR\bRY\bY
- Quoted from HAKMEM, for historical interest. As that doc-
- ument says, "Unless otherwise stated, all computer pro-
- grams are in PDP-6/10 assembly language."
-
- ITEM 146: MUNCHING SQUARES
- Another simple display program. It is thought that
- this was discovered by Jackson Wright on the RLE
- PDP-1 circa 1962.
-
- DATAI 2
- ADDB 1,2
- ROTC 2,-22
- XOR 1,2
- JRST .-4
-
- 2=X, 3=Y. Try things like 1001002 in data
- switches. This also does interesting things with
- operations other than XOR, and rotations other
- than -22. (Try IOR; AND; TSC; FADR; FDV(!); ROT
- -14, -9, -20, ...)
-
- ITEM 147 (Schroeppel):
- Munching squares is just views of the graph Y = X
- XOR T for consecutive values of T = time.
-
- ITEM 148 (Cohen, Beeler):
- A modification to munching squares which reveals
- them in frozen states through opening and closing
- curtains: insert FADR 2,1 before the XOR. Try data
- switches =
-
- 4000,,4 1000,,2002 2000,,4 0,,1002
-
- (Notation: <left half>,,<right half>)
-
-
-
-X Version 11 17-Jun-97 2
-
-
-
-
-
-XScreenSaver(1) XScreenSaver(1)
-
-
- Also try the FADR after the XOR, switches =
- 1001,,1.
-
-C\bCO\bOP\bPY\bYR\bRI\bIG\bGH\bHT\bT
- Copyright (C) 1997 by Tim Showalter. 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.
-
-A\bAU\bUT\bTH\bHO\bOR\bR
- Tim Showalter <tjs@andrew.cmu.edu>, 17-Jun-97, based on
- what's in the Jargon File and stealing stuff from existing
- xscreensaver modules.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-X Version 11 17-Jun-97 3
-
-