home *** CD-ROM | disk | FTP | other *** search
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: part01
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, 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 72 73 0a 46 |Path: uu|net!rs.F|
|00000010| 72 6f 6d 3a 20 72 73 40 | 75 75 6e 65 74 2e 55 55 |rom: rs@|uunet.UU|
|00000020| 2e 4e 45 54 20 28 52 69 | 63 68 20 53 61 6c 7a 29 |.NET (Ri|ch Salz)|
|00000030| 0a 4e 65 77 73 67 72 6f | 75 70 73 3a 20 63 6f 6d |.Newsgro|ups: com|
|00000040| 70 2e 73 6f 75 72 63 65 | 73 2e 75 6e 69 78 0a 53 |p.source|s.unix.S|
|00000050| 75 62 6a 65 63 74 3a 20 | 76 31 30 69 30 32 31 3a |ubject: |v10i021:|
|00000060| 20 4c 6f 67 6f 20 69 6e | 74 65 72 70 72 65 74 65 | Logo in|terprete|
|00000070| 72 20 66 6f 72 20 55 6e | 69 78 2c 20 50 61 72 74 |r for Un|ix, Part|
|00000080| 30 31 2f 30 36 0a 4d 65 | 73 73 61 67 65 2d 49 44 |01/06.Me|ssage-ID|
|00000090| 3a 20 3c 34 34 37 40 75 | 75 6e 65 74 2e 55 55 2e |: <447@u|unet.UU.|
|000000a0| 4e 45 54 3e 0a 44 61 74 | 65 3a 20 32 34 20 4a 75 |NET>.Dat|e: 24 Ju|
|000000b0| 6e 20 38 37 20 32 30 3a | 32 31 3a 32 39 20 47 4d |n 87 20:|21:29 GM|
|000000c0| 54 0a 4f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 3a 20 |T.Organi|zation: |
|000000d0| 55 55 4e 45 54 20 43 6f | 6d 6d 75 6e 69 63 61 74 |UUNET Co|mmunicat|
|000000e0| 69 6f 6e 73 20 53 65 72 | 76 69 63 65 73 2c 20 41 |ions Ser|vices, A|
|000000f0| 72 6c 69 6e 67 74 6f 6e | 2c 20 56 41 0a 4c 69 6e |rlington|, VA.Lin|
|00000100| 65 73 3a 20 32 32 34 33 | 0a 41 70 70 72 6f 76 65 |es: 2243|.Approve|
|00000110| 64 3a 20 72 73 40 75 75 | 6e 65 74 2e 75 75 2e 6e |d: rs@uu|net.uu.n|
|00000120| 65 74 0a 0a 53 75 62 6d | 69 74 74 65 64 20 62 79 |et..Subm|itted by|
|00000130| 3a 20 42 72 69 61 6e 20 | 48 61 72 76 65 79 20 3c |: Brian |Harvey <|
|00000140| 62 68 40 6d 69 74 2d 61 | 6d 74 3e 0a 4d 6f 64 2e |bh@mit-a|mt>.Mod.|
|00000150| 53 6f 75 72 63 65 73 3a | 20 56 6f 6c 75 6d 65 20 |Sources:| Volume |
|00000160| 31 30 2c 20 4e 75 6d 62 | 65 72 20 32 31 0a 41 72 |10, Numb|er 21.Ar|
|00000170| 63 68 69 76 65 2d 4e 61 | 6d 65 3a 20 6c 6f 67 6f |chive-Na|me: logo|
|00000180| 2f 50 61 72 74 30 31 0a | 0a 5b 20 20 4c 6f 67 6f |/Part01.|.[ Logo|
|00000190| 20 69 73 20 61 20 61 20 | 77 61 79 20 6f 66 20 6c | is a a |way of l|
|000001a0| 69 66 65 2c 20 6e 6f 74 | 20 6a 75 73 74 20 61 20 |ife, not| just a |
|000001b0| 70 72 6f 67 72 61 6d 6d | 69 6e 67 20 6c 61 6e 67 |programm|ing lang|
|000001c0| 75 61 67 65 2e 20 20 48 | 65 72 65 27 73 20 74 68 |uage. H|ere's th|
|000001d0| 65 0a 20 20 20 64 65 66 | 69 6e 69 74 69 76 65 20 |e. def|initive |
|000001e0| 55 6e 69 78 20 72 65 6c | 65 61 73 65 20 66 72 6f |Unix rel|ease fro|
|000001f0| 6d 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 70 72 69 |m one of| the pri|
|00000200| 6d 61 72 79 20 70 72 6f | 70 68 65 74 73 2e 20 20 |mary pro|phets. |
|00000210| 2d 2d 72 24 20 20 5d 0a | 0a 23 21 20 2f 62 69 6e |--r$ ].|.#! /bin|
|00000220| 2f 73 68 0a 23 20 54 68 | 69 73 20 69 73 20 61 20 |/sh.# Th|is is a |
|00000230| 73 68 65 6c 6c 20 61 72 | 63 68 69 76 65 2e 20 20 |shell ar|chive. |
|00000240| 52 65 6d 6f 76 65 20 61 | 6e 79 74 68 69 6e 67 20 |Remove a|nything |
|00000250| 62 65 66 6f 72 65 20 74 | 68 69 73 20 6c 69 6e 65 |before t|his line|
|00000260| 2c 20 74 68 65 6e 20 75 | 6e 70 61 63 6b 0a 23 20 |, then u|npack.# |
|00000270| 69 74 20 62 79 20 73 61 | 76 69 6e 67 20 69 74 20 |it by sa|ving it |
|00000280| 69 6e 74 6f 20 61 20 66 | 69 6c 65 20 61 6e 64 20 |into a f|ile and |
|00000290| 74 79 70 69 6e 67 20 22 | 73 68 20 66 69 6c 65 22 |typing "|sh file"|
|000002a0| 2e 20 20 54 6f 20 6f 76 | 65 72 77 72 69 74 65 20 |. To ov|erwrite |
|000002b0| 65 78 69 73 74 69 6e 67 | 0a 23 20 66 69 6c 65 73 |existing|.# files|
|000002c0| 2c 20 74 79 70 65 20 22 | 73 68 20 66 69 6c 65 20 |, type "|sh file |
|000002d0| 2d 63 22 2e 20 20 59 6f | 75 20 63 61 6e 20 61 6c |-c". Yo|u can al|
|000002e0| 73 6f 20 66 65 65 64 20 | 74 68 69 73 20 61 73 20 |so feed |this as |
|000002f0| 73 74 61 6e 64 61 72 64 | 20 69 6e 70 75 74 20 76 |standard| input v|
|00000300| 69 61 0a 23 20 75 6e 73 | 68 61 72 2c 20 6f 72 20 |ia.# uns|har, or |
|00000310| 62 79 20 74 79 70 69 6e | 67 20 22 73 68 20 3c 66 |by typin|g "sh <f|
|00000320| 69 6c 65 22 2c 20 65 2e | 67 2e 2e 20 20 49 66 20 |ile", e.|g.. If |
|00000330| 74 68 69 73 20 61 72 63 | 68 69 76 65 20 69 73 20 |this arc|hive is |
|00000340| 63 6f 6d 70 6c 65 74 65 | 2c 20 79 6f 75 0a 23 20 |complete|, you.# |
|00000350| 77 69 6c 6c 20 73 65 65 | 20 74 68 65 20 66 6f 6c |will see| the fol|
|00000360| 6c 6f 77 69 6e 67 20 6d | 65 73 73 61 67 65 20 61 |lowing m|essage a|
|00000370| 74 20 74 68 65 20 65 6e | 64 3a 0a 23 09 09 22 45 |t the en|d:.#.."E|
|00000380| 6e 64 20 6f 66 20 61 72 | 63 68 69 76 65 20 31 20 |nd of ar|chive 1 |
|00000390| 28 6f 66 20 36 29 2e 22 | 0a 23 20 43 6f 6e 74 65 |(of 6)."|.# Conte|
|000003a0| 6e 74 73 3a 20 20 4d 41 | 4e 49 46 45 53 54 20 52 |nts: MA|NIFEST R|
|000003b0| 45 41 44 4d 45 20 61 64 | 6d 2e 69 20 61 64 6d 74 |EADME ad|m.i admt|
|000003c0| 65 6b 2e 69 20 61 74 61 | 72 69 2e 69 20 64 72 31 |ek.i ata|ri.i dr1|
|000003d0| 31 6b 2e 63 20 67 69 67 | 69 2e 69 0a 23 20 20 20 |1k.c gig|i.i.# |
|000003e0| 68 65 6c 70 66 69 6c 65 | 20 6c 69 62 72 61 72 79 |helpfile| library|
|000003f0| 20 6c 69 62 72 61 72 79 | 2f 62 65 65 70 2e 6c 67 | library|/beep.lg|
|00000400| 20 6c 69 62 72 61 72 79 | 2f 66 2e 6c 67 20 6c 69 | library|/f.lg li|
|00000410| 62 72 61 72 79 2f 67 2e | 6c 67 0a 23 20 20 20 6c |brary/g.|lg.# l|
|00000420| 69 62 72 61 72 79 2f 67 | 69 67 69 6d 6f 76 65 2e |ibrary/g|igimove.|
|00000430| 6c 67 20 6c 69 62 72 61 | 72 79 2f 68 61 6e 6f 69 |lg libra|ry/hanoi|
|00000440| 2e 6c 67 20 6c 69 62 72 | 61 72 79 2f 68 6f 6d 65 |.lg libr|ary/home|
|00000450| 2e 6c 67 0a 23 20 20 20 | 6c 69 62 72 61 72 79 2f |.lg.# |library/|
|00000460| 68 6f 77 69 73 2e 6c 67 | 20 6c 69 62 72 61 72 79 |howis.lg| library|
|00000470| 2f 6c 2e 6c 67 20 6c 69 | 62 72 61 72 79 2f 6c 61 |/l.lg li|brary/la|
|00000480| 75 67 68 2e 6c 67 20 6c | 69 62 72 61 72 79 2f 6c |ugh.lg l|ibrary/l|
|00000490| 69 73 74 70 2e 6c 67 0a | 23 20 20 20 6c 69 62 72 |istp.lg.|# libr|
|000004a0| 61 72 79 2f 70 69 63 6b | 2e 6c 67 20 6c 69 62 72 |ary/pick|.lg libr|
|000004b0| 61 72 79 2f 70 6f 6c 79 | 2e 6c 67 20 6c 69 62 72 |ary/poly|.lg libr|
|000004c0| 61 72 79 2f 70 6f 73 2e | 6c 67 20 6c 69 62 72 61 |ary/pos.|lg libra|
|000004d0| 72 79 2f 71 75 65 73 74 | 2e 6c 67 0a 23 20 20 20 |ry/quest|.lg.# |
|000004e0| 6c 69 62 72 61 72 79 2f | 71 75 69 7a 31 2e 6c 67 |library/|quiz1.lg|
|000004f0| 20 6c 69 62 72 61 72 79 | 2f 73 65 74 63 75 72 73 | library|/setcurs|
|00000500| 6f 72 2e 6c 67 20 6c 69 | 62 72 61 72 79 2f 73 65 |or.lg li|brary/se|
|00000510| 74 68 65 69 67 68 74 2e | 6c 67 0a 23 20 20 20 6c |theight.|lg.# l|
|00000520| 69 62 72 61 72 79 2f 73 | 65 74 69 74 61 6c 69 63 |ibrary/s|etitalic|
|00000530| 2e 6c 67 20 6c 69 62 72 | 61 72 79 2f 73 65 74 70 |.lg libr|ary/setp|
|00000540| 6f 73 2e 6c 67 20 6c 69 | 62 72 61 72 79 2f 73 65 |os.lg li|brary/se|
|00000550| 74 73 69 7a 65 2e 6c 67 | 0a 23 20 20 20 6c 69 62 |tsize.lg|.# lib|
|00000560| 72 61 72 79 2f 73 65 74 | 73 6c 61 6e 74 2e 6c 67 |rary/set|slant.lg|
|00000570| 20 6c 69 62 72 61 72 79 | 2f 73 65 74 73 6c 6f 70 | library|/setslop|
|00000580| 65 2e 6c 67 20 6c 69 62 | 72 61 72 79 2f 73 65 74 |e.lg lib|rary/set|
|00000590| 78 2e 6c 67 0a 23 20 20 | 20 6c 69 62 72 61 72 79 |x.lg.# | library|
|000005a0| 2f 73 65 74 79 2e 6c 67 | 20 6c 69 62 72 61 72 79 |/sety.lg| library|
|000005b0| 2f 74 65 78 74 70 72 69 | 6e 74 2e 6c 67 20 6c 69 |/textpri|nt.lg li|
|000005c0| 62 72 61 72 79 2f 74 6f | 70 2e 6c 67 0a 23 20 20 |brary/to|p.lg.# |
|000005d0| 20 6c 69 62 72 61 72 79 | 2f 74 6f 77 61 72 64 73 | library|/towards|
|000005e0| 2e 6c 67 20 6c 6f 67 6f | 68 65 61 64 2e 63 20 6d |.lg logo|head.c m|
|000005f0| 61 69 6e 2e 63 20 6d 61 | 6b 65 66 69 6c 65 20 6d |ain.c ma|kefile m|
|00000600| 61 6b 65 68 65 6c 70 20 | 70 72 6f 70 6c 69 73 74 |akehelp |proplist|
|00000610| 2e 63 0a 23 20 20 20 73 | 70 6c 69 74 68 65 6c 70 |.c.# s|plithelp|
|00000620| 2e 63 20 73 75 6e 2e 69 | 20 74 65 6b 2e 69 20 75 |.c sun.i| tek.i u|
|00000630| 6e 69 78 2e 63 20 7a 65 | 72 72 2e 63 0a 23 20 57 |nix.c ze|rr.c.# W|
|00000640| 72 61 70 70 65 64 20 62 | 79 20 72 73 61 6c 7a 40 |rapped b|y rsalz@|
|00000650| 70 69 6e 65 61 70 70 6c | 65 2e 62 62 6e 2e 63 6f |pineappl|e.bbn.co|
|00000660| 6d 20 6f 6e 20 57 65 64 | 20 4a 75 6e 20 32 34 20 |m on Wed| Jun 24 |
|00000670| 31 34 3a 32 36 3a 35 30 | 20 31 39 38 37 0a 50 41 |14:26:50| 1987.PA|
|00000680| 54 48 3d 2f 62 69 6e 3a | 2f 75 73 72 2f 62 69 6e |TH=/bin:|/usr/bin|
|00000690| 3a 2f 75 73 72 2f 75 63 | 62 20 3b 20 65 78 70 6f |:/usr/uc|b ; expo|
|000006a0| 72 74 20 50 41 54 48 0a | 69 66 20 74 65 73 74 20 |rt PATH.|if test |
|000006b0| 2d 66 20 4d 41 4e 49 46 | 45 53 54 20 2d 61 20 22 |-f MANIF|EST -a "|
|000006c0| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|000006d0| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|000006e0| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 6f 76 65 72 |r: Will |not over|
|000006f0| 2d 77 72 69 74 65 20 65 | 78 69 73 74 69 6e 67 20 |-write e|xisting |
|00000700| 66 69 6c 65 20 5c 22 4d | 41 4e 49 46 45 53 54 5c |file \"M|ANIFEST\|
|00000710| 22 0a 65 6c 73 65 0a 65 | 63 68 6f 20 73 68 61 72 |".else.e|cho shar|
|00000720| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 4d |: Extrac|ting \"M|
|00000730| 41 4e 49 46 45 53 54 5c | 22 20 5c 28 31 39 32 36 |ANIFEST\|" \(1926|
|00000740| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|00000750| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 4d 41 4e 49 |d "s/^X/|/" >MANI|
|00000760| 46 45 53 54 20 3c 3c 27 | 45 4e 44 5f 4f 46 5f 4d |FEST <<'|END_OF_M|
|00000770| 41 4e 49 46 45 53 54 27 | 0a 58 20 20 20 46 69 6c |ANIFEST'|.X Fil|
|00000780| 65 20 4e 61 6d 65 09 09 | 41 72 63 68 69 76 65 20 |e Name..|Archive |
|00000790| 23 09 44 65 73 63 72 69 | 70 74 69 6f 6e 0a 58 2d |#.Descri|ption.X-|
|000007a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000007b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000007c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000007d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 58 20 4d 41 4e |--------|--.X MAN|
|000007e0| 49 46 45 53 54 20 20 20 | 20 20 20 20 20 20 20 20 |IFEST | |
|000007f0| 20 20 20 20 20 20 20 31 | 09 0a 58 20 52 45 41 44 | 1|..X READ|
|00000800| 4d 45 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ME | |
|00000810| 20 20 20 20 20 20 31 09 | 0a 58 20 61 64 6d 2e 69 | 1.|.X adm.i|
|00000820| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000830| 20 20 20 20 20 31 09 0a | 58 20 61 64 6d 74 65 6b | 1..|X admtek|
|00000840| 2e 69 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.i | |
|00000850| 20 20 20 20 31 09 0a 58 | 20 61 70 70 6c 65 64 69 | 1..X| appledi|
|00000860| 66 66 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ff | |
|00000870| 20 20 20 32 09 0a 58 20 | 61 74 61 72 69 2e 69 20 | 2..X |atari.i |
|00000880| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000890| 20 20 31 09 0a 58 20 64 | 72 31 31 6b 2e 63 20 20 | 1..X d|r11k.c |
|000008a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000008b0| 20 31 09 0a 58 20 67 69 | 67 69 2e 69 20 20 20 20 | 1..X gi|gi.i |
|000008c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000008d0| 31 09 0a 58 20 68 65 6c | 70 66 69 6c 65 20 20 20 |1..X hel|pfile |
|000008e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 31 | | 1|
|000008f0| 09 0a 58 20 6c 69 62 72 | 61 72 79 20 20 20 20 20 |..X libr|ary |
|00000900| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 31 09 | | 1.|
|00000910| 0a 58 20 6c 69 62 72 61 | 72 79 2f 62 65 65 70 2e |.X libra|ry/beep.|
|00000920| 6c 67 20 20 20 20 20 20 | 20 20 20 20 20 31 09 0a |lg | 1..|
|00000930| 58 20 6c 69 62 72 61 72 | 79 2f 66 2e 6c 67 20 20 |X librar|y/f.lg |
|00000940| 20 20 20 20 20 20 20 20 | 20 20 20 20 31 09 0a 58 | | 1..X|
|00000950| 20 6c 69 62 72 61 72 79 | 2f 67 2e 6c 67 20 20 20 | library|/g.lg |
|00000960| 20 20 20 20 20 20 20 20 | 20 20 20 31 09 0a 58 20 | | 1..X |
|00000970| 6c 69 62 72 61 72 79 2f | 67 69 67 69 6d 6f 76 65 |library/|gigimove|
|00000980| 2e 6c 67 20 20 20 20 20 | 20 20 31 09 0a 58 20 6c |.lg | 1..X l|
|00000990| 69 62 72 61 72 79 2f 68 | 61 6e 6f 69 2e 6c 67 20 |ibrary/h|anoi.lg |
|000009a0| 20 20 20 20 20 20 20 20 | 20 31 09 0a 58 20 6c 69 | | 1..X li|
|000009b0| 62 72 61 72 79 2f 68 6f | 6d 65 2e 6c 67 20 20 20 |brary/ho|me.lg |
|000009c0| 20 20 20 20 20 20 20 20 | 31 09 0a 58 20 6c 69 62 | |1..X lib|
|000009d0| 72 61 72 79 2f 68 6f 77 | 69 73 2e 6c 67 20 20 20 |rary/how|is.lg |
|000009e0| 20 20 20 20 20 20 20 31 | 09 0a 58 20 6c 69 62 72 | 1|..X libr|
|000009f0| 61 72 79 2f 6c 2e 6c 67 | 20 20 20 20 20 20 20 20 |ary/l.lg| |
|00000a00| 20 20 20 20 20 20 31 09 | 0a 58 20 6c 69 62 72 61 | 1.|.X libra|
|00000a10| 72 79 2f 6c 61 75 67 68 | 2e 6c 67 20 20 20 20 20 |ry/laugh|.lg |
|00000a20| 20 20 20 20 20 31 09 0a | 58 20 6c 69 62 72 61 72 | 1..|X librar|
|00000a30| 79 2f 6c 69 73 74 70 2e | 6c 67 20 20 20 20 20 20 |y/listp.|lg |
|00000a40| 20 20 20 20 31 09 0a 58 | 20 6c 69 62 72 61 72 79 | 1..X| library|
|00000a50| 2f 70 69 63 6b 2e 6c 67 | 20 20 20 20 20 20 20 20 |/pick.lg| |
|00000a60| 20 20 20 31 09 0a 58 20 | 6c 69 62 72 61 72 79 2f | 1..X |library/|
|00000a70| 70 6f 6c 79 2e 6c 67 20 | 20 20 20 20 20 20 20 20 |poly.lg | |
|00000a80| 20 20 31 09 0a 58 20 6c | 69 62 72 61 72 79 2f 70 | 1..X l|ibrary/p|
|00000a90| 6f 73 2e 6c 67 20 20 20 | 20 20 20 20 20 20 20 20 |os.lg | |
|00000aa0| 20 31 09 0a 58 20 6c 69 | 62 72 61 72 79 2f 71 75 | 1..X li|brary/qu|
|00000ab0| 65 73 74 2e 6c 67 20 20 | 20 20 20 20 20 20 20 20 |est.lg | |
|00000ac0| 31 09 0a 58 20 6c 69 62 | 72 61 72 79 2f 71 75 69 |1..X lib|rary/qui|
|00000ad0| 7a 31 2e 6c 67 20 20 20 | 20 20 20 20 20 20 20 31 |z1.lg | 1|
|00000ae0| 09 0a 58 20 6c 69 62 72 | 61 72 79 2f 73 65 74 63 |..X libr|ary/setc|
|00000af0| 75 72 73 6f 72 2e 6c 67 | 20 20 20 20 20 20 31 09 |ursor.lg| 1.|
|00000b00| 0a 58 20 6c 69 62 72 61 | 72 79 2f 73 65 74 68 65 |.X libra|ry/sethe|
|00000b10| 69 67 68 74 2e 6c 67 20 | 20 20 20 20 20 31 09 0a |ight.lg | 1..|
|00000b20| 58 20 6c 69 62 72 61 72 | 79 2f 73 65 74 69 74 61 |X librar|y/setita|
|00000b30| 6c 69 63 2e 6c 67 20 20 | 20 20 20 20 31 09 0a 58 |lic.lg | 1..X|
|00000b40| 20 6c 69 62 72 61 72 79 | 2f 73 65 74 70 6f 73 2e | library|/setpos.|
|00000b50| 6c 67 20 20 20 20 20 20 | 20 20 20 31 09 0a 58 20 |lg | 1..X |
|00000b60| 6c 69 62 72 61 72 79 2f | 73 65 74 73 69 7a 65 2e |library/|setsize.|
|00000b70| 6c 67 20 20 20 20 20 20 | 20 20 31 09 0a 58 20 6c |lg | 1..X l|
|00000b80| 69 62 72 61 72 79 2f 73 | 65 74 73 6c 61 6e 74 2e |ibrary/s|etslant.|
|00000b90| 6c 67 20 20 20 20 20 20 | 20 31 09 0a 58 20 6c 69 |lg | 1..X li|
|00000ba0| 62 72 61 72 79 2f 73 65 | 74 73 6c 6f 70 65 2e 6c |brary/se|tslope.l|
|00000bb0| 67 20 20 20 20 20 20 20 | 31 09 0a 58 20 6c 69 62 |g |1..X lib|
|00000bc0| 72 61 72 79 2f 73 65 74 | 78 2e 6c 67 20 20 20 20 |rary/set|x.lg |
|00000bd0| 20 20 20 20 20 20 20 31 | 09 0a 58 20 6c 69 62 72 | 1|..X libr|
|00000be0| 61 72 79 2f 73 65 74 79 | 2e 6c 67 20 20 20 20 20 |ary/sety|.lg |
|00000bf0| 20 20 20 20 20 20 31 09 | 0a 58 20 6c 69 62 72 61 | 1.|.X libra|
|00000c00| 72 79 2f 74 65 78 74 70 | 72 69 6e 74 2e 6c 67 20 |ry/textp|rint.lg |
|00000c10| 20 20 20 20 20 31 09 0a | 58 20 6c 69 62 72 61 72 | 1..|X librar|
|00000c20| 79 2f 74 6f 70 2e 6c 67 | 20 20 20 20 20 20 20 20 |y/top.lg| |
|00000c30| 20 20 20 20 31 09 0a 58 | 20 6c 69 62 72 61 72 79 | 1..X| library|
|00000c40| 2f 74 6f 77 61 72 64 73 | 2e 6c 67 20 20 20 20 20 |/towards|.lg |
|00000c50| 20 20 20 31 09 0a 58 20 | 6c 6f 67 6f 2e 68 20 20 | 1..X |logo.h |
|00000c60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c70| 20 20 32 09 0a 58 20 6c | 6f 67 6f 2e 79 20 20 20 | 2..X l|ogo.y |
|00000c80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c90| 20 34 09 0a 58 20 6c 6f | 67 6f 61 75 78 2e 63 20 | 4..X lo|goaux.c |
|00000ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000cb0| 33 09 0a 58 20 6c 6f 67 | 6f 68 65 61 64 2e 63 20 |3..X log|ohead.c |
|00000cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 31 | | 1|
|00000cd0| 09 0a 58 20 6c 6f 67 6f | 6d 61 6e 2e 31 20 20 20 |..X logo|man.1 |
|00000ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 35 09 | | 5.|
|00000cf0| 0a 58 20 6c 6f 67 6f 6d | 61 6e 2e 32 20 20 20 20 |.X logom|an.2 |
|00000d00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 36 09 0a | | 6..|
|00000d10| 58 20 6c 6f 67 6f 6e 75 | 6d 2e 63 20 20 20 20 20 |X logonu|m.c |
|00000d20| 20 20 20 20 20 20 20 20 | 20 20 20 20 32 09 0a 58 | | 2..X|
|00000d30| 20 6c 6f 67 6f 6f 70 2e | 63 20 20 20 20 20 20 20 | logoop.|c |
|00000d40| 20 20 20 20 20 20 20 20 | 20 20 20 33 09 0a 58 20 | | 3..X |
|00000d50| 6c 6f 67 6f 70 61 72 73 | 65 2e 63 20 20 20 20 20 |logopars|e.c |
|00000d60| 20 20 20 20 20 20 20 20 | 20 20 32 09 0a 58 20 6c | | 2..X l|
|00000d70| 6f 67 6f 70 72 6f 63 2e | 63 20 20 20 20 20 20 20 |ogoproc.|c |
|00000d80| 20 20 20 20 20 20 20 20 | 20 33 09 0a 58 20 6d 61 | | 3..X ma|
|00000d90| 69 6e 2e 63 20 20 20 20 | 20 20 20 20 20 20 20 20 |in.c | |
|00000da0| 20 20 20 20 20 20 20 20 | 31 09 0a 58 20 6d 61 6b | |1..X mak|
|00000db0| 65 66 69 6c 65 20 20 20 | 20 20 20 20 20 20 20 20 |efile | |
|00000dc0| 20 20 20 20 20 20 20 31 | 09 0a 58 20 6d 61 6b 65 | 1|..X make|
|00000dd0| 68 65 6c 70 20 20 20 20 | 20 20 20 20 20 20 20 20 |help | |
|00000de0| 20 20 20 20 20 20 31 09 | 0a 58 20 6f 6c 64 64 69 | 1.|.X olddi|
|00000df0| 66 66 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ff | |
|00000e00| 20 20 20 20 20 32 09 0a | 58 20 70 72 6f 63 65 64 | 2..|X proced|
|00000e10| 69 74 2e 63 20 20 20 20 | 20 20 20 20 20 20 20 20 |it.c | |
|00000e20| 20 20 20 20 32 09 0a 58 | 20 70 72 6f 63 76 61 72 | 2..X| procvar|
|00000e30| 73 2e 63 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |s.c | |
|00000e40| 20 20 20 32 09 0a 58 20 | 70 72 6f 70 6c 69 73 74 | 2..X |proplist|
|00000e50| 2e 63 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.c | |
|00000e60| 20 20 31 09 0a 58 20 73 | 70 6c 69 74 68 65 6c 70 | 1..X s|plithelp|
|00000e70| 2e 63 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.c | |
|00000e80| 20 31 09 0a 58 20 73 74 | 6f 72 61 67 65 2e 63 20 | 1..X st|orage.c |
|00000e90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ea0| 32 09 0a 58 20 73 75 6e | 2e 69 20 20 20 20 20 20 |2..X sun|.i |
|00000eb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 31 | | 1|
|00000ec0| 09 0a 58 20 74 65 6b 2e | 69 20 20 20 20 20 20 20 |..X tek.|i |
|00000ed0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 31 09 | | 1.|
|00000ee0| 0a 58 20 74 75 72 74 6c | 65 2e 63 20 20 20 20 20 |.X turtl|e.c |
|00000ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 33 09 0a | | 3..|
|00000f00| 58 20 75 6e 69 78 2e 63 | 20 20 20 20 20 20 20 20 |X unix.c| |
|00000f10| 20 20 20 20 20 20 20 20 | 20 20 20 20 31 09 0a 58 | | 1..X|
|00000f20| 20 7a 65 72 72 2e 63 20 | 20 20 20 20 20 20 20 20 | zerr.c | |
|00000f30| 20 20 20 20 20 20 20 20 | 20 20 20 31 09 0a 45 4e | | 1..EN|
|00000f40| 44 5f 4f 46 5f 4d 41 4e | 49 46 45 53 54 0a 69 66 |D_OF_MAN|IFEST.if|
|00000f50| 20 74 65 73 74 20 31 39 | 32 36 20 2d 6e 65 20 60 | test 19|26 -ne `|
|00000f60| 77 63 20 2d 63 20 3c 4d | 41 4e 49 46 45 53 54 60 |wc -c <M|ANIFEST`|
|00000f70| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00000f80| 73 68 61 72 3a 20 5c 22 | 4d 41 4e 49 46 45 53 54 |shar: \"|MANIFEST|
|00000f90| 5c 22 20 75 6e 70 61 63 | 6b 65 64 20 77 69 74 68 |\" unpac|ked with|
|00000fa0| 20 77 72 6f 6e 67 20 73 | 69 7a 65 21 0a 66 69 0a | wrong s|ize!.fi.|
|00000fb0| 23 20 65 6e 64 20 6f 66 | 20 6f 76 65 72 77 72 69 |# end of| overwri|
|00000fc0| 74 69 6e 67 20 63 68 65 | 63 6b 0a 66 69 0a 69 66 |ting che|ck.fi.if|
|00000fd0| 20 74 65 73 74 20 2d 66 | 20 52 45 41 44 4d 45 20 | test -f| README |
|00000fe0| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|00000ff0| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|00001000| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|00001010| 6f 76 65 72 2d 77 72 69 | 74 65 20 65 78 69 73 74 |over-wri|te exist|
|00001020| 69 6e 67 20 66 69 6c 65 | 20 5c 22 52 45 41 44 4d |ing file| \"READM|
|00001030| 45 5c 22 0a 65 6c 73 65 | 0a 65 63 68 6f 20 73 68 |E\".else|.echo sh|
|00001040| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|00001050| 22 52 45 41 44 4d 45 5c | 22 20 5c 28 31 30 30 32 |"README\|" \(1002|
|00001060| 37 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |7 charac|ters\).s|
|00001070| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 52 45 41 |ed "s/^X|//" >REA|
|00001080| 44 4d 45 20 3c 3c 27 45 | 4e 44 5f 4f 46 5f 52 45 |DME <<'E|ND_OF_RE|
|00001090| 41 44 4d 45 27 0a 58 55 | 6e 69 78 20 4c 6f 67 6f |ADME'.XU|nix Logo|
|000010a0| 20 49 6e 74 65 72 70 72 | 65 74 65 72 0a 58 09 42 | Interpr|eter.X.B|
|000010b0| 72 69 61 6e 20 48 61 72 | 76 65 79 0a 58 09 4c 69 |rian Har|vey.X.Li|
|000010c0| 6e 63 6f 6c 6e 2d 53 75 | 64 62 75 72 79 20 52 65 |ncoln-Su|dbury Re|
|000010d0| 67 69 6f 6e 61 6c 20 48 | 69 67 68 20 53 63 68 6f |gional H|igh Scho|
|000010e0| 6f 6c 0a 58 0a 58 54 68 | 69 73 20 69 73 20 72 65 |ol.X.XTh|is is re|
|000010f0| 6c 65 61 73 65 20 34 20 | 6f 66 20 55 6e 69 78 20 |lease 4 |of Unix |
|00001100| 4c 6f 67 6f 2e 20 20 49 | 74 20 64 69 66 66 65 72 |Logo. I|t differ|
|00001110| 73 20 66 72 6f 6d 20 72 | 65 6c 65 61 73 65 20 33 |s from r|elease 3|
|00001120| 20 69 6e 20 74 68 61 74 | 20 69 74 0a 58 6d 6f 72 | in that| it.Xmor|
|00001130| 65 20 63 6c 6f 73 65 6c | 79 20 66 6f 6c 6c 6f 77 |e closel|y follow|
|00001140| 73 20 74 68 65 20 73 79 | 6e 74 61 78 20 6f 66 20 |s the sy|ntax of |
|00001150| 4c 43 53 49 20 76 65 72 | 73 69 6f 6e 73 20 6f 66 |LCSI ver|sions of|
|00001160| 20 4c 6f 67 6f 20 28 41 | 70 70 6c 65 20 4c 6f 67 | Logo (A|pple Log|
|00001170| 6f 2c 0a 58 49 42 4d 20 | 4c 6f 67 6f 2c 20 65 74 |o,.XIBM |Logo, et|
|00001180| 63 2e 29 20 20 49 6e 20 | 70 61 72 74 69 63 75 6c |c.) In |particul|
|00001190| 61 72 2c 20 6d 75 6c 74 | 69 70 6c 65 20 63 6f 6d |ar, mult|iple com|
|000011a0| 6d 61 6e 64 73 20 6f 6e | 20 61 20 6c 69 6e 65 20 |mands on| a line |
|000011b0| 61 72 65 20 61 6c 6c 6f | 77 65 64 0a 58 77 69 74 |are allo|wed.Xwit|
|000011c0| 68 6f 75 74 20 73 65 6d | 69 63 6f 6c 6f 6e 73 20 |hout sem|icolons |
|000011d0| 72 65 71 75 69 72 65 64 | 20 62 65 74 77 65 65 6e |required| between|
|000011e0| 20 74 68 65 6d 2e 20 20 | 54 68 65 20 70 72 6f 6d | them. |The prom|
|000011f0| 70 74 20 63 68 61 72 61 | 63 74 65 72 20 69 73 20 |pt chara|cter is |
|00001200| 27 3f 27 0a 58 69 6e 73 | 74 65 61 64 20 6f 66 20 |'?'.Xins|tead of |
|00001210| 27 2a 27 20 61 73 20 62 | 65 66 6f 72 65 2e 20 20 |'*' as b|efore. |
|00001220| 54 68 65 20 61 62 62 72 | 65 76 69 61 74 69 6f 6e |The abbr|eviation|
|00001230| 73 20 27 66 27 2c 20 27 | 6c 27 2c 20 61 6e 64 20 |s 'f', '|l', and |
|00001240| 27 74 6f 70 27 20 68 61 | 76 65 0a 58 62 65 65 6e |'top' ha|ve.Xbeen|
|00001250| 20 65 6c 69 6d 69 6e 61 | 74 65 64 2e 20 20 50 6f | elimina|ted. Po|
|00001260| 73 69 74 69 6f 6e 65 64 | 20 74 65 78 74 20 28 63 |sitioned| text (c|
|00001270| 6c 65 61 72 74 65 78 74 | 20 61 6e 64 20 73 65 74 |leartext| and set|
|00001280| 63 75 72 73 6f 72 29 20 | 61 72 65 20 73 75 70 70 |cursor) |are supp|
|00001290| 6f 72 74 65 64 0a 58 75 | 73 69 6e 67 20 74 65 72 |orted.Xu|sing ter|
|000012a0| 6d 6c 69 62 2e 20 20 54 | 68 65 20 27 72 61 6e 64 |mlib. T|he 'rand|
|000012b0| 6f 6d 27 20 70 72 69 6d | 69 74 69 76 65 20 6e 6f |om' prim|itive no|
|000012c0| 77 20 74 61 6b 65 73 20 | 61 6e 20 69 6e 70 75 74 |w takes |an input|
|000012d0| 2c 20 6c 69 6b 65 20 27 | 72 6e 64 27 2c 0a 58 69 |, like '|rnd',.Xi|
|000012e0| 6e 73 74 65 61 64 20 6f | 66 20 62 65 69 6e 67 20 |nstead o|f being |
|000012f0| 65 71 75 69 76 61 6c 65 | 6e 74 20 74 6f 20 27 72 |equivale|nt to 'r|
|00001300| 6e 64 20 31 30 27 20 61 | 73 20 62 65 66 6f 72 65 |nd 10' a|s before|
|00001310| 2e 20 20 45 72 72 6f 72 | 20 6d 65 73 73 61 67 65 |. Error| message|
|00001320| 73 20 61 72 65 0a 58 63 | 6c 6f 73 65 72 20 74 6f |s are.Xc|loser to|
|00001330| 20 74 68 6f 73 65 20 69 | 6e 20 6f 74 68 65 72 20 | those i|n other |
|00001340| 76 65 72 73 69 6f 6e 73 | 20 6f 66 20 4c 6f 67 6f |versions| of Logo|
|00001350| 2e 20 20 50 72 6f 63 65 | 64 75 72 65 20 6e 61 6d |. Proce|dure nam|
|00001360| 65 73 20 63 61 6e 20 62 | 65 20 6c 6f 6e 67 65 72 |es can b|e longer|
|00001370| 0a 58 74 68 61 6e 20 31 | 31 20 63 68 61 72 61 63 |.Xthan 1|1 charac|
|00001380| 74 65 72 73 20 69 66 20 | 79 6f 75 72 20 76 65 72 |ters if |your ver|
|00001390| 73 69 6f 6e 20 6f 66 20 | 55 6e 69 78 20 68 61 73 |sion of |Unix has|
|000013a0| 20 6c 6f 6e 67 20 66 69 | 6c 65 20 6e 61 6d 65 73 | long fi|le names|
|000013b0| 2e 0a 58 0a 58 54 68 65 | 20 66 6f 6c 6c 6f 77 69 |..X.XThe| followi|
|000013c0| 6e 67 20 6f 62 73 6f 6c | 65 74 65 20 70 61 72 61 |ng obsol|ete para|
|000013d0| 67 72 61 70 68 20 69 73 | 20 69 6e 63 6c 75 64 65 |graph is| include|
|000013e0| 64 20 74 6f 20 68 65 6c | 70 20 75 73 65 72 73 20 |d to hel|p users |
|000013f0| 6f 66 20 70 72 65 76 69 | 6f 75 73 0a 58 76 65 72 |of previ|ous.Xver|
|00001400| 73 69 6f 6e 73 20 75 6e | 64 65 72 73 74 61 6e 64 |sions un|derstand|
|00001410| 20 74 68 65 20 76 65 72 | 73 69 6f 6e 20 68 69 73 | the ver|sion his|
|00001420| 74 6f 72 79 2e 0a 58 0a | 58 2d 2d 2d 2d 2d 0a 58 |tory..X.|X-----.X|
|00001430| 54 68 69 73 20 69 73 20 | 72 65 6c 65 61 73 65 20 |This is |release |
|00001440| 33 2e 32 20 6f 66 20 55 | 6e 69 78 20 4c 6f 67 6f |3.2 of U|nix Logo|
|00001450| 2e 20 20 52 65 6c 65 61 | 73 65 20 31 20 77 61 73 |. Relea|se 1 was|
|00001460| 20 74 68 65 20 6f 6e 65 | 20 6f 6e 20 74 68 65 20 | the one| on the |
|00001470| 66 69 72 73 74 20 31 39 | 38 32 0a 58 55 73 65 6e |first 19|82.XUsen|
|00001480| 69 78 20 74 61 70 65 2e | 20 20 52 65 6c 65 61 73 |ix tape.| Releas|
|00001490| 65 20 32 20 77 61 73 20 | 73 65 6e 74 20 62 79 20 |e 2 was |sent by |
|000014a0| 6d 65 20 28 42 48 29 20 | 64 69 72 65 63 74 6c 79 |me (BH) |directly|
|000014b0| 20 74 6f 20 6f 6e 6c 79 | 20 61 20 66 65 77 20 73 | to only| a few s|
|000014c0| 69 74 65 73 2e 0a 58 54 | 68 69 73 20 72 65 6c 65 |ites..XT|his rele|
|000014d0| 61 73 65 20 69 73 20 6d | 75 63 68 20 6c 69 6b 65 |ase is m|uch like|
|000014e0| 20 72 65 6c 65 61 73 65 | 20 32 20 69 6e 20 63 61 | release| 2 in ca|
|000014f0| 70 61 62 69 6c 69 74 69 | 65 73 20 61 6e 64 20 73 |pabiliti|es and s|
|00001500| 79 6e 74 61 78 2c 20 62 | 75 74 20 68 61 73 0a 58 |yntax, b|ut has.X|
|00001510| 62 65 65 6e 20 72 65 61 | 72 72 61 6e 67 65 64 20 |been rea|rranged |
|00001520| 69 6e 74 65 72 6e 61 6c | 6c 79 20 73 6f 6d 65 77 |internal|ly somew|
|00001530| 68 61 74 20 74 6f 20 6d | 61 6b 65 20 74 68 65 20 |hat to m|ake the |
|00001540| 70 72 6f 63 65 73 73 20 | 6f 66 20 69 6e 73 74 61 |process |of insta|
|00001550| 6c 6c 61 74 69 6f 6e 0a | 58 6f 6e 20 61 20 6e 65 |llation.|Xon a ne|
|00001560| 77 20 73 79 73 74 65 6d | 20 61 20 62 69 74 20 65 |w system| a bit e|
|00001570| 61 73 69 65 72 2e 20 20 | 4f 6e 65 20 6d 61 6a 6f |asier. |One majo|
|00001580| 72 20 6e 65 77 20 66 65 | 61 74 75 72 65 20 69 6e |r new fe|ature in|
|00001590| 20 72 65 6c 65 61 73 65 | 20 33 20 69 73 20 74 68 | release| 3 is th|
|000015a0| 65 0a 58 70 61 75 73 65 | 20 66 61 63 69 6c 69 74 |e.Xpause| facilit|
|000015b0| 79 2c 20 77 68 69 63 68 | 20 61 6c 6c 6f 77 73 20 |y, which| allows |
|000015c0| 69 6e 74 65 72 61 63 74 | 69 76 65 20 64 65 62 75 |interact|ive debu|
|000015d0| 67 67 69 6e 67 20 69 6e | 20 74 68 65 20 6c 6f 63 |gging in| the loc|
|000015e0| 61 6c 20 63 6f 6e 74 65 | 78 74 0a 58 6f 66 20 61 |al conte|xt.Xof a|
|000015f0| 6e 20 65 72 72 6f 72 2e | 20 20 4d 6f 72 65 20 6f |n error.| More o|
|00001600| 6e 20 74 68 69 73 20 62 | 65 6c 6f 77 2e 20 20 52 |n this b|elow. R|
|00001610| 65 6c 65 61 73 65 20 33 | 2e 31 20 64 69 66 66 65 |elease 3|.1 diffe|
|00001620| 72 73 20 66 72 6f 6d 20 | 33 20 6f 6e 6c 79 20 69 |rs from |3 only i|
|00001630| 6e 20 61 0a 58 66 65 77 | 20 62 75 67 20 66 69 78 |n a.Xfew| bug fix|
|00001640| 65 73 20 61 6e 64 20 69 | 6e 20 77 68 61 74 20 69 |es and i|n what i|
|00001650| 73 20 6c 65 66 74 20 6f | 75 74 20 75 6e 64 65 72 |s left o|ut under|
|00001660| 20 74 68 65 20 53 4d 41 | 4c 4c 20 6f 70 74 69 6f | the SMA|LL optio|
|00001670| 6e 2e 20 20 52 65 6c 65 | 61 73 65 20 33 2e 32 0a |n. Rele|ase 3.2.|
|00001680| 58 64 69 66 66 65 72 73 | 20 66 72 6f 6d 20 72 65 |Xdiffers| from re|
|00001690| 6c 65 61 73 65 20 33 2e | 31 20 69 6e 20 62 75 67 |lease 3.|1 in bug|
|000016a0| 20 66 69 78 65 73 2c 20 | 62 65 74 74 65 72 20 65 | fixes, |better e|
|000016b0| 72 72 6f 72 20 6d 65 73 | 73 61 67 65 73 2c 20 61 |rror mes|sages, a|
|000016c0| 6e 64 20 6f 6e 65 0a 58 | 69 6e 63 6f 6d 70 61 74 |nd one.X|incompat|
|000016d0| 69 62 6c 65 20 63 68 61 | 6e 67 65 3a 20 74 68 65 |ible cha|nge: the|
|000016e0| 20 71 75 6f 74 69 65 6e | 74 20 6f 66 20 74 77 6f | quotien|t of two|
|000016f0| 20 69 6e 74 65 67 65 72 | 73 20 63 61 6e 20 62 65 | integer|s can be|
|00001700| 20 61 20 6e 6f 6e 2d 69 | 6e 74 65 67 65 72 2e 0a | a non-i|nteger..|
|00001710| 58 2d 2d 2d 2d 2d 0a 58 | 0a 58 49 20 77 6f 75 6c |X-----.X|.XI woul|
|00001720| 64 20 6c 69 6b 65 20 74 | 6f 20 74 68 61 6e 6b 20 |d like t|o thank |
|00001730| 44 6f 6e 20 4d 61 72 74 | 69 6e 20 61 6e 64 20 68 |Don Mart|in and h|
|00001740| 69 73 20 73 74 75 64 65 | 6e 74 73 20 61 74 20 74 |is stude|nts at t|
|00001750| 68 65 20 43 6f 6c 6c 65 | 67 65 20 6f 66 20 4d 61 |he Colle|ge of Ma|
|00001760| 72 69 6e 2c 0a 58 77 68 | 6f 20 68 61 76 65 20 66 |rin,.Xwh|o have f|
|00001770| 6f 75 6e 64 20 68 75 67 | 65 20 6e 75 6d 62 65 72 |ound hug|e number|
|00001780| 73 20 6f 66 20 6f 62 73 | 63 75 72 65 20 62 75 67 |s of obs|cure bug|
|00001790| 73 20 69 6e 20 4c 6f 67 | 6f 20 61 6e 64 20 74 68 |s in Log|o and th|
|000017a0| 65 72 65 66 6f 72 65 20 | 68 65 6c 70 65 64 0a 58 |erefore |helped.X|
|000017b0| 6d 61 6b 65 20 74 68 69 | 73 20 72 65 6c 65 61 73 |make thi|s releas|
|000017c0| 65 20 6d 75 63 68 20 6d | 6f 72 65 20 72 65 6c 69 |e much m|ore reli|
|000017d0| 61 62 6c 65 20 74 68 61 | 6e 20 69 74 20 77 6f 75 |able tha|n it wou|
|000017e0| 6c 64 20 6f 74 68 65 72 | 77 69 73 65 20 68 61 76 |ld other|wise hav|
|000017f0| 65 20 62 65 65 6e 2e 0a | 58 0a 58 4c 6f 67 6f 20 |e been..|X.XLogo |
|00001800| 69 73 20 61 20 70 72 6f | 67 72 61 6d 6d 69 6e 67 |is a pro|gramming|
|00001810| 20 6c 61 6e 67 75 61 67 | 65 20 66 6f 72 20 65 64 | languag|e for ed|
|00001820| 75 63 61 74 69 6f 6e 2e | 20 20 49 74 20 69 73 2c |ucation.| It is,|
|00001830| 20 49 20 74 68 69 6e 6b | 2c 20 75 6e 71 75 65 73 | I think|, unques|
|00001840| 74 69 6f 6e 61 62 6c 79 | 0a 58 74 68 65 20 62 65 |tionably|.Xthe be|
|00001850| 73 74 20 69 6e 74 72 6f | 64 75 63 74 6f 72 79 20 |st intro|ductory |
|00001860| 6c 65 61 72 6e 69 6e 67 | 20 6c 61 6e 67 75 61 67 |learning| languag|
|00001870| 65 20 6e 6f 77 20 61 76 | 61 69 6c 61 62 6c 65 2c |e now av|ailable,|
|00001880| 20 62 65 63 61 75 73 65 | 20 69 74 20 63 6f 6d 62 | because| it comb|
|00001890| 69 6e 65 73 0a 58 74 68 | 65 20 65 61 73 65 20 6f |ines.Xth|e ease o|
|000018a0| 66 20 61 6e 20 69 6e 74 | 65 72 61 63 74 69 76 65 |f an int|eractive|
|000018b0| 20 6c 61 6e 67 75 61 67 | 65 20 28 6c 69 6b 65 20 | languag|e (like |
|000018c0| 42 41 53 49 43 2c 20 6f | 74 68 65 72 77 69 73 65 |BASIC, o|therwise|
|000018d0| 20 74 65 72 72 69 62 6c | 65 29 20 77 69 74 68 0a | terribl|e) with.|
|000018e0| 58 74 68 65 20 70 6f 77 | 65 72 20 61 6e 64 20 73 |Xthe pow|er and s|
|000018f0| 74 72 75 63 74 75 72 65 | 20 6f 66 20 61 20 70 72 |tructure| of a pr|
|00001900| 6f 63 65 64 75 72 61 6c | 20 6c 61 6e 67 75 61 67 |ocedural| languag|
|00001910| 65 20 28 6c 69 6b 65 20 | 50 61 73 63 61 6c 2c 20 |e (like |Pascal, |
|00001920| 6e 6f 74 20 62 61 64 20 | 6f 6e 63 65 0a 58 79 6f |not bad |once.Xyo|
|00001930| 75 20 67 65 74 20 70 61 | 73 74 20 74 68 65 20 64 |u get pa|st the d|
|00001940| 65 74 61 69 6c 73 20 6f | 66 20 65 64 69 74 69 6e |etails o|f editin|
|00001950| 67 20 61 6e 64 20 63 6f | 6d 70 69 6c 69 6e 67 20 |g and co|mpiling |
|00001960| 61 6e 64 20 6c 6f 61 64 | 69 6e 67 20 61 6e 64 20 |and load|ing and |
|00001970| 73 65 6d 69 63 6f 6c 6f | 6e 73 0a 58 61 6e 64 20 |semicolo|ns.Xand |
|00001980| 64 6f 65 73 20 76 61 72 | 20 67 6f 20 62 65 66 6f |does var| go befo|
|00001990| 72 65 20 6f 72 20 61 66 | 74 65 72 20 63 6f 6e 73 |re or af|ter cons|
|000019a0| 74 29 2e 20 20 49 66 20 | 79 6f 75 20 61 72 65 6e |t). If |you aren|
|000019b0| 27 74 20 63 6f 6e 76 69 | 6e 63 65 64 2c 20 72 65 |'t convi|nced, re|
|000019c0| 61 64 20 74 68 65 0a 58 | 62 6f 6f 6b 20 22 4d 69 |ad the.X|book "Mi|
|000019d0| 6e 64 73 74 6f 72 6d 73 | 22 20 62 79 20 53 65 79 |ndstorms|" by Sey|
|000019e0| 6d 6f 75 72 20 50 61 70 | 65 72 74 2e 20 20 49 74 |mour Pap|ert. It|
|000019f0| 20 64 6f 65 73 6e 27 74 | 20 6d 61 74 74 65 72 20 | doesn't| matter |
|00001a00| 68 6f 77 20 6f 6c 64 20 | 79 6f 75 72 0a 58 73 74 |how old |your.Xst|
|00001a10| 75 64 65 6e 74 73 20 61 | 72 65 2e 0a 58 0a 58 54 |udents a|re..X.XT|
|00001a20| 68 69 73 20 64 69 72 65 | 63 74 6f 72 79 20 63 6f |his dire|ctory co|
|00001a30| 6e 74 61 69 6e 73 20 61 | 6e 20 69 6e 74 65 72 70 |ntains a|n interp|
|00001a40| 72 65 74 65 72 20 66 6f | 72 20 74 68 65 20 4c 6f |reter fo|r the Lo|
|00001a50| 67 6f 20 70 72 6f 67 72 | 61 6d 6d 69 6e 67 20 6c |go progr|amming l|
|00001a60| 61 6e 67 75 61 67 65 2e | 0a 58 54 68 65 20 69 6e |anguage.|.XThe in|
|00001a70| 74 65 72 70 72 65 74 65 | 72 20 69 73 20 77 72 69 |terprete|r is wri|
|00001a80| 74 74 65 6e 20 69 6e 20 | 43 20 61 6e 64 20 59 41 |tten in |C and YA|
|00001a90| 43 43 2c 20 61 6e 64 20 | 72 75 6e 73 20 75 6e 64 |CC, and |runs und|
|00001aa0| 65 72 20 55 6e 69 78 28 | 54 4d 29 20 76 65 72 73 |er Unix(|TM) vers|
|00001ab0| 69 6f 6e 20 37 2e 0a 58 | 49 74 20 68 61 73 20 62 |ion 7..X|It has b|
|00001ac0| 65 65 6e 20 65 78 70 6f | 72 74 65 64 20 61 6c 73 |een expo|rted als|
|00001ad0| 6f 20 74 6f 20 56 61 78 | 20 34 42 53 44 20 61 6e |o to Vax| 4BSD an|
|00001ae0| 64 20 74 6f 20 49 64 72 | 69 73 20 6f 6e 20 61 20 |d to Idr|is on a |
|00001af0| 50 44 50 2d 31 31 2e 20 | 20 54 68 69 73 20 70 72 |PDP-11. | This pr|
|00001b00| 6f 67 72 61 6d 0a 58 69 | 73 20 62 61 73 65 64 20 |ogram.Xi|s based |
|00001b10| 6f 6e 20 61 20 4c 6f 67 | 6f 20 69 6e 74 65 72 70 |on a Log|o interp|
|00001b20| 72 65 74 65 72 20 6f 72 | 69 67 69 6e 61 6c 6c 79 |reter or|iginally|
|00001b30| 20 77 72 69 74 74 65 6e | 20 61 74 20 74 68 65 20 | written| at the |
|00001b40| 42 6f 73 74 6f 6e 20 43 | 68 69 6c 64 72 65 6e 27 |Boston C|hildren'|
|00001b50| 73 0a 58 4d 75 73 65 75 | 6d 3b 20 74 68 65 20 70 |s.XMuseu|m; the p|
|00001b60| 72 65 73 65 6e 74 20 76 | 65 72 73 69 6f 6e 20 69 |resent v|ersion i|
|00001b70| 73 20 76 65 72 79 20 6d | 75 63 68 20 69 6d 70 72 |s very m|uch impr|
|00001b80| 6f 76 65 64 20 69 6e 20 | 69 74 73 20 63 61 70 61 |oved in |its capa|
|00001b90| 62 69 6c 69 74 69 65 73 | 2e 20 20 4f 6e 0a 58 74 |bilities|. On.Xt|
|00001ba0| 68 65 20 6f 74 68 65 72 | 20 68 61 6e 64 2c 20 74 |he other| hand, t|
|00001bb0| 68 65 20 6f 72 69 67 69 | 6e 61 6c 20 76 65 72 73 |he origi|nal vers|
|00001bc0| 69 6f 6e 20 72 61 6e 20 | 69 6e 20 61 20 36 34 4b |ion ran |in a 64K|
|00001bd0| 62 20 61 64 64 72 65 73 | 73 20 73 70 61 63 65 3b |b addres|s space;|
|00001be0| 20 74 68 69 73 20 76 65 | 72 73 69 6f 6e 0a 58 72 | this ve|rsion.Xr|
|00001bf0| 65 71 75 69 72 65 73 20 | 73 70 6c 69 74 20 49 2f |equires |split I/|
|00001c00| 44 20 6f 6e 20 74 68 65 | 20 50 44 50 2d 31 31 2e |D on the| PDP-11.|
|00001c10| 20 20 28 49 74 20 63 61 | 6e 20 62 65 20 72 75 6e | (It ca|n be run|
|00001c20| 20 6f 6e 20 61 20 73 6d | 61 6c 6c 65 72 20 31 31 | on a sm|aller 11|
|00001c30| 20 62 79 20 74 75 72 6e | 69 6e 67 0a 58 6f 6e 20 | by turn|ing.Xon |
|00001c40| 74 68 65 20 64 65 66 69 | 6e 69 74 69 6f 6e 20 6f |the defi|nition o|
|00001c50| 66 20 53 4d 41 4c 4c 20 | 69 6e 20 6c 6f 67 6f 2e |f SMALL |in logo.|
|00001c60| 68 2c 20 62 75 74 20 77 | 69 74 68 20 68 61 72 64 |h, but w|ith hard|
|00001c70| 6c 79 20 61 6e 79 20 72 | 65 63 75 72 73 69 6f 6e |ly any r|ecursion|
|00001c80| 20 61 6c 6c 6f 77 65 64 | 2e 0a 58 54 68 69 73 20 | allowed|..XThis |
|00001c90| 63 6f 6e 66 69 67 75 72 | 61 74 69 6f 6e 20 6a 75 |configur|ation ju|
|00001ca0| 73 74 20 62 61 72 65 6c | 79 20 77 6f 72 6b 73 20 |st barel|y works |
|00001cb0| 61 6e 64 20 69 73 20 6e | 6f 74 20 72 65 63 6f 6d |and is n|ot recom|
|00001cc0| 6d 65 6e 64 65 64 2e 20 | 20 49 66 20 73 6f 6d 65 |mended. | If some|
|00001cd0| 6f 6e 65 20 77 69 74 68 | 0a 58 73 75 63 68 20 61 |one with|.Xsuch a|
|00001ce0| 20 73 79 73 74 65 6d 20 | 77 61 6e 74 73 20 74 6f | system |wants to|
|00001cf0| 20 74 75 6e 65 20 69 74 | 20 75 70 20 61 6e 64 20 | tune it| up and |
|00001d00| 73 65 6e 64 20 6d 65 20 | 74 68 65 20 72 65 73 75 |send me |the resu|
|00001d10| 6c 74 73 2c 20 70 6c 65 | 61 73 65 20 64 6f 2e 20 |lts, ple|ase do. |
|00001d20| 20 53 4d 41 4c 4c 0a 58 | 65 6c 69 6d 69 6e 61 74 | SMALL.X|eliminat|
|00001d30| 65 73 20 74 68 65 20 70 | 61 75 73 65 20 66 65 61 |es the p|ause fea|
|00001d40| 74 75 72 65 20 28 70 61 | 75 73 65 2c 20 63 6f 6e |ture (pa|use, con|
|00001d50| 74 69 6e 75 65 2c 20 65 | 72 72 70 61 75 73 65 2c |tinue, e|rrpause,|
|00001d60| 20 65 74 63 2e 29 20 61 | 6e 64 20 74 68 65 0a 58 | etc.) a|nd the.X|
|00001d70| 70 72 6f 70 65 72 74 79 | 20 6c 69 73 74 20 66 65 |property| list fe|
|00001d80| 61 74 75 72 65 20 28 70 | 70 72 6f 70 2c 20 67 70 |ature (p|prop, gp|
|00001d90| 72 6f 70 2c 20 65 74 63 | 2e 29 20 61 73 20 77 65 |rop, etc|.) as we|
|00001da0| 6c 6c 20 61 73 20 75 73 | 69 6e 67 20 73 68 6f 72 |ll as us|ing shor|
|00001db0| 74 20 69 6e 74 73 20 61 | 6e 64 0a 58 66 6c 6f 61 |t ints a|nd.Xfloa|
|00001dc0| 74 73 20 69 6e 73 74 65 | 61 64 20 6f 66 20 6c 6f |ts inste|ad of lo|
|00001dd0| 6e 67 20 69 6e 74 73 20 | 61 6e 64 20 64 6f 75 62 |ng ints |and doub|
|00001de0| 6c 65 73 2e 29 0a 58 0a | 58 54 68 65 20 66 69 6c |les.).X.|XThe fil|
|00001df0| 65 20 22 6c 6f 67 6f 6d | 61 6e 22 20 69 6e 20 74 |e "logom|an" in t|
|00001e00| 68 69 73 20 64 69 72 65 | 63 74 6f 72 79 20 69 73 |his dire|ctory is|
|00001e10| 20 61 6e 20 6e 72 6f 66 | 66 2d 66 6f 72 6d 61 74 | an nrof|f-format|
|00001e20| 20 72 65 66 65 72 65 6e | 63 65 20 6d 61 6e 75 61 | referen|ce manua|
|00001e30| 6c 2e 20 49 74 27 73 0a | 58 76 65 72 79 20 74 65 |l. It's.|Xvery te|
|00001e40| 72 73 65 3b 20 79 6f 75 | 20 73 68 6f 75 6c 64 20 |rse; you| should |
|00001e50| 72 65 61 6c 6c 79 20 6c | 65 61 72 6e 20 4c 6f 67 |really l|earn Log|
|00001e60| 6f 20 66 72 6f 6d 20 73 | 6f 6d 65 20 6f 74 68 65 |o from s|ome othe|
|00001e70| 72 20 6d 61 6e 75 61 6c | 20 61 6e 64 20 75 73 65 |r manual| and use|
|00001e80| 20 74 68 69 73 0a 58 6f | 6e 65 20 6a 75 73 74 20 | this.Xo|ne just |
|00001e90| 74 6f 20 6c 65 61 72 6e | 20 61 62 6f 75 74 20 69 |to learn| about i|
|00001ea0| 64 69 6f 73 79 6e 63 72 | 61 63 69 65 73 2e 20 20 |diosyncr|acies. |
|00001eb0| 54 68 65 72 65 20 61 72 | 65 20 61 6c 73 6f 20 74 |There ar|e also t|
|00001ec0| 77 6f 20 73 6d 61 6c 6c | 65 72 0a 58 64 6f 63 75 |wo small|er.Xdocu|
|00001ed0| 6d 65 6e 74 61 74 69 6f | 6e 20 66 69 6c 65 73 2c |mentatio|n files,|
|00001ee0| 20 22 61 70 70 6c 65 64 | 69 66 66 22 20 66 6f 72 | "appled|iff" for|
|00001ef0| 20 70 65 6f 70 6c 65 20 | 61 63 63 75 73 74 6f 6d | people |accustom|
|00001f00| 65 64 20 74 6f 20 41 70 | 70 6c 65 0a 58 4c 6f 67 |ed to Ap|ple.XLog|
|00001f10| 6f 2c 20 61 6e 64 20 22 | 6f 6c 64 64 69 66 66 22 |o, and "|olddiff"|
|00001f20| 20 66 6f 72 20 70 65 6f | 70 6c 65 20 61 63 63 75 | for peo|ple accu|
|00001f30| 73 74 6f 6d 65 64 20 74 | 6f 20 74 68 65 20 66 69 |stomed t|o the fi|
|00001f40| 72 73 74 20 4c 53 52 48 | 53 20 72 65 6c 65 61 73 |rst LSRH|S releas|
|00001f50| 65 2e 0a 58 49 66 20 79 | 6f 75 20 61 72 65 20 67 |e..XIf y|ou are g|
|00001f60| 65 74 74 69 6e 67 20 74 | 68 69 73 20 66 69 6c 65 |etting t|his file|
|00001f70| 20 76 69 61 20 55 73 65 | 6e 65 74 20 63 6f 6d 70 | via Use|net comp|
|00001f80| 2e 73 6f 75 72 63 65 73 | 2e 75 6e 69 78 2c 20 79 |.sources|.unix, y|
|00001f90| 6f 75 20 77 69 6c 6c 0a | 58 68 61 76 65 20 74 6f |ou will.|Xhave to|
|00001fa0| 20 64 6f 20 22 63 61 74 | 20 6c 6f 67 6f 6d 61 6e | do "cat| logoman|
|00001fb0| 2e 5b 31 32 5d 20 3e 6c | 6f 67 6f 6d 61 6e 22 20 |.[12] >l|ogoman" |
|00001fc0| 66 69 72 73 74 2e 0a 58 | 0a 58 55 73 65 72 73 20 |first..X|.XUsers |
|00001fd0| 6f 66 20 74 68 65 20 66 | 69 72 73 74 20 72 65 6c |of the f|irst rel|
|00001fe0| 65 61 73 65 20 6f 66 20 | 4c 53 52 48 53 20 4c 6f |ease of |LSRHS Lo|
|00001ff0| 67 6f 20 28 74 68 65 20 | 6f 6e 65 20 6f 6e 20 74 |go (the |one on t|
|00002000| 68 65 20 55 73 65 6e 69 | 78 20 38 32 2e 31 20 74 |he Useni|x 82.1 t|
|00002010| 61 70 65 29 0a 58 77 69 | 6c 6c 20 66 69 6e 64 20 |ape).Xwi|ll find |
|00002020| 74 68 65 20 70 72 65 73 | 65 6e 74 20 76 65 72 73 |the pres|ent vers|
|00002030| 69 6f 6e 20 6d 6f 72 65 | 20 72 6f 62 75 73 74 20 |ion more| robust |
|00002040| 61 6e 64 20 61 6c 73 6f | 20 6d 6f 72 65 20 66 65 |and also| more fe|
|00002050| 61 74 75 72 65 66 75 6c | 2e 20 20 49 74 73 0a 58 |atureful|. Its.X|
|00002060| 73 79 6e 74 61 78 20 69 | 73 20 6d 75 63 68 20 6c |syntax i|s much l|
|00002070| 69 6b 65 20 74 68 61 74 | 20 6f 66 20 41 70 70 6c |ike that| of Appl|
|00002080| 65 20 4c 6f 67 6f 2c 20 | 77 68 69 63 68 20 73 68 |e Logo, |which sh|
|00002090| 6f 75 6c 64 20 62 65 20 | 68 65 6c 70 66 75 6c 20 |ould be |helpful |
|000020a0| 74 6f 20 70 65 6f 70 6c | 65 0a 58 77 69 74 68 20 |to peopl|e.Xwith |
|000020b0| 41 70 70 6c 65 73 20 61 | 73 20 77 65 6c 6c 20 61 |Apples a|s well a|
|000020c0| 73 20 72 65 61 6c 20 63 | 6f 6d 70 75 74 65 72 73 |s real c|omputers|
|000020d0| 2e 20 20 4c 69 6e 65 20 | 6e 75 6d 62 65 72 73 20 |. Line |numbers |
|000020e0| 68 61 76 65 20 62 65 65 | 6e 20 66 6c 75 73 68 65 |have bee|n flushe|
|000020f0| 64 2c 0a 58 65 78 63 65 | 70 74 20 66 6f 72 20 75 |d,.Xexce|pt for u|
|00002100| 73 65 20 77 69 74 68 20 | 74 68 65 20 67 6f 20 63 |se with |the go c|
|00002110| 6f 6d 6d 61 6e 64 2e 20 | 20 54 68 65 20 6b 6c 75 |ommand. | The klu|
|00002120| 64 67 79 20 72 65 2d 65 | 6e 74 72 61 6e 74 20 75 |dgy re-e|ntrant u|
|00002130| 73 65 20 6f 66 20 74 68 | 65 20 59 41 43 43 0a 58 |se of th|e YACC.X|
|00002140| 70 61 72 73 65 72 20 68 | 61 73 20 62 65 65 6e 20 |parser h|as been |
|00002150| 65 6c 69 6d 69 6e 61 74 | 65 64 2e 0a 58 0a 58 54 |eliminat|ed..X.XT|
|00002160| 68 65 20 65 6e 63 6c 6f | 73 65 64 20 6d 61 6b 65 |he enclo|sed make|
|00002170| 66 69 6c 65 20 73 68 6f | 75 6c 64 20 6d 61 6e 61 |file sho|uld mana|
|00002180| 67 65 20 74 6f 20 63 6f | 6d 70 69 6c 65 20 74 68 |ge to co|mpile th|
|00002190| 69 73 20 4c 6f 67 6f 20 | 77 69 74 68 20 6e 6f 20 |is Logo |with no |
|000021a0| 65 72 72 6f 72 73 2e 0a | 58 59 6f 75 20 77 69 6c |errors..|XYou wil|
|000021b0| 6c 20 68 61 76 65 20 74 | 6f 20 6d 61 6b 65 20 73 |l have t|o make s|
|000021c0| 6f 6d 65 20 6d 6f 64 69 | 66 69 63 61 74 69 6f 6e |ome modi|fication|
|000021d0| 73 20 66 6f 72 20 6c 6f | 63 61 6c 20 63 6f 6e 64 |s for lo|cal cond|
|000021e0| 69 74 69 6f 6e 73 2c 20 | 6d 6f 73 74 20 6e 6f 74 |itions, |most not|
|000021f0| 61 62 6c 79 0a 58 69 6e | 20 74 68 65 20 61 72 65 |ably.Xin| the are|
|00002200| 61 20 6f 66 20 74 75 72 | 74 6c 65 20 67 72 61 70 |a of tur|tle grap|
|00002210| 68 69 63 73 2e 20 20 4d | 6f 73 74 20 69 6e 73 74 |hics. M|ost inst|
|00002220| 61 6c 6c 61 74 69 6f 6e | 20 64 65 70 65 6e 64 65 |allation| depende|
|00002230| 6e 63 69 65 73 20 68 61 | 76 65 20 62 65 65 6e 0a |ncies ha|ve been.|
|00002240| 58 63 6f 6c 6c 65 63 74 | 65 64 20 61 74 20 74 68 |Xcollect|ed at th|
|00002250| 65 20 62 65 67 69 6e 6e | 69 6e 67 20 6f 66 20 74 |e beginn|ing of t|
|00002260| 68 65 20 66 69 6c 65 20 | 6c 6f 67 6f 2e 68 20 77 |he file |logo.h w|
|00002270| 68 69 63 68 20 69 73 20 | 69 6e 63 6c 75 64 65 64 |hich is |included|
|00002280| 20 69 6e 20 61 6c 6c 0a | 58 63 6f 6d 70 69 6c 61 | in all.|Xcompila|
|00002290| 74 69 6f 6e 73 2e 0a 58 | 0a 58 54 55 52 54 4c 45 |tions..X|.XTURTLE|
|000022a0| 20 47 52 41 50 48 49 43 | 53 2e 20 20 59 6f 75 20 | GRAPHIC|S. You |
|000022b0| 6d 75 73 74 20 23 64 65 | 66 69 6e 65 20 73 79 6d |must #de|fine sym|
|000022c0| 62 6f 6c 73 20 69 6e 20 | 6c 6f 67 6f 2e 68 20 66 |bols in |logo.h f|
|000022d0| 6f 72 20 74 68 65 20 6b | 69 6e 64 28 73 29 20 6f |or the k|ind(s) o|
|000022e0| 66 0a 58 64 69 73 70 6c | 61 79 20 68 61 72 64 77 |f.Xdispl|ay hardw|
|000022f0| 61 72 65 20 79 6f 75 20 | 73 75 70 70 6f 72 74 2e |are you |support.|
|00002300| 20 20 41 6c 73 6f 2c 20 | 69 66 20 79 6f 75 20 68 | Also, |if you h|
|00002310| 61 76 65 20 61 20 67 72 | 61 70 68 69 63 73 20 74 |ave a gr|aphics t|
|00002320| 65 72 6d 69 6e 61 6c 20 | 77 68 69 63 68 0a 58 69 |erminal |which.Xi|
|00002330| 73 20 6e 6f 74 20 6f 6e | 65 20 6f 66 20 74 68 65 |s not on|e of the|
|00002340| 20 6f 6e 65 73 20 61 6c | 72 65 61 64 79 20 73 75 | ones al|ready su|
|00002350| 70 70 6f 72 74 65 64 20 | 69 6e 20 74 68 69 73 20 |pported |in this |
|00002360| 72 65 6c 65 61 73 65 2c | 20 79 6f 75 27 6c 6c 20 |release,| you'll |
|00002370| 68 61 76 65 20 74 6f 0a | 58 61 64 64 20 73 6f 6d |have to.|Xadd som|
|00002380| 65 20 63 6f 64 65 20 74 | 6f 20 74 75 72 74 6c 65 |e code t|o turtle|
|00002390| 2e 63 20 74 6f 20 73 75 | 70 70 6f 72 74 20 69 74 |.c to su|pport it|
|000023a0| 2e 20 20 54 68 65 20 65 | 6e 63 6c 6f 73 65 64 20 |. The e|nclosed |
|000023b0| 74 75 72 74 6c 65 2e 63 | 0a 58 6b 6e 6f 77 73 20 |turtle.c|.Xknows |
|000023c0| 61 62 6f 75 74 20 73 69 | 78 20 6b 69 6e 64 73 20 |about si|x kinds |
|000023d0| 6f 66 20 67 72 61 70 68 | 69 63 73 20 68 61 72 64 |of graph|ics hard|
|000023e0| 77 61 72 65 3a 0a 58 09 | 31 29 20 54 65 72 72 61 |ware:.X.|1) Terra|
|000023f0| 70 69 6e 20 66 6c 6f 6f | 72 20 74 75 72 74 6c 65 |pin floo|r turtle|
|00002400| 73 2c 20 63 6f 6e 6e 65 | 63 74 65 64 20 76 69 61 |s, conne|cted via|
|00002410| 20 44 52 31 31 2d 4b 20 | 69 6e 74 65 72 66 61 63 | DR11-K |interfac|
|00002420| 65 73 2e 0a 58 09 32 29 | 20 41 74 61 72 69 20 38 |es..X.2)| Atari 8|
|00002430| 30 30 20 70 65 72 73 6f | 6e 61 6c 20 63 6f 6d 70 |00 perso|nal comp|
|00002440| 75 74 65 72 73 2c 20 72 | 75 6e 6e 69 6e 67 20 61 |uters, r|unning a|
|00002450| 20 73 70 65 63 69 61 6c | 20 74 65 72 6d 69 6e 61 | special| termina|
|00002460| 6c 20 70 72 6f 67 72 61 | 6d 2e 0a 58 09 33 29 20 |l progra|m..X.3) |
|00002470| 44 45 43 20 47 49 47 49 | 20 67 72 61 70 68 69 63 |DEC GIGI| graphic|
|00002480| 73 20 74 65 72 6d 69 6e | 61 6c 73 2e 0a 58 09 34 |s termin|als..X.4|
|00002490| 29 20 52 65 74 72 6f 67 | 72 61 70 68 69 63 73 20 |) Retrog|raphics |
|000024a0| 62 6f 61 72 64 73 20 28 | 6b 6e 6f 77 6e 20 74 6f |boards (|known to|
|000024b0| 20 77 6f 72 6b 20 77 69 | 74 68 20 41 44 4d 2d 35 | work wi|th ADM-5|
|000024c0| 20 74 65 72 6d 69 6e 61 | 6c 73 2c 0a 58 09 09 6d | termina|ls,.X..m|
|000024d0| 61 79 62 65 20 61 6c 73 | 6f 20 66 6f 72 20 6f 74 |aybe als|o for ot|
|000024e0| 68 65 72 20 52 65 74 72 | 6f 67 72 61 70 68 69 63 |her Retr|ographic|
|000024f0| 73 20 70 72 6f 64 75 63 | 74 73 29 2e 0a 58 09 35 |s produc|ts)..X.5|
|00002500| 29 20 54 65 6b 74 72 6f | 6e 69 78 20 34 30 31 34 |) Tektro|nix 4014|
|00002510| 20 73 74 6f 72 61 67 65 | 20 74 75 62 65 20 64 69 | storage| tube di|
|00002520| 73 70 6c 61 79 73 20 28 | 77 69 74 68 20 73 65 76 |splays (|with sev|
|00002530| 65 72 65 20 72 65 73 74 | 72 69 63 74 69 6f 6e 73 |ere rest|rictions|
|00002540| 0a 58 09 09 62 65 63 61 | 75 73 65 20 6f 66 20 74 |.X..beca|use of t|
|00002550| 68 65 69 72 20 69 6e 61 | 62 69 6c 69 74 79 20 74 |heir ina|bility t|
|00002560| 6f 20 65 72 61 73 65 20 | 73 65 6c 65 63 74 69 76 |o erase |selectiv|
|00002570| 65 6c 79 29 2e 0a 58 09 | 36 29 20 53 75 6e 20 4d |ely)..X.|6) Sun M|
|00002580| 69 63 72 6f 73 79 73 74 | 65 6d 73 20 77 6f 72 6b |icrosyst|ems work|
|00002590| 73 74 61 74 69 6f 6e 73 | 2e 0a 58 54 68 65 20 66 |stations|..XThe f|
|000025a0| 69 6c 65 73 20 2e 2f 2a | 2e 69 20 63 6f 6e 74 61 |iles ./*|.i conta|
|000025b0| 69 6e 20 74 65 72 6d 69 | 6e 61 6c 2d 73 70 65 63 |in termi|nal-spec|
|000025c0| 69 66 69 63 20 63 6f 64 | 65 20 77 68 69 63 68 20 |ific cod|e which |
|000025d0| 69 73 20 23 69 6e 63 6c | 75 64 65 64 20 69 6e 20 |is #incl|uded in |
|000025e0| 74 68 65 0a 58 63 6f 6d | 70 69 6c 61 74 69 6f 6e |the.Xcom|pilation|
|000025f0| 20 6f 66 20 74 75 72 74 | 6c 65 2e 63 20 69 66 20 | of turt|le.c if |
|00002600| 74 68 65 20 63 6f 72 72 | 65 73 70 6f 6e 64 69 6e |the corr|espondin|
|00002610| 67 20 74 65 72 6d 69 6e | 61 6c 20 69 73 20 23 64 |g termin|al is #d|
|00002620| 65 66 69 6e 65 64 20 69 | 6e 20 6c 6f 67 6f 2e 68 |efined i|n logo.h|
|00002630| 2e 0a 58 54 68 65 20 63 | 6f 64 65 20 66 6f 72 20 |..XThe c|ode for |
|00002640| 66 6c 6f 6f 72 20 74 75 | 72 74 6c 65 73 20 69 73 |floor tu|rtles is|
|00002650| 20 64 6f 6e 65 20 76 65 | 72 79 20 64 69 66 66 65 | done ve|ry diffe|
|00002660| 72 65 6e 74 6c 79 20 61 | 6e 64 20 69 73 20 6e 6f |rently a|nd is no|
|00002670| 74 20 73 65 70 61 72 61 | 74 65 64 20 69 6e 74 6f |t separa|ted into|
|00002680| 0a 58 61 20 2e 69 20 66 | 69 6c 65 20 62 65 63 61 |.Xa .i f|ile beca|
|00002690| 75 73 65 2c 20 61 6c 61 | 73 2c 20 69 74 27 73 20 |use, ala|s, it's |
|000026a0| 6e 6f 74 20 73 6f 20 6d | 6f 64 75 6c 61 72 2e 20 |not so m|odular. |
|000026b0| 20 49 66 20 79 6f 75 20 | 68 61 76 65 20 6e 65 69 | If you |have nei|
|000026c0| 74 68 65 72 20 67 72 61 | 70 68 69 63 73 0a 58 74 |ther gra|phics.Xt|
|000026d0| 65 72 6d 69 6e 61 6c 73 | 20 6e 6f 72 20 66 6c 6f |erminals| nor flo|
|000026e0| 6f 72 20 74 75 72 74 6c | 65 73 2c 20 79 6f 75 20 |or turtl|es, you |
|000026f0| 73 68 6f 75 6c 64 20 74 | 75 72 6e 20 6f 6e 20 74 |should t|urn on t|
|00002700| 68 65 20 4e 4f 54 55 52 | 54 4c 45 20 64 65 66 69 |he NOTUR|TLE defi|
|00002710| 6e 69 74 69 6f 6e 20 69 | 6e 0a 58 6c 6f 67 6f 2e |nition i|n.Xlogo.|
|00002720| 68 20 74 6f 20 65 6c 69 | 6d 69 6e 61 74 65 20 74 |h to eli|minate t|
|00002730| 68 65 20 74 75 72 74 6c | 65 20 70 72 69 6d 69 74 |he turtl|e primit|
|00002740| 69 76 65 73 2e 0a 58 0a | 58 44 45 46 41 55 4c 54 |ives..X.|XDEFAULT|
|00002750| 20 45 44 49 54 4f 52 2e | 20 20 54 68 65 20 22 65 | EDITOR.| The "e|
|00002760| 64 69 74 22 20 63 6f 6d | 6d 61 6e 64 20 69 6e 20 |dit" com|mand in |
|00002770| 4c 6f 67 6f 20 64 6f 65 | 73 20 6e 6f 74 20 75 73 |Logo doe|s not us|
|00002780| 65 20 61 6e 20 65 64 69 | 74 6f 72 20 62 75 69 6c |e an edi|tor buil|
|00002790| 74 0a 58 69 6e 74 6f 20 | 4c 6f 67 6f 20 69 74 73 |t.Xinto |Logo its|
|000027a0| 65 6c 66 2e 20 20 49 6e | 73 74 65 61 64 2c 20 69 |elf. In|stead, i|
|000027b0| 74 20 66 6f 72 6b 73 20 | 61 6e 64 20 72 75 6e 73 |t forks |and runs|
|000027c0| 20 79 6f 75 72 20 66 61 | 76 6f 72 69 74 65 20 65 | your fa|vorite e|
|000027d0| 64 69 74 6f 72 20 69 6e | 20 61 0a 58 6e 65 77 20 |ditor in| a.Xnew |
|000027e0| 70 72 6f 63 65 73 73 2e | 20 20 49 66 20 79 6f 75 |process.| If you|
|000027f0| 20 68 61 76 65 20 61 6e | 20 45 44 49 54 4f 52 20 | have an| EDITOR |
|00002800| 76 61 72 69 61 62 6c 65 | 20 69 6e 20 79 6f 75 72 |variable| in your|
|00002810| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 2c 20 69 74 | environ|ment, it|
|00002820| 20 75 73 65 73 0a 58 74 | 68 61 74 20 65 64 69 74 | uses.Xt|hat edit|
|00002830| 6f 72 20 28 69 74 20 74 | 72 69 65 73 20 77 69 74 |or (it t|ries wit|
|00002840| 68 20 2f 62 69 6e 2c 20 | 2f 75 73 72 2f 62 69 6e |h /bin, |/usr/bin|
|00002850| 2c 20 61 6e 64 20 6e 6f | 74 68 69 6e 67 20 70 72 |, and no|thing pr|
|00002860| 65 70 65 6e 64 65 64 29 | 2e 20 20 49 66 20 6e 6f |epended)|. If no|
|00002870| 74 2c 0a 58 69 74 20 75 | 73 65 73 20 74 68 65 20 |t,.Xit u|ses the |
|00002880| 65 64 69 74 6f 72 20 73 | 70 65 63 69 66 69 65 64 |editor s|pecified|
|00002890| 20 69 6e 20 74 68 65 20 | 45 44 54 20 64 65 66 69 | in the |EDT defi|
|000028a0| 6e 69 74 69 6f 6e 20 69 | 6e 20 6c 6f 67 6f 2e 68 |nition i|n logo.h|
|000028b0| 2e 20 20 54 68 69 73 20 | 69 73 0a 58 22 6a 6f 76 |. This |is.X"jov|
|000028c0| 65 22 20 69 6e 20 74 68 | 65 20 76 65 72 73 69 6f |e" in th|e versio|
|000028d0| 6e 20 61 73 20 64 69 73 | 74 72 69 62 75 74 65 64 |n as dis|tributed|
|000028e0| 2e 0a 58 0a 58 49 4e 50 | 55 54 20 57 41 49 54 49 |..X.XINP|UT WAITI|
|000028f0| 4e 47 20 54 45 53 54 2e | 20 20 54 68 65 20 22 6b |NG TEST.| The "k|
|00002900| 65 79 70 22 20 6f 70 65 | 72 61 74 69 6f 6e 20 64 |eyp" ope|ration d|
|00002910| 65 70 65 6e 64 73 20 6f | 6e 20 61 20 73 79 73 74 |epends o|n a syst|
|00002920| 65 6d 20 63 61 6c 6c 20 | 74 6f 0a 58 63 68 65 63 |em call |to.Xchec|
|00002930| 6b 20 66 6f 72 20 63 68 | 61 72 61 63 74 65 72 73 |k for ch|aracters|
|00002940| 20 77 61 69 74 69 6e 67 | 20 74 6f 20 62 65 20 72 | waiting| to be r|
|00002950| 65 61 64 20 66 72 6f 6d | 20 74 68 65 20 6b 65 79 |ead from| the key|
|00002960| 62 6f 61 72 64 2e 20 20 | 49 66 20 79 6f 75 20 61 |board. |If you a|
|00002970| 72 65 0a 58 72 75 6e 6e | 69 6e 67 20 61 20 42 65 |re.Xrunn|ing a Be|
|00002980| 72 6b 65 6c 65 79 2d 64 | 65 72 69 76 65 64 20 55 |rkeley-d|erived U|
|00002990| 6e 69 78 2c 20 74 68 69 | 73 20 77 69 6c 6c 20 77 |nix, thi|s will w|
|000029a0| 6f 72 6b 20 63 6f 72 72 | 65 63 74 6c 79 2e 20 20 |ork corr|ectly. |
|000029b0| 49 66 20 6e 6f 74 2c 20 | 62 75 74 0a 58 79 6f 75 |If not, |but.Xyou|
|000029c0| 20 68 61 76 65 20 79 6f | 75 72 20 6f 77 6e 20 73 | have yo|ur own s|
|000029d0| 75 63 68 20 73 79 73 74 | 65 6d 20 63 61 6c 6c 2c |uch syst|em call,|
|000029e0| 20 65 64 69 74 20 70 72 | 6f 63 65 64 75 72 65 20 | edit pr|ocedure |
|000029f0| 6b 65 79 70 28 29 20 69 | 6e 20 6c 6f 67 6f 61 75 |keyp() i|n logoau|
|00002a00| 78 2e 63 0a 58 74 6f 20 | 75 73 65 20 79 6f 75 72 |x.c.Xto |use your|
|00002a10| 20 6f 77 6e 20 76 65 72 | 73 69 6f 6e 2e 0a 58 0a | own ver|sion..X.|
|00002a20| 58 46 49 4c 45 4e 41 4d | 45 20 46 4f 52 4d 41 54 |XFILENAM|E FORMAT|
|00002a30| 2e 20 20 45 61 63 68 20 | 4c 6f 67 6f 20 70 72 6f |. Each |Logo pro|
|00002a40| 63 65 64 75 72 65 20 69 | 73 20 73 74 6f 72 65 64 |cedure i|s stored|
|00002a50| 20 69 6e 20 61 20 66 69 | 6c 65 20 63 61 6c 6c 65 | in a fi|le calle|
|00002a60| 64 20 3c 6e 61 6d 65 3e | 2e 6c 67 0a 58 69 6e 20 |d <name>|.lg.Xin |
|00002a70| 74 68 65 20 63 75 72 72 | 65 6e 74 20 77 6f 72 6b |the curr|ent work|
|00002a80| 69 6e 67 20 64 69 72 65 | 63 74 6f 72 79 2e 20 20 |ing dire|ctory. |
|00002a90| 55 6e 64 65 72 20 76 65 | 72 73 69 6f 6e 20 37 20 |Under ve|rsion 7 |
|00002aa0| 55 6e 69 78 2c 20 74 68 | 69 73 20 61 6c 6c 6f 77 |Unix, th|is allow|
|00002ab0| 73 20 6e 61 6d 65 73 0a | 58 6f 66 20 70 72 6f 63 |s names.|Xof proc|
|00002ac0| 65 64 75 72 65 73 20 74 | 6f 20 62 65 20 75 70 20 |edures t|o be up |
|00002ad0| 74 6f 20 65 6c 65 76 65 | 6e 20 6c 65 74 74 65 72 |to eleve|n letter|
|00002ae0| 73 20 6c 6f 6e 67 2e 20 | 20 56 4d 53 20 66 69 6c |s long. | VMS fil|
|00002af0| 65 6e 61 6d 65 73 20 63 | 61 6e 20 6f 6e 6c 79 20 |enames c|an only |
|00002b00| 62 65 0a 58 6e 69 6e 65 | 20 6c 65 74 74 65 72 73 |be.Xnine| letters|
|00002b10| 2e 20 20 54 68 65 20 70 | 61 72 61 6d 65 74 65 72 |. The p|arameter|
|00002b20| 20 4e 41 4d 45 4c 45 4e | 20 69 6e 20 6c 6f 67 6f | NAMELEN| in logo|
|00002b30| 2e 68 20 73 68 6f 75 6c | 64 20 62 65 20 61 64 6a |.h shoul|d be adj|
|00002b40| 75 73 74 65 64 2e 20 20 | 28 4e 6f 74 65 3a 0a 58 |usted. |(Note:.X|
|00002b50| 64 65 70 65 6e 64 69 6e | 67 20 6f 6e 20 77 68 65 |dependin|g on whe|
|00002b60| 6e 20 79 6f 75 20 67 6f | 74 20 79 6f 75 72 20 76 |n you go|t your v|
|00002b70| 65 72 73 69 6f 6e 20 6f | 66 20 45 75 6e 69 63 65 |ersion o|f Eunice|
|00002b80| 2c 20 69 74 20 6d 61 79 | 20 61 6c 6c 6f 77 20 72 |, it may| allow r|
|00002b90| 65 61 6c 20 55 6e 69 78 | 0a 58 66 69 6c 65 6e 61 |eal Unix|.Xfilena|
|00002ba0| 6d 65 73 2c 20 69 6e 20 | 77 68 69 63 68 20 63 61 |mes, in |which ca|
|00002bb0| 73 65 20 79 6f 75 20 6e | 65 65 64 6e 27 74 20 77 |se you n|eedn't w|
|00002bc0| 6f 72 72 79 20 61 62 6f | 75 74 20 74 68 69 73 2e |orry abo|ut this.|
|00002bd0| 29 0a 58 0a 58 54 48 45 | 20 50 41 55 53 45 20 46 |).X.XTHE| PAUSE F|
|00002be0| 45 41 54 55 52 45 2e 20 | 20 59 6f 75 20 63 61 6e |EATURE. | You can|
|00002bf0| 20 70 61 75 73 65 20 6f | 6e 20 61 6e 20 65 72 72 | pause o|n an err|
|00002c00| 6f 72 0a 58 69 6e 73 69 | 64 65 20 61 20 70 72 6f |or.Xinsi|de a pro|
|00002c10| 63 65 64 75 72 65 2c 20 | 73 6f 20 79 6f 75 20 63 |cedure, |so you c|
|00002c20| 61 6e 20 65 78 61 6d 69 | 6e 65 20 74 68 65 20 63 |an exami|ne the c|
|00002c30| 6f 6e 74 65 78 74 20 69 | 6e 74 65 72 61 63 74 69 |ontext i|nteracti|
|00002c40| 76 65 6c 79 2e 20 20 54 | 68 65 0a 58 70 61 75 73 |vely. T|he.Xpaus|
|00002c50| 65 20 66 65 61 74 75 72 | 65 20 64 69 73 74 69 6e |e featur|e distin|
|00002c60| 67 75 69 73 68 65 73 20 | 53 49 47 49 4e 54 20 61 |guishes |SIGINT a|
|00002c70| 6e 64 20 53 49 47 51 55 | 49 54 2c 20 77 68 69 63 |nd SIGQU|IT, whic|
|00002c80| 68 20 77 65 72 65 20 74 | 72 65 61 74 65 64 20 69 |h were t|reated i|
|00002c90| 64 65 6e 74 69 63 61 6c | 6c 79 0a 58 69 6e 20 65 |dentical|ly.Xin e|
|00002ca0| 61 72 6c 69 65 72 20 72 | 65 6c 65 61 73 65 73 2e |arlier r|eleases.|
|00002cb0| 20 20 49 6e 20 74 68 65 | 20 6e 6f 72 6d 61 6c 20 | In the| normal |
|00002cc0| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 2c 20 53 49 |distribu|tion, SI|
|00002cd0| 47 51 55 49 54 20 72 65 | 74 75 72 6e 73 20 74 6f |GQUIT re|turns to|
|00002ce0| 20 74 6f 70 6c 65 76 65 | 6c 2c 0a 58 77 68 65 72 | topleve|l,.Xwher|
|00002cf0| 65 61 73 20 53 49 47 49 | 4e 54 20 63 61 75 73 65 |eas SIGI|NT cause|
|00002d00| 73 20 61 20 70 61 75 73 | 65 2e 20 20 54 68 65 20 |s a paus|e. The |
|00002d10| 70 72 6f 62 6c 65 6d 20 | 69 73 20 77 69 74 68 20 |problem |is with |
|00002d20| 45 75 6e 69 63 65 2c 20 | 77 68 69 63 68 20 64 6f |Eunice, |which do|
|00002d30| 65 73 6e 27 74 0a 58 70 | 72 6f 76 69 64 65 20 53 |esn't.Xp|rovide S|
|00002d40| 49 47 51 55 49 54 20 62 | 65 63 61 75 73 65 20 56 |IGQUIT b|ecause V|
|00002d50| 4d 53 20 64 6f 65 73 6e | 27 74 20 68 61 76 65 20 |MS doesn|'t have |
|00002d60| 65 6e 6f 75 67 68 20 69 | 6e 74 65 72 72 75 70 74 |enough i|nterrupt|
|00002d70| 20 63 68 61 72 61 63 74 | 65 72 73 2e 0a 58 54 68 | charact|ers..XTh|
|00002d80| 65 72 65 66 6f 72 65 2c | 20 74 68 65 20 73 74 61 |erefore,| the sta|
|00002d90| 6e 64 61 72 64 20 64 69 | 73 74 72 69 62 75 74 69 |ndard di|stributi|
|00002da0| 6f 6e 20 61 6c 6c 6f 77 | 73 20 70 61 75 73 69 6e |on allow|s pausin|
|00002db0| 67 20 62 75 74 20 6e 6f | 74 20 71 75 69 74 74 69 |g but no|t quitti|
|00002dc0| 6e 67 20 74 6f 0a 58 74 | 6f 70 6c 65 76 65 6c 2c |ng to.Xt|oplevel,|
|00002dd0| 20 61 6c 74 68 6f 75 67 | 68 20 79 6f 75 20 63 61 | althoug|h you ca|
|00002de0| 6e 20 73 61 79 20 22 74 | 6f 70 6c 65 76 65 6c 22 |n say "t|oplevel"|
|00002df0| 20 77 68 69 6c 65 20 70 | 61 75 73 65 64 2e 20 20 | while p|aused. |
|00002e00| 49 66 20 79 6f 75 27 64 | 20 72 61 74 68 65 72 0a |If you'd| rather.|
|00002e10| 58 68 61 76 65 20 71 75 | 69 74 74 69 6e 67 20 62 |Xhave qu|itting b|
|00002e20| 65 20 74 68 65 20 64 65 | 66 61 75 6c 74 2c 20 61 |e the de|fault, a|
|00002e30| 73 20 69 6e 20 70 72 65 | 76 69 6f 75 73 20 72 65 |s in pre|vious re|
|00002e40| 6c 65 61 73 65 73 2c 20 | 69 6e 74 65 72 63 68 61 |leases, |intercha|
|00002e50| 6e 67 65 20 74 68 65 0a | 58 64 65 66 69 6e 69 74 |nge the.|Xdefinit|
|00002e60| 69 6f 6e 73 20 6f 66 20 | 50 41 55 53 45 53 49 47 |ions of |PAUSESIG|
|00002e70| 20 61 6e 64 20 4f 54 48 | 45 52 53 49 47 20 69 6e | and OTH|ERSIG in|
|00002e80| 20 6c 6f 67 6f 2e 68 3b | 20 74 68 65 72 65 20 61 | logo.h;| there a|
|00002e90| 72 65 20 61 6c 73 6f 20 | 63 6f 6d 6d 61 6e 64 73 |re also |commands|
|00002ea0| 0a 58 74 6f 20 61 6c 6c | 6f 77 20 74 68 65 20 75 |.Xto all|ow the u|
|00002eb0| 73 65 72 20 74 6f 20 6d | 61 6b 65 20 74 68 69 73 |ser to m|ake this|
|00002ec0| 20 73 77 69 74 63 68 20 | 64 79 6e 61 6d 69 63 61 | switch |dynamica|
|00002ed0| 6c 6c 79 2e 0a 58 0a 58 | 28 45 75 6e 69 63 65 20 |lly..X.X|(Eunice |
|00002ee0| 75 73 65 72 73 3a 20 20 | 55 6e 74 69 6c 20 6a 75 |users: |Until ju|
|00002ef0| 73 74 20 72 65 63 65 6e | 74 6c 79 2c 20 61 6e 20 |st recen|tly, an |
|00002f00| 6f 62 73 63 75 72 65 20 | 62 75 67 20 69 6e 20 45 |obscure |bug in E|
|00002f10| 75 6e 69 63 65 20 68 61 | 64 20 74 68 65 20 65 66 |unice ha|d the ef|
|00002f20| 66 65 63 74 0a 58 74 68 | 61 74 20 77 68 65 6e 20 |fect.Xth|at when |
|00002f30| 79 6f 75 20 74 79 70 65 | 20 5e 43 20 79 6f 75 20 |you type| ^C you |
|00002f40| 64 6f 6e 27 74 20 73 65 | 65 20 61 20 70 72 6f 6d |don't se|e a prom|
|00002f50| 70 74 20 75 6e 74 69 6c | 20 79 6f 75 20 68 69 74 |pt until| you hit|
|00002f60| 20 72 65 74 75 72 6e 2e | 20 20 54 68 65 20 73 77 | return.| The sw|
|00002f70| 69 74 63 68 0a 58 63 61 | 6c 6c 65 64 20 45 55 4e |itch.Xca|lled EUN|
|00002f80| 49 43 45 20 69 6e 20 6c | 6f 67 6f 2e 68 20 65 6e |ICE in l|ogo.h en|
|00002f90| 61 62 6c 65 73 20 61 20 | 77 6f 72 6b 61 72 6f 75 |ables a |workarou|
|00002fa0| 6e 64 20 66 6f 72 20 74 | 68 69 73 20 62 75 67 2e |nd for t|his bug.|
|00002fb0| 20 20 44 61 76 65 20 4b | 61 73 68 74 61 6e 20 68 | Dave K|ashtan h|
|00002fc0| 61 73 0a 58 6e 6f 77 20 | 66 69 78 65 64 20 74 68 |as.Xnow |fixed th|
|00002fd0| 65 20 75 6e 64 65 72 6c | 79 69 6e 67 20 70 72 6f |e underl|ying pro|
|00002fe0| 62 6c 65 6d 2c 20 62 75 | 74 20 6e 6f 74 20 6e 65 |blem, bu|t not ne|
|00002ff0| 63 65 73 73 61 72 69 6c | 79 20 69 6e 20 74 68 65 |cessaril|y in the|
|00003000| 20 76 65 72 73 69 6f 6e | 20 79 6f 75 20 68 61 76 | version| you hav|
|00003010| 65 2e 0a 58 49 66 20 79 | 6f 75 20 67 65 74 20 74 |e..XIf y|ou get t|
|00003020| 6f 6f 20 66 65 77 20 70 | 72 6f 6d 70 74 73 2c 20 |oo few p|rompts, |
|00003030| 74 75 72 6e 20 6f 6e 20 | 74 68 65 20 23 64 65 66 |turn on |the #def|
|00003040| 69 6e 65 20 45 55 4e 49 | 43 45 3b 20 69 66 20 74 |ine EUNI|CE; if t|
|00003050| 6f 6f 20 6d 61 6e 79 20 | 70 72 6f 6d 70 74 73 2c |oo many |prompts,|
|00003060| 0a 58 74 75 72 6e 20 69 | 74 20 6f 66 66 2e 29 0a |.Xturn i|t off.).|
|00003070| 58 0a 58 2d 2d 2d 2d 2d | 0a 58 49 4e 53 54 41 4c |X.X-----|.XINSTAL|
|00003080| 4c 41 54 49 4f 4e 20 65 | 74 63 2e 0a 58 0a 58 53 |LATION e|tc..X.XS|
|00003090| 61 79 69 6e 67 20 22 6d | 61 6b 65 20 69 6e 73 74 |aying "m|ake inst|
|000030a0| 61 6c 6c 22 20 61 66 74 | 65 72 20 79 6f 75 20 63 |all" aft|er you c|
|000030b0| 6f 6d 70 69 6c 65 20 79 | 6f 75 72 20 4c 6f 67 6f |ompile y|our Logo|
|000030c0| 20 77 69 6c 6c 20 69 6e | 73 74 61 6c 6c 20 4c 6f | will in|stall Lo|
|000030d0| 67 6f 20 69 6e 0a 58 2f | 62 69 6e 2f 6c 6f 67 6f |go in.X/|bin/logo|
|000030e0| 20 61 6e 64 20 77 69 6c | 6c 20 61 6c 73 6f 20 73 | and wil|l also s|
|000030f0| 65 74 20 75 70 20 74 77 | 6f 20 64 69 72 65 63 74 |et up tw|o direct|
|00003100| 6f 72 69 65 73 3a 0a 58 | 09 2f 75 73 72 2f 6c 69 |ories:.X|./usr/li|
|00003110| 62 2f 6c 6f 67 6f 09 4c | 69 62 72 61 72 79 20 72 |b/logo.L|ibrary r|
|00003120| 6f 75 74 69 6e 65 73 20 | 77 72 69 74 74 65 6e 20 |outines |written |
|00003130| 69 6e 20 4c 6f 67 6f 20 | 66 6f 72 20 67 65 6e 65 |in Logo |for gene|
|00003140| 72 61 6c 20 75 73 65 0a | 58 09 09 09 09 41 6c 73 |ral use.|X....Als|
|00003150| 6f 20 73 74 75 66 66 20 | 66 6f 72 20 65 64 69 74 |o stuff |for edit|
|00003160| 20 61 6e 64 20 70 6f 74 | 73 20 63 6f 6d 6d 61 6e | and pot|s comman|
|00003170| 64 73 2e 0a 58 09 2f 75 | 73 72 2f 64 6f 63 2f 6c |ds..X./u|sr/doc/l|
|00003180| 6f 67 6f 09 45 78 63 65 | 72 70 74 73 20 66 72 6f |ogo.Exce|rpts fro|
|00003190| 6d 20 74 68 65 20 6d 61 | 6e 75 61 6c 20 66 6f 72 |m the ma|nual for|
|000031a0| 20 74 68 65 20 22 64 65 | 73 63 72 69 62 65 22 20 | the "de|scribe" |
|000031b0| 63 6f 6d 6d 61 6e 64 0a | 58 54 68 65 20 66 69 6c |command.|XThe fil|
|000031c0| 65 73 20 69 6e 20 74 68 | 65 73 65 20 64 69 72 65 |es in th|ese dire|
|000031d0| 63 74 6f 72 69 65 73 20 | 61 72 65 20 63 6f 70 69 |ctories |are copi|
|000031e0| 65 64 2c 20 6e 6f 74 20 | 6d 6f 76 65 64 3b 20 79 |ed, not |moved; y|
|000031f0| 6f 75 20 63 61 6e 20 64 | 65 6c 65 74 65 20 74 68 |ou can d|elete th|
|00003200| 65 0a 58 6f 72 69 67 69 | 6e 61 6c 73 20 69 66 20 |e.Xorigi|nals if |
|00003210| 79 6f 75 20 70 72 65 66 | 65 72 2e 20 20 53 65 65 |you pref|er. See|
|00003220| 20 74 68 65 20 6d 61 6b | 65 66 69 6c 65 2e 20 20 | the mak|efile. |
|00003230| 54 68 65 73 65 20 64 69 | 72 65 63 74 6f 72 69 65 |These di|rectorie|
|00003240| 73 20 6d 75 73 74 20 68 | 61 76 65 0a 58 74 68 65 |s must h|ave.Xthe|
|00003250| 20 6e 61 6d 65 73 20 73 | 68 6f 77 6e 20 68 65 72 | names s|hown her|
|00003260| 65 2c 20 61 6c 74 68 6f | 75 67 68 20 79 6f 75 20 |e, altho|ugh you |
|00003270| 63 61 6e 20 70 75 74 20 | 6c 6f 67 6f 20 69 74 73 |can put |logo its|
|00003280| 65 6c 66 20 73 6f 6d 65 | 77 68 65 72 65 20 6f 74 |elf some|where ot|
|00003290| 68 65 72 20 74 68 61 6e | 0a 58 2f 62 69 6e 20 69 |her than|.X/bin i|
|000032a0| 66 20 79 6f 75 20 70 72 | 65 66 65 72 2e 0a 58 0a |f you pr|efer..X.|
|000032b0| 58 54 68 65 72 65 20 61 | 72 65 20 74 68 72 65 65 |XThere a|re three|
|000032c0| 20 43 20 73 6f 75 72 63 | 65 20 66 69 6c 65 73 20 | C sourc|e files |
|000032d0| 69 6e 63 6c 75 64 65 64 | 20 68 65 72 65 20 77 68 |included| here wh|
|000032e0| 69 63 68 20 61 72 65 20 | 6e 6f 74 20 70 61 72 74 |ich are |not part|
|000032f0| 20 6f 66 20 74 68 65 20 | 4c 6f 67 6f 0a 58 69 6e | of the |Logo.Xin|
|00003300| 74 65 72 70 72 65 74 65 | 72 20 69 74 73 65 6c 66 |terprete|r itself|
|00003310| 2e 20 20 4f 6e 65 2c 20 | 6c 6f 67 6f 68 65 61 64 |. One, |logohead|
|00003320| 2e 63 2c 20 69 73 20 75 | 73 65 64 20 74 6f 20 63 |.c, is u|sed to c|
|00003330| 6f 6d 70 69 6c 65 20 74 | 68 65 20 70 72 6f 67 72 |ompile t|he progr|
|00003340| 61 6d 0a 58 2f 75 73 72 | 2f 6c 69 62 2f 6c 6f 67 |am.X/usr|/lib/log|
|00003350| 6f 2f 6c 6f 67 6f 68 65 | 61 64 20 77 68 69 63 68 |o/logohe|ad which|
|00003360| 20 69 73 20 75 73 65 64 | 20 66 6f 72 20 74 68 65 | is used| for the|
|00003370| 20 70 6f 74 73 20 63 6f | 6d 6d 61 6e 64 2e 20 20 | pots co|mmand. |
|00003380| 41 6e 6f 74 68 65 72 2c | 0a 58 73 70 6c 69 74 68 |Another,|.Xsplith|
|00003390| 65 6c 70 2e 63 2c 20 69 | 73 20 70 61 72 74 20 6f |elp.c, i|s part o|
|000033a0| 66 20 74 68 65 20 6d 61 | 6b 65 68 65 6c 70 20 73 |f the ma|kehelp s|
|000033b0| 68 65 6c 6c 20 73 63 72 | 69 70 74 20 77 68 69 63 |hell scr|ipt whic|
|000033c0| 68 20 69 73 20 75 73 65 | 64 20 74 6f 20 67 65 6e |h is use|d to gen|
|000033d0| 65 72 61 74 65 0a 58 74 | 68 65 20 6f 6e 6c 69 6e |erate.Xt|he onlin|
|000033e0| 65 20 68 65 6c 70 20 6d | 65 73 73 61 67 65 73 20 |e help m|essages |
|000033f0| 66 72 6f 6d 20 74 68 65 | 20 6d 61 6e 75 61 6c 2e |from the| manual.|
|00003400| 20 20 54 68 65 20 74 68 | 69 72 64 20 43 20 66 69 | The th|ird C fi|
|00003410| 6c 65 2c 0a 58 64 72 31 | 31 6b 2e 63 2c 20 69 73 |le,.Xdr1|1k.c, is|
|00003420| 20 61 20 64 65 76 69 63 | 65 20 64 72 69 76 65 72 | a devic|e driver|
|00003430| 20 66 6f 72 20 76 65 72 | 73 69 6f 6e 20 37 20 66 | for ver|sion 7 f|
|00003440| 6f 72 20 61 20 44 45 43 | 20 44 52 31 31 2d 4b 20 |or a DEC| DR11-K |
|00003450| 75 73 65 64 20 74 6f 20 | 69 6e 74 65 72 66 61 63 |used to |interfac|
|00003460| 65 0a 58 54 65 72 72 61 | 70 69 6e 20 66 6c 6f 6f |e.XTerra|pin floo|
|00003470| 72 20 74 75 72 74 6c 65 | 73 20 28 79 6f 75 20 67 |r turtle|s (you g|
|00003480| 65 74 20 74 77 6f 20 70 | 65 72 20 44 52 31 31 2d |et two p|er DR11-|
|00003490| 4b 29 20 74 6f 20 74 68 | 65 20 50 44 50 2d 31 31 |K) to th|e PDP-11|
|000034a0| 2e 20 20 54 68 65 20 69 | 6e 74 65 72 66 61 63 65 |. The i|nterface|
|000034b0| 0a 58 63 6f 73 74 73 20 | 6d 75 63 68 20 6d 6f 72 |.Xcosts |much mor|
|000034c0| 65 20 74 68 61 6e 20 74 | 68 65 20 74 75 72 74 6c |e than t|he turtl|
|000034d0| 65 73 21 0a 58 0a 58 49 | 4e 43 4f 4d 50 41 54 49 |es!.X.XI|NCOMPATI|
|000034e0| 42 49 4c 49 54 59 20 57 | 49 54 48 20 52 45 4c 45 |BILITY W|ITH RELE|
|000034f0| 41 53 45 20 32 2e 20 20 | 28 54 68 69 73 20 72 65 |ASE 2. |(This re|
|00003500| 6c 65 61 73 65 20 69 73 | 20 56 45 52 59 20 69 6e |lease is| VERY in|
|00003510| 63 6f 6d 70 61 74 69 62 | 6c 65 20 77 69 74 68 0a |compatib|le with.|
|00003520| 58 72 65 6c 65 61 73 65 | 20 31 3b 20 73 65 65 20 |Xrelease| 1; see |
|00003530| 74 68 65 20 66 69 6c 65 | 20 6f 6c 64 64 69 66 66 |the file| olddiff|
|00003540| 20 66 6f 72 20 64 65 74 | 61 69 6c 73 2e 29 20 20 | for det|ails.) |
|00003550| 54 6f 20 62 65 20 63 6f | 6d 70 61 74 69 62 6c 65 |To be co|mpatible|
|00003560| 0a 58 77 69 74 68 20 56 | 4d 53 20 72 65 73 74 72 |.Xwith V|MS restr|
|00003570| 69 63 74 65 64 20 66 69 | 6c 65 6e 61 6d 65 73 2c |icted fi|lenames,|
|00003580| 20 74 6f 20 72 75 6e 20 | 75 6e 64 65 72 20 45 75 | to run |under Eu|
|00003590| 6e 69 63 65 2c 20 74 68 | 65 20 6e 61 6d 65 73 20 |nice, th|e names |
|000035a0| 6f 66 20 66 69 6c 65 73 | 20 75 73 65 64 0a 58 74 |of files| used.Xt|
|000035b0| 6f 20 73 74 6f 72 65 20 | 4c 6f 67 6f 20 70 72 6f |o store |Logo pro|
|000035c0| 63 65 64 75 72 65 20 64 | 65 66 69 6e 69 74 69 6f |cedure d|efinitio|
|000035d0| 6e 73 20 68 61 76 65 20 | 62 65 65 6e 20 63 68 61 |ns have |been cha|
|000035e0| 6e 67 65 64 20 66 72 6f | 6d 20 66 6f 6f 2e 6c 6f |nged fro|m foo.lo|
|000035f0| 67 6f 20 74 6f 0a 58 66 | 6f 6f 2e 6c 67 20 28 73 |go to.Xf|oo.lg (s|
|00003600| 6f 6d 65 20 69 6e 73 74 | 61 6c 6c 61 74 69 6f 6e |ome inst|allation|
|00003610| 73 20 68 61 76 65 20 61 | 20 76 65 72 73 69 6f 6e |s have a| version|
|00003620| 20 6f 66 20 72 65 6c 65 | 61 73 65 20 32 20 69 6e | of rele|ase 2 in|
|00003630| 20 77 68 69 63 68 20 74 | 68 65 20 6e 61 6d 65 0a | which t|he name.|
|00003640| 58 66 6f 6f 2e 6c 6f 67 | 20 69 73 20 75 73 65 64 |Xfoo.log| is used|
|00003650| 2c 20 62 75 74 20 74 68 | 61 74 20 6c 6f 6f 6b 73 |, but th|at looks|
|00003660| 20 74 6f 6f 20 6d 75 63 | 68 20 6c 69 6b 65 20 61 | too muc|h like a|
|00003670| 20 6c 6f 67 20 66 69 6c | 65 20 66 72 6f 6d 20 61 | log fil|e from a|
|00003680| 20 62 61 74 63 68 20 6a | 6f 62 3b 0a 58 74 68 65 | batch j|ob;.Xthe|
|00003690| 20 6e 65 77 20 76 65 72 | 73 69 6f 6e 20 73 65 65 | new ver|sion see|
|000036a0| 6d 73 20 6d 6f 72 65 20 | 55 6e 69 78 79 20 61 6e |ms more |Unixy an|
|000036b0| 79 77 61 79 29 2e 20 20 | 49 66 20 79 6f 75 20 70 |yway). |If you p|
|000036c0| 72 65 66 65 72 20 74 6f | 20 6b 65 65 70 20 74 68 |refer to| keep th|
|000036d0| 65 20 6f 6c 64 0a 58 63 | 6f 6e 76 65 6e 74 69 6f |e old.Xc|onventio|
|000036e0| 6e 20 6f 66 20 2e 6c 6f | 67 6f 20 6e 61 6d 65 73 |n of .lo|go names|
|000036f0| 2c 20 74 75 72 6e 20 6f | 6e 20 74 68 65 20 64 65 |, turn o|n the de|
|00003700| 66 69 6e 69 74 69 6f 6e | 20 6f 66 20 45 58 54 4c |finition| of EXTL|
|00003710| 4f 47 4f 20 69 6e 20 6c | 6f 67 6f 2e 68 2e 0a 58 |OGO in l|ogo.h..X|
|00003720| 0a 58 43 68 65 63 6b 20 | 79 6f 75 72 20 6d 61 6b |.XCheck |your mak|
|00003730| 65 66 69 6c 65 20 74 6f | 20 62 65 20 73 75 72 65 |efile to| be sure|
|00003740| 20 69 74 20 72 65 66 65 | 72 73 20 74 6f 20 22 79 | it refe|rs to "y|
|00003750| 2e 74 61 62 2e 63 22 20 | 61 6e 64 20 22 79 2e 74 |.tab.c" |and "y.t|
|00003760| 61 62 2e 6f 22 20 6f 6e | 0a 58 55 6e 69 78 2c 20 |ab.o" on|.XUnix, |
|00003770| 22 79 74 61 62 2e 63 22 | 20 61 6e 64 20 22 79 74 |"ytab.c"| and "yt|
|00003780| 61 62 2e 6f 22 20 6f 6e | 20 45 75 6e 69 63 65 2e |ab.o" on| Eunice.|
|00003790| 20 20 28 41 67 61 69 6e | 2c 20 73 6f 6d 65 20 76 | (Again|, some v|
|000037a0| 65 72 73 69 6f 6e 73 20 | 6f 66 20 45 75 6e 69 63 |ersions |of Eunic|
|000037b0| 65 0a 58 75 73 65 20 74 | 68 65 20 72 65 61 6c 20 |e.Xuse t|he real |
|000037c0| 55 6e 69 78 20 66 69 6c | 65 6e 61 6d 65 73 2e 29 |Unix fil|enames.)|
|000037d0| 0a 58 0a 58 49 66 20 79 | 6f 75 20 68 61 76 65 20 |.X.XIf y|ou have |
|000037e0| 71 75 65 73 74 69 6f 6e | 73 20 61 62 6f 75 74 20 |question|s about |
|000037f0| 74 68 69 73 20 4c 6f 67 | 6f 2c 20 74 72 79 0a 58 |this Log|o, try.X|
|00003800| 09 43 6f 6d 70 75 74 65 | 72 20 44 65 70 61 72 74 |.Compute|r Depart|
|00003810| 6d 65 6e 74 0a 58 09 4c | 69 6e 63 6f 6c 6e 2d 53 |ment.X.L|incoln-S|
|00003820| 75 64 62 75 72 79 20 52 | 65 67 69 6f 6e 61 6c 20 |udbury R|egional |
|00003830| 48 69 67 68 20 53 63 68 | 6f 6f 6c 0a 58 09 33 39 |High Sch|ool.X.39|
|00003840| 30 20 4c 69 6e 63 6f 6c | 6e 20 52 6f 61 64 0a 58 |0 Lincol|n Road.X|
|00003850| 09 53 75 64 62 75 72 79 | 2c 20 4d 41 20 20 30 31 |.Sudbury|, MA 01|
|00003860| 37 37 36 0a 58 09 36 31 | 37 20 34 34 33 2d 39 39 |776.X.61|7 443-99|
|00003870| 36 31 0a 58 0a 45 4e 44 | 5f 4f 46 5f 52 45 41 44 |61.X.END|_OF_READ|
|00003880| 4d 45 0a 69 66 20 74 65 | 73 74 20 31 30 30 32 37 |ME.if te|st 10027|
|00003890| 20 2d 6e 65 20 60 77 63 | 20 2d 63 20 3c 52 45 41 | -ne `wc| -c <REA|
|000038a0| 44 4d 45 60 3b 20 74 68 | 65 6e 0a 20 20 20 20 65 |DME`; th|en. e|
|000038b0| 63 68 6f 20 73 68 61 72 | 3a 20 5c 22 52 45 41 44 |cho shar|: \"READ|
|000038c0| 4d 45 5c 22 20 75 6e 70 | 61 63 6b 65 64 20 77 69 |ME\" unp|acked wi|
|000038d0| 74 68 20 77 72 6f 6e 67 | 20 73 69 7a 65 21 0a 66 |th wrong| size!.f|
|000038e0| 69 0a 23 20 65 6e 64 20 | 6f 66 20 6f 76 65 72 77 |i.# end |of overw|
|000038f0| 72 69 74 69 6e 67 20 63 | 68 65 63 6b 0a 66 69 0a |riting c|heck.fi.|
|00003900| 69 66 20 74 65 73 74 20 | 2d 66 20 61 64 6d 2e 69 |if test |-f adm.i|
|00003910| 20 2d 61 20 22 24 7b 31 | 7d 22 20 21 3d 20 22 2d | -a "${1|}" != "-|
|00003920| 63 22 20 3b 20 74 68 65 | 6e 20 0a 20 20 65 63 68 |c" ; the|n . ech|
|00003930| 6f 20 73 68 61 72 3a 20 | 57 69 6c 6c 20 6e 6f 74 |o shar: |Will not|
|00003940| 20 6f 76 65 72 2d 77 72 | 69 74 65 20 65 78 69 73 | over-wr|ite exis|
|00003950| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 61 64 6d 2e |ting fil|e \"adm.|
|00003960| 69 5c 22 0a 65 6c 73 65 | 0a 65 63 68 6f 20 73 68 |i\".else|.echo sh|
|00003970| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|00003980| 22 61 64 6d 2e 69 5c 22 | 20 5c 28 31 34 34 34 20 |"adm.i\"| \(1444 |
|00003990| 63 68 61 72 61 63 74 65 | 72 73 5c 29 0a 73 65 64 |characte|rs\).sed|
|000039a0| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 61 64 6d 2e 69 | "s/^X//|" >adm.i|
|000039b0| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 61 64 6d 2e 69 | <<'END_|OF_adm.i|
|000039c0| 27 0a 58 2f 2a 20 49 6e | 63 6c 75 64 65 20 66 69 |'.X/* In|clude fi|
|000039d0| 6c 65 20 66 6f 72 20 74 | 75 72 74 6c 65 2e 63 20 |le for t|urtle.c |
|000039e0| 66 6f 72 20 41 44 4d 20 | 77 69 74 68 20 52 65 74 |for ADM |with Ret|
|000039f0| 72 6f 67 72 61 70 68 69 | 63 73 20 62 6f 61 72 64 |rographi|cs board|
|00003a00| 20 2a 2f 0a 58 0a 58 69 | 6e 74 20 61 64 6d 74 75 | */.X.Xi|nt admtu|
|00003a10| 72 74 28 29 2c 61 64 6d | 66 72 6f 6d 28 29 2c 61 |rt(),adm|from(),a|
|00003a20| 64 6d 74 6f 28 29 2c 61 | 64 6d 73 74 61 74 65 28 |dmto(),a|dmstate(|
|00003a30| 29 3b 0a 58 73 74 72 75 | 63 74 20 64 69 73 70 6c |);.Xstru|ct displ|
|00003a40| 61 79 20 61 64 6d 20 3d | 7b 30 2e 30 2c 30 2e 30 |ay adm =|{0.0,0.0|
|00003a50| 2c 30 2e 30 2c 2d 35 31 | 32 2e 30 2c 35 31 31 2e |,0.0,-51|2.0,511.|
|00003a60| 30 2c 2d 33 39 30 2e 30 | 2c 33 38 39 2e 30 2c 31 |0,-390.0|,389.0,1|
|00003a70| 2e 30 2c 30 2c 0a 58 09 | 22 22 2c 22 5c 30 33 32 |.0,0,.X.|"","\032|
|00003a80| 5c 30 33 35 5c 30 33 33 | 5c 30 31 34 5c 30 33 30 |\035\033|\014\030|
|00003a90| 22 2c 22 22 2c 22 5c 30 | 33 32 5c 30 33 35 5c 30 |","","\0|32\035\0|
|00003aa0| 33 33 5c 30 31 34 5c 30 | 33 30 22 2c 0a 58 09 61 |33\014\0|30",.X.a|
|00003ab0| 64 6d 74 75 72 74 2c 61 | 64 6d 66 72 6f 6d 2c 61 |dmturt,a|dmfrom,a|
|00003ac0| 64 6d 74 6f 2c 6e 75 6c | 6c 66 6e 2c 6e 75 6c 6c |dmto,nul|lfn,null|
|00003ad0| 66 6e 2c 6e 75 6c 6c 66 | 6e 2c 0a 58 09 6e 75 6c |fn,nullf|n,.X.nul|
|00003ae0| 6c 66 6e 2c 6e 75 6c 6c | 66 6e 2c 6e 75 6c 6c 66 |lfn,null|fn,nullf|
|00003af0| 6e 2c 61 64 6d 73 74 61 | 74 65 7d 3b 0a 58 0a 58 |n,admsta|te};.X.X|
|00003b00| 61 64 6d 74 75 72 74 28 | 68 69 64 65 29 0a 58 69 |admturt(|hide).Xi|
|00003b10| 6e 74 20 68 69 64 65 3b | 09 2f 2a 20 6e 6f 6e 7a |nt hide;|./* nonz|
|00003b20| 65 72 6f 20 74 6f 20 65 | 72 61 73 65 20 74 75 72 |ero to e|rase tur|
|00003b30| 74 6c 65 20 2a 2f 0a 58 | 7b 0a 58 09 64 6f 75 62 |tle */.X|{.X.doub|
|00003b40| 6c 65 20 6e 65 77 78 2c | 6e 65 77 79 2c 61 6e 67 |le newx,|newy,ang|
|00003b50| 6c 65 3b 0a 58 0a 58 09 | 70 72 69 6e 74 66 28 22 |le;.X.X.|printf("|
|00003b60| 5c 30 33 35 22 29 3b 0a | 58 09 61 6e 67 6c 65 20 |\035");.|X.angle |
|00003b70| 3d 20 28 6d 79 64 70 79 | 2d 3e 74 75 72 74 68 2d |= (mydpy|->turth-|
|00003b80| 39 30 2e 30 29 2a 33 2e | 31 34 31 35 39 32 36 35 |90.0)*3.|14159265|
|00003b90| 34 2f 31 38 30 2e 30 3b | 0a 58 09 6e 65 77 78 20 |4/180.0;|.X.newx |
|00003ba0| 3d 20 6d 79 64 70 79 2d | 3e 74 75 72 74 78 20 2b |= mydpy-|>turtx +|
|00003bb0| 20 31 35 2e 30 2a 73 69 | 6e 28 61 6e 67 6c 65 29 | 15.0*si|n(angle)|
|00003bc0| 3b 0a 58 09 6e 65 77 79 | 20 3d 20 6d 79 64 70 79 |;.X.newy| = mydpy|
|00003bd0| 2d 3e 74 75 72 74 79 20 | 2b 20 31 35 2e 30 2a 63 |->turty |+ 15.0*c|
|00003be0| 6f 73 28 61 6e 67 6c 65 | 29 3b 0a 58 09 70 72 69 |os(angle|);.X.pri|
|00003bf0| 6e 74 66 28 68 69 64 65 | 20 3f 20 22 5c 30 33 33 |ntf(hide| ? "\033|
|00003c00| 5c 31 37 37 22 20 3a 20 | 22 5c 30 33 33 61 22 29 |\177" : |"\033a")|
|00003c10| 3b 0a 58 09 70 6c 6f 74 | 70 6f 73 28 28 69 6e 74 |;.X.plot|pos((int|
|00003c20| 29 6e 65 77 78 2c 28 69 | 6e 74 29 28 79 73 63 72 |)newx,(i|nt)(yscr|
|00003c30| 75 6e 63 68 2a 6e 65 77 | 79 29 29 3b 0a 58 09 61 |unch*new|y));.X.a|
|00003c40| 6e 67 6c 65 20 3d 20 6d | 79 64 70 79 2d 3e 74 75 |ngle = m|ydpy->tu|
|00003c50| 72 74 68 2a 33 2e 31 34 | 31 35 39 32 36 35 34 2f |rth*3.14|1592654/|
|00003c60| 31 38 30 2e 30 3b 0a 58 | 09 6e 65 77 78 20 3d 20 |180.0;.X|.newx = |
|00003c70| 6d 79 64 70 79 2d 3e 74 | 75 72 74 78 20 2b 20 31 |mydpy->t|urtx + 1|
|00003c80| 35 2e 30 2a 73 69 6e 28 | 61 6e 67 6c 65 29 3b 0a |5.0*sin(|angle);.|
|00003c90| 58 09 6e 65 77 79 20 3d | 20 6d 79 64 70 79 2d 3e |X.newy =| mydpy->|
|00003ca0| 74 75 72 74 79 20 2b 20 | 31 35 2e 30 2a 63 6f 73 |turty + |15.0*cos|
|00003cb0| 28 61 6e 67 6c 65 29 3b | 0a 58 09 70 6c 6f 74 70 |(angle);|.X.plotp|
|00003cc0| 6f 73 28 28 69 6e 74 29 | 6e 65 77 78 2c 28 69 6e |os((int)|newx,(in|
|00003cd0| 74 29 28 79 73 63 72 75 | 6e 63 68 2a 6e 65 77 79 |t)(yscru|nch*newy|
|00003ce0| 29 29 3b 0a 58 09 61 6e | 67 6c 65 20 3d 20 28 6d |));.X.an|gle = (m|
|00003cf0| 79 64 70 79 2d 3e 74 75 | 72 74 68 2b 39 30 2e 30 |ydpy->tu|rth+90.0|
|00003d00| 29 2a 33 2e 31 34 31 35 | 39 32 36 35 34 2f 31 38 |)*3.1415|92654/18|
|00003d10| 30 2e 30 3b 0a 58 09 6e | 65 77 78 20 3d 20 6d 79 |0.0;.X.n|ewx = my|
|00003d20| 64 70 79 2d 3e 74 75 72 | 74 78 20 2b 20 31 35 2e |dpy->tur|tx + 15.|
|00003d30| 30 2a 73 69 6e 28 61 6e | 67 6c 65 29 3b 0a 58 09 |0*sin(an|gle);.X.|
|00003d40| 6e 65 77 79 20 3d 20 6d | 79 64 70 79 2d 3e 74 75 |newy = m|ydpy->tu|
|00003d50| 72 74 79 20 2b 20 31 35 | 2e 30 2a 63 6f 73 28 61 |rty + 15|.0*cos(a|
|00003d60| 6e 67 6c 65 29 3b 0a 58 | 09 70 6c 6f 74 70 6f 73 |ngle);.X|.plotpos|
|00003d70| 28 28 69 6e 74 29 6e 65 | 77 78 2c 28 69 6e 74 29 |((int)ne|wx,(int)|
|00003d80| 28 79 73 63 72 75 6e 63 | 68 2a 6e 65 77 79 29 29 |(yscrunc|h*newy))|
|00003d90| 3b 0a 58 09 61 6e 67 6c | 65 20 3d 20 28 6d 79 64 |;.X.angl|e = (myd|
|00003da0| 70 79 2d 3e 74 75 72 74 | 68 2d 39 30 2e 30 29 2a |py->turt|h-90.0)*|
|00003db0| 33 2e 31 34 31 35 39 32 | 36 35 34 2f 31 38 30 2e |3.141592|654/180.|
|00003dc0| 30 3b 0a 58 09 6e 65 77 | 78 20 3d 20 6d 79 64 70 |0;.X.new|x = mydp|
|00003dd0| 79 2d 3e 74 75 72 74 78 | 20 2b 20 31 35 2e 30 2a |y->turtx| + 15.0*|
|00003de0| 73 69 6e 28 61 6e 67 6c | 65 29 3b 0a 58 09 6e 65 |sin(angl|e);.X.ne|
|00003df0| 77 79 20 3d 20 6d 79 64 | 70 79 2d 3e 74 75 72 74 |wy = myd|py->turt|
|00003e00| 79 20 2b 20 31 35 2e 30 | 2a 63 6f 73 28 61 6e 67 |y + 15.0|*cos(ang|
|00003e10| 6c 65 29 3b 0a 58 09 70 | 6c 6f 74 70 6f 73 28 28 |le);.X.p|lotpos((|
|00003e20| 69 6e 74 29 6e 65 77 78 | 2c 28 69 6e 74 29 28 79 |int)newx|,(int)(y|
|00003e30| 73 63 72 75 6e 63 68 2a | 6e 65 77 79 29 29 3b 0a |scrunch*|newy));.|
|00003e40| 58 09 70 72 69 6e 74 66 | 28 22 5c 30 33 37 5c 30 |X.printf|("\037\0|
|00003e50| 33 30 22 29 3b 0a 58 7d | 0a 58 0a 58 61 64 6d 66 |30");.X}|.X.Xadmf|
|00003e60| 72 6f 6d 28 78 2c 79 29 | 0a 58 64 6f 75 62 6c 65 |rom(x,y)|.Xdouble|
|00003e70| 20 78 2c 79 3b 0a 58 7b | 0a 58 09 70 72 69 6e 74 | x,y;.X{|.X.print|
|00003e80| 66 28 22 5c 30 33 35 22 | 29 3b 0a 58 09 70 72 69 |f("\035"|);.X.pri|
|00003e90| 6e 74 66 28 70 65 6e 65 | 72 61 73 65 20 3f 20 22 |ntf(pene|rase ? "|
|00003ea0| 5c 30 33 33 5c 31 37 37 | 22 20 3a 20 22 5c 30 33 |\033\177|" : "\03|
|00003eb0| 33 61 22 29 3b 0a 58 09 | 70 6c 6f 74 70 6f 73 28 |3a");.X.|plotpos(|
|00003ec0| 28 69 6e 74 29 78 2c 28 | 69 6e 74 29 79 29 3b 0a |(int)x,(|int)y);.|
|00003ed0| 58 7d 0a 58 0a 58 61 64 | 6d 74 6f 28 78 2c 79 29 |X}.X.Xad|mto(x,y)|
|00003ee0| 0a 58 64 6f 75 62 6c 65 | 20 78 2c 79 3b 0a 58 7b |.Xdouble| x,y;.X{|
|00003ef0| 0a 58 09 70 6c 6f 74 70 | 6f 73 28 28 69 6e 74 29 |.X.plotp|os((int)|
|00003f00| 78 2c 28 69 6e 74 29 79 | 29 3b 0a 58 09 70 72 69 |x,(int)y|);.X.pri|
|00003f10| 6e 74 66 28 22 5c 30 33 | 37 5c 30 33 30 22 29 3b |ntf("\03|7\030");|
|00003f20| 0a 58 7d 0a 58 0a 58 61 | 64 6d 73 74 61 74 65 28 |.X}.X.Xa|dmstate(|
|00003f30| 77 68 69 63 68 29 20 7b | 0a 58 09 69 66 20 28 77 |which) {|.X.if (w|
|00003f40| 68 69 63 68 3d 3d 27 52 | 27 29 20 7b 0a 58 09 09 |hich=='R|') {.X..|
|00003f50| 70 72 69 6e 74 66 28 22 | 41 44 4d 20 63 61 6e 27 |printf("|ADM can'|
|00003f60| 74 20 70 65 6e 72 65 76 | 65 72 73 65 2c 20 73 65 |t penrev|erse, se|
|00003f70| 74 74 69 6e 67 20 70 65 | 6e 64 6f 77 6e 2e 5c 6e |tting pe|ndown.\n|
|00003f80| 22 29 3b 0a 58 09 09 70 | 65 6e 65 72 61 73 65 20 |");.X..p|enerase |
|00003f90| 3d 20 30 3b 0a 58 09 7d | 0a 58 7d 0a 58 0a 45 4e |= 0;.X.}|.X}.X.EN|
|00003fa0| 44 5f 4f 46 5f 61 64 6d | 2e 69 0a 69 66 20 74 65 |D_OF_adm|.i.if te|
|00003fb0| 73 74 20 31 34 34 34 20 | 2d 6e 65 20 60 77 63 20 |st 1444 |-ne `wc |
|00003fc0| 2d 63 20 3c 61 64 6d 2e | 69 60 3b 20 74 68 65 6e |-c <adm.|i`; then|
|00003fd0| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00003fe0| 5c 22 61 64 6d 2e 69 5c | 22 20 75 6e 70 61 63 6b |\"adm.i\|" unpack|
|00003ff0| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|00004000| 7a 65 21 0a 66 69 0a 23 | 20 65 6e 64 20 6f 66 20 |ze!.fi.#| end of |
|00004010| 6f 76 65 72 77 72 69 74 | 69 6e 67 20 63 68 65 63 |overwrit|ing chec|
|00004020| 6b 0a 66 69 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |k.fi.if |test -f |
|00004030| 61 64 6d 74 65 6b 2e 69 | 20 2d 61 20 22 24 7b 31 |admtek.i| -a "${1|
|00004040| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|00004050| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|00004060| 57 69 6c 6c 20 6e 6f 74 | 20 6f 76 65 72 2d 77 72 |Will not| over-wr|
|00004070| 69 74 65 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ite exis|ting fil|
|00004080| 65 20 5c 22 61 64 6d 74 | 65 6b 2e 69 5c 22 0a 65 |e \"admt|ek.i\".e|
|00004090| 6c 73 65 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |lse.echo| shar: E|
|000040a0| 78 74 72 61 63 74 69 6e | 67 20 5c 22 61 64 6d 74 |xtractin|g \"admt|
|000040b0| 65 6b 2e 69 5c 22 20 5c | 28 32 34 39 20 63 68 61 |ek.i\" \|(249 cha|
|000040c0| 72 61 63 74 65 72 73 5c | 29 0a 73 65 64 20 22 73 |racters\|).sed "s|
|000040d0| 2f 5e 58 2f 2f 22 20 3e | 61 64 6d 74 65 6b 2e 69 |/^X//" >|admtek.i|
|000040e0| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 61 64 6d 74 65 | <<'END_|OF_admte|
|000040f0| 6b 2e 69 27 0a 58 0a 58 | 2f 2a 20 49 6e 63 6c 75 |k.i'.X.X|/* Inclu|
|00004100| 64 65 20 66 69 6c 65 20 | 66 6f 72 20 74 75 72 74 |de file |for turt|
|00004110| 6c 65 2e 63 20 66 6f 72 | 20 62 6f 74 68 20 41 44 |le.c for| both AD|
|00004120| 4d 20 61 6e 64 20 54 45 | 4b 20 2a 2f 0a 58 0a 58 |M and TE|K */.X.X|
|00004130| 70 6c 6f 74 70 6f 73 28 | 78 2c 79 29 0a 58 69 6e |plotpos(|x,y).Xin|
|00004140| 74 20 78 2c 79 3b 0a 58 | 7b 0a 58 09 63 68 61 72 |t x,y;.X|{.X.char|
|00004150| 20 73 5b 35 5d 3b 0a 58 | 0a 58 09 78 20 2b 3d 20 | s[5];.X|.X.x += |
|00004160| 35 31 32 3b 0a 58 09 79 | 20 2b 3d 20 33 39 30 3b |512;.X.y| += 390;|
|00004170| 0a 58 09 73 5b 30 5d 20 | 3d 20 30 34 30 20 2b 20 |.X.s[0] |= 040 + |
|00004180| 28 28 79 3e 3e 35 29 26 | 30 33 37 29 3b 0a 58 09 |((y>>5)&|037);.X.|
|00004190| 73 5b 31 5d 20 3d 20 30 | 31 34 30 20 2b 20 28 79 |s[1] = 0|140 + (y|
|000041a0| 26 30 33 37 29 3b 0a 58 | 09 73 5b 32 5d 20 3d 20 |&037);.X|.s[2] = |
|000041b0| 30 34 30 20 2b 20 28 28 | 78 3e 3e 35 29 26 30 33 |040 + ((|x>>5)&03|
|000041c0| 37 29 3b 0a 58 09 73 5b | 33 5d 20 3d 20 30 31 30 |7);.X.s[|3] = 010|
|000041d0| 30 20 2b 20 28 78 26 30 | 33 37 29 3b 0a 58 09 73 |0 + (x&0|37);.X.s|
|000041e0| 5b 34 5d 20 3d 20 30 3b | 0a 58 09 70 72 69 6e 74 |[4] = 0;|.X.print|
|000041f0| 66 28 22 25 73 22 2c 73 | 29 3b 0a 58 7d 0a 58 0a |f("%s",s|);.X}.X.|
|00004200| 45 4e 44 5f 4f 46 5f 61 | 64 6d 74 65 6b 2e 69 0a |END_OF_a|dmtek.i.|
|00004210| 69 66 20 74 65 73 74 20 | 32 34 39 20 2d 6e 65 20 |if test |249 -ne |
|00004220| 60 77 63 20 2d 63 20 3c | 61 64 6d 74 65 6b 2e 69 |`wc -c <|admtek.i|
|00004230| 60 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |`; then.| echo|
|00004240| 20 73 68 61 72 3a 20 5c | 22 61 64 6d 74 65 6b 2e | shar: \|"admtek.|
|00004250| 69 5c 22 20 75 6e 70 61 | 63 6b 65 64 20 77 69 74 |i\" unpa|cked wit|
|00004260| 68 20 77 72 6f 6e 67 20 | 73 69 7a 65 21 0a 66 69 |h wrong |size!.fi|
|00004270| 0a 23 20 65 6e 64 20 6f | 66 20 6f 76 65 72 77 72 |.# end o|f overwr|
|00004280| 69 74 69 6e 67 20 63 68 | 65 63 6b 0a 66 69 0a 69 |iting ch|eck.fi.i|
|00004290| 66 20 74 65 73 74 20 2d | 66 20 61 74 61 72 69 2e |f test -|f atari.|
|000042a0| 69 20 2d 61 20 22 24 7b | 31 7d 22 20 21 3d 20 22 |i -a "${|1}" != "|
|000042b0| 2d 63 22 20 3b 20 74 68 | 65 6e 20 0a 20 20 65 63 |-c" ; th|en . ec|
|000042c0| 68 6f 20 73 68 61 72 3a | 20 57 69 6c 6c 20 6e 6f |ho shar:| Will no|
|000042d0| 74 20 6f 76 65 72 2d 77 | 72 69 74 65 20 65 78 69 |t over-w|rite exi|
|000042e0| 73 74 69 6e 67 20 66 69 | 6c 65 20 5c 22 61 74 61 |sting fi|le \"ata|
|000042f0| 72 69 2e 69 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |ri.i\".e|lse.echo|
|00004300| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00004310| 67 20 5c 22 61 74 61 72 | 69 2e 69 5c 22 20 5c 28 |g \"atar|i.i\" \(|
|00004320| 32 32 33 30 20 63 68 61 | 72 61 63 74 65 72 73 5c |2230 cha|racters\|
|00004330| 29 0a 73 65 64 20 22 73 | 2f 5e 58 2f 2f 22 20 3e |).sed "s|/^X//" >|
|00004340| 61 74 61 72 69 2e 69 20 | 3c 3c 27 45 4e 44 5f 4f |atari.i |<<'END_O|
|00004350| 46 5f 61 74 61 72 69 2e | 69 27 0a 58 0a 58 2f 2a |F_atari.|i'.X.X/*|
|00004360| 20 49 6e 63 6c 75 64 65 | 20 66 69 6c 65 20 66 6f | Include| file fo|
|00004370| 72 20 74 75 72 74 6c 65 | 2e 63 20 66 6f 72 20 41 |r turtle|.c for A|
|00004380| 74 61 72 69 20 38 30 30 | 20 61 73 20 67 72 61 70 |tari 800| as grap|
|00004390| 68 69 63 73 20 74 65 72 | 6d 69 6e 61 6c 20 2a 2f |hics ter|minal */|
|000043a0| 0a 58 0a 58 69 6e 74 20 | 61 74 61 74 75 72 6e 28 |.X.Xint |ataturn(|
|000043b0| 29 2c 61 70 65 6e 63 28 | 29 2c 61 73 65 74 63 28 |),apenc(|),asetc(|
|000043c0| 29 2c 61 73 74 61 74 65 | 28 29 3b 0a 58 4e 55 4d |),astate|();.XNUM|
|000043d0| 42 45 52 20 6e 63 68 65 | 63 6b 28 29 3b 0a 58 0a |BER nche|ck();.X.|
|000043e0| 58 73 74 72 75 63 74 20 | 64 69 73 70 6c 61 79 20 |Xstruct |display |
|000043f0| 62 77 61 74 61 72 69 20 | 3d 7b 30 2e 30 2c 30 2e |bwatari |={0.0,0.|
|00004400| 30 2c 30 2e 30 2c 2d 31 | 36 30 2e 30 2c 31 36 30 |0,0.0,-1|60.0,160|
|00004410| 2e 30 2c 2d 39 36 2e 30 | 2c 39 36 2e 30 2c 30 2e |.0,-96.0|,96.0,0.|
|00004420| 38 37 35 2c 30 2c 0a 58 | 09 22 5c 30 33 33 23 47 |875,0,.X|."\033#G|
|00004430| 22 2c 22 5c 30 33 33 63 | 22 2c 22 5c 30 33 33 2e |","\033c|","\033.|
|00004440| 74 22 2c 22 5c 30 33 33 | 2e 63 22 2c 0a 58 09 6e |t","\033|.c",.X.n|
|00004450| 75 6c 6c 66 6e 2c 6e 75 | 6c 6c 66 6e 2c 6e 75 6c |ullfn,nu|llfn,nul|
|00004460| 6c 66 6e 2c 6e 75 6c 6c | 66 6e 2c 6e 75 6c 6c 66 |lfn,null|fn,nullf|
|00004470| 6e 2c 6e 75 6c 6c 66 6e | 2c 61 74 61 74 75 72 6e |n,nullfn|,ataturn|
|00004480| 2c 0a 58 09 61 70 65 6e | 63 2c 61 73 65 74 63 2c |,.X.apen|c,asetc,|
|00004490| 61 73 74 61 74 65 7d 3b | 0a 58 73 74 72 75 63 74 |astate};|.Xstruct|
|000044a0| 20 64 69 73 70 6c 61 79 | 20 63 6f 6c 61 74 61 72 | display| colatar|
|000044b0| 69 20 3d 7b 30 2e 30 2c | 30 2e 30 2c 30 2e 30 2c |i ={0.0,|0.0,0.0,|
|000044c0| 2d 38 30 2e 30 2c 38 30 | 2e 30 2c 2d 34 38 2e 30 |-80.0,80|.0,-48.0|
|000044d0| 2c 34 38 2e 30 2c 30 2e | 38 37 35 2c 30 2c 0a 58 |,48.0,0.|875,0,.X|
|000044e0| 09 22 5c 30 33 33 23 47 | 22 2c 22 5c 30 33 33 63 |."\033#G|","\033c|
|000044f0| 22 2c 22 5c 30 33 33 2e | 74 22 2c 22 5c 30 33 33 |","\033.|t","\033|
|00004500| 2e 63 22 2c 0a 58 09 6e | 75 6c 6c 66 6e 2c 6e 75 |.c",.X.n|ullfn,nu|
|00004510| 6c 6c 66 6e 2c 6e 75 6c | 6c 66 6e 2c 6e 75 6c 6c |llfn,nul|lfn,null|
|00004520| 66 6e 2c 6e 75 6c 6c 66 | 6e 2c 6e 75 6c 6c 66 6e |fn,nullf|n,nullfn|
|00004530| 2c 61 74 61 74 75 72 6e | 2c 0a 58 09 61 70 65 6e |,ataturn|,.X.apen|
|00004540| 63 2c 61 73 65 74 63 2c | 61 73 74 61 74 65 7d 3b |c,asetc,|astate};|
|00004550| 0a 58 0a 58 61 74 61 74 | 75 72 6e 28 29 20 7b 0a |.X.Xatat|urn() {.|
|00004560| 58 09 70 72 69 6e 74 66 | 28 22 5c 30 33 33 2e 25 |X.printf|("\033.%|
|00004570| 64 68 22 2c 28 69 6e 74 | 29 28 28 6d 79 64 70 79 |dh",(int|)((mydpy|
|00004580| 2d 3e 74 75 72 74 68 2b | 31 31 2e 30 29 2f 32 32 |->turth+|11.0)/22|
|00004590| 2e 35 29 29 3b 0a 58 7d | 0a 58 0a 58 61 70 65 6e |.5));.X}|.X.Xapen|
|000045a0| 63 28 69 70 65 6e 29 0a | 58 72 65 67 69 73 74 65 |c(ipen).|Xregiste|
|000045b0| 72 20 69 6e 74 20 69 70 | 65 6e 3b 0a 58 7b 0a 58 |r int ip|en;.X{.X|
|000045c0| 09 69 66 20 28 28 69 70 | 65 6e 3c 30 29 20 7c 7c |.if ((ip|en<0) |||
|000045d0| 20 28 69 70 65 6e 3e 36 | 29 29 20 7b 0a 58 09 09 | (ipen>6|)) {.X..|
|000045e0| 70 75 74 73 28 22 42 61 | 64 20 70 65 6e 20 63 6f |puts("Ba|d pen co|
|000045f0| 6c 6f 72 2c 20 6d 75 73 | 74 20 62 65 20 30 20 74 |lor, mus|t be 0 t|
|00004600| 6f 20 36 2e 22 29 3b 0a | 58 09 09 65 72 72 68 61 |o 6.");.|X..errha|
|00004610| 6e 64 28 29 3b 0a 58 09 | 7d 0a 58 09 6d 79 64 70 |nd();.X.|}.X.mydp|
|00004620| 79 20 3d 20 28 69 70 65 | 6e 20 3f 20 26 63 6f 6c |y = (ipe|n ? &col|
|00004630| 61 74 61 72 69 20 3a 20 | 26 62 77 61 74 61 72 69 |atari : |&bwatari|
|00004640| 29 3b 0a 58 09 70 72 69 | 6e 74 66 28 22 5c 30 33 |);.X.pri|ntf("\03|
|00004650| 33 2e 25 64 50 22 2c 69 | 70 65 6e 29 3b 0a 58 09 |3.%dP",i|pen);.X.|
|00004660| 69 66 20 28 21 28 6d 79 | 64 70 79 2d 3e 63 6c 65 |if (!(my|dpy->cle|
|00004670| 61 72 65 64 29 29 20 7b | 0a 58 09 09 70 72 69 6e |ared)) {|.X..prin|
|00004680| 74 66 28 22 5c 30 33 33 | 2e 63 22 29 3b 09 2f 2a |tf("\033|.c");./*|
|00004690| 20 63 6c 65 61 72 20 73 | 63 72 65 65 6e 20 2a 2f | clear s|creen */|
|000046a0| 0a 58 09 09 6d 79 64 70 | 79 2d 3e 63 6c 65 61 72 |.X..mydp|y->clear|
|000046b0| 65 64 2b 2b 3b 0a 58 09 | 7d 0a 58 0a 58 09 2f 2a |ed++;.X.|}.X.X./*|
|000046c0| 20 74 68 69 73 20 69 73 | 20 74 6f 20 66 69 78 20 | this is| to fix |
|000046d0| 62 75 67 20 69 6e 20 41 | 74 61 72 69 20 70 72 6f |bug in A|tari pro|
|000046e0| 67 72 61 6d 20 2a 2f 0a | 58 09 70 72 69 6e 74 66 |gram */.|X.printf|
|000046f0| 28 22 5c 30 33 33 2e 25 | 64 68 22 2c 28 69 6e 74 |("\033.%|dh",(int|
|00004700| 29 28 28 6d 79 64 70 79 | 2d 3e 74 75 72 74 68 2b |)((mydpy|->turth+|
|00004710| 31 31 2e 30 29 2f 32 32 | 2e 35 29 29 3b 0a 58 7d |11.0)/22|.5));.X}|
|00004720| 0a 58 0a 58 61 73 65 74 | 63 28 69 70 65 6e 2c 63 |.X.Xaset|c(ipen,c|
|00004730| 6f 6c 6f 72 6c 69 73 74 | 29 0a 58 72 65 67 69 73 |olorlist|).Xregis|
|00004740| 74 65 72 20 69 6e 74 20 | 69 70 65 6e 3b 0a 58 73 |ter int |ipen;.Xs|
|00004750| 74 72 75 63 74 20 6f 62 | 6a 65 63 74 20 2a 63 6f |truct ob|ject *co|
|00004760| 6c 6f 72 6c 69 73 74 3b | 0a 58 7b 0a 58 09 72 65 |lorlist;|.X{.X.re|
|00004770| 67 69 73 74 65 72 20 73 | 74 72 75 63 74 20 6f 62 |gister s|truct ob|
|00004780| 6a 65 63 74 20 2a 6e 65 | 78 74 3b 0a 58 09 72 65 |ject *ne|xt;.X.re|
|00004790| 67 69 73 74 65 72 20 69 | 6e 74 20 69 63 6f 6c 6f |gister i|nt icolo|
|000047a0| 72 2c 69 6e 74 65 6e 73 | 3b 0a 58 09 73 74 61 74 |r,intens|;.X.stat|
|000047b0| 69 63 20 69 6e 74 20 6e | 6f 72 6d 69 6e 74 5b 5d |ic int n|ormint[]|
|000047c0| 20 3d 20 7b 31 2c 35 2c | 35 2c 31 7d 3b 0a 58 09 | = {1,5,|5,1};.X.|
|000047d0| 4e 55 4d 42 45 52 20 6e | 75 6d 62 65 72 3b 0a 58 |NUMBER n|umber;.X|
|000047e0| 0a 58 09 69 66 20 28 28 | 69 70 65 6e 3c 30 29 20 |.X.if ((|ipen<0) |
|000047f0| 7c 7c 20 28 69 70 65 6e | 3e 33 29 29 20 7b 0a 58 ||| (ipen|>3)) {.X|
|00004800| 09 09 70 75 74 73 28 22 | 50 65 6e 20 6e 75 6d 62 |..puts("|Pen numb|
|00004810| 65 72 20 6d 75 73 74 20 | 62 65 20 30 20 74 6f 20 |er must |be 0 to |
|00004820| 33 2e 22 29 3b 0a 58 09 | 09 65 72 72 68 61 6e 64 |3.");.X.|.errhand|
|00004830| 28 29 3b 0a 58 09 7d 0a | 58 0a 58 09 69 66 20 28 |();.X.}.|X.X.if (|
|00004840| 6c 69 73 74 70 28 63 6f | 6c 6f 72 6c 69 73 74 29 |listp(co|lorlist)|
|00004850| 29 20 7b 0a 58 09 09 6e | 75 6d 62 65 72 20 3d 20 |) {.X..n|umber = |
|00004860| 6e 63 68 65 63 6b 28 6c | 6f 63 61 6c 69 7a 65 28 |ncheck(l|ocalize(|
|00004870| 63 6f 6c 6f 72 6c 69 73 | 74 2d 3e 6f 62 63 61 72 |colorlis|t->obcar|
|00004880| 29 29 3b 0a 58 09 09 69 | 63 6f 6c 6f 72 20 3d 20 |));.X..i|color = |
|00004890| 6e 75 6d 62 65 72 3b 0a | 58 09 09 6e 65 78 74 20 |number;.|X..next |
|000048a0| 3d 20 63 6f 6c 6f 72 6c | 69 73 74 2d 3e 6f 62 63 |= colorl|ist->obc|
|000048b0| 64 72 3b 0a 58 09 09 6e | 75 6d 62 65 72 20 3d 20 |dr;.X..n|umber = |
|000048c0| 6e 63 68 65 63 6b 28 6c | 6f 63 61 6c 69 7a 65 28 |ncheck(l|ocalize(|
|000048d0| 6e 65 78 74 2d 3e 6f 62 | 63 61 72 29 29 3b 0a 58 |next->ob|car));.X|
|000048e0| 09 09 69 6e 74 65 6e 73 | 20 3d 20 6e 75 6d 62 65 |..intens| = numbe|
|000048f0| 72 3b 0a 58 09 09 6d 66 | 72 65 65 28 63 6f 6c 6f |r;.X..mf|ree(colo|
|00004900| 72 6c 69 73 74 29 3b 0a | 58 09 7d 20 65 6c 73 65 |rlist);.|X.} else|
|00004910| 20 7b 0a 58 09 09 6e 75 | 6d 62 65 72 20 3d 20 6e | {.X..nu|mber = n|
|00004920| 63 68 65 63 6b 28 63 6f | 6c 6f 72 6c 69 73 74 29 |check(co|lorlist)|
|00004930| 3b 0a 58 09 09 69 63 6f | 6c 6f 72 20 3d 20 6e 75 |;.X..ico|lor = nu|
|00004940| 6d 62 65 72 3b 0a 58 09 | 09 69 6e 74 65 6e 73 20 |mber;.X.|.intens |
|00004950| 3d 20 6e 6f 72 6d 69 6e | 74 5b 69 70 65 6e 5d 3b |= normin|t[ipen];|
|00004960| 0a 58 09 7d 0a 58 09 69 | 66 20 28 28 69 63 6f 6c |.X.}.X.i|f ((icol|
|00004970| 6f 72 3c 30 29 20 7c 7c | 20 28 69 63 6f 6c 6f 72 |or<0) ||| (icolor|
|00004980| 3e 31 35 29 20 7c 7c 20 | 28 69 6e 74 65 6e 73 3c |>15) || |(intens<|
|00004990| 30 29 20 7c 7c 20 28 69 | 6e 74 65 6e 73 3e 37 29 |0) || (i|ntens>7)|
|000049a0| 29 20 7b 0a 58 09 09 70 | 75 74 73 28 22 49 6e 76 |) {.X..p|uts("Inv|
|000049b0| 61 6c 69 64 20 63 6f 6c | 6f 72 20 6e 75 6d 62 65 |alid col|or numbe|
|000049c0| 72 73 2e 22 29 3b 0a 58 | 09 09 65 72 72 68 61 6e |rs.");.X|..errhan|
|000049d0| 64 28 29 3b 0a 58 09 7d | 0a 58 09 70 72 69 6e 74 |d();.X.}|.X.print|
|000049e0| 66 28 22 5c 30 33 33 2e | 25 64 3b 25 64 43 22 2c |f("\033.|%d;%dC",|
|000049f0| 69 70 65 6e 2c 28 69 63 | 6f 6c 6f 72 2a 31 36 29 |ipen,(ic|olor*16)|
|00004a00| 2b 28 69 6e 74 65 6e 73 | 2a 32 29 29 3b 0a 58 7d |+(intens|*2));.X}|
|00004a10| 0a 58 0a 58 61 73 74 61 | 74 65 28 77 68 69 63 68 |.X.Xasta|te(which|
|00004a20| 29 20 7b 0a 58 09 73 77 | 69 74 63 68 28 77 68 69 |) {.X.sw|itch(whi|
|00004a30| 63 68 29 20 7b 0a 58 09 | 09 63 61 73 65 20 27 63 |ch) {.X.|.case 'c|
|00004a40| 27 3a 0a 58 09 09 09 66 | 66 6c 75 73 68 28 73 74 |':.X...f|flush(st|
|00004a50| 64 6f 75 74 29 3b 0a 58 | 09 09 09 73 6c 65 65 70 |dout);.X|...sleep|
|00004a60| 28 31 29 3b 0a 58 09 09 | 63 61 73 65 20 27 2a 27 |(1);.X..|case '*'|
|00004a70| 3a 0a 58 09 09 09 72 65 | 74 75 72 6e 3b 0a 58 09 |:.X...re|turn;.X.|
|00004a80| 09 63 61 73 65 20 27 77 | 27 3a 0a 58 09 09 09 66 |.case 'w|':.X...f|
|00004a90| 66 6c 75 73 68 28 73 74 | 64 6f 75 74 29 3b 0a 58 |flush(st|dout);.X|
|00004aa0| 09 09 09 73 6c 65 65 70 | 28 31 29 3b 0a 58 09 09 |...sleep|(1);.X..|
|00004ab0| 09 61 74 61 74 75 72 6e | 28 29 3b 0a 58 09 09 09 |.ataturn|();.X...|
|00004ac0| 70 72 69 6e 74 66 28 22 | 5c 30 33 33 2e 55 5c 30 |printf("|\033.U\0|
|00004ad0| 33 33 2e 25 64 3b 25 64 | 47 22 2c 0a 58 09 09 09 |33.%d;%d|G",.X...|
|00004ae0| 09 28 69 6e 74 29 28 79 | 73 63 72 75 6e 63 68 2a |.(int)(y|scrunch*|
|00004af0| 6d 79 64 70 79 2d 3e 74 | 75 72 74 79 29 2c 28 69 |mydpy->t|urty),(i|
|00004b00| 6e 74 29 28 6d 79 64 70 | 79 2d 3e 74 75 72 74 78 |nt)(mydp|y->turtx|
|00004b10| 29 29 3b 0a 58 09 09 09 | 69 66 20 28 70 65 6e 64 |));.X...|if (pend|
|00004b20| 6f 77 6e 29 0a 58 09 09 | 09 09 70 72 69 6e 74 66 |own).X..|..printf|
|00004b30| 28 22 5c 30 33 33 2e 25 | 63 22 2c 22 44 45 52 22 |("\033.%|c","DER"|
|00004b40| 5b 70 65 6e 65 72 61 73 | 65 5d 29 3b 0a 58 09 09 |[peneras|e]);.X..|
|00004b50| 09 72 65 74 75 72 6e 3b | 0a 58 09 09 63 61 73 65 |.return;|.X..case|
|00004b60| 20 27 47 27 3a 0a 58 09 | 09 09 70 72 69 6e 74 66 | 'G':.X.|..printf|
|00004b70| 28 22 5c 30 33 33 2e 25 | 64 3b 25 64 47 22 2c 0a |("\033.%|d;%dG",.|
|00004b80| 58 09 09 09 09 28 69 6e | 74 29 28 79 73 63 72 75 |X....(in|t)(yscru|
|00004b90| 6e 63 68 2a 6d 79 64 70 | 79 2d 3e 74 75 72 74 79 |nch*mydp|y->turty|
|00004ba0| 29 2c 28 69 6e 74 29 28 | 6d 79 64 70 79 2d 3e 74 |),(int)(|mydpy->t|
|00004bb0| 75 72 74 78 29 29 3b 0a | 58 09 09 09 72 65 74 75 |urtx));.|X...retu|
|00004bc0| 72 6e 3b 0a 58 09 09 63 | 61 73 65 20 27 52 27 3a |rn;.X..c|ase 'R':|
|00004bd0| 0a 58 09 09 09 70 72 69 | 6e 74 66 28 22 41 74 61 |.X...pri|ntf("Ata|
|00004be0| 72 69 20 63 61 6e 27 74 | 20 70 65 6e 72 65 76 65 |ri can't| penreve|
|00004bf0| 72 73 65 3b 20 73 65 74 | 74 69 6e 67 20 70 65 6e |rse; set|ting pen|
|00004c00| 64 6f 77 6e 2e 5c 6e 22 | 29 3b 0a 58 09 09 09 70 |down.\n"|);.X...p|
|00004c10| 65 6e 65 72 61 73 65 20 | 3d 20 30 3b 0a 58 09 09 |enerase |= 0;.X..|
|00004c20| 09 77 68 69 63 68 20 3d | 20 27 44 27 3b 0a 58 09 |.which =| 'D';.X.|
|00004c30| 09 09 2f 2a 20 66 61 6c | 6c 73 20 69 6e 74 6f 20 |../* fal|ls into |
|00004c40| 2a 2f 0a 58 09 09 64 65 | 66 61 75 6c 74 3a 0a 58 |*/.X..de|fault:.X|
|00004c50| 09 09 09 70 72 69 6e 74 | 66 28 22 5c 30 33 33 2e |...print|f("\033.|
|00004c60| 25 63 22 2c 77 68 69 63 | 68 29 3b 0a 58 09 7d 0a |%c",whic|h);.X.}.|
|00004c70| 58 7d 0a 58 0a 45 4e 44 | 5f 4f 46 5f 61 74 61 72 |X}.X.END|_OF_atar|
|00004c80| 69 2e 69 0a 69 66 20 74 | 65 73 74 20 32 32 33 30 |i.i.if t|est 2230|
|00004c90| 20 2d 6e 65 20 60 77 63 | 20 2d 63 20 3c 61 74 61 | -ne `wc| -c <ata|
|00004ca0| 72 69 2e 69 60 3b 20 74 | 68 65 6e 0a 20 20 20 20 |ri.i`; t|hen. |
|00004cb0| 65 63 68 6f 20 73 68 61 | 72 3a 20 5c 22 61 74 61 |echo sha|r: \"ata|
|00004cc0| 72 69 2e 69 5c 22 20 75 | 6e 70 61 63 6b 65 64 20 |ri.i\" u|npacked |
|00004cd0| 77 69 74 68 20 77 72 6f | 6e 67 20 73 69 7a 65 21 |with wro|ng size!|
|00004ce0| 0a 66 69 0a 23 20 65 6e | 64 20 6f 66 20 6f 76 65 |.fi.# en|d of ove|
|00004cf0| 72 77 72 69 74 69 6e 67 | 20 63 68 65 63 6b 0a 66 |rwriting| check.f|
|00004d00| 69 0a 69 66 20 74 65 73 | 74 20 2d 66 20 64 72 31 |i.if tes|t -f dr1|
|00004d10| 31 6b 2e 63 20 2d 61 20 | 22 24 7b 31 7d 22 20 21 |1k.c -a |"${1}" !|
|00004d20| 3d 20 22 2d 63 22 20 3b | 20 74 68 65 6e 20 0a 20 |= "-c" ;| then . |
|00004d30| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 57 69 6c 6c | echo sh|ar: Will|
|00004d40| 20 6e 6f 74 20 6f 76 65 | 72 2d 77 72 69 74 65 20 | not ove|r-write |
|00004d50| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00004d60| 64 72 31 31 6b 2e 63 5c | 22 0a 65 6c 73 65 0a 65 |dr11k.c\|".else.e|
|00004d70| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|00004d80| 74 69 6e 67 20 5c 22 64 | 72 31 31 6b 2e 63 5c 22 |ting \"d|r11k.c\"|
|00004d90| 20 5c 28 32 30 32 32 20 | 63 68 61 72 61 63 74 65 | \(2022 |characte|
|00004da0| 72 73 5c 29 0a 73 65 64 | 20 22 73 2f 5e 58 2f 2f |rs\).sed| "s/^X//|
|00004db0| 22 20 3e 64 72 31 31 6b | 2e 63 20 3c 3c 27 45 4e |" >dr11k|.c <<'EN|
|00004dc0| 44 5f 4f 46 5f 64 72 31 | 31 6b 2e 63 27 0a 58 0a |D_OF_dr1|1k.c'.X.|
|00004dd0| 58 2f 2a 0a 58 20 2a 20 | 44 72 69 76 65 72 20 66 |X/*.X * |Driver f|
|00004de0| 6f 72 20 54 65 72 72 61 | 70 69 6e 20 74 75 72 74 |or Terra|pin turt|
|00004df0| 6c 65 73 20 69 6e 74 65 | 72 66 61 63 65 64 20 76 |les inte|rfaced v|
|00004e00| 69 61 20 44 52 31 31 2d | 4b 2e 0a 58 20 2a 20 42 |ia DR11-|K..X * B|
|00004e10| 61 73 65 64 20 6f 6e 20 | 44 52 2d 31 31 43 20 64 |ased on |DR-11C d|
|00004e20| 72 69 76 65 72 20 43 6f | 70 79 72 69 67 68 74 20 |river Co|pyright |
|00004e30| 28 63 29 20 31 39 37 38 | 2c 20 74 68 65 20 43 68 |(c) 1978|, the Ch|
|00004e40| 69 6c 64 72 65 6e 27 73 | 20 4d 75 73 65 75 6d 2e |ildren's| Museum.|
|00004e50| 0a 58 20 2a 20 54 68 69 | 73 20 76 65 72 73 69 6f |.X * Thi|s versio|
|00004e60| 6e 20 62 79 20 42 72 69 | 61 6e 20 48 61 72 76 65 |n by Bri|an Harve|
|00004e70| 79 2c 20 4c 69 6e 63 6f | 6c 6e 2d 53 75 64 62 75 |y, Linco|ln-Sudbu|
|00004e80| 72 79 20 52 65 67 69 6f | 6e 61 6c 20 48 69 67 68 |ry Regio|nal High|
|00004e90| 20 53 63 68 6f 6f 6c 2e | 0a 58 20 2a 2f 0a 58 0a | School.|.X */.X.|
|00004ea0| 58 23 69 6e 63 6c 75 64 | 65 20 22 2e 2e 2f 68 2f |X#includ|e "../h/|
|00004eb0| 70 61 72 61 6d 2e 68 22 | 0a 58 23 69 6e 63 6c 75 |param.h"|.X#inclu|
|00004ec0| 64 65 20 22 2e 2e 2f 68 | 2f 64 69 72 2e 68 22 0a |de "../h|/dir.h".|
|00004ed0| 58 23 69 6e 63 6c 75 64 | 65 20 22 2e 2e 2f 68 2f |X#includ|e "../h/|
|00004ee0| 75 73 65 72 2e 68 22 0a | 58 0a 58 2f 2a 20 54 68 |user.h".|X.X/* Th|
|00004ef0| 65 20 68 61 72 64 77 61 | 72 65 20 72 65 67 69 73 |e hardwa|re regis|
|00004f00| 74 65 72 73 20 2a 2f 0a | 58 73 74 72 75 63 74 20 |ters */.|Xstruct |
|00004f10| 64 72 20 7b 0a 58 09 69 | 6e 74 20 64 72 63 73 72 |dr {.X.i|nt drcsr|
|00004f20| 3b 0a 58 09 63 68 61 72 | 20 64 72 69 62 75 66 5b |;.X.char| dribuf[|
|00004f30| 32 5d 3b 0a 58 09 63 68 | 61 72 20 64 72 6f 62 75 |2];.X.ch|ar drobu|
|00004f40| 66 5b 32 5d 3b 0a 58 7d | 3b 0a 58 0a 58 23 64 65 |f[2];.X}|;.X.X#de|
|00004f50| 66 69 6e 65 20 4e 54 55 | 52 54 44 52 20 31 20 2f |fine NTU|RTDR 1 /|
|00004f60| 2a 20 4e 75 6d 62 65 72 | 20 6f 66 20 44 52 31 31 |* Number| of DR11|
|00004f70| 4b 73 20 66 6f 72 20 74 | 75 72 74 6c 65 73 20 28 |Ks for t|urtles (|
|00004f80| 32 20 74 75 72 74 6c 65 | 73 20 70 65 72 20 44 52 |2 turtle|s per DR|
|00004f90| 29 20 2a 2f 0a 58 0a 58 | 73 74 72 75 63 74 20 64 |) */.X.X|struct d|
|00004fa0| 72 20 2a 64 72 5f 61 64 | 64 72 5b 32 5d 20 3d 20 |r *dr_ad|dr[2] = |
|00004fb0| 7b 20 28 73 74 72 75 63 | 74 20 64 72 20 2a 29 30 |{ (struc|t dr *)0|
|00004fc0| 31 36 37 37 37 30 2c 20 | 28 73 74 72 75 63 74 20 |167770, |(struct |
|00004fd0| 64 72 20 2a 29 30 31 36 | 37 37 36 30 7d 3b 0a 58 |dr *)016|7760};.X|
|00004fe0| 0a 58 73 74 72 75 63 74 | 20 74 75 72 74 20 7b 0a |.Xstruct| turt {.|
|00004ff0| 58 09 73 74 72 75 63 74 | 20 70 72 6f 63 20 2a 70 |X.struct| proc *p|
|00005000| 72 6f 63 70 3b 0a 58 09 | 69 6e 74 20 74 69 6d 65 |rocp;.X.|int time|
|00005010| 3b 0a 58 09 63 68 61 72 | 20 74 75 72 6e 6f 66 66 |;.X.char| turnoff|
|00005020| 3b 0a 58 7d 20 74 75 72 | 74 6c 65 5b 32 2a 4e 54 |;.X} tur|tle[2*NT|
|00005030| 55 52 54 44 52 5d 3b 0a | 58 0a 58 73 74 72 75 63 |URTDR];.|X.Xstruc|
|00005040| 74 20 74 75 72 74 63 6d | 64 20 7b 0a 58 09 63 68 |t turtcm|d {.X.ch|
|00005050| 61 72 20 63 6d 64 2c 62 | 69 74 73 3b 0a 58 7d 20 |ar cmd,b|its;.X} |
|00005060| 20 74 72 61 6e 73 5b 5d | 20 3d 7b 0a 58 09 27 66 | trans[]| ={.X.'f|
|00005070| 27 2c 20 30 35 2c 09 2f | 2a 20 66 6f 72 77 61 72 |', 05,./|* forwar|
|00005080| 64 20 2a 2f 0a 58 09 27 | 62 27 2c 30 31 32 2c 09 |d */.X.'|b',012,.|
|00005090| 2f 2a 20 62 61 63 6b 20 | 2a 2f 0a 58 09 27 6c 27 |/* back |*/.X.'l'|
|000050a0| 2c 30 31 31 2c 09 2f 2a | 20 6c 65 66 74 20 2a 2f |,011,./*| left */|
|000050b0| 0a 58 09 27 72 27 2c 20 | 30 36 2c 09 2f 2a 20 72 |.X.'r', |06,./* r|
|000050c0| 69 67 68 74 20 2a 2f 0a | 58 09 27 50 27 2c 20 30 |ight */.|X.'P', 0|
|000050d0| 32 30 30 2c 09 2f 2a 20 | 70 65 6e 20 64 6f 77 6e |200,./* |pen down|
|000050e0| 20 2a 2f 0a 58 09 27 48 | 27 2c 20 30 36 30 2c 09 | */.X.'H|', 060,.|
|000050f0| 2f 2a 20 68 69 67 68 20 | 68 6f 72 6e 20 2a 2f 0a |/* high |horn */.|
|00005100| 58 09 27 4c 27 2c 20 30 | 34 30 2c 09 2f 2a 20 6c |X.'L', 0|40,./* l|
|00005110| 6f 77 20 68 6f 72 6e 20 | 2a 2f 0a 58 09 27 42 27 |ow horn |*/.X.'B'|
|00005120| 2c 20 30 31 30 30 2c 09 | 2f 2a 20 68 65 61 64 6c |, 0100,.|/* headl|
|00005130| 69 67 68 74 73 20 28 62 | 72 69 67 68 74 29 20 2a |ights (b|right) *|
|00005140| 2f 0a 58 7d 3b 0a 58 0a | 58 23 64 65 66 69 6e 65 |/.X};.X.|X#define|
|00005150| 20 4e 43 4d 44 53 20 28 | 73 69 7a 65 6f 66 28 74 | NCMDS (|sizeof(t|
|00005160| 72 61 6e 73 29 20 2f 20 | 73 69 7a 65 6f 66 28 73 |rans) / |sizeof(s|
|00005170| 74 72 75 63 74 20 74 75 | 72 74 63 6d 64 29 29 0a |truct tu|rtcmd)).|
|00005180| 58 0a 58 74 75 72 74 6f | 70 65 6e 28 64 65 76 2c |X.Xturto|pen(dev,|
|00005190| 66 6c 61 67 29 20 7b 0a | 58 09 64 65 76 20 3d 20 |flag) {.|X.dev = |
|000051a0| 6d 69 6e 6f 72 28 64 65 | 76 29 3b 0a 58 09 69 66 |minor(de|v);.X.if|
|000051b0| 20 28 64 65 76 20 3e 3d | 20 32 2a 4e 54 55 52 54 | (dev >=| 2*NTURT|
|000051c0| 44 52 29 20 7b 0a 58 09 | 09 75 2e 75 5f 65 72 72 |DR) {.X.|.u.u_err|
|000051d0| 6f 72 20 3d 20 45 4e 58 | 49 4f 3b 0a 58 09 09 72 |or = ENX|IO;.X..r|
|000051e0| 65 74 75 72 6e 3b 0a 58 | 09 7d 0a 58 09 69 66 20 |eturn;.X|.}.X.if |
|000051f0| 28 74 75 72 74 6c 65 5b | 64 65 76 5d 2e 70 72 6f |(turtle[|dev].pro|
|00005200| 63 70 29 20 7b 0a 58 09 | 09 75 2e 75 5f 65 72 72 |cp) {.X.|.u.u_err|
|00005210| 6f 72 20 3d 20 45 42 55 | 53 59 3b 0a 58 09 09 72 |or = EBU|SY;.X..r|
|00005220| 65 74 75 72 6e 3b 0a 58 | 09 7d 0a 58 09 74 75 72 |eturn;.X|.}.X.tur|
|00005230| 74 6c 65 5b 64 65 76 5d | 2e 70 72 6f 63 70 20 3d |tle[dev]|.procp =|
|00005240| 20 75 2e 75 5f 70 72 6f | 63 70 3b 0a 58 7d 0a 58 | u.u_pro|cp;.X}.X|
|00005250| 0a 58 74 75 72 74 63 6c | 6f 73 65 28 64 65 76 29 |.Xturtcl|ose(dev)|
|00005260| 20 7b 0a 58 09 64 65 76 | 20 3d 20 6d 69 6e 6f 72 | {.X.dev| = minor|
|00005270| 28 64 65 76 29 3b 0a 58 | 09 74 75 72 74 6c 65 5b |(dev);.X|.turtle[|
|00005280| 64 65 76 5d 2e 70 72 6f | 63 70 20 3d 20 30 3b 0a |dev].pro|cp = 0;.|
|00005290| 58 09 74 75 72 74 6c 65 | 5b 64 65 76 5d 2e 74 69 |X.turtle|[dev].ti|
|000052a0| 6d 65 20 3d 20 30 3b 0a | 58 09 64 72 5f 61 64 64 |me = 0;.|X.dr_add|
|000052b0| 72 5b 64 65 76 3e 3e 31 | 5d 2d 3e 64 72 6f 62 75 |r[dev>>1|]->drobu|
|000052c0| 66 5b 64 65 76 26 30 31 | 5d 20 3d 20 2d 31 3b 0a |f[dev&01|] = -1;.|
|000052d0| 58 7d 0a 58 0a 58 74 75 | 72 74 74 69 6d 6f 28 64 |X}.X.Xtu|rttimo(d|
|000052e0| 65 76 29 20 7b 0a 58 09 | 73 70 6c 35 28 29 3b 0a |ev) {.X.|spl5();.|
|000052f0| 58 09 64 72 5f 61 64 64 | 72 5b 64 65 76 3e 3e 31 |X.dr_add|r[dev>>1|
|00005300| 5d 2d 3e 64 72 6f 62 75 | 66 5b 64 65 76 26 30 31 |]->drobu|f[dev&01|
|00005310| 5d 20 7c 3d 20 74 75 72 | 74 6c 65 5b 64 65 76 5d |] |= tur|tle[dev]|
|00005320| 2e 74 75 72 6e 6f 66 66 | 3b 0a 58 09 74 75 72 74 |.turnoff|;.X.turt|
|00005330| 6c 65 5b 64 65 76 5d 2e | 74 69 6d 65 20 3d 20 30 |le[dev].|time = 0|
|00005340| 3b 0a 58 09 77 61 6b 65 | 75 70 28 26 74 75 72 74 |;.X.wake|up(&turt|
|00005350| 6c 65 5b 64 65 76 5d 29 | 3b 0a 58 09 73 70 6c 30 |le[dev])|;.X.spl0|
|00005360| 28 29 3b 0a 58 7d 0a 58 | 0a 58 74 75 72 74 77 72 |();.X}.X|.Xturtwr|
|00005370| 69 74 65 28 64 65 76 29 | 20 7b 0a 58 09 72 65 67 |ite(dev)| {.X.reg|
|00005380| 69 73 74 65 72 20 63 2c | 69 3b 0a 58 0a 58 09 64 |ister c,|i;.X.X.d|
|00005390| 65 76 20 3d 20 6d 69 6e | 6f 72 28 64 65 76 29 3b |ev = min|or(dev);|
|000053a0| 0a 58 09 63 20 3d 20 63 | 70 61 73 73 28 29 3b 0a |.X.c = c|pass();.|
|000053b0| 58 09 69 66 20 28 63 20 | 3c 20 30 29 20 72 65 74 |X.if (c |< 0) ret|
|000053c0| 75 72 6e 3b 0a 58 09 66 | 6f 72 20 28 69 3d 30 3b |urn;.X.f|or (i=0;|
|000053d0| 20 69 3c 4e 43 4d 44 53 | 3b 20 69 2b 2b 29 20 7b | i<NCMDS|; i++) {|
|000053e0| 0a 58 09 09 69 66 20 28 | 63 20 3d 3d 20 74 72 61 |.X..if (|c == tra|
|000053f0| 6e 73 5b 69 5d 2e 63 6d | 64 29 20 67 6f 74 6f 20 |ns[i].cm|d) goto |
|00005400| 67 6f 6f 64 3b 0a 58 09 | 7d 0a 58 09 63 70 61 73 |good;.X.|}.X.cpas|
|00005410| 73 28 29 3b 0a 58 09 75 | 2e 75 5f 65 72 72 6f 72 |s();.X.u|.u_error|
|00005420| 20 3d 20 45 49 4f 3b 0a | 58 09 72 65 74 75 72 6e | = EIO;.|X.return|
|00005430| 3b 0a 58 67 6f 6f 64 3a | 0a 58 09 73 70 6c 35 28 |;.Xgood:|.X.spl5(|
|00005440| 29 3b 0a 58 09 69 66 28 | 28 74 75 72 74 6c 65 5b |);.X.if(|(turtle[|
|00005450| 64 65 76 5d 2e 74 69 6d | 65 20 3d 20 32 2a 63 70 |dev].tim|e = 2*cp|
|00005460| 61 73 73 28 29 29 20 3c | 20 30 29 20 7b 09 2f 2a |ass()) <| 0) {./*|
|00005470| 20 42 48 20 38 2f 32 35 | 2f 38 30 20 32 2a 20 2a | BH 8/25|/80 2* *|
|00005480| 2f 0a 58 09 09 74 75 72 | 74 6c 65 5b 64 65 76 5d |/.X..tur|tle[dev]|
|00005490| 2e 74 69 6d 65 20 3d 20 | 30 3b 0a 58 09 09 73 70 |.time = |0;.X..sp|
|000054a0| 6c 30 28 29 3b 0a 58 09 | 09 75 2e 75 5f 65 72 72 |l0();.X.|.u.u_err|
|000054b0| 6f 72 20 3d 20 45 49 4f | 3b 0a 58 09 09 72 65 74 |or = EIO|;.X..ret|
|000054c0| 75 72 6e 3b 0a 58 09 7d | 0a 58 09 64 72 5f 61 64 |urn;.X.}|.X.dr_ad|
|000054d0| 64 72 5b 64 65 76 3e 3e | 31 5d 2d 3e 64 72 6f 62 |dr[dev>>|1]->drob|
|000054e0| 75 66 5b 64 65 76 26 30 | 31 5d 20 26 3d 20 7e 74 |uf[dev&0|1] &= ~t|
|000054f0| 72 61 6e 73 5b 69 5d 2e | 62 69 74 73 3b 0a 58 09 |rans[i].|bits;.X.|
|00005500| 69 66 20 28 74 75 72 74 | 6c 65 5b 64 65 76 5d 2e |if (turt|le[dev].|
|00005510| 74 69 6d 65 29 20 7b 0a | 58 09 09 74 75 72 74 6c |time) {.|X..turtl|
|00005520| 65 5b 64 65 76 5d 2e 74 | 75 72 6e 6f 66 66 20 3d |e[dev].t|urnoff =|
|00005530| 20 74 72 61 6e 73 5b 69 | 5d 2e 62 69 74 73 3b 0a | trans[i|].bits;.|
|00005540| 58 09 09 74 69 6d 65 6f | 75 74 28 74 75 72 74 74 |X..timeo|ut(turtt|
|00005550| 69 6d 6f 2c 64 65 76 2c | 74 75 72 74 6c 65 5b 64 |imo,dev,|turtle[d|
|00005560| 65 76 5d 2e 74 69 6d 65 | 29 3b 0a 58 09 09 77 68 |ev].time|);.X..wh|
|00005570| 69 6c 65 28 74 75 72 74 | 6c 65 5b 64 65 76 5d 2e |ile(turt|le[dev].|
|00005580| 74 69 6d 65 29 0a 58 09 | 09 09 73 6c 65 65 70 28 |time).X.|..sleep(|
|00005590| 26 74 75 72 74 6c 65 5b | 64 65 76 5d 2c 39 29 3b |&turtle[|dev],9);|
|000055a0| 0a 58 09 7d 0a 58 09 73 | 70 6c 30 28 29 3b 0a 58 |.X.}.X.s|pl0();.X|
|000055b0| 7d 0a 58 0a 58 74 75 72 | 74 72 65 61 64 28 64 65 |}.X.Xtur|tread(de|
|000055c0| 76 29 20 7b 0a 58 09 72 | 65 67 69 73 74 65 72 20 |v) {.X.r|egister |
|000055d0| 63 3b 0a 58 0a 58 09 64 | 65 76 20 3d 20 6d 69 6e |c;.X.X.d|ev = min|
|000055e0| 6f 72 28 64 65 76 29 3b | 0a 58 09 63 20 3d 20 64 |or(dev);|.X.c = d|
|000055f0| 72 5f 61 64 64 72 5b 64 | 65 76 3e 3e 31 5d 2d 3e |r_addr[d|ev>>1]->|
|00005600| 64 72 69 62 75 66 5b 64 | 65 76 26 30 31 5d 3b 0a |dribuf[d|ev&01];.|
|00005610| 58 09 70 61 73 73 63 28 | 63 29 3b 0a 58 7d 0a 58 |X.passc(|c);.X}.X|
|00005620| 0a 45 4e 44 5f 4f 46 5f | 64 72 31 31 6b 2e 63 0a |.END_OF_|dr11k.c.|
|00005630| 69 66 20 74 65 73 74 20 | 32 30 32 32 20 2d 6e 65 |if test |2022 -ne|
|00005640| 20 60 77 63 20 2d 63 20 | 3c 64 72 31 31 6b 2e 63 | `wc -c |<dr11k.c|
|00005650| 60 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |`; then.| echo|
|00005660| 20 73 68 61 72 3a 20 5c | 22 64 72 31 31 6b 2e 63 | shar: \|"dr11k.c|
|00005670| 5c 22 20 75 6e 70 61 63 | 6b 65 64 20 77 69 74 68 |\" unpac|ked with|
|00005680| 20 77 72 6f 6e 67 20 73 | 69 7a 65 21 0a 66 69 0a | wrong s|ize!.fi.|
|00005690| 23 20 65 6e 64 20 6f 66 | 20 6f 76 65 72 77 72 69 |# end of| overwri|
|000056a0| 74 69 6e 67 20 63 68 65 | 63 6b 0a 66 69 0a 69 66 |ting che|ck.fi.if|
|000056b0| 20 74 65 73 74 20 2d 66 | 20 67 69 67 69 2e 69 20 | test -f| gigi.i |
|000056c0| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|000056d0| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|000056e0| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|000056f0| 6f 76 65 72 2d 77 72 69 | 74 65 20 65 78 69 73 74 |over-wri|te exist|
|00005700| 69 6e 67 20 66 69 6c 65 | 20 5c 22 67 69 67 69 2e |ing file| \"gigi.|
|00005710| 69 5c 22 0a 65 6c 73 65 | 0a 65 63 68 6f 20 73 68 |i\".else|.echo sh|
|00005720| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|00005730| 22 67 69 67 69 2e 69 5c | 22 20 5c 28 32 31 33 32 |"gigi.i\|" \(2132|
|00005740| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|00005750| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 67 69 67 69 |d "s/^X/|/" >gigi|
|00005760| 2e 69 20 3c 3c 27 45 4e | 44 5f 4f 46 5f 67 69 67 |.i <<'EN|D_OF_gig|
|00005770| 69 2e 69 27 0a 58 0a 58 | 2f 2a 20 49 6e 63 6c 75 |i.i'.X.X|/* Inclu|
|00005780| 64 65 20 66 69 6c 65 20 | 66 6f 72 20 74 75 72 74 |de file |for turt|
|00005790| 6c 65 2e 63 20 66 6f 72 | 20 47 49 47 49 20 2a 2f |le.c for| GIGI */|
|000057a0| 0a 58 0a 58 69 6e 74 20 | 67 69 67 69 74 75 72 74 |.X.Xint |gigiturt|
|000057b0| 28 29 2c 67 69 67 69 66 | 72 6f 6d 28 29 2c 67 69 |(),gigif|rom(),gi|
|000057c0| 67 69 74 6f 28 29 2c 67 | 74 63 68 65 63 6b 28 29 |gito(),g|tcheck()|
|000057d0| 2c 67 70 65 6e 63 28 29 | 2c 67 73 74 61 74 65 28 |,gpenc()|,gstate(|
|000057e0| 29 3b 0a 58 73 74 72 75 | 63 74 20 64 69 73 70 6c |);.Xstru|ct displ|
|000057f0| 61 79 20 67 69 67 69 20 | 3d 7b 30 2e 30 2c 30 2e |ay gigi |={0.0,0.|
|00005800| 30 2c 30 2e 30 2c 2d 33 | 38 34 2e 30 2c 33 38 33 |0,0.0,-3|84.0,383|
|00005810| 2e 30 2c 2d 32 34 30 2e | 30 2c 32 33 39 2e 30 2c |.0,-240.|0,239.0,|
|00005820| 30 2e 38 2c 30 2c 0a 58 | 09 22 5c 30 33 33 50 70 |0.8,0,.X|."\033Pp|
|00005830| 53 28 45 29 50 5b 33 38 | 34 2c 32 34 30 5d 5c 30 |S(E)P[38|4,240]\0|
|00005840| 33 33 5c 5c 5c 30 33 33 | 50 72 53 4d 30 5c 30 33 |33\\\033|PrSM0\03|
|00005850| 33 5c 5c 5c 30 33 33 5b | 32 30 3b 31 48 22 2c 0a |3\\\033[|20;1H",.|
|00005860| 58 09 22 5c 30 33 33 50 | 72 53 4d 32 5c 30 33 33 |X."\033P|rSM2\033|
|00005870| 5c 5c 5c 30 33 33 50 70 | 53 28 45 29 5c 30 33 33 |\\\033Pp|S(E)\033|
|00005880| 5c 5c 22 2c 0a 58 09 22 | 5c 30 33 33 50 72 53 4d |\\",.X."|\033PrSM|
|00005890| 32 5c 30 33 33 5c 5c 5c | 30 33 33 50 70 53 28 45 |2\033\\\|033PpS(E|
|000058a0| 29 5c 30 33 33 5c 5c 22 | 2c 0a 58 09 22 5c 30 33 |)\033\\"|,.X."\03|
|000058b0| 33 50 70 53 28 45 29 5c | 30 33 33 5c 5c 22 2c 0a |3PpS(E)\|033\\",.|
|000058c0| 58 09 67 69 67 69 74 75 | 72 74 2c 67 69 67 69 66 |X.gigitu|rt,gigif|
|000058d0| 72 6f 6d 2c 67 69 67 69 | 74 6f 2c 67 74 63 68 65 |rom,gigi|to,gtche|
|000058e0| 63 6b 2c 6e 75 6c 6c 66 | 6e 2c 6e 75 6c 6c 66 6e |ck,nullf|n,nullfn|
|000058f0| 2c 6e 75 6c 6c 66 6e 2c | 0a 58 09 67 70 65 6e 63 |,nullfn,|.X.gpenc|
|00005900| 2c 6e 75 6c 6c 66 6e 2c | 67 73 74 61 74 65 7d 3b |,nullfn,|gstate};|
|00005910| 0a 58 0a 58 63 68 61 72 | 20 2a 67 69 67 69 70 65 |.X.Xchar| *gigipe|
|00005920| 6e 73 5b 5d 20 3d 20 7b | 22 57 28 52 29 22 2c 22 |ns[] = {|"W(R)","|
|00005930| 57 28 45 29 22 2c 22 57 | 28 43 29 22 7d 3b 0a 58 |W(E)","W|(C)"};.X|
|00005940| 0a 58 67 74 63 68 65 63 | 6b 28 29 20 7b 0a 58 09 |.Xgtchec|k() {.X.|
|00005950| 69 66 20 28 74 65 78 74 | 6d 6f 64 65 29 20 7b 0a |if (text|mode) {.|
|00005960| 58 09 09 70 72 69 6e 74 | 66 28 22 4e 6f 74 20 69 |X..print|f("Not i|
|00005970| 6e 20 74 65 78 74 20 6d | 6f 64 65 21 5c 6e 22 29 |n text m|ode!\n")|
|00005980| 3b 0a 58 09 09 65 72 72 | 68 61 6e 64 28 29 3b 0a |;.X..err|hand();.|
|00005990| 58 09 7d 0a 58 7d 0a 58 | 0a 58 67 6d 6f 76 65 70 |X.}.X}.X|.Xgmovep|
|000059a0| 6f 73 28 78 2c 79 29 0a | 58 69 6e 74 20 78 2c 79 |os(x,y).|Xint x,y|
|000059b0| 3b 0a 58 7b 0a 58 09 63 | 68 61 72 20 73 5b 35 5d |;.X{.X.c|har s[5]|
|000059c0| 3b 0a 58 0a 58 09 78 20 | 2b 3d 20 33 38 34 3b 0a |;.X.X.x |+= 384;.|
|000059d0| 58 09 79 20 3d 20 32 34 | 30 20 2d 20 79 3b 0a 58 |X.y = 24|0 - y;.X|
|000059e0| 09 70 72 69 6e 74 66 28 | 22 50 5b 25 64 2c 25 64 |.printf(|"P[%d,%d|
|000059f0| 5d 22 2c 78 2c 79 29 3b | 0a 58 7d 0a 58 0a 58 67 |]",x,y);|.X}.X.Xg|
|00005a00| 70 6c 6f 74 70 6f 73 28 | 78 2c 79 29 0a 58 69 6e |plotpos(|x,y).Xin|
|00005a10| 74 20 78 2c 79 3b 0a 58 | 7b 0a 58 09 63 68 61 72 |t x,y;.X|{.X.char|
|00005a20| 20 73 5b 35 5d 3b 0a 58 | 0a 58 09 78 20 2b 3d 20 | s[5];.X|.X.x += |
|00005a30| 33 38 34 3b 0a 58 09 79 | 20 3d 20 32 34 30 20 2d |384;.X.y| = 240 -|
|00005a40| 20 79 3b 0a 58 09 70 72 | 69 6e 74 66 28 22 56 5b | y;.X.pr|intf("V[|
|00005a50| 25 64 2c 25 64 5d 22 2c | 78 2c 79 29 3b 0a 58 7d |%d,%d]",|x,y);.X}|
|00005a60| 0a 58 0a 58 67 69 67 69 | 66 72 6f 6d 28 6f 6c 64 |.X.Xgigi|from(old|
|00005a70| 78 2c 6f 6c 64 79 29 0a | 58 64 6f 75 62 6c 65 20 |x,oldy).|Xdouble |
|00005a80| 6f 6c 64 78 2c 6f 6c 64 | 79 3b 0a 58 7b 0a 58 09 |oldx,old|y;.X{.X.|
|00005a90| 70 72 69 6e 74 66 28 22 | 5c 30 33 33 50 70 22 29 |printf("|\033Pp")|
|00005aa0| 3b 0a 58 09 67 6d 6f 76 | 65 70 6f 73 28 28 69 6e |;.X.gmov|epos((in|
|00005ab0| 74 29 6f 6c 64 78 2c 28 | 69 6e 74 29 6f 6c 64 79 |t)oldx,(|int)oldy|
|00005ac0| 29 3b 0a 58 7d 0a 58 0a | 58 67 69 67 69 74 6f 28 |);.X}.X.|Xgigito(|
|00005ad0| 6e 65 77 78 2c 6e 65 77 | 79 29 0a 58 64 6f 75 62 |newx,new|y).Xdoub|
|00005ae0| 6c 65 20 6e 65 77 78 2c | 6e 65 77 79 3b 0a 58 7b |le newx,|newy;.X{|
|00005af0| 0a 58 09 70 72 69 6e 74 | 66 28 67 69 67 69 70 65 |.X.print|f(gigipe|
|00005b00| 6e 73 5b 70 65 6e 65 72 | 61 73 65 5d 29 3b 0a 58 |ns[pener|ase]);.X|
|00005b10| 09 67 70 6c 6f 74 70 6f | 73 28 28 69 6e 74 29 6e |.gplotpo|s((int)n|
|00005b20| 65 77 78 2c 28 69 6e 74 | 29 6e 65 77 79 29 3b 0a |ewx,(int|)newy);.|
|00005b30| 58 09 70 72 69 6e 74 66 | 28 22 5c 30 33 33 5c 5c |X.printf|("\033\\|
|00005b40| 22 29 3b 0a 58 7d 0a 58 | 0a 58 67 69 67 69 74 75 |");.X}.X|.Xgigitu|
|00005b50| 72 74 28 29 0a 58 7b 0a | 58 09 64 6f 75 62 6c 65 |rt().X{.|X.double|
|00005b60| 20 6e 65 77 78 2c 6e 65 | 77 79 2c 61 6e 67 6c 65 | newx,ne|wy,angle|
|00005b70| 3b 0a 58 0a 58 09 70 72 | 69 6e 74 66 28 22 5c 30 |;.X.X.pr|intf("\0|
|00005b80| 33 33 50 70 57 28 43 29 | 22 29 3b 0a 58 09 61 6e |33PpW(C)|");.X.an|
|00005b90| 67 6c 65 20 3d 20 28 6d | 79 64 70 79 2d 3e 74 75 |gle = (m|ydpy->tu|
|00005ba0| 72 74 68 2d 39 30 2e 30 | 29 2a 33 2e 31 34 31 35 |rth-90.0|)*3.1415|
|00005bb0| 39 32 36 35 34 2f 31 38 | 30 2e 30 3b 0a 58 09 6e |92654/18|0.0;.X.n|
|00005bc0| 65 77 78 20 3d 20 6d 79 | 64 70 79 2d 3e 74 75 72 |ewx = my|dpy->tur|
|00005bd0| 74 78 20 2b 20 31 35 2e | 30 2a 73 69 6e 28 61 6e |tx + 15.|0*sin(an|
|00005be0| 67 6c 65 29 3b 0a 58 09 | 6e 65 77 79 20 3d 20 6d |gle);.X.|newy = m|
|00005bf0| 79 64 70 79 2d 3e 74 75 | 72 74 79 20 2b 20 31 35 |ydpy->tu|rty + 15|
|00005c00| 2e 30 2a 63 6f 73 28 61 | 6e 67 6c 65 29 3b 0a 58 |.0*cos(a|ngle);.X|
|00005c10| 09 67 6d 6f 76 65 70 6f | 73 28 28 69 6e 74 29 6e |.gmovepo|s((int)n|
|00005c20| 65 77 78 2c 28 69 6e 74 | 29 28 79 73 63 72 75 6e |ewx,(int|)(yscrun|
|00005c30| 63 68 2a 6e 65 77 79 29 | 29 3b 0a 58 09 61 6e 67 |ch*newy)|);.X.ang|
|00005c40| 6c 65 20 3d 20 6d 79 64 | 70 79 2d 3e 74 75 72 74 |le = myd|py->turt|
|00005c50| 68 2a 33 2e 31 34 31 35 | 39 32 36 35 34 2f 31 38 |h*3.1415|92654/18|
|00005c60| 30 2e 30 3b 0a 58 09 6e | 65 77 78 20 3d 20 6d 79 |0.0;.X.n|ewx = my|
|00005c70| 64 70 79 2d 3e 74 75 72 | 74 78 20 2b 20 31 35 2e |dpy->tur|tx + 15.|
|00005c80| 30 2a 73 69 6e 28 61 6e | 67 6c 65 29 3b 0a 58 09 |0*sin(an|gle);.X.|
|00005c90| 6e 65 77 79 20 3d 20 6d | 79 64 70 79 2d 3e 74 75 |newy = m|ydpy->tu|
|00005ca0| 72 74 79 20 2b 20 31 35 | 2e 30 2a 63 6f 73 28 61 |rty + 15|.0*cos(a|
|00005cb0| 6e 67 6c 65 29 3b 0a 58 | 09 67 70 6c 6f 74 70 6f |ngle);.X|.gplotpo|
|00005cc0| 73 28 28 69 6e 74 29 6e | 65 77 78 2c 28 69 6e 74 |s((int)n|ewx,(int|
|00005cd0| 29 28 79 73 63 72 75 6e | 63 68 2a 6e 65 77 79 29 |)(yscrun|ch*newy)|
|00005ce0| 29 3b 0a 58 09 61 6e 67 | 6c 65 20 3d 20 28 6d 79 |);.X.ang|le = (my|
|00005cf0| 64 70 79 2d 3e 74 75 72 | 74 68 2b 39 30 2e 30 29 |dpy->tur|th+90.0)|
|00005d00| 2a 33 2e 31 34 31 35 39 | 32 36 35 34 2f 31 38 30 |*3.14159|2654/180|
|00005d10| 2e 30 3b 0a 58 09 6e 65 | 77 78 20 3d 20 6d 79 64 |.0;.X.ne|wx = myd|
|00005d20| 70 79 2d 3e 74 75 72 74 | 78 20 2b 20 31 35 2e 30 |py->turt|x + 15.0|
|00005d30| 2a 73 69 6e 28 61 6e 67 | 6c 65 29 3b 0a 58 09 6e |*sin(ang|le);.X.n|
|00005d40| 65 77 79 20 3d 20 6d 79 | 64 70 79 2d 3e 74 75 72 |ewy = my|dpy->tur|
|00005d50| 74 79 20 2b 20 31 35 2e | 30 2a 63 6f 73 28 61 6e |ty + 15.|0*cos(an|
|00005d60| 67 6c 65 29 3b 0a 58 09 | 67 70 6c 6f 74 70 6f 73 |gle);.X.|gplotpos|
|00005d70| 28 28 69 6e 74 29 6e 65 | 77 78 2c 28 69 6e 74 29 |((int)ne|wx,(int)|
|00005d80| 28 79 73 63 72 75 6e 63 | 68 2a 6e 65 77 79 29 29 |(yscrunc|h*newy))|
|00005d90| 3b 0a 58 09 61 6e 67 6c | 65 20 3d 20 28 6d 79 64 |;.X.angl|e = (myd|
|00005da0| 70 79 2d 3e 74 75 72 74 | 68 2d 39 30 2e 30 29 2a |py->turt|h-90.0)*|
|00005db0| 33 2e 31 34 31 35 39 32 | 36 35 34 2f 31 38 30 2e |3.141592|654/180.|
|00005dc0| 30 3b 0a 58 09 6e 65 77 | 78 20 3d 20 6d 79 64 70 |0;.X.new|x = mydp|
|00005dd0| 79 2d 3e 74 75 72 74 78 | 20 2b 20 31 35 2e 30 2a |y->turtx| + 15.0*|
|00005de0| 73 69 6e 28 61 6e 67 6c | 65 29 3b 0a 58 09 6e 65 |sin(angl|e);.X.ne|
|00005df0| 77 79 20 3d 20 6d 79 64 | 70 79 2d 3e 74 75 72 74 |wy = myd|py->turt|
|00005e00| 79 20 2b 20 31 35 2e 30 | 2a 63 6f 73 28 61 6e 67 |y + 15.0|*cos(ang|
|00005e10| 6c 65 29 3b 0a 58 09 67 | 70 6c 6f 74 70 6f 73 28 |le);.X.g|plotpos(|
|00005e20| 28 69 6e 74 29 6e 65 77 | 78 2c 28 69 6e 74 29 28 |(int)new|x,(int)(|
|00005e30| 79 73 63 72 75 6e 63 68 | 2a 6e 65 77 79 29 29 3b |yscrunch|*newy));|
|00005e40| 0a 58 09 70 72 69 6e 74 | 66 28 67 69 67 69 70 65 |.X.print|f(gigipe|
|00005e50| 6e 73 5b 70 65 6e 65 72 | 61 73 65 5d 29 3b 0a 58 |ns[pener|ase]);.X|
|00005e60| 09 70 72 69 6e 74 66 28 | 22 5c 30 33 33 5c 5c 22 |.printf(|"\033\\"|
|00005e70| 29 3b 0a 58 7d 0a 58 0a | 58 67 70 65 6e 63 28 69 |);.X}.X.|Xgpenc(i|
|00005e80| 70 65 6e 29 0a 58 72 65 | 67 69 73 74 65 72 20 69 |pen).Xre|gister i|
|00005e90| 6e 74 20 69 70 65 6e 3b | 0a 58 7b 0a 58 09 69 66 |nt ipen;|.X{.X.if|
|00005ea0| 20 28 28 69 70 65 6e 3c | 30 29 20 7c 7c 20 28 69 | ((ipen<|0) || (i|
|00005eb0| 70 65 6e 3e 37 29 29 20 | 7b 0a 58 09 09 70 75 74 |pen>7)) |{.X..put|
|00005ec0| 73 28 22 42 61 64 20 70 | 65 6e 20 63 6f 6c 6f 72 |s("Bad p|en color|
|00005ed0| 2c 20 6d 75 73 74 20 62 | 65 20 30 20 74 6f 20 37 |, must b|e 0 to 7|
|00005ee0| 2e 22 29 3b 0a 58 09 09 | 65 72 72 68 61 6e 64 28 |.");.X..|errhand(|
|00005ef0| 29 3b 0a 58 09 7d 0a 58 | 09 70 72 69 6e 74 66 28 |);.X.}.X|.printf(|
|00005f00| 22 5c 30 33 33 50 70 57 | 28 49 25 64 29 5c 30 33 |"\033PpW|(I%d)\03|
|00005f10| 33 5c 5c 22 2c 69 70 65 | 6e 29 3b 0a 58 7d 0a 58 |3\\",ipe|n);.X}.X|
|00005f20| 0a 58 67 73 74 61 74 65 | 28 77 68 69 63 68 29 20 |.Xgstate|(which) |
|00005f30| 7b 0a 58 09 73 77 69 74 | 63 68 20 28 77 68 69 63 |{.X.swit|ch (whic|
|00005f40| 68 29 20 7b 0a 58 09 09 | 63 61 73 65 20 27 74 27 |h) {.X..|case 't'|
|00005f50| 3a 0a 58 09 09 09 70 72 | 69 6e 74 66 28 22 5c 30 |:.X...pr|intf("\0|
|00005f60| 33 33 50 72 53 4d 32 5c | 30 33 33 5c 5c 5c 30 33 |33PrSM2\|033\\\03|
|00005f70| 33 50 70 53 28 45 29 5c | 30 33 33 5c 5c 22 29 3b |3PpS(E)\|033\\");|
|00005f80| 0a 58 09 09 09 62 72 65 | 61 6b 3b 0a 58 09 09 63 |.X...bre|ak;.X..c|
|00005f90| 61 73 65 20 27 73 27 3a | 0a 58 09 09 63 61 73 65 |ase 's':|.X..case|
|00005fa0| 20 27 66 27 3a 0a 58 09 | 09 09 70 72 69 6e 74 66 | 'f':.X.|..printf|
|00005fb0| 28 22 5c 30 33 33 50 72 | 53 4d 30 5c 30 33 33 5c |("\033Pr|SM0\033\|
|00005fc0| 5c 5c 30 33 33 50 70 53 | 28 45 29 5c 30 33 33 5c |\\033PpS|(E)\033\|
|00005fd0| 5c 22 29 3b 0a 58 09 09 | 09 69 66 20 28 74 65 78 |\");.X..|.if (tex|
|00005fe0| 74 6d 6f 64 65 20 26 26 | 20 73 68 6f 77 6e 29 20 |tmode &&| shown) |
|00005ff0| 67 69 67 69 74 75 72 74 | 28 29 3b 0a 58 09 09 09 |gigiturt|();.X...|
|00006000| 62 72 65 61 6b 3b 0a 58 | 09 09 63 61 73 65 20 27 |break;.X|..case '|
|00006010| 2a 27 3a 0a 58 09 09 09 | 70 72 69 6e 74 66 28 22 |*':.X...|printf("|
|00006020| 5c 30 33 33 5b 4b 22 29 | 3b 0a 58 09 7d 0a 58 7d |\033[K")|;.X.}.X}|
|00006030| 0a 58 0a 45 4e 44 5f 4f | 46 5f 67 69 67 69 2e 69 |.X.END_O|F_gigi.i|
|00006040| 0a 69 66 20 74 65 73 74 | 20 32 31 33 32 20 2d 6e |.if test| 2132 -n|
|00006050| 65 20 60 77 63 20 2d 63 | 20 3c 67 69 67 69 2e 69 |e `wc -c| <gigi.i|
|00006060| 60 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |`; then.| echo|
|00006070| 20 73 68 61 72 3a 20 5c | 22 67 69 67 69 2e 69 5c | shar: \|"gigi.i\|
|00006080| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|00006090| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 66 69 0a 23 |wrong si|ze!.fi.#|
|000060a0| 20 65 6e 64 20 6f 66 20 | 6f 76 65 72 77 72 69 74 | end of |overwrit|
|000060b0| 69 6e 67 20 63 68 65 63 | 6b 0a 66 69 0a 69 66 20 |ing chec|k.fi.if |
|000060c0| 74 65 73 74 20 2d 66 20 | 68 65 6c 70 66 69 6c 65 |test -f |helpfile|
|000060d0| 20 2d 61 20 22 24 7b 31 | 7d 22 20 21 3d 20 22 2d | -a "${1|}" != "-|
|000060e0| 63 22 20 3b 20 74 68 65 | 6e 20 0a 20 20 65 63 68 |c" ; the|n . ech|
|000060f0| 6f 20 73 68 61 72 3a 20 | 57 69 6c 6c 20 6e 6f 74 |o shar: |Will not|
|00006100| 20 6f 76 65 72 2d 77 72 | 69 74 65 20 65 78 69 73 | over-wr|ite exis|
|00006110| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 68 65 6c 70 |ting fil|e \"help|
|00006120| 66 69 6c 65 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |file\".e|lse.echo|
|00006130| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00006140| 67 20 5c 22 68 65 6c 70 | 66 69 6c 65 5c 22 20 5c |g \"help|file\" \|
|00006150| 28 33 39 38 20 63 68 61 | 72 61 63 74 65 72 73 5c |(398 cha|racters\|
|00006160| 29 0a 73 65 64 20 22 73 | 2f 5e 58 2f 2f 22 20 3e |).sed "s|/^X//" >|
|00006170| 68 65 6c 70 66 69 6c 65 | 20 3c 3c 27 45 4e 44 5f |helpfile| <<'END_|
|00006180| 4f 46 5f 68 65 6c 70 66 | 69 6c 65 27 0a 58 0a 58 |OF_helpf|ile'.X.X|
|00006190| 4c 6f 67 6f 20 69 73 20 | 61 6e 20 69 6e 74 65 72 |Logo is |an inter|
|000061a0| 61 63 74 69 76 65 20 70 | 72 6f 63 65 64 75 72 61 |active p|rocedura|
|000061b0| 6c 20 70 72 6f 67 72 61 | 6d 6d 69 6e 67 20 6c 61 |l progra|mming la|
|000061c0| 6e 67 75 61 67 65 20 64 | 65 73 69 67 6e 65 64 20 |nguage d|esigned |
|000061d0| 66 6f 72 0a 58 65 64 75 | 63 61 74 69 6f 6e 2e 20 |for.Xedu|cation. |
|000061e0| 20 54 68 65 20 66 69 6c | 65 0a 58 09 2f 75 73 72 | The fil|e.X./usr|
|000061f0| 2f 73 72 63 2f 63 6d 64 | 2f 6c 6f 67 6f 2f 6c 6f |/src/cmd|/logo/lo|
|00006200| 67 6f 6d 61 6e 0a 58 69 | 73 20 61 6e 20 6e 72 6f |goman.Xi|s an nro|
|00006210| 66 66 2d 66 6f 72 6d 61 | 74 20 6c 6f 67 6f 20 6d |ff-forma|t logo m|
|00006220| 61 6e 75 61 6c 2e 20 20 | 54 6f 20 66 69 6e 64 20 |anual. |To find |
|00006230| 6f 75 74 20 61 62 6f 75 | 74 20 61 20 70 61 72 74 |out abou|t a part|
|00006240| 69 63 75 6c 61 72 20 4c | 6f 67 6f 0a 58 70 72 69 |icular L|ogo.Xpri|
|00006250| 6d 69 74 69 76 65 2c 20 | 75 73 65 20 74 68 65 20 |mitive, |use the |
|00006260| 22 64 65 73 63 72 69 62 | 65 22 20 63 6f 6d 6d 61 |"describ|e" comma|
|00006270| 6e 64 20 77 69 74 68 20 | 74 68 65 20 6e 61 6d 65 |nd with |the name|
|00006280| 20 6f 66 20 74 68 65 20 | 70 72 69 6d 69 74 69 76 | of the |primitiv|
|00006290| 65 20 61 73 0a 58 69 74 | 73 20 69 6e 70 75 74 2c |e as.Xit|s input,|
|000062a0| 20 65 2e 67 2e 0a 58 09 | 64 65 73 63 72 69 62 65 | e.g..X.|describe|
|000062b0| 20 22 70 72 69 6e 74 0a | 58 74 6f 20 73 65 65 20 | "print.|Xto see |
|000062c0| 74 68 65 20 64 65 73 63 | 72 69 70 74 69 6f 6e 20 |the desc|ription |
|000062d0| 6f 66 20 74 68 65 20 70 | 72 69 6e 74 20 63 6f 6d |of the p|rint com|
|000062e0| 6d 61 6e 64 2e 0a 58 0a | 58 54 68 65 20 63 6f 6d |mand..X.|XThe com|
|000062f0| 6d 61 6e 64 20 74 6f 20 | 6c 65 61 76 65 20 4c 6f |mand to |leave Lo|
|00006300| 67 6f 20 69 73 20 22 67 | 6f 6f 64 62 79 65 22 20 |go is "g|oodbye" |
|00006310| 28 61 62 62 72 65 76 69 | 61 74 65 64 20 22 62 79 |(abbrevi|ated "by|
|00006320| 65 22 29 2e 0a 58 0a 45 | 4e 44 5f 4f 46 5f 68 65 |e")..X.E|ND_OF_he|
|00006330| 6c 70 66 69 6c 65 0a 69 | 66 20 74 65 73 74 20 33 |lpfile.i|f test 3|
|00006340| 39 38 20 2d 6e 65 20 60 | 77 63 20 2d 63 20 3c 68 |98 -ne `|wc -c <h|
|00006350| 65 6c 70 66 69 6c 65 60 | 3b 20 74 68 65 6e 0a 20 |elpfile`|; then. |
|00006360| 20 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 5c 22 | echo |shar: \"|
|00006370| 68 65 6c 70 66 69 6c 65 | 5c 22 20 75 6e 70 61 63 |helpfile|\" unpac|
|00006380| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|00006390| 69 7a 65 21 0a 66 69 0a | 23 20 65 6e 64 20 6f 66 |ize!.fi.|# end of|
|000063a0| 20 6f 76 65 72 77 72 69 | 74 69 6e 67 20 63 68 65 | overwri|ting che|
|000063b0| 63 6b 0a 66 69 0a 69 66 | 20 74 65 73 74 20 21 20 |ck.fi.if| test ! |
|000063c0| 2d 64 20 6c 69 62 72 61 | 72 79 20 3b 20 74 68 65 |-d libra|ry ; the|
|000063d0| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|000063e0| 20 43 72 65 61 74 69 6e | 67 20 64 69 72 65 63 74 | Creatin|g direct|
|000063f0| 6f 72 79 20 5c 22 6c 69 | 62 72 61 72 79 5c 22 0a |ory \"li|brary\".|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.