home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume5 / htroff2 < prev    next >
SHell self-extracting ARchive  |  1989-02-03  |  4.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


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

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, 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 78 61 | 6e 74 68 21 6e 69 63 2e |Path: xa|nth!nic.|
|00000010| 4d 52 2e 4e 45 54 21 68 | 61 6c 21 6e 63 6f 61 73 |MR.NET!h|al!ncoas|
|00000020| 74 21 61 6c 6c 62 65 72 | 79 0a 46 72 6f 6d 3a 20 |t!allber|y.From: |
|00000030| 65 64 66 40 52 4f 43 4b | 59 32 2e 52 4f 43 4b 45 |edf@ROCK|Y2.ROCKE|
|00000040| 46 45 4c 4c 45 52 2e 45 | 44 55 20 28 44 61 76 69 |FELLER.E|DU (Davi|
|00000050| 64 20 4d 61 63 4b 65 6e | 7a 69 65 29 0a 4e 65 77 |d MacKen|zie).New|
|00000060| 73 67 72 6f 75 70 73 3a | 20 63 6f 6d 70 2e 73 6f |sgroups:| comp.so|
|00000070| 75 72 63 65 73 2e 6d 69 | 73 63 0a 53 75 62 6a 65 |urces.mi|sc.Subje|
|00000080| 63 74 3a 20 76 30 35 69 | 30 31 30 3a 20 74 72 6f |ct: v05i|010: tro|
|00000090| 66 66 32 6c 6a 2d 76 32 | 20 68 74 72 6f 66 66 20 |ff2lj-v2| htroff |
|000000a0| 74 68 61 74 20 64 6f 77 | 6e 6c 6f 61 64 73 20 66 |that dow|nloads f|
|000000b0| 6f 6e 74 73 0a 4d 65 73 | 73 61 67 65 2d 49 44 3a |onts.Mes|sage-ID:|
|000000c0| 20 3c 38 38 31 30 32 35 | 30 35 31 30 2e 41 41 32 | <881025|0510.AA2|
|000000d0| 38 35 34 30 40 72 6f 63 | 6b 79 32 3e 0a 44 61 74 |8540@roc|ky2>.Dat|
|000000e0| 65 3a 20 32 38 20 4f 63 | 74 20 38 38 20 30 32 3a |e: 28 Oc|t 88 02:|
|000000f0| 33 33 3a 35 37 20 47 4d | 54 0a 53 65 6e 64 65 72 |33:57 GM|T.Sender|
|00000100| 3a 20 61 6c 6c 62 65 72 | 79 40 6e 63 6f 61 73 74 |: allber|y@ncoast|
|00000110| 2e 55 55 43 50 0a 52 65 | 70 6c 79 2d 54 6f 3a 20 |.UUCP.Re|ply-To: |
|00000120| 65 64 66 40 52 4f 43 4b | 59 32 2e 52 4f 43 4b 45 |edf@ROCK|Y2.ROCKE|
|00000130| 46 45 4c 4c 45 52 2e 45 | 44 55 20 28 44 61 76 69 |FELLER.E|DU (Davi|
|00000140| 64 20 4d 61 63 4b 65 6e | 7a 69 65 29 0a 4c 69 6e |d MacKen|zie).Lin|
|00000150| 65 73 3a 20 31 34 31 0a | 41 70 70 72 6f 76 65 64 |es: 141.|Approved|
|00000160| 3a 20 61 6c 6c 62 65 72 | 79 40 6e 63 6f 61 73 74 |: allber|y@ncoast|
|00000170| 2e 55 55 43 50 0a 0a 50 | 6f 73 74 69 6e 67 2d 6e |.UUCP..P|osting-n|
|00000180| 75 6d 62 65 72 3a 20 56 | 6f 6c 75 6d 65 20 35 2c |umber: V|olume 5,|
|00000190| 20 49 73 73 75 65 20 31 | 30 0a 53 75 62 6d 69 74 | Issue 1|0.Submit|
|000001a0| 74 65 64 2d 62 79 3a 20 | 22 44 61 76 69 64 20 4d |ted-by: |"David M|
|000001b0| 61 63 4b 65 6e 7a 69 65 | 22 20 3c 65 64 66 40 52 |acKenzie|" <edf@R|
|000001c0| 4f 43 4b 59 32 2e 52 4f | 43 4b 45 46 45 4c 4c 45 |OCKY2.RO|CKEFELLE|
|000001d0| 52 2e 45 44 55 3e 0a 41 | 72 63 68 69 76 65 2d 6e |R.EDU>.A|rchive-n|
|000001e0| 61 6d 65 3a 20 68 74 72 | 6f 66 66 32 0a 0a 54 68 |ame: htr|off2..Th|
|000001f0| 69 73 20 63 61 6e 27 74 | 20 68 6f 6c 64 20 61 20 |is can't| hold a |
|00000200| 63 61 6e 64 6c 65 20 74 | 6f 20 4a 65 74 52 6f 66 |candle t|o JetRof|
|00000210| 66 27 73 20 61 75 74 6f | 6d 61 74 69 63 20 73 65 |f's auto|matic se|
|00000220| 6c 65 63 74 69 76 65 2d | 64 6f 77 6e 6c 6f 61 64 |lective-|download|
|00000230| 69 6e 67 0a 6f 66 20 66 | 6f 6e 74 73 2c 20 62 75 |ing.of f|onts, bu|
|00000240| 74 20 69 74 27 73 20 61 | 6e 20 69 6d 70 72 6f 76 |t it's a|n improv|
|00000250| 65 6d 65 6e 74 20 6f 76 | 65 72 20 74 68 65 20 70 |ement ov|er the p|
|00000260| 72 65 76 69 6f 75 73 20 | 22 68 74 72 6f 66 66 22 |revious |"htroff"|
|00000270| 20 73 63 72 69 70 74 2e | 0a 49 74 20 65 6e 73 75 | script.|.It ensu|
|00000280| 72 65 73 20 74 68 61 74 | 20 74 68 65 20 64 6f 77 |res that| the dow|
|00000290| 6e 6c 6f 61 64 65 64 20 | 66 6f 6e 74 73 20 61 6e |nloaded |fonts an|
|000002a0| 64 20 74 68 65 20 74 72 | 6f 66 66 20 64 6f 63 75 |d the tr|off docu|
|000002b0| 6d 65 6e 74 20 61 72 65 | 20 73 65 6e 74 0a 74 6f |ment are| sent.to|
|000002c0| 20 74 68 65 20 70 72 69 | 6e 74 65 72 20 61 73 20 | the pri|nter as |
|000002d0| 74 68 65 20 73 61 6d 65 | 20 70 72 69 6e 74 20 6a |the same| print j|
|000002e0| 6f 62 20 28 70 72 65 76 | 69 6f 75 73 6c 79 20 61 |ob (prev|iously a|
|000002f0| 20 70 72 6f 62 6c 65 6d | 20 6f 6e 20 6f 75 72 20 | problem| on our |
|00000300| 73 79 73 74 65 6d 0a 61 | 73 20 6f 74 68 65 72 20 |system.a|s other |
|00000310| 70 65 6f 70 6c 65 20 77 | 65 72 65 20 72 75 6e 6e |people w|ere runn|
|00000320| 69 6e 67 20 70 72 6f 67 | 72 61 6d 73 20 74 68 61 |ing prog|rams tha|
|00000330| 74 20 75 73 65 64 20 74 | 68 65 20 70 72 69 6e 74 |t used t|he print|
|00000340| 65 72 20 6d 65 6d 6f 72 | 79 20 66 6f 72 0a 67 72 |er memor|y for.gr|
|00000350| 61 70 68 69 63 73 20 6f | 72 20 6a 75 73 74 20 64 |aphics o|r just d|
|00000360| 65 6c 65 74 65 64 20 61 | 6c 6c 20 6f 66 20 74 68 |eleted a|ll of th|
|00000370| 65 20 73 6f 66 74 20 66 | 6f 6e 74 73 20 66 6f 72 |e soft f|onts for|
|00000380| 20 73 70 65 65 64 29 2e | 0a 0a 49 20 77 72 61 70 | speed).|..I wrap|
|00000390| 20 22 68 74 72 6f 66 66 | 22 20 69 6e 20 61 6e 20 | "htroff|" in an |
|000003a0| 61 64 64 69 74 69 6f 6e | 61 6c 20 6c 61 79 65 72 |addition|al layer|
|000003b0| 2e 20 20 49 20 77 72 6f | 74 65 20 6f 6e 65 2d 6c |. I wro|te one-l|
|000003c0| 69 6e 65 73 20 73 63 72 | 69 70 74 73 0a 63 61 6c |ines scr|ipts.cal|
|000003d0| 6c 65 64 20 22 6d 73 74 | 72 6f 66 66 22 2c 20 22 |led "mst|roff", "|
|000003e0| 6d 61 6e 74 72 6f 66 66 | 22 2c 20 22 6d 6d 74 72 |mantroff|", "mmtr|
|000003f0| 6f 66 66 22 20 65 74 63 | 2e 20 74 68 61 74 20 63 |off" etc|. that c|
|00000400| 61 6c 6c 20 68 74 72 6f | 66 66 20 77 69 74 68 20 |all htro|ff with |
|00000410| 74 68 65 0a 61 70 70 72 | 6f 70 72 69 61 74 65 20 |the.appr|opriate |
|00000420| 66 6c 61 67 73 20 74 6f | 20 75 73 65 20 74 68 65 |flags to| use the|
|00000430| 20 61 70 70 72 6f 70 72 | 69 61 74 65 20 6d 61 63 | appropr|iate mac|
|00000440| 72 6f 73 20 61 6e 64 20 | 64 6f 77 6e 6c 6f 61 64 |ros and |download|
|00000450| 20 74 68 65 20 6e 65 65 | 64 65 64 0a 66 6f 6e 74 | the nee|ded.font|
|00000460| 73 2c 20 73 6f 20 49 20 | 63 61 6e 20 6a 75 73 74 |s, so I |can just|
|00000470| 20 73 61 79 20 22 6d 6d | 74 72 6f 66 66 20 66 6f | say "mm|troff fo|
|00000480| 6f 2e 6d 6d 20 26 22 20 | 74 6f 20 66 6f 72 6d 61 |o.mm &" |to forma|
|00000490| 74 20 61 6e 64 20 70 72 | 69 6e 74 20 66 6f 6f 2e |t and pr|int foo.|
|000004a0| 6d 6d 0a 6f 6e 20 74 68 | 65 20 4c 61 73 65 72 4a |mm.on th|e LaserJ|
|000004b0| 65 74 2e 0a 0a 23 21 20 | 2f 62 69 6e 2f 73 68 0a |et...#! |/bin/sh.|
|000004c0| 23 20 54 68 69 73 20 69 | 73 20 61 20 73 68 65 6c |# This i|s a shel|
|000004d0| 6c 20 61 72 63 68 69 76 | 65 2e 20 20 52 65 6d 6f |l archiv|e. Remo|
|000004e0| 76 65 20 61 6e 79 74 68 | 69 6e 67 20 62 65 66 6f |ve anyth|ing befo|
|000004f0| 72 65 20 74 68 69 73 20 | 6c 69 6e 65 2c 20 74 68 |re this |line, th|
|00000500| 65 6e 20 75 6e 70 61 63 | 6b 0a 23 20 69 74 20 62 |en unpac|k.# it b|
|00000510| 79 20 73 61 76 69 6e 67 | 20 69 74 20 69 6e 74 6f |y saving| it into|
|00000520| 20 61 20 66 69 6c 65 20 | 61 6e 64 20 74 79 70 69 | a file |and typi|
|00000530| 6e 67 20 22 73 68 20 66 | 69 6c 65 22 2e 20 20 54 |ng "sh f|ile". T|
|00000540| 6f 20 6f 76 65 72 77 72 | 69 74 65 20 65 78 69 73 |o overwr|ite exis|
|00000550| 74 69 6e 67 0a 23 20 66 | 69 6c 65 73 2c 20 74 79 |ting.# f|iles, ty|
|00000560| 70 65 20 22 73 68 20 66 | 69 6c 65 20 2d 63 22 2e |pe "sh f|ile -c".|
|00000570| 20 20 59 6f 75 20 63 61 | 6e 20 61 6c 73 6f 20 66 | You ca|n also f|
|00000580| 65 65 64 20 74 68 69 73 | 20 61 73 20 73 74 61 6e |eed this| as stan|
|00000590| 64 61 72 64 20 69 6e 70 | 75 74 20 76 69 61 0a 23 |dard inp|ut via.#|
|000005a0| 20 75 6e 73 68 61 72 2c | 20 6f 72 20 62 79 20 74 | unshar,| or by t|
|000005b0| 79 70 69 6e 67 20 22 73 | 68 20 3c 66 69 6c 65 22 |yping "s|h <file"|
|000005c0| 2c 20 65 2e 67 2e 2e 20 | 20 49 66 20 74 68 69 73 |, e.g.. | If this|
|000005d0| 20 61 72 63 68 69 76 65 | 20 69 73 20 63 6f 6d 70 | archive| is comp|
|000005e0| 6c 65 74 65 2c 20 79 6f | 75 0a 23 20 77 69 6c 6c |lete, yo|u.# will|
|000005f0| 20 73 65 65 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 | see the| followi|
|00000600| 6e 67 20 6d 65 73 73 61 | 67 65 20 61 74 20 74 68 |ng messa|ge at th|
|00000610| 65 20 65 6e 64 3a 0a 23 | 09 09 22 45 6e 64 20 6f |e end:.#|.."End o|
|00000620| 66 20 73 68 65 6c 6c 20 | 61 72 63 68 69 76 65 2e |f shell |archive.|
|00000630| 22 0a 23 20 43 6f 6e 74 | 65 6e 74 73 3a 20 20 68 |".# Cont|ents: h|
|00000640| 74 72 6f 66 66 2e 31 20 | 68 74 72 6f 66 66 0a 23 |troff.1 |htroff.#|
|00000650| 20 57 72 61 70 70 65 64 | 20 62 79 20 64 61 76 65 | Wrapped| by dave|
|00000660| 40 65 64 66 64 63 20 20 | 6f 6e 20 54 75 65 20 53 |@edfdc |on Tue S|
|00000670| 65 70 20 32 30 20 30 32 | 3a 31 38 3a 35 38 20 31 |ep 20 02|:18:58 1|
|00000680| 39 38 38 0a 50 41 54 48 | 3d 2f 62 69 6e 3a 2f 75 |988.PATH|=/bin:/u|
|00000690| 73 72 2f 62 69 6e 3a 2f | 75 73 72 2f 75 63 62 20 |sr/bin:/|usr/ucb |
|000006a0| 3b 20 65 78 70 6f 72 74 | 20 50 41 54 48 0a 69 66 |; export| PATH.if|
|000006b0| 20 74 65 73 74 20 2d 66 | 20 27 68 74 72 6f 66 66 | test -f| 'htroff|
|000006c0| 2e 31 27 20 2d 61 20 22 | 24 7b 31 7d 22 20 21 3d |.1' -a "|${1}" !=|
|000006d0| 20 22 2d 63 22 20 3b 20 | 74 68 65 6e 20 0a 20 20 | "-c" ; |then . |
|000006e0| 65 63 68 6f 20 73 68 61 | 72 3a 20 57 69 6c 6c 20 |echo sha|r: Will |
|000006f0| 6e 6f 74 20 63 6c 6f 62 | 62 65 72 20 65 78 69 73 |not clob|ber exis|
|00000700| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 27 68 74 72 |ting fil|e \"'htr|
|00000710| 6f 66 66 2e 31 27 5c 22 | 0a 65 6c 73 65 0a 65 63 |off.1'\"|.else.ec|
|00000720| 68 6f 20 73 68 61 72 3a | 20 45 78 74 72 61 63 74 |ho shar:| Extract|
|00000730| 69 6e 67 20 5c 22 27 68 | 74 72 6f 66 66 2e 31 27 |ing \"'h|troff.1'|
|00000740| 5c 22 20 5c 28 38 31 35 | 20 63 68 61 72 61 63 74 |\" \(815| charact|
|00000750| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|00000760| 2f 22 20 3e 27 68 74 72 | 6f 66 66 2e 31 27 20 3c |/" >'htr|off.1' <|
|00000770| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 58 |<'END_OF|_FILE'.X|
|00000780| 2e 54 48 20 48 54 52 4f | 46 46 20 31 0a 58 2e 53 |.TH HTRO|FF 1.X.S|
|00000790| 48 20 4e 41 4d 45 0a 58 | 68 74 72 6f 66 66 20 5c |H NAME.X|htroff \|
|000007a0| 2d 20 74 65 78 74 20 66 | 6f 72 6d 61 74 74 65 72 |- text f|ormatter|
|000007b0| 20 66 6f 72 20 48 50 20 | 4c 61 73 65 72 4a 65 74 | for HP |LaserJet|
|000007c0| 0a 58 2e 53 48 20 53 59 | 4e 4f 50 53 49 53 0a 58 |.X.SH SY|NOPSIS.X|
|000007d0| 2e 42 20 68 74 72 6f 66 | 66 0a 58 5b 0a 58 2e 42 |.B htrof|f.X[.X.B|
|000007e0| 20 5c 2d 6f 70 74 69 6f | 6e 73 0a 58 5d 20 5b 0a | \-optio|ns.X] [.|
|000007f0| 58 2e 42 20 66 69 6c 65 | 73 0a 58 5d 0a 58 2e 53 |X.B file|s.X].X.S|
|00000800| 48 20 44 45 53 43 52 49 | 50 54 49 4f 4e 0a 58 2e |H DESCRI|PTION.X.|
|00000810| 49 20 48 74 72 6f 66 66 | 0a 58 69 73 20 61 20 66 |I Htroff|.Xis a f|
|00000820| 72 6f 6e 74 20 65 6e 64 | 20 66 6f 72 20 74 68 65 |ront end| for the|
|00000830| 20 74 72 6f 66 66 28 31 | 29 20 74 65 78 74 20 66 | troff(1|) text f|
|00000840| 6f 72 6d 61 74 74 69 6e | 67 20 70 72 6f 67 72 61 |ormattin|g progra|
|00000850| 6d 2e 20 20 49 74 20 73 | 65 6e 64 73 20 69 74 73 |m. It s|ends its|
|00000860| 20 0a 58 6f 75 74 70 75 | 74 20 74 6f 20 61 20 48 | .Xoutpu|t to a H|
|00000870| 65 77 6c 65 74 74 2d 50 | 61 63 6b 61 72 64 20 4c |ewlett-P|ackard L|
|00000880| 61 73 65 72 4a 65 74 20 | 6f 72 20 63 6f 6d 70 61 |aserJet |or compa|
|00000890| 74 69 62 6c 65 20 70 72 | 69 6e 74 65 72 2e 20 20 |tible pr|inter. |
|000008a0| 49 6e 20 61 64 64 69 74 | 69 6f 6e 0a 58 74 6f 20 |In addit|ion.Xto |
|000008b0| 61 6c 6c 20 6f 66 20 74 | 68 65 20 73 74 61 6e 64 |all of t|he stand|
|000008c0| 61 72 64 20 74 72 6f 66 | 66 20 6f 70 74 69 6f 6e |ard trof|f option|
|000008d0| 73 2c 20 0a 58 2e 49 20 | 68 74 72 6f 66 66 0a 58 |s, .X.I |htroff.X|
|000008e0| 61 6c 73 6f 20 61 63 63 | 65 70 74 73 20 61 72 67 |also acc|epts arg|
|000008f0| 75 6d 65 6e 74 73 20 6f | 66 20 74 68 65 20 66 6f |uments o|f the fo|
|00000900| 72 6d 0a 58 2e 49 20 5c | 2d 6e 58 58 2c 0a 58 77 |rm.X.I \|-nXX,.Xw|
|00000910| 68 69 63 68 20 69 6e 64 | 69 63 61 74 65 20 74 68 |hich ind|icate th|
|00000920| 61 74 20 74 68 65 20 66 | 6f 6e 74 20 77 69 74 68 |at the f|ont with|
|00000930| 20 6e 61 6d 65 0a 58 2e | 49 20 58 58 0a 58 69 73 | name.X.|I XX.Xis|
|00000940| 20 74 6f 20 62 65 20 6d | 6f 75 6e 74 65 64 20 6f | to be m|ounted o|
|00000950| 6e 20 66 6f 6e 74 20 70 | 6f 73 69 74 69 6f 6e 0a |n font p|osition.|
|00000960| 58 2e 49 20 6e 0a 58 28 | 31 20 3c 3d 0a 58 2e 49 |X.I n.X(|1 <=.X.I|
|00000970| 20 6e 0a 58 3c 3d 20 33 | 29 2e 20 20 46 6f 6e 74 | n.X<= 3|). Font|
|00000980| 73 20 31 2d 33 20 64 65 | 66 61 75 6c 74 20 74 6f |s 1-3 de|fault to|
|00000990| 20 22 52 22 2c 20 22 49 | 22 2c 20 61 6e 64 20 22 | "R", "I|", and "|
|000009a0| 42 22 2c 20 28 54 69 6d | 65 73 20 52 6f 6d 61 6e |B", (Tim|es Roman|
|000009b0| 2c 20 54 69 6d 65 73 0a | 58 42 6f 6c 64 2c 20 61 |, Times.|XBold, a|
|000009c0| 6e 64 20 54 69 6d 65 73 | 20 49 74 61 6c 69 63 29 |nd Times| Italic)|
|000009d0| 20 72 65 73 70 65 63 74 | 69 76 65 6c 79 2e 0a 58 | respect|ively..X|
|000009e0| 2e 50 50 0a 58 41 6c 73 | 6f 2c 20 61 72 67 75 6d |.PP.XAls|o, argum|
|000009f0| 65 6e 74 73 20 6f 66 20 | 74 68 65 20 66 6f 72 6d |ents of |the form|
|00000a00| 0a 58 2e 49 20 5c 2d 64 | 66 6f 6e 74 66 69 6c 65 |.X.I \-d|fontfile|
|00000a10| 0a 58 61 72 65 20 61 63 | 63 65 70 74 65 64 2c 20 |.Xare ac|cepted, |
|00000a20| 61 6e 64 20 63 61 75 73 | 65 20 74 68 65 20 6e 61 |and caus|e the na|
|00000a30| 6d 65 64 0a 58 2e 49 20 | 66 6f 6e 74 66 69 6c 65 |med.X.I |fontfile|
|00000a40| 0a 58 74 6f 20 62 65 20 | 64 6f 77 6e 6c 6f 61 64 |.Xto be |download|
|00000a50| 65 64 20 74 6f 20 74 68 | 65 20 70 72 69 6e 74 65 |ed to th|e printe|
|00000a60| 72 20 62 65 66 6f 72 65 | 20 74 68 65 20 74 65 78 |r before| the tex|
|00000a70| 74 20 69 73 20 70 72 69 | 6e 74 65 64 2e 0a 58 2e |t is pri|nted..X.|
|00000a80| 53 48 20 22 53 45 45 20 | 41 4c 53 4f 22 0a 58 64 |SH "SEE |ALSO".Xd|
|00000a90| 6f 77 6e 6c 6f 61 64 28 | 31 29 2c 20 74 72 6f 66 |ownload(|1), trof|
|00000aa0| 66 28 31 29 0a 58 2e 53 | 48 20 41 55 54 48 4f 52 |f(1).X.S|H AUTHOR|
|00000ab0| 53 0a 58 53 76 65 72 72 | 65 20 46 72 6f 79 65 6e |S.XSverr|e Froyen|
|00000ac0| 2c 20 44 61 76 69 64 20 | 4d 61 63 4b 65 6e 7a 69 |, David |MacKenzi|
|00000ad0| 65 0a 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 0a 69 66 |e.END_OF|_FILE.if|
|00000ae0| 20 74 65 73 74 20 38 31 | 35 20 2d 6e 65 20 60 77 | test 81|5 -ne `w|
|00000af0| 63 20 2d 63 20 3c 27 68 | 74 72 6f 66 66 2e 31 27 |c -c <'h|troff.1'|
|00000b00| 60 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |`; then.| echo|
|00000b10| 20 73 68 61 72 3a 20 5c | 22 27 68 74 72 6f 66 66 | shar: \|"'htroff|
|00000b20| 2e 31 27 5c 22 20 75 6e | 70 61 63 6b 65 64 20 77 |.1'\" un|packed w|
|00000b30| 69 74 68 20 77 72 6f 6e | 67 20 73 69 7a 65 21 0a |ith wron|g size!.|
|00000b40| 66 69 0a 23 20 65 6e 64 | 20 6f 66 20 27 68 74 72 |fi.# end| of 'htr|
|00000b50| 6f 66 66 2e 31 27 0a 66 | 69 0a 69 66 20 74 65 73 |off.1'.f|i.if tes|
|00000b60| 74 20 2d 66 20 27 68 74 | 72 6f 66 66 27 20 2d 61 |t -f 'ht|roff' -a|
|00000b70| 20 22 24 7b 31 7d 22 20 | 21 3d 20 22 2d 63 22 20 | "${1}" |!= "-c" |
|00000b80| 3b 20 74 68 65 6e 20 0a | 20 20 65 63 68 6f 20 73 |; then .| echo s|
|00000b90| 68 61 72 3a 20 57 69 6c | 6c 20 6e 6f 74 20 63 6c |har: Wil|l not cl|
|00000ba0| 6f 62 62 65 72 20 65 78 | 69 73 74 69 6e 67 20 66 |obber ex|isting f|
|00000bb0| 69 6c 65 20 5c 22 27 68 | 74 72 6f 66 66 27 5c 22 |ile \"'h|troff'\"|
|00000bc0| 0a 65 6c 73 65 0a 65 63 | 68 6f 20 73 68 61 72 3a |.else.ec|ho shar:|
|00000bd0| 20 45 78 74 72 61 63 74 | 69 6e 67 20 5c 22 27 68 | Extract|ing \"'h|
|00000be0| 74 72 6f 66 66 27 5c 22 | 20 5c 28 31 31 31 37 20 |troff'\"| \(1117 |
|00000bf0| 63 68 61 72 61 63 74 65 | 72 73 5c 29 0a 73 65 64 |characte|rs\).sed|
|00000c00| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 27 68 74 72 6f | "s/^X//|" >'htro|
|00000c10| 66 66 27 20 3c 3c 27 45 | 4e 44 5f 4f 46 5f 46 49 |ff' <<'E|ND_OF_FI|
|00000c20| 4c 45 27 0a 58 3a 0a 58 | 23 20 68 74 72 6f 66 66 |LE'.X:.X|# htroff|
|00000c30| 20 2d 20 74 72 6f 66 66 | 20 66 6f 72 20 48 50 20 | - troff| for HP |
|00000c40| 4c 61 73 65 72 4a 65 74 | 0a 58 23 20 55 73 61 67 |LaserJet|.X# Usag|
|00000c50| 65 3a 20 68 74 72 6f 66 | 66 20 5b 2d 6f 70 74 69 |e: htrof|f [-opti|
|00000c60| 6f 6e 73 5d 20 5b 66 69 | 6c 65 73 5d 0a 58 23 0a |ons] [fi|les].X#.|
|00000c70| 58 23 20 53 70 65 63 69 | 61 6c 20 6f 70 74 69 6f |X# Speci|al optio|
|00000c80| 6e 73 3a 0a 58 23 20 2d | 6e 58 58 09 6d 6f 75 6e |ns:.X# -|nXX.moun|
|00000c90| 74 20 66 6f 6e 74 20 58 | 58 20 6f 6e 20 70 6f 73 |t font X|X on pos|
|00000ca0| 69 74 69 6f 6e 20 6e 20 | 28 6e 20 3d 20 31 2d 33 |ition n |(n = 1-3|
|00000cb0| 29 0a 58 23 20 2d 64 59 | 59 09 64 6f 77 6e 6c 6f |).X# -dY|Y.downlo|
|00000cc0| 61 64 20 66 6f 6e 74 20 | 59 59 0a 58 23 0a 58 23 |ad font |YY.X#.X#|
|00000cd0| 20 53 65 6e 64 73 20 69 | 74 73 20 6f 75 74 70 75 | Sends i|ts outpu|
|00000ce0| 74 20 74 6f 20 74 68 65 | 20 4c 61 73 65 72 4a 65 |t to the| LaserJe|
|00000cf0| 74 20 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 2e |t automa|tically.|
|00000d00| 0a 58 23 20 4c 61 74 65 | 73 74 20 72 65 76 69 73 |.X# Late|st revis|
|00000d10| 69 6f 6e 3a 20 30 37 2f | 32 36 2f 38 38 0a 58 0a |ion: 07/|26/88.X.|
|00000d20| 58 74 72 61 6e 73 6c 61 | 74 65 3d 74 72 6f 66 66 |Xtransla|te=troff|
|00000d30| 32 6c 6a 0a 58 23 74 72 | 61 6e 73 6c 61 74 65 3d |2lj.X#tr|anslate=|
|00000d40| 2f 75 73 72 2f 6c 6f 63 | 61 6c 2f 6c 69 62 2f 74 |/usr/loc|al/lib/t|
|00000d50| 72 6f 66 66 32 6c 6a 0a | 58 70 72 69 6e 74 63 6d |roff2lj.|Xprintcm|
|00000d60| 64 3d 27 6c 70 72 20 2d | 70 6c 61 73 65 72 6a 65 |d='lpr -|plaserje|
|00000d70| 74 27 0a 58 23 70 72 69 | 6e 74 63 6d 64 3d 27 75 |t'.X#pri|ntcmd='u|
|00000d80| 75 78 20 2d 6e 20 2d 20 | 22 73 73 74 21 2f 75 73 |ux -n - |"sst!/us|
|00000d90| 72 2f 75 63 62 2f 6c 70 | 72 20 2d 50 72 68 70 22 |r/ucb/lp|r -Prhp"|
|00000da0| 27 0a 58 64 6f 77 6e 6c | 6f 61 64 3d 20 23 20 6e |'.Xdownl|oad= # n|
|00000db0| 75 6c 6c 20 74 6f 20 73 | 74 61 72 74 20 6f 75 74 |ull to s|tart out|
|00000dc0| 20 77 69 74 68 0a 58 64 | 66 69 6c 65 73 3d 0a 58 | with.Xd|files=.X|
|00000dd0| 0a 58 6f 70 74 69 6f 6e | 73 3d 2d 74 20 23 20 53 |.Xoption|s=-t # S|
|00000de0| 65 6e 64 20 6f 75 74 70 | 75 74 20 74 6f 20 73 74 |end outp|ut to st|
|00000df0| 64 6f 75 74 20 69 6e 73 | 74 65 61 64 20 6f 66 20 |dout ins|tead of |
|00000e00| 2f 64 65 76 2f 63 61 74 | 2e 0a 58 6c 6a 6f 70 74 |/dev/cat|..Xljopt|
|00000e10| 73 3d 0a 58 66 69 6c 65 | 73 3d 0a 58 66 6f 6e 74 |s=.Xfile|s=.Xfont|
|00000e20| 31 3d 52 0a 58 66 6f 6e | 74 32 3d 49 0a 58 66 6f |1=R.Xfon|t2=I.Xfo|
|00000e30| 6e 74 33 3d 42 0a 58 0a | 58 66 6f 72 20 61 72 67 |nt3=B.X.|Xfor arg|
|00000e40| 0a 58 64 6f 0a 58 20 20 | 20 20 63 61 73 65 20 24 |.Xdo.X | case $|
|00000e50| 61 72 67 20 69 6e 0a 58 | 09 2d 29 20 66 69 6c 65 |arg in.X|.-) file|
|00000e60| 73 3d 22 24 66 69 6c 65 | 73 20 24 61 72 67 22 20 |s="$file|s $arg" |
|00000e70| 3b 3b 0a 58 09 2d 64 2a | 29 20 64 6f 77 6e 6c 6f |;;.X.-d*|) downlo|
|00000e80| 61 64 3d 22 64 6f 77 6e | 6c 6f 61 64 20 2d 64 22 |ad="down|load -d"|
|00000e90| 3b 0a 58 09 20 20 20 20 | 20 64 66 69 6c 65 73 3d |;.X. | dfiles=|
|00000ea0| 22 24 64 66 69 6c 65 73 | 20 60 65 63 68 6f 20 24 |"$dfiles| `echo $|
|00000eb0| 61 72 67 7c 73 65 64 20 | 27 73 2f 2d 64 2f 2f 27 |arg|sed |'s/-d//'|
|00000ec0| 60 22 20 3b 3b 0a 58 09 | 2d 31 2a 29 20 66 6f 6e |`" ;;.X.|-1*) fon|
|00000ed0| 74 31 3d 60 65 63 68 6f | 20 24 61 72 67 7c 73 65 |t1=`echo| $arg|se|
|00000ee0| 64 20 27 73 2f 2d 31 2f | 2f 27 60 3b 20 6c 6a 6f |d 's/-1/|/'`; ljo|
|00000ef0| 70 74 73 3d 22 24 6c 6a | 6f 70 74 73 20 24 61 72 |pts="$lj|opts $ar|
|00000f00| 67 22 20 3b 3b 0a 58 09 | 2d 32 2a 29 20 66 6f 6e |g" ;;.X.|-2*) fon|
|00000f10| 74 32 3d 60 65 63 68 6f | 20 24 61 72 67 7c 73 65 |t2=`echo| $arg|se|
|00000f20| 64 20 27 73 2f 2d 32 2f | 2f 27 60 3b 20 6c 6a 6f |d 's/-2/|/'`; ljo|
|00000f30| 70 74 73 3d 22 24 6c 6a | 6f 70 74 73 20 24 61 72 |pts="$lj|opts $ar|
|00000f40| 67 22 20 3b 3b 0a 58 09 | 2d 33 2a 29 20 66 6f 6e |g" ;;.X.|-3*) fon|
|00000f50| 74 33 3d 60 65 63 68 6f | 20 24 61 72 67 7c 73 65 |t3=`echo| $arg|se|
|00000f60| 64 20 27 73 2f 2d 33 2f | 2f 27 60 3b 20 6c 6a 6f |d 's/-3/|/'`; ljo|
|00000f70| 70 74 73 3d 22 24 6c 6a | 6f 70 74 73 20 24 61 72 |pts="$lj|opts $ar|
|00000f80| 67 22 20 3b 3b 0a 58 09 | 2d 5b 34 2d 39 5d 2a 7c |g" ;;.X.|-[4-9]*||
|00000f90| 2d 30 2a 29 20 65 63 68 | 6f 20 22 49 6c 6c 65 67 |-0*) ech|o "Illeg|
|00000fa0| 61 6c 20 66 6f 6e 74 20 | 6d 6f 75 6e 74 3a 20 24 |al font |mount: $|
|00000fb0| 61 72 67 22 20 3e 26 32 | 3b 20 65 78 69 74 20 31 |arg" >&2|; exit 1|
|00000fc0| 20 3b 3b 0a 58 09 2d 2a | 29 20 6f 70 74 69 6f 6e | ;;.X.-*|) option|
|00000fd0| 73 3d 22 24 6f 70 74 69 | 6f 6e 73 20 24 61 72 67 |s="$opti|ons $arg|
|00000fe0| 22 20 3b 3b 0a 58 09 2a | 29 20 66 69 6c 65 73 3d |" ;;.X.*|) files=|
|00000ff0| 22 24 66 69 6c 65 73 20 | 24 61 72 67 22 20 3b 3b |"$files |$arg" ;;|
|00001000| 0a 58 20 20 20 20 65 73 | 61 63 0a 58 64 6f 6e 65 |.X es|ac.Xdone|
|00001010| 0a 58 0a 58 7b 0a 58 24 | 64 6f 77 6e 6c 6f 61 64 |.X.X{.X$|download|
|00001020| 20 24 64 66 69 6c 65 73 | 0a 58 7b 0a 58 65 63 68 | $dfiles|.X{.Xech|
|00001030| 6f 20 22 5c 0a 58 2e 66 | 70 20 31 20 24 66 6f 6e |o "\.X.f|p 1 $fon|
|00001040| 74 31 0a 58 2e 66 70 20 | 32 20 24 66 6f 6e 74 32 |t1.X.fp |2 $font2|
|00001050| 0a 58 2e 66 70 20 33 20 | 24 66 6f 6e 74 33 0a 58 |.X.fp 3 |$font3.X|
|00001060| 2e 66 70 20 34 20 53 0a | 58 2e 6c 67 20 30 22 0a |.fp 4 S.|X.lg 0".|
|00001070| 58 0a 58 63 61 74 20 24 | 66 69 6c 65 73 0a 58 7d |X.Xcat $|files.X}|
|00001080| 20 7c 20 74 72 6f 66 66 | 20 24 6f 70 74 69 6f 6e | | troff| $option|
|00001090| 73 20 7c 20 24 74 72 61 | 6e 73 6c 61 74 65 20 24 |s | $tra|nslate $|
|000010a0| 6c 6a 6f 70 74 73 0a 58 | 7d 20 7c 20 24 70 72 69 |ljopts.X|} | $pri|
|000010b0| 6e 74 63 6d 64 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |ntcmd.EN|D_OF_FIL|
|000010c0| 45 0a 69 66 20 74 65 73 | 74 20 31 31 31 37 20 2d |E.if tes|t 1117 -|
|000010d0| 6e 65 20 60 77 63 20 2d | 63 20 3c 27 68 74 72 6f |ne `wc -|c <'htro|
|000010e0| 66 66 27 60 3b 20 74 68 | 65 6e 0a 20 20 20 20 65 |ff'`; th|en. e|
|000010f0| 63 68 6f 20 73 68 61 72 | 3a 20 5c 22 27 68 74 72 |cho shar|: \"'htr|
|00001100| 6f 66 66 27 5c 22 20 75 | 6e 70 61 63 6b 65 64 20 |off'\" u|npacked |
|00001110| 77 69 74 68 20 77 72 6f | 6e 67 20 73 69 7a 65 21 |with wro|ng size!|
|00001120| 0a 66 69 0a 63 68 6d 6f | 64 20 2b 78 20 27 68 74 |.fi.chmo|d +x 'ht|
|00001130| 72 6f 66 66 27 0a 23 20 | 65 6e 64 20 6f 66 20 27 |roff'.# |end of '|
|00001140| 68 74 72 6f 66 66 27 0a | 66 69 0a 65 63 68 6f 20 |htroff'.|fi.echo |
|00001150| 73 68 61 72 3a 20 45 6e | 64 20 6f 66 20 73 68 65 |shar: En|d of she|
|00001160| 6c 6c 20 61 72 63 68 69 | 76 65 2e 0a 65 78 69 74 |ll archi|ve..exit|
|00001170| 20 30 0a | | 0. | |
+--------+-------------------------+-------------------------+--------+--------+