home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3558 < prev    next >
SHell self-extracting ARchive  |  1991-06-29  |  12.1 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: 3558

ConfidenceProgramDetectionMatch TypeSupport
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 or mail, 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 message/rfc822 default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 3a 20 63 67 | 77 40 76 61 78 62 2e 61 |From: cg|w@vaxb.a|
|00000010| 63 73 2e 75 6e 74 2e 65 | 64 75 0a 4e 65 77 73 67 |cs.unt.e|du.Newsg|
|00000020| 72 6f 75 70 73 3a 20 61 | 6c 74 2e 73 6f 75 72 63 |roups: a|lt.sourc|
|00000030| 65 73 0a 53 75 62 6a 65 | 63 74 3a 20 70 6c 61 6e |es.Subje|ct: plan|
|00000040| 3a 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 74 68 |: the pr|ogram th|
|00000050| 61 74 20 72 75 6e 73 20 | 61 20 70 72 6f 67 72 61 |at runs |a progra|
|00000060| 6d 20 77 68 65 6e 20 79 | 6f 75 27 72 65 20 66 69 |m when y|ou're fi|
|00000070| 6e 67 65 72 65 64 0a 4d | 65 73 73 61 67 65 2d 49 |ngered.M|essage-I|
|00000080| 44 3a 20 3c 31 39 39 31 | 4a 75 6e 32 37 2e 31 37 |D: <1991|Jun27.17|
|00000090| 34 36 30 37 2e 31 40 76 | 61 78 62 2e 61 63 73 2e |4607.1@v|axb.acs.|
|000000a0| 75 6e 74 2e 65 64 75 3e | 0a 44 61 74 65 3a 20 32 |unt.edu>|.Date: 2|
|000000b0| 37 20 4a 75 6e 20 39 31 | 20 32 33 3a 34 36 3a 30 |7 Jun 91| 23:46:0|
|000000c0| 37 20 47 4d 54 0a 0a 77 | 65 6c 6c 2c 20 68 65 72 |7 GMT..w|ell, her|
|000000d0| 65 20 69 74 20 69 73 2c | 20 66 69 6e 61 6c 6c 79 |e it is,| finally|
|000000e0| 2e 0a 0a 74 68 69 73 20 | 69 73 20 61 20 73 68 61 |...this |is a sha|
|000000f0| 72 20 66 69 6c 65 20 6f | 66 20 61 20 64 6f 63 75 |r file o|f a docu|
|00000100| 6d 65 6e 74 20 74 68 61 | 74 20 63 6f 6e 74 61 69 |ment tha|t contai|
|00000110| 6e 73 20 79 65 74 20 61 | 6e 6f 74 68 65 72 20 73 |ns yet a|nother s|
|00000120| 68 61 72 20 66 69 6c 65 | 2c 20 77 68 69 63 68 0a |har file|, which.|
|00000130| 69 73 20 74 68 65 20 61 | 63 74 75 61 6c 20 70 72 |is the a|ctual pr|
|00000140| 6f 67 72 61 6d 20 60 70 | 6c 61 6e 27 2e 20 74 68 |ogram `p|lan'. th|
|00000150| 65 72 65 20 69 73 20 61 | 20 70 61 72 74 69 61 6c |ere is a| partial|
|00000160| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 20 6f 66 20 | descrip|tion of |
|00000170| 77 68 61 74 20 70 6c 61 | 6e 0a 64 6f 65 73 20 69 |what pla|n.does i|
|00000180| 6e 20 74 68 65 20 66 69 | 6c 65 20 74 68 61 74 20 |n the fi|le that |
|00000190| 63 6f 6e 74 61 69 6e 73 | 20 74 68 65 20 73 68 61 |contains| the sha|
|000001a0| 72 20 66 69 6c 65 2c 20 | 61 6e 64 20 79 6f 75 20 |r file, |and you |
|000001b0| 63 61 6e 20 70 72 6f 62 | 61 62 6c 79 20 67 65 74 |can prob|ably get|
|000001c0| 0a 73 6f 6d 65 74 68 69 | 6e 67 20 77 6f 72 6b 69 |.somethi|ng worki|
|000001d0| 6e 67 20 62 79 20 72 65 | 61 64 69 6e 67 20 74 68 |ng by re|ading th|
|000001e0| 61 74 2e 20 65 73 73 65 | 6e 74 69 61 6c 6c 79 2c |at. esse|ntially,|
|000001f0| 20 77 68 61 74 20 70 6c | 61 6e 20 64 6f 65 73 20 | what pl|an does |
|00000200| 69 73 20 63 72 65 61 74 | 65 0a 61 20 46 49 46 4f |is creat|e.a FIFO|
|00000210| 20 71 75 65 75 65 20 61 | 6e 64 20 77 61 74 63 68 | queue a|nd watch|
|00000220| 20 69 74 20 66 6f 72 20 | 61 63 63 65 73 73 65 73 | it for |accesses|
|00000230| 2e 20 74 68 65 20 71 75 | 65 75 65 20 69 73 20 6e |. the qu|eue is n|
|00000240| 61 6d 65 64 20 2e 70 6c | 61 6e 2c 20 73 6f 20 0a |amed .pl|an, so .|
|00000250| 77 68 65 6e 65 76 65 72 | 20 61 6e 79 6f 6e 65 20 |whenever| anyone |
|00000260| 66 69 6e 67 65 72 73 20 | 79 6f 75 2c 20 74 68 65 |fingers |you, the|
|00000270| 20 70 72 6f 67 72 61 6d | 20 74 68 61 74 20 79 6f | program| that yo|
|00000280| 75 20 73 70 65 63 69 66 | 79 20 6f 6e 20 74 68 65 |u specif|y on the|
|00000290| 20 63 6f 6d 6d 61 6e 64 | 6c 69 6e 65 0a 77 68 65 | command|line.whe|
|000002a0| 6e 20 79 6f 75 20 65 78 | 65 63 75 74 65 20 70 6c |n you ex|ecute pl|
|000002b0| 61 6e 20 77 69 6c 6c 20 | 62 65 20 72 75 6e 2e 20 |an will |be run. |
|000002c0| 6e 6f 74 65 3a 20 49 20 | 57 49 4c 4c 20 4e 4f 54 |note: I |WILL NOT|
|000002d0| 20 53 55 50 50 4f 52 54 | 20 54 48 49 53 20 50 52 | SUPPORT| THIS PR|
|000002e0| 4f 47 52 41 4d 2e 0a 28 | 69 20 64 69 64 6e 27 74 |OGRAM..(|i didn't|
|000002f0| 20 77 72 69 74 65 20 69 | 74 2c 20 77 68 79 20 73 | write i|t, why s|
|00000300| 68 6f 75 6c 64 20 69 3f | 29 0a 0a 77 68 65 6e 20 |hould i?|)..when |
|00000310| 69 20 67 65 74 20 64 6f | 6e 65 20 66 69 78 69 6e |i get do|ne fixin|
|00000320| 67 20 6d 79 20 63 6f 6d | 70 61 6e 69 6f 6e 20 70 |g my com|panion p|
|00000330| 72 6f 67 72 61 6d 20 74 | 6f 20 70 6c 61 6e 2c 20 |rogram t|o plan, |
|00000340| 63 61 6c 6c 65 64 20 60 | 66 69 6e 67 65 72 65 72 |called `|fingerer|
|00000350| 27 2c 0a 69 27 6c 6c 20 | 70 6f 73 74 20 69 74 2e |',.i'll |post it.|
|00000360| 20 28 75 6e 69 78 2f 43 | 20 70 72 6f 67 72 61 6d | (unix/C| program|
|00000370| 6d 65 72 20 61 64 76 69 | 63 65 20 23 32 34 37 3a |mer advi|ce #247:|
|00000380| 20 64 6f 6e 27 74 20 64 | 65 76 65 6c 6f 70 20 63 | don't d|evelop c|
|00000390| 6f 64 65 20 6f 6e 0a 61 | 20 73 65 71 75 65 6e 74 |ode on.a| sequent|
|000003a0| 20 72 75 6e 6e 69 6e 67 | 20 44 59 4e 49 58 2e 20 | running| DYNIX. |
|000003b0| 69 66 20 79 6f 75 20 68 | 61 76 65 20 74 6f 2c 20 |if you h|ave to, |
|000003c0| 62 65 20 73 75 72 65 20 | 79 6f 75 27 72 65 20 47 |be sure |you're G|
|000003d0| 4f 4f 44 2c 20 61 6e 64 | 20 74 72 79 20 6e 6f 74 |OOD, and| try not|
|000003e0| 0a 74 6f 20 75 73 65 20 | 63 63 2e 20 75 73 65 20 |.to use |cc. use |
|000003f0| 67 63 63 2e 20 28 70 6c | 65 61 73 65 20 64 6f 6e |gcc. (pl|ease don|
|00000400| 27 74 20 66 6c 61 6d 65 | 20 6d 65 2c 20 69 74 27 |'t flame| me, it'|
|00000410| 73 20 6a 75 73 74 20 61 | 6e 20 6f 70 69 6e 69 6f |s just a|n opinio|
|00000420| 6e 29 29 20 0a 28 79 65 | 73 2c 20 74 68 69 73 20 |n)) .(ye|s, this |
|00000430| 64 6f 65 73 20 6d 65 61 | 6e 20 69 27 6d 20 61 20 |does mea|n i'm a |
|00000440| 6c 69 74 74 6c 65 20 77 | 61 72 79 20 61 62 6f 75 |little w|ary abou|
|00000450| 74 20 70 6f 73 74 69 6e | 67 20 4d 79 20 4f 77 6e |t postin|g My Own|
|00000460| 20 53 6f 75 72 63 65 20 | 43 6f 64 65 0a 74 6f 20 | Source |Code.to |
|00000470| 74 68 65 20 6e 65 74 20 | 66 6f 72 20 41 6c 6c 20 |the net |for All |
|00000480| 74 6f 20 53 65 65 2e 20 | 70 6c 65 61 73 65 20 64 |to See. |please d|
|00000490| 6f 6e 27 74 20 66 6c 61 | 6d 65 20 66 69 6e 67 65 |on't fla|me finge|
|000004a0| 72 65 72 20 77 68 65 6e | 20 69 20 70 6f 73 74 20 |rer when| i post |
|000004b0| 69 74 2c 20 0a 65 69 74 | 68 65 72 20 3a 2d 29 20 |it, .eit|her :-) |
|000004c0| 29 0a 0a 77 68 61 74 20 | 66 69 6e 67 65 72 65 72 |)..what |fingerer|
|000004d0| 20 64 6f 65 73 20 28 6a | 75 73 74 20 69 6e 20 63 | does (j|ust in c|
|000004e0| 61 73 65 20 79 6f 75 20 | 64 6f 6e 27 74 20 66 65 |ase you |don't fe|
|000004f0| 65 6c 20 6c 69 6b 65 20 | 77 61 69 74 69 6e 67 20 |el like |waiting |
|00000500| 61 72 6f 75 6e 64 0a 66 | 6f 72 20 6d 65 20 74 6f |around.f|or me to|
|00000510| 20 70 6f 73 74 20 6d 69 | 6e 65 29 3a 20 69 74 20 | post mi|ne): it |
|00000520| 64 6f 65 73 20 61 20 70 | 73 20 61 6e 64 20 67 72 |does a p|s and gr|
|00000530| 65 70 73 20 66 6f 72 20 | 22 66 69 6e 67 65 72 22 |eps for |"finger"|
|00000540| 2e 20 69 66 20 69 74 20 | 64 6f 65 73 6e 27 74 0a |. if it |doesn't.|
|00000550| 66 69 6e 64 20 61 6e 79 | 6f 6e 65 20 72 75 6e 6e |find any|one runn|
|00000560| 69 6e 67 20 66 69 6e 67 | 65 72 2c 20 69 74 20 64 |ing fing|er, it d|
|00000570| 6f 65 73 20 61 20 6e 65 | 74 73 74 61 74 20 2d 6e |oes a ne|tstat -n|
|00000580| 20 74 6f 20 6c 6f 6f 6b | 20 66 6f 72 20 63 6f 6e | to look| for con|
|00000590| 6e 65 63 74 69 6f 6e 73 | 0a 6f 6e 20 70 6f 72 74 |nections|.on port|
|000005a0| 20 37 39 2e 20 74 68 65 | 20 63 75 72 72 65 6e 74 | 79. the| current|
|000005b0| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 77 68 61 74 | version| of what|
|000005c0| 20 66 69 6e 67 65 72 65 | 72 20 64 6f 65 73 20 63 | fingere|r does c|
|000005d0| 61 6e 20 62 65 20 65 78 | 61 6d 69 6e 65 64 0a 62 |an be ex|amined.b|
|000005e0| 79 20 66 69 6e 67 65 72 | 69 6e 67 20 63 67 77 40 |y finger|ing cgw@|
|000005f0| 70 6f 6e 64 65 72 2e 63 | 73 63 69 2e 75 6e 74 2e |ponder.c|sci.unt.|
|00000600| 65 64 75 2e 20 61 6c 73 | 6f 2c 20 61 6e 79 20 69 |edu. als|o, any i|
|00000610| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 66 69 6e 67 65 |nformati|on finge|
|00000620| 72 65 72 0a 66 69 6e 64 | 73 20 69 73 20 6c 6f 67 |rer.find|s is log|
|00000630| 67 65 64 20 74 6f 20 61 | 20 66 69 6c 65 20 28 79 |ged to a| file (y|
|00000640| 65 73 2c 20 69 20 68 61 | 76 65 20 61 20 76 65 72 |es, i ha|ve a ver|
|00000650| 79 20 6c 61 72 67 65 20 | 66 69 6c 65 20 6f 66 20 |y large |file of |
|00000660| 61 6c 6c 20 0a 74 68 65 | 20 70 65 6f 70 6c 65 20 |all .the| people |
|00000670| 77 68 6f 27 76 65 20 66 | 69 6e 67 65 72 65 64 20 |who've f|ingered |
|00000680| 6d 65 20 73 69 6e 63 65 | 20 69 20 70 6f 73 74 65 |me since| i poste|
|00000690| 64 21 20 3a 2d 29 29 0a | 0a 77 65 6c 6c 2c 20 74 |d! :-)).|.well, t|
|000006a0| 68 61 74 27 73 20 65 6e | 6f 75 67 68 20 69 6e 66 |hat's en|ough inf|
|000006b0| 6f 72 6d 61 74 69 6f 6e | 2e 20 68 61 76 65 20 66 |ormation|. have f|
|000006c0| 75 6e 20 77 69 74 68 20 | 69 74 21 0a 0a 2d 63 67 |un with |it!..-cg|
|000006d0| 77 2d 0a 0a 0a 23 21 20 | 2f 62 69 6e 2f 73 68 0a |w-...#! |/bin/sh.|
|000006e0| 23 20 54 68 69 73 20 69 | 73 20 61 20 73 68 65 6c |# This i|s a shel|
|000006f0| 6c 20 61 72 63 68 69 76 | 65 2c 20 6d 65 61 6e 69 |l archiv|e, meani|
|00000700| 6e 67 3a 0a 23 20 31 2e | 20 52 65 6d 6f 76 65 20 |ng:.# 1.| Remove |
|00000710| 65 76 65 72 79 74 68 69 | 6e 67 20 61 62 6f 76 65 |everythi|ng above|
|00000720| 20 74 68 65 20 23 21 20 | 2f 62 69 6e 2f 73 68 20 | the #! |/bin/sh |
|00000730| 6c 69 6e 65 2e 0a 23 20 | 32 2e 20 53 61 76 65 20 |line..# |2. Save |
|00000740| 74 68 65 20 72 65 73 75 | 6c 74 69 6e 67 20 74 65 |the resu|lting te|
|00000750| 78 74 20 69 6e 20 61 20 | 66 69 6c 65 2e 0a 23 20 |xt in a |file..# |
|00000760| 33 2e 20 45 78 65 63 75 | 74 65 20 74 68 65 20 66 |3. Execu|te the f|
|00000770| 69 6c 65 20 77 69 74 68 | 20 2f 62 69 6e 2f 73 68 |ile with| /bin/sh|
|00000780| 20 28 6e 6f 74 20 63 73 | 68 29 20 74 6f 20 63 72 | (not cs|h) to cr|
|00000790| 65 61 74 65 20 74 68 65 | 20 66 69 6c 65 73 3a 0a |eate the| files:.|
|000007a0| 23 09 70 6c 61 6e 2e 70 | 72 6f 67 0a 23 20 54 68 |#.plan.p|rog.# Th|
|000007b0| 69 73 20 61 72 63 68 69 | 76 65 20 63 72 65 61 74 |is archi|ve creat|
|000007c0| 65 64 3a 20 57 65 64 20 | 4a 75 6e 20 32 36 20 31 |ed: Wed |Jun 26 1|
|000007d0| 31 3a 34 39 3a 34 34 20 | 31 39 39 31 0a 65 78 70 |1:49:44 |1991.exp|
|000007e0| 6f 72 74 20 50 41 54 48 | 3b 20 50 41 54 48 3d 2f |ort PATH|; PATH=/|
|000007f0| 62 69 6e 3a 24 50 41 54 | 48 0a 69 66 20 74 65 73 |bin:$PAT|H.if tes|
|00000800| 74 20 2d 66 20 27 70 6c | 61 6e 2e 70 72 6f 67 27 |t -f 'pl|an.prog'|
|00000810| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00000820| 3a 20 77 69 6c 6c 20 6e | 6f 74 20 6f 76 65 72 2d |: will n|ot over-|
|00000830| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 20 66 |write ex|isting f|
|00000840| 69 6c 65 20 22 27 70 6c | 61 6e 2e 70 72 6f 67 27 |ile "'pl|an.prog'|
|00000850| 22 0a 65 6c 73 65 0a 63 | 61 74 20 3c 3c 20 5c 53 |".else.c|at << \S|
|00000860| 48 41 52 5f 45 4f 46 20 | 3e 20 27 70 6c 61 6e 2e |HAR_EOF |> 'plan.|
|00000870| 70 72 6f 67 27 0a 52 65 | 74 75 72 6e 2d 70 61 74 |prog'.Re|turn-pat|
|00000880| 68 3a 20 3c 61 72 6d 73 | 74 72 6f 6e 40 63 73 2e |h: <arms|tron@cs.|
|00000890| 61 72 69 7a 6f 6e 61 2e | 65 64 75 3e 0a 52 65 63 |arizona.|edu>.Rec|
|000008a0| 65 69 76 65 64 3a 20 66 | 72 6f 6d 20 6f 70 74 69 |eived: f|rom opti|
|000008b0| 6d 61 2e 63 73 2e 61 72 | 69 7a 6f 6e 61 2e 65 64 |ma.cs.ar|izona.ed|
|000008c0| 75 20 62 79 20 76 61 78 | 62 2e 61 63 73 2e 75 6e |u by vax|b.acs.un|
|000008d0| 74 2e 65 64 75 20 77 69 | 74 68 20 50 4d 44 46 23 |t.edu wi|th PMDF#|
|000008e0| 31 30 33 36 33 3b 20 54 | 68 75 2c 0a 20 31 31 20 |10363; T|hu,. 11 |
|000008f0| 41 70 72 20 31 39 39 31 | 20 31 36 3a 31 30 20 43 |Apr 1991| 16:10 C|
|00000900| 53 54 0a 52 65 63 65 69 | 76 65 64 3a 20 66 72 6f |ST.Recei|ved: fro|
|00000910| 6d 20 63 61 73 6c 6f 6e | 2e 63 73 2e 61 72 69 7a |m caslon|.cs.ariz|
|00000920| 6f 6e 61 2e 65 64 75 20 | 62 79 20 6f 70 74 69 6d |ona.edu |by optim|
|00000930| 61 2e 63 73 2e 61 72 69 | 7a 6f 6e 61 2e 65 64 75 |a.cs.ari|zona.edu|
|00000940| 20 28 34 2e 31 2f 31 35 | 29 20 69 64 0a 20 41 41 | (4.1/15|) id. AA|
|00000950| 32 33 32 31 37 3b 20 54 | 68 75 2c 20 31 31 20 41 |23217; T|hu, 11 A|
|00000960| 70 72 20 39 31 20 31 34 | 3a 30 39 3a 31 33 20 4d |pr 91 14|:09:13 M|
|00000970| 53 54 0a 52 65 63 65 69 | 76 65 64 3a 20 62 79 20 |ST.Recei|ved: by |
|00000980| 63 61 73 6c 6f 6e 2e 63 | 73 2e 61 72 69 7a 6f 6e |caslon.c|s.arizon|
|00000990| 61 2e 65 64 75 3b 20 54 | 68 75 2c 20 31 31 20 41 |a.edu; T|hu, 11 A|
|000009a0| 70 72 20 39 31 20 31 34 | 3a 30 39 3a 31 31 20 2d |pr 91 14|:09:11 -|
|000009b0| 30 37 30 30 0a 44 61 74 | 65 3a 20 54 68 75 2c 20 |0700.Dat|e: Thu, |
|000009c0| 31 31 20 41 70 72 20 39 | 31 20 31 34 3a 30 39 3a |11 Apr 9|1 14:09:|
|000009d0| 31 30 20 4d 53 54 0a 46 | 72 6f 6d 3a 20 4a 69 6d |10 MST.F|rom: Jim|
|000009e0| 20 41 72 6d 73 74 72 6f | 6e 67 20 3c 61 72 6d 73 | Armstro|ng <arms|
|000009f0| 74 72 6f 6e 40 63 73 2e | 61 72 69 7a 6f 6e 61 2e |tron@cs.|arizona.|
|00000a00| 65 64 75 3e 0a 53 75 62 | 6a 65 63 74 3a 20 52 45 |edu>.Sub|ject: RE|
|00000a10| 3a 20 66 69 6e 67 65 72 | 65 65 20 2e 2e 2e 0a 49 |: finger|ee ....I|
|00000a20| 6e 2d 72 65 70 6c 79 2d | 74 6f 3a 20 3c 39 34 38 |n-reply-|to: <948|
|00000a30| 32 43 38 38 37 38 30 30 | 30 32 45 45 38 40 76 61 |2C887800|02EE8@va|
|00000a40| 78 62 2e 61 63 73 2e 75 | 6e 74 2e 65 64 75 3e 3b |xb.acs.u|nt.edu>;|
|00000a50| 20 66 72 6f 6d 20 22 63 | 68 72 69 73 74 6f 70 68 | from "c|hristoph|
|00000a60| 65 72 20 77 69 6c 6c 69 | 61 6d 73 22 0a 20 61 74 |er willi|ams". at|
|00000a70| 20 41 70 72 20 31 31 2c | 20 39 31 20 32 3a 34 36 | Apr 11,| 91 2:46|
|00000a80| 20 70 6d 0a 54 6f 3a 20 | 43 47 57 40 76 61 78 62 | pm.To: |CGW@vaxb|
|00000a90| 2e 61 63 73 2e 75 6e 74 | 2e 65 64 75 20 28 63 68 |.acs.unt|.edu (ch|
|00000aa0| 72 69 73 74 6f 70 68 65 | 72 20 77 69 6c 6c 69 61 |ristophe|r willia|
|00000ab0| 6d 73 29 0a 4d 65 73 73 | 61 67 65 2d 69 64 3a 20 |ms).Mess|age-id: |
|00000ac0| 3c 39 31 30 34 31 31 32 | 31 30 39 2e 41 41 32 39 |<9104112|109.AA29|
|00000ad0| 33 38 37 40 63 61 73 6c | 6f 6e 2e 63 73 2e 61 72 |387@casl|on.cs.ar|
|00000ae0| 69 7a 6f 6e 61 2e 65 64 | 75 3e 0a 58 2d 45 6e 76 |izona.ed|u>.X-Env|
|00000af0| 65 6c 6f 70 65 2d 74 6f | 3a 20 43 47 57 0a 58 2d |elope-to|: CGW.X-|
|00000b00| 4d 61 69 6c 65 72 3a 20 | 45 4c 4d 20 5b 76 65 72 |Mailer: |ELM [ver|
|00000b10| 73 69 6f 6e 20 32 2e 33 | 20 50 4c 38 5d 0a 0a 3e |sion 2.3| PL8]..>|
|00000b20| 20 3e 41 62 6f 75 74 20 | 61 20 6d 6f 6e 74 68 20 | >About |a month |
|00000b30| 61 67 6f 20 74 68 65 72 | 65 20 77 61 73 20 61 20 |ago ther|e was a |
|00000b40| 73 61 6d 70 6c 65 20 70 | 72 6f 67 72 61 6d 20 70 |sample p|rogram p|
|00000b50| 6f 73 74 65 64 20 74 6f | 20 74 68 69 73 20 6e 65 |osted to| this ne|
|00000b60| 77 73 67 72 6f 75 70 20 | 74 68 61 74 0a 3e 20 3e |wsgroup |that.> >|
|00000b70| 73 65 74 20 75 70 20 61 | 20 46 49 46 4f 20 6e 61 |set up a| FIFO na|
|00000b80| 6d 65 64 20 70 69 70 65 | 20 61 73 20 79 6f 75 72 |med pipe| as your|
|00000b90| 20 2e 70 6c 61 6e 20 66 | 69 6c 65 2e 20 20 49 20 | .plan f|ile. I |
|00000ba0| 6d 6f 64 69 66 69 65 64 | 20 74 68 65 20 63 6f 64 |modified| the cod|
|00000bb0| 65 20 74 6f 20 73 65 74 | 20 75 70 0a 3e 20 3e 61 |e to set| up.> >a|
|00000bc0| 20 73 69 6d 70 6c 65 20 | 28 70 65 72 68 61 70 73 | simple |(perhaps|
|00000bd0| 20 6e 61 69 76 65 29 20 | 66 69 6e 67 65 72 20 6d | naive) |finger m|
|00000be0| 6f 6e 69 74 6f 72 20 66 | 6f 72 20 75 73 65 72 73 |onitor f|or users|
|00000bf0| 20 6f 6e 20 6d 79 20 6d | 61 63 68 69 6e 65 2e 20 | on my m|achine. |
|00000c00| 20 54 68 65 20 70 72 6f | 63 65 73 73 0a 3e 20 64 | The pro|cess.> d|
|00000c10| 6f 20 79 6f 75 20 73 74 | 69 6c 6c 20 68 61 76 65 |o you st|ill have|
|00000c20| 20 74 68 65 20 73 6f 75 | 72 63 65 20 66 6f 72 20 | the sou|rce for |
|00000c30| 69 74 3f 20 77 6f 75 6c | 64 20 79 6f 75 20 73 65 |it? woul|d you se|
|00000c40| 6e 64 20 69 74 20 74 6f | 20 6d 65 3f 0a 0a 48 65 |nd it to| me?..He|
|00000c50| 72 65 20 69 73 20 74 68 | 65 20 61 72 74 69 63 6c |re is th|e articl|
|00000c60| 65 20 77 68 69 63 68 20 | 61 70 70 65 61 72 65 64 |e which |appeared|
|00000c70| 20 69 6e 20 63 6f 6d 70 | 2e 75 6e 69 78 2e 71 75 | in comp|.unix.qu|
|00000c80| 65 73 74 69 6f 6e 73 20 | 61 20 77 68 69 6c 65 20 |estions |a while |
|00000c90| 62 61 63 6b 2e 20 20 49 | 74 0a 63 6f 6e 74 61 69 |back. I|t.contai|
|00000ca0| 6e 73 20 67 65 6e 65 72 | 69 63 20 63 6f 64 65 20 |ns gener|ic code |
|00000cb0| 74 68 61 74 20 77 69 6c | 6c 20 72 75 6e 20 61 6e |that wil|l run an|
|00000cc0| 79 20 70 72 6f 67 72 61 | 6d 20 79 6f 75 20 77 61 |y progra|m you wa|
|00000cd0| 6e 74 20 77 68 65 6e 65 | 76 65 72 20 61 20 63 65 |nt whene|ver a ce|
|00000ce0| 72 74 61 69 6e 0a 66 69 | 6c 65 20 69 73 20 61 63 |rtain.fi|le is ac|
|00000cf0| 63 65 73 73 65 64 20 28 | 69 2e 65 2e 20 74 68 65 |cessed (|i.e. the|
|00000d00| 20 2e 70 6c 61 6e 20 66 | 69 6c 65 20 69 6e 20 74 | .plan f|ile in t|
|00000d10| 68 69 73 20 63 61 73 65 | 29 2e 20 20 41 6c 6c 20 |his case|). All |
|00000d20| 79 6f 75 20 68 61 76 65 | 20 74 6f 20 64 6f 20 69 |you have| to do i|
|00000d30| 73 0a 63 6f 6d 70 69 6c | 65 20 69 74 20 28 69 74 |s.compil|e it (it|
|00000d40| 20 63 72 65 61 74 65 73 | 20 61 6e 20 65 78 65 63 | creates| an exec|
|00000d50| 75 74 61 62 6c 65 20 63 | 61 6c 6c 65 64 20 27 70 |utable c|alled 'p|
|00000d60| 6c 61 6e 27 29 20 61 6e | 64 20 74 68 65 6e 20 74 |lan') an|d then t|
|00000d70| 6f 20 67 65 74 20 69 74 | 0a 72 75 6e 6e 69 6e 67 |o get it|.running|
|00000d80| 20 73 61 79 20 27 70 6c | 61 6e 20 61 2e 6f 75 74 | say 'pl|an a.out|
|00000d90| 20 26 27 20 77 68 65 72 | 65 20 61 2e 6f 75 74 20 | &' wher|e a.out |
|00000da0| 69 73 20 73 6f 6d 65 20 | 70 72 6f 67 72 61 6d 20 |is some |program |
|00000db0| 79 6f 75 20 68 61 76 65 | 20 77 72 69 74 74 65 6e |you have| written|
|00000dc0| 2e 0a 49 20 64 6f 6e 27 | 74 20 68 61 76 65 20 6d |..I don'|t have m|
|00000dd0| 79 20 70 72 6f 67 72 61 | 6d 20 61 6e 79 20 6d 6f |y progra|m any mo|
|00000de0| 72 65 2c 20 62 75 74 20 | 62 61 73 69 63 61 6c 6c |re, but |basicall|
|00000df0| 79 20 77 68 61 74 20 49 | 20 64 69 64 20 77 61 73 |y what I| did was|
|00000e00| 20 61 20 70 73 20 61 75 | 0a 77 69 74 68 69 6e 20 | a ps au|.within |
|00000e10| 74 68 61 74 20 70 72 6f | 67 72 61 6d 2e 20 20 49 |that pro|gram. I|
|00000e20| 74 20 75 73 65 64 20 65 | 67 72 65 70 20 74 6f 20 |t used e|grep to |
|00000e30| 73 65 61 72 63 68 20 66 | 6f 72 20 73 6f 6d 65 6f |search f|or someo|
|00000e40| 6e 65 20 63 75 72 72 65 | 6e 74 6c 79 20 66 69 6e |ne curre|ntly fin|
|00000e50| 67 65 72 69 6e 67 0a 6d | 65 20 61 6e 64 20 61 70 |gering.m|e and ap|
|00000e60| 70 65 6e 64 65 64 20 74 | 68 65 20 6f 75 74 70 75 |pended t|he outpu|
|00000e70| 74 20 74 6f 20 61 20 66 | 69 6c 65 2e 20 20 54 6f |t to a f|ile. To|
|00000e80| 20 67 65 74 20 72 65 61 | 6c 6c 79 20 66 61 6e 63 | get rea|lly fanc|
|00000e90| 79 20 79 6f 75 20 63 6f | 75 6c 64 20 74 68 65 6e |y you co|uld then|
|00000ea0| 0a 72 65 61 64 20 66 72 | 6f 6d 20 74 68 61 74 20 |.read fr|om that |
|00000eb0| 66 69 6c 65 20 74 6f 20 | 66 69 6e 64 20 6f 75 74 |file to |find out|
|00000ec0| 20 65 78 61 63 74 6c 79 | 20 77 68 6f 20 69 74 20 | exactly| who it |
|00000ed0| 69 73 20 28 61 6c 6c 20 | 69 6e 20 74 68 65 20 73 |is (all |in the s|
|00000ee0| 61 6d 65 20 70 72 6f 67 | 72 61 6d 29 0a 61 6e 64 |ame prog|ram).and|
|00000ef0| 20 70 72 69 6e 74 20 6f | 75 74 20 61 20 6e 69 63 | print o|ut a nic|
|00000f00| 65 20 70 65 72 73 6f 6e | 61 6c 20 6d 65 73 73 61 |e person|al messa|
|00000f10| 67 65 20 74 6f 20 77 68 | 6f 65 76 65 72 20 69 73 |ge to wh|oever is|
|00000f20| 20 66 69 6e 67 65 72 69 | 6e 67 20 79 6f 75 20 61 | fingeri|ng you a|
|00000f30| 73 20 70 61 72 74 0a 6f | 66 20 77 68 61 74 20 6c |s part.o|f what l|
|00000f40| 6f 6f 6b 73 20 74 6f 20 | 62 65 20 79 6f 75 72 20 |ooks to |be your |
|00000f50| 2e 70 6c 61 6e 20 66 69 | 6c 65 2e 20 20 41 20 63 |.plan fi|le. A c|
|00000f60| 6f 75 70 6c 65 20 6f 66 | 20 74 68 69 6e 67 73 20 |ouple of| things |
|00000f70| 74 6f 20 77 61 74 63 68 | 20 6f 75 74 20 66 6f 72 |to watch| out for|
|00000f80| 3a 0a 49 66 20 74 68 65 | 20 66 69 6e 67 65 72 20 |:.If the| finger |
|00000f90| 69 73 20 72 65 6d 6f 74 | 65 2c 20 74 68 65 20 70 |is remot|e, the p|
|00000fa0| 73 20 61 75 20 77 6f 6e | 27 74 20 66 69 6e 64 20 |s au won|'t find |
|00000fb0| 61 6e 79 74 68 69 6e 67 | 2e 20 20 41 6c 73 6f 2c |anything|. Also,|
|00000fc0| 20 69 66 20 74 77 6f 20 | 70 65 6f 70 6c 65 0a 66 | if two |people.f|
|00000fd0| 69 6e 67 65 72 20 79 6f | 75 20 61 74 20 74 68 65 |inger yo|u at the|
|00000fe0| 20 73 61 6d 65 20 74 69 | 6d 65 20 79 6f 75 20 6d | same ti|me you m|
|00000ff0| 61 79 20 72 75 6e 20 69 | 6e 74 6f 20 74 72 6f 75 |ay run i|nto trou|
|00001000| 62 6c 65 2c 20 62 75 74 | 20 49 20 64 69 64 6e 27 |ble, but| I didn'|
|00001010| 74 20 74 72 79 0a 65 78 | 70 65 72 69 6d 65 6e 74 |t try.ex|periment|
|00001020| 69 6e 67 20 77 69 74 68 | 20 74 68 69 73 20 74 6f |ing with| this to|
|00001030| 6f 20 6d 75 63 68 2e 20 | 20 49 20 61 6c 73 6f 20 |o much. | I also |
|00001040| 66 6f 75 6e 64 20 69 74 | 20 68 65 6c 70 66 75 6c |found it| helpful|
|00001050| 20 74 6f 20 74 69 6d 65 | 73 74 61 6d 70 20 61 0a | to time|stamp a.|
|00001060| 64 61 74 65 20 74 6f 20 | 74 68 65 20 66 69 6c 65 |date to |the file|
|00001070| 2c 20 74 6f 6f 20 28 49 | 20 75 73 65 64 20 6c 6f |, too (I| used lo|
|00001080| 63 61 6c 74 69 6d 65 28 | 29 20 66 6f 72 20 65 66 |caltime(|) for ef|
|00001090| 66 69 63 69 65 6e 63 79 | 29 2e 20 20 54 68 69 73 |ficiency|). This|
|000010a0| 20 6d 61 6b 65 73 20 69 | 74 0a 65 61 73 69 65 72 | makes i|t.easier|
|000010b0| 20 74 6f 20 6c 6f 6f 6b | 20 62 61 63 6b 20 6c 61 | to look| back la|
|000010c0| 74 65 72 20 61 74 20 74 | 68 65 20 66 69 6c 65 20 |ter at t|he file |
|000010d0| 61 6e 64 20 73 65 65 20 | 77 68 6f 27 73 20 62 65 |and see |who's be|
|000010e0| 65 6e 20 66 69 6e 67 65 | 72 69 6e 67 20 79 6f 75 |en finge|ring you|
|000010f0| 20 61 6e 64 0a 77 68 65 | 6e 20 77 68 69 6c 65 20 | and.whe|n while |
|00001100| 79 6f 75 20 77 65 72 65 | 20 6e 6f 74 20 6c 6f 67 |you were| not log|
|00001110| 67 65 64 20 6f 6e 2e 20 | 20 49 74 20 61 6c 73 6f |ged on. | It also|
|00001120| 20 68 65 6c 70 66 75 6c | 20 69 6e 20 64 65 62 75 | helpful| in debu|
|00001130| 67 67 69 6e 67 20 79 6f | 75 72 20 70 72 6f 67 72 |gging yo|ur progr|
|00001140| 61 6d 2e 0a 0a 53 6f 20 | 73 65 74 20 75 70 20 74 |am...So |set up t|
|00001150| 68 69 73 20 63 6f 64 65 | 20 61 6e 64 20 65 78 70 |his code| and exp|
|00001160| 65 72 69 6d 65 6e 74 20 | 77 69 74 68 20 64 69 66 |eriment |with dif|
|00001170| 66 65 72 65 6e 74 20 70 | 72 6f 67 72 61 6d 73 2e |ferent p|rograms.|
|00001180| 20 20 4a 75 73 74 20 62 | 65 20 63 72 65 61 74 69 | Just b|e creati|
|00001190| 76 65 0a 61 6e 64 20 73 | 65 65 20 77 68 61 74 20 |ve.and s|ee what |
|000011a0| 65 6c 73 65 20 79 6f 75 | 20 63 61 6e 20 64 6f 20 |else you| can do |
|000011b0| 77 69 74 68 20 69 74 2e | 20 20 4f 6e 65 20 69 64 |with it.| One id|
|000011c0| 65 61 20 49 20 75 73 65 | 64 20 66 6f 72 20 61 20 |ea I use|d for a |
|000011d0| 77 68 69 6c 65 20 69 73 | 20 6d 61 6b 69 6e 67 0a |while is| making.|
|000011e0| 69 74 20 70 72 69 6e 74 | 20 61 20 64 69 66 66 65 |it print| a diffe|
|000011f0| 72 65 6e 74 20 71 75 6f | 74 65 20 65 61 63 68 20 |rent quo|te each |
|00001200| 74 69 6d 65 2e 20 20 54 | 68 65 20 70 6f 73 73 69 |time. T|he possi|
|00001210| 62 69 6c 69 74 65 73 20 | 61 72 65 20 65 6e 64 6c |bilites |are endl|
|00001220| 65 73 73 2e 20 20 45 6e | 6a 6f 79 2e 0a 0a 4a 69 |ess. En|joy...Ji|
|00001230| 6d 0a 0a 0a 41 72 74 69 | 63 6c 65 20 33 31 32 37 |m...Arti|cle 3127|
|00001240| 30 20 6f 66 20 63 6f 6d | 70 2e 75 6e 69 78 2e 71 |0 of com|p.unix.q|
|00001250| 75 65 73 74 69 6f 6e 73 | 3a 0a 50 61 74 68 3a 20 |uestions|:.Path: |
|00001260| 61 72 69 7a 6f 6e 61 21 | 61 72 69 7a 6f 6e 61 2e |arizona!|arizona.|
|00001270| 65 64 75 21 63 65 72 72 | 69 74 6f 73 2e 65 64 75 |edu!cerr|itos.edu|
|00001280| 21 75 73 63 21 73 64 64 | 2e 68 70 2e 63 6f 6d 21 |!usc!sdd|.hp.com!|
|00001290| 77 75 61 72 63 68 69 76 | 65 21 75 75 6e 65 74 21 |wuarchiv|e!uunet!|
|000012a0| 75 6e 69 73 6f 66 74 21 | 72 65 6d 62 6f 0a 46 72 |unisoft!|rembo.Fr|
|000012b0| 6f 6d 3a 20 72 65 6d 62 | 6f 40 75 6e 69 73 6f 66 |om: remb|o@unisof|
|000012c0| 74 2e 55 55 43 50 20 28 | 54 6f 6e 79 20 52 65 6d |t.UUCP (|Tony Rem|
|000012d0| 73 29 0a 4e 65 77 73 67 | 72 6f 75 70 73 3a 20 63 |s).Newsg|roups: c|
|000012e0| 6f 6d 70 2e 75 6e 69 78 | 2e 71 75 65 73 74 69 6f |omp.unix|.questio|
|000012f0| 6e 73 0a 53 75 62 6a 65 | 63 74 3a 20 52 65 3a 20 |ns.Subje|ct: Re: |
|00001300| 46 69 6e 67 65 72 0a 4d | 65 73 73 61 67 65 2d 49 |Finger.M|essage-I|
|00001310| 44 3a 20 3c 33 33 39 31 | 40 75 6e 69 73 6f 66 74 |D: <3391|@unisoft|
|00001320| 2e 55 55 43 50 3e 0a 44 | 61 74 65 3a 20 32 32 20 |.UUCP>.D|ate: 22 |
|00001330| 46 65 62 20 39 31 20 30 | 32 3a 34 34 3a 31 37 20 |Feb 91 0|2:44:17 |
|00001340| 47 4d 54 0a 52 65 66 65 | 72 65 6e 63 65 73 3a 20 |GMT.Refe|rences: |
|00001350| 3c 33 37 36 37 35 40 6e | 65 74 6e 65 77 73 2e 75 |<37675@n|etnews.u|
|00001360| 70 65 6e 6e 2e 65 64 75 | 3e 0a 52 65 70 6c 79 2d |penn.edu|>.Reply-|
|00001370| 54 6f 3a 20 72 65 6d 62 | 6f 40 75 6e 69 73 6f 66 |To: remb|o@unisof|
|00001380| 74 2e 55 55 43 50 20 28 | 54 6f 6e 79 20 52 65 6d |t.UUCP (|Tony Rem|
|00001390| 73 29 0a 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |s).Organ|ization:|
|000013a0| 20 55 6e 69 53 6f 66 74 | 20 43 6f 72 70 6f 72 61 | UniSoft| Corpora|
|000013b0| 74 69 6f 6e 20 2d 2d 20 | 55 4e 49 58 20 52 20 55 |tion -- |UNIX R U|
|000013c0| 73 2e 0a 4c 69 6e 65 73 | 3a 20 32 35 34 0a 0a 49 |s..Lines|: 254..I|
|000013d0| 6e 20 61 72 74 69 63 6c | 65 20 3c 33 37 36 37 35 |n articl|e <37675|
|000013e0| 40 6e 65 74 6e 65 77 73 | 2e 75 70 65 6e 6e 2e 65 |@netnews|.upenn.e|
|000013f0| 64 75 3e 20 6d 69 6e 7a | 68 69 40 65 6e 69 61 63 |du> minz|hi@eniac|
|00001400| 2e 73 65 61 73 2e 75 70 | 65 6e 6e 2e 65 64 75 20 |.seas.up|enn.edu |
|00001410| 28 4d 69 6e 2d 5a 68 69 | 20 53 68 61 6f 29 20 77 |(Min-Zhi| Shao) w|
|00001420| 72 69 74 65 73 3a 0a 3e | 0a 3e 20 20 20 20 57 68 |rites:.>|.> Wh|
|00001430| 65 6e 20 49 20 66 69 6e | 67 65 72 65 64 20 6f 75 |en I fin|gered ou|
|00001440| 72 20 73 79 73 74 65 6d | 20 61 64 6d 69 6e 69 73 |r system| adminis|
|00001450| 74 72 61 74 6f 72 2c 20 | 49 20 67 6f 74 20 74 68 |trator, |I got th|
|00001460| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 72 65 73 75 |e follow|ing resu|
|00001470| 6c 74 3a 0a 3e 0a 3e 5f | 5f 5f 5f 5f 5f 5f 5f 5f |lt:.>.>_|________|
|00001480| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001490| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000014a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000014b0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000014c0| 0a 3e 4c 6f 67 69 6e 20 | 6e 61 6d 65 3a 20 67 61 |.>Login |name: ga|
|000014d0| 72 64 65 6c 6c 61 20 20 | 09 09 09 49 6e 20 72 65 |rdella |...In re|
|000014e0| 61 6c 20 6c 69 66 65 3a | 20 45 64 20 47 61 72 64 |al life:| Ed Gard|
|000014f0| 65 6c 6c 61 20 5b 43 45 | 54 53 5d 0a 3e 44 69 72 |ella [CE|TS].>Dir|
|00001500| 65 63 74 6f 72 79 3a 20 | 2f 68 6f 6d 65 2f 63 65 |ectory: |/home/ce|
|00001510| 74 73 2f 67 61 72 64 65 | 6c 6c 61 20 20 20 20 20 |ts/garde|lla |
|00001520| 20 09 53 68 65 6c 6c 3a | 20 2f 75 73 72 2f 6c 6f | .Shell:| /usr/lo|
|00001530| 63 61 6c 2f 62 69 6e 2f | 62 61 73 68 0a 3e 4f 6e |cal/bin/|bash.>On|
|00001540| 20 73 69 6e 63 65 20 46 | 65 62 20 31 35 20 31 39 | since F|eb 15 19|
|00001550| 3a 34 39 3a 30 34 20 6f | 6e 20 74 74 79 70 31 20 |:49:04 o|n ttyp1 |
|00001560| 66 72 6f 6d 20 54 53 54 | 45 53 54 2e 53 45 41 53 |from TST|EST.SEAS|
|00001570| 2e 55 50 45 4e 0a 3e 31 | 34 20 6d 69 6e 75 74 65 |.UPEN.>1|4 minute|
|00001580| 73 20 49 64 6c 65 20 54 | 69 6d 65 0a 3e 4e 6f 20 |s Idle T|ime.>No |
|00001590| 75 6e 72 65 61 64 20 6d | 61 69 6c 0a 3e 50 72 6f |unread m|ail.>Pro|
|000015a0| 6a 65 63 74 3a 20 53 79 | 73 74 65 6d 20 41 64 6d |ject: Sy|stem Adm|
|000015b0| 69 6e 69 73 74 72 61 74 | 6f 72 20 65 6e 69 61 63 |inistrat|or eniac|
|000015c0| 2e 73 65 61 73 2e 75 70 | 65 6e 6e 2e 65 64 75 0a |.seas.up|enn.edu.|
|000015d0| 3e 50 6c 61 6e 3a 0a 3e | 20 20 20 20 20 20 20 20 |>Plan:.>| |
|000015e0| 20 4d 65 61 6e 64 65 72 | 20 61 62 6f 75 74 20 75 | Meander| about u|
|000015f0| 6e 74 69 6c 20 73 6f 6d | 65 74 68 69 6e 67 20 69 |ntil som|ething i|
|00001600| 6e 74 65 72 65 73 74 69 | 6e 67 20 63 6f 6d 65 73 |nteresti|ng comes|
|00001610| 20 61 6c 6f 6e 67 2e 0a | 3e 0a 3e 4f 66 66 69 63 | along..|>.>Offic|
|00001620| 65 3a 20 31 35 34 20 4d | 6f 6f 72 65 20 42 75 69 |e: 154 M|oore Bui|
|00001630| 6c 64 69 6e 67 20 20 20 | 20 20 20 20 20 20 20 20 |lding | |
|00001640| 57 6f 72 6b 20 50 68 6f | 6e 65 3a 20 38 39 38 2d |Work Pho|ne: 898-|
|00001650| 32 34 39 31 0a 3e 20 20 | 20 20 20 20 20 20 20 20 |2491.> | |
|00001660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001670| 20 20 20 20 20 20 20 20 | 20 20 20 48 6f 6d 65 20 | | Home |
|00001680| 50 68 6f 6e 65 3a 20 33 | 38 37 2d 34 31 30 34 0a |Phone: 3|87-4104.|
|00001690| 3e 0a 3e 49 20 68 61 76 | 65 20 62 65 65 6e 20 66 |>.>I hav|e been f|
|000016a0| 69 6e 67 65 72 65 64 20 | 33 20 74 69 6d 65 73 20 |ingered |3 times |
|000016b0| 74 6f 64 61 79 0a 3e 5f | 5f 5f 5f 5f 5f 5f 5f 5f |today.>_|________|
|000016c0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000016d0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000016e0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000016f0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001700| 0a 3e 0a 3e 74 68 65 20 | 2e 70 6c 61 6e 20 66 69 |.>.>the |.plan fi|
|00001710| 6c 65 20 69 6e 20 68 69 | 73 20 68 6f 6d 65 20 64 |le in hi|s home d|
|00001720| 69 72 65 63 74 6f 72 79 | 20 6c 6f 6f 6b 73 20 6c |irectory| looks l|
|00001730| 69 6b 65 3a 0a 3e 0a 3e | 70 72 77 2d 72 2d 2d 72 |ike:.>.>|prw-r--r|
|00001740| 2d 2d 20 20 31 20 67 61 | 72 64 65 6c 6c 61 20 20 |-- 1 ga|rdella |
|00001750| 20 20 20 20 20 20 30 20 | 46 65 62 20 31 35 20 32 | 0 |Feb 15 2|
|00001760| 33 3a 34 38 20 2f 68 6f | 6d 65 2f 63 65 74 73 2f |3:48 /ho|me/cets/|
|00001770| 67 61 72 64 65 6c 6c 61 | 2f 2e 70 6c 61 6e 0a 3e |gardella|/.plan.>|
|00001780| 5e 0a 0a 41 73 20 79 6f | 75 20 68 61 76 65 20 66 |^..As yo|u have f|
|00001790| 6f 75 6e 64 20 6f 75 74 | 20 62 79 20 6e 6f 77 2c |ound out| by now,|
|000017a0| 20 49 27 6d 20 73 75 72 | 65 2c 20 74 68 65 20 70 | I'm sur|e, the p|
|000017b0| 20 6d 65 61 6e 73 20 74 | 68 61 74 20 74 68 69 73 | means t|hat this|
|000017c0| 20 69 73 20 0a 61 20 6e | 61 6d 65 64 20 70 69 70 | is .a n|amed pip|
|000017d0| 65 20 61 6b 61 20 61 20 | 46 49 46 4f 2e 20 20 49 |e aka a |FIFO. I|
|000017e0| 66 20 79 6f 75 27 64 20 | 6c 69 6b 65 20 74 6f 20 |f you'd |like to |
|000017f0| 64 6f 20 74 68 69 73 20 | 79 6f 75 72 73 65 6c 66 |do this |yourself|
|00001800| 2c 20 68 65 72 65 0a 69 | 73 20 61 20 6c 69 74 74 |, here.i|s a litt|
|00001810| 6c 65 20 70 72 6f 67 72 | 61 6d 20 49 20 77 72 6f |le progr|am I wro|
|00001820| 74 65 20 74 6f 20 64 6f | 20 69 74 20 28 73 65 65 |te to do| it (see|
|00001830| 20 74 68 65 20 63 6f 6d | 6d 65 6e 74 73 20 61 74 | the com|ments at|
|00001840| 20 74 68 65 0a 74 68 65 | 20 62 65 67 69 6e 6e 69 | the.the| beginni|
|00001850| 6e 67 20 6f 66 20 74 68 | 65 20 70 6c 61 6e 2e 63 |ng of th|e plan.c|
|00001860| 20 66 69 6c 65 20 66 6f | 72 20 75 73 61 67 65 20 | file fo|r usage |
|00001870| 69 6e 66 6f 29 3a 20 20 | 0a 0a 48 65 72 65 27 73 |info): |..Here's|
|00001880| 20 74 68 65 20 73 68 61 | 72 20 6f 66 20 6d 79 20 | the sha|r of my |
|00001890| 70 6c 61 6e 20 70 72 6f | 67 72 61 6d 2c 20 6a 75 |plan pro|gram, ju|
|000018a0| 73 74 20 63 75 74 20 75 | 70 20 75 6e 74 69 6c 20 |st cut u|p until |
|000018b0| 69 74 20 73 61 79 73 0a | 22 63 75 74 20 68 65 72 |it says.|"cut her|
|000018c0| 65 22 2c 20 61 6e 64 20 | 74 68 65 6e 20 74 79 70 |e", and |then typ|
|000018d0| 65 20 27 73 68 20 66 69 | 6c 65 6e 61 6d 65 27 20 |e 'sh fi|lename' |
|000018e0| 75 73 69 6e 67 20 77 68 | 61 74 65 76 65 72 20 66 |using wh|atever f|
|000018f0| 69 6c 65 6e 61 6d 65 0a | 79 6f 75 20 73 61 76 65 |ilename.|you save|
|00001900| 20 69 74 20 61 73 2e 20 | 20 49 66 20 79 6f 75 20 | it as. | If you |
|00001910| 75 73 65 20 27 70 6c 61 | 6e 27 20 69 74 20 77 69 |use 'pla|n' it wi|
|00001920| 6c 6c 20 67 65 74 20 6f | 76 65 72 77 72 69 74 74 |ll get o|verwritt|
|00001930| 65 6e 2e 0a 0a 54 68 65 | 20 63 6f 64 65 20 68 65 |en...The| code he|
|00001940| 72 65 20 73 68 6f 75 6c | 64 20 63 6f 6d 70 69 6c |re shoul|d compil|
|00001950| 65 20 77 2f 6f 20 61 6e | 79 20 70 72 6f 62 6c 65 |e w/o an|y proble|
|00001960| 6d 73 20 6f 6e 20 61 6e | 79 20 42 53 44 20 6d 61 |ms on an|y BSD ma|
|00001970| 63 68 69 6e 65 2c 0a 49 | 20 68 61 76 65 20 74 72 |chine,.I| have tr|
|00001980| 69 65 64 20 69 74 20 6f | 6e 20 61 20 53 75 6e 2c |ied it o|n a Sun,|
|00001990| 20 56 61 78 20 37 35 30 | 2c 20 61 6e 64 20 50 79 | Vax 750|, and Py|
|000019a0| 72 61 6d 69 64 20 39 30 | 78 2e 20 20 49 74 20 73 |ramid 90|x. It s|
|000019b0| 68 6f 75 6c 64 0a 61 6c | 73 6f 20 77 6f 72 6b 20 |hould.al|so work |
|000019c0| 70 72 6f 70 65 72 6c 79 | 20 6f 6e 20 61 6e 79 20 |properly| on any |
|000019d0| 53 56 52 34 2e 30 20 6d | 61 63 68 69 6e 65 2e 20 |SVR4.0 m|achine. |
|000019e0| 20 0a 0a 54 68 65 20 63 | 6f 64 65 20 69 73 20 70 | ..The c|ode is p|
|000019f0| 72 65 74 74 79 20 68 65 | 61 76 69 6c 79 20 63 6f |retty he|avily co|
|00001a00| 6d 6d 65 6e 74 65 64 20 | 73 6f 20 69 74 20 73 68 |mmented |so it sh|
|00001a10| 6f 75 6c 64 20 62 65 20 | 73 65 6c 66 0a 65 78 70 |ould be |self.exp|
|00001a20| 6c 61 6e 61 74 6f 72 79 | 2e 20 20 0a 0a 4e 6f 74 |lanatory|. ..Not|
|00001a30| 65 20 74 68 61 74 20 79 | 6f 75 20 73 68 6f 75 6c |e that y|ou shoul|
|00001a40| 64 20 70 75 74 20 61 20 | 2d 44 46 49 4c 45 4e 41 |d put a |-DFILENA|
|00001a50| 4d 45 3d 22 79 6f 75 72 | 5f 68 6f 6d 65 5f 64 69 |ME="your|_home_di|
|00001a60| 72 2f 2e 70 6c 61 6e 22 | 0a 74 6f 20 67 65 74 20 |r/.plan"|.to get |
|00001a70| 69 74 20 74 6f 20 70 75 | 74 20 79 6f 75 72 20 70 |it to pu|t your p|
|00001a80| 61 74 68 20 69 6e 2c 20 | 6f 72 20 79 6f 75 20 63 |ath in, |or you c|
|00001a90| 61 6e 20 6a 75 73 74 20 | 65 64 69 74 20 74 68 65 |an just |edit the|
|00001aa0| 20 0a 73 6f 75 72 63 65 | 20 61 6e 64 20 63 68 61 | .source| and cha|
|00001ab0| 6e 67 65 20 74 68 65 20 | 76 61 6c 75 65 20 6f 66 |nge the |value of|
|00001ac0| 20 46 49 4c 45 4e 41 4d | 45 20 70 65 72 6d 61 6e | FILENAM|E perman|
|00001ad0| 65 6e 74 6c 79 2e 20 20 | 0a 0a 49 66 20 79 6f 75 |ently. |..If you|
|00001ae0| 20 68 61 76 65 20 61 6e | 79 20 70 72 6f 62 6c 65 | have an|y proble|
|00001af0| 6d 73 20 67 65 74 74 69 | 6e 67 20 69 74 20 63 6f |ms getti|ng it co|
|00001b00| 6d 70 69 6c 65 64 2c 20 | 6a 75 73 74 20 73 65 6e |mpiled, |just sen|
|00001b10| 64 20 6d 65 20 6d 61 69 | 6c 2e 0a 0a 45 6e 6a 6f |d me mai|l...Enjo|
|00001b20| 79 2e 20 20 0a 0a 2d 54 | 6f 6e 79 0a 0a 2d 2d 2d |y. ..-T|ony..---|
|00001b30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001b40| 2d 2d 2d 2d 2d 2d 63 75 | 74 2d 68 65 72 65 2d 2d |------cu|t-here--|
|00001b50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001b60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001b70| 2d 2d 0a 23 21 20 2f 62 | 69 6e 2f 73 68 0a 23 20 |--.#! /b|in/sh.# |
|00001b80| 54 68 69 73 20 69 73 20 | 61 20 73 68 65 6c 6c 20 |This is |a shell |
|00001b90| 61 72 63 68 69 76 65 2e | 20 20 52 65 6d 6f 76 65 |archive.| Remove|
|00001ba0| 20 61 6e 79 74 68 69 6e | 67 20 62 65 66 6f 72 65 | anythin|g before|
|00001bb0| 20 74 68 69 73 20 6c 69 | 6e 65 2c 20 74 68 65 6e | this li|ne, then|
|00001bc0| 20 75 6e 70 61 63 6b 0a | 23 20 69 74 20 62 79 20 | unpack.|# it by |
|00001bd0| 73 61 76 69 6e 67 20 69 | 74 20 69 6e 74 6f 20 61 |saving i|t into a|
|00001be0| 20 66 69 6c 65 20 61 6e | 64 20 74 79 70 69 6e 67 | file an|d typing|
|00001bf0| 20 22 73 68 20 66 69 6c | 65 22 2e 20 20 54 6f 20 | "sh fil|e". To |
|00001c00| 6f 76 65 72 77 72 69 74 | 65 20 65 78 69 73 74 69 |overwrit|e existi|
|00001c10| 6e 67 0a 23 20 66 69 6c | 65 73 2c 20 74 79 70 65 |ng.# fil|es, type|
|00001c20| 20 22 73 68 20 66 69 6c | 65 20 2d 63 22 2e 20 20 | "sh fil|e -c". |
|00001c30| 59 6f 75 20 63 61 6e 20 | 61 6c 73 6f 20 66 65 65 |You can |also fee|
|00001c40| 64 20 74 68 69 73 20 61 | 73 20 73 74 61 6e 64 61 |d this a|s standa|
|00001c50| 72 64 20 69 6e 70 75 74 | 20 76 69 61 0a 23 20 75 |rd input| via.# u|
|00001c60| 6e 73 68 61 72 2c 20 6f | 72 20 62 79 20 74 79 70 |nshar, o|r by typ|
|00001c70| 69 6e 67 20 22 73 68 20 | 3c 66 69 6c 65 22 2c 20 |ing "sh |<file", |
|00001c80| 65 2e 67 2e 2e 20 20 49 | 66 20 74 68 69 73 20 61 |e.g.. I|f this a|
|00001c90| 72 63 68 69 76 65 20 69 | 73 20 63 6f 6d 70 6c 65 |rchive i|s comple|
|00001ca0| 74 65 2c 20 79 6f 75 0a | 23 20 77 69 6c 6c 20 73 |te, you.|# will s|
|00001cb0| 65 65 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |ee the f|ollowing|
|00001cc0| 20 6d 65 73 73 61 67 65 | 20 61 74 20 74 68 65 20 | message| at the |
|00001cd0| 65 6e 64 3a 0a 23 09 09 | 22 45 6e 64 20 6f 66 20 |end:.#..|"End of |
|00001ce0| 73 68 65 6c 6c 20 61 72 | 63 68 69 76 65 2e 22 0a |shell ar|chive.".|
|00001cf0| 23 20 43 6f 6e 74 65 6e | 74 73 3a 20 20 4d 61 6b |# Conten|ts: Mak|
|00001d00| 65 66 69 6c 65 20 70 6c | 61 6e 2e 63 0a 23 20 57 |efile pl|an.c.# W|
|00001d10| 72 61 70 70 65 64 20 62 | 79 20 72 65 6d 62 6f 40 |rapped b|y rembo@|
|00001d20| 75 6e 69 73 6f 66 74 20 | 6f 6e 20 4d 6f 6e 20 4f |unisoft |on Mon O|
|00001d30| 63 74 20 20 38 20 31 30 | 3a 32 32 3a 33 34 20 31 |ct 8 10|:22:34 1|
|00001d40| 39 39 30 0a 50 41 54 48 | 3d 2f 62 69 6e 3a 2f 75 |990.PATH|=/bin:/u|
|00001d50| 73 72 2f 62 69 6e 3a 2f | 75 73 72 2f 75 63 62 20 |sr/bin:/|usr/ucb |
|00001d60| 3b 20 65 78 70 6f 72 74 | 20 50 41 54 48 0a 69 66 |; export| PATH.if|
|00001d70| 20 74 65 73 74 20 2d 66 | 20 27 4d 61 6b 65 66 69 | test -f| 'Makefi|
|00001d80| 6c 65 27 20 2d 61 20 22 | 24 7b 31 7d 22 20 21 3d |le' -a "|${1}" !=|
|00001d90| 20 22 2d 63 22 20 3b 20 | 74 68 65 6e 20 0a 20 20 | "-c" ; |then . |
|00001da0| 65 63 68 6f 20 73 68 61 | 72 3a 20 57 69 6c 6c 20 |echo sha|r: Will |
|00001db0| 6e 6f 74 20 63 6c 6f 62 | 62 65 72 20 65 78 69 73 |not clob|ber exis|
|00001dc0| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 27 4d 61 6b |ting fil|e \"'Mak|
|00001dd0| 65 66 69 6c 65 27 5c 22 | 0a 65 6c 73 65 0a 65 63 |efile'\"|.else.ec|
|00001de0| 68 6f 20 73 68 61 72 3a | 20 45 78 74 72 61 63 74 |ho shar:| Extract|
|00001df0| 69 6e 67 20 5c 22 27 4d | 61 6b 65 66 69 6c 65 27 |ing \"'M|akefile'|
|00001e00| 5c 22 20 5c 28 31 34 30 | 38 20 63 68 61 72 61 63 |\" \(140|8 charac|
|00001e10| 74 65 72 73 5c 29 0a 73 | 65 64 20 22 73 2f 5e 58 |ters\).s|ed "s/^X|
|00001e20| 2f 2f 22 20 3e 27 4d 61 | 6b 65 66 69 6c 65 27 20 |//" >'Ma|kefile' |
|00001e30| 3c 3c 27 45 4e 44 5f 4f | 46 5f 46 49 4c 45 27 0a |<<'END_O|F_FILE'.|
|00001e40| 44 45 53 54 09 20 20 20 | 20 20 20 3d 20 2f 75 73 |DEST. | = /us|
|00001e50| 65 72 73 2f 65 6e 67 2f | 72 65 6d 62 6f 2f 2e 75 |ers/eng/|rembo/.u|
|00001e60| 6e 69 73 6f 66 74 62 69 | 6e 0a 58 0a 58 45 58 54 |nisoftbi|n.X.XEXT|
|00001e70| 48 44 52 53 09 20 20 20 | 20 20 20 3d 20 2f 75 73 |HDRS. | = /us|
|00001e80| 72 2f 69 6e 63 6c 75 64 | 65 2f 66 63 6e 74 6c 2e |r/includ|e/fcntl.|
|00001e90| 68 20 5c 0a 58 09 09 2f | 75 73 72 2f 69 6e 63 6c |h \.X../|usr/incl|
|00001ea0| 75 64 65 2f 73 69 67 6e | 61 6c 2e 68 20 5c 0a 58 |ude/sign|al.h \.X|
|00001eb0| 09 09 2f 75 73 72 2f 69 | 6e 63 6c 75 64 65 2f 73 |../usr/i|nclude/s|
|00001ec0| 74 64 69 6f 2e 68 20 5c | 0a 58 09 09 2f 75 73 72 |tdio.h \|.X../usr|
|00001ed0| 2f 69 6e 63 6c 75 64 65 | 2f 73 79 73 2f 66 63 6e |/include|/sys/fcn|
|00001ee0| 74 6c 2e 68 20 5c 0a 58 | 09 09 2f 75 73 72 2f 69 |tl.h \.X|../usr/i|
|00001ef0| 6e 63 6c 75 64 65 2f 73 | 79 73 2f 66 69 6c 65 2e |nclude/s|ys/file.|
|00001f00| 68 20 5c 0a 58 09 09 2f | 75 73 72 2f 69 6e 63 6c |h \.X../|usr/incl|
|00001f10| 75 64 65 2f 73 79 73 2f | 73 74 61 74 2e 68 20 5c |ude/sys/|stat.h \|
|00001f20| 0a 58 09 09 2f 75 73 72 | 2f 69 6e 63 6c 75 64 65 |.X../usr|/include|
|00001f30| 2f 73 79 73 2f 73 79 73 | 6d 61 63 72 6f 73 2e 68 |/sys/sys|macros.h|
|00001f40| 20 5c 0a 58 09 09 2f 75 | 73 72 2f 69 6e 63 6c 75 | \.X../u|sr/inclu|
|00001f50| 64 65 2f 73 79 73 2f 73 | 79 73 6d 61 63 72 6f 73 |de/sys/s|ysmacros|
|00001f60| 2e 68 20 5c 0a 58 09 09 | 2f 75 73 72 2f 69 6e 63 |.h \.X..|/usr/inc|
|00001f70| 6c 75 64 65 2f 73 79 73 | 2f 74 79 70 65 73 2e 68 |lude/sys|/types.h|
|00001f80| 20 5c 0a 58 09 09 2f 75 | 73 72 2f 69 6e 63 6c 75 | \.X../u|sr/inclu|
|00001f90| 64 65 2f 73 79 73 2f 74 | 79 70 65 73 2e 68 0a 58 |de/sys/t|ypes.h.X|
|00001fa0| 0a 48 44 52 53 09 20 20 | 20 20 20 20 3d 0a 58 0a |.HDRS. | =.X.|
|00001fb0| 4c 44 46 4c 41 47 53 09 | 20 20 20 20 20 20 3d 0a |LDFLAGS.| =.|
|00001fc0| 58 0a 4c 49 42 53 09 20 | 20 20 20 20 20 3d 0a 58 |X.LIBS. | =.X|
|00001fd0| 0a 4c 49 4e 4b 45 52 09 | 20 20 20 20 20 20 3d 20 |.LINKER.| = |
|00001fe0| 63 63 0a 58 0a 4d 41 4b | 45 46 49 4c 45 20 20 20 |cc.X.MAK|EFILE |
|00001ff0| 20 20 20 3d 20 4d 61 6b | 65 66 69 6c 65 0a 58 0a | = Mak|efile.X.|
|00002000| 4f 42 4a 53 09 20 20 20 | 20 20 20 3d 20 70 6c 61 |OBJS. | = pla|
|00002010| 6e 2e 6f 0a 58 0a 50 52 | 49 4e 54 09 20 20 20 20 |n.o.X.PR|INT. |
|00002020| 20 20 3d 20 70 72 0a 58 | 0a 50 52 4f 47 52 41 4d | = pr.X|.PROGRAM|
|00002030| 09 20 20 20 20 20 20 3d | 20 70 6c 61 6e 0a 58 0a |. =| plan.X.|
|00002040| 53 52 43 53 09 20 20 20 | 20 20 20 3d 20 70 6c 61 |SRCS. | = pla|
|00002050| 6e 2e 63 0a 58 0a 61 6c | 6c 3a 09 09 24 28 50 52 |n.c.X.al|l:..$(PR|
|00002060| 4f 47 52 41 4d 29 0a 58 | 0a 58 24 28 50 52 4f 47 |OGRAM).X|.X$(PROG|
|00002070| 52 41 4d 29 3a 20 20 20 | 20 20 24 28 4f 42 4a 53 |RAM): | $(OBJS|
|00002080| 29 20 24 28 4c 49 42 53 | 29 0a 58 09 09 40 65 63 |) $(LIBS|).X..@ec|
|00002090| 68 6f 20 2d 6e 20 22 4c | 6f 61 64 69 6e 67 20 24 |ho -n "L|oading $|
|000020a0| 28 50 52 4f 47 52 41 4d | 29 20 2e 2e 2e 20 22 0a |(PROGRAM|) ... ".|
|000020b0| 58 09 09 40 24 28 4c 49 | 4e 4b 45 52 29 20 24 28 |X..@$(LI|NKER) $(|
|000020c0| 4c 44 46 4c 41 47 53 29 | 20 24 28 4f 42 4a 53 29 |LDFLAGS)| $(OBJS)|
|000020d0| 20 24 28 4c 49 42 53 29 | 20 2d 6f 20 24 28 50 52 | $(LIBS)| -o $(PR|
|000020e0| 4f 47 52 41 4d 29 0a 58 | 09 09 40 65 63 68 6f 20 |OGRAM).X|..@echo |
|000020f0| 22 64 6f 6e 65 22 0a 58 | 0a 63 6c 65 61 6e 3a 3b |"done".X|.clean:;|
|00002100| 09 09 40 72 6d 20 2d 66 | 20 24 28 4f 42 4a 53 29 |..@rm -f| $(OBJS)|
|00002110| 0a 58 0a 64 65 70 65 6e | 64 3a 3b 09 40 6d 6b 6d |.X.depen|d:;.@mkm|
|00002120| 66 20 2d 66 20 24 28 4d | 41 4b 45 46 49 4c 45 29 |f -f $(M|AKEFILE)|
|00002130| 20 50 52 4f 47 52 41 4d | 3d 24 28 50 52 4f 47 52 | PROGRAM|=$(PROGR|
|00002140| 41 4d 29 20 44 45 53 54 | 3d 24 28 44 45 53 54 29 |AM) DEST|=$(DEST)|
|00002150| 0a 58 0a 69 6e 64 65 78 | 3a 3b 09 09 40 63 74 61 |.X.index|:;..@cta|
|00002160| 67 73 20 2d 77 78 20 24 | 28 48 44 52 53 29 20 24 |gs -wx $|(HDRS) $|
|00002170| 28 53 52 43 53 29 0a 58 | 0a 69 6e 73 74 61 6c 6c |(SRCS).X|.install|
|00002180| 3a 09 24 28 50 52 4f 47 | 52 41 4d 29 0a 58 09 09 |:.$(PROG|RAM).X..|
|00002190| 40 65 63 68 6f 20 49 6e | 73 74 61 6c 6c 69 6e 67 |@echo In|stalling|
|000021a0| 20 24 28 50 52 4f 47 52 | 41 4d 29 20 69 6e 20 24 | $(PROGR|AM) in $|
|000021b0| 28 44 45 53 54 29 0a 58 | 09 09 40 69 6e 73 74 61 |(DEST).X|..@insta|
|000021c0| 6c 6c 20 2d 73 20 24 28 | 50 52 4f 47 52 41 4d 29 |ll -s $(|PROGRAM)|
|000021d0| 20 24 28 44 45 53 54 29 | 0a 58 0a 70 72 69 6e 74 | $(DEST)|.X.print|
|000021e0| 3a 3b 09 09 40 24 28 50 | 52 49 4e 54 29 20 24 28 |:;..@$(P|RINT) $(|
|000021f0| 48 44 52 53 29 20 24 28 | 53 52 43 53 29 0a 58 0a |HDRS) $(|SRCS).X.|
|00002200| 70 72 6f 67 72 61 6d 3a | 20 20 20 20 20 20 20 20 |program:| |
|00002210| 24 28 50 52 4f 47 52 41 | 4d 29 0a 58 0a 74 61 67 |$(PROGRA|M).X.tag|
|00002220| 73 3a 20 20 20 20 20 20 | 20 20 20 20 20 24 28 48 |s: | $(H|
|00002230| 44 52 53 29 20 24 28 53 | 52 43 53 29 3b 20 40 63 |DRS) $(S|RCS); @c|
|00002240| 74 61 67 73 20 24 28 48 | 44 52 53 29 20 24 28 53 |tags $(H|DRS) $(S|
|00002250| 52 43 53 29 0a 58 0a 75 | 70 64 61 74 65 3a 09 09 |RCS).X.u|pdate:..|
|00002260| 24 28 44 45 53 54 29 2f | 24 28 50 52 4f 47 52 41 |$(DEST)/|$(PROGRA|
|00002270| 4d 29 0a 58 0a 58 24 28 | 44 45 53 54 29 2f 24 28 |M).X.X$(|DEST)/$(|
|00002280| 50 52 4f 47 52 41 4d 29 | 3a 20 24 28 53 52 43 53 |PROGRAM)|: $(SRCS|
|00002290| 29 20 24 28 4c 49 42 53 | 29 20 24 28 48 44 52 53 |) $(LIBS|) $(HDRS|
|000022a0| 29 20 24 28 45 58 54 48 | 44 52 53 29 0a 58 09 09 |) $(EXTH|DRS).X..|
|000022b0| 40 6d 61 6b 65 20 2d 66 | 20 24 28 4d 41 4b 45 46 |@make -f| $(MAKEF|
|000022c0| 49 4c 45 29 20 44 45 53 | 54 3d 24 28 44 45 53 54 |ILE) DES|T=$(DEST|
|000022d0| 29 20 69 6e 73 74 61 6c | 6c 0a 58 23 23 23 0a 70 |) instal|l.X###.p|
|000022e0| 6c 61 6e 2e 6f 3a 20 2f | 75 73 72 2f 69 6e 63 6c |lan.o: /|usr/incl|
|000022f0| 75 64 65 2f 73 79 73 2f | 74 79 70 65 73 2e 68 20 |ude/sys/|types.h |
|00002300| 2f 75 73 72 2f 69 6e 63 | 6c 75 64 65 2f 73 79 73 |/usr/inc|lude/sys|
|00002310| 2f 73 79 73 6d 61 63 72 | 6f 73 2e 68 20 5c 0a 58 |/sysmacr|os.h \.X|
|00002320| 09 2f 75 73 72 2f 69 6e | 63 6c 75 64 65 2f 73 79 |./usr/in|clude/sy|
|00002330| 73 2f 73 79 73 6d 61 63 | 72 6f 73 2e 68 20 2f 75 |s/sysmac|ros.h /u|
|00002340| 73 72 2f 69 6e 63 6c 75 | 64 65 2f 73 79 73 2f 66 |sr/inclu|de/sys/f|
|00002350| 69 6c 65 2e 68 20 5c 0a | 58 09 2f 75 73 72 2f 69 |ile.h \.|X./usr/i|
|00002360| 6e 63 6c 75 64 65 2f 73 | 79 73 2f 66 63 6e 74 6c |nclude/s|ys/fcntl|
|00002370| 2e 68 20 2f 75 73 72 2f | 69 6e 63 6c 75 64 65 2f |.h /usr/|include/|
|00002380| 73 79 73 2f 74 79 70 65 | 73 2e 68 20 5c 0a 58 09 |sys/type|s.h \.X.|
|00002390| 2f 75 73 72 2f 69 6e 63 | 6c 75 64 65 2f 66 63 6e |/usr/inc|lude/fcn|
|000023a0| 74 6c 2e 68 20 2f 75 73 | 72 2f 69 6e 63 6c 75 64 |tl.h /us|r/includ|
|000023b0| 65 2f 73 74 64 69 6f 2e | 68 20 2f 75 73 72 2f 69 |e/stdio.|h /usr/i|
|000023c0| 6e 63 6c 75 64 65 2f 73 | 79 73 2f 73 74 61 74 2e |nclude/s|ys/stat.|
|000023d0| 68 20 5c 0a 58 09 2f 75 | 73 72 2f 69 6e 63 6c 75 |h \.X./u|sr/inclu|
|000023e0| 64 65 2f 73 69 67 6e 61 | 6c 2e 68 0a 45 4e 44 5f |de/signa|l.h.END_|
|000023f0| 4f 46 5f 46 49 4c 45 0a | 69 66 20 74 65 73 74 20 |OF_FILE.|if test |
|00002400| 31 34 30 38 20 2d 6e 65 | 20 60 77 63 20 2d 63 20 |1408 -ne| `wc -c |
|00002410| 3c 27 4d 61 6b 65 66 69 | 6c 65 27 60 3b 20 74 68 |<'Makefi|le'`; th|
|00002420| 65 6e 0a 20 20 20 20 65 | 63 68 6f 20 73 68 61 72 |en. e|cho shar|
|00002430| 3a 20 5c 22 27 4d 61 6b | 65 66 69 6c 65 27 5c 22 |: \"'Mak|efile'\"|
|00002440| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|00002450| 72 6f 6e 67 20 73 69 7a | 65 21 0a 66 69 0a 23 20 |rong siz|e!.fi.# |
|00002460| 65 6e 64 20 6f 66 20 27 | 4d 61 6b 65 66 69 6c 65 |end of '|Makefile|
|00002470| 27 0a 66 69 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |'.fi.if |test -f |
|00002480| 27 70 6c 61 6e 2e 63 27 | 20 2d 61 20 22 24 7b 31 |'plan.c'| -a "${1|
|00002490| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|000024a0| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|000024b0| 57 69 6c 6c 20 6e 6f 74 | 20 63 6c 6f 62 62 65 72 |Will not| clobber|
|000024c0| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|000024d0| 22 27 70 6c 61 6e 2e 63 | 27 5c 22 0a 65 6c 73 65 |"'plan.c|'\".else|
|000024e0| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 |.echo sh|ar: Extr|
|000024f0| 61 63 74 69 6e 67 20 5c | 22 27 70 6c 61 6e 2e 63 |acting \|"'plan.c|
|00002500| 27 5c 22 20 5c 28 32 31 | 39 37 20 63 68 61 72 61 |'\" \(21|97 chara|
|00002510| 63 74 65 72 73 5c 29 0a | 73 65 64 20 22 73 2f 5e |cters\).|sed "s/^|
|00002520| 58 2f 2f 22 20 3e 27 70 | 6c 61 6e 2e 63 27 20 3c |X//" >'p|lan.c' <|
|00002530| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 58 |<'END_OF|_FILE'.X|
|00002540| 0a 58 2f 2a 09 54 48 49 | 53 20 49 53 20 54 48 45 |.X/*.THI|S IS THE|
|00002550| 20 55 4e 50 55 42 4c 49 | 53 48 45 44 20 53 4f 55 | UNPUBLI|SHED SOU|
|00002560| 52 43 45 20 43 4f 44 45 | 20 4f 46 20 52 45 4d 42 |RCE CODE| OF REMB|
|00002570| 4f 09 09 2a 2f 0a 58 2f | 2a 09 54 68 65 20 63 6f |O..*/.X/|*.The co|
|00002580| 70 79 72 69 67 68 74 20 | 6e 6f 74 69 63 65 20 61 |pyright |notice a|
|00002590| 62 6f 76 65 20 64 6f 65 | 73 20 6e 6f 74 20 65 76 |bove doe|s not ev|
|000025a0| 69 64 65 6e 63 65 20 61 | 6e 79 20 20 20 09 2a 2f |idence a|ny .*/|
|000025b0| 0a 58 2f 2a 09 61 63 74 | 75 61 6c 20 6f 72 20 69 |.X/*.act|ual or i|
|000025c0| 6e 74 65 6e 64 65 64 20 | 70 75 62 6c 69 63 61 74 |ntended |publicat|
|000025d0| 69 6f 6e 20 6f 66 20 73 | 75 63 68 20 73 6f 75 72 |ion of s|uch sour|
|000025e0| 63 65 20 63 6f 64 65 2e | 09 2a 2f 0a 58 2f 2a 09 |ce code.|.*/.X/*.|
|000025f0| 53 6f 2c 20 75 73 65 20 | 69 74 20 69 66 20 79 6f |So, use |it if yo|
|00002600| 75 20 6c 69 6b 65 2c 20 | 62 75 74 20 67 69 76 65 |u like, |but give|
|00002610| 20 6d 65 20 63 72 65 64 | 69 74 2e 09 09 2a 2f 0a | me cred|it...*/.|
|00002620| 58 0a 58 0a 58 2f 2a 20 | 09 55 73 61 67 65 3a 20 |X.X.X/* |.Usage: |
|00002630| 70 6c 61 6e 20 70 72 6f | 67 72 61 6d 5f 6e 61 6d |plan pro|gram_nam|
|00002640| 65 20 09 09 09 2a 2f 0a | 58 0a 58 0a 58 2f 2a 09 |e ...*/.|X.X.X/*.|
|00002650| 44 65 73 63 72 69 70 74 | 69 6f 6e 3a 09 09 09 09 |Descript|ion:....|
|00002660| 09 2a 2f 0a 58 0a 58 2f | 2a 20 09 54 68 69 73 20 |.*/.X.X/|* .This |
|00002670| 70 72 6f 67 72 61 6d 20 | 74 61 6b 65 73 20 74 68 |program |takes th|
|00002680| 65 20 66 75 6c 6c 20 70 | 61 74 68 6e 61 6d 65 20 |e full p|athname |
|00002690| 6f 66 20 61 6e 09 2a 2f | 0a 58 2f 2a 20 09 65 78 |of an.*/|.X/* .ex|
|000026a0| 65 63 75 74 61 62 6c 65 | 20 61 6e 64 20 72 75 6e |ecutable| and run|
|000026b0| 73 20 69 74 20 6f 6e 20 | 61 20 66 69 66 6f 20 69 |s it on |a fifo i|
|000026c0| 6e 20 74 68 65 20 09 2a | 2f 0a 58 2f 2a 09 75 73 |n the .*|/.X/*.us|
|000026d0| 65 72 27 73 20 68 6f 6d | 65 20 64 69 72 65 63 74 |er's hom|e direct|
|000026e0| 6f 72 79 20 6e 61 6d 65 | 64 20 2e 70 6c 61 6e 2e |ory name|d .plan.|
|000026f0| 20 20 54 68 69 73 09 2a | 2f 0a 58 2f 2a 20 09 77 | This.*|/.X/* .w|
|00002700| 61 79 2c 20 77 68 65 6e | 20 66 69 6e 67 65 72 20 |ay, when| finger |
|00002710| 69 73 20 65 78 65 63 75 | 74 65 64 2c 20 74 68 65 |is execu|ted, the|
|00002720| 20 6f 75 74 70 75 74 09 | 2a 2f 0a 58 2f 2a 20 09 | output.|*/.X/* .|
|00002730| 6f 66 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 67 |of the p|rogram g|
|00002740| 6f 65 73 20 74 6f 20 74 | 68 65 20 66 69 66 6f 2e |oes to t|he fifo.|
|00002750| 09 09 2a 2f 0a 58 09 0a | 58 2f 2a 09 57 72 69 74 |..*/.X..|X/*.Writ|
|00002760| 74 65 6e 20 62 79 3a 20 | 20 54 6f 6e 79 20 52 65 |ten by: | Tony Re|
|00002770| 6d 73 20 09 09 09 09 2a | 2f 0a 58 0a 58 2f 2a 20 |ms ....*|/.X.X/* |
|00002780| 09 53 65 6e 64 20 62 75 | 67 73 20 61 6e 64 20 66 |.Send bu|gs and f|
|00002790| 6c 61 6d 65 73 20 74 6f | 20 2f 64 65 76 2f 6e 75 |lames to| /dev/nu|
|000027a0| 6c 6c 20 6f 72 20 09 09 | 2a 2f 0a 58 2f 2a 20 09 |ll or ..|*/.X/* .|
|000027b0| 72 65 6d 62 6f 40 75 6e | 69 73 6f 66 74 2e 63 6f |rembo@un|isoft.co|
|000027c0| 6d 20 09 09 09 09 2a 2f | 0a 58 0a 58 23 69 6e 63 |m ....*/|.X.X#inc|
|000027d0| 6c 75 64 65 20 3c 73 79 | 73 2f 74 79 70 65 73 2e |lude <sy|s/types.|
|000027e0| 68 3e 0a 58 23 69 6e 63 | 6c 75 64 65 20 3c 73 79 |h>.X#inc|lude <sy|
|000027f0| 73 2f 66 69 6c 65 2e 68 | 3e 0a 58 23 69 6e 63 6c |s/file.h|>.X#incl|
|00002800| 75 64 65 20 3c 73 74 64 | 69 6f 2e 68 3e 0a 58 23 |ude <std|io.h>.X#|
|00002810| 69 6e 63 6c 75 64 65 20 | 3c 66 63 6e 74 6c 2e 68 |include |<fcntl.h|
|00002820| 3e 0a 58 23 69 6e 63 6c | 75 64 65 20 3c 73 79 73 |>.X#incl|ude <sys|
|00002830| 2f 73 74 61 74 2e 68 3e | 0a 58 23 69 6e 63 6c 75 |/stat.h>|.X#inclu|
|00002840| 64 65 20 3c 73 69 67 6e | 61 6c 2e 68 3e 0a 58 0a |de <sign|al.h>.X.|
|00002850| 58 2f 2a 20 44 65 66 69 | 6e 65 73 20 2a 2f 0a 58 |X/* Defi|nes */.X|
|00002860| 23 64 65 66 69 6e 65 20 | 46 49 4c 45 4e 41 4d 45 |#define |FILENAME|
|00002870| 20 22 2f 75 73 65 72 73 | 2f 65 6e 67 2f 72 65 6d | "/users|/eng/rem|
|00002880| 62 6f 2f 2e 70 6c 61 6e | 22 0a 58 23 64 65 66 69 |bo/.plan|".X#defi|
|00002890| 6e 65 20 50 45 52 4d 53 | 20 30 36 36 36 0a 58 23 |ne PERMS| 0666.X#|
|000028a0| 64 65 66 69 6e 65 20 55 | 53 41 47 45 20 22 25 73 |define U|SAGE "%s|
|000028b0| 20 70 72 6f 67 72 61 6d | 5f 6e 61 6d 65 5c 6e 22 | program|_name\n"|
|000028c0| 0a 58 0a 58 2f 2a 20 46 | 75 6e 63 74 69 6f 6e 20 |.X.X/* F|unction |
|000028d0| 70 72 6f 74 6f 74 79 70 | 65 73 20 2a 2f 0a 76 6f |prototyp|es */.vo|
|000028e0| 69 64 20 73 69 67 5f 68 | 61 6e 64 6c 65 72 28 29 |id sig_h|andler()|
|000028f0| 3b 0a 58 0a 6d 61 69 6e | 20 28 61 72 67 63 2c 20 |;.X.main| (argc, |
|00002900| 61 72 67 76 29 0a 69 6e | 74 20 61 72 67 63 3b 0a |argv).in|t argc;.|
|00002910| 63 68 61 72 20 2a 61 72 | 67 76 5b 5d 3b 0a 58 7b |char *ar|gv[];.X{|
|00002920| 0a 58 09 69 6e 74 20 66 | 64 3b 0a 58 09 69 6e 74 |.X.int f|d;.X.int|
|00002930| 20 70 69 64 3b 0a 58 09 | 69 6e 74 20 73 74 61 74 | pid;.X.|int stat|
|00002940| 75 73 3b 0a 58 0a 58 09 | 69 66 20 28 20 61 72 67 |us;.X.X.|if ( arg|
|00002950| 63 20 21 3d 32 20 29 20 | 7b 0a 58 09 09 66 70 72 |c !=2 ) |{.X..fpr|
|00002960| 69 6e 74 66 20 28 73 74 | 64 65 72 72 2c 20 55 53 |intf (st|derr, US|
|00002970| 41 47 45 2c 20 61 72 67 | 76 5b 30 5d 29 3b 0a 58 |AGE, arg|v[0]);.X|
|00002980| 09 09 65 78 69 74 28 31 | 29 3b 0a 58 09 7d 20 20 |..exit(1|);.X.} |
|00002990| 2f 2a 20 69 66 20 2a 2f | 0a 58 0a 58 2f 2a 20 43 |/* if */|.X.X/* C|
|000029a0| 61 74 63 68 20 69 6e 74 | 65 72 72 75 70 74 73 20 |atch int|errupts |
|000029b0| 66 6f 72 20 63 6c 65 61 | 6e 75 70 20 2a 2f 0a 58 |for clea|nup */.X|
|000029c0| 09 73 69 67 6e 61 6c 28 | 53 49 47 54 45 52 4d 2c |.signal(|SIGTERM,|
|000029d0| 20 73 69 67 5f 68 61 6e | 64 6c 65 72 29 3b 0a 58 | sig_han|dler);.X|
|000029e0| 09 73 69 67 6e 61 6c 28 | 53 49 47 49 4e 54 2c 20 |.signal(|SIGINT, |
|000029f0| 73 69 67 5f 68 61 6e 64 | 6c 65 72 29 3b 0a 58 09 |sig_hand|ler);.X.|
|00002a00| 73 69 67 6e 61 6c 28 53 | 49 47 48 55 50 2c 20 73 |signal(S|IGHUP, s|
|00002a10| 69 67 5f 68 61 6e 64 6c | 65 72 29 3b 0a 58 0a 58 |ig_handl|er);.X.X|
|00002a20| 09 75 6e 6c 69 6e 6b 20 | 28 46 49 4c 45 4e 41 4d |.unlink |(FILENAM|
|00002a30| 45 29 3b 0a 58 0a 58 2f | 2a 20 4d 61 6b 65 20 74 |E);.X.X/|* Make t|
|00002a40| 68 65 20 66 69 66 6f 20 | 2a 2f 0a 58 09 69 66 20 |he fifo |*/.X.if |
|00002a50| 28 28 6d 6b 6e 6f 64 28 | 46 49 4c 45 4e 41 4d 45 |((mknod(|FILENAME|
|00002a60| 2c 20 53 5f 49 46 49 46 | 4f 20 7c 20 50 45 52 4d |, S_IFIF|O | PERM|
|00002a70| 53 2c 20 30 29 29 20 3c | 20 30 20 29 20 7b 0a 58 |S, 0)) <| 0 ) {.X|
|00002a80| 09 09 70 65 72 72 6f 72 | 28 22 6d 6b 6e 6f 64 22 |..perror|("mknod"|
|00002a90| 29 3b 0a 58 09 09 65 78 | 69 74 28 32 29 3b 0a 58 |);.X..ex|it(2);.X|
|00002aa0| 09 7d 20 20 2f 2a 20 69 | 66 20 2a 2f 0a 58 0a 58 |.} /* i|f */.X.X|
|00002ab0| 09 77 68 69 6c 65 20 28 | 31 29 20 7b 0a 58 09 09 |.while (|1) {.X..|
|00002ac0| 69 66 20 28 28 66 64 20 | 3d 20 6f 70 65 6e 28 46 |if ((fd |= open(F|
|00002ad0| 49 4c 45 4e 41 4d 45 2c | 20 4f 5f 57 52 4f 4e 4c |ILENAME,| O_WRONL|
|00002ae0| 59 29 29 20 3c 20 30 20 | 29 20 7b 0a 58 09 09 09 |Y)) < 0 |) {.X...|
|00002af0| 70 65 72 72 6f 72 28 22 | 6f 70 65 6e 22 29 3b 0a |perror("|open");.|
|00002b00| 58 09 09 09 65 78 69 74 | 28 33 29 3b 0a 58 09 09 |X...exit|(3);.X..|
|00002b10| 7d 20 2f 2a 20 69 66 20 | 2a 2f 0a 58 0a 58 2f 2a |} /* if |*/.X.X/*|
|00002b20| 20 4f 6e 63 65 20 6f 75 | 72 20 6f 70 65 6e 20 63 | Once ou|r open c|
|00002b30| 6f 6d 70 6c 65 74 65 73 | 20 77 65 20 6b 6e 6f 77 |ompletes| we know|
|00002b40| 20 74 68 61 74 20 73 6f | 6d 65 6f 6e 65 20 65 6c | that so|meone el|
|00002b50| 73 65 20 68 61 73 0a 58 | 20 2a 20 6f 70 65 6e 65 |se has.X| * opene|
|00002b60| 64 20 74 68 65 20 46 49 | 46 4f 20 66 6f 72 20 72 |d the FI|FO for r|
|00002b70| 65 61 64 69 6e 67 2c 20 | 73 6f 20 77 65 20 63 61 |eading, |so we ca|
|00002b80| 6e 20 6b 6e 6f 77 20 72 | 75 6e 20 6f 75 72 20 0a |n know r|un our .|
|00002b90| 58 20 2a 20 70 72 6f 67 | 72 61 6d 20 6f 6e 20 69 |X * prog|ram on i|
|00002ba0| 74 2e 20 20 53 6f 2c 20 | 77 65 20 66 6f 72 6b 2c |t. So, |we fork,|
|00002bb0| 20 65 78 65 63 20 6f 75 | 72 20 70 72 6f 67 72 61 | exec ou|r progra|
|00002bc0| 6d 20 61 6e 64 0a 58 20 | 2a 20 77 61 69 74 20 66 |m and.X |* wait f|
|00002bd0| 6f 72 20 74 68 65 20 63 | 68 69 6c 64 20 74 6f 20 |or the c|hild to |
|00002be0| 63 6f 6d 70 6c 65 74 65 | 2e 0a 58 20 2a 2f 0a 58 |complete|..X */.X|
|00002bf0| 09 09 73 77 69 74 63 68 | 20 28 70 69 64 20 3d 20 |..switch| (pid = |
|00002c00| 66 6f 72 6b 28 29 29 20 | 7b 0a 58 09 09 09 63 61 |fork()) |{.X...ca|
|00002c10| 73 65 20 2d 31 3a 0a 58 | 09 09 09 09 70 65 72 72 |se -1:.X|....perr|
|00002c20| 6f 72 28 22 66 6f 72 6b | 22 29 3b 0a 58 09 09 09 |or("fork|");.X...|
|00002c30| 09 65 78 69 74 28 34 29 | 3b 0a 58 09 09 09 09 62 |.exit(4)|;.X....b|
|00002c40| 72 65 61 6b 3b 0a 58 09 | 09 09 63 61 73 65 20 30 |reak;.X.|..case 0|
|00002c50| 3a 0a 58 2f 2a 20 49 66 | 20 77 65 27 72 65 20 69 |:.X/* If| we're i|
|00002c60| 6e 20 74 68 65 20 63 68 | 69 6c 64 2c 20 77 65 20 |n the ch|ild, we |
|00002c70| 63 6f 70 79 20 6f 75 72 | 20 66 69 66 6f 20 74 6f |copy our| fifo to|
|00002c80| 20 73 74 64 6f 75 74 20 | 2a 2f 0a 58 2f 2a 20 61 | stdout |*/.X/* a|
|00002c90| 6e 64 20 65 78 65 63 20 | 74 68 65 20 70 72 6f 67 |nd exec |the prog|
|00002ca0| 72 61 6d 20 67 69 76 65 | 6e 20 2a 2f 0a 58 09 09 |ram give|n */.X..|
|00002cb0| 09 09 64 75 70 32 28 66 | 64 2c 20 31 29 3b 0a 58 |..dup2(f|d, 1);.X|
|00002cc0| 09 09 09 09 65 78 65 63 | 6c 70 28 61 72 67 76 5b |....exec|lp(argv[|
|00002cd0| 31 5d 2c 61 72 67 76 5b | 31 5d 2c 28 76 6f 69 64 |1],argv[|1],(void|
|00002ce0| 20 2a 29 4e 55 4c 4c 29 | 3b 0a 58 09 09 09 09 70 | *)NULL)|;.X....p|
|00002cf0| 65 72 72 6f 72 28 22 63 | 68 69 6c 64 20 72 65 74 |error("c|hild ret|
|00002d00| 75 72 6e 65 64 22 29 3b | 0a 58 09 09 09 09 65 78 |urned");|.X....ex|
|00002d10| 69 74 28 35 29 3b 0a 58 | 09 09 09 09 62 72 65 61 |it(5);.X|....brea|
|00002d20| 6b 3b 0a 58 09 09 09 64 | 65 66 61 75 6c 74 3a 0a |k;.X...d|efault:.|
|00002d30| 58 2f 2a 20 49 66 20 77 | 65 27 72 65 20 69 6e 20 |X/* If w|e're in |
|00002d40| 74 68 65 20 70 61 72 65 | 6e 74 2c 20 77 65 20 63 |the pare|nt, we c|
|00002d50| 6c 6f 73 65 20 74 68 65 | 20 70 69 70 65 20 61 6e |lose the| pipe an|
|00002d60| 64 20 77 61 69 74 20 2a | 2f 0a 58 09 09 09 09 63 |d wait *|/.X....c|
|00002d70| 6c 6f 73 65 28 66 64 29 | 3b 0a 58 09 09 09 09 77 |lose(fd)|;.X....w|
|00002d80| 68 69 6c 65 20 28 77 61 | 69 74 28 26 73 74 61 74 |hile (wa|it(&stat|
|00002d90| 75 73 29 20 21 3d 20 70 | 69 64 29 0a 58 09 09 09 |us) != p|id).X...|
|00002da0| 09 09 3b 0a 58 09 09 09 | 09 62 72 65 61 6b 3b 0a |..;.X...|.break;.|
|00002db0| 58 09 09 7d 20 2f 2a 20 | 73 77 69 74 63 68 20 2a |X..} /* |switch *|
|00002dc0| 2f 0a 58 09 09 73 6c 65 | 65 70 28 32 29 3b 0a 58 |/.X..sle|ep(2);.X|
|00002dd0| 09 09 63 6c 6f 73 65 28 | 66 64 29 3b 0a 58 09 7d |..close(|fd);.X.}|
|00002de0| 20 2f 2a 20 77 68 69 6c | 65 20 2a 2f 0a 58 7d 20 | /* whil|e */.X} |
|00002df0| 2f 2a 20 6d 61 69 6e 20 | 2a 2f 0a 58 0a 76 6f 69 |/* main |*/.X.voi|
|00002e00| 64 20 73 69 67 5f 68 61 | 6e 64 6c 65 72 28 29 20 |d sig_ha|ndler() |
|00002e10| 20 2f 2a 20 63 6c 65 61 | 6e 75 70 20 2a 2f 0a 58 | /* clea|nup */.X|
|00002e20| 7b 0a 58 09 75 6e 6c 69 | 6e 6b 28 46 49 4c 45 4e |{.X.unli|nk(FILEN|
|00002e30| 41 4d 45 29 3b 0a 58 09 | 65 78 69 74 28 30 29 3b |AME);.X.|exit(0);|
|00002e40| 0a 58 7d 0a 45 4e 44 5f | 4f 46 5f 46 49 4c 45 0a |.X}.END_|OF_FILE.|
|00002e50| 69 66 20 74 65 73 74 20 | 32 31 39 37 20 2d 6e 65 |if test |2197 -ne|
|00002e60| 20 60 77 63 20 2d 63 20 | 3c 27 70 6c 61 6e 2e 63 | `wc -c |<'plan.c|
|00002e70| 27 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |'`; then|. ech|
|00002e80| 6f 20 73 68 61 72 3a 20 | 5c 22 27 70 6c 61 6e 2e |o shar: |\"'plan.|
|00002e90| 63 27 5c 22 20 75 6e 70 | 61 63 6b 65 64 20 77 69 |c'\" unp|acked wi|
|00002ea0| 74 68 20 77 72 6f 6e 67 | 20 73 69 7a 65 21 0a 66 |th wrong| size!.f|
|00002eb0| 69 0a 23 20 65 6e 64 20 | 6f 66 20 27 70 6c 61 6e |i.# end |of 'plan|
|00002ec0| 2e 63 27 0a 66 69 0a 65 | 63 68 6f 20 73 68 61 72 |.c'.fi.e|cho shar|
|00002ed0| 3a 20 45 6e 64 20 6f 66 | 20 73 68 65 6c 6c 20 61 |: End of| shell a|
|00002ee0| 72 63 68 69 76 65 2e 0a | 65 78 69 74 20 30 0a 0a |rchive..|exit 0..|
|00002ef0| 0a 0a 53 48 41 52 5f 45 | 4f 46 0a 66 69 20 23 20 |..SHAR_E|OF.fi # |
|00002f00| 65 6e 64 20 6f 66 20 6f | 76 65 72 77 72 69 74 69 |end of o|verwriti|
|00002f10| 6e 67 20 63 68 65 63 6b | 0a 23 09 45 6e 64 20 6f |ng check|.#.End o|
|00002f20| 66 20 73 68 65 6c 6c 20 | 61 72 63 68 69 76 65 0a |f shell |archive.|
|00002f30| 65 78 69 74 20 30 0a 2d | 2d 20 0a 2d 2d 2d 2d 2d |exit 0.-|- .-----|
|00002f40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 63 68 72 69 73 |--------|--.chris|
|00002f90| 74 6f 70 68 65 72 20 77 | 69 6c 6c 69 61 6d 73 2c |topher w|illiams,|
|00002fa0| 20 60 67 69 6c 6c 69 67 | 61 6e 27 2c 20 60 64 75 | `gillig|an', `du|
|00002fb0| 64 65 27 2c 20 63 67 77 | 40 76 61 78 62 2e 61 63 |de', cgw|@vaxb.ac|
|00002fc0| 73 2e 75 6e 74 2e 65 64 | 75 2c 20 2b 31 20 38 31 |s.unt.ed|u, +1 81|
|00002fd0| 37 20 35 36 35 20 34 31 | 36 31 0a 6c 65 61 64 20 |7 565 41|61.lead |
|00002fe0| 70 72 6f 67 72 61 6d 6d | 65 72 2f 6f 70 65 72 61 |programm|er/opera|
|00002ff0| 74 6f 72 2c 20 74 68 65 | 20 75 6e 69 76 65 72 73 |tor, the| univers|
|00003000| 69 74 79 20 6f 66 20 6e | 6f 72 74 68 20 74 65 78 |ity of n|orth tex|
|00003010| 61 73 2c 20 68 6f 6d 65 | 20 6f 66 20 74 68 65 20 |as, home| of the |
|00003020| 5f 56 61 78 43 61 76 65 | 5f 21 0a 60 68 65 6c 70 |_VaxCave|_!.`help|
|00003030| 20 73 74 61 6d 70 20 6f | 75 74 20 61 6e 64 20 61 | stamp o|ut and a|
|00003040| 62 6f 6c 69 73 68 20 72 | 65 64 75 6e 64 61 6e 63 |bolish r|edundanc|
|00003050| 79 21 27 20 20 20 20 20 | 20 20 20 20 20 20 6d 79 |y!' | my|
|00003060| 20 6f 74 68 65 72 20 2e | 73 69 67 20 69 73 20 62 | other .|sig is b|
|00003070| 6f 72 69 6e 67 20 74 6f | 6f 2e 0a |oring to|o.. |
+--------+-------------------------+-------------------------+--------+--------+