home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / compsrcs / games / volume06 / lander.pch < prev    next >
SHell self-extracting ARchive  |  1991-08-27  |  4.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

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

You can browse this item here: lander.pch

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert IFF Binary Patch (other/iffBinaryPatch) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file ASCII text default
100% TrID E-Mail message (Var. 2) default
100% checkBytes Printable ASCII 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 application/mbox default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 64 65 63 | 77 72 6c 21 75 63 62 76 |From dec|wrl!ucbv|
|00000010| 61 78 21 74 75 74 2e 63 | 69 73 2e 6f 68 69 6f 2d |ax!tut.c|is.ohio-|
|00000020| 73 74 61 74 65 2e 65 64 | 75 21 63 73 2e 75 74 65 |state.ed|u!cs.ute|
|00000030| 78 61 73 2e 65 64 75 21 | 75 75 6e 65 74 21 7a 65 |xas.edu!|uunet!ze|
|00000040| 70 68 79 72 21 74 65 6b | 74 72 6f 6e 69 78 21 74 |phyr!tek|tronix!t|
|00000050| 65 6b 67 65 6e 21 74 65 | 6b 72 65 64 21 73 61 61 |ekgen!te|kred!saa|
|00000060| 62 21 62 69 6c 6c 72 20 | 53 61 74 20 4a 75 6e 20 |b!billr |Sat Jun |
|00000070| 32 34 20 31 34 3a 34 32 | 3a 33 38 20 50 44 54 20 |24 14:42|:38 PDT |
|00000080| 31 39 38 39 0a 41 72 74 | 69 63 6c 65 20 35 38 37 |1989.Art|icle 587|
|00000090| 20 6f 66 20 63 6f 6d 70 | 2e 73 6f 75 72 63 65 73 | of comp|.sources|
|000000a0| 2e 67 61 6d 65 73 3a 0a | 50 61 74 68 3a 20 64 65 |.games:.|Path: de|
|000000b0| 63 77 72 6c 21 75 63 62 | 76 61 78 21 74 75 74 2e |cwrl!ucb|vax!tut.|
|000000c0| 63 69 73 2e 6f 68 69 6f | 2d 73 74 61 74 65 2e 65 |cis.ohio|-state.e|
|000000d0| 64 75 21 63 73 2e 75 74 | 65 78 61 73 2e 65 64 75 |du!cs.ut|exas.edu|
|000000e0| 21 75 75 6e 65 74 21 7a | 65 70 68 79 72 21 74 65 |!uunet!z|ephyr!te|
|000000f0| 6b 74 72 6f 6e 69 78 21 | 74 65 6b 67 65 6e 21 74 |ktronix!|tekgen!t|
|00000100| 65 6b 72 65 64 21 73 61 | 61 62 21 62 69 6c 6c 72 |ekred!sa|ab!billr|
|00000110| 0a 46 72 6f 6d 3a 20 62 | 69 6c 6c 72 40 73 61 61 |.From: b|illr@saa|
|00000120| 62 2e 43 4e 41 2e 54 45 | 4b 2e 43 4f 4d 20 28 42 |b.CNA.TE|K.COM (B|
|00000130| 69 6c 6c 20 52 61 6e 64 | 6c 65 29 0a 4e 65 77 73 |ill Rand|le).News|
|00000140| 67 72 6f 75 70 73 3a 20 | 63 6f 6d 70 2e 73 6f 75 |groups: |comp.sou|
|00000150| 72 63 65 73 2e 67 61 6d | 65 73 0a 53 75 62 6a 65 |rces.gam|es.Subje|
|00000160| 63 74 3a 20 76 30 36 69 | 30 37 38 3a 20 20 6c 61 |ct: v06i|078: la|
|00000170| 6e 64 65 72 20 2d 20 6c | 75 6e 61 72 20 6c 61 6e |nder - l|unar lan|
|00000180| 64 65 72 20 73 69 6d 75 | 6c 61 74 69 6f 6e 20 66 |der simu|lation f|
|00000190| 6f 72 20 42 53 44 20 61 | 6e 64 20 53 79 73 56 2c |or BSD a|nd SysV,|
|000001a0| 20 50 61 74 63 68 31 0a | 4d 65 73 73 61 67 65 2d | Patch1.|Message-|
|000001b0| 49 44 3a 20 3c 34 31 32 | 32 40 74 65 6b 72 65 64 |ID: <412|2@tekred|
|000001c0| 2e 43 4e 41 2e 54 45 4b | 2e 43 4f 4d 3e 0a 44 61 |.CNA.TEK|.COM>.Da|
|000001d0| 74 65 3a 20 32 31 20 4a | 75 6e 20 38 39 20 31 33 |te: 21 J|un 89 13|
|000001e0| 3a 32 38 3a 34 33 20 47 | 4d 54 0a 53 65 6e 64 65 |:28:43 G|MT.Sende|
|000001f0| 72 3a 20 6e 65 77 73 40 | 74 65 6b 72 65 64 2e 43 |r: news@|tekred.C|
|00000200| 4e 41 2e 54 45 4b 2e 43 | 4f 4d 0a 4c 69 6e 65 73 |NA.TEK.C|OM.Lines|
|00000210| 3a 20 31 33 34 0a 41 70 | 70 72 6f 76 65 64 3a 20 |: 134.Ap|proved: |
|00000220| 62 69 6c 6c 72 40 73 61 | 61 62 2e 43 4e 41 2e 54 |billr@sa|ab.CNA.T|
|00000230| 45 4b 2e 43 4f 4d 0a 0a | 53 75 62 6d 69 74 74 65 |EK.COM..|Submitte|
|00000240| 64 2d 62 79 3a 20 73 74 | 61 63 65 79 40 68 63 72 |d-by: st|acey@hcr|
|00000250| 2e 55 55 43 50 20 28 53 | 74 61 63 65 79 20 43 61 |.UUCP (S|tacey Ca|
|00000260| 6d 70 62 65 6c 6c 29 0a | 50 6f 73 74 69 6e 67 2d |mpbell).|Posting-|
|00000270| 6e 75 6d 62 65 72 3a 20 | 56 6f 6c 75 6d 65 20 36 |number: |Volume 6|
|00000280| 2c 20 49 73 73 75 65 20 | 37 38 0a 41 72 63 68 69 |, Issue |78.Archi|
|00000290| 76 65 2d 6e 61 6d 65 3a | 20 6c 61 6e 64 65 72 2e |ve-name:| lander.|
|000002a0| 70 63 68 31 0a 50 61 74 | 63 68 2d 54 6f 3a 20 56 |pch1.Pat|ch-To: V|
|000002b0| 6f 6c 75 6d 65 20 36 2c | 20 49 73 73 75 65 20 37 |olume 6,| Issue 7|
|000002c0| 30 0a 0a 09 5b 54 68 69 | 73 20 77 61 73 20 70 72 |0...[Thi|s was pr|
|000002d0| 65 76 69 6f 75 73 6c 79 | 20 70 6f 73 74 65 64 20 |eviously| posted |
|000002e0| 6f 6e 20 63 6f 6d 70 2e | 73 6f 75 72 63 65 73 2e |on comp.|sources.|
|000002f0| 67 61 6d 65 73 2e 62 75 | 67 73 2e 20 49 20 61 6d |games.bu|gs. I am|
|00000300| 20 70 6f 73 74 69 6e 67 | 0a 09 20 69 74 20 68 65 | posting|.. it he|
|00000310| 72 65 20 73 6f 20 74 68 | 61 74 20 69 74 20 77 69 |re so th|at it wi|
|00000320| 6c 6c 20 67 65 74 20 61 | 72 63 68 69 76 65 64 2e |ll get a|rchived.|
|00000330| 20 20 4e 6f 74 65 20 74 | 68 61 74 20 74 68 69 73 | Note t|hat this|
|00000340| 20 69 73 20 2a 6e 6f 74 | 2a 20 61 0a 09 20 70 61 | is *not|* a.. pa|
|00000350| 74 63 68 28 31 29 20 66 | 69 6c 65 2e 20 44 6f 20 |tch(1) f|ile. Do |
|00000360| 6e 6f 74 20 66 65 65 64 | 20 69 74 20 74 6f 20 70 |not feed| it to p|
|00000370| 61 74 63 68 2e 20 20 2d | 62 72 5d 0a 0a 23 21 20 |atch. -|br]..#! |
|00000380| 2f 62 69 6e 2f 73 68 0a | 23 20 54 68 69 73 20 69 |/bin/sh.|# This i|
|00000390| 73 20 61 20 73 68 65 6c | 6c 20 61 72 63 68 69 76 |s a shel|l archiv|
|000003a0| 65 2e 20 20 52 65 6d 6f | 76 65 20 61 6e 79 74 68 |e. Remo|ve anyth|
|000003b0| 69 6e 67 20 62 65 66 6f | 72 65 20 74 68 69 73 20 |ing befo|re this |
|000003c0| 6c 69 6e 65 2c 20 74 68 | 65 6e 20 75 6e 70 61 63 |line, th|en unpac|
|000003d0| 6b 0a 23 20 69 74 20 62 | 79 20 73 61 76 69 6e 67 |k.# it b|y saving|
|000003e0| 20 69 74 20 69 6e 74 6f | 20 61 20 66 69 6c 65 20 | it into| a file |
|000003f0| 61 6e 64 20 74 79 70 69 | 6e 67 20 22 73 68 20 66 |and typi|ng "sh f|
|00000400| 69 6c 65 22 2e 20 20 54 | 6f 20 6f 76 65 72 77 72 |ile". T|o overwr|
|00000410| 69 74 65 20 65 78 69 73 | 74 69 6e 67 0a 23 20 66 |ite exis|ting.# f|
|00000420| 69 6c 65 73 2c 20 74 79 | 70 65 20 22 73 68 20 66 |iles, ty|pe "sh f|
|00000430| 69 6c 65 20 2d 63 22 2e | 20 20 59 6f 75 20 63 61 |ile -c".| You ca|
|00000440| 6e 20 61 6c 73 6f 20 66 | 65 65 64 20 74 68 69 73 |n also f|eed this|
|00000450| 20 61 73 20 73 74 61 6e | 64 61 72 64 20 69 6e 70 | as stan|dard inp|
|00000460| 75 74 20 76 69 61 0a 23 | 20 75 6e 73 68 61 72 2c |ut via.#| unshar,|
|00000470| 20 6f 72 20 62 79 20 74 | 79 70 69 6e 67 20 22 73 | or by t|yping "s|
|00000480| 68 20 3c 66 69 6c 65 22 | 2c 20 65 2e 67 2e 2e 20 |h <file"|, e.g.. |
|00000490| 20 49 66 20 74 68 69 73 | 20 61 72 63 68 69 76 65 | If this| archive|
|000004a0| 20 69 73 20 63 6f 6d 70 | 6c 65 74 65 2c 20 79 6f | is comp|lete, yo|
|000004b0| 75 0a 23 20 77 69 6c 6c | 20 73 65 65 20 74 68 65 |u.# will| see the|
|000004c0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 6d 65 73 73 61 | followi|ng messa|
|000004d0| 67 65 20 61 74 20 74 68 | 65 20 65 6e 64 3a 0a 23 |ge at th|e end:.#|
|000004e0| 09 09 22 45 6e 64 20 6f | 66 20 73 68 65 6c 6c 20 |.."End o|f shell |
|000004f0| 61 72 63 68 69 76 65 2e | 22 0a 23 20 43 6f 6e 74 |archive.|".# Cont|
|00000500| 65 6e 74 73 3a 20 20 70 | 61 74 63 68 65 73 30 31 |ents: p|atches01|
|00000510| 0a 23 20 57 72 61 70 70 | 65 64 20 62 79 20 62 69 |.# Wrapp|ed by bi|
|00000520| 6c 6c 72 40 73 61 61 62 | 20 6f 6e 20 57 65 64 20 |llr@saab| on Wed |
|00000530| 4a 75 6e 20 32 31 20 30 | 36 3a 32 35 3a 34 39 20 |Jun 21 0|6:25:49 |
|00000540| 31 39 38 39 0a 50 41 54 | 48 3d 2f 62 69 6e 3a 2f |1989.PAT|H=/bin:/|
|00000550| 75 73 72 2f 62 69 6e 3a | 2f 75 73 72 2f 75 63 62 |usr/bin:|/usr/ucb|
|00000560| 20 3b 20 65 78 70 6f 72 | 74 20 50 41 54 48 0a 69 | ; expor|t PATH.i|
|00000570| 66 20 74 65 73 74 20 2d | 66 20 27 70 61 74 63 68 |f test -|f 'patch|
|00000580| 65 73 30 31 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |es01' -a| "${1}" |
|00000590| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|000005a0| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|000005b0| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|000005c0| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 70 |isting f|ile \"'p|
|000005d0| 61 74 63 68 65 73 30 31 | 27 5c 22 0a 65 6c 73 65 |atches01|'\".else|
|000005e0| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 |.echo sh|ar: Extr|
|000005f0| 61 63 74 69 6e 67 20 5c | 22 27 70 61 74 63 68 65 |acting \|"'patche|
|00000600| 73 30 31 27 5c 22 20 5c | 28 33 31 34 35 20 63 68 |s01'\" \|(3145 ch|
|00000610| 61 72 61 63 74 65 72 73 | 5c 29 0a 73 65 64 20 22 |aracters|\).sed "|
|00000620| 73 2f 5e 58 2f 2f 22 20 | 3e 27 70 61 74 63 68 65 |s/^X//" |>'patche|
|00000630| 73 30 31 27 20 3c 3c 27 | 45 4e 44 5f 4f 46 5f 46 |s01' <<'|END_OF_F|
|00000640| 49 4c 45 27 0a 58 41 20 | 6e 75 6d 62 65 72 20 6f |ILE'.XA |number o|
|00000650| 66 20 70 65 6f 70 6c 65 | 20 68 61 76 65 20 61 73 |f people| have as|
|00000660| 6b 65 64 20 73 6f 6d 65 | 20 71 75 65 73 74 69 6f |ked some| questio|
|00000670| 6e 73 20 61 62 6f 75 74 | 20 4c 75 6e 61 72 20 4c |ns about| Lunar L|
|00000680| 61 6e 64 65 72 2c 0a 58 | 61 20 6e 75 6d 62 65 72 |ander,.X|a number|
|00000690| 20 6f 66 20 6f 74 68 65 | 72 20 70 65 6f 70 6c 65 | of othe|r people|
|000006a0| 20 28 75 73 75 61 6c 6c | 79 20 63 6f 6d 70 69 6c | (usuall|y compil|
|000006b0| 69 6e 67 20 6f 6e 20 42 | 53 44 29 20 68 61 76 65 |ing on B|SD) have|
|000006c0| 20 73 65 6e 74 20 73 6f | 6d 65 0a 58 70 61 74 63 | sent so|me.Xpatc|
|000006d0| 68 65 73 20 74 6f 20 64 | 65 61 6c 20 77 69 74 68 |hes to d|eal with|
|000006e0| 20 63 75 72 73 65 73 28 | 33 58 29 20 72 6f 75 74 | curses(|3X) rout|
|000006f0| 69 6e 65 73 20 74 68 61 | 74 20 61 72 65 20 6e 6f |ines tha|t are no|
|00000700| 74 20 69 6e 20 74 68 65 | 69 72 20 76 65 72 73 69 |t in the|ir versi|
|00000710| 6f 6e 0a 58 6f 66 20 42 | 53 44 20 63 75 72 73 65 |on.Xof B|SD curse|
|00000720| 73 2e 20 20 48 65 72 65 | 20 69 73 20 61 20 63 6f |s. Here| is a co|
|00000730| 6d 70 69 6c 61 74 69 6f | 6e 20 6f 66 20 69 6e 66 |mpilatio|n of inf|
|00000740| 6f 20 74 68 65 73 65 20 | 70 65 6f 70 6c 65 20 6f |o these |people o|
|00000750| 66 66 65 72 65 64 2f 72 | 65 71 75 69 72 65 64 2e |ffered/r|equired.|
|00000760| 0a 58 0a 58 43 6f 6e 74 | 72 6f 6c 6c 69 6e 67 20 |.X.XCont|rolling |
|00000770| 74 68 65 20 4c 61 6e 64 | 65 72 0a 58 2d 2d 2d 2d |the Land|er.X----|
|00000780| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000790| 2d 2d 0a 58 0a 58 54 68 | 65 20 6c 61 6e 64 65 72 |--.X.XTh|e lander|
|000007a0| 20 69 73 20 66 69 74 74 | 65 64 20 77 69 74 68 20 | is fitt|ed with |
|000007b0| 74 68 72 65 65 20 72 6f | 63 6b 65 74 73 3b 0a 58 |three ro|ckets;.X|
|000007c0| 0a 58 20 20 20 20 20 20 | 20 20 20 20 2f 7e 5c 0a |.X | /~\.|
|000007d0| 58 20 20 20 20 20 20 20 | 20 20 20 7c 20 7c 0a 58 |X | | |.X|
|000007e0| 20 20 20 6c 65 66 74 20 | 20 2d 2b 2b 2b 2d 20 20 | left | -+++- |
|000007f0| 72 69 67 68 74 0a 58 20 | 20 20 20 20 20 20 20 20 |right.X | |
|00000800| 20 20 7c 0a 58 20 20 20 | 20 20 20 76 65 72 74 2e | |.X | vert.|
|00000810| 20 74 68 72 75 73 74 0a | 58 0a 58 50 72 65 73 73 | thrust.|X.XPress|
|00000820| 20 6b 65 79 73 20 27 30 | 27 20 2d 20 27 39 27 20 | keys '0|' - '9' |
|00000830| 74 6f 20 73 65 74 20 74 | 68 65 20 64 65 66 61 75 |to set t|he defau|
|00000840| 6c 74 20 70 6f 77 65 72 | 20 6c 65 76 65 6c 2c 0a |lt power| level,.|
|00000850| 58 77 68 65 72 65 20 27 | 30 27 20 3d 3d 20 6e 6f |Xwhere '|0' == no|
|00000860| 20 70 6f 77 65 72 20 61 | 6e 64 20 27 39 27 20 3d | power a|nd '9' =|
|00000870| 3d 20 66 75 6c 6c 20 70 | 6f 77 65 72 2e 0a 58 0a |= full p|ower..X.|
|00000880| 58 50 72 65 73 73 69 6e | 67 20 27 7a 27 20 73 65 |XPressin|g 'z' se|
|00000890| 74 73 20 74 68 65 20 70 | 6f 77 65 72 20 6f 75 74 |ts the p|ower out|
|000008a0| 70 75 74 20 6f 66 20 74 | 68 65 20 6c 65 66 74 20 |put of t|he left |
|000008b0| 72 6f 63 6b 65 74 0a 58 | 74 6f 20 74 68 65 20 64 |rocket.X|to the d|
|000008c0| 65 66 61 75 6c 74 2c 20 | 74 68 69 73 20 68 61 73 |efault, |this has|
|000008d0| 20 74 68 65 20 65 66 66 | 65 63 74 20 6f 66 20 70 | the eff|ect of p|
|000008e0| 75 73 68 69 6e 67 20 74 | 68 65 20 6c 61 6e 64 65 |ushing t|he lande|
|000008f0| 72 0a 58 74 6f 20 74 68 | 65 20 72 69 67 68 74 20 |r.Xto th|e right |
|00000900| 28 69 66 20 74 68 65 20 | 64 65 66 61 75 6c 74 20 |(if the |default |
|00000910| 70 6f 77 65 72 20 6c 65 | 76 65 6c 20 69 73 20 3e |power le|vel is >|
|00000920| 20 30 29 2e 0a 58 0a 58 | 50 72 65 73 73 69 6e 67 | 0)..X.X|Pressing|
|00000930| 20 27 63 27 20 73 65 74 | 73 20 74 68 65 20 70 6f | 'c' set|s the po|
|00000940| 77 65 72 20 6f 75 74 70 | 75 74 20 6f 66 20 74 68 |wer outp|ut of th|
|00000950| 65 20 72 69 67 68 74 20 | 72 6f 63 6b 65 74 0a 58 |e right |rocket.X|
|00000960| 74 6f 20 74 68 65 20 64 | 65 66 61 75 6c 74 2c 20 |to the d|efault, |
|00000970| 74 68 69 73 20 68 61 73 | 20 74 68 65 20 65 66 66 |this has| the eff|
|00000980| 65 63 74 20 6f 66 20 70 | 75 73 68 69 6e 67 20 74 |ect of p|ushing t|
|00000990| 68 65 20 6c 61 6e 64 65 | 72 0a 58 74 6f 20 74 68 |he lande|r.Xto th|
|000009a0| 65 20 6c 65 66 74 2e 0a | 58 0a 58 50 72 65 73 73 |e left..|X.XPress|
|000009b0| 69 6e 67 20 27 78 27 20 | 73 65 74 73 20 74 68 65 |ing 'x' |sets the|
|000009c0| 20 76 65 72 74 69 63 61 | 6c 20 74 68 72 75 73 74 | vertica|l thrust|
|000009d0| 20 6f 66 20 74 68 65 20 | 6d 69 64 64 6c 65 20 72 | of the |middle r|
|000009e0| 6f 63 6b 65 74 0a 58 74 | 6f 20 74 68 65 20 64 65 |ocket.Xt|o the de|
|000009f0| 66 61 75 6c 74 20 6c 65 | 76 65 6c 2c 20 69 66 20 |fault le|vel, if |
|00000a00| 74 68 69 73 20 69 73 20 | 6e 6f 6e 20 7a 65 72 6f |this is |non zero|
|00000a10| 20 69 74 20 77 69 6c 6c | 20 73 6c 6f 77 20 74 68 | it will| slow th|
|00000a20| 65 0a 58 72 61 74 65 20 | 6f 66 20 64 65 73 63 65 |e.Xrate |of desce|
|00000a30| 6e 74 20 6f 66 20 74 68 | 65 20 6c 61 6e 64 65 72 |nt of th|e lander|
|00000a40| 2e 20 20 49 66 20 69 74 | 20 73 65 74 73 20 69 74 |. If it| sets it|
|00000a50| 20 74 6f 20 7a 65 72 6f | 20 74 68 65 0a 58 6c 61 | to zero| the.Xla|
|00000a60| 6e 64 65 72 20 77 69 6c | 6c 20 64 72 6f 70 20 6c |nder wil|l drop l|
|00000a70| 69 6b 65 20 61 20 62 72 | 69 63 6b 21 0a 58 0a 58 |ike a br|ick!.X.X|
|00000a80| 57 68 61 74 27 73 20 6f | 6e 20 74 68 65 20 53 63 |What's o|n the Sc|
|00000a90| 72 65 65 6e 0a 58 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |reen.X--|--------|
|00000aa0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 58 0a 58 54 68 |--------|--.X.XTh|
|00000ab0| 65 20 74 6f 70 20 6f 66 | 20 74 68 65 20 73 63 72 |e top of| the scr|
|00000ac0| 65 65 6e 20 72 65 61 64 | 73 3b 0a 58 0a 58 61 6c |een read|s;.X.Xal|
|00000ad0| 74 3a 20 20 58 3a 20 20 | 64 59 3a 20 20 64 58 3a |t: X: |dY: dX:|
|00000ae0| 20 20 53 63 6f 72 65 3a | 0a 58 0a 58 27 61 6c 74 | Score:|.X.X'alt|
|00000af0| 27 20 09 2d 20 69 73 20 | 74 68 65 20 63 75 72 72 |' .- is |the curr|
|00000b00| 65 6e 74 20 61 6c 74 69 | 74 75 64 65 20 66 72 6f |ent alti|tude fro|
|00000b10| 6d 20 22 73 65 61 20 6c | 65 76 65 6c 22 20 69 6e |m "sea l|evel" in|
|00000b20| 20 6d 65 74 72 65 73 0a | 58 27 58 27 20 09 2d 20 | metres.|X'X' .- |
|00000b30| 69 73 20 68 6f 77 20 66 | 61 72 20 79 6f 75 20 68 |is how f|ar you h|
|00000b40| 61 76 65 20 6d 6f 76 65 | 64 20 68 6f 72 69 7a 6f |ave move|d horizo|
|00000b50| 6e 74 61 6c 6c 79 20 28 | 69 6e 20 6d 65 74 65 72 |ntally (|in meter|
|00000b60| 73 29 0a 58 27 64 59 27 | 20 09 2d 20 69 73 20 79 |s).X'dY'| .- is y|
|00000b70| 6f 75 72 20 72 61 74 65 | 20 6f 66 20 63 68 61 6e |our rate| of chan|
|00000b80| 67 65 20 6f 66 20 76 65 | 72 74 69 63 61 6c 20 6d |ge of ve|rtical m|
|00000b90| 6f 76 65 6d 65 6e 74 2c | 20 28 65 2e 67 2e 20 2d |ovement,| (e.g. -|
|00000ba0| 31 30 2e 30 0a 58 09 20 | 20 6d 65 61 6e 73 20 79 |10.0.X. | means y|
|00000bb0| 6f 75 20 66 65 6c 6c 20 | 31 30 20 6d 65 74 65 72 |ou fell |10 meter|
|00000bc0| 73 20 69 6e 20 74 68 65 | 20 70 72 65 76 69 6f 75 |s in the| previou|
|00000bd0| 73 20 73 65 63 6f 6e 64 | 29 0a 58 27 64 58 27 09 |s second|).X'dX'.|
|00000be0| 2d 20 69 73 20 79 6f 75 | 72 20 72 61 74 65 20 6f |- is you|r rate o|
|00000bf0| 66 20 63 68 61 6e 67 65 | 20 6f 66 20 68 6f 72 69 |f change| of hori|
|00000c00| 7a 6f 6e 61 6c 20 6d 6f | 76 65 6d 65 6e 74 2c 20 |zonal mo|vement, |
|00000c10| 28 65 2e 67 2e 20 2d 31 | 30 2e 30 0a 58 09 20 20 |(e.g. -1|0.0.X. |
|00000c20| 6d 65 61 6e 73 20 79 6f | 75 20 6d 6f 76 65 64 20 |means yo|u moved |
|00000c30| 6c 65 66 74 20 31 30 20 | 6d 65 74 72 65 73 20 69 |left 10 |metres i|
|00000c40| 6e 20 74 68 65 20 70 72 | 65 76 69 6f 75 73 20 73 |n the pr|evious s|
|00000c50| 65 63 6f 6e 64 29 0a 58 | 27 53 63 6f 72 65 27 09 |econd).X|'Score'.|
|00000c60| 2d 20 69 73 20 79 6f 75 | 72 20 63 75 72 72 65 6e |- is you|r curren|
|00000c70| 74 20 73 63 6f 72 65 2e | 0a 58 0a 58 41 74 20 74 |t score.|.X.XAt t|
|00000c80| 68 65 20 62 6f 74 74 6f | 6d 20 6f 66 20 74 68 65 |he botto|m of the|
|00000c90| 20 73 63 72 65 65 6e 3b | 0a 58 0a 58 54 68 72 75 | screen;|.X.XThru|
|00000ca0| 73 74 20 2d 20 4c 3a 20 | 20 76 65 72 74 3a 20 20 |st - L: | vert: |
|00000cb0| 52 3a 20 20 70 6f 77 3a | 20 20 46 75 65 6c 3a 0a |R: pow:| Fuel:.|
|00000cc0| 58 0a 58 27 4c 27 09 2d | 20 69 73 20 74 68 72 75 |X.X'L'.-| is thru|
|00000cd0| 73 74 20 66 72 6f 6d 20 | 74 68 65 20 6c 65 66 74 |st from |the left|
|00000ce0| 20 72 6f 63 6b 65 74 20 | 28 70 75 73 68 65 73 20 | rocket |(pushes |
|00000cf0| 79 6f 75 20 74 6f 20 74 | 68 65 20 72 69 67 68 74 |you to t|he right|
|00000d00| 29 0a 58 27 52 27 09 2d | 20 69 73 20 74 68 72 75 |).X'R'.-| is thru|
|00000d10| 73 74 20 66 72 6f 6d 20 | 74 68 65 20 72 69 67 68 |st from |the righ|
|00000d20| 74 20 72 6f 63 6b 65 74 | 20 28 70 75 73 68 65 73 |t rocket| (pushes|
|00000d30| 20 79 6f 75 20 74 6f 20 | 74 68 65 20 6c 65 66 74 | you to |the left|
|00000d40| 29 0a 58 09 20 20 42 6f | 74 68 20 27 4c 27 20 61 |).X. Bo|th 'L' a|
|00000d50| 6e 64 20 27 52 27 20 61 | 6c 74 65 72 20 74 68 65 |nd 'R' a|lter the|
|00000d60| 20 27 64 58 27 20 76 61 | 6c 75 65 2e 0a 58 27 76 | 'dX' va|lue..X'v|
|00000d70| 65 72 74 27 09 2d 20 69 | 73 20 74 68 72 75 73 74 |ert'.- i|s thrust|
|00000d80| 20 66 72 6f 6d 20 74 68 | 65 20 76 65 72 74 69 63 | from th|e vertic|
|00000d90| 61 6c 20 72 6f 63 6b 65 | 74 20 28 73 6c 6f 77 73 |al rocke|t (slows|
|00000da0| 20 74 68 65 20 6c 61 6e | 64 65 72 27 73 0a 58 09 | the lan|der's.X.|
|00000db0| 20 20 72 61 74 65 20 6f | 66 20 64 65 73 63 65 6e | rate o|f descen|
|00000dc0| 74 20 69 2e 65 2e 20 61 | 6c 74 65 72 73 20 27 64 |t i.e. a|lters 'd|
|00000dd0| 59 27 29 0a 58 27 70 6f | 77 27 09 2d 20 69 73 20 |Y').X'po|w'.- is |
|00000de0| 74 68 65 20 64 65 66 61 | 75 6c 74 20 70 6f 77 65 |the defa|ult powe|
|00000df0| 72 20 73 65 74 74 69 6e | 67 20 74 68 61 74 20 77 |r settin|g that w|
|00000e00| 69 6c 6c 20 62 65 20 75 | 73 65 64 20 77 68 65 6e |ill be u|sed when|
|00000e10| 20 79 6f 75 0a 58 09 20 | 20 70 72 65 73 73 20 27 | you.X. | press '|
|00000e20| 7a 27 2c 20 27 78 27 20 | 6f 72 20 27 63 27 0a 58 |z', 'x' |or 'c'.X|
|00000e30| 27 46 75 65 6c 27 09 2d | 20 74 68 65 20 61 6d 6f |'Fuel'.-| the amo|
|00000e40| 75 6e 74 20 6f 66 20 66 | 75 65 6c 20 6c 65 66 74 |unt of f|uel left|
|00000e50| 2c 20 77 68 65 6e 20 74 | 68 69 73 20 72 65 61 63 |, when t|his reac|
|00000e60| 68 65 73 20 7a 65 72 6f | 20 61 6c 6c 20 74 68 72 |hes zero| all thr|
|00000e70| 75 73 74 0a 58 09 20 20 | 66 72 6f 6d 20 72 6f 63 |ust.X. |from roc|
|00000e80| 6b 65 74 73 20 63 65 61 | 73 65 73 2e 0a 58 0a 58 |kets cea|ses..X.X|
|00000e90| 54 68 65 20 74 77 6f 20 | 72 75 6c 65 73 20 66 6f |The two |rules fo|
|00000ea0| 72 20 6c 61 6e 64 69 6e | 67 20 61 72 65 3b 0a 58 |r landin|g are;.X|
|00000eb0| 09 31 2e 20 54 72 79 20 | 74 6f 20 67 65 74 20 64 |.1. Try |to get d|
|00000ec0| 59 20 3e 3d 20 2d 35 20 | 6d 65 74 72 65 73 20 70 |Y >= -5 |metres p|
|00000ed0| 65 72 20 73 65 63 6f 6e | 64 2c 20 61 6e 79 74 68 |er secon|d, anyth|
|00000ee0| 69 6e 67 20 66 61 73 74 | 65 72 0a 58 09 20 20 20 |ing fast|er.X. |
|00000ef0| 74 68 61 6e 20 2d 35 20 | 77 69 6c 6c 20 63 61 75 |than -5 |will cau|
|00000f00| 73 65 20 74 68 65 20 6c | 61 6e 64 65 72 20 74 6f |se the l|ander to|
|00000f10| 20 65 78 70 6c 6f 64 65 | 2e 0a 58 09 32 2e 20 4d | explode|..X.2. M|
|00000f20| 61 6b 65 20 73 75 72 65 | 20 79 6f 75 20 61 72 65 |ake sure| you are|
|00000f30| 20 6c 61 6e 64 69 6e 67 | 20 6f 6e 20 61 20 70 61 | landing| on a pa|
|00000f40| 64 2e 0a 58 0a 58 53 6f | 6d 65 20 42 53 44 20 50 |d..X.XSo|me BSD P|
|00000f50| 61 74 63 68 65 73 0a 58 | 2d 2d 2d 2d 2d 2d 2d 2d |atches.X|--------|
|00000f60| 2d 2d 2d 2d 2d 2d 2d 2d | 0a 58 0a 58 47 6f 72 64 |--------|.X.XGord|
|00000f70| 6f 6e 20 56 69 63 6b 65 | 72 73 20 6f 66 66 65 72 |on Vicke|rs offer|
|00000f80| 65 64 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |ed the f|ollowing|
|00000f90| 20 66 6f 72 20 55 6c 74 | 72 69 78 20 70 65 6f 70 | for Ult|rix peop|
|00000fa0| 6c 65 20 28 74 68 61 6e | 6b 73 29 2e 2e 2e 0a 58 |le (than|ks)....X|
|00000fb0| 0a 58 54 6f 20 64 65 61 | 6c 20 77 69 74 68 20 63 |.XTo dea|l with c|
|00000fc0| 72 6d 6f 64 65 28 29 20 | 6e 6f 74 20 62 65 69 6e |rmode() |not bein|
|00000fd0| 67 20 73 75 70 70 6f 72 | 74 65 64 3b 0a 58 0a 58 |g suppor|ted;.X.X|
|00000fe0| 20 20 20 20 20 46 69 6c | 65 3a 20 73 63 72 65 65 | Fil|e: scree|
|00000ff0| 6e 2e 63 0a 58 20 20 20 | 20 20 46 75 6e 63 74 69 |n.c.X | Functi|
|00001000| 6f 6e 3a 20 49 6e 69 74 | 69 61 6c 69 73 65 53 63 |on: Init|ialiseSc|
|00001010| 72 65 65 6e 28 29 0a 58 | 20 20 20 20 20 43 68 61 |reen().X| Cha|
|00001020| 6e 67 65 3a 20 41 64 64 | 65 64 20 61 6e 6f 74 68 |nge: Add|ed anoth|
|00001030| 65 72 20 23 69 66 64 65 | 66 20 42 53 44 0a 58 20 |er #ifde|f BSD.X |
|00001040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001050| 69 6e 69 74 73 63 72 28 | 29 3b 0a 58 20 20 20 20 |initscr(|);.X |
|00001060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6e 6f 65 | | noe|
|00001070| 63 68 6f 28 29 3b 0a 58 | 20 20 7c 20 20 20 20 20 |cho();.X| | |
|00001080| 20 23 69 66 64 65 66 20 | 42 53 44 0a 58 20 20 7c | #ifdef |BSD.X ||
|00001090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 72 | | cr|
|000010a0| 6d 6f 64 65 28 29 3b 0a | 58 20 20 7c 20 20 20 20 |mode();.|X | |
|000010b0| 20 20 23 65 6c 73 65 0a | 58 20 20 20 20 20 20 20 | #else.|X |
|000010c0| 20 20 20 20 20 20 20 20 | 20 20 63 62 72 65 61 6b | | cbreak|
|000010d0| 28 29 3b 0a 58 20 20 7c | 20 20 20 20 20 20 23 65 |();.X || #e|
|000010e0| 6e 64 69 66 0a 58 20 20 | 20 20 20 20 20 20 20 20 |ndif.X | |
|000010f0| 20 20 20 20 20 20 20 2a | 69 6e 69 74 5f 73 63 72 | *|init_scr|
|00001100| 20 3d 20 73 74 64 73 63 | 72 0a 58 0a 58 20 20 20 | = stdsc|r.X.X |
|00001110| 20 20 45 61 63 68 20 6f | 66 20 74 68 65 20 61 62 | Each o|f the ab|
|00001120| 6f 76 65 20 6c 69 6e 65 | 73 20 74 68 61 74 20 73 |ove line|s that s|
|00001130| 74 61 72 74 20 77 69 74 | 68 20 61 20 70 69 70 65 |tart wit|h a pipe|
|00001140| 20 28 22 7c 22 29 20 72 | 65 70 72 65 73 65 6e 74 | ("|") r|epresent|
|00001150| 20 6c 69 6e 65 73 0a 58 | 20 20 20 20 20 74 68 61 | lines.X| tha|
|00001160| 74 20 49 27 76 65 20 69 | 6e 73 65 72 74 65 64 2e |t I've i|nserted.|
|00001170| 20 4e 6f 20 6c 69 6e 65 | 73 20 77 65 72 65 20 64 | No line|s were d|
|00001180| 65 6c 65 74 65 64 2e 0a | 58 0a 58 54 6f 20 64 65 |eleted..|X.XTo de|
|00001190| 61 6c 20 77 69 74 68 20 | 65 6e 64 77 69 6e 28 29 |al with |endwin()|
|000011a0| 20 6c 65 61 76 69 6e 67 | 20 74 68 65 20 63 75 72 | leaving| the cur|
|000011b0| 73 6f 72 20 61 74 20 74 | 6f 20 74 6f 70 20 6f 66 |sor at t|o top of|
|000011c0| 20 74 68 65 20 73 63 72 | 65 65 6e 3b 0a 58 0a 58 | the scr|een;.X.X|
|000011d0| 20 20 20 20 20 20 46 69 | 6c 65 3a 20 6c 61 6e 64 | Fi|le: land|
|000011e0| 2e 63 0a 58 20 20 20 20 | 20 20 46 75 6e 63 74 69 |.c.X | Functi|
|000011f0| 6f 6e 3a 20 45 6e 64 43 | 75 72 73 65 73 28 29 0a |on: EndC|urses().|
|00001200| 58 20 20 20 20 20 20 43 | 68 61 6e 67 65 3a 0a 58 |X C|hange:.X|
|00001210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 77 68 | | wh|
|00001220| 69 6c 65 28 77 67 65 74 | 63 68 28 73 63 72 65 65 |ile(wget|ch(scree|
|00001230| 6e 29 20 21 3d 20 27 20 | 27 29 3b 0a 58 20 20 20 |n) != ' |');.X |
|00001240| 20 20 20 20 20 7c 20 20 | 20 20 20 63 6c 65 61 72 | | | clear|
|00001250| 28 29 3b 0a 58 20 20 20 | 20 20 20 20 20 7c 20 20 |();.X | | |
|00001260| 20 20 20 72 65 66 72 65 | 73 68 28 29 3b 0a 58 20 | refre|sh();.X |
|00001270| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 65 6e 64 | | end|
|00001280| 77 69 6e 28 29 3b 0a 58 | 0a 58 48 6f 70 65 20 74 |win();.X|.XHope t|
|00001290| 68 69 73 20 68 61 73 20 | 62 65 65 6e 20 6f 66 20 |his has |been of |
|000012a0| 73 6f 6d 65 20 68 65 6c | 70 2e 0a 58 2d 2d 20 0a |some hel|p..X-- .|
|000012b0| 58 53 74 61 63 65 79 20 | 43 61 6d 70 62 65 6c 6c |XStacey |Campbell|
|000012c0| 2c 20 48 43 52 20 43 6f | 72 70 6f 72 61 74 69 6f |, HCR Co|rporatio|
|000012d0| 6e 2c 20 7b 6c 73 75 63 | 2c 75 74 7a 6f 6f 2c 75 |n, {lsuc|,utzoo,u|
|000012e0| 74 63 73 72 69 7d 21 68 | 63 72 21 73 74 61 63 65 |tcsri}!h|cr!stace|
|000012f0| 79 0a 58 0a 45 4e 44 5f | 4f 46 5f 46 49 4c 45 0a |y.X.END_|OF_FILE.|
|00001300| 69 66 20 74 65 73 74 20 | 33 31 34 35 20 2d 6e 65 |if test |3145 -ne|
|00001310| 20 60 77 63 20 2d 63 20 | 3c 27 70 61 74 63 68 65 | `wc -c |<'patche|
|00001320| 73 30 31 27 60 3b 20 74 | 68 65 6e 0a 20 20 20 20 |s01'`; t|hen. |
|00001330| 65 63 68 6f 20 73 68 61 | 72 3a 20 5c 22 27 70 61 |echo sha|r: \"'pa|
|00001340| 74 63 68 65 73 30 31 27 | 5c 22 20 75 6e 70 61 63 |tches01'|\" unpac|
|00001350| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|00001360| 69 7a 65 21 0a 66 69 0a | 23 20 65 6e 64 20 6f 66 |ize!.fi.|# end of|
|00001370| 20 27 70 61 74 63 68 65 | 73 30 31 27 0a 66 69 0a | 'patche|s01'.fi.|
|00001380| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 6e 64 20 6f |echo sha|r: End o|
|00001390| 66 20 73 68 65 6c 6c 20 | 61 72 63 68 69 76 65 2e |f shell |archive.|
|000013a0| 0a 65 78 69 74 20 30 0a | 0a 0a |.exit 0.|.. |
+--------+-------------------------+-------------------------+--------+--------+