home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume5 / golddig / part02 < prev    next >
SHell self-extracting ARchive  |  1989-11-12  |  58.6 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was processed as: SHell self-extracting ARchive (archive/shar).

You can browse this item here: part02

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
100% dexvert X11 Bitmap (image/xbm) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news text default
99% file xbm image (16x16), ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/329 Shell Archive Format default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 75 75 | 6e 65 74 21 69 73 6c 61 |Path: uu|net!isla|
|00000010| 6e 64 21 61 72 67 76 0a | 46 72 6f 6d 3a 20 61 72 |nd!argv.|From: ar|
|00000020| 67 76 40 69 73 6c 61 6e | 64 2e 75 75 2e 6e 65 74 |gv@islan|d.uu.net|
|00000030| 20 28 44 61 6e 20 48 65 | 6c 6c 65 72 29 0a 4e 65 | (Dan He|ller).Ne|
|00000040| 77 73 67 72 6f 75 70 73 | 3a 20 63 6f 6d 70 2e 73 |wsgroups|: comp.s|
|00000050| 6f 75 72 63 65 73 2e 78 | 0a 53 75 62 6a 65 63 74 |ources.x|.Subject|
|00000060| 3a 20 76 30 35 69 30 32 | 34 3a 20 67 6f 6c 64 64 |: v05i02|4: goldd|
|00000070| 69 67 20 2d 2d 20 41 20 | 47 61 6d 65 20 66 6f 72 |ig -- A |Game for|
|00000080| 20 58 31 31 2c 20 50 61 | 72 74 30 32 2f 30 32 0a | X11, Pa|rt02/02.|
|00000090| 4d 65 73 73 61 67 65 2d | 49 44 3a 20 3c 31 31 38 |Message-|ID: <118|
|000000a0| 35 40 69 73 6c 61 6e 64 | 2e 75 75 2e 6e 65 74 3e |5@island|.uu.net>|
|000000b0| 0a 44 61 74 65 3a 20 31 | 32 20 4e 6f 76 20 38 39 |.Date: 1|2 Nov 89|
|000000c0| 20 31 39 3a 31 39 3a 33 | 38 20 47 4d 54 0a 4f 72 | 19:19:3|8 GMT.Or|
|000000d0| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 49 73 6c 61 |ganizati|on: Isla|
|000000e0| 6e 64 20 47 72 61 70 68 | 69 63 73 2c 20 4d 61 72 |nd Graph|ics, Mar|
|000000f0| 69 6e 20 43 6f 75 6e 74 | 79 2c 20 43 61 6c 69 66 |in Count|y, Calif|
|00000100| 6f 72 6e 69 61 0a 4c 69 | 6e 65 73 3a 20 31 36 38 |ornia.Li|nes: 168|
|00000110| 36 0a 41 70 70 72 6f 76 | 65 64 3a 20 69 73 6c 61 |6.Approv|ed: isla|
|00000120| 6e 64 21 61 72 67 76 40 | 73 75 6e 2e 63 6f 6d 0a |nd!argv@|sun.com.|
|00000130| 0a 53 75 62 6d 69 74 74 | 65 64 2d 62 79 3a 20 41 |.Submitt|ed-by: A|
|00000140| 6c 65 78 61 6e 64 65 72 | 20 53 69 65 67 65 6c 20 |lexander| Siegel |
|00000150| 3c 73 69 65 67 65 6c 40 | 63 73 2e 63 6f 72 6e 65 |<siegel@|cs.corne|
|00000160| 6c 6c 2e 65 64 75 3e 0a | 50 6f 73 74 69 6e 67 2d |ll.edu>.|Posting-|
|00000170| 6e 75 6d 62 65 72 3a 20 | 56 6f 6c 75 6d 65 20 35 |number: |Volume 5|
|00000180| 2c 20 49 73 73 75 65 20 | 32 34 0a 41 72 63 68 69 |, Issue |24.Archi|
|00000190| 76 65 2d 6e 61 6d 65 3a | 20 67 6f 6c 64 64 69 67 |ve-name:| golddig|
|000001a0| 2f 70 61 72 74 30 32 0a | 0a 0a 0a 0a 23 21 20 2f |/part02.|....#! /|
|000001b0| 62 69 6e 2f 73 68 0a 23 | 20 54 68 69 73 20 69 73 |bin/sh.#| This is|
|000001c0| 20 61 20 73 68 65 6c 6c | 20 61 72 63 68 69 76 65 | a shell| archive|
|000001d0| 2c 20 6d 65 61 6e 69 6e | 67 3a 0a 23 20 31 2e 20 |, meanin|g:.# 1. |
|000001e0| 52 65 6d 6f 76 65 20 65 | 76 65 72 79 74 68 69 6e |Remove e|verythin|
|000001f0| 67 20 61 62 6f 76 65 20 | 74 68 65 20 23 21 20 2f |g above |the #! /|
|00000200| 62 69 6e 2f 73 68 20 6c | 69 6e 65 2e 0a 23 20 32 |bin/sh l|ine..# 2|
|00000210| 2e 20 53 61 76 65 20 74 | 68 65 20 72 65 73 75 6c |. Save t|he resul|
|00000220| 74 69 6e 67 20 74 65 78 | 74 20 69 6e 20 61 20 66 |ting tex|t in a f|
|00000230| 69 6c 65 2e 0a 23 20 33 | 2e 20 45 78 65 63 75 74 |ile..# 3|. Execut|
|00000240| 65 20 74 68 65 20 66 69 | 6c 65 20 77 69 74 68 20 |e the fi|le with |
|00000250| 2f 62 69 6e 2f 73 68 20 | 28 6e 6f 74 20 63 73 68 |/bin/sh |(not csh|
|00000260| 29 20 74 6f 20 63 72 65 | 61 74 65 20 74 68 65 20 |) to cre|ate the |
|00000270| 66 69 6c 65 73 3a 0a 23 | 09 67 6f 6c 64 64 69 67 |files:.#|.golddig|
|00000280| 0a 23 20 54 68 69 73 20 | 61 72 63 68 69 76 65 20 |.# This |archive |
|00000290| 63 72 65 61 74 65 64 3a | 20 46 72 69 20 4f 63 74 |created:| Fri Oct|
|000002a0| 20 31 33 20 31 34 3a 35 | 30 3a 30 36 20 31 39 38 | 13 14:5|0:06 198|
|000002b0| 39 0a 65 78 70 6f 72 74 | 20 50 41 54 48 3b 20 50 |9.export| PATH; P|
|000002c0| 41 54 48 3d 2f 62 69 6e | 3a 24 50 41 54 48 0a 69 |ATH=/bin|:$PATH.i|
|000002d0| 66 20 74 65 73 74 20 21 | 20 2d 64 20 27 67 6f 6c |f test !| -d 'gol|
|000002e0| 64 64 69 67 31 2e 30 27 | 0a 74 68 65 6e 0a 09 6d |ddig1.0'|.then..m|
|000002f0| 6b 64 69 72 20 27 67 6f | 6c 64 64 69 67 31 2e 30 |kdir 'go|lddig1.0|
|00000300| 27 0a 66 69 0a 63 64 20 | 27 67 6f 6c 64 64 69 67 |'.fi.cd |'golddig|
|00000310| 31 2e 30 27 0a 69 66 20 | 74 65 73 74 20 21 20 2d |1.0'.if |test ! -|
|00000320| 64 20 27 62 69 74 6d 61 | 70 27 0a 74 68 65 6e 0a |d 'bitma|p'.then.|
|00000330| 09 6d 6b 64 69 72 20 27 | 62 69 74 6d 61 70 27 0a |.mkdir '|bitmap'.|
|00000340| 66 69 0a 63 64 20 27 62 | 69 74 6d 61 70 27 0a 69 |fi.cd 'b|itmap'.i|
|00000350| 66 20 74 65 73 74 20 2d | 66 20 27 62 61 64 67 75 |f test -|f 'badgu|
|00000360| 79 2e 62 69 74 73 27 0a | 74 68 65 6e 0a 09 65 63 |y.bits'.|then..ec|
|00000370| 68 6f 20 73 68 61 72 3a | 20 77 69 6c 6c 20 6e 6f |ho shar:| will no|
|00000380| 74 20 6f 76 65 72 2d 77 | 72 69 74 65 20 65 78 69 |t over-w|rite exi|
|00000390| 73 74 69 6e 67 20 66 69 | 6c 65 20 22 27 62 61 64 |sting fi|le "'bad|
|000003a0| 67 75 79 2e 62 69 74 73 | 27 22 0a 65 6c 73 65 0a |guy.bits|'".else.|
|000003b0| 63 61 74 20 3c 3c 20 5c | 53 48 41 52 5f 45 4f 46 |cat << \|SHAR_EOF|
|000003c0| 20 3e 20 27 62 61 64 67 | 75 79 2e 62 69 74 73 27 | > 'badg|uy.bits'|
|000003d0| 0a 23 64 65 66 69 6e 65 | 20 62 61 64 67 75 79 5f |.#define| badguy_|
|000003e0| 77 69 64 74 68 20 31 36 | 0a 23 64 65 66 69 6e 65 |width 16|.#define|
|000003f0| 20 62 61 64 67 75 79 5f | 68 65 69 67 68 74 20 31 | badguy_|height 1|
|00000400| 36 0a 73 74 61 74 69 63 | 20 63 68 61 72 20 62 61 |6.static| char ba|
|00000410| 64 67 75 79 5f 62 69 74 | 73 5b 5d 20 3d 20 7b 0a |dguy_bit|s[] = {.|
|00000420| 20 20 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 | 0x00,| 0x00, 0|
|00000430| 78 30 30 2c 20 30 78 30 | 30 2c 20 30 78 65 30 2c |x00, 0x0|0, 0xe0,|
|00000440| 20 30 78 30 37 2c 20 30 | 78 33 30 2c 20 30 78 30 | 0x07, 0|x30, 0x0|
|00000450| 63 2c 20 30 78 31 38 2c | 20 30 78 31 38 2c 20 30 |c, 0x18,| 0x18, 0|
|00000460| 78 36 63 2c 20 30 78 33 | 36 2c 0a 20 20 20 30 78 |x6c, 0x3|6,. 0x|
|00000470| 32 63 2c 20 30 78 33 34 | 2c 20 30 78 38 63 2c 20 |2c, 0x34|, 0x8c, |
|00000480| 30 78 33 31 2c 20 30 78 | 30 63 2c 20 30 78 33 30 |0x31, 0x|0c, 0x30|
|00000490| 2c 20 30 78 63 63 2c 20 | 30 78 33 33 2c 20 30 78 |, 0xcc, |0x33, 0x|
|000004a0| 32 38 2c 20 30 78 31 34 | 2c 20 30 78 30 38 2c 20 |28, 0x14|, 0x08, |
|000004b0| 30 78 31 30 2c 0a 20 20 | 20 30 78 31 30 2c 20 30 |0x10,. | 0x10, 0|
|000004c0| 78 30 38 2c 20 30 78 65 | 30 2c 20 30 78 30 37 2c |x08, 0xe|0, 0x07,|
|000004d0| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x00, 0|x00, 0x0|
|000004e0| 30 2c 20 30 78 30 30 7d | 3b 0a 53 48 41 52 5f 45 |0, 0x00}|;.SHAR_E|
|000004f0| 4f 46 0a 69 66 20 74 65 | 73 74 20 32 38 31 20 2d |OF.if te|st 281 -|
|00000500| 6e 65 20 22 60 77 63 20 | 2d 63 20 3c 20 27 62 61 |ne "`wc |-c < 'ba|
|00000510| 64 67 75 79 2e 62 69 74 | 73 27 60 22 0a 74 68 65 |dguy.bit|s'`".the|
|00000520| 6e 0a 09 65 63 68 6f 20 | 73 68 61 72 3a 20 65 72 |n..echo |shar: er|
|00000530| 72 6f 72 20 74 72 61 6e | 73 6d 69 74 74 69 6e 67 |ror tran|smitting|
|00000540| 20 22 27 62 61 64 67 75 | 79 2e 62 69 74 73 27 22 | "'badgu|y.bits'"|
|00000550| 20 27 28 73 68 6f 75 6c | 64 20 68 61 76 65 20 62 | '(shoul|d have b|
|00000560| 65 65 6e 20 32 38 31 20 | 63 68 61 72 61 63 74 65 |een 281 |characte|
|00000570| 72 73 29 27 0a 66 69 0a | 66 69 20 23 20 65 6e 64 |rs)'.fi.|fi # end|
|00000580| 20 6f 66 20 6f 76 65 72 | 77 72 69 74 69 6e 67 20 | of over|writing |
|00000590| 63 68 65 63 6b 0a 69 66 | 20 74 65 73 74 20 2d 66 |check.if| test -f|
|000005a0| 20 27 62 61 64 67 75 79 | 32 2e 62 69 74 73 27 0a | 'badguy|2.bits'.|
|000005b0| 74 68 65 6e 0a 09 65 63 | 68 6f 20 73 68 61 72 3a |then..ec|ho shar:|
|000005c0| 20 77 69 6c 6c 20 6e 6f | 74 20 6f 76 65 72 2d 77 | will no|t over-w|
|000005d0| 72 69 74 65 20 65 78 69 | 73 74 69 6e 67 20 66 69 |rite exi|sting fi|
|000005e0| 6c 65 20 22 27 62 61 64 | 67 75 79 32 2e 62 69 74 |le "'bad|guy2.bit|
|000005f0| 73 27 22 0a 65 6c 73 65 | 0a 63 61 74 20 3c 3c 20 |s'".else|.cat << |
|00000600| 5c 53 48 41 52 5f 45 4f | 46 20 3e 20 27 62 61 64 |\SHAR_EO|F > 'bad|
|00000610| 67 75 79 32 2e 62 69 74 | 73 27 0a 23 64 65 66 69 |guy2.bit|s'.#defi|
|00000620| 6e 65 20 62 61 64 67 75 | 79 32 5f 77 69 64 74 68 |ne badgu|y2_width|
|00000630| 20 31 36 0a 23 64 65 66 | 69 6e 65 20 62 61 64 67 | 16.#def|ine badg|
|00000640| 75 79 32 5f 68 65 69 67 | 68 74 20 31 36 0a 23 64 |uy2_heig|ht 16.#d|
|00000650| 65 66 69 6e 65 20 62 61 | 64 67 75 79 32 5f 78 5f |efine ba|dguy2_x_|
|00000660| 68 6f 74 20 2d 31 0a 23 | 64 65 66 69 6e 65 20 62 |hot -1.#|define b|
|00000670| 61 64 67 75 79 32 5f 79 | 5f 68 6f 74 20 2d 31 0a |adguy2_y|_hot -1.|
|00000680| 73 74 61 74 69 63 20 63 | 68 61 72 20 62 61 64 67 |static c|har badg|
|00000690| 75 79 32 5f 62 69 74 73 | 5b 5d 20 3d 20 7b 0a 20 |uy2_bits|[] = {. |
|000006a0| 20 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 | 0x00, |0x00, 0x|
|000006b0| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 37 2c 20 |00, 0x00|, 0x07, |
|000006c0| 30 78 65 30 2c 20 30 78 | 30 63 2c 20 30 78 33 30 |0xe0, 0x|0c, 0x30|
|000006d0| 2c 20 30 78 31 38 2c 20 | 30 78 31 38 2c 20 30 78 |, 0x18, |0x18, 0x|
|000006e0| 33 36 2c 20 30 78 36 63 | 2c 0a 20 20 20 30 78 33 |36, 0x6c|,. 0x3|
|000006f0| 34 2c 20 30 78 32 63 2c | 20 30 78 33 31 2c 20 30 |4, 0x2c,| 0x31, 0|
|00000700| 78 38 63 2c 20 30 78 33 | 30 2c 20 30 78 30 63 2c |x8c, 0x3|0, 0x0c,|
|00000710| 20 30 78 33 33 2c 20 30 | 78 63 63 2c 20 30 78 31 | 0x33, 0|xcc, 0x1|
|00000720| 37 2c 20 30 78 65 38 2c | 20 30 78 31 33 2c 20 30 |7, 0xe8,| 0x13, 0|
|00000730| 78 63 38 2c 0a 20 20 20 | 30 78 30 38 2c 20 30 78 |xc8,. |0x08, 0x|
|00000740| 31 30 2c 20 30 78 30 37 | 2c 20 30 78 65 30 2c 20 |10, 0x07|, 0xe0, |
|00000750| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 30 |0x00, 0x|00, 0x00|
|00000760| 2c 20 30 78 30 30 7d 3b | 0a 53 48 41 52 5f 45 4f |, 0x00};|.SHAR_EO|
|00000770| 46 0a 69 66 20 74 65 73 | 74 20 33 33 34 20 2d 6e |F.if tes|t 334 -n|
|00000780| 65 20 22 60 77 63 20 2d | 63 20 3c 20 27 62 61 64 |e "`wc -|c < 'bad|
|00000790| 67 75 79 32 2e 62 69 74 | 73 27 60 22 0a 74 68 65 |guy2.bit|s'`".the|
|000007a0| 6e 0a 09 65 63 68 6f 20 | 73 68 61 72 3a 20 65 72 |n..echo |shar: er|
|000007b0| 72 6f 72 20 74 72 61 6e | 73 6d 69 74 74 69 6e 67 |ror tran|smitting|
|000007c0| 20 22 27 62 61 64 67 75 | 79 32 2e 62 69 74 73 27 | "'badgu|y2.bits'|
|000007d0| 22 20 27 28 73 68 6f 75 | 6c 64 20 68 61 76 65 20 |" '(shou|ld have |
|000007e0| 62 65 65 6e 20 33 33 34 | 20 63 68 61 72 61 63 74 |been 334| charact|
|000007f0| 65 72 73 29 27 0a 66 69 | 0a 66 69 20 23 20 65 6e |ers)'.fi|.fi # en|
|00000800| 64 20 6f 66 20 6f 76 65 | 72 77 72 69 74 69 6e 67 |d of ove|rwriting|
|00000810| 20 63 68 65 63 6b 0a 69 | 66 20 74 65 73 74 20 2d | check.i|f test -|
|00000820| 66 20 27 62 61 64 67 75 | 79 33 2e 62 69 74 73 27 |f 'badgu|y3.bits'|
|00000830| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00000840| 3a 20 77 69 6c 6c 20 6e | 6f 74 20 6f 76 65 72 2d |: will n|ot over-|
|00000850| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 20 66 |write ex|isting f|
|00000860| 69 6c 65 20 22 27 62 61 | 64 67 75 79 33 2e 62 69 |ile "'ba|dguy3.bi|
|00000870| 74 73 27 22 0a 65 6c 73 | 65 0a 63 61 74 20 3c 3c |ts'".els|e.cat <<|
|00000880| 20 5c 53 48 41 52 5f 45 | 4f 46 20 3e 20 27 62 61 | \SHAR_E|OF > 'ba|
|00000890| 64 67 75 79 33 2e 62 69 | 74 73 27 0a 23 64 65 66 |dguy3.bi|ts'.#def|
|000008a0| 69 6e 65 20 62 61 64 67 | 75 79 33 5f 77 69 64 74 |ine badg|uy3_widt|
|000008b0| 68 20 31 36 0a 23 64 65 | 66 69 6e 65 20 62 61 64 |h 16.#de|fine bad|
|000008c0| 67 75 79 33 5f 68 65 69 | 67 68 74 20 31 36 0a 23 |guy3_hei|ght 16.#|
|000008d0| 64 65 66 69 6e 65 20 62 | 61 64 67 75 79 33 5f 78 |define b|adguy3_x|
|000008e0| 5f 68 6f 74 20 2d 31 0a | 23 64 65 66 69 6e 65 20 |_hot -1.|#define |
|000008f0| 62 61 64 67 75 79 33 5f | 79 5f 68 6f 74 20 2d 31 |badguy3_|y_hot -1|
|00000900| 0a 73 74 61 74 69 63 20 | 63 68 61 72 20 62 61 64 |.static |char bad|
|00000910| 67 75 79 33 5f 62 69 74 | 73 5b 5d 20 3d 20 7b 0a |guy3_bit|s[] = {.|
|00000920| 20 20 20 30 78 30 63 2c | 20 30 78 33 30 2c 20 30 | 0x0c,| 0x30, 0|
|00000930| 78 63 63 2c 20 30 78 33 | 33 2c 20 30 78 65 38 2c |xcc, 0x3|3, 0xe8,|
|00000940| 20 30 78 31 37 2c 20 30 | 78 63 38 2c 20 30 78 31 | 0x17, 0|xc8, 0x1|
|00000950| 33 2c 20 30 78 31 30 2c | 20 30 78 30 38 2c 20 30 |3, 0x10,| 0x08, 0|
|00000960| 78 65 30 2c 20 30 78 30 | 37 2c 0a 20 20 20 30 78 |xe0, 0x0|7,. 0x|
|00000970| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |00, 0x00|, 0x00, |
|00000980| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 30 |0x00, 0x|00, 0x00|
|00000990| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x00, |0x00, 0x|
|000009a0| 65 30 2c 20 30 78 30 37 | 2c 20 30 78 33 30 2c 20 |e0, 0x07|, 0x30, |
|000009b0| 30 78 30 63 2c 0a 20 20 | 20 30 78 31 38 2c 20 30 |0x0c,. | 0x18, 0|
|000009c0| 78 31 38 2c 20 30 78 36 | 63 2c 20 30 78 33 36 2c |x18, 0x6|c, 0x36,|
|000009d0| 20 30 78 32 63 2c 20 30 | 78 33 34 2c 20 30 78 38 | 0x2c, 0|x34, 0x8|
|000009e0| 63 2c 20 30 78 33 31 7d | 3b 0a 53 48 41 52 5f 45 |c, 0x31}|;.SHAR_E|
|000009f0| 4f 46 0a 69 66 20 74 65 | 73 74 20 33 33 34 20 2d |OF.if te|st 334 -|
|00000a00| 6e 65 20 22 60 77 63 20 | 2d 63 20 3c 20 27 62 61 |ne "`wc |-c < 'ba|
|00000a10| 64 67 75 79 33 2e 62 69 | 74 73 27 60 22 0a 74 68 |dguy3.bi|ts'`".th|
|00000a20| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 65 |en..echo| shar: e|
|00000a30| 72 72 6f 72 20 74 72 61 | 6e 73 6d 69 74 74 69 6e |rror tra|nsmittin|
|00000a40| 67 20 22 27 62 61 64 67 | 75 79 33 2e 62 69 74 73 |g "'badg|uy3.bits|
|00000a50| 27 22 20 27 28 73 68 6f | 75 6c 64 20 68 61 76 65 |'" '(sho|uld have|
|00000a60| 20 62 65 65 6e 20 33 33 | 34 20 63 68 61 72 61 63 | been 33|4 charac|
|00000a70| 74 65 72 73 29 27 0a 66 | 69 0a 66 69 20 23 20 65 |ters)'.f|i.fi # e|
|00000a80| 6e 64 20 6f 66 20 6f 76 | 65 72 77 72 69 74 69 6e |nd of ov|erwritin|
|00000a90| 67 20 63 68 65 63 6b 0a | 69 66 20 74 65 73 74 20 |g check.|if test |
|00000aa0| 2d 66 20 27 65 73 63 61 | 70 65 2e 62 69 74 73 27 |-f 'esca|pe.bits'|
|00000ab0| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00000ac0| 3a 20 77 69 6c 6c 20 6e | 6f 74 20 6f 76 65 72 2d |: will n|ot over-|
|00000ad0| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 20 66 |write ex|isting f|
|00000ae0| 69 6c 65 20 22 27 65 73 | 63 61 70 65 2e 62 69 74 |ile "'es|cape.bit|
|00000af0| 73 27 22 0a 65 6c 73 65 | 0a 63 61 74 20 3c 3c 20 |s'".else|.cat << |
|00000b00| 5c 53 48 41 52 5f 45 4f | 46 20 3e 20 27 65 73 63 |\SHAR_EO|F > 'esc|
|00000b10| 61 70 65 2e 62 69 74 73 | 27 0a 23 64 65 66 69 6e |ape.bits|'.#defin|
|00000b20| 65 20 65 73 63 61 70 65 | 5f 77 69 64 74 68 20 31 |e escape|_width 1|
|00000b30| 36 0a 23 64 65 66 69 6e | 65 20 65 73 63 61 70 65 |6.#defin|e escape|
|00000b40| 5f 68 65 69 67 68 74 20 | 31 36 0a 23 64 65 66 69 |_height |16.#defi|
|00000b50| 6e 65 20 65 73 63 61 70 | 65 5f 78 5f 68 6f 74 20 |ne escap|e_x_hot |
|00000b60| 2d 31 0a 23 64 65 66 69 | 6e 65 20 65 73 63 61 70 |-1.#defi|ne escap|
|00000b70| 65 5f 79 5f 68 6f 74 20 | 2d 31 0a 73 74 61 74 69 |e_y_hot |-1.stati|
|00000b80| 63 20 63 68 61 72 20 65 | 73 63 61 70 65 5f 62 69 |c char e|scape_bi|
|00000b90| 74 73 5b 5d 20 3d 20 7b | 0a 20 20 20 30 78 61 38 |ts[] = {|. 0xa8|
|00000ba0| 2c 20 30 78 32 61 2c 20 | 30 78 31 34 2c 20 30 78 |, 0x2a, |0x14, 0x|
|00000bb0| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 32 38 2c 20 |00, 0x00|, 0x28, |
|00000bc0| 30 78 31 34 2c 20 30 78 | 30 30 2c 20 30 78 61 30 |0x14, 0x|00, 0xa0|
|00000bd0| 2c 20 30 78 32 61 2c 20 | 30 78 31 34 2c 20 30 78 |, 0x2a, |0x14, 0x|
|00000be0| 30 30 2c 0a 20 20 20 30 | 78 30 30 2c 20 30 78 32 |00,. 0|x00, 0x2|
|00000bf0| 38 2c 20 30 78 31 34 2c | 20 30 78 30 30 2c 20 30 |8, 0x14,| 0x00, 0|
|00000c00| 78 61 30 2c 20 30 78 32 | 61 2c 20 30 78 31 34 2c |xa0, 0x2|a, 0x14,|
|00000c10| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 32 | 0x00, 0|x00, 0x2|
|00000c20| 38 2c 20 30 78 31 34 2c | 20 30 78 30 30 2c 0a 20 |8, 0x14,| 0x00,. |
|00000c30| 20 20 30 78 61 30 2c 20 | 30 78 32 61 2c 20 30 78 | 0xa0, |0x2a, 0x|
|00000c40| 31 34 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |14, 0x00|, 0x00, |
|00000c50| 30 78 32 38 2c 20 30 78 | 31 34 2c 20 30 78 31 30 |0x28, 0x|14, 0x10|
|00000c60| 7d 3b 0a 53 48 41 52 5f | 45 4f 46 0a 69 66 20 74 |};.SHAR_|EOF.if t|
|00000c70| 65 73 74 20 33 32 39 20 | 2d 6e 65 20 22 60 77 63 |est 329 |-ne "`wc|
|00000c80| 20 2d 63 20 3c 20 27 65 | 73 63 61 70 65 2e 62 69 | -c < 'e|scape.bi|
|00000c90| 74 73 27 60 22 0a 74 68 | 65 6e 0a 09 65 63 68 6f |ts'`".th|en..echo|
|00000ca0| 20 73 68 61 72 3a 20 65 | 72 72 6f 72 20 74 72 61 | shar: e|rror tra|
|00000cb0| 6e 73 6d 69 74 74 69 6e | 67 20 22 27 65 73 63 61 |nsmittin|g "'esca|
|00000cc0| 70 65 2e 62 69 74 73 27 | 22 20 27 28 73 68 6f 75 |pe.bits'|" '(shou|
|00000cd0| 6c 64 20 68 61 76 65 20 | 62 65 65 6e 20 33 32 39 |ld have |been 329|
|00000ce0| 20 63 68 61 72 61 63 74 | 65 72 73 29 27 0a 66 69 | charact|ers)'.fi|
|00000cf0| 0a 66 69 20 23 20 65 6e | 64 20 6f 66 20 6f 76 65 |.fi # en|d of ove|
|00000d00| 72 77 72 69 74 69 6e 67 | 20 63 68 65 63 6b 0a 69 |rwriting| check.i|
|00000d10| 66 20 74 65 73 74 20 2d | 66 20 27 66 6c 79 2e 62 |f test -|f 'fly.b|
|00000d20| 69 74 73 27 0a 74 68 65 | 6e 0a 09 65 63 68 6f 20 |its'.the|n..echo |
|00000d30| 73 68 61 72 3a 20 77 69 | 6c 6c 20 6e 6f 74 20 6f |shar: wi|ll not o|
|00000d40| 76 65 72 2d 77 72 69 74 | 65 20 65 78 69 73 74 69 |ver-writ|e existi|
|00000d50| 6e 67 20 66 69 6c 65 20 | 22 27 66 6c 79 2e 62 69 |ng file |"'fly.bi|
|00000d60| 74 73 27 22 0a 65 6c 73 | 65 0a 63 61 74 20 3c 3c |ts'".els|e.cat <<|
|00000d70| 20 5c 53 48 41 52 5f 45 | 4f 46 20 3e 20 27 66 6c | \SHAR_E|OF > 'fl|
|00000d80| 79 2e 62 69 74 73 27 0a | 23 64 65 66 69 6e 65 20 |y.bits'.|#define |
|00000d90| 66 6c 79 5f 77 69 64 74 | 68 20 31 36 0a 23 64 65 |fly_widt|h 16.#de|
|00000da0| 66 69 6e 65 20 66 6c 79 | 5f 68 65 69 67 68 74 20 |fine fly|_height |
|00000db0| 31 36 0a 23 64 65 66 69 | 6e 65 20 66 6c 79 5f 78 |16.#defi|ne fly_x|
|00000dc0| 5f 68 6f 74 20 2d 31 0a | 23 64 65 66 69 6e 65 20 |_hot -1.|#define |
|00000dd0| 66 6c 79 5f 79 5f 68 6f | 74 20 2d 31 0a 73 74 61 |fly_y_ho|t -1.sta|
|00000de0| 74 69 63 20 63 68 61 72 | 20 66 6c 79 5f 62 69 74 |tic char| fly_bit|
|00000df0| 73 5b 5d 20 3d 20 7b 0a | 20 20 20 30 78 63 30 2c |s[] = {.| 0xc0,|
|00000e00| 20 30 78 30 33 2c 20 30 | 78 65 30 2c 20 30 78 30 | 0x03, 0|xe0, 0x0|
|00000e10| 37 2c 20 30 78 36 30 2c | 20 30 78 30 36 2c 20 30 |7, 0x60,| 0x06, 0|
|00000e20| 78 37 30 2c 20 30 78 30 | 65 2c 20 30 78 33 38 2c |x70, 0x0|e, 0x38,|
|00000e30| 20 30 78 31 63 2c 20 30 | 78 31 63 2c 20 30 78 33 | 0x1c, 0|x1c, 0x3|
|00000e40| 38 2c 0a 20 20 20 30 78 | 30 30 2c 20 30 78 30 30 |8,. 0x|00, 0x00|
|00000e50| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x00, |0x00, 0x|
|00000e60| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 38 30 2c 20 |00, 0x00|, 0x80, |
|00000e70| 30 78 30 31 2c 20 30 78 | 63 34 2c 20 30 78 32 33 |0x01, 0x|c4, 0x23|
|00000e80| 2c 20 30 78 63 63 2c 20 | 30 78 33 33 2c 0a 20 20 |, 0xcc, |0x33,. |
|00000e90| 20 30 78 39 38 2c 20 30 | 78 31 39 2c 20 30 78 66 | 0x98, 0|x19, 0xf|
|00000ea0| 30 2c 20 30 78 30 66 2c | 20 30 78 65 30 2c 20 30 |0, 0x0f,| 0xe0, 0|
|00000eb0| 78 30 37 2c 20 30 78 63 | 30 2c 20 30 78 30 33 7d |x07, 0xc|0, 0x03}|
|00000ec0| 3b 0a 53 48 41 52 5f 45 | 4f 46 0a 69 66 20 74 65 |;.SHAR_E|OF.if te|
|00000ed0| 73 74 20 33 31 34 20 2d | 6e 65 20 22 60 77 63 20 |st 314 -|ne "`wc |
|00000ee0| 2d 63 20 3c 20 27 66 6c | 79 2e 62 69 74 73 27 60 |-c < 'fl|y.bits'`|
|00000ef0| 22 0a 74 68 65 6e 0a 09 | 65 63 68 6f 20 73 68 61 |".then..|echo sha|
|00000f00| 72 3a 20 65 72 72 6f 72 | 20 74 72 61 6e 73 6d 69 |r: error| transmi|
|00000f10| 74 74 69 6e 67 20 22 27 | 66 6c 79 2e 62 69 74 73 |tting "'|fly.bits|
|00000f20| 27 22 20 27 28 73 68 6f | 75 6c 64 20 68 61 76 65 |'" '(sho|uld have|
|00000f30| 20 62 65 65 6e 20 33 31 | 34 20 63 68 61 72 61 63 | been 31|4 charac|
|00000f40| 74 65 72 73 29 27 0a 66 | 69 0a 66 69 20 23 20 65 |ters)'.f|i.fi # e|
|00000f50| 6e 64 20 6f 66 20 6f 76 | 65 72 77 72 69 74 69 6e |nd of ov|erwritin|
|00000f60| 67 20 63 68 65 63 6b 0a | 69 66 20 74 65 73 74 20 |g check.|if test |
|00000f70| 2d 66 20 27 67 68 6f 73 | 74 2e 62 69 74 73 27 0a |-f 'ghos|t.bits'.|
|00000f80| 74 68 65 6e 0a 09 65 63 | 68 6f 20 73 68 61 72 3a |then..ec|ho shar:|
|00000f90| 20 77 69 6c 6c 20 6e 6f | 74 20 6f 76 65 72 2d 77 | will no|t over-w|
|00000fa0| 72 69 74 65 20 65 78 69 | 73 74 69 6e 67 20 66 69 |rite exi|sting fi|
|00000fb0| 6c 65 20 22 27 67 68 6f | 73 74 2e 62 69 74 73 27 |le "'gho|st.bits'|
|00000fc0| 22 0a 65 6c 73 65 0a 63 | 61 74 20 3c 3c 20 5c 53 |".else.c|at << \S|
|00000fd0| 48 41 52 5f 45 4f 46 20 | 3e 20 27 67 68 6f 73 74 |HAR_EOF |> 'ghost|
|00000fe0| 2e 62 69 74 73 27 0a 23 | 64 65 66 69 6e 65 20 67 |.bits'.#|define g|
|00000ff0| 68 6f 73 74 5f 77 69 64 | 74 68 20 31 36 0a 23 64 |host_wid|th 16.#d|
|00001000| 65 66 69 6e 65 20 67 68 | 6f 73 74 5f 68 65 69 67 |efine gh|ost_heig|
|00001010| 68 74 20 31 36 0a 23 64 | 65 66 69 6e 65 20 67 68 |ht 16.#d|efine gh|
|00001020| 6f 73 74 5f 78 5f 68 6f | 74 20 2d 31 0a 23 64 65 |ost_x_ho|t -1.#de|
|00001030| 66 69 6e 65 20 67 68 6f | 73 74 5f 79 5f 68 6f 74 |fine gho|st_y_hot|
|00001040| 20 2d 31 0a 73 74 61 74 | 69 63 20 63 68 61 72 20 | -1.stat|ic char |
|00001050| 67 68 6f 73 74 5f 62 69 | 74 73 5b 5d 20 3d 20 7b |ghost_bi|ts[] = {|
|00001060| 0a 20 20 20 30 78 37 66 | 2c 20 30 78 66 65 2c 20 |. 0x7f|, 0xfe, |
|00001070| 30 78 35 64 2c 20 30 78 | 35 34 2c 20 30 78 33 61 |0x5d, 0x|54, 0x3a|
|00001080| 2c 20 30 78 61 61 2c 20 | 30 78 35 64 2c 20 30 78 |, 0xaa, |0x5d, 0x|
|00001090| 35 34 2c 20 30 78 30 61 | 2c 20 30 78 61 30 2c 20 |54, 0x0a|, 0xa0, |
|000010a0| 30 78 30 64 2c 20 30 78 | 35 30 2c 0a 20 20 20 30 |0x0d, 0x|50,. 0|
|000010b0| 78 30 61 2c 20 30 78 61 | 30 2c 20 30 78 30 66 2c |x0a, 0xa|0, 0x0f,|
|000010c0| 20 30 78 66 30 2c 20 30 | 78 30 66 2c 20 30 78 66 | 0xf0, 0|x0f, 0xf|
|000010d0| 30 2c 20 30 78 30 35 2c | 20 30 78 35 30 2c 20 30 |0, 0x05,| 0x50, 0|
|000010e0| 78 30 61 2c 20 30 78 62 | 30 2c 20 30 78 30 35 2c |x0a, 0xb|0, 0x05,|
|000010f0| 20 30 78 35 30 2c 0a 20 | 20 20 30 78 32 61 2c 20 | 0x50,. | 0x2a, |
|00001100| 30 78 62 61 2c 20 30 78 | 35 35 2c 20 30 78 35 63 |0xba, 0x|55, 0x5c|
|00001110| 2c 20 30 78 32 61 2c 20 | 30 78 62 61 2c 20 30 78 |, 0x2a, |0xba, 0x|
|00001120| 37 66 2c 20 30 78 66 65 | 7d 3b 0a 53 48 41 52 5f |7f, 0xfe|};.SHAR_|
|00001130| 45 4f 46 0a 69 66 20 74 | 65 73 74 20 33 32 34 20 |EOF.if t|est 324 |
|00001140| 2d 6e 65 20 22 60 77 63 | 20 2d 63 20 3c 20 27 67 |-ne "`wc| -c < 'g|
|00001150| 68 6f 73 74 2e 62 69 74 | 73 27 60 22 0a 74 68 65 |host.bit|s'`".the|
|00001160| 6e 0a 09 65 63 68 6f 20 | 73 68 61 72 3a 20 65 72 |n..echo |shar: er|
|00001170| 72 6f 72 20 74 72 61 6e | 73 6d 69 74 74 69 6e 67 |ror tran|smitting|
|00001180| 20 22 27 67 68 6f 73 74 | 2e 62 69 74 73 27 22 20 | "'ghost|.bits'" |
|00001190| 27 28 73 68 6f 75 6c 64 | 20 68 61 76 65 20 62 65 |'(should| have be|
|000011a0| 65 6e 20 33 32 34 20 63 | 68 61 72 61 63 74 65 72 |en 324 c|haracter|
|000011b0| 73 29 27 0a 66 69 0a 66 | 69 20 23 20 65 6e 64 20 |s)'.fi.f|i # end |
|000011c0| 6f 66 20 6f 76 65 72 77 | 72 69 74 69 6e 67 20 63 |of overw|riting c|
|000011d0| 68 65 63 6b 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |heck.if |test -f |
|000011e0| 27 67 6f 6c 64 2e 62 69 | 74 73 27 0a 74 68 65 6e |'gold.bi|ts'.then|
|000011f0| 0a 09 65 63 68 6f 20 73 | 68 61 72 3a 20 77 69 6c |..echo s|har: wil|
|00001200| 6c 20 6e 6f 74 20 6f 76 | 65 72 2d 77 72 69 74 65 |l not ov|er-write|
|00001210| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 22 | existin|g file "|
|00001220| 27 67 6f 6c 64 2e 62 69 | 74 73 27 22 0a 65 6c 73 |'gold.bi|ts'".els|
|00001230| 65 0a 63 61 74 20 3c 3c | 20 5c 53 48 41 52 5f 45 |e.cat <<| \SHAR_E|
|00001240| 4f 46 20 3e 20 27 67 6f | 6c 64 2e 62 69 74 73 27 |OF > 'go|ld.bits'|
|00001250| 0a 23 64 65 66 69 6e 65 | 20 67 6f 6c 64 5f 77 69 |.#define| gold_wi|
|00001260| 64 74 68 20 31 36 0a 23 | 64 65 66 69 6e 65 20 67 |dth 16.#|define g|
|00001270| 6f 6c 64 5f 68 65 69 67 | 68 74 20 31 36 0a 23 64 |old_heig|ht 16.#d|
|00001280| 65 66 69 6e 65 20 67 6f | 6c 64 5f 78 5f 68 6f 74 |efine go|ld_x_hot|
|00001290| 20 2d 31 0a 23 64 65 66 | 69 6e 65 20 67 6f 6c 64 | -1.#def|ine gold|
|000012a0| 5f 79 5f 68 6f 74 20 2d | 31 0a 73 74 61 74 69 63 |_y_hot -|1.static|
|000012b0| 20 63 68 61 72 20 67 6f | 6c 64 5f 62 69 74 73 5b | char go|ld_bits[|
|000012c0| 5d 20 3d 20 7b 0a 20 20 | 20 30 78 30 30 2c 20 30 |] = {. | 0x00, 0|
|000012d0| 78 30 30 2c 20 30 78 30 | 30 2c 20 30 78 30 30 2c |x00, 0x0|0, 0x00,|
|000012e0| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x00, 0|x00, 0x0|
|000012f0| 30 2c 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 |0, 0x00,| 0x00, 0|
|00001300| 78 30 30 2c 20 30 78 30 | 30 2c 20 30 78 30 30 2c |x00, 0x0|0, 0x00,|
|00001310| 0a 20 20 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |. 0x00|, 0x00, |
|00001320| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 63 30 |0x00, 0x|00, 0xc0|
|00001330| 2c 20 30 78 30 31 2c 20 | 30 78 36 30 2c 20 30 78 |, 0x01, |0x60, 0x|
|00001340| 30 33 2c 20 30 78 62 30 | 2c 20 30 78 30 36 2c 20 |03, 0xb0|, 0x06, |
|00001350| 30 78 35 30 2c 20 30 78 | 30 35 2c 0a 20 20 20 30 |0x50, 0x|05,. 0|
|00001360| 78 62 30 2c 20 30 78 30 | 36 2c 20 30 78 36 30 2c |xb0, 0x0|6, 0x60,|
|00001370| 20 30 78 30 33 2c 20 30 | 78 63 30 2c 20 30 78 30 | 0x03, 0|xc0, 0x0|
|00001380| 31 2c 20 30 78 30 30 2c | 20 30 78 30 30 7d 3b 0a |1, 0x00,| 0x00};.|
|00001390| 53 48 41 52 5f 45 4f 46 | 0a 69 66 20 74 65 73 74 |SHAR_EOF|.if test|
|000013a0| 20 33 31 39 20 2d 6e 65 | 20 22 60 77 63 20 2d 63 | 319 -ne| "`wc -c|
|000013b0| 20 3c 20 27 67 6f 6c 64 | 2e 62 69 74 73 27 60 22 | < 'gold|.bits'`"|
|000013c0| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|000013d0| 3a 20 65 72 72 6f 72 20 | 74 72 61 6e 73 6d 69 74 |: error |transmit|
|000013e0| 74 69 6e 67 20 22 27 67 | 6f 6c 64 2e 62 69 74 73 |ting "'g|old.bits|
|000013f0| 27 22 20 27 28 73 68 6f | 75 6c 64 20 68 61 76 65 |'" '(sho|uld have|
|00001400| 20 62 65 65 6e 20 33 31 | 39 20 63 68 61 72 61 63 | been 31|9 charac|
|00001410| 74 65 72 73 29 27 0a 66 | 69 0a 66 69 20 23 20 65 |ters)'.f|i.fi # e|
|00001420| 6e 64 20 6f 66 20 6f 76 | 65 72 77 72 69 74 69 6e |nd of ov|erwritin|
|00001430| 67 20 63 68 65 63 6b 0a | 69 66 20 74 65 73 74 20 |g check.|if test |
|00001440| 2d 66 20 27 68 61 6e 67 | 31 2e 62 69 74 73 27 0a |-f 'hang|1.bits'.|
|00001450| 74 68 65 6e 0a 09 65 63 | 68 6f 20 73 68 61 72 3a |then..ec|ho shar:|
|00001460| 20 77 69 6c 6c 20 6e 6f | 74 20 6f 76 65 72 2d 77 | will no|t over-w|
|00001470| 72 69 74 65 20 65 78 69 | 73 74 69 6e 67 20 66 69 |rite exi|sting fi|
|00001480| 6c 65 20 22 27 68 61 6e | 67 31 2e 62 69 74 73 27 |le "'han|g1.bits'|
|00001490| 22 0a 65 6c 73 65 0a 63 | 61 74 20 3c 3c 20 5c 53 |".else.c|at << \S|
|000014a0| 48 41 52 5f 45 4f 46 20 | 3e 20 27 68 61 6e 67 31 |HAR_EOF |> 'hang1|
|000014b0| 2e 62 69 74 73 27 0a 23 | 64 65 66 69 6e 65 20 68 |.bits'.#|define h|
|000014c0| 61 6e 67 31 5f 77 69 64 | 74 68 20 31 36 0a 23 64 |ang1_wid|th 16.#d|
|000014d0| 65 66 69 6e 65 20 68 61 | 6e 67 31 5f 68 65 69 67 |efine ha|ng1_heig|
|000014e0| 68 74 20 31 36 0a 23 64 | 65 66 69 6e 65 20 68 61 |ht 16.#d|efine ha|
|000014f0| 6e 67 31 5f 78 5f 68 6f | 74 20 2d 31 0a 23 64 65 |ng1_x_ho|t -1.#de|
|00001500| 66 69 6e 65 20 68 61 6e | 67 31 5f 79 5f 68 6f 74 |fine han|g1_y_hot|
|00001510| 20 2d 31 0a 73 74 61 74 | 69 63 20 63 68 61 72 20 | -1.stat|ic char |
|00001520| 68 61 6e 67 31 5f 62 69 | 74 73 5b 5d 20 3d 20 7b |hang1_bi|ts[] = {|
|00001530| 0a 20 20 20 30 78 31 38 | 2c 20 30 78 31 38 2c 20 |. 0x18|, 0x18, |
|00001540| 30 78 39 63 2c 20 30 78 | 33 39 2c 20 30 78 64 38 |0x9c, 0x|39, 0xd8|
|00001550| 2c 20 30 78 31 62 2c 20 | 30 78 64 38 2c 20 30 78 |, 0x1b, |0xd8, 0x|
|00001560| 31 62 2c 20 30 78 62 38 | 2c 20 30 78 31 64 2c 20 |1b, 0xb8|, 0x1d, |
|00001570| 30 78 66 30 2c 20 30 78 | 31 66 2c 0a 20 20 20 30 |0xf0, 0x|1f,. 0|
|00001580| 78 65 30 2c 20 30 78 30 | 37 2c 20 30 78 63 30 2c |xe0, 0x0|7, 0xc0,|
|00001590| 20 30 78 30 33 2c 20 30 | 78 63 30 2c 20 30 78 30 | 0x03, 0|xc0, 0x0|
|000015a0| 33 2c 20 30 78 65 30 2c | 20 30 78 30 37 2c 20 30 |3, 0xe0,| 0x07, 0|
|000015b0| 78 36 30 2c 20 30 78 30 | 36 2c 20 30 78 36 30 2c |x60, 0x0|6, 0x60,|
|000015c0| 20 30 78 30 36 2c 0a 20 | 20 20 30 78 36 30 2c 20 | 0x06,. | 0x60, |
|000015d0| 30 78 30 36 2c 20 30 78 | 37 30 2c 20 30 78 30 65 |0x06, 0x|70, 0x0e|
|000015e0| 2c 20 30 78 33 38 2c 20 | 30 78 31 63 2c 20 30 78 |, 0x38, |0x1c, 0x|
|000015f0| 30 30 2c 20 30 78 30 30 | 7d 3b 0a 53 48 41 52 5f |00, 0x00|};.SHAR_|
|00001600| 45 4f 46 0a 69 66 20 74 | 65 73 74 20 33 32 34 20 |EOF.if t|est 324 |
|00001610| 2d 6e 65 20 22 60 77 63 | 20 2d 63 20 3c 20 27 68 |-ne "`wc| -c < 'h|
|00001620| 61 6e 67 31 2e 62 69 74 | 73 27 60 22 0a 74 68 65 |ang1.bit|s'`".the|
|00001630| 6e 0a 09 65 63 68 6f 20 | 73 68 61 72 3a 20 65 72 |n..echo |shar: er|
|00001640| 72 6f 72 20 74 72 61 6e | 73 6d 69 74 74 69 6e 67 |ror tran|smitting|
|00001650| 20 22 27 68 61 6e 67 31 | 2e 62 69 74 73 27 22 20 | "'hang1|.bits'" |
|00001660| 27 28 73 68 6f 75 6c 64 | 20 68 61 76 65 20 62 65 |'(should| have be|
|00001670| 65 6e 20 33 32 34 20 63 | 68 61 72 61 63 74 65 72 |en 324 c|haracter|
|00001680| 73 29 27 0a 66 69 0a 66 | 69 20 23 20 65 6e 64 20 |s)'.fi.f|i # end |
|00001690| 6f 66 20 6f 76 65 72 77 | 72 69 74 69 6e 67 20 63 |of overw|riting c|
|000016a0| 68 65 63 6b 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |heck.if |test -f |
|000016b0| 27 68 61 6e 67 32 2e 62 | 69 74 73 27 0a 74 68 65 |'hang2.b|its'.the|
|000016c0| 6e 0a 09 65 63 68 6f 20 | 73 68 61 72 3a 20 77 69 |n..echo |shar: wi|
|000016d0| 6c 6c 20 6e 6f 74 20 6f | 76 65 72 2d 77 72 69 74 |ll not o|ver-writ|
|000016e0| 65 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |e existi|ng file |
|000016f0| 22 27 68 61 6e 67 32 2e | 62 69 74 73 27 22 0a 65 |"'hang2.|bits'".e|
|00001700| 6c 73 65 0a 63 61 74 20 | 3c 3c 20 5c 53 48 41 52 |lse.cat |<< \SHAR|
|00001710| 5f 45 4f 46 20 3e 20 27 | 68 61 6e 67 32 2e 62 69 |_EOF > '|hang2.bi|
|00001720| 74 73 27 0a 23 64 65 66 | 69 6e 65 20 68 61 6e 67 |ts'.#def|ine hang|
|00001730| 32 5f 77 69 64 74 68 20 | 31 36 0a 23 64 65 66 69 |2_width |16.#defi|
|00001740| 6e 65 20 68 61 6e 67 32 | 5f 68 65 69 67 68 74 20 |ne hang2|_height |
|00001750| 31 36 0a 23 64 65 66 69 | 6e 65 20 68 61 6e 67 32 |16.#defi|ne hang2|
|00001760| 5f 78 5f 68 6f 74 20 2d | 31 0a 23 64 65 66 69 6e |_x_hot -|1.#defin|
|00001770| 65 20 68 61 6e 67 32 5f | 79 5f 68 6f 74 20 2d 31 |e hang2_|y_hot -1|
|00001780| 0a 73 74 61 74 69 63 20 | 63 68 61 72 20 68 61 6e |.static |char han|
|00001790| 67 32 5f 62 69 74 73 5b | 5d 20 3d 20 7b 0a 20 20 |g2_bits[|] = {. |
|000017a0| 20 30 78 33 30 2c 20 30 | 78 30 63 2c 20 30 78 37 | 0x30, 0|x0c, 0x7|
|000017b0| 31 2c 20 30 78 38 65 2c | 20 30 78 33 62 2c 20 30 |1, 0x8e,| 0x3b, 0|
|000017c0| 78 64 63 2c 20 30 78 31 | 62 2c 20 30 78 64 38 2c |xdc, 0x1|b, 0xd8,|
|000017d0| 20 30 78 31 64 2c 20 30 | 78 62 38 2c 20 30 78 30 | 0x1d, 0|xb8, 0x0|
|000017e0| 66 2c 20 30 78 66 30 2c | 0a 20 20 20 30 78 30 37 |f, 0xf0,|. 0x07|
|000017f0| 2c 20 30 78 65 30 2c 20 | 30 78 30 33 2c 20 30 78 |, 0xe0, |0x03, 0x|
|00001800| 63 30 2c 20 30 78 30 33 | 2c 20 30 78 63 30 2c 20 |c0, 0x03|, 0xc0, |
|00001810| 30 78 30 37 2c 20 30 78 | 65 30 2c 20 30 78 30 36 |0x07, 0x|e0, 0x06|
|00001820| 2c 20 30 78 36 30 2c 20 | 30 78 30 36 2c 20 30 78 |, 0x60, |0x06, 0x|
|00001830| 36 30 2c 0a 20 20 20 30 | 78 30 36 2c 20 30 78 36 |60,. 0|x06, 0x6|
|00001840| 30 2c 20 30 78 30 65 2c | 20 30 78 37 30 2c 20 30 |0, 0x0e,| 0x70, 0|
|00001850| 78 31 63 2c 20 30 78 33 | 38 2c 20 30 78 30 30 2c |x1c, 0x3|8, 0x00,|
|00001860| 20 30 78 30 30 7d 3b 0a | 53 48 41 52 5f 45 4f 46 | 0x00};.|SHAR_EOF|
|00001870| 0a 69 66 20 74 65 73 74 | 20 33 32 34 20 2d 6e 65 |.if test| 324 -ne|
|00001880| 20 22 60 77 63 20 2d 63 | 20 3c 20 27 68 61 6e 67 | "`wc -c| < 'hang|
|00001890| 32 2e 62 69 74 73 27 60 | 22 0a 74 68 65 6e 0a 09 |2.bits'`|".then..|
|000018a0| 65 63 68 6f 20 73 68 61 | 72 3a 20 65 72 72 6f 72 |echo sha|r: error|
|000018b0| 20 74 72 61 6e 73 6d 69 | 74 74 69 6e 67 20 22 27 | transmi|tting "'|
|000018c0| 68 61 6e 67 32 2e 62 69 | 74 73 27 22 20 27 28 73 |hang2.bi|ts'" '(s|
|000018d0| 68 6f 75 6c 64 20 68 61 | 76 65 20 62 65 65 6e 20 |hould ha|ve been |
|000018e0| 33 32 34 20 63 68 61 72 | 61 63 74 65 72 73 29 27 |324 char|acters)'|
|000018f0| 0a 66 69 0a 66 69 20 23 | 20 65 6e 64 20 6f 66 20 |.fi.fi #| end of |
|00001900| 6f 76 65 72 77 72 69 74 | 69 6e 67 20 63 68 65 63 |overwrit|ing chec|
|00001910| 6b 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 68 6f |k.if tes|t -f 'ho|
|00001920| 6c 65 31 2e 62 69 74 73 | 27 0a 74 68 65 6e 0a 09 |le1.bits|'.then..|
|00001930| 65 63 68 6f 20 73 68 61 | 72 3a 20 77 69 6c 6c 20 |echo sha|r: will |
|00001940| 6e 6f 74 20 6f 76 65 72 | 2d 77 72 69 74 65 20 65 |not over|-write e|
|00001950| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 22 27 68 |xisting |file "'h|
|00001960| 6f 6c 65 31 2e 62 69 74 | 73 27 22 0a 65 6c 73 65 |ole1.bit|s'".else|
|00001970| 0a 63 61 74 20 3c 3c 20 | 5c 53 48 41 52 5f 45 4f |.cat << |\SHAR_EO|
|00001980| 46 20 3e 20 27 68 6f 6c | 65 31 2e 62 69 74 73 27 |F > 'hol|e1.bits'|
|00001990| 0a 23 64 65 66 69 6e 65 | 20 68 6f 6c 65 31 5f 77 |.#define| hole1_w|
|000019a0| 69 64 74 68 20 31 36 0a | 23 64 65 66 69 6e 65 20 |idth 16.|#define |
|000019b0| 68 6f 6c 65 31 5f 68 65 | 69 67 68 74 20 31 36 0a |hole1_he|ight 16.|
|000019c0| 23 64 65 66 69 6e 65 20 | 68 6f 6c 65 31 5f 78 5f |#define |hole1_x_|
|000019d0| 68 6f 74 20 2d 31 0a 23 | 64 65 66 69 6e 65 20 68 |hot -1.#|define h|
|000019e0| 6f 6c 65 31 5f 79 5f 68 | 6f 74 20 2d 31 0a 73 74 |ole1_y_h|ot -1.st|
|000019f0| 61 74 69 63 20 63 68 61 | 72 20 68 6f 6c 65 31 5f |atic cha|r hole1_|
|00001a00| 62 69 74 73 5b 5d 20 3d | 20 7b 0a 20 20 20 30 78 |bits[] =| {. 0x|
|00001a10| 66 37 2c 20 30 78 61 64 | 2c 20 30 78 35 35 2c 20 |f7, 0xad|, 0x55, |
|00001a20| 30 78 30 35 2c 20 30 78 | 62 32 2c 20 30 78 61 38 |0x05, 0x|b2, 0xa8|
|00001a30| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x00, |0x00, 0x|
|00001a40| 62 32 2c 20 30 78 61 38 | 2c 20 30 78 35 35 2c 20 |b2, 0xa8|, 0x55, |
|00001a50| 30 78 30 35 2c 0a 20 20 | 20 30 78 62 32 2c 20 30 |0x05,. | 0xb2, 0|
|00001a60| 78 61 38 2c 20 30 78 30 | 30 2c 20 30 78 30 30 2c |xa8, 0x0|0, 0x00,|
|00001a70| 20 30 78 66 37 2c 20 30 | 78 61 64 2c 20 30 78 30 | 0xf7, 0|xad, 0x0|
|00001a80| 30 2c 20 30 78 30 30 2c | 20 30 78 61 32 2c 20 30 |0, 0x00,| 0xa2, 0|
|00001a90| 78 61 38 2c 20 30 78 35 | 35 2c 20 30 78 30 64 2c |xa8, 0x5|5, 0x0d,|
|00001aa0| 0a 20 20 20 30 78 61 32 | 2c 20 30 78 61 38 2c 20 |. 0xa2|, 0xa8, |
|00001ab0| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 61 32 |0x00, 0x|00, 0xa2|
|00001ac0| 2c 20 30 78 61 38 2c 20 | 30 78 66 37 2c 20 30 78 |, 0xa8, |0xf7, 0x|
|00001ad0| 61 64 7d 3b 0a 53 48 41 | 52 5f 45 4f 46 0a 69 66 |ad};.SHA|R_EOF.if|
|00001ae0| 20 74 65 73 74 20 33 32 | 34 20 2d 6e 65 20 22 60 | test 32|4 -ne "`|
|00001af0| 77 63 20 2d 63 20 3c 20 | 27 68 6f 6c 65 31 2e 62 |wc -c < |'hole1.b|
|00001b00| 69 74 73 27 60 22 0a 74 | 68 65 6e 0a 09 65 63 68 |its'`".t|hen..ech|
|00001b10| 6f 20 73 68 61 72 3a 20 | 65 72 72 6f 72 20 74 72 |o shar: |error tr|
|00001b20| 61 6e 73 6d 69 74 74 69 | 6e 67 20 22 27 68 6f 6c |ansmitti|ng "'hol|
|00001b30| 65 31 2e 62 69 74 73 27 | 22 20 27 28 73 68 6f 75 |e1.bits'|" '(shou|
|00001b40| 6c 64 20 68 61 76 65 20 | 62 65 65 6e 20 33 32 34 |ld have |been 324|
|00001b50| 20 63 68 61 72 61 63 74 | 65 72 73 29 27 0a 66 69 | charact|ers)'.fi|
|00001b60| 0a 66 69 20 23 20 65 6e | 64 20 6f 66 20 6f 76 65 |.fi # en|d of ove|
|00001b70| 72 77 72 69 74 69 6e 67 | 20 63 68 65 63 6b 0a 69 |rwriting| check.i|
|00001b80| 66 20 74 65 73 74 20 2d | 66 20 27 68 6f 6c 65 32 |f test -|f 'hole2|
|00001b90| 2e 62 69 74 73 27 0a 74 | 68 65 6e 0a 09 65 63 68 |.bits'.t|hen..ech|
|00001ba0| 6f 20 73 68 61 72 3a 20 | 77 69 6c 6c 20 6e 6f 74 |o shar: |will not|
|00001bb0| 20 6f 76 65 72 2d 77 72 | 69 74 65 20 65 78 69 73 | over-wr|ite exis|
|00001bc0| 74 69 6e 67 20 66 69 6c | 65 20 22 27 68 6f 6c 65 |ting fil|e "'hole|
|00001bd0| 32 2e 62 69 74 73 27 22 | 0a 65 6c 73 65 0a 63 61 |2.bits'"|.else.ca|
|00001be0| 74 20 3c 3c 20 5c 53 48 | 41 52 5f 45 4f 46 20 3e |t << \SH|AR_EOF >|
|00001bf0| 20 27 68 6f 6c 65 32 2e | 62 69 74 73 27 0a 23 64 | 'hole2.|bits'.#d|
|00001c00| 65 66 69 6e 65 20 68 6f | 6c 65 32 5f 77 69 64 74 |efine ho|le2_widt|
|00001c10| 68 20 31 36 0a 23 64 65 | 66 69 6e 65 20 68 6f 6c |h 16.#de|fine hol|
|00001c20| 65 32 5f 68 65 69 67 68 | 74 20 31 36 0a 23 64 65 |e2_heigh|t 16.#de|
|00001c30| 66 69 6e 65 20 68 6f 6c | 65 32 5f 78 5f 68 6f 74 |fine hol|e2_x_hot|
|00001c40| 20 2d 31 0a 23 64 65 66 | 69 6e 65 20 68 6f 6c 65 | -1.#def|ine hole|
|00001c50| 32 5f 79 5f 68 6f 74 20 | 2d 31 0a 73 74 61 74 69 |2_y_hot |-1.stati|
|00001c60| 63 20 63 68 61 72 20 68 | 6f 6c 65 32 5f 62 69 74 |c char h|ole2_bit|
|00001c70| 73 5b 5d 20 3d 20 7b 0a | 20 20 20 30 78 35 35 2c |s[] = {.| 0x55,|
|00001c80| 20 30 78 38 64 2c 20 30 | 78 35 35 2c 20 30 78 30 | 0x8d, 0|x55, 0x0|
|00001c90| 35 2c 20 30 78 31 30 2c | 20 30 78 38 38 2c 20 30 |5, 0x10,| 0x88, 0|
|00001ca0| 78 30 30 2c 20 30 78 30 | 30 2c 20 30 78 31 30 2c |x00, 0x0|0, 0x10,|
|00001cb0| 20 30 78 38 38 2c 20 30 | 78 35 35 2c 20 30 78 30 | 0x88, 0|x55, 0x0|
|00001cc0| 35 2c 0a 20 20 20 30 78 | 31 30 2c 20 30 78 38 38 |5,. 0x|10, 0x88|
|00001cd0| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x00, |0x00, 0x|
|00001ce0| 35 35 2c 20 30 78 38 64 | 2c 20 30 78 30 30 2c 20 |55, 0x8d|, 0x00, |
|00001cf0| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 38 38 |0x00, 0x|00, 0x88|
|00001d00| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 0a 20 20 |, 0x00, |0x00,. |
|00001d10| 20 30 78 30 30 2c 20 30 | 78 38 38 2c 20 30 78 30 | 0x00, 0|x88, 0x0|
|00001d20| 30 2c 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 |0, 0x00,| 0x00, 0|
|00001d30| 78 38 38 2c 20 30 78 35 | 35 2c 20 30 78 38 64 7d |x88, 0x5|5, 0x8d}|
|00001d40| 3b 0a 53 48 41 52 5f 45 | 4f 46 0a 69 66 20 74 65 |;.SHAR_E|OF.if te|
|00001d50| 73 74 20 33 32 34 20 2d | 6e 65 20 22 60 77 63 20 |st 324 -|ne "`wc |
|00001d60| 2d 63 20 3c 20 27 68 6f | 6c 65 32 2e 62 69 74 73 |-c < 'ho|le2.bits|
|00001d70| 27 60 22 0a 74 68 65 6e | 0a 09 65 63 68 6f 20 73 |'`".then|..echo s|
|00001d80| 68 61 72 3a 20 65 72 72 | 6f 72 20 74 72 61 6e 73 |har: err|or trans|
|00001d90| 6d 69 74 74 69 6e 67 20 | 22 27 68 6f 6c 65 32 2e |mitting |"'hole2.|
|00001da0| 62 69 74 73 27 22 20 27 | 28 73 68 6f 75 6c 64 20 |bits'" '|(should |
|00001db0| 68 61 76 65 20 62 65 65 | 6e 20 33 32 34 20 63 68 |have bee|n 324 ch|
|00001dc0| 61 72 61 63 74 65 72 73 | 29 27 0a 66 69 0a 66 69 |aracters|)'.fi.fi|
|00001dd0| 20 23 20 65 6e 64 20 6f | 66 20 6f 76 65 72 77 72 | # end o|f overwr|
|00001de0| 69 74 69 6e 67 20 63 68 | 65 63 6b 0a 69 66 20 74 |iting ch|eck.if t|
|00001df0| 65 73 74 20 2d 66 20 27 | 68 6f 6c 65 33 2e 62 69 |est -f '|hole3.bi|
|00001e00| 74 73 27 0a 74 68 65 6e | 0a 09 65 63 68 6f 20 73 |ts'.then|..echo s|
|00001e10| 68 61 72 3a 20 77 69 6c | 6c 20 6e 6f 74 20 6f 76 |har: wil|l not ov|
|00001e20| 65 72 2d 77 72 69 74 65 | 20 65 78 69 73 74 69 6e |er-write| existin|
|00001e30| 67 20 66 69 6c 65 20 22 | 27 68 6f 6c 65 33 2e 62 |g file "|'hole3.b|
|00001e40| 69 74 73 27 22 0a 65 6c | 73 65 0a 63 61 74 20 3c |its'".el|se.cat <|
|00001e50| 3c 20 5c 53 48 41 52 5f | 45 4f 46 20 3e 20 27 68 |< \SHAR_|EOF > 'h|
|00001e60| 6f 6c 65 33 2e 62 69 74 | 73 27 0a 23 64 65 66 69 |ole3.bit|s'.#defi|
|00001e70| 6e 65 20 68 6f 6c 65 33 | 5f 77 69 64 74 68 20 31 |ne hole3|_width 1|
|00001e80| 36 0a 23 64 65 66 69 6e | 65 20 68 6f 6c 65 33 5f |6.#defin|e hole3_|
|00001e90| 68 65 69 67 68 74 20 31 | 36 0a 23 64 65 66 69 6e |height 1|6.#defin|
|00001ea0| 65 20 68 6f 6c 65 33 5f | 78 5f 68 6f 74 20 2d 31 |e hole3_|x_hot -1|
|00001eb0| 0a 23 64 65 66 69 6e 65 | 20 68 6f 6c 65 33 5f 79 |.#define| hole3_y|
|00001ec0| 5f 68 6f 74 20 2d 31 0a | 73 74 61 74 69 63 20 63 |_hot -1.|static c|
|00001ed0| 68 61 72 20 68 6f 6c 65 | 33 5f 62 69 74 73 5b 5d |har hole|3_bits[]|
|00001ee0| 20 3d 20 7b 0a 20 20 20 | 30 78 30 30 2c 20 30 78 | = {. |0x00, 0x|
|00001ef0| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |00, 0x00|, 0x00, |
|00001f00| 30 78 30 30 2c 20 30 78 | 38 38 2c 20 30 78 30 30 |0x00, 0x|88, 0x00|
|00001f10| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x00, |0x00, 0x|
|00001f20| 38 38 2c 20 30 78 34 35 | 2c 20 30 78 30 35 2c 0a |88, 0x45|, 0x05,.|
|00001f30| 20 20 20 30 78 30 30 2c | 20 30 78 38 38 2c 20 30 | 0x00,| 0x88, 0|
|00001f40| 78 30 30 2c 20 30 78 30 | 30 2c 20 30 78 34 35 2c |x00, 0x0|0, 0x45,|
|00001f50| 20 30 78 38 64 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x8d, 0|x00, 0x0|
|00001f60| 30 2c 20 30 78 30 30 2c | 20 30 78 38 38 2c 20 30 |0, 0x00,| 0x88, 0|
|00001f70| 78 30 30 2c 20 30 78 30 | 30 2c 0a 20 20 20 30 78 |x00, 0x0|0,. 0x|
|00001f80| 30 30 2c 20 30 78 38 38 | 2c 20 30 78 30 30 2c 20 |00, 0x88|, 0x00, |
|00001f90| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 38 38 |0x00, 0x|00, 0x88|
|00001fa0| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 7d 3b 0a 53 |, 0x00, |0x00};.S|
|00001fb0| 48 41 52 5f 45 4f 46 0a | 69 66 20 74 65 73 74 20 |HAR_EOF.|if test |
|00001fc0| 33 32 34 20 2d 6e 65 20 | 22 60 77 63 20 2d 63 20 |324 -ne |"`wc -c |
|00001fd0| 3c 20 27 68 6f 6c 65 33 | 2e 62 69 74 73 27 60 22 |< 'hole3|.bits'`"|
|00001fe0| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00001ff0| 3a 20 65 72 72 6f 72 20 | 74 72 61 6e 73 6d 69 74 |: error |transmit|
|00002000| 74 69 6e 67 20 22 27 68 | 6f 6c 65 33 2e 62 69 74 |ting "'h|ole3.bit|
|00002010| 73 27 22 20 27 28 73 68 | 6f 75 6c 64 20 68 61 76 |s'" '(sh|ould hav|
|00002020| 65 20 62 65 65 6e 20 33 | 32 34 20 63 68 61 72 61 |e been 3|24 chara|
|00002030| 63 74 65 72 73 29 27 0a | 66 69 0a 66 69 20 23 20 |cters)'.|fi.fi # |
|00002040| 65 6e 64 20 6f 66 20 6f | 76 65 72 77 72 69 74 69 |end of o|verwriti|
|00002050| 6e 67 20 63 68 65 63 6b | 0a 69 66 20 74 65 73 74 |ng check|.if test|
|00002060| 20 2d 66 20 27 68 6f 6c | 65 34 2e 62 69 74 73 27 | -f 'hol|e4.bits'|
|00002070| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00002080| 3a 20 77 69 6c 6c 20 6e | 6f 74 20 6f 76 65 72 2d |: will n|ot over-|
|00002090| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 20 66 |write ex|isting f|
|000020a0| 69 6c 65 20 22 27 68 6f | 6c 65 34 2e 62 69 74 73 |ile "'ho|le4.bits|
|000020b0| 27 22 0a 65 6c 73 65 0a | 63 61 74 20 3c 3c 20 5c |'".else.|cat << \|
|000020c0| 53 48 41 52 5f 45 4f 46 | 20 3e 20 27 68 6f 6c 65 |SHAR_EOF| > 'hole|
|000020d0| 34 2e 62 69 74 73 27 0a | 23 64 65 66 69 6e 65 20 |4.bits'.|#define |
|000020e0| 68 6f 6c 65 34 5f 77 69 | 64 74 68 20 31 36 0a 23 |hole4_wi|dth 16.#|
|000020f0| 64 65 66 69 6e 65 20 68 | 6f 6c 65 34 5f 68 65 69 |define h|ole4_hei|
|00002100| 67 68 74 20 31 36 0a 23 | 64 65 66 69 6e 65 20 68 |ght 16.#|define h|
|00002110| 6f 6c 65 34 5f 78 5f 68 | 6f 74 20 2d 31 0a 23 64 |ole4_x_h|ot -1.#d|
|00002120| 65 66 69 6e 65 20 68 6f | 6c 65 34 5f 79 5f 68 6f |efine ho|le4_y_ho|
|00002130| 74 20 2d 31 0a 73 74 61 | 74 69 63 20 63 68 61 72 |t -1.sta|tic char|
|00002140| 20 68 6f 6c 65 34 5f 62 | 69 74 73 5b 5d 20 3d 20 | hole4_b|its[] = |
|00002150| 7b 0a 20 20 20 30 78 30 | 30 2c 20 30 78 30 30 2c |{. 0x0|0, 0x00,|
|00002160| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x00, 0|x00, 0x0|
|00002170| 30 2c 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 |0, 0x00,| 0x00, 0|
|00002180| 78 30 30 2c 20 30 78 30 | 30 2c 20 30 78 38 30 2c |x00, 0x0|0, 0x80,|
|00002190| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 0a 20 20 20 | 0x00, 0|x00,. |
|000021a0| 30 78 30 30 2c 20 30 78 | 30 38 2c 20 30 78 30 30 |0x00, 0x|08, 0x00|
|000021b0| 2c 20 30 78 30 30 2c 20 | 30 78 30 34 2c 20 30 78 |, 0x00, |0x04, 0x|
|000021c0| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |00, 0x00|, 0x00, |
|000021d0| 30 78 30 30 2c 20 30 78 | 30 38 2c 20 30 78 30 30 |0x00, 0x|08, 0x00|
|000021e0| 2c 20 30 78 30 30 2c 0a | 20 20 20 30 78 30 30 2c |, 0x00,.| 0x00,|
|000021f0| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x00, 0|x00, 0x0|
|00002200| 30 2c 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 |0, 0x00,| 0x00, 0|
|00002210| 78 30 30 2c 20 30 78 30 | 30 7d 3b 0a 53 48 41 52 |x00, 0x0|0};.SHAR|
|00002220| 5f 45 4f 46 0a 69 66 20 | 74 65 73 74 20 33 32 34 |_EOF.if |test 324|
|00002230| 20 2d 6e 65 20 22 60 77 | 63 20 2d 63 20 3c 20 27 | -ne "`w|c -c < '|
|00002240| 68 6f 6c 65 34 2e 62 69 | 74 73 27 60 22 0a 74 68 |hole4.bi|ts'`".th|
|00002250| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 65 |en..echo| shar: e|
|00002260| 72 72 6f 72 20 74 72 61 | 6e 73 6d 69 74 74 69 6e |rror tra|nsmittin|
|00002270| 67 20 22 27 68 6f 6c 65 | 34 2e 62 69 74 73 27 22 |g "'hole|4.bits'"|
|00002280| 20 27 28 73 68 6f 75 6c | 64 20 68 61 76 65 20 62 | '(shoul|d have b|
|00002290| 65 65 6e 20 33 32 34 20 | 63 68 61 72 61 63 74 65 |een 324 |characte|
|000022a0| 72 73 29 27 0a 66 69 0a | 66 69 20 23 20 65 6e 64 |rs)'.fi.|fi # end|
|000022b0| 20 6f 66 20 6f 76 65 72 | 77 72 69 74 69 6e 67 20 | of over|writing |
|000022c0| 63 68 65 63 6b 0a 69 66 | 20 74 65 73 74 20 2d 66 |check.if| test -f|
|000022d0| 20 27 68 6f 6c 65 35 2e | 62 69 74 73 27 0a 74 68 | 'hole5.|bits'.th|
|000022e0| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 77 |en..echo| shar: w|
|000022f0| 69 6c 6c 20 6e 6f 74 20 | 6f 76 65 72 2d 77 72 69 |ill not |over-wri|
|00002300| 74 65 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |te exist|ing file|
|00002310| 20 22 27 68 6f 6c 65 35 | 2e 62 69 74 73 27 22 0a | "'hole5|.bits'".|
|00002320| 65 6c 73 65 0a 63 61 74 | 20 3c 3c 20 5c 53 48 41 |else.cat| << \SHA|
|00002330| 52 5f 45 4f 46 20 3e 20 | 27 68 6f 6c 65 35 2e 62 |R_EOF > |'hole5.b|
|00002340| 69 74 73 27 0a 23 64 65 | 66 69 6e 65 20 68 6f 6c |its'.#de|fine hol|
|00002350| 65 35 5f 77 69 64 74 68 | 20 31 36 0a 23 64 65 66 |e5_width| 16.#def|
|00002360| 69 6e 65 20 68 6f 6c 65 | 35 5f 68 65 69 67 68 74 |ine hole|5_height|
|00002370| 20 31 36 0a 23 64 65 66 | 69 6e 65 20 68 6f 6c 65 | 16.#def|ine hole|
|00002380| 35 5f 78 5f 68 6f 74 20 | 2d 31 0a 23 64 65 66 69 |5_x_hot |-1.#defi|
|00002390| 6e 65 20 68 6f 6c 65 35 | 5f 79 5f 68 6f 74 20 2d |ne hole5|_y_hot -|
|000023a0| 31 0a 73 74 61 74 69 63 | 20 63 68 61 72 20 68 6f |1.static| char ho|
|000023b0| 6c 65 35 5f 62 69 74 73 | 5b 5d 20 3d 20 7b 0a 20 |le5_bits|[] = {. |
|000023c0| 20 20 30 78 30 33 2c 20 | 30 78 63 30 2c 20 30 78 | 0x03, |0xc0, 0x|
|000023d0| 30 31 2c 20 30 78 34 30 | 2c 20 30 78 30 32 2c 20 |01, 0x40|, 0x02, |
|000023e0| 30 78 38 30 2c 20 30 78 | 30 31 2c 20 30 78 34 30 |0x80, 0x|01, 0x40|
|000023f0| 2c 20 30 78 30 32 2c 20 | 30 78 38 30 2c 20 30 78 |, 0x02, |0x80, 0x|
|00002400| 30 31 2c 20 30 78 34 30 | 2c 0a 20 20 20 30 78 30 |01, 0x40|,. 0x0|
|00002410| 32 2c 20 30 78 38 30 2c | 20 30 78 30 33 2c 20 30 |2, 0x80,| 0x03, 0|
|00002420| 78 63 30 2c 20 30 78 30 | 33 2c 20 30 78 63 30 2c |xc0, 0x0|3, 0xc0,|
|00002430| 20 30 78 30 31 2c 20 30 | 78 34 30 2c 20 30 78 30 | 0x01, 0|x40, 0x0|
|00002440| 32 2c 20 30 78 38 30 2c | 20 30 78 30 31 2c 20 30 |2, 0x80,| 0x01, 0|
|00002450| 78 34 30 2c 0a 20 20 20 | 30 78 30 32 2c 20 30 78 |x40,. |0x02, 0x|
|00002460| 38 30 2c 20 30 78 30 31 | 2c 20 30 78 34 30 2c 20 |80, 0x01|, 0x40, |
|00002470| 30 78 61 61 2c 20 30 78 | 62 61 2c 20 30 78 66 66 |0xaa, 0x|ba, 0xff|
|00002480| 2c 20 30 78 66 66 7d 3b | 0a 53 48 41 52 5f 45 4f |, 0xff};|.SHAR_EO|
|00002490| 46 0a 69 66 20 74 65 73 | 74 20 33 32 34 20 2d 6e |F.if tes|t 324 -n|
|000024a0| 65 20 22 60 77 63 20 2d | 63 20 3c 20 27 68 6f 6c |e "`wc -|c < 'hol|
|000024b0| 65 35 2e 62 69 74 73 27 | 60 22 0a 74 68 65 6e 0a |e5.bits'|`".then.|
|000024c0| 09 65 63 68 6f 20 73 68 | 61 72 3a 20 65 72 72 6f |.echo sh|ar: erro|
|000024d0| 72 20 74 72 61 6e 73 6d | 69 74 74 69 6e 67 20 22 |r transm|itting "|
|000024e0| 27 68 6f 6c 65 35 2e 62 | 69 74 73 27 22 20 27 28 |'hole5.b|its'" '(|
|000024f0| 73 68 6f 75 6c 64 20 68 | 61 76 65 20 62 65 65 6e |should h|ave been|
|00002500| 20 33 32 34 20 63 68 61 | 72 61 63 74 65 72 73 29 | 324 cha|racters)|
|00002510| 27 0a 66 69 0a 66 69 20 | 23 20 65 6e 64 20 6f 66 |'.fi.fi |# end of|
|00002520| 20 6f 76 65 72 77 72 69 | 74 69 6e 67 20 63 68 65 | overwri|ting che|
|00002530| 63 6b 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 68 |ck.if te|st -f 'h|
|00002540| 6f 6c 65 36 2e 62 69 74 | 73 27 0a 74 68 65 6e 0a |ole6.bit|s'.then.|
|00002550| 09 65 63 68 6f 20 73 68 | 61 72 3a 20 77 69 6c 6c |.echo sh|ar: will|
|00002560| 20 6e 6f 74 20 6f 76 65 | 72 2d 77 72 69 74 65 20 | not ove|r-write |
|00002570| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 22 27 |existing| file "'|
|00002580| 68 6f 6c 65 36 2e 62 69 | 74 73 27 22 0a 65 6c 73 |hole6.bi|ts'".els|
|00002590| 65 0a 63 61 74 20 3c 3c | 20 5c 53 48 41 52 5f 45 |e.cat <<| \SHAR_E|
|000025a0| 4f 46 20 3e 20 27 68 6f | 6c 65 36 2e 62 69 74 73 |OF > 'ho|le6.bits|
|000025b0| 27 0a 23 64 65 66 69 6e | 65 20 68 6f 6c 65 36 5f |'.#defin|e hole6_|
|000025c0| 77 69 64 74 68 20 31 36 | 0a 23 64 65 66 69 6e 65 |width 16|.#define|
|000025d0| 20 68 6f 6c 65 36 5f 68 | 65 69 67 68 74 20 31 36 | hole6_h|eight 16|
|000025e0| 0a 23 64 65 66 69 6e 65 | 20 68 6f 6c 65 36 5f 78 |.#define| hole6_x|
|000025f0| 5f 68 6f 74 20 2d 31 0a | 23 64 65 66 69 6e 65 20 |_hot -1.|#define |
|00002600| 68 6f 6c 65 36 5f 79 5f | 68 6f 74 20 2d 31 0a 73 |hole6_y_|hot -1.s|
|00002610| 74 61 74 69 63 20 63 68 | 61 72 20 68 6f 6c 65 36 |tatic ch|ar hole6|
|00002620| 5f 62 69 74 73 5b 5d 20 | 3d 20 7b 0a 20 20 20 30 |_bits[] |= {. 0|
|00002630| 78 30 66 2c 20 30 78 66 | 30 2c 20 30 78 30 64 2c |x0f, 0xf|0, 0x0d,|
|00002640| 20 30 78 35 30 2c 20 30 | 78 30 61 2c 20 30 78 61 | 0x50, 0|x0a, 0xa|
|00002650| 30 2c 20 30 78 30 64 2c | 20 30 78 35 30 2c 20 30 |0, 0x0d,| 0x50, 0|
|00002660| 78 30 61 2c 20 30 78 61 | 30 2c 20 30 78 30 64 2c |x0a, 0xa|0, 0x0d,|
|00002670| 20 30 78 35 30 2c 0a 20 | 20 20 30 78 30 61 2c 20 | 0x50,. | 0x0a, |
|00002680| 30 78 61 30 2c 20 30 78 | 30 66 2c 20 30 78 66 30 |0xa0, 0x|0f, 0xf0|
|00002690| 2c 20 30 78 30 66 2c 20 | 30 78 66 30 2c 20 30 78 |, 0x0f, |0xf0, 0x|
|000026a0| 30 35 2c 20 30 78 35 30 | 2c 20 30 78 30 61 2c 20 |05, 0x50|, 0x0a, |
|000026b0| 30 78 62 30 2c 20 30 78 | 30 35 2c 20 30 78 35 30 |0xb0, 0x|05, 0x50|
|000026c0| 2c 0a 20 20 20 30 78 61 | 61 2c 20 30 78 62 61 2c |,. 0xa|a, 0xba,|
|000026d0| 20 30 78 35 35 2c 20 30 | 78 35 64 2c 20 30 78 61 | 0x55, 0|x5d, 0xa|
|000026e0| 61 2c 20 30 78 62 61 2c | 20 30 78 66 66 2c 20 30 |a, 0xba,| 0xff, 0|
|000026f0| 78 66 66 7d 3b 0a 53 48 | 41 52 5f 45 4f 46 0a 69 |xff};.SH|AR_EOF.i|
|00002700| 66 20 74 65 73 74 20 33 | 32 34 20 2d 6e 65 20 22 |f test 3|24 -ne "|
|00002710| 60 77 63 20 2d 63 20 3c | 20 27 68 6f 6c 65 36 2e |`wc -c <| 'hole6.|
|00002720| 62 69 74 73 27 60 22 0a | 74 68 65 6e 0a 09 65 63 |bits'`".|then..ec|
|00002730| 68 6f 20 73 68 61 72 3a | 20 65 72 72 6f 72 20 74 |ho shar:| error t|
|00002740| 72 61 6e 73 6d 69 74 74 | 69 6e 67 20 22 27 68 6f |ransmitt|ing "'ho|
|00002750| 6c 65 36 2e 62 69 74 73 | 27 22 20 27 28 73 68 6f |le6.bits|'" '(sho|
|00002760| 75 6c 64 20 68 61 76 65 | 20 62 65 65 6e 20 33 32 |uld have| been 32|
|00002770| 34 20 63 68 61 72 61 63 | 74 65 72 73 29 27 0a 66 |4 charac|ters)'.f|
|00002780| 69 0a 66 69 20 23 20 65 | 6e 64 20 6f 66 20 6f 76 |i.fi # e|nd of ov|
|00002790| 65 72 77 72 69 74 69 6e | 67 20 63 68 65 63 6b 0a |erwritin|g check.|
|000027a0| 69 66 20 74 65 73 74 20 | 2d 66 20 27 68 6f 6c 65 |if test |-f 'hole|
|000027b0| 37 2e 62 69 74 73 27 0a | 74 68 65 6e 0a 09 65 63 |7.bits'.|then..ec|
|000027c0| 68 6f 20 73 68 61 72 3a | 20 77 69 6c 6c 20 6e 6f |ho shar:| will no|
|000027d0| 74 20 6f 76 65 72 2d 77 | 72 69 74 65 20 65 78 69 |t over-w|rite exi|
|000027e0| 73 74 69 6e 67 20 66 69 | 6c 65 20 22 27 68 6f 6c |sting fi|le "'hol|
|000027f0| 65 37 2e 62 69 74 73 27 | 22 0a 65 6c 73 65 0a 63 |e7.bits'|".else.c|
|00002800| 61 74 20 3c 3c 20 5c 53 | 48 41 52 5f 45 4f 46 20 |at << \S|HAR_EOF |
|00002810| 3e 20 27 68 6f 6c 65 37 | 2e 62 69 74 73 27 0a 23 |> 'hole7|.bits'.#|
|00002820| 64 65 66 69 6e 65 20 68 | 6f 6c 65 37 5f 77 69 64 |define h|ole7_wid|
|00002830| 74 68 20 31 36 0a 23 64 | 65 66 69 6e 65 20 68 6f |th 16.#d|efine ho|
|00002840| 6c 65 37 5f 68 65 69 67 | 68 74 20 31 36 0a 23 64 |le7_heig|ht 16.#d|
|00002850| 65 66 69 6e 65 20 68 6f | 6c 65 37 5f 78 5f 68 6f |efine ho|le7_x_ho|
|00002860| 74 20 2d 31 0a 23 64 65 | 66 69 6e 65 20 68 6f 6c |t -1.#de|fine hol|
|00002870| 65 37 5f 79 5f 68 6f 74 | 20 2d 31 0a 73 74 61 74 |e7_y_hot| -1.stat|
|00002880| 69 63 20 63 68 61 72 20 | 68 6f 6c 65 37 5f 62 69 |ic char |hole7_bi|
|00002890| 74 73 5b 5d 20 3d 20 7b | 0a 20 20 20 30 78 33 66 |ts[] = {|. 0x3f|
|000028a0| 2c 20 30 78 66 63 2c 20 | 30 78 31 64 2c 20 30 78 |, 0xfc, |0x1d, 0x|
|000028b0| 35 34 2c 20 30 78 33 61 | 2c 20 30 78 61 38 2c 20 |54, 0x3a|, 0xa8, |
|000028c0| 30 78 31 64 2c 20 30 78 | 35 34 2c 20 30 78 33 61 |0x1d, 0x|54, 0x3a|
|000028d0| 2c 20 30 78 61 38 2c 20 | 30 78 35 64 2c 20 30 78 |, 0xa8, |0x5d, 0x|
|000028e0| 35 35 2c 0a 20 20 20 30 | 78 62 61 2c 20 30 78 61 |55,. 0|xba, 0xa|
|000028f0| 61 2c 20 30 78 66 66 2c | 20 30 78 66 66 2c 20 30 |a, 0xff,| 0xff, 0|
|00002900| 78 66 66 2c 20 30 78 66 | 66 2c 20 30 78 35 35 2c |xff, 0xf|f, 0x55,|
|00002910| 20 30 78 35 64 2c 20 30 | 78 61 61 2c 20 30 78 62 | 0x5d, 0|xaa, 0xb|
|00002920| 61 2c 20 30 78 35 35 2c | 20 30 78 35 64 2c 0a 20 |a, 0x55,| 0x5d,. |
|00002930| 20 20 30 78 61 61 2c 20 | 30 78 62 61 2c 20 30 78 | 0xaa, |0xba, 0x|
|00002940| 35 35 2c 20 30 78 35 64 | 2c 20 30 78 61 61 2c 20 |55, 0x5d|, 0xaa, |
|00002950| 30 78 62 61 2c 20 30 78 | 66 66 2c 20 30 78 66 66 |0xba, 0x|ff, 0xff|
|00002960| 7d 3b 0a 53 48 41 52 5f | 45 4f 46 0a 69 66 20 74 |};.SHAR_|EOF.if t|
|00002970| 65 73 74 20 33 32 34 20 | 2d 6e 65 20 22 60 77 63 |est 324 |-ne "`wc|
|00002980| 20 2d 63 20 3c 20 27 68 | 6f 6c 65 37 2e 62 69 74 | -c < 'h|ole7.bit|
|00002990| 73 27 60 22 0a 74 68 65 | 6e 0a 09 65 63 68 6f 20 |s'`".the|n..echo |
|000029a0| 73 68 61 72 3a 20 65 72 | 72 6f 72 20 74 72 61 6e |shar: er|ror tran|
|000029b0| 73 6d 69 74 74 69 6e 67 | 20 22 27 68 6f 6c 65 37 |smitting| "'hole7|
|000029c0| 2e 62 69 74 73 27 22 20 | 27 28 73 68 6f 75 6c 64 |.bits'" |'(should|
|000029d0| 20 68 61 76 65 20 62 65 | 65 6e 20 33 32 34 20 63 | have be|en 324 c|
|000029e0| 68 61 72 61 63 74 65 72 | 73 29 27 0a 66 69 0a 66 |haracter|s)'.fi.f|
|000029f0| 69 20 23 20 65 6e 64 20 | 6f 66 20 6f 76 65 72 77 |i # end |of overw|
|00002a00| 72 69 74 69 6e 67 20 63 | 68 65 63 6b 0a 69 66 20 |riting c|heck.if |
|00002a10| 74 65 73 74 20 2d 66 20 | 27 6c 61 64 64 65 72 2e |test -f |'ladder.|
|00002a20| 62 69 74 73 27 0a 74 68 | 65 6e 0a 09 65 63 68 6f |bits'.th|en..echo|
|00002a30| 20 73 68 61 72 3a 20 77 | 69 6c 6c 20 6e 6f 74 20 | shar: w|ill not |
|00002a40| 6f 76 65 72 2d 77 72 69 | 74 65 20 65 78 69 73 74 |over-wri|te exist|
|00002a50| 69 6e 67 20 66 69 6c 65 | 20 22 27 6c 61 64 64 65 |ing file| "'ladde|
|00002a60| 72 2e 62 69 74 73 27 22 | 0a 65 6c 73 65 0a 63 61 |r.bits'"|.else.ca|
|00002a70| 74 20 3c 3c 20 5c 53 48 | 41 52 5f 45 4f 46 20 3e |t << \SH|AR_EOF >|
|00002a80| 20 27 6c 61 64 64 65 72 | 2e 62 69 74 73 27 0a 23 | 'ladder|.bits'.#|
|00002a90| 64 65 66 69 6e 65 20 6c | 61 64 64 65 72 5f 77 69 |define l|adder_wi|
|00002aa0| 64 74 68 20 31 36 0a 23 | 64 65 66 69 6e 65 20 6c |dth 16.#|define l|
|00002ab0| 61 64 64 65 72 5f 68 65 | 69 67 68 74 20 31 36 0a |adder_he|ight 16.|
|00002ac0| 73 74 61 74 69 63 20 63 | 68 61 72 20 6c 61 64 64 |static c|har ladd|
|00002ad0| 65 72 5f 62 69 74 73 5b | 5d 20 3d 20 7b 0a 20 20 |er_bits[|] = {. |
|00002ae0| 20 30 78 66 63 2c 20 30 | 78 33 66 2c 20 30 78 31 | 0xfc, 0|x3f, 0x1|
|00002af0| 34 2c 20 30 78 32 38 2c | 20 30 78 31 34 2c 20 30 |4, 0x28,| 0x14, 0|
|00002b00| 78 32 38 2c 20 30 78 31 | 34 2c 20 30 78 32 38 2c |x28, 0x1|4, 0x28,|
|00002b10| 20 30 78 66 34 2c 20 30 | 78 32 66 2c 20 30 78 31 | 0xf4, 0|x2f, 0x1|
|00002b20| 34 2c 20 30 78 32 38 2c | 0a 20 20 20 30 78 31 34 |4, 0x28,|. 0x14|
|00002b30| 2c 20 30 78 32 38 2c 20 | 30 78 31 34 2c 20 30 78 |, 0x28, |0x14, 0x|
|00002b40| 32 38 2c 20 30 78 66 34 | 2c 20 30 78 32 66 2c 20 |28, 0xf4|, 0x2f, |
|00002b50| 30 78 31 34 2c 20 30 78 | 32 38 2c 20 30 78 31 34 |0x14, 0x|28, 0x14|
|00002b60| 2c 20 30 78 32 38 2c 20 | 30 78 31 34 2c 20 30 78 |, 0x28, |0x14, 0x|
|00002b70| 32 38 2c 0a 20 20 20 30 | 78 66 34 2c 20 30 78 32 |28,. 0|xf4, 0x2|
|00002b80| 66 2c 20 30 78 31 34 2c | 20 30 78 32 38 2c 20 30 |f, 0x14,| 0x28, 0|
|00002b90| 78 31 34 2c 20 30 78 32 | 38 2c 20 30 78 31 63 2c |x14, 0x2|8, 0x1c,|
|00002ba0| 20 30 78 33 38 7d 3b 0a | 53 48 41 52 5f 45 4f 46 | 0x38};.|SHAR_EOF|
|00002bb0| 0a 69 66 20 74 65 73 74 | 20 32 38 31 20 2d 6e 65 |.if test| 281 -ne|
|00002bc0| 20 22 60 77 63 20 2d 63 | 20 3c 20 27 6c 61 64 64 | "`wc -c| < 'ladd|
|00002bd0| 65 72 2e 62 69 74 73 27 | 60 22 0a 74 68 65 6e 0a |er.bits'|`".then.|
|00002be0| 09 65 63 68 6f 20 73 68 | 61 72 3a 20 65 72 72 6f |.echo sh|ar: erro|
|00002bf0| 72 20 74 72 61 6e 73 6d | 69 74 74 69 6e 67 20 22 |r transm|itting "|
|00002c00| 27 6c 61 64 64 65 72 2e | 62 69 74 73 27 22 20 27 |'ladder.|bits'" '|
|00002c10| 28 73 68 6f 75 6c 64 20 | 68 61 76 65 20 62 65 65 |(should |have bee|
|00002c20| 6e 20 32 38 31 20 63 68 | 61 72 61 63 74 65 72 73 |n 281 ch|aracters|
|00002c30| 29 27 0a 66 69 0a 66 69 | 20 23 20 65 6e 64 20 6f |)'.fi.fi| # end o|
|00002c40| 66 20 6f 76 65 72 77 72 | 69 74 69 6e 67 20 63 68 |f overwr|iting ch|
|00002c50| 65 63 6b 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |eck.if t|est -f '|
|00002c60| 6c 65 66 74 31 2e 62 69 | 74 73 27 0a 74 68 65 6e |left1.bi|ts'.then|
|00002c70| 0a 09 65 63 68 6f 20 73 | 68 61 72 3a 20 77 69 6c |..echo s|har: wil|
|00002c80| 6c 20 6e 6f 74 20 6f 76 | 65 72 2d 77 72 69 74 65 |l not ov|er-write|
|00002c90| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 22 | existin|g file "|
|00002ca0| 27 6c 65 66 74 31 2e 62 | 69 74 73 27 22 0a 65 6c |'left1.b|its'".el|
|00002cb0| 73 65 0a 63 61 74 20 3c | 3c 20 5c 53 48 41 52 5f |se.cat <|< \SHAR_|
|00002cc0| 45 4f 46 20 3e 20 27 6c | 65 66 74 31 2e 62 69 74 |EOF > 'l|eft1.bit|
|00002cd0| 73 27 0a 23 64 65 66 69 | 6e 65 20 6c 65 66 74 31 |s'.#defi|ne left1|
|00002ce0| 5f 77 69 64 74 68 20 31 | 36 0a 23 64 65 66 69 6e |_width 1|6.#defin|
|00002cf0| 65 20 6c 65 66 74 31 5f | 68 65 69 67 68 74 20 31 |e left1_|height 1|
|00002d00| 36 0a 23 64 65 66 69 6e | 65 20 6c 65 66 74 31 5f |6.#defin|e left1_|
|00002d10| 78 5f 68 6f 74 20 2d 31 | 0a 23 64 65 66 69 6e 65 |x_hot -1|.#define|
|00002d20| 20 6c 65 66 74 31 5f 79 | 5f 68 6f 74 20 2d 31 0a | left1_y|_hot -1.|
|00002d30| 73 74 61 74 69 63 20 63 | 68 61 72 20 6c 65 66 74 |static c|har left|
|00002d40| 31 5f 62 69 74 73 5b 5d | 20 3d 20 7b 0a 20 20 20 |1_bits[]| = {. |
|00002d50| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 38 30 |0x00, 0x|00, 0x80|
|00002d60| 2c 20 30 78 30 31 2c 20 | 30 78 63 30 2c 20 30 78 |, 0x01, |0xc0, 0x|
|00002d70| 30 33 2c 20 30 78 65 30 | 2c 20 30 78 30 33 2c 20 |03, 0xe0|, 0x03, |
|00002d80| 30 78 38 30 2c 20 30 78 | 30 31 2c 20 30 78 38 30 |0x80, 0x|01, 0x80|
|00002d90| 2c 20 30 78 30 33 2c 0a | 20 20 20 30 78 63 30 2c |, 0x03,.| 0xc0,|
|00002da0| 20 30 78 30 33 2c 20 30 | 78 63 30 2c 20 30 78 30 | 0x03, 0|xc0, 0x0|
|00002db0| 33 2c 20 30 78 63 30 2c | 20 30 78 30 37 2c 20 30 |3, 0xc0,| 0x07, 0|
|00002dc0| 78 63 30 2c 20 30 78 30 | 37 2c 20 30 78 38 30 2c |xc0, 0x0|7, 0x80,|
|00002dd0| 20 30 78 30 33 2c 20 30 | 78 38 30 2c 20 30 78 30 | 0x03, 0|x80, 0x0|
|00002de0| 33 2c 0a 20 20 20 30 78 | 38 30 2c 20 30 78 30 33 |3,. 0x|80, 0x03|
|00002df0| 2c 20 30 78 38 30 2c 20 | 30 78 30 33 2c 20 30 78 |, 0x80, |0x03, 0x|
|00002e00| 63 30 2c 20 30 78 30 33 | 2c 20 30 78 30 30 2c 20 |c0, 0x03|, 0x00, |
|00002e10| 30 78 30 30 7d 3b 0a 53 | 48 41 52 5f 45 4f 46 0a |0x00};.S|HAR_EOF.|
|00002e20| 69 66 20 74 65 73 74 20 | 33 32 34 20 2d 6e 65 20 |if test |324 -ne |
|00002e30| 22 60 77 63 20 2d 63 20 | 3c 20 27 6c 65 66 74 31 |"`wc -c |< 'left1|
|00002e40| 2e 62 69 74 73 27 60 22 | 0a 74 68 65 6e 0a 09 65 |.bits'`"|.then..e|
|00002e50| 63 68 6f 20 73 68 61 72 | 3a 20 65 72 72 6f 72 20 |cho shar|: error |
|00002e60| 74 72 61 6e 73 6d 69 74 | 74 69 6e 67 20 22 27 6c |transmit|ting "'l|
|00002e70| 65 66 74 31 2e 62 69 74 | 73 27 22 20 27 28 73 68 |eft1.bit|s'" '(sh|
|00002e80| 6f 75 6c 64 20 68 61 76 | 65 20 62 65 65 6e 20 33 |ould hav|e been 3|
|00002e90| 32 34 20 63 68 61 72 61 | 63 74 65 72 73 29 27 0a |24 chara|cters)'.|
|00002ea0| 66 69 0a 66 69 20 23 20 | 65 6e 64 20 6f 66 20 6f |fi.fi # |end of o|
|00002eb0| 76 65 72 77 72 69 74 69 | 6e 67 20 63 68 65 63 6b |verwriti|ng check|
|00002ec0| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 6c 65 66 |.if test| -f 'lef|
|00002ed0| 74 32 2e 62 69 74 73 27 | 0a 74 68 65 6e 0a 09 65 |t2.bits'|.then..e|
|00002ee0| 63 68 6f 20 73 68 61 72 | 3a 20 77 69 6c 6c 20 6e |cho shar|: will n|
|00002ef0| 6f 74 20 6f 76 65 72 2d | 77 72 69 74 65 20 65 78 |ot over-|write ex|
|00002f00| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 22 27 6c 65 |isting f|ile "'le|
|00002f10| 66 74 32 2e 62 69 74 73 | 27 22 0a 65 6c 73 65 0a |ft2.bits|'".else.|
|00002f20| 63 61 74 20 3c 3c 20 5c | 53 48 41 52 5f 45 4f 46 |cat << \|SHAR_EOF|
|00002f30| 20 3e 20 27 6c 65 66 74 | 32 2e 62 69 74 73 27 0a | > 'left|2.bits'.|
|00002f40| 23 64 65 66 69 6e 65 20 | 6c 65 66 74 32 5f 77 69 |#define |left2_wi|
|00002f50| 64 74 68 20 31 36 0a 23 | 64 65 66 69 6e 65 20 6c |dth 16.#|define l|
|00002f60| 65 66 74 32 5f 68 65 69 | 67 68 74 20 31 36 0a 23 |eft2_hei|ght 16.#|
|00002f70| 64 65 66 69 6e 65 20 6c | 65 66 74 32 5f 78 5f 68 |define l|eft2_x_h|
|00002f80| 6f 74 20 2d 31 0a 23 64 | 65 66 69 6e 65 20 6c 65 |ot -1.#d|efine le|
|00002f90| 66 74 32 5f 79 5f 68 6f | 74 20 2d 31 0a 73 74 61 |ft2_y_ho|t -1.sta|
|00002fa0| 74 69 63 20 63 68 61 72 | 20 6c 65 66 74 32 5f 62 |tic char| left2_b|
|00002fb0| 69 74 73 5b 5d 20 3d 20 | 7b 0a 20 20 20 30 78 30 |its[] = |{. 0x0|
|00002fc0| 30 2c 20 30 78 30 30 2c | 20 30 78 30 31 2c 20 30 |0, 0x00,| 0x01, 0|
|00002fd0| 78 38 30 2c 20 30 78 30 | 33 2c 20 30 78 63 30 2c |x80, 0x0|3, 0xc0,|
|00002fe0| 20 30 78 30 33 2c 20 30 | 78 65 30 2c 20 30 78 30 | 0x03, 0|xe0, 0x0|
|00002ff0| 31 2c 20 30 78 38 30 2c | 20 30 78 30 33 2c 20 30 |1, 0x80,| 0x03, 0|
|00003000| 78 65 30 2c 0a 20 20 20 | 30 78 30 33 2c 20 30 78 |xe0,. |0x03, 0x|
|00003010| 66 30 2c 20 30 78 30 33 | 2c 20 30 78 64 38 2c 20 |f0, 0x03|, 0xd8, |
|00003020| 30 78 30 33 2c 20 30 78 | 63 38 2c 20 30 78 30 33 |0x03, 0x|c8, 0x03|
|00003030| 2c 20 30 78 65 30 2c 20 | 30 78 30 37 2c 20 30 78 |, 0xe0, |0x07, 0x|
|00003040| 36 30 2c 20 30 78 30 36 | 2c 20 30 78 37 30 2c 0a |60, 0x06|, 0x70,.|
|00003050| 20 20 20 30 78 30 36 2c | 20 30 78 33 30 2c 20 30 | 0x06,| 0x30, 0|
|00003060| 78 30 36 2c 20 30 78 33 | 30 2c 20 30 78 30 37 2c |x06, 0x3|0, 0x07,|
|00003070| 20 30 78 33 38 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x38, 0|x00, 0x0|
|00003080| 30 7d 3b 0a 53 48 41 52 | 5f 45 4f 46 0a 69 66 20 |0};.SHAR|_EOF.if |
|00003090| 74 65 73 74 20 33 32 34 | 20 2d 6e 65 20 22 60 77 |test 324| -ne "`w|
|000030a0| 63 20 2d 63 20 3c 20 27 | 6c 65 66 74 32 2e 62 69 |c -c < '|left2.bi|
|000030b0| 74 73 27 60 22 0a 74 68 | 65 6e 0a 09 65 63 68 6f |ts'`".th|en..echo|
|000030c0| 20 73 68 61 72 3a 20 65 | 72 72 6f 72 20 74 72 61 | shar: e|rror tra|
|000030d0| 6e 73 6d 69 74 74 69 6e | 67 20 22 27 6c 65 66 74 |nsmittin|g "'left|
|000030e0| 32 2e 62 69 74 73 27 22 | 20 27 28 73 68 6f 75 6c |2.bits'"| '(shoul|
|000030f0| 64 20 68 61 76 65 20 62 | 65 65 6e 20 33 32 34 20 |d have b|een 324 |
|00003100| 63 68 61 72 61 63 74 65 | 72 73 29 27 0a 66 69 0a |characte|rs)'.fi.|
|00003110| 66 69 20 23 20 65 6e 64 | 20 6f 66 20 6f 76 65 72 |fi # end| of over|
|00003120| 77 72 69 74 69 6e 67 20 | 63 68 65 63 6b 0a 69 66 |writing |check.if|
|00003130| 20 74 65 73 74 20 2d 66 | 20 27 70 6c 61 79 65 72 | test -f| 'player|
|00003140| 2e 62 69 74 73 27 0a 74 | 68 65 6e 0a 09 65 63 68 |.bits'.t|hen..ech|
|00003150| 6f 20 73 68 61 72 3a 20 | 77 69 6c 6c 20 6e 6f 74 |o shar: |will not|
|00003160| 20 6f 76 65 72 2d 77 72 | 69 74 65 20 65 78 69 73 | over-wr|ite exis|
|00003170| 74 69 6e 67 20 66 69 6c | 65 20 22 27 70 6c 61 79 |ting fil|e "'play|
|00003180| 65 72 2e 62 69 74 73 27 | 22 0a 65 6c 73 65 0a 63 |er.bits'|".else.c|
|00003190| 61 74 20 3c 3c 20 5c 53 | 48 41 52 5f 45 4f 46 20 |at << \S|HAR_EOF |
|000031a0| 3e 20 27 70 6c 61 79 65 | 72 2e 62 69 74 73 27 0a |> 'playe|r.bits'.|
|000031b0| 23 64 65 66 69 6e 65 20 | 70 6c 61 79 65 72 5f 77 |#define |player_w|
|000031c0| 69 64 74 68 20 31 36 0a | 23 64 65 66 69 6e 65 20 |idth 16.|#define |
|000031d0| 70 6c 61 79 65 72 5f 68 | 65 69 67 68 74 20 31 36 |player_h|eight 16|
|000031e0| 0a 23 64 65 66 69 6e 65 | 20 70 6c 61 79 65 72 5f |.#define| player_|
|000031f0| 78 5f 68 6f 74 20 2d 31 | 0a 23 64 65 66 69 6e 65 |x_hot -1|.#define|
|00003200| 20 70 6c 61 79 65 72 5f | 79 5f 68 6f 74 20 2d 31 | player_|y_hot -1|
|00003210| 0a 73 74 61 74 69 63 20 | 63 68 61 72 20 70 6c 61 |.static |char pla|
|00003220| 79 65 72 5f 62 69 74 73 | 5b 5d 20 3d 20 7b 0a 20 |yer_bits|[] = {. |
|00003230| 20 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 | 0x00, |0x00, 0x|
|00003240| 38 30 2c 20 30 78 30 31 | 2c 20 30 78 63 30 2c 20 |80, 0x01|, 0xc0, |
|00003250| 30 78 30 33 2c 20 30 78 | 63 30 2c 20 30 78 30 33 |0x03, 0x|c0, 0x03|
|00003260| 2c 20 30 78 38 30 2c 20 | 30 78 30 31 2c 20 30 78 |, 0x80, |0x01, 0x|
|00003270| 65 30 2c 20 30 78 30 37 | 2c 0a 20 20 20 30 78 66 |e0, 0x07|,. 0xf|
|00003280| 30 2c 20 30 78 30 66 2c | 20 30 78 64 38 2c 20 30 |0, 0x0f,| 0xd8, 0|
|00003290| 78 31 62 2c 20 30 78 63 | 63 2c 20 30 78 33 33 2c |x1b, 0xc|c, 0x33,|
|000032a0| 20 30 78 65 34 2c 20 30 | 78 32 37 2c 20 30 78 36 | 0xe4, 0|x27, 0x6|
|000032b0| 30 2c 20 30 78 30 36 2c | 20 30 78 36 30 2c 20 30 |0, 0x06,| 0x60, 0|
|000032c0| 78 30 36 2c 0a 20 20 20 | 30 78 36 30 2c 20 30 78 |x06,. |0x60, 0x|
|000032d0| 30 36 2c 20 30 78 37 30 | 2c 20 30 78 30 65 2c 20 |06, 0x70|, 0x0e, |
|000032e0| 30 78 33 38 2c 20 30 78 | 31 63 2c 20 30 78 30 30 |0x38, 0x|1c, 0x00|
|000032f0| 2c 20 30 78 30 30 7d 3b | 0a 53 48 41 52 5f 45 4f |, 0x00};|.SHAR_EO|
|00003300| 46 0a 69 66 20 74 65 73 | 74 20 33 32 39 20 2d 6e |F.if tes|t 329 -n|
|00003310| 65 20 22 60 77 63 20 2d | 63 20 3c 20 27 70 6c 61 |e "`wc -|c < 'pla|
|00003320| 79 65 72 2e 62 69 74 73 | 27 60 22 0a 74 68 65 6e |yer.bits|'`".then|
|00003330| 0a 09 65 63 68 6f 20 73 | 68 61 72 3a 20 65 72 72 |..echo s|har: err|
|00003340| 6f 72 20 74 72 61 6e 73 | 6d 69 74 74 69 6e 67 20 |or trans|mitting |
|00003350| 22 27 70 6c 61 79 65 72 | 2e 62 69 74 73 27 22 20 |"'player|.bits'" |
|00003360| 27 28 73 68 6f 75 6c 64 | 20 68 61 76 65 20 62 65 |'(should| have be|
|00003370| 65 6e 20 33 32 39 20 63 | 68 61 72 61 63 74 65 72 |en 329 c|haracter|
|00003380| 73 29 27 0a 66 69 0a 66 | 69 20 23 20 65 6e 64 20 |s)'.fi.f|i # end |
|00003390| 6f 66 20 6f 76 65 72 77 | 72 69 74 69 6e 67 20 63 |of overw|riting c|
|000033a0| 68 65 63 6b 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |heck.if |test -f |
|000033b0| 27 72 69 67 68 74 31 2e | 62 69 74 73 27 0a 74 68 |'right1.|bits'.th|
|000033c0| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 77 |en..echo| shar: w|
|000033d0| 69 6c 6c 20 6e 6f 74 20 | 6f 76 65 72 2d 77 72 69 |ill not |over-wri|
|000033e0| 74 65 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |te exist|ing file|
|000033f0| 20 22 27 72 69 67 68 74 | 31 2e 62 69 74 73 27 22 | "'right|1.bits'"|
|00003400| 0a 65 6c 73 65 0a 63 61 | 74 20 3c 3c 20 5c 53 48 |.else.ca|t << \SH|
|00003410| 41 52 5f 45 4f 46 20 3e | 20 27 72 69 67 68 74 31 |AR_EOF >| 'right1|
|00003420| 2e 62 69 74 73 27 0a 23 | 64 65 66 69 6e 65 20 72 |.bits'.#|define r|
|00003430| 69 67 68 74 31 5f 77 69 | 64 74 68 20 31 36 0a 23 |ight1_wi|dth 16.#|
|00003440| 64 65 66 69 6e 65 20 72 | 69 67 68 74 31 5f 68 65 |define r|ight1_he|
|00003450| 69 67 68 74 20 31 36 0a | 23 64 65 66 69 6e 65 20 |ight 16.|#define |
|00003460| 72 69 67 68 74 31 5f 78 | 5f 68 6f 74 20 2d 31 0a |right1_x|_hot -1.|
|00003470| 23 64 65 66 69 6e 65 20 | 72 69 67 68 74 31 5f 79 |#define |right1_y|
|00003480| 5f 68 6f 74 20 2d 31 0a | 73 74 61 74 69 63 20 63 |_hot -1.|static c|
|00003490| 68 61 72 20 72 69 67 68 | 74 31 5f 62 69 74 73 5b |har righ|t1_bits[|
|000034a0| 5d 20 3d 20 7b 0a 20 20 | 20 30 78 30 30 2c 20 30 |] = {. | 0x00, 0|
|000034b0| 78 30 30 2c 20 30 78 38 | 30 2c 20 30 78 30 31 2c |x00, 0x8|0, 0x01,|
|000034c0| 20 30 78 63 30 2c 20 30 | 78 30 33 2c 20 30 78 63 | 0xc0, 0|x03, 0xc|
|000034d0| 30 2c 20 30 78 30 37 2c | 20 30 78 38 30 2c 20 30 |0, 0x07,| 0x80, 0|
|000034e0| 78 30 31 2c 20 30 78 63 | 30 2c 20 30 78 30 31 2c |x01, 0xc|0, 0x01,|
|000034f0| 0a 20 20 20 30 78 63 30 | 2c 20 30 78 30 33 2c 20 |. 0xc0|, 0x03, |
|00003500| 30 78 63 30 2c 20 30 78 | 30 33 2c 20 30 78 65 30 |0xc0, 0x|03, 0xe0|
|00003510| 2c 20 30 78 30 33 2c 20 | 30 78 65 30 2c 20 30 78 |, 0x03, |0xe0, 0x|
|00003520| 30 33 2c 20 30 78 63 30 | 2c 20 30 78 30 31 2c 20 |03, 0xc0|, 0x01, |
|00003530| 30 78 63 30 2c 20 30 78 | 30 31 2c 0a 20 20 20 30 |0xc0, 0x|01,. 0|
|00003540| 78 63 30 2c 20 30 78 30 | 31 2c 20 30 78 63 30 2c |xc0, 0x0|1, 0xc0,|
|00003550| 20 30 78 30 31 2c 20 30 | 78 63 30 2c 20 30 78 30 | 0x01, 0|xc0, 0x0|
|00003560| 33 2c 20 30 78 30 30 2c | 20 30 78 30 30 7d 3b 0a |3, 0x00,| 0x00};.|
|00003570| 53 48 41 52 5f 45 4f 46 | 0a 69 66 20 74 65 73 74 |SHAR_EOF|.if test|
|00003580| 20 33 32 39 20 2d 6e 65 | 20 22 60 77 63 20 2d 63 | 329 -ne| "`wc -c|
|00003590| 20 3c 20 27 72 69 67 68 | 74 31 2e 62 69 74 73 27 | < 'righ|t1.bits'|
|000035a0| 60 22 0a 74 68 65 6e 0a | 09 65 63 68 6f 20 73 68 |`".then.|.echo sh|
|000035b0| 61 72 3a 20 65 72 72 6f | 72 20 74 72 61 6e 73 6d |ar: erro|r transm|
|000035c0| 69 74 74 69 6e 67 20 22 | 27 72 69 67 68 74 31 2e |itting "|'right1.|
|000035d0| 62 69 74 73 27 22 20 27 | 28 73 68 6f 75 6c 64 20 |bits'" '|(should |
|000035e0| 68 61 76 65 20 62 65 65 | 6e 20 33 32 39 20 63 68 |have bee|n 329 ch|
|000035f0| 61 72 61 63 74 65 72 73 | 29 27 0a 66 69 0a 66 69 |aracters|)'.fi.fi|
|00003600| 20 23 20 65 6e 64 20 6f | 66 20 6f 76 65 72 77 72 | # end o|f overwr|
|00003610| 69 74 69 6e 67 20 63 68 | 65 63 6b 0a 69 66 20 74 |iting ch|eck.if t|
|00003620| 65 73 74 20 2d 66 20 27 | 72 69 67 68 74 32 2e 62 |est -f '|right2.b|
|00003630| 69 74 73 27 0a 74 68 65 | 6e 0a 09 65 63 68 6f 20 |its'.the|n..echo |
|00003640| 73 68 61 72 3a 20 77 69 | 6c 6c 20 6e 6f 74 20 6f |shar: wi|ll not o|
|00003650| 76 65 72 2d 77 72 69 74 | 65 20 65 78 69 73 74 69 |ver-writ|e existi|
|00003660| 6e 67 20 66 69 6c 65 20 | 22 27 72 69 67 68 74 32 |ng file |"'right2|
|00003670| 2e 62 69 74 73 27 22 0a | 65 6c 73 65 0a 63 61 74 |.bits'".|else.cat|
|00003680| 20 3c 3c 20 5c 53 48 41 | 52 5f 45 4f 46 20 3e 20 | << \SHA|R_EOF > |
|00003690| 27 72 69 67 68 74 32 2e | 62 69 74 73 27 0a 23 64 |'right2.|bits'.#d|
|000036a0| 65 66 69 6e 65 20 72 69 | 67 68 74 32 5f 77 69 64 |efine ri|ght2_wid|
|000036b0| 74 68 20 31 36 0a 23 64 | 65 66 69 6e 65 20 72 69 |th 16.#d|efine ri|
|000036c0| 67 68 74 32 5f 68 65 69 | 67 68 74 20 31 36 0a 23 |ght2_hei|ght 16.#|
|000036d0| 64 65 66 69 6e 65 20 72 | 69 67 68 74 32 5f 78 5f |define r|ight2_x_|
|000036e0| 68 6f 74 20 2d 31 0a 23 | 64 65 66 69 6e 65 20 72 |hot -1.#|define r|
|000036f0| 69 67 68 74 32 5f 79 5f | 68 6f 74 20 2d 31 0a 73 |ight2_y_|hot -1.s|
|00003700| 74 61 74 69 63 20 63 68 | 61 72 20 72 69 67 68 74 |tatic ch|ar right|
|00003710| 32 5f 62 69 74 73 5b 5d | 20 3d 20 7b 0a 20 20 20 |2_bits[]| = {. |
|00003720| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 31 |0x00, 0x|00, 0x01|
|00003730| 2c 20 30 78 38 30 2c 20 | 30 78 30 33 2c 20 30 78 |, 0x80, |0x03, 0x|
|00003740| 63 30 2c 20 30 78 30 37 | 2c 20 30 78 63 30 2c 20 |c0, 0x07|, 0xc0, |
|00003750| 30 78 30 31 2c 20 30 78 | 38 30 2c 20 30 78 30 37 |0x01, 0x|80, 0x07|
|00003760| 2c 20 30 78 63 30 2c 0a | 20 20 20 30 78 30 66 2c |, 0xc0,.| 0x0f,|
|00003770| 20 30 78 63 30 2c 20 30 | 78 31 62 2c 20 30 78 63 | 0xc0, 0|x1b, 0xc|
|00003780| 30 2c 20 30 78 31 33 2c | 20 30 78 63 30 2c 20 30 |0, 0x13,| 0xc0, 0|
|00003790| 78 30 37 2c 20 30 78 63 | 30 2c 20 30 78 30 36 2c |x07, 0xc|0, 0x06,|
|000037a0| 20 30 78 65 30 2c 20 30 | 78 30 65 2c 20 30 78 36 | 0xe0, 0|x0e, 0x6|
|000037b0| 30 2c 0a 20 20 20 30 78 | 30 63 2c 20 30 78 36 30 |0,. 0x|0c, 0x60|
|000037c0| 2c 20 30 78 30 63 2c 20 | 30 78 36 30 2c 20 30 78 |, 0x0c, |0x60, 0x|
|000037d0| 31 63 2c 20 30 78 65 30 | 2c 20 30 78 30 30 2c 20 |1c, 0xe0|, 0x00, |
|000037e0| 30 78 30 30 7d 3b 0a 53 | 48 41 52 5f 45 4f 46 0a |0x00};.S|HAR_EOF.|
|000037f0| 69 66 20 74 65 73 74 20 | 33 32 39 20 2d 6e 65 20 |if test |329 -ne |
|00003800| 22 60 77 63 20 2d 63 20 | 3c 20 27 72 69 67 68 74 |"`wc -c |< 'right|
|00003810| 32 2e 62 69 74 73 27 60 | 22 0a 74 68 65 6e 0a 09 |2.bits'`|".then..|
|00003820| 65 63 68 6f 20 73 68 61 | 72 3a 20 65 72 72 6f 72 |echo sha|r: error|
|00003830| 20 74 72 61 6e 73 6d 69 | 74 74 69 6e 67 20 22 27 | transmi|tting "'|
|00003840| 72 69 67 68 74 32 2e 62 | 69 74 73 27 22 20 27 28 |right2.b|its'" '(|
|00003850| 73 68 6f 75 6c 64 20 68 | 61 76 65 20 62 65 65 6e |should h|ave been|
|00003860| 20 33 32 39 20 63 68 61 | 72 61 63 74 65 72 73 29 | 329 cha|racters)|
|00003870| 27 0a 66 69 0a 66 69 20 | 23 20 65 6e 64 20 6f 66 |'.fi.fi |# end of|
|00003880| 20 6f 76 65 72 77 72 69 | 74 69 6e 67 20 63 68 65 | overwri|ting che|
|00003890| 63 6b 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 72 |ck.if te|st -f 'r|
|000038a0| 6f 70 65 2e 62 69 74 73 | 27 0a 74 68 65 6e 0a 09 |ope.bits|'.then..|
|000038b0| 65 63 68 6f 20 73 68 61 | 72 3a 20 77 69 6c 6c 20 |echo sha|r: will |
|000038c0| 6e 6f 74 20 6f 76 65 72 | 2d 77 72 69 74 65 20 65 |not over|-write e|
|000038d0| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 22 27 72 |xisting |file "'r|
|000038e0| 6f 70 65 2e 62 69 74 73 | 27 22 0a 65 6c 73 65 0a |ope.bits|'".else.|
|000038f0| 63 61 74 20 3c 3c 20 5c | 53 48 41 52 5f 45 4f 46 |cat << \|SHAR_EOF|
|00003900| 20 3e 20 27 72 6f 70 65 | 2e 62 69 74 73 27 0a 23 | > 'rope|.bits'.#|
|00003910| 64 65 66 69 6e 65 20 72 | 6f 70 65 5f 77 69 64 74 |define r|ope_widt|
|00003920| 68 20 31 36 0a 23 64 65 | 66 69 6e 65 20 72 6f 70 |h 16.#de|fine rop|
|00003930| 65 5f 68 65 69 67 68 74 | 20 31 36 0a 73 74 61 74 |e_height| 16.stat|
|00003940| 69 63 20 63 68 61 72 20 | 72 6f 70 65 5f 62 69 74 |ic char |rope_bit|
|00003950| 73 5b 5d 20 3d 20 7b 0a | 20 20 20 30 78 30 30 2c |s[] = {.| 0x00,|
|00003960| 20 30 78 30 30 2c 20 30 | 78 65 65 2c 20 30 78 65 | 0x00, 0|xee, 0xe|
|00003970| 65 2c 20 30 78 64 64 2c | 20 30 78 64 64 2c 20 30 |e, 0xdd,| 0xdd, 0|
|00003980| 78 30 30 2c 20 30 78 30 | 30 2c 20 30 78 30 30 2c |x00, 0x0|0, 0x00,|
|00003990| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x00, 0|x00, 0x0|
|000039a0| 30 2c 0a 20 20 20 30 78 | 30 30 2c 20 30 78 30 30 |0,. 0x|00, 0x00|
|000039b0| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x00, |0x00, 0x|
|000039c0| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |00, 0x00|, 0x00, |
|000039d0| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 30 |0x00, 0x|00, 0x00|
|000039e0| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 0a 20 20 |, 0x00, |0x00,. |
|000039f0| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x00, 0|x00, 0x0|
|00003a00| 30 2c 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 |0, 0x00,| 0x00, 0|
|00003a10| 78 30 30 2c 20 30 78 30 | 30 2c 20 30 78 30 30 7d |x00, 0x0|0, 0x00}|
|00003a20| 3b 0a 53 48 41 52 5f 45 | 4f 46 0a 69 66 20 74 65 |;.SHAR_E|OF.if te|
|00003a30| 73 74 20 32 37 35 20 2d | 6e 65 20 22 60 77 63 20 |st 275 -|ne "`wc |
|00003a40| 2d 63 20 3c 20 27 72 6f | 70 65 2e 62 69 74 73 27 |-c < 'ro|pe.bits'|
|00003a50| 60 22 0a 74 68 65 6e 0a | 09 65 63 68 6f 20 73 68 |`".then.|.echo sh|
|00003a60| 61 72 3a 20 65 72 72 6f | 72 20 74 72 61 6e 73 6d |ar: erro|r transm|
|00003a70| 69 74 74 69 6e 67 20 22 | 27 72 6f 70 65 2e 62 69 |itting "|'rope.bi|
|00003a80| 74 73 27 22 20 27 28 73 | 68 6f 75 6c 64 20 68 61 |ts'" '(s|hould ha|
|00003a90| 76 65 20 62 65 65 6e 20 | 32 37 35 20 63 68 61 72 |ve been |275 char|
|00003aa0| 61 63 74 65 72 73 29 27 | 0a 66 69 0a 66 69 20 23 |acters)'|.fi.fi #|
|00003ab0| 20 65 6e 64 20 6f 66 20 | 6f 76 65 72 77 72 69 74 | end of |overwrit|
|00003ac0| 69 6e 67 20 63 68 65 63 | 6b 0a 69 66 20 74 65 73 |ing chec|k.if tes|
|00003ad0| 74 20 2d 66 20 27 73 70 | 61 63 65 2e 62 69 74 73 |t -f 'sp|ace.bits|
|00003ae0| 27 0a 74 68 65 6e 0a 09 | 65 63 68 6f 20 73 68 61 |'.then..|echo sha|
|00003af0| 72 3a 20 77 69 6c 6c 20 | 6e 6f 74 20 6f 76 65 72 |r: will |not over|
|00003b00| 2d 77 72 69 74 65 20 65 | 78 69 73 74 69 6e 67 20 |-write e|xisting |
|00003b10| 66 69 6c 65 20 22 27 73 | 70 61 63 65 2e 62 69 74 |file "'s|pace.bit|
|00003b20| 73 27 22 0a 65 6c 73 65 | 0a 63 61 74 20 3c 3c 20 |s'".else|.cat << |
|00003b30| 5c 53 48 41 52 5f 45 4f | 46 20 3e 20 27 73 70 61 |\SHAR_EO|F > 'spa|
|00003b40| 63 65 2e 62 69 74 73 27 | 0a 23 64 65 66 69 6e 65 |ce.bits'|.#define|
|00003b50| 20 73 70 61 63 65 5f 77 | 69 64 74 68 20 31 36 0a | space_w|idth 16.|
|00003b60| 23 64 65 66 69 6e 65 20 | 73 70 61 63 65 5f 68 65 |#define |space_he|
|00003b70| 69 67 68 74 20 31 36 0a | 73 74 61 74 69 63 20 63 |ight 16.|static c|
|00003b80| 68 61 72 20 73 70 61 63 | 65 5f 62 69 74 73 5b 5d |har spac|e_bits[]|
|00003b90| 20 3d 20 7b 0a 20 20 20 | 30 78 30 30 2c 20 30 78 | = {. |0x00, 0x|
|00003ba0| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |00, 0x00|, 0x00, |
|00003bb0| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 30 |0x00, 0x|00, 0x00|
|00003bc0| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x00, |0x00, 0x|
|00003bd0| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 0a |00, 0x00|, 0x00,.|
|00003be0| 20 20 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 | 0x00,| 0x00, 0|
|00003bf0| 78 30 30 2c 20 30 78 30 | 30 2c 20 30 78 30 30 2c |x00, 0x0|0, 0x00,|
|00003c00| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x00, 0|x00, 0x0|
|00003c10| 30 2c 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 |0, 0x00,| 0x00, 0|
|00003c20| 78 30 30 2c 20 30 78 30 | 30 2c 0a 20 20 20 30 78 |x00, 0x0|0,. 0x|
|00003c30| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |00, 0x00|, 0x00, |
|00003c40| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 30 |0x00, 0x|00, 0x00|
|00003c50| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 7d 3b 0a 53 |, 0x00, |0x00};.S|
|00003c60| 48 41 52 5f 45 4f 46 0a | 69 66 20 74 65 73 74 20 |HAR_EOF.|if test |
|00003c70| 32 37 38 20 2d 6e 65 20 | 22 60 77 63 20 2d 63 20 |278 -ne |"`wc -c |
|00003c80| 3c 20 27 73 70 61 63 65 | 2e 62 69 74 73 27 60 22 |< 'space|.bits'`"|
|00003c90| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00003ca0| 3a 20 65 72 72 6f 72 20 | 74 72 61 6e 73 6d 69 74 |: error |transmit|
|00003cb0| 74 69 6e 67 20 22 27 73 | 70 61 63 65 2e 62 69 74 |ting "'s|pace.bit|
|00003cc0| 73 27 22 20 27 28 73 68 | 6f 75 6c 64 20 68 61 76 |s'" '(sh|ould hav|
|00003cd0| 65 20 62 65 65 6e 20 32 | 37 38 20 63 68 61 72 61 |e been 2|78 chara|
|00003ce0| 63 74 65 72 73 29 27 0a | 66 69 0a 66 69 20 23 20 |cters)'.|fi.fi # |
|00003cf0| 65 6e 64 20 6f 66 20 6f | 76 65 72 77 72 69 74 69 |end of o|verwriti|
|00003d00| 6e 67 20 63 68 65 63 6b | 0a 69 66 20 74 65 73 74 |ng check|.if test|
|00003d10| 20 2d 66 20 27 73 74 6f | 6e 65 2e 62 69 74 73 27 | -f 'sto|ne.bits'|
|00003d20| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00003d30| 3a 20 77 69 6c 6c 20 6e | 6f 74 20 6f 76 65 72 2d |: will n|ot over-|
|00003d40| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 20 66 |write ex|isting f|
|00003d50| 69 6c 65 20 22 27 73 74 | 6f 6e 65 2e 62 69 74 73 |ile "'st|one.bits|
|00003d60| 27 22 0a 65 6c 73 65 0a | 63 61 74 20 3c 3c 20 5c |'".else.|cat << \|
|00003d70| 53 48 41 52 5f 45 4f 46 | 20 3e 20 27 73 74 6f 6e |SHAR_EOF| > 'ston|
|00003d80| 65 2e 62 69 74 73 27 0a | 23 64 65 66 69 6e 65 20 |e.bits'.|#define |
|00003d90| 73 74 6f 6e 65 5f 77 69 | 64 74 68 20 31 36 0a 23 |stone_wi|dth 16.#|
|00003da0| 64 65 66 69 6e 65 20 73 | 74 6f 6e 65 5f 68 65 69 |define s|tone_hei|
|00003db0| 67 68 74 20 31 36 0a 23 | 64 65 66 69 6e 65 20 73 |ght 16.#|define s|
|00003dc0| 74 6f 6e 65 5f 78 5f 68 | 6f 74 20 2d 31 0a 23 64 |tone_x_h|ot -1.#d|
|00003dd0| 65 66 69 6e 65 20 73 74 | 6f 6e 65 5f 79 5f 68 6f |efine st|one_y_ho|
|00003de0| 74 20 2d 31 0a 73 74 61 | 74 69 63 20 63 68 61 72 |t -1.sta|tic char|
|00003df0| 20 73 74 6f 6e 65 5f 62 | 69 74 73 5b 5d 20 3d 20 | stone_b|its[] = |
|00003e00| 7b 0a 20 20 20 30 78 31 | 66 2c 20 30 78 66 38 2c |{. 0x1|f, 0xf8,|
|00003e10| 20 30 78 66 66 2c 20 30 | 78 66 66 2c 20 30 78 66 | 0xff, 0|xff, 0xf|
|00003e20| 66 2c 20 30 78 66 66 2c | 20 30 78 66 66 2c 20 30 |f, 0xff,| 0xff, 0|
|00003e30| 78 66 66 2c 20 30 78 66 | 66 2c 20 30 78 66 66 2c |xff, 0xf|f, 0xff,|
|00003e40| 20 30 78 66 65 2c 20 30 | 78 37 66 2c 0a 20 20 20 | 0xfe, 0|x7f,. |
|00003e50| 30 78 66 65 2c 20 30 78 | 37 66 2c 20 30 78 66 65 |0xfe, 0x|7f, 0xfe|
|00003e60| 2c 20 30 78 37 66 2c 20 | 30 78 66 65 2c 20 30 78 |, 0x7f, |0xfe, 0x|
|00003e70| 37 66 2c 20 30 78 66 65 | 2c 20 30 78 37 66 2c 20 |7f, 0xfe|, 0x7f, |
|00003e80| 30 78 66 65 2c 20 30 78 | 37 66 2c 20 30 78 66 66 |0xfe, 0x|7f, 0xff|
|00003e90| 2c 20 30 78 66 66 2c 0a | 20 20 20 30 78 66 66 2c |, 0xff,.| 0xff,|
|00003ea0| 20 30 78 66 66 2c 20 30 | 78 66 66 2c 20 30 78 66 | 0xff, 0|xff, 0xf|
|00003eb0| 66 2c 20 30 78 66 66 2c | 20 30 78 66 66 2c 20 30 |f, 0xff,| 0xff, 0|
|00003ec0| 78 31 66 2c 20 30 78 66 | 38 7d 3b 0a 53 48 41 52 |x1f, 0xf|8};.SHAR|
|00003ed0| 5f 45 4f 46 0a 69 66 20 | 74 65 73 74 20 33 32 34 |_EOF.if |test 324|
|00003ee0| 20 2d 6e 65 20 22 60 77 | 63 20 2d 63 20 3c 20 27 | -ne "`w|c -c < '|
|00003ef0| 73 74 6f 6e 65 2e 62 69 | 74 73 27 60 22 0a 74 68 |stone.bi|ts'`".th|
|00003f00| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 65 |en..echo| shar: e|
|00003f10| 72 72 6f 72 20 74 72 61 | 6e 73 6d 69 74 74 69 6e |rror tra|nsmittin|
|00003f20| 67 20 22 27 73 74 6f 6e | 65 2e 62 69 74 73 27 22 |g "'ston|e.bits'"|
|00003f30| 20 27 28 73 68 6f 75 6c | 64 20 68 61 76 65 20 62 | '(shoul|d have b|
|00003f40| 65 65 6e 20 33 32 34 20 | 63 68 61 72 61 63 74 65 |een 324 |characte|
|00003f50| 72 73 29 27 0a 66 69 0a | 66 69 20 23 20 65 6e 64 |rs)'.fi.|fi # end|
|00003f60| 20 6f 66 20 6f 76 65 72 | 77 72 69 74 69 6e 67 20 | of over|writing |
|00003f70| 63 68 65 63 6b 0a 69 66 | 20 74 65 73 74 20 2d 66 |check.if| test -f|
|00003f80| 20 27 75 70 31 2e 62 69 | 74 73 27 0a 74 68 65 6e | 'up1.bi|ts'.then|
|00003f90| 0a 09 65 63 68 6f 20 73 | 68 61 72 3a 20 77 69 6c |..echo s|har: wil|
|00003fa0| 6c 20 6e 6f 74 20 6f 76 | 65 72 2d 77 72 69 74 65 |l not ov|er-write|
|00003fb0| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 22 | existin|g file "|
|00003fc0| 27 75 70 31 2e 62 69 74 | 73 27 22 0a 65 6c 73 65 |'up1.bit|s'".else|
|00003fd0| 0a 63 61 74 20 3c 3c 20 | 5c 53 48 41 52 5f 45 4f |.cat << |\SHAR_EO|
|00003fe0| 46 20 3e 20 27 75 70 31 | 2e 62 69 74 73 27 0a 23 |F > 'up1|.bits'.#|
|00003ff0| 64 65 66 69 6e 65 20 75 | 70 31 5f 77 69 64 74 68 |define u|p1_width|
|00004000| 20 31 36 0a 23 64 65 66 | 69 6e 65 20 75 70 31 5f | 16.#def|ine up1_|
|00004010| 68 65 69 67 68 74 20 31 | 36 0a 23 64 65 66 69 6e |height 1|6.#defin|
|00004020| 65 20 75 70 31 5f 78 5f | 68 6f 74 20 2d 31 0a 23 |e up1_x_|hot -1.#|
|00004030| 64 65 66 69 6e 65 20 75 | 70 31 5f 79 5f 68 6f 74 |define u|p1_y_hot|
|00004040| 20 2d 31 0a 73 74 61 74 | 69 63 20 63 68 61 72 20 | -1.stat|ic char |
|00004050| 75 70 31 5f 62 69 74 73 | 5b 5d 20 3d 20 7b 0a 20 |up1_bits|[] = {. |
|00004060| 20 20 30 78 30 30 2c 20 | 30 78 31 38 2c 20 30 78 | 0x00, |0x18, 0x|
|00004070| 38 30 2c 20 30 78 31 39 | 2c 20 30 78 63 30 2c 20 |80, 0x19|, 0xc0, |
|00004080| 30 78 31 62 2c 20 30 78 | 63 30 2c 20 30 78 31 62 |0x1b, 0x|c0, 0x1b|
|00004090| 2c 20 30 78 38 30 2c 20 | 30 78 31 64 2c 20 30 78 |, 0x80, |0x1d, 0x|
|000040a0| 66 30 2c 20 30 78 30 66 | 2c 0a 20 20 20 30 78 66 |f0, 0x0f|,. 0xf|
|000040b0| 38 2c 20 30 78 30 37 2c | 20 30 78 64 38 2c 20 30 |8, 0x07,| 0xd8, 0|
|000040c0| 78 30 33 2c 20 30 78 64 | 38 2c 20 30 78 30 33 2c |x03, 0xd|8, 0x03,|
|000040d0| 20 30 78 63 30 2c 20 30 | 78 30 37 2c 20 30 78 63 | 0xc0, 0|x07, 0xc|
|000040e0| 30 2c 20 30 78 30 36 2c | 20 30 78 65 30 2c 20 30 |0, 0x06,| 0xe0, 0|
|000040f0| 78 30 36 2c 0a 20 20 20 | 30 78 36 30 2c 20 30 78 |x06,. |0x60, 0x|
|00004100| 30 65 2c 20 30 78 36 30 | 2c 20 30 78 30 63 2c 20 |0e, 0x60|, 0x0c, |
|00004110| 30 78 37 30 2c 20 30 78 | 30 30 2c 20 30 78 33 30 |0x70, 0x|00, 0x30|
|00004120| 2c 20 30 78 30 30 7d 3b | 0a 53 48 41 52 5f 45 4f |, 0x00};|.SHAR_EO|
|00004130| 46 0a 69 66 20 74 65 73 | 74 20 33 31 34 20 2d 6e |F.if tes|t 314 -n|
|00004140| 65 20 22 60 77 63 20 2d | 63 20 3c 20 27 75 70 31 |e "`wc -|c < 'up1|
|00004150| 2e 62 69 74 73 27 60 22 | 0a 74 68 65 6e 0a 09 65 |.bits'`"|.then..e|
|00004160| 63 68 6f 20 73 68 61 72 | 3a 20 65 72 72 6f 72 20 |cho shar|: error |
|00004170| 74 72 61 6e 73 6d 69 74 | 74 69 6e 67 20 22 27 75 |transmit|ting "'u|
|00004180| 70 31 2e 62 69 74 73 27 | 22 20 27 28 73 68 6f 75 |p1.bits'|" '(shou|
|00004190| 6c 64 20 68 61 76 65 20 | 62 65 65 6e 20 33 31 34 |ld have |been 314|
|000041a0| 20 63 68 61 72 61 63 74 | 65 72 73 29 27 0a 66 69 | charact|ers)'.fi|
|000041b0| 0a 66 69 20 23 20 65 6e | 64 20 6f 66 20 6f 76 65 |.fi # en|d of ove|
|000041c0| 72 77 72 69 74 69 6e 67 | 20 63 68 65 63 6b 0a 69 |rwriting| check.i|
|000041d0| 66 20 74 65 73 74 20 2d | 66 20 27 75 70 32 2e 62 |f test -|f 'up2.b|
|000041e0| 69 74 73 27 0a 74 68 65 | 6e 0a 09 65 63 68 6f 20 |its'.the|n..echo |
|000041f0| 73 68 61 72 3a 20 77 69 | 6c 6c 20 6e 6f 74 20 6f |shar: wi|ll not o|
|00004200| 76 65 72 2d 77 72 69 74 | 65 20 65 78 69 73 74 69 |ver-writ|e existi|
|00004210| 6e 67 20 66 69 6c 65 20 | 22 27 75 70 32 2e 62 69 |ng file |"'up2.bi|
|00004220| 74 73 27 22 0a 65 6c 73 | 65 0a 63 61 74 20 3c 3c |ts'".els|e.cat <<|
|00004230| 20 5c 53 48 41 52 5f 45 | 4f 46 20 3e 20 27 75 70 | \SHAR_E|OF > 'up|
|00004240| 32 2e 62 69 74 73 27 0a | 23 64 65 66 69 6e 65 20 |2.bits'.|#define |
|00004250| 75 70 32 5f 77 69 64 74 | 68 20 31 36 0a 23 64 65 |up2_widt|h 16.#de|
|00004260| 66 69 6e 65 20 75 70 32 | 5f 68 65 69 67 68 74 20 |fine up2|_height |
|00004270| 31 36 0a 23 64 65 66 69 | 6e 65 20 75 70 32 5f 78 |16.#defi|ne up2_x|
|00004280| 5f 68 6f 74 20 2d 31 0a | 23 64 65 66 69 6e 65 20 |_hot -1.|#define |
|00004290| 75 70 32 5f 79 5f 68 6f | 74 20 2d 31 0a 73 74 61 |up2_y_ho|t -1.sta|
|000042a0| 74 69 63 20 63 68 61 72 | 20 75 70 32 5f 62 69 74 |tic char| up2_bit|
|000042b0| 73 5b 5d 20 3d 20 7b 0a | 20 20 20 30 78 63 30 2c |s[] = {.| 0xc0,|
|000042c0| 20 30 78 31 62 2c 20 30 | 78 65 30 2c 20 30 78 30 | 0x1b, 0|xe0, 0x0|
|000042d0| 33 2c 20 30 78 36 30 2c | 20 30 78 30 33 2c 20 30 |3, 0x60,| 0x03, 0|
|000042e0| 78 36 30 2c 20 30 78 30 | 37 2c 20 30 78 37 30 2c |x60, 0x0|7, 0x70,|
|000042f0| 20 30 78 30 36 2c 20 30 | 78 33 30 2c 20 30 78 30 | 0x06, 0|x30, 0x0|
|00004300| 36 2c 0a 20 20 20 30 78 | 30 30 2c 20 30 78 30 65 |6,. 0x|00, 0x0e|
|00004310| 2c 20 30 78 30 30 2c 20 | 30 78 30 63 2c 20 30 78 |, 0x00, |0x0c, 0x|
|00004320| 31 38 2c 20 30 78 30 30 | 2c 20 30 78 39 38 2c 20 |18, 0x00|, 0x98, |
|00004330| 30 78 30 31 2c 20 30 78 | 64 38 2c 20 30 78 30 33 |0x01, 0x|d8, 0x03|
|00004340| 2c 20 30 78 64 38 2c 20 | 30 78 30 33 2c 0a 20 20 |, 0xd8, |0x03,. |
|00004350| 20 30 78 62 38 2c 20 30 | 78 30 31 2c 20 30 78 66 | 0xb8, 0|x01, 0xf|
|00004360| 30 2c 20 30 78 30 66 2c | 20 30 78 65 30 2c 20 30 |0, 0x0f,| 0xe0, 0|
|00004370| 78 31 66 2c 20 30 78 63 | 30 2c 20 30 78 31 62 7d |x1f, 0xc|0, 0x1b}|
|00004380| 3b 0a 53 48 41 52 5f 45 | 4f 46 0a 69 66 20 74 65 |;.SHAR_E|OF.if te|
|00004390| 73 74 20 33 31 34 20 2d | 6e 65 20 22 60 77 63 20 |st 314 -|ne "`wc |
|000043a0| 2d 63 20 3c 20 27 75 70 | 32 2e 62 69 74 73 27 60 |-c < 'up|2.bits'`|
|000043b0| 22 0a 74 68 65 6e 0a 09 | 65 63 68 6f 20 73 68 61 |".then..|echo sha|
|000043c0| 72 3a 20 65 72 72 6f 72 | 20 74 72 61 6e 73 6d 69 |r: error| transmi|
|000043d0| 74 74 69 6e 67 20 22 27 | 75 70 32 2e 62 69 74 73 |tting "'|up2.bits|
|000043e0| 27 22 20 27 28 73 68 6f | 75 6c 64 20 68 61 76 65 |'" '(sho|uld have|
|000043f0| 20 62 65 65 6e 20 33 31 | 34 20 63 68 61 72 61 63 | been 31|4 charac|
|00004400| 74 65 72 73 29 27 0a 66 | 69 0a 66 69 20 23 20 65 |ters)'.f|i.fi # e|
|00004410| 6e 64 20 6f 66 20 6f 76 | 65 72 77 72 69 74 69 6e |nd of ov|erwritin|
|00004420| 67 20 63 68 65 63 6b 0a | 69 66 20 74 65 73 74 20 |g check.|if test |
|00004430| 2d 66 20 27 75 70 6c 65 | 76 65 6c 2e 62 69 74 73 |-f 'uple|vel.bits|
|00004440| 27 0a 74 68 65 6e 0a 09 | 65 63 68 6f 20 73 68 61 |'.then..|echo sha|
|00004450| 72 3a 20 77 69 6c 6c 20 | 6e 6f 74 20 6f 76 65 72 |r: will |not over|
|00004460| 2d 77 72 69 74 65 20 65 | 78 69 73 74 69 6e 67 20 |-write e|xisting |
|00004470| 66 69 6c 65 20 22 27 75 | 70 6c 65 76 65 6c 2e 62 |file "'u|plevel.b|
|00004480| 69 74 73 27 22 0a 65 6c | 73 65 0a 63 61 74 20 3c |its'".el|se.cat <|
|00004490| 3c 20 5c 53 48 41 52 5f | 45 4f 46 20 3e 20 27 75 |< \SHAR_|EOF > 'u|
|000044a0| 70 6c 65 76 65 6c 2e 62 | 69 74 73 27 0a 23 64 65 |plevel.b|its'.#de|
|000044b0| 66 69 6e 65 20 75 70 6c | 65 76 65 6c 5f 77 69 64 |fine upl|evel_wid|
|000044c0| 74 68 20 31 36 0a 23 64 | 65 66 69 6e 65 20 75 70 |th 16.#d|efine up|
|000044d0| 6c 65 76 65 6c 5f 68 65 | 69 67 68 74 20 31 36 0a |level_he|ight 16.|
|000044e0| 73 74 61 74 69 63 20 63 | 68 61 72 20 75 70 6c 65 |static c|har uple|
|000044f0| 76 65 6c 5f 62 69 74 73 | 5b 5d 20 3d 20 7b 0a 20 |vel_bits|[] = {. |
|00004500| 20 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 | 0x00, |0x00, 0x|
|00004510| 65 30 2c 20 30 78 33 66 | 2c 20 30 78 64 30 2c 20 |e0, 0x3f|, 0xd0, |
|00004520| 30 78 33 66 2c 20 30 78 | 63 38 2c 20 30 78 33 66 |0x3f, 0x|c8, 0x3f|
|00004530| 2c 20 30 78 63 38 2c 20 | 30 78 33 66 2c 20 30 78 |, 0xc8, |0x3f, 0x|
|00004540| 63 38 2c 20 30 78 33 66 | 2c 0a 20 20 20 30 78 63 |c8, 0x3f|,. 0xc|
|00004550| 38 2c 20 30 78 33 66 2c | 20 30 78 63 38 2c 20 30 |8, 0x3f,| 0xc8, 0|
|00004560| 78 33 66 2c 20 30 78 64 | 63 2c 20 30 78 33 66 2c |x3f, 0xd|c, 0x3f,|
|00004570| 20 30 78 64 63 2c 20 30 | 78 33 66 2c 20 30 78 63 | 0xdc, 0|x3f, 0xc|
|00004580| 38 2c 20 30 78 33 66 2c | 20 30 78 63 38 2c 20 30 |8, 0x3f,| 0xc8, 0|
|00004590| 78 33 66 2c 0a 20 20 20 | 30 78 63 38 2c 20 30 78 |x3f,. |0xc8, 0x|
|000045a0| 33 66 2c 20 30 78 32 38 | 2c 20 30 78 30 30 2c 20 |3f, 0x28|, 0x00, |
|000045b0| 30 78 31 38 2c 20 30 78 | 30 30 2c 20 30 78 30 38 |0x18, 0x|00, 0x08|
|000045c0| 2c 20 30 78 30 30 7d 3b | 0a 53 48 41 52 5f 45 4f |, 0x00};|.SHAR_EO|
|000045d0| 46 0a 69 66 20 74 65 73 | 74 20 32 38 34 20 2d 6e |F.if tes|t 284 -n|
|000045e0| 65 20 22 60 77 63 20 2d | 63 20 3c 20 27 75 70 6c |e "`wc -|c < 'upl|
|000045f0| 65 76 65 6c 2e 62 69 74 | 73 27 60 22 0a 74 68 65 |evel.bit|s'`".the|
|00004600| 6e 0a 09 65 63 68 6f 20 | 73 68 61 72 3a 20 65 72 |n..echo |shar: er|
|00004610| 72 6f 72 20 74 72 61 6e | 73 6d 69 74 74 69 6e 67 |ror tran|smitting|
|00004620| 20 22 27 75 70 6c 65 76 | 65 6c 2e 62 69 74 73 27 | "'uplev|el.bits'|
|00004630| 22 20 27 28 73 68 6f 75 | 6c 64 20 68 61 76 65 20 |" '(shou|ld have |
|00004640| 62 65 65 6e 20 32 38 34 | 20 63 68 61 72 61 63 74 |been 284| charact|
|00004650| 65 72 73 29 27 0a 66 69 | 0a 66 69 20 23 20 65 6e |ers)'.fi|.fi # en|
|00004660| 64 20 6f 66 20 6f 76 65 | 72 77 72 69 74 69 6e 67 |d of ove|rwriting|
|00004670| 20 63 68 65 63 6b 0a 69 | 66 20 74 65 73 74 20 2d | check.i|f test -|
|00004680| 66 20 27 77 61 6c 6c 2e | 62 69 74 73 27 0a 74 68 |f 'wall.|bits'.th|
|00004690| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 77 |en..echo| shar: w|
|000046a0| 69 6c 6c 20 6e 6f 74 20 | 6f 76 65 72 2d 77 72 69 |ill not |over-wri|
|000046b0| 74 65 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |te exist|ing file|
|000046c0| 20 22 27 77 61 6c 6c 2e | 62 69 74 73 27 22 0a 65 | "'wall.|bits'".e|
|000046d0| 6c 73 65 0a 63 61 74 20 | 3c 3c 20 5c 53 48 41 52 |lse.cat |<< \SHAR|
|000046e0| 5f 45 4f 46 20 3e 20 27 | 77 61 6c 6c 2e 62 69 74 |_EOF > '|wall.bit|
|000046f0| 73 27 0a 23 64 65 66 69 | 6e 65 20 77 61 6c 6c 5f |s'.#defi|ne wall_|
|00004700| 77 69 64 74 68 20 31 36 | 0a 23 64 65 66 69 6e 65 |width 16|.#define|
|00004710| 20 77 61 6c 6c 5f 68 65 | 69 67 68 74 20 31 36 0a | wall_he|ight 16.|
|00004720| 73 74 61 74 69 63 20 63 | 68 61 72 20 77 61 6c 6c |static c|har wall|
|00004730| 5f 62 69 74 73 5b 5d 20 | 3d 20 7b 0a 20 20 20 30 |_bits[] |= {. 0|
|00004740| 78 66 66 2c 20 30 78 66 | 66 2c 20 30 78 35 64 2c |xff, 0xf|f, 0x5d,|
|00004750| 20 30 78 35 35 2c 20 30 | 78 62 61 2c 20 30 78 61 | 0x55, 0|xba, 0xa|
|00004760| 61 2c 20 30 78 35 64 2c | 20 30 78 35 35 2c 20 30 |a, 0x5d,| 0x55, 0|
|00004770| 78 62 61 2c 20 30 78 61 | 61 2c 20 30 78 35 64 2c |xba, 0xa|a, 0x5d,|
|00004780| 20 30 78 35 35 2c 0a 20 | 20 20 30 78 62 61 2c 20 | 0x55,. | 0xba, |
|00004790| 30 78 61 61 2c 20 30 78 | 66 66 2c 20 30 78 66 66 |0xaa, 0x|ff, 0xff|
|000047a0| 2c 20 30 78 66 66 2c 20 | 30 78 66 66 2c 20 30 78 |, 0xff, |0xff, 0x|
|000047b0| 35 35 2c 20 30 78 35 64 | 2c 20 30 78 61 61 2c 20 |55, 0x5d|, 0xaa, |
|000047c0| 30 78 62 61 2c 20 30 78 | 35 35 2c 20 30 78 35 64 |0xba, 0x|55, 0x5d|
|000047d0| 2c 0a 20 20 20 30 78 61 | 61 2c 20 30 78 62 61 2c |,. 0xa|a, 0xba,|
|000047e0| 20 30 78 35 35 2c 20 30 | 78 35 64 2c 20 30 78 61 | 0x55, 0|x5d, 0xa|
|000047f0| 61 2c 20 30 78 62 61 2c | 20 30 78 66 66 2c 20 30 |a, 0xba,| 0xff, 0|
|00004800| 78 66 66 7d 3b 0a 53 48 | 41 52 5f 45 4f 46 0a 69 |xff};.SH|AR_EOF.i|
|00004810| 66 20 74 65 73 74 20 32 | 37 35 20 2d 6e 65 20 22 |f test 2|75 -ne "|
|00004820| 60 77 63 20 2d 63 20 3c | 20 27 77 61 6c 6c 2e 62 |`wc -c <| 'wall.b|
|00004830| 69 74 73 27 60 22 0a 74 | 68 65 6e 0a 09 65 63 68 |its'`".t|hen..ech|
|00004840| 6f 20 73 68 61 72 3a 20 | 65 72 72 6f 72 20 74 72 |o shar: |error tr|
|00004850| 61 6e 73 6d 69 74 74 69 | 6e 67 20 22 27 77 61 6c |ansmitti|ng "'wal|
|00004860| 6c 2e 62 69 74 73 27 22 | 20 27 28 73 68 6f 75 6c |l.bits'"| '(shoul|
|00004870| 64 20 68 61 76 65 20 62 | 65 65 6e 20 32 37 35 20 |d have b|een 275 |
|00004880| 63 68 61 72 61 63 74 65 | 72 73 29 27 0a 66 69 0a |characte|rs)'.fi.|
|00004890| 66 69 20 23 20 65 6e 64 | 20 6f 66 20 6f 76 65 72 |fi # end| of over|
|000048a0| 77 72 69 74 69 6e 67 20 | 63 68 65 63 6b 0a 69 66 |writing |check.if|
|000048b0| 20 74 65 73 74 20 2d 66 | 20 27 69 6e 76 69 73 2e | test -f| 'invis.|
|000048c0| 62 69 74 73 27 0a 74 68 | 65 6e 0a 09 65 63 68 6f |bits'.th|en..echo|
|000048d0| 20 73 68 61 72 3a 20 77 | 69 6c 6c 20 6e 6f 74 20 | shar: w|ill not |
|000048e0| 6f 76 65 72 2d 77 72 69 | 74 65 20 65 78 69 73 74 |over-wri|te exist|
|000048f0| 69 6e 67 20 66 69 6c 65 | 20 22 27 69 6e 76 69 73 |ing file| "'invis|
|00004900| 2e 62 69 74 73 27 22 0a | 65 6c 73 65 0a 63 61 74 |.bits'".|else.cat|
|00004910| 20 3c 3c 20 5c 53 48 41 | 52 5f 45 4f 46 20 3e 20 | << \SHA|R_EOF > |
|00004920| 27 69 6e 76 69 73 2e 62 | 69 74 73 27 0a 23 64 65 |'invis.b|its'.#de|
|00004930| 66 69 6e 65 20 69 6e 76 | 69 73 5f 77 69 64 74 68 |fine inv|is_width|
|00004940| 20 31 36 0a 23 64 65 66 | 69 6e 65 20 69 6e 76 69 | 16.#def|ine invi|
|00004950| 73 5f 68 65 69 67 68 74 | 20 31 36 0a 23 64 65 66 |s_height| 16.#def|
|00004960| 69 6e 65 20 69 6e 76 69 | 73 5f 78 5f 68 6f 74 20 |ine invi|s_x_hot |
|00004970| 2d 31 0a 23 64 65 66 69 | 6e 65 20 69 6e 76 69 73 |-1.#defi|ne invis|
|00004980| 5f 79 5f 68 6f 74 20 2d | 31 0a 73 74 61 74 69 63 |_y_hot -|1.static|
|00004990| 20 63 68 61 72 20 69 6e | 76 69 73 5f 62 69 74 73 | char in|vis_bits|
|000049a0| 5b 5d 20 3d 20 7b 0a 20 | 20 20 30 78 30 61 2c 20 |[] = {. | 0x0a, |
|000049b0| 30 78 35 30 2c 20 30 78 | 36 66 2c 20 30 78 66 36 |0x50, 0x|6f, 0xf6|
|000049c0| 2c 20 30 78 36 65 2c 20 | 30 78 37 36 2c 20 30 78 |, 0x6e, |0x76, 0x|
|000049d0| 30 37 2c 20 30 78 65 30 | 2c 20 30 78 30 30 2c 20 |07, 0xe0|, 0x00, |
|000049e0| 30 78 30 30 2c 20 30 78 | 30 36 2c 20 30 78 36 30 |0x00, 0x|06, 0x60|
|000049f0| 2c 0a 20 20 20 30 78 30 | 36 2c 20 30 78 36 30 2c |,. 0x0|6, 0x60,|
|00004a00| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x00, 0|x00, 0x0|
|00004a10| 30 2c 20 30 78 30 30 2c | 20 30 78 30 36 2c 20 30 |0, 0x00,| 0x06, 0|
|00004a20| 78 36 30 2c 20 30 78 30 | 36 2c 20 30 78 36 30 2c |x60, 0x0|6, 0x60,|
|00004a30| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 0a 20 20 20 | 0x00, 0|x00,. |
|00004a40| 30 78 30 37 2c 20 30 78 | 36 30 2c 20 30 78 36 65 |0x07, 0x|60, 0x6e|
|00004a50| 2c 20 30 78 66 36 2c 20 | 30 78 36 66 2c 20 30 78 |, 0xf6, |0x6f, 0x|
|00004a60| 37 36 2c 20 30 78 30 61 | 2c 20 30 78 64 30 7d 3b |76, 0x0a|, 0xd0};|
|00004a70| 0a 53 48 41 52 5f 45 4f | 46 0a 69 66 20 74 65 73 |.SHAR_EO|F.if tes|
|00004a80| 74 20 33 32 34 20 2d 6e | 65 20 22 60 77 63 20 2d |t 324 -n|e "`wc -|
|00004a90| 63 20 3c 20 27 69 6e 76 | 69 73 2e 62 69 74 73 27 |c < 'inv|is.bits'|
|00004aa0| 60 22 0a 74 68 65 6e 0a | 09 65 63 68 6f 20 73 68 |`".then.|.echo sh|
|00004ab0| 61 72 3a 20 65 72 72 6f | 72 20 74 72 61 6e 73 6d |ar: erro|r transm|
|00004ac0| 69 74 74 69 6e 67 20 22 | 27 69 6e 76 69 73 2e 62 |itting "|'invis.b|
|00004ad0| 69 74 73 27 22 20 27 28 | 73 68 6f 75 6c 64 20 68 |its'" '(|should h|
|00004ae0| 61 76 65 20 62 65 65 6e | 20 33 32 34 20 63 68 61 |ave been| 324 cha|
|00004af0| 72 61 63 74 65 72 73 29 | 27 0a 66 69 0a 66 69 20 |racters)|'.fi.fi |
|00004b00| 23 20 65 6e 64 20 6f 66 | 20 6f 76 65 72 77 72 69 |# end of| overwri|
|00004b10| 74 69 6e 67 20 63 68 65 | 63 6b 0a 69 66 20 74 65 |ting che|ck.if te|
|00004b20| 73 74 20 2d 66 20 27 73 | 74 65 70 6c 61 64 2e 62 |st -f 's|teplad.b|
|00004b30| 69 74 73 27 0a 74 68 65 | 6e 0a 09 65 63 68 6f 20 |its'.the|n..echo |
|00004b40| 73 68 61 72 3a 20 77 69 | 6c 6c 20 6e 6f 74 20 6f |shar: wi|ll not o|
|00004b50| 76 65 72 2d 77 72 69 74 | 65 20 65 78 69 73 74 69 |ver-writ|e existi|
|00004b60| 6e 67 20 66 69 6c 65 20 | 22 27 73 74 65 70 6c 61 |ng file |"'stepla|
|00004b70| 64 2e 62 69 74 73 27 22 | 0a 65 6c 73 65 0a 63 61 |d.bits'"|.else.ca|
|00004b80| 74 20 3c 3c 20 5c 53 48 | 41 52 5f 45 4f 46 20 3e |t << \SH|AR_EOF >|
|00004b90| 20 27 73 74 65 70 6c 61 | 64 2e 62 69 74 73 27 0a | 'stepla|d.bits'.|
|00004ba0| 23 64 65 66 69 6e 65 20 | 73 74 65 70 6c 61 64 5f |#define |steplad_|
|00004bb0| 77 69 64 74 68 20 31 36 | 0a 23 64 65 66 69 6e 65 |width 16|.#define|
|00004bc0| 20 73 74 65 70 6c 61 64 | 5f 68 65 69 67 68 74 20 | steplad|_height |
|00004bd0| 31 36 0a 73 74 61 74 69 | 63 20 63 68 61 72 20 73 |16.stati|c char s|
|00004be0| 74 65 70 6c 61 64 5f 62 | 69 74 73 5b 5d 20 3d 20 |teplad_b|its[] = |
|00004bf0| 7b 0a 20 20 20 30 78 30 | 30 2c 20 30 78 30 30 2c |{. 0x0|0, 0x00,|
|00004c00| 20 30 78 66 63 2c 20 30 | 78 33 66 2c 20 30 78 66 | 0xfc, 0|x3f, 0xf|
|00004c10| 63 2c 20 30 78 33 66 2c | 20 30 78 61 38 2c 20 30 |c, 0x3f,| 0xa8, 0|
|00004c20| 78 31 39 2c 20 30 78 62 | 38 2c 20 30 78 31 39 2c |x19, 0xb|8, 0x19,|
|00004c30| 20 30 78 32 38 2c 20 30 | 78 33 66 2c 0a 20 20 20 | 0x28, 0|x3f,. |
|00004c40| 30 78 31 63 2c 20 30 78 | 33 33 2c 20 30 78 31 34 |0x1c, 0x|33, 0x14|
|00004c50| 2c 20 30 78 33 33 2c 20 | 30 78 31 63 2c 20 30 78 |, 0x33, |0x1c, 0x|
|00004c60| 33 33 2c 20 30 78 66 34 | 2c 20 30 78 37 66 2c 20 |33, 0xf4|, 0x7f, |
|00004c70| 30 78 31 63 2c 20 30 78 | 36 36 2c 20 30 78 31 34 |0x1c, 0x|66, 0x14|
|00004c80| 2c 20 30 78 36 36 2c 0a | 20 20 20 30 78 30 65 2c |, 0x66,.| 0x0e,|
|00004c90| 20 30 78 36 36 2c 20 30 | 78 30 61 2c 20 30 78 66 | 0x66, 0|x0a, 0xf|
|00004ca0| 63 2c 20 30 78 30 65 2c | 20 30 78 63 63 2c 20 30 |c, 0x0e,| 0xcc, 0|
|00004cb0| 78 30 61 2c 20 30 78 63 | 63 7d 3b 0a 53 48 41 52 |x0a, 0xc|c};.SHAR|
|00004cc0| 5f 45 4f 46 0a 69 66 20 | 74 65 73 74 20 32 38 34 |_EOF.if |test 284|
|00004cd0| 20 2d 6e 65 20 22 60 77 | 63 20 2d 63 20 3c 20 27 | -ne "`w|c -c < '|
|00004ce0| 73 74 65 70 6c 61 64 2e | 62 69 74 73 27 60 22 0a |steplad.|bits'`".|
|00004cf0| 74 68 65 6e 0a 09 65 63 | 68 6f 20 73 68 61 72 3a |then..ec|ho shar:|
|00004d00| 20 65 72 72 6f 72 20 74 | 72 61 6e 73 6d 69 74 74 | error t|ransmitt|
|00004d10| 69 6e 67 20 22 27 73 74 | 65 70 6c 61 64 2e 62 69 |ing "'st|eplad.bi|
|00004d20| 74 73 27 22 20 27 28 73 | 68 6f 75 6c 64 20 68 61 |ts'" '(s|hould ha|
|00004d30| 76 65 20 62 65 65 6e 20 | 32 38 34 20 63 68 61 72 |ve been |284 char|
|00004d40| 61 63 74 65 72 73 29 27 | 0a 66 69 0a 66 69 20 23 |acters)'|.fi.fi #|
|00004d50| 20 65 6e 64 20 6f 66 20 | 6f 76 65 72 77 72 69 74 | end of |overwrit|
|00004d60| 69 6e 67 20 63 68 65 63 | 6b 0a 69 66 20 74 65 73 |ing chec|k.if tes|
|00004d70| 74 20 2d 66 20 27 63 68 | 75 74 65 2e 62 69 74 73 |t -f 'ch|ute.bits|
|00004d80| 27 0a 74 68 65 6e 0a 09 | 65 63 68 6f 20 73 68 61 |'.then..|echo sha|
|00004d90| 72 3a 20 77 69 6c 6c 20 | 6e 6f 74 20 6f 76 65 72 |r: will |not over|
|00004da0| 2d 77 72 69 74 65 20 65 | 78 69 73 74 69 6e 67 20 |-write e|xisting |
|00004db0| 66 69 6c 65 20 22 27 63 | 68 75 74 65 2e 62 69 74 |file "'c|hute.bit|
|00004dc0| 73 27 22 0a 65 6c 73 65 | 0a 63 61 74 20 3c 3c 20 |s'".else|.cat << |
|00004dd0| 5c 53 48 41 52 5f 45 4f | 46 20 3e 20 27 63 68 75 |\SHAR_EO|F > 'chu|
|00004de0| 74 65 2e 62 69 74 73 27 | 0a 23 64 65 66 69 6e 65 |te.bits'|.#define|
|00004df0| 20 63 68 75 74 65 5f 77 | 69 64 74 68 20 31 36 0a | chute_w|idth 16.|
|00004e00| 23 64 65 66 69 6e 65 20 | 63 68 75 74 65 5f 68 65 |#define |chute_he|
|00004e10| 69 67 68 74 20 31 36 0a | 73 74 61 74 69 63 20 63 |ight 16.|static c|
|00004e20| 68 61 72 20 63 68 75 74 | 65 5f 62 69 74 73 5b 5d |har chut|e_bits[]|
|00004e30| 20 3d 20 7b 0a 20 20 20 | 30 78 30 36 2c 20 30 78 | = {. |0x06, 0x|
|00004e40| 65 30 2c 20 30 78 30 37 | 2c 20 30 78 36 30 2c 20 |e0, 0x07|, 0x60, |
|00004e50| 30 78 30 36 2c 20 30 78 | 65 30 2c 20 30 78 30 37 |0x06, 0x|e0, 0x07|
|00004e60| 2c 20 30 78 36 30 2c 20 | 30 78 30 36 2c 20 30 78 |, 0x60, |0x06, 0x|
|00004e70| 65 30 2c 20 30 78 30 37 | 2c 20 30 78 36 30 2c 0a |e0, 0x07|, 0x60,.|
|00004e80| 20 20 20 30 78 30 36 2c | 20 30 78 65 30 2c 20 30 | 0x06,| 0xe0, 0|
|00004e90| 78 30 37 2c 20 30 78 36 | 30 2c 20 30 78 30 36 2c |x07, 0x6|0, 0x06,|
|00004ea0| 20 30 78 65 30 2c 20 30 | 78 30 37 2c 20 30 78 36 | 0xe0, 0|x07, 0x6|
|00004eb0| 30 2c 20 30 78 30 36 2c | 20 30 78 65 30 2c 20 30 |0, 0x06,| 0xe0, 0|
|00004ec0| 78 30 37 2c 20 30 78 36 | 30 2c 0a 20 20 20 30 78 |x07, 0x6|0,. 0x|
|00004ed0| 30 36 2c 20 30 78 65 30 | 2c 20 30 78 30 37 2c 20 |06, 0xe0|, 0x07, |
|00004ee0| 30 78 36 30 2c 20 30 78 | 30 36 2c 20 30 78 65 30 |0x60, 0x|06, 0xe0|
|00004ef0| 2c 20 30 78 30 37 2c 20 | 30 78 36 30 7d 3b 0a 53 |, 0x07, |0x60};.S|
|00004f00| 48 41 52 5f 45 4f 46 0a | 69 66 20 74 65 73 74 20 |HAR_EOF.|if test |
|00004f10| 32 37 38 20 2d 6e 65 20 | 22 60 77 63 20 2d 63 20 |278 -ne |"`wc -c |
|00004f20| 3c 20 27 63 68 75 74 65 | 2e 62 69 74 73 27 60 22 |< 'chute|.bits'`"|
|00004f30| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00004f40| 3a 20 65 72 72 6f 72 20 | 74 72 61 6e 73 6d 69 74 |: error |transmit|
|00004f50| 74 69 6e 67 20 22 27 63 | 68 75 74 65 2e 62 69 74 |ting "'c|hute.bit|
|00004f60| 73 27 22 20 27 28 73 68 | 6f 75 6c 64 20 68 61 76 |s'" '(sh|ould hav|
|00004f70| 65 20 62 65 65 6e 20 32 | 37 38 20 63 68 61 72 61 |e been 2|78 chara|
|00004f80| 63 74 65 72 73 29 27 0a | 66 69 0a 66 69 20 23 20 |cters)'.|fi.fi # |
|00004f90| 65 6e 64 20 6f 66 20 6f | 76 65 72 77 72 69 74 69 |end of o|verwriti|
|00004fa0| 6e 67 20 63 68 65 63 6b | 0a 69 66 20 74 65 73 74 |ng check|.if test|
|00004fb0| 20 2d 66 20 27 74 75 62 | 65 2e 62 69 74 73 27 0a | -f 'tub|e.bits'.|
|00004fc0| 74 68 65 6e 0a 09 65 63 | 68 6f 20 73 68 61 72 3a |then..ec|ho shar:|
|00004fd0| 20 77 69 6c 6c 20 6e 6f | 74 20 6f 76 65 72 2d 77 | will no|t over-w|
|00004fe0| 72 69 74 65 20 65 78 69 | 73 74 69 6e 67 20 66 69 |rite exi|sting fi|
|00004ff0| 6c 65 20 22 27 74 75 62 | 65 2e 62 69 74 73 27 22 |le "'tub|e.bits'"|
|00005000| 0a 65 6c 73 65 0a 63 61 | 74 20 3c 3c 20 5c 53 48 |.else.ca|t << \SH|
|00005010| 41 52 5f 45 4f 46 20 3e | 20 27 74 75 62 65 2e 62 |AR_EOF >| 'tube.b|
|00005020| 69 74 73 27 0a 23 64 65 | 66 69 6e 65 20 74 75 62 |its'.#de|fine tub|
|00005030| 65 5f 77 69 64 74 68 20 | 31 36 0a 23 64 65 66 69 |e_width |16.#defi|
|00005040| 6e 65 20 74 75 62 65 5f | 68 65 69 67 68 74 20 31 |ne tube_|height 1|
|00005050| 36 0a 73 74 61 74 69 63 | 20 63 68 61 72 20 74 75 |6.static| char tu|
|00005060| 62 65 5f 62 69 74 73 5b | 5d 20 3d 20 7b 0a 20 20 |be_bits[|] = {. |
|00005070| 20 30 78 61 61 2c 20 30 | 78 61 61 2c 20 30 78 66 | 0xaa, 0|xaa, 0xf|
|00005080| 66 2c 20 30 78 66 66 2c | 20 30 78 66 66 2c 20 30 |f, 0xff,| 0xff, 0|
|00005090| 78 66 66 2c 20 30 78 30 | 30 2c 20 30 78 30 30 2c |xff, 0x0|0, 0x00,|
|000050a0| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x00, 0|x00, 0x0|
|000050b0| 30 2c 20 30 78 30 30 2c | 0a 20 20 20 30 78 30 30 |0, 0x00,|. 0x00|
|000050c0| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x00, |0x00, 0x|
|000050d0| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |00, 0x00|, 0x00, |
|000050e0| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 30 |0x00, 0x|00, 0x00|
|000050f0| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x00, |0x00, 0x|
|00005100| 30 30 2c 0a 20 20 20 30 | 78 30 30 2c 20 30 78 30 |00,. 0|x00, 0x0|
|00005110| 30 2c 20 30 78 66 66 2c | 20 30 78 66 66 2c 20 30 |0, 0xff,| 0xff, 0|
|00005120| 78 66 66 2c 20 30 78 66 | 66 2c 20 30 78 35 35 2c |xff, 0xf|f, 0x55,|
|00005130| 20 30 78 35 35 7d 3b 0a | 53 48 41 52 5f 45 4f 46 | 0x55};.|SHAR_EOF|
|00005140| 0a 69 66 20 74 65 73 74 | 20 32 37 35 20 2d 6e 65 |.if test| 275 -ne|
|00005150| 20 22 60 77 63 20 2d 63 | 20 3c 20 27 74 75 62 65 | "`wc -c| < 'tube|
|00005160| 2e 62 69 74 73 27 60 22 | 0a 74 68 65 6e 0a 09 65 |.bits'`"|.then..e|
|00005170| 63 68 6f 20 73 68 61 72 | 3a 20 65 72 72 6f 72 20 |cho shar|: error |
|00005180| 74 72 61 6e 73 6d 69 74 | 74 69 6e 67 20 22 27 74 |transmit|ting "'t|
|00005190| 75 62 65 2e 62 69 74 73 | 27 22 20 27 28 73 68 6f |ube.bits|'" '(sho|
|000051a0| 75 6c 64 20 68 61 76 65 | 20 62 65 65 6e 20 32 37 |uld have| been 27|
|000051b0| 35 20 63 68 61 72 61 63 | 74 65 72 73 29 27 0a 66 |5 charac|ters)'.f|
|000051c0| 69 0a 66 69 20 23 20 65 | 6e 64 20 6f 66 20 6f 76 |i.fi # e|nd of ov|
|000051d0| 65 72 77 72 69 74 69 6e | 67 20 63 68 65 63 6b 0a |erwritin|g check.|
|000051e0| 69 66 20 74 65 73 74 20 | 2d 66 20 27 76 72 6f 70 |if test |-f 'vrop|
|000051f0| 65 2e 62 69 74 73 27 0a | 74 68 65 6e 0a 09 65 63 |e.bits'.|then..ec|
|00005200| 68 6f 20 73 68 61 72 3a | 20 77 69 6c 6c 20 6e 6f |ho shar:| will no|
|00005210| 74 20 6f 76 65 72 2d 77 | 72 69 74 65 20 65 78 69 |t over-w|rite exi|
|00005220| 73 74 69 6e 67 20 66 69 | 6c 65 20 22 27 76 72 6f |sting fi|le "'vro|
|00005230| 70 65 2e 62 69 74 73 27 | 22 0a 65 6c 73 65 0a 63 |pe.bits'|".else.c|
|00005240| 61 74 20 3c 3c 20 5c 53 | 48 41 52 5f 45 4f 46 20 |at << \S|HAR_EOF |
|00005250| 3e 20 27 76 72 6f 70 65 | 2e 62 69 74 73 27 0a 23 |> 'vrope|.bits'.#|
|00005260| 64 65 66 69 6e 65 20 76 | 72 6f 70 65 5f 77 69 64 |define v|rope_wid|
|00005270| 74 68 20 31 36 0a 23 64 | 65 66 69 6e 65 20 76 72 |th 16.#d|efine vr|
|00005280| 6f 70 65 5f 68 65 69 67 | 68 74 20 31 36 0a 73 74 |ope_heig|ht 16.st|
|00005290| 61 74 69 63 20 63 68 61 | 72 20 76 72 6f 70 65 5f |atic cha|r vrope_|
|000052a0| 62 69 74 73 5b 5d 20 3d | 20 7b 0a 20 20 20 30 78 |bits[] =| {. 0x|
|000052b0| 34 30 2c 20 30 78 30 31 | 2c 20 30 78 38 30 2c 20 |40, 0x01|, 0x80, |
|000052c0| 30 78 30 32 2c 20 30 78 | 38 30 2c 20 30 78 30 33 |0x02, 0x|80, 0x03|
|000052d0| 2c 20 30 78 63 30 2c 20 | 30 78 30 31 2c 20 30 78 |, 0xc0, |0x01, 0x|
|000052e0| 34 30 2c 20 30 78 30 31 | 2c 20 30 78 38 30 2c 20 |40, 0x01|, 0x80, |
|000052f0| 30 78 30 32 2c 0a 20 20 | 20 30 78 38 30 2c 20 30 |0x02,. | 0x80, 0|
|00005300| 78 30 33 2c 20 30 78 63 | 30 2c 20 30 78 30 31 2c |x03, 0xc|0, 0x01,|
|00005310| 20 30 78 34 30 2c 20 30 | 78 30 31 2c 20 30 78 38 | 0x40, 0|x01, 0x8|
|00005320| 30 2c 20 30 78 30 32 2c | 20 30 78 38 30 2c 20 30 |0, 0x02,| 0x80, 0|
|00005330| 78 30 33 2c 20 30 78 63 | 30 2c 20 30 78 30 31 2c |x03, 0xc|0, 0x01,|
|00005340| 0a 20 20 20 30 78 34 30 | 2c 20 30 78 30 31 2c 20 |. 0x40|, 0x01, |
|00005350| 30 78 38 30 2c 20 30 78 | 30 32 2c 20 30 78 38 30 |0x80, 0x|02, 0x80|
|00005360| 2c 20 30 78 30 33 2c 20 | 30 78 63 30 2c 20 30 78 |, 0x03, |0xc0, 0x|
|00005370| 30 31 7d 3b 0a 53 48 41 | 52 5f 45 4f 46 0a 69 66 |01};.SHA|R_EOF.if|
|00005380| 20 74 65 73 74 20 32 37 | 38 20 2d 6e 65 20 22 60 | test 27|8 -ne "`|
|00005390| 77 63 20 2d 63 20 3c 20 | 27 76 72 6f 70 65 2e 62 |wc -c < |'vrope.b|
|000053a0| 69 74 73 27 60 22 0a 74 | 68 65 6e 0a 09 65 63 68 |its'`".t|hen..ech|
|000053b0| 6f 20 73 68 61 72 3a 20 | 65 72 72 6f 72 20 74 72 |o shar: |error tr|
|000053c0| 61 6e 73 6d 69 74 74 69 | 6e 67 20 22 27 76 72 6f |ansmitti|ng "'vro|
|000053d0| 70 65 2e 62 69 74 73 27 | 22 20 27 28 73 68 6f 75 |pe.bits'|" '(shou|
|000053e0| 6c 64 20 68 61 76 65 20 | 62 65 65 6e 20 32 37 38 |ld have |been 278|
|000053f0| 20 63 68 61 72 61 63 74 | 65 72 73 29 27 0a 66 69 | charact|ers)'.fi|
|00005400| 0a 66 69 20 23 20 65 6e | 64 20 6f 66 20 6f 76 65 |.fi # en|d of ove|
|00005410| 72 77 72 69 74 69 6e 67 | 20 63 68 65 63 6b 0a 69 |rwriting| check.i|
|00005420| 66 20 74 65 73 74 20 2d | 66 20 27 74 65 6c 65 70 |f test -|f 'telep|
|00005430| 6f 72 74 2e 62 69 74 73 | 27 0a 74 68 65 6e 0a 09 |ort.bits|'.then..|
|00005440| 65 63 68 6f 20 73 68 61 | 72 3a 20 77 69 6c 6c 20 |echo sha|r: will |
|00005450| 6e 6f 74 20 6f 76 65 72 | 2d 77 72 69 74 65 20 65 |not over|-write e|
|00005460| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 22 27 74 |xisting |file "'t|
|00005470| 65 6c 65 70 6f 72 74 2e | 62 69 74 73 27 22 0a 65 |eleport.|bits'".e|
|00005480| 6c 73 65 0a 63 61 74 20 | 3c 3c 20 5c 53 48 41 52 |lse.cat |<< \SHAR|
|00005490| 5f 45 4f 46 20 3e 20 27 | 74 65 6c 65 70 6f 72 74 |_EOF > '|teleport|
|000054a0| 2e 62 69 74 73 27 0a 23 | 64 65 66 69 6e 65 20 74 |.bits'.#|define t|
|000054b0| 65 6c 65 70 6f 72 74 5f | 77 69 64 74 68 20 31 36 |eleport_|width 16|
|000054c0| 0a 23 64 65 66 69 6e 65 | 20 74 65 6c 65 70 6f 72 |.#define| telepor|
|000054d0| 74 5f 68 65 69 67 68 74 | 20 31 36 0a 73 74 61 74 |t_height| 16.stat|
|000054e0| 69 63 20 63 68 61 72 20 | 74 65 6c 65 70 6f 72 74 |ic char |teleport|
|000054f0| 5f 62 69 74 73 5b 5d 20 | 3d 20 7b 0a 20 20 20 30 |_bits[] |= {. 0|
|00005500| 78 30 30 2c 20 30 78 30 | 30 2c 20 30 78 37 63 2c |x00, 0x0|0, 0x7c,|
|00005510| 20 30 78 33 65 2c 20 30 | 78 37 61 2c 20 30 78 35 | 0x3e, 0|x7a, 0x5|
|00005520| 65 2c 20 30 78 38 65 2c | 20 30 78 37 31 2c 20 30 |e, 0x8e,| 0x71, 0|
|00005530| 78 39 36 2c 20 30 78 36 | 39 2c 20 30 78 34 36 2c |x96, 0x6|9, 0x46,|
|00005540| 20 30 78 36 32 2c 0a 20 | 20 20 30 78 32 36 2c 20 | 0x62,. | 0x26, |
|00005550| 30 78 36 34 2c 20 30 78 | 39 39 2c 20 30 78 39 39 |0x64, 0x|99, 0x99|
|00005560| 2c 20 30 78 39 39 2c 20 | 30 78 39 39 2c 20 30 78 |, 0x99, |0x99, 0x|
|00005570| 32 36 2c 20 30 78 36 34 | 2c 20 30 78 34 36 2c 20 |26, 0x64|, 0x46, |
|00005580| 30 78 36 32 2c 20 30 78 | 39 36 2c 20 30 78 36 39 |0x62, 0x|96, 0x69|
|00005590| 2c 0a 20 20 20 30 78 38 | 65 2c 20 30 78 37 31 2c |,. 0x8|e, 0x71,|
|000055a0| 20 30 78 37 61 2c 20 30 | 78 35 65 2c 20 30 78 37 | 0x7a, 0|x5e, 0x7|
|000055b0| 63 2c 20 30 78 33 65 2c | 20 30 78 38 30 2c 20 30 |c, 0x3e,| 0x80, 0|
|000055c0| 78 30 31 7d 3b 0a 53 48 | 41 52 5f 45 4f 46 0a 69 |x01};.SH|AR_EOF.i|
|000055d0| 66 20 74 65 73 74 20 32 | 38 37 20 2d 6e 65 20 22 |f test 2|87 -ne "|
|000055e0| 60 77 63 20 2d 63 20 3c | 20 27 74 65 6c 65 70 6f |`wc -c <| 'telepo|
|000055f0| 72 74 2e 62 69 74 73 27 | 60 22 0a 74 68 65 6e 0a |rt.bits'|`".then.|
|00005600| 09 65 63 68 6f 20 73 68 | 61 72 3a 20 65 72 72 6f |.echo sh|ar: erro|
|00005610| 72 20 74 72 61 6e 73 6d | 69 74 74 69 6e 67 20 22 |r transm|itting "|
|00005620| 27 74 65 6c 65 70 6f 72 | 74 2e 62 69 74 73 27 22 |'telepor|t.bits'"|
|00005630| 20 27 28 73 68 6f 75 6c | 64 20 68 61 76 65 20 62 | '(shoul|d have b|
|00005640| 65 65 6e 20 32 38 37 20 | 63 68 61 72 61 63 74 65 |een 287 |characte|
|00005650| 72 73 29 27 0a 66 69 0a | 66 69 20 23 20 65 6e 64 |rs)'.fi.|fi # end|
|00005660| 20 6f 66 20 6f 76 65 72 | 77 72 69 74 69 6e 67 20 | of over|writing |
|00005670| 63 68 65 63 6b 0a 69 66 | 20 74 65 73 74 20 2d 66 |check.if| test -f|
|00005680| 20 27 61 72 6d 6f 72 2e | 62 69 74 73 27 0a 74 68 | 'armor.|bits'.th|
|00005690| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 77 |en..echo| shar: w|
|000056a0| 69 6c 6c 20 6e 6f 74 20 | 6f 76 65 72 2d 77 72 69 |ill not |over-wri|
|000056b0| 74 65 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |te exist|ing file|
|000056c0| 20 22 27 61 72 6d 6f 72 | 2e 62 69 74 73 27 22 0a | "'armor|.bits'".|
|000056d0| 65 6c 73 65 0a 63 61 74 | 20 3c 3c 20 5c 53 48 41 |else.cat| << \SHA|
|000056e0| 52 5f 45 4f 46 20 3e 20 | 27 61 72 6d 6f 72 2e 62 |R_EOF > |'armor.b|
|000056f0| 69 74 73 27 0a 23 64 65 | 66 69 6e 65 20 61 72 6d |its'.#de|fine arm|
|00005700| 6f 72 5f 77 69 64 74 68 | 20 31 36 0a 23 64 65 66 |or_width| 16.#def|
|00005710| 69 6e 65 20 61 72 6d 6f | 72 5f 68 65 69 67 68 74 |ine armo|r_height|
|00005720| 20 31 36 0a 73 74 61 74 | 69 63 20 63 68 61 72 20 | 16.stat|ic char |
|00005730| 61 72 6d 6f 72 5f 62 69 | 74 73 5b 5d 20 3d 20 7b |armor_bi|ts[] = {|
|00005740| 0a 20 20 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |. 0x00|, 0x00, |
|00005750| 30 78 33 38 2c 20 30 78 | 31 63 2c 20 30 78 64 38 |0x38, 0x|1c, 0xd8|
|00005760| 2c 20 30 78 31 37 2c 20 | 30 78 61 38 2c 20 30 78 |, 0x17, |0xa8, 0x|
|00005770| 31 61 2c 20 30 78 35 38 | 2c 20 30 78 31 35 2c 20 |1a, 0x58|, 0x15, |
|00005780| 30 78 61 38 2c 20 30 78 | 31 61 2c 0a 20 20 20 30 |0xa8, 0x|1a,. 0|
|00005790| 78 35 38 2c 20 30 78 31 | 35 2c 20 30 78 61 38 2c |x58, 0x1|5, 0xa8,|
|000057a0| 20 30 78 31 61 2c 20 30 | 78 35 38 2c 20 30 78 31 | 0x1a, 0|x58, 0x1|
|000057b0| 35 2c 20 30 78 62 38 2c | 20 30 78 31 61 2c 20 30 |5, 0xb8,| 0x1a, 0|
|000057c0| 78 35 30 2c 20 30 78 30 | 64 2c 20 30 78 62 30 2c |x50, 0x0|d, 0xb0,|
|000057d0| 20 30 78 30 61 2c 0a 20 | 20 20 30 78 36 30 2c 20 | 0x0a,. | 0x60, |
|000057e0| 30 78 30 35 2c 20 30 78 | 63 30 2c 20 30 78 30 33 |0x05, 0x|c0, 0x03|
|000057f0| 2c 20 30 78 38 30 2c 20 | 30 78 30 31 2c 20 30 78 |, 0x80, |0x01, 0x|
|00005800| 30 30 2c 20 30 78 30 30 | 7d 3b 0a 53 48 41 52 5f |00, 0x00|};.SHAR_|
|00005810| 45 4f 46 0a 69 66 20 74 | 65 73 74 20 32 37 38 20 |EOF.if t|est 278 |
|00005820| 2d 6e 65 20 22 60 77 63 | 20 2d 63 20 3c 20 27 61 |-ne "`wc| -c < 'a|
|00005830| 72 6d 6f 72 2e 62 69 74 | 73 27 60 22 0a 74 68 65 |rmor.bit|s'`".the|
|00005840| 6e 0a 09 65 63 68 6f 20 | 73 68 61 72 3a 20 65 72 |n..echo |shar: er|
|00005850| 72 6f 72 20 74 72 61 6e | 73 6d 69 74 74 69 6e 67 |ror tran|smitting|
|00005860| 20 22 27 61 72 6d 6f 72 | 2e 62 69 74 73 27 22 20 | "'armor|.bits'" |
|00005870| 27 28 73 68 6f 75 6c 64 | 20 68 61 76 65 20 62 65 |'(should| have be|
|00005880| 65 6e 20 32 37 38 20 63 | 68 61 72 61 63 74 65 72 |en 278 c|haracter|
|00005890| 73 29 27 0a 66 69 0a 66 | 69 20 23 20 65 6e 64 20 |s)'.fi.f|i # end |
|000058a0| 6f 66 20 6f 76 65 72 77 | 72 69 74 69 6e 67 20 63 |of overw|riting c|
|000058b0| 68 65 63 6b 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |heck.if |test -f |
|000058c0| 27 70 61 72 61 63 2e 62 | 69 74 73 27 0a 74 68 65 |'parac.b|its'.the|
|000058d0| 6e 0a 09 65 63 68 6f 20 | 73 68 61 72 3a 20 77 69 |n..echo |shar: wi|
|000058e0| 6c 6c 20 6e 6f 74 20 6f | 76 65 72 2d 77 72 69 74 |ll not o|ver-writ|
|000058f0| 65 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |e existi|ng file |
|00005900| 22 27 70 61 72 61 63 2e | 62 69 74 73 27 22 0a 65 |"'parac.|bits'".e|
|00005910| 6c 73 65 0a 63 61 74 20 | 3c 3c 20 5c 53 48 41 52 |lse.cat |<< \SHAR|
|00005920| 5f 45 4f 46 20 3e 20 27 | 70 61 72 61 63 2e 62 69 |_EOF > '|parac.bi|
|00005930| 74 73 27 0a 23 64 65 66 | 69 6e 65 20 70 61 72 61 |ts'.#def|ine para|
|00005940| 63 5f 77 69 64 74 68 20 | 31 36 0a 23 64 65 66 69 |c_width |16.#defi|
|00005950| 6e 65 20 70 61 72 61 63 | 5f 68 65 69 67 68 74 20 |ne parac|_height |
|00005960| 31 36 0a 73 74 61 74 69 | 63 20 63 68 61 72 20 70 |16.stati|c char p|
|00005970| 61 72 61 63 5f 62 69 74 | 73 5b 5d 20 3d 20 7b 0a |arac_bit|s[] = {.|
|00005980| 20 20 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 | 0x00,| 0x00, 0|
|00005990| 78 65 30 2c 20 30 78 30 | 33 2c 20 30 78 31 38 2c |xe0, 0x0|3, 0x18,|
|000059a0| 20 30 78 30 63 2c 20 30 | 78 30 34 2c 20 30 78 31 | 0x0c, 0|x04, 0x1|
|000059b0| 30 2c 20 30 78 63 34 2c | 20 30 78 31 31 2c 20 30 |0, 0xc4,| 0x11, 0|
|000059c0| 78 61 32 2c 20 30 78 32 | 32 2c 0a 20 20 20 30 78 |xa2, 0x2|2,. 0x|
|000059d0| 39 32 2c 20 30 78 32 34 | 2c 20 30 78 62 32 2c 20 |92, 0x24|, 0xb2, |
|000059e0| 30 78 32 36 2c 20 30 78 | 61 63 2c 20 30 78 31 61 |0x26, 0x|ac, 0x1a|
|000059f0| 2c 20 30 78 63 38 2c 20 | 30 78 30 39 2c 20 30 78 |, 0xc8, |0x09, 0x|
|00005a00| 37 30 2c 20 30 78 30 37 | 2c 20 30 78 63 30 2c 20 |70, 0x07|, 0xc0, |
|00005a10| 30 78 30 31 2c 0a 20 20 | 20 30 78 63 30 2c 20 30 |0x01,. | 0xc0, 0|
|00005a20| 78 30 31 2c 20 30 78 63 | 30 2c 20 30 78 30 31 2c |x01, 0xc|0, 0x01,|
|00005a30| 20 30 78 61 30 2c 20 30 | 78 30 32 2c 20 30 78 34 | 0xa0, 0|x02, 0x4|
|00005a40| 30 2c 20 30 78 30 31 7d | 3b 0a 53 48 41 52 5f 45 |0, 0x01}|;.SHAR_E|
|00005a50| 4f 46 0a 69 66 20 74 65 | 73 74 20 32 37 38 20 2d |OF.if te|st 278 -|
|00005a60| 6e 65 20 22 60 77 63 20 | 2d 63 20 3c 20 27 70 61 |ne "`wc |-c < 'pa|
|00005a70| 72 61 63 2e 62 69 74 73 | 27 60 22 0a 74 68 65 6e |rac.bits|'`".then|
|00005a80| 0a 09 65 63 68 6f 20 73 | 68 61 72 3a 20 65 72 72 |..echo s|har: err|
|00005a90| 6f 72 20 74 72 61 6e 73 | 6d 69 74 74 69 6e 67 20 |or trans|mitting |
|00005aa0| 22 27 70 61 72 61 63 2e | 62 69 74 73 27 22 20 27 |"'parac.|bits'" '|
|00005ab0| 28 73 68 6f 75 6c 64 20 | 68 61 76 65 20 62 65 65 |(should |have bee|
|00005ac0| 6e 20 32 37 38 20 63 68 | 61 72 61 63 74 65 72 73 |n 278 ch|aracters|
|00005ad0| 29 27 0a 66 69 0a 66 69 | 20 23 20 65 6e 64 20 6f |)'.fi.fi| # end o|
|00005ae0| 66 20 6f 76 65 72 77 72 | 69 74 69 6e 67 20 63 68 |f overwr|iting ch|
|00005af0| 65 63 6b 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |eck.if t|est -f '|
|00005b00| 6e 73 68 6f 76 65 6c 2e | 62 69 74 73 27 0a 74 68 |nshovel.|bits'.th|
|00005b10| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 77 |en..echo| shar: w|
|00005b20| 69 6c 6c 20 6e 6f 74 20 | 6f 76 65 72 2d 77 72 69 |ill not |over-wri|
|00005b30| 74 65 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |te exist|ing file|
|00005b40| 20 22 27 6e 73 68 6f 76 | 65 6c 2e 62 69 74 73 27 | "'nshov|el.bits'|
|00005b50| 22 0a 65 6c 73 65 0a 63 | 61 74 20 3c 3c 20 5c 53 |".else.c|at << \S|
|00005b60| 48 41 52 5f 45 4f 46 20 | 3e 20 27 6e 73 68 6f 76 |HAR_EOF |> 'nshov|
|00005b70| 65 6c 2e 62 69 74 73 27 | 0a 23 64 65 66 69 6e 65 |el.bits'|.#define|
|00005b80| 20 6e 73 68 6f 76 65 6c | 5f 77 69 64 74 68 20 31 | nshovel|_width 1|
|00005b90| 36 0a 23 64 65 66 69 6e | 65 20 6e 73 68 6f 76 65 |6.#defin|e nshove|
|00005ba0| 6c 5f 68 65 69 67 68 74 | 20 31 36 0a 73 74 61 74 |l_height| 16.stat|
|00005bb0| 69 63 20 63 68 61 72 20 | 6e 73 68 6f 76 65 6c 5f |ic char |nshovel_|
|00005bc0| 62 69 74 73 5b 5d 20 3d | 20 7b 0a 20 20 20 30 78 |bits[] =| {. 0x|
|00005bd0| 30 32 2c 20 30 78 34 30 | 2c 20 30 78 30 34 2c 20 |02, 0x40|, 0x04, |
|00005be0| 30 78 32 30 2c 20 30 78 | 63 38 2c 20 30 78 31 33 |0x20, 0x|c8, 0x13|
|00005bf0| 2c 20 30 78 34 30 2c 20 | 30 78 30 32 2c 20 30 78 |, 0x40, |0x02, 0x|
|00005c00| 63 30 2c 20 30 78 30 33 | 2c 20 30 78 38 30 2c 20 |c0, 0x03|, 0x80, |
|00005c10| 30 78 30 31 2c 0a 20 20 | 20 30 78 38 30 2c 20 30 |0x01,. | 0x80, 0|
|00005c20| 78 30 31 2c 20 30 78 38 | 66 2c 20 30 78 66 31 2c |x01, 0x8|f, 0xf1,|
|00005c30| 20 30 78 38 30 2c 20 30 | 78 30 31 2c 20 30 78 38 | 0x80, 0|x01, 0x8|
|00005c40| 30 2c 20 30 78 30 31 2c | 20 30 78 65 30 2c 20 30 |0, 0x01,| 0xe0, 0|
|00005c50| 78 30 37 2c 20 30 78 32 | 30 2c 20 30 78 30 34 2c |x07, 0x2|0, 0x04,|
|00005c60| 0a 20 20 20 30 78 32 34 | 2c 20 30 78 32 34 2c 20 |. 0x24|, 0x24, |
|00005c70| 30 78 32 32 2c 20 30 78 | 34 34 2c 20 30 78 34 31 |0x22, 0x|44, 0x41|
|00005c80| 2c 20 30 78 38 32 2c 20 | 30 78 38 30 2c 20 30 78 |, 0x82, |0x80, 0x|
|00005c90| 30 31 7d 3b 0a 53 48 41 | 52 5f 45 4f 46 0a 69 66 |01};.SHA|R_EOF.if|
|00005ca0| 20 74 65 73 74 20 32 38 | 34 20 2d 6e 65 20 22 60 | test 28|4 -ne "`|
|00005cb0| 77 63 20 2d 63 20 3c 20 | 27 6e 73 68 6f 76 65 6c |wc -c < |'nshovel|
|00005cc0| 2e 62 69 74 73 27 60 22 | 0a 74 68 65 6e 0a 09 65 |.bits'`"|.then..e|
|00005cd0| 63 68 6f 20 73 68 61 72 | 3a 20 65 72 72 6f 72 20 |cho shar|: error |
|00005ce0| 74 72 61 6e 73 6d 69 74 | 74 69 6e 67 20 22 27 6e |transmit|ting "'n|
|00005cf0| 73 68 6f 76 65 6c 2e 62 | 69 74 73 27 22 20 27 28 |shovel.b|its'" '(|
|00005d00| 73 68 6f 75 6c 64 20 68 | 61 76 65 20 62 65 65 6e |should h|ave been|
|00005d10| 20 32 38 34 20 63 68 61 | 72 61 63 74 65 72 73 29 | 284 cha|racters)|
|00005d20| 27 0a 66 69 0a 66 69 20 | 23 20 65 6e 64 20 6f 66 |'.fi.fi |# end of|
|00005d30| 20 6f 76 65 72 77 72 69 | 74 69 6e 67 20 63 68 65 | overwri|ting che|
|00005d40| 63 6b 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 68 |ck.if te|st -f 'h|
|00005d50| 6f 75 72 67 6c 2e 62 69 | 74 73 27 0a 74 68 65 6e |ourgl.bi|ts'.then|
|00005d60| 0a 09 65 63 68 6f 20 73 | 68 61 72 3a 20 77 69 6c |..echo s|har: wil|
|00005d70| 6c 20 6e 6f 74 20 6f 76 | 65 72 2d 77 72 69 74 65 |l not ov|er-write|
|00005d80| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 22 | existin|g file "|
|00005d90| 27 68 6f 75 72 67 6c 2e | 62 69 74 73 27 22 0a 65 |'hourgl.|bits'".e|
|00005da0| 6c 73 65 0a 63 61 74 20 | 3c 3c 20 5c 53 48 41 52 |lse.cat |<< \SHAR|
|00005db0| 5f 45 4f 46 20 3e 20 27 | 68 6f 75 72 67 6c 2e 62 |_EOF > '|hourgl.b|
|00005dc0| 69 74 73 27 0a 23 64 65 | 66 69 6e 65 20 68 6f 75 |its'.#de|fine hou|
|00005dd0| 72 67 6c 5f 77 69 64 74 | 68 20 31 36 0a 23 64 65 |rgl_widt|h 16.#de|
|00005de0| 66 69 6e 65 20 68 6f 75 | 72 67 6c 5f 68 65 69 67 |fine hou|rgl_heig|
|00005df0| 68 74 20 31 36 0a 73 74 | 61 74 69 63 20 63 68 61 |ht 16.st|atic cha|
|00005e00| 72 20 68 6f 75 72 67 6c | 5f 62 69 74 73 5b 5d 20 |r hourgl|_bits[] |
|00005e10| 3d 20 7b 0a 20 20 20 30 | 78 30 30 2c 20 30 78 30 |= {. 0|x00, 0x0|
|00005e20| 30 2c 20 30 78 66 63 2c | 20 30 78 33 66 2c 20 30 |0, 0xfc,| 0x3f, 0|
|00005e30| 78 30 34 2c 20 30 78 32 | 30 2c 20 30 78 30 38 2c |x04, 0x2|0, 0x08,|
|00005e40| 20 30 78 31 30 2c 20 30 | 78 37 30 2c 20 30 78 30 | 0x10, 0|x70, 0x0|
|00005e50| 65 2c 20 30 78 65 30 2c | 20 30 78 30 37 2c 0a 20 |e, 0xe0,| 0x07,. |
|00005e60| 20 20 30 78 63 30 2c 20 | 30 78 30 33 2c 20 30 78 | 0xc0, |0x03, 0x|
|00005e70| 38 30 2c 20 30 78 30 31 | 2c 20 30 78 38 30 2c 20 |80, 0x01|, 0x80, |
|00005e80| 30 78 30 31 2c 20 30 78 | 34 30 2c 20 30 78 30 32 |0x01, 0x|40, 0x02|
|00005e90| 2c 20 30 78 32 30 2c 20 | 30 78 30 34 2c 20 30 78 |, 0x20, |0x04, 0x|
|00005ea0| 33 30 2c 20 30 78 30 63 | 2c 0a 20 20 20 30 78 37 |30, 0x0c|,. 0x7|
|00005eb0| 38 2c 20 30 78 31 65 2c | 20 30 78 66 63 2c 20 30 |8, 0x1e,| 0xfc, 0|
|00005ec0| 78 33 66 2c 20 30 78 66 | 63 2c 20 30 78 33 66 2c |x3f, 0xf|c, 0x3f,|
|00005ed0| 20 30 78 30 30 2c 20 30 | 78 30 30 7d 3b 0a 53 48 | 0x00, 0|x00};.SH|
|00005ee0| 41 52 5f 45 4f 46 0a 69 | 66 20 74 65 73 74 20 32 |AR_EOF.i|f test 2|
|00005ef0| 38 31 20 2d 6e 65 20 22 | 60 77 63 20 2d 63 20 3c |81 -ne "|`wc -c <|
|00005f00| 20 27 68 6f 75 72 67 6c | 2e 62 69 74 73 27 60 22 | 'hourgl|.bits'`"|
|00005f10| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00005f20| 3a 20 65 72 72 6f 72 20 | 74 72 61 6e 73 6d 69 74 |: error |transmit|
|00005f30| 74 69 6e 67 20 22 27 68 | 6f 75 72 67 6c 2e 62 69 |ting "'h|ourgl.bi|
|00005f40| 74 73 27 22 20 27 28 73 | 68 6f 75 6c 64 20 68 61 |ts'" '(s|hould ha|
|00005f50| 76 65 20 62 65 65 6e 20 | 32 38 31 20 63 68 61 72 |ve been |281 char|
|00005f60| 61 63 74 65 72 73 29 27 | 0a 66 69 0a 66 69 20 23 |acters)'|.fi.fi #|
|00005f70| 20 65 6e 64 20 6f 66 20 | 6f 76 65 72 77 72 69 74 | end of |overwrit|
|00005f80| 69 6e 67 20 63 68 65 63 | 6b 0a 69 66 20 74 65 73 |ing chec|k.if tes|
|00005f90| 74 20 2d 66 20 27 72 65 | 76 65 72 73 65 2e 62 69 |t -f 're|verse.bi|
|00005fa0| 74 73 27 0a 74 68 65 6e | 0a 09 65 63 68 6f 20 73 |ts'.then|..echo s|
|00005fb0| 68 61 72 3a 20 77 69 6c | 6c 20 6e 6f 74 20 6f 76 |har: wil|l not ov|
|00005fc0| 65 72 2d 77 72 69 74 65 | 20 65 78 69 73 74 69 6e |er-write| existin|
|00005fd0| 67 20 66 69 6c 65 20 22 | 27 72 65 76 65 72 73 65 |g file "|'reverse|
|00005fe0| 2e 62 69 74 73 27 22 0a | 65 6c 73 65 0a 63 61 74 |.bits'".|else.cat|
|00005ff0| 20 3c 3c 20 5c 53 48 41 | 52 5f 45 4f 46 20 3e 20 | << \SHA|R_EOF > |
|00006000| 27 72 65 76 65 72 73 65 | 2e 62 69 74 73 27 0a 23 |'reverse|.bits'.#|
|00006010| 64 65 66 69 6e 65 20 72 | 65 76 65 72 73 65 5f 77 |define r|everse_w|
|00006020| 69 64 74 68 20 31 36 0a | 23 64 65 66 69 6e 65 20 |idth 16.|#define |
|00006030| 72 65 76 65 72 73 65 5f | 68 65 69 67 68 74 20 31 |reverse_|height 1|
|00006040| 36 0a 73 74 61 74 69 63 | 20 63 68 61 72 20 72 65 |6.static| char re|
|00006050| 76 65 72 73 65 5f 62 69 | 74 73 5b 5d 20 3d 20 7b |verse_bi|ts[] = {|
|00006060| 0a 20 20 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |. 0x00|, 0x00, |
|00006070| 30 78 30 30 2c 20 30 78 | 30 34 2c 20 30 78 30 30 |0x00, 0x|04, 0x00|
|00006080| 2c 20 30 78 30 63 2c 20 | 30 78 66 38 2c 20 30 78 |, 0x0c, |0xf8, 0x|
|00006090| 31 66 2c 20 30 78 66 38 | 2c 20 30 78 33 66 2c 20 |1f, 0xf8|, 0x3f, |
|000060a0| 30 78 66 38 2c 20 30 78 | 31 66 2c 0a 20 20 20 30 |0xf8, 0x|1f,. 0|
|000060b0| 78 30 30 2c 20 30 78 30 | 63 2c 20 30 78 30 30 2c |x00, 0x0|c, 0x00,|
|000060c0| 20 30 78 30 34 2c 20 30 | 78 32 30 2c 20 30 78 30 | 0x04, 0|x20, 0x0|
|000060d0| 30 2c 20 30 78 33 30 2c | 20 30 78 30 30 2c 20 30 |0, 0x30,| 0x00, 0|
|000060e0| 78 66 38 2c 20 30 78 31 | 66 2c 20 30 78 66 63 2c |xf8, 0x1|f, 0xfc,|
|000060f0| 20 30 78 31 66 2c 0a 20 | 20 20 30 78 66 38 2c 20 | 0x1f,. | 0xf8, |
|00006100| 30 78 31 66 2c 20 30 78 | 33 30 2c 20 30 78 30 30 |0x1f, 0x|30, 0x00|
|00006110| 2c 20 30 78 32 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x20, |0x00, 0x|
|00006120| 30 30 2c 20 30 78 30 30 | 7d 3b 0a 53 48 41 52 5f |00, 0x00|};.SHAR_|
|00006130| 45 4f 46 0a 69 66 20 74 | 65 73 74 20 32 38 34 20 |EOF.if t|est 284 |
|00006140| 2d 6e 65 20 22 60 77 63 | 20 2d 63 20 3c 20 27 72 |-ne "`wc| -c < 'r|
|00006150| 65 76 65 72 73 65 2e 62 | 69 74 73 27 60 22 0a 74 |everse.b|its'`".t|
|00006160| 68 65 6e 0a 09 65 63 68 | 6f 20 73 68 61 72 3a 20 |hen..ech|o shar: |
|00006170| 65 72 72 6f 72 20 74 72 | 61 6e 73 6d 69 74 74 69 |error tr|ansmitti|
|00006180| 6e 67 20 22 27 72 65 76 | 65 72 73 65 2e 62 69 74 |ng "'rev|erse.bit|
|00006190| 73 27 22 20 27 28 73 68 | 6f 75 6c 64 20 68 61 76 |s'" '(sh|ould hav|
|000061a0| 65 20 62 65 65 6e 20 32 | 38 34 20 63 68 61 72 61 |e been 2|84 chara|
|000061b0| 63 74 65 72 73 29 27 0a | 66 69 0a 66 69 20 23 20 |cters)'.|fi.fi # |
|000061c0| 65 6e 64 20 6f 66 20 6f | 76 65 72 77 72 69 74 69 |end of o|verwriti|
|000061d0| 6e 67 20 63 68 65 63 6b | 0a 63 64 20 2e 2e 0a 69 |ng check|.cd ...i|
|000061e0| 66 20 74 65 73 74 20 2d | 66 20 27 6d 6f 76 65 6d |f test -|f 'movem|
|000061f0| 65 6e 74 2e 63 27 0a 74 | 68 65 6e 0a 09 65 63 68 |ent.c'.t|hen..ech|
|00006200| 6f 20 73 68 61 72 3a 20 | 77 69 6c 6c 20 6e 6f 74 |o shar: |will not|
|00006210| 20 6f 76 65 72 2d 77 72 | 69 74 65 20 65 78 69 73 | over-wr|ite exis|
|00006220| 74 69 6e 67 20 66 69 6c | 65 20 22 27 6d 6f 76 65 |ting fil|e "'move|
|00006230| 6d 65 6e 74 2e 63 27 22 | 0a 65 6c 73 65 0a 63 61 |ment.c'"|.else.ca|
|00006240| 74 20 3c 3c 20 5c 53 48 | 41 52 5f 45 4f 46 20 3e |t << \SH|AR_EOF >|
|00006250| 20 27 6d 6f 76 65 6d 65 | 6e 74 2e 63 27 0a 2f 2a | 'moveme|nt.c'./*|
|00006260| 20 54 68 69 73 20 70 72 | 6f 67 72 61 6d 20 77 61 | This pr|ogram wa|
|00006270| 73 20 77 72 69 74 74 65 | 6e 20 62 79 20 41 6c 65 |s writte|n by Ale|
|00006280| 78 61 6e 64 65 72 20 53 | 69 65 67 65 6c 20 69 6e |xander S|iegel in|
|00006290| 20 53 65 70 74 65 6d 62 | 65 72 20 6f 66 20 31 39 | Septemb|er of 19|
|000062a0| 38 39 20 20 20 2a 2f 0a | 2f 2a 20 61 74 20 43 6f |89 */.|/* at Co|
|000062b0| 72 6e 65 6c 6c 20 55 6e | 69 76 65 72 73 69 74 79 |rnell Un|iversity|
|000062c0| 2e 20 20 49 74 20 6d 61 | 79 20 6d 61 79 20 63 6f |. It ma|y may co|
|000062d0| 70 69 65 64 20 66 72 65 | 65 6c 79 20 66 6f 72 20 |pied fre|ely for |
|000062e0| 70 72 69 76 61 74 65 20 | 75 73 65 20 6f 72 20 2a |private |use or *|
|000062f0| 2f 0a 2f 2a 20 70 75 62 | 6c 69 63 20 64 69 73 70 |/./* pub|lic disp|
|00006300| 65 72 73 69 6f 6e 20 70 | 72 6f 76 69 64 65 64 20 |ersion p|rovided |
|00006310| 74 68 61 74 20 74 68 69 | 73 20 63 6f 6d 6d 65 6e |that thi|s commen|
|00006320| 74 20 69 73 20 6e 6f 74 | 20 72 65 6d 6f 76 65 64 |t is not| removed|
|00006330| 2e 20 20 54 68 69 73 20 | 20 2a 2f 0a 2f 2a 20 70 |. This | */./* p|
|00006340| 72 6f 67 72 61 6d 2c 20 | 61 6e 79 20 70 6f 72 74 |rogram, |any port|
|00006350| 69 6f 6e 20 6f 66 20 74 | 68 69 73 20 70 72 6f 67 |ion of t|his prog|
|00006360| 72 61 6d 2c 20 6f 72 20 | 61 6e 79 20 64 65 72 69 |ram, or |any deri|
|00006370| 76 61 74 69 76 65 20 6f | 66 20 74 68 69 73 20 20 |vative o|f this |
|00006380| 20 20 20 2a 2f 0a 2f 2a | 20 70 72 6f 67 72 61 6d | */./*| program|
|00006390| 20 6d 61 79 20 6e 6f 74 | 20 62 65 20 73 6f 6c 64 | may not| be sold|
|000063a0| 20 6f 72 20 74 72 61 64 | 65 64 20 66 6f 72 20 66 | or trad|ed for f|
|000063b0| 69 6e 61 6e 63 69 61 6c | 20 67 61 69 6e 2e 20 20 |inancial| gain. |
|000063c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 2f 0a | | */.|
|000063d0| 0a 23 69 6e 63 6c 75 64 | 65 20 3c 73 74 64 69 6f |.#includ|e <stdio|
|000063e0| 2e 68 3e 0a 23 69 6e 63 | 6c 75 64 65 20 3c 58 31 |.h>.#inc|lude <X1|
|000063f0| 31 2f 58 6c 69 62 2e 68 | 3e 0a 23 69 6e 63 6c 75 |1/Xlib.h|>.#inclu|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.