home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / compsrcs / misc / volume08 / up < prev    next >
SHell self-extracting ARchive  |  1991-08-27  |  34.3 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: up

ConfidenceProgramDetectionMatch TypeSupport
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 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 73 75 6e 2d |From dec|wrl!sun-|
|00000010| 62 61 72 72 21 61 70 70 | 6c 65 21 62 72 75 74 75 |barr!app|le!brutu|
|00000020| 73 2e 63 73 2e 75 69 75 | 63 2e 65 64 75 21 73 61 |s.cs.uiu|c.edu!sa|
|00000030| 6d 73 75 6e 67 21 67 69 | 6e 6f 73 6b 6f 21 75 75 |msung!gi|nosko!uu|
|00000040| 6e 65 74 21 61 6c 6c 62 | 65 72 79 20 53 61 74 20 |net!allb|ery Sat |
|00000050| 4f 63 74 20 32 38 20 31 | 36 3a 32 35 3a 34 37 20 |Oct 28 1|6:25:47 |
|00000060| 50 44 54 20 31 39 38 39 | 0a 41 72 74 69 63 6c 65 |PDT 1989|.Article|
|00000070| 20 31 31 34 32 20 6f 66 | 20 63 6f 6d 70 2e 73 6f | 1142 of| comp.so|
|00000080| 75 72 63 65 73 2e 6d 69 | 73 63 3a 0a 50 61 74 68 |urces.mi|sc:.Path|
|00000090| 3a 20 64 65 63 77 72 6c | 21 73 75 6e 2d 62 61 72 |: decwrl|!sun-bar|
|000000a0| 72 21 61 70 70 6c 65 21 | 62 72 75 74 75 73 2e 63 |r!apple!|brutus.c|
|000000b0| 73 2e 75 69 75 63 2e 65 | 64 75 21 73 61 6d 73 75 |s.uiuc.e|du!samsu|
|000000c0| 6e 67 21 67 69 6e 6f 73 | 6b 6f 21 75 75 6e 65 74 |ng!ginos|ko!uunet|
|000000d0| 21 61 6c 6c 62 65 72 79 | 0a 46 72 6f 6d 3a 20 61 |!allbery|.From: a|
|000000e0| 6c 6c 62 65 72 79 40 75 | 75 6e 65 74 2e 55 55 2e |llbery@u|unet.UU.|
|000000f0| 4e 45 54 20 28 42 72 61 | 6e 64 6f 6e 20 53 2e 20 |NET (Bra|ndon S. |
|00000100| 41 6c 6c 62 65 72 79 20 | 2d 20 63 6f 6d 70 2e 73 |Allbery |- comp.s|
|00000110| 6f 75 72 63 65 73 2e 6d | 69 73 63 29 0a 4e 65 77 |ources.m|isc).New|
|00000120| 73 67 72 6f 75 70 73 3a | 20 63 6f 6d 70 2e 73 6f |sgroups:| comp.so|
|00000130| 75 72 63 65 73 2e 6d 69 | 73 63 0a 53 75 62 6a 65 |urces.mi|sc.Subje|
|00000140| 63 74 3a 20 76 30 38 69 | 30 39 35 3a 20 55 70 3a |ct: v08i|095: Up:|
|00000150| 20 75 74 69 6c 69 74 69 | 65 73 20 74 6f 20 70 72 | utiliti|es to pr|
|00000160| 69 6e 74 20 63 6f 6e 66 | 6f 72 6d 69 6e 67 20 50 |int conf|orming P|
|00000170| 6f 73 74 53 63 72 69 70 | 74 20 6e 2d 75 70 0a 4d |ostScrip|t n-up.M|
|00000180| 65 73 73 61 67 65 2d 49 | 44 3a 20 3c 37 30 39 33 |essage-I|D: <7093|
|00000190| 33 40 75 75 6e 65 74 2e | 55 55 2e 4e 45 54 3e 0a |3@uunet.|UU.NET>.|
|000001a0| 44 61 74 65 3a 20 32 38 | 20 4f 63 74 20 38 39 20 |Date: 28| Oct 89 |
|000001b0| 31 38 3a 31 31 3a 31 38 | 20 47 4d 54 0a 53 65 6e |18:11:18| GMT.Sen|
|000001c0| 64 65 72 3a 20 61 6c 6c | 62 65 72 79 40 75 75 6e |der: all|bery@uun|
|000001d0| 65 74 2e 55 55 2e 4e 45 | 54 0a 52 65 70 6c 79 2d |et.UU.NE|T.Reply-|
|000001e0| 54 6f 3a 20 6a 67 72 65 | 65 6c 79 40 63 69 73 2e |To: jgre|ely@cis.|
|000001f0| 6f 68 69 6f 2d 73 74 61 | 74 65 2e 65 64 75 20 28 |ohio-sta|te.edu (|
|00000200| 4a 20 47 72 65 65 6c 79 | 29 0a 4c 69 6e 65 73 3a |J Greely|).Lines:|
|00000210| 20 31 32 33 39 0a 41 70 | 70 72 6f 76 65 64 3a 20 | 1239.Ap|proved: |
|00000220| 61 6c 6c 62 65 72 79 40 | 75 75 6e 65 74 2e 55 55 |allbery@|uunet.UU|
|00000230| 2e 4e 45 54 20 28 42 72 | 61 6e 64 6f 6e 20 53 2e |.NET (Br|andon S.|
|00000240| 20 41 6c 6c 62 65 72 79 | 20 2d 20 63 6f 6d 70 2e | Allbery| - comp.|
|00000250| 73 6f 75 72 63 65 73 2e | 6d 69 73 63 29 0a 0a 50 |sources.|misc)..P|
|00000260| 6f 73 74 69 6e 67 2d 6e | 75 6d 62 65 72 3a 20 56 |osting-n|umber: V|
|00000270| 6f 6c 75 6d 65 20 38 2c | 20 49 73 73 75 65 20 39 |olume 8,| Issue 9|
|00000280| 35 0a 53 75 62 6d 69 74 | 74 65 64 2d 62 79 3a 20 |5.Submit|ted-by: |
|00000290| 6a 67 72 65 65 6c 79 40 | 63 69 73 2e 6f 68 69 6f |jgreely@|cis.ohio|
|000002a0| 2d 73 74 61 74 65 2e 65 | 64 75 20 28 4a 20 47 72 |-state.e|du (J Gr|
|000002b0| 65 65 6c 79 29 0a 41 72 | 63 68 69 76 65 2d 6e 61 |eely).Ar|chive-na|
|000002c0| 6d 65 3a 20 75 70 0a 0a | 54 68 69 73 20 70 61 63 |me: up..|This pac|
|000002d0| 6b 61 67 65 20 61 6c 6c | 6f 77 73 20 79 6f 75 20 |kage all|ows you |
|000002e0| 74 6f 20 70 72 69 6e 74 | 20 63 6f 6e 66 6f 72 6d |to print| conform|
|000002f0| 69 6e 67 20 50 53 20 66 | 69 6c 65 73 20 6e 2d 75 |ing PS f|iles n-u|
|00000300| 70 2c 20 77 69 74 68 20 | 74 68 65 0a 73 63 61 6c |p, with |the.scal|
|00000310| 69 6e 67 2c 20 72 6f 74 | 61 74 69 6f 6e 2c 20 61 |ing, rot|ation, a|
|00000320| 6e 64 20 70 61 67 65 20 | 70 6f 73 69 74 69 6f 6e |nd page |position|
|00000330| 69 6e 67 20 63 6f 64 65 | 20 6b 65 70 74 20 69 6e |ing code| kept in|
|00000340| 20 61 20 72 65 61 64 61 | 62 6c 65 0a 63 6f 6e 66 | a reada|ble.conf|
|00000350| 69 67 75 72 61 74 69 6f | 6e 20 66 69 6c 65 2e 20 |iguratio|n file. |
|00000360| 20 49 74 20 69 6e 63 6c | 75 64 65 73 20 61 20 75 | It incl|udes a u|
|00000370| 74 69 6c 69 74 79 20 74 | 6f 20 63 72 65 61 74 65 |tility t|o create|
|00000380| 20 6e 75 6d 62 65 72 65 | 64 20 74 65 73 74 0a 70 | numbere|d test.p|
|00000390| 61 67 65 73 2c 20 61 73 | 20 77 65 6c 6c 20 61 73 |ages, as| well as|
|000003a0| 20 6f 6e 65 20 74 68 61 | 74 20 72 65 61 72 72 61 | one tha|t rearra|
|000003b0| 6e 67 65 73 20 74 68 65 | 20 70 61 67 65 73 20 69 |nges the| pages i|
|000003c0| 6e 20 61 20 50 6f 73 74 | 53 63 72 69 70 74 20 66 |n a Post|Script f|
|000003d0| 69 6c 65 0a 69 6e 74 6f | 20 73 69 67 6e 61 74 75 |ile.into| signatu|
|000003e0| 72 65 20 6f 72 64 65 72 | 2c 20 66 6f 72 20 70 72 |re order|, for pr|
|000003f0| 6f 64 75 63 69 6e 67 20 | 74 77 6f 2d 75 70 2c 20 |oducing |two-up, |
|00000400| 64 6f 75 62 6c 65 2d 73 | 69 64 65 64 20 62 6f 6f |double-s|ided boo|
|00000410| 6b 6c 65 74 73 2e 0a 54 | 68 65 20 73 63 72 69 70 |klets..T|he scrip|
|00000420| 74 73 20 61 72 65 20 77 | 72 69 74 74 65 6e 20 69 |ts are w|ritten i|
|00000430| 6e 20 50 65 72 6c 2c 20 | 61 6e 64 20 72 65 71 75 |n Perl, |and requ|
|00000440| 69 72 65 20 74 68 61 74 | 20 76 65 72 73 69 6f 6e |ire that| version|
|00000450| 20 33 2e 30 20 62 65 0a | 61 76 61 69 6c 61 62 6c | 3.0 be.|availabl|
|00000460| 65 2e 20 20 49 66 20 79 | 6f 75 20 64 6f 6e 27 74 |e. If y|ou don't|
|00000470| 20 68 61 76 65 20 50 65 | 72 6c 2c 20 68 6f 77 2d | have Pe|rl, how-|
|00000480| 74 6f 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 73 20 |to instr|uctions |
|00000490| 61 72 65 20 70 72 6f 76 | 69 64 65 64 0a 66 6f 72 |are prov|ided.for|
|000004a0| 20 63 6f 6e 76 65 72 74 | 69 6e 67 20 74 6f 20 61 | convert|ing to a|
|000004b0| 6e 6f 74 68 65 72 20 6c | 61 6e 67 75 61 67 65 2e |nother l|anguage.|
|000004c0| 20 20 49 74 20 69 73 20 | 6b 6e 6f 77 6e 20 74 6f | It is |known to|
|000004d0| 20 77 6f 72 6b 20 6f 6e | 20 74 68 65 20 6f 75 74 | work on| the out|
|000004e0| 70 75 74 0a 6f 66 20 65 | 6e 73 63 72 69 70 74 2c |put.of e|nscript,|
|000004f0| 20 70 73 63 61 74 2c 20 | 70 73 64 69 74 20 28 61 | pscat, |psdit (a|
|00000500| 6c 6c 20 66 72 6f 6d 20 | 74 68 65 20 41 64 6f 62 |ll from |the Adob|
|00000510| 65 20 54 72 61 6e 53 63 | 72 69 70 74 20 70 61 63 |e TranSc|ript pac|
|00000520| 6b 61 67 65 29 2c 20 74 | 68 65 0a 41 64 6f 62 65 |kage), t|he.Adobe|
|00000530| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 20 73 | documen|tation s|
|00000540| 75 70 70 6c 69 65 64 20 | 77 69 74 68 20 4e 65 58 |upplied |with NeX|
|00000550| 54 20 72 65 6c 65 61 73 | 65 20 31 2e 30 2c 20 61 |T releas|e 1.0, a|
|00000560| 6e 64 20 61 62 73 6f 6c | 75 74 65 6c 79 0a 2a 6e |nd absol|utely.*n|
|00000570| 6f 2a 20 64 76 69 2d 74 | 6f 2d 50 53 20 63 6f 6e |o* dvi-t|o-PS con|
|00000580| 76 65 72 74 65 72 20 28 | 64 76 69 70 73 20 34 2e |verter (|dvips 4.|
|00000590| 32 20 73 65 65 6d 73 20 | 74 68 65 20 6d 6f 73 74 |2 seems |the most|
|000005a0| 20 70 72 6f 6d 69 73 69 | 6e 67 2c 20 61 6e 64 20 | promisi|ng, and |
|000005b0| 49 27 6d 0a 77 6f 72 6b | 69 6e 67 20 6f 6e 20 61 |I'm.work|ing on a|
|000005c0| 70 70 72 6f 70 72 69 61 | 74 65 20 68 61 63 6b 73 |ppropria|te hacks|
|000005d0| 29 2e 0a 0a 23 21 20 2f | 62 69 6e 2f 73 68 0a 23 |)...#! /|bin/sh.#|
|000005e0| 20 54 68 69 73 20 69 73 | 20 61 20 73 68 65 6c 6c | This is| a shell|
|000005f0| 20 61 72 63 68 69 76 65 | 2e 20 20 52 65 6d 6f 76 | archive|. Remov|
|00000600| 65 20 61 6e 79 74 68 69 | 6e 67 20 62 65 66 6f 72 |e anythi|ng befor|
|00000610| 65 20 74 68 69 73 20 6c | 69 6e 65 2c 20 74 68 65 |e this l|ine, the|
|00000620| 6e 20 75 6e 70 61 63 6b | 0a 23 20 69 74 20 62 79 |n unpack|.# it by|
|00000630| 20 73 61 76 69 6e 67 20 | 69 74 20 69 6e 74 6f 20 | saving |it into |
|00000640| 61 20 66 69 6c 65 20 61 | 6e 64 20 74 79 70 69 6e |a file a|nd typin|
|00000650| 67 20 22 73 68 20 66 69 | 6c 65 22 2e 20 20 54 6f |g "sh fi|le". To|
|00000660| 20 6f 76 65 72 77 72 69 | 74 65 20 65 78 69 73 74 | overwri|te exist|
|00000670| 69 6e 67 0a 23 20 66 69 | 6c 65 73 2c 20 74 79 70 |ing.# fi|les, typ|
|00000680| 65 20 22 73 68 20 66 69 | 6c 65 20 2d 63 22 2e 20 |e "sh fi|le -c". |
|00000690| 20 59 6f 75 20 63 61 6e | 20 61 6c 73 6f 20 66 65 | You can| also fe|
|000006a0| 65 64 20 74 68 69 73 20 | 61 73 20 73 74 61 6e 64 |ed this |as stand|
|000006b0| 61 72 64 20 69 6e 70 75 | 74 20 76 69 61 0a 23 20 |ard inpu|t via.# |
|000006c0| 75 6e 73 68 61 72 2c 20 | 6f 72 20 62 79 20 74 79 |unshar, |or by ty|
|000006d0| 70 69 6e 67 20 22 73 68 | 20 3c 66 69 6c 65 22 2c |ping "sh| <file",|
|000006e0| 20 65 2e 67 2e 2e 20 20 | 49 66 20 74 68 69 73 20 | e.g.. |If this |
|000006f0| 61 72 63 68 69 76 65 20 | 69 73 20 63 6f 6d 70 6c |archive |is compl|
|00000700| 65 74 65 2c 20 79 6f 75 | 0a 23 20 77 69 6c 6c 20 |ete, you|.# will |
|00000710| 73 65 65 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |see the |followin|
|00000720| 67 20 6d 65 73 73 61 67 | 65 20 61 74 20 74 68 65 |g messag|e at the|
|00000730| 20 65 6e 64 3a 0a 23 09 | 09 22 45 6e 64 20 6f 66 | end:.#.|."End of|
|00000740| 20 73 68 65 6c 6c 20 61 | 72 63 68 69 76 65 2e 22 | shell a|rchive."|
|00000750| 0a 23 20 43 6f 6e 74 65 | 6e 74 73 3a 20 20 52 45 |.# Conte|nts: RE|
|00000760| 41 44 4d 45 20 48 6f 77 | 54 6f 20 4d 61 6b 65 66 |ADME How|To Makef|
|00000770| 69 6c 65 20 75 70 20 6d | 61 6b 65 75 70 20 70 61 |ile up m|akeup pa|
|00000780| 72 72 20 75 70 2e 72 63 | 20 75 70 2e 31 20 6d 61 |rr up.rc| up.1 ma|
|00000790| 6b 65 75 70 2e 31 0a 23 | 20 20 20 70 61 72 72 2e |keup.1.#| parr.|
|000007a0| 31 20 75 70 72 63 2e 35 | 0a 23 20 57 72 61 70 70 |1 uprc.5|.# Wrapp|
|000007b0| 65 64 20 62 79 20 6a 67 | 72 65 65 6c 79 40 63 69 |ed by jg|reely@ci|
|000007c0| 73 2e 6f 68 69 6f 2d 73 | 74 61 74 65 2e 65 64 75 |s.ohio-s|tate.edu|
|000007d0| 20 6f 6e 20 54 75 65 20 | 4f 63 74 20 32 34 20 31 | on Tue |Oct 24 1|
|000007e0| 35 3a 31 36 3a 32 32 20 | 31 39 38 39 0a 50 41 54 |5:16:22 |1989.PAT|
|000007f0| 48 3d 2f 62 69 6e 3a 2f | 75 73 72 2f 62 69 6e 3a |H=/bin:/|usr/bin:|
|00000800| 2f 75 73 72 2f 75 63 62 | 20 3b 20 65 78 70 6f 72 |/usr/ucb| ; expor|
|00000810| 74 20 50 41 54 48 0a 69 | 66 20 74 65 73 74 20 2d |t PATH.i|f test -|
|00000820| 66 20 27 52 45 41 44 4d | 45 27 20 2d 61 20 22 24 |f 'READM|E' -a "$|
|00000830| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00000840| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00000850| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|00000860| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|00000870| 20 5c 22 27 52 45 41 44 | 4d 45 27 5c 22 0a 65 6c | \"'READ|ME'\".el|
|00000880| 73 65 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |se.echo |shar: Ex|
|00000890| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 52 45 41 44 |tracting| \"'READ|
|000008a0| 4d 45 27 5c 22 20 5c 28 | 33 32 38 36 20 63 68 61 |ME'\" \(|3286 cha|
|000008b0| 72 61 63 74 65 72 73 5c | 29 0a 73 65 64 20 22 73 |racters\|).sed "s|
|000008c0| 2f 5e 58 2f 2f 22 20 3e | 27 52 45 41 44 4d 45 27 |/^X//" >|'README'|
|000008d0| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|000008e0| 0a 58 09 09 20 20 20 20 | 55 70 2c 20 61 20 50 6f |.X.. |Up, a Po|
|000008f0| 73 74 53 63 72 69 70 74 | 20 70 72 69 6e 74 20 75 |stScript| print u|
|00000900| 74 69 6c 69 74 79 0a 58 | 09 20 20 20 20 68 61 63 |tility.X|. hac|
|00000910| 6b 65 64 20 74 6f 67 65 | 74 68 65 72 20 77 69 74 |ked toge|ther wit|
|00000920| 68 20 61 20 74 77 6f 2d | 62 79 2d 66 6f 75 72 20 |h a two-|by-four |
|00000930| 62 79 20 4a 20 47 72 65 | 65 6c 79 0a 58 09 09 20 |by J Gre|ely.X.. |
|00000940| 20 20 20 20 28 6a 67 72 | 65 65 6c 79 40 63 69 73 | (jgr|eely@cis|
|00000950| 2e 6f 68 69 6f 2d 73 74 | 61 74 65 2e 65 64 75 29 |.ohio-st|ate.edu)|
|00000960| 0a 58 0a 58 0a 58 54 68 | 69 73 20 70 61 63 6b 61 |.X.X.XTh|is packa|
|00000970| 67 65 20 61 6c 6c 6f 77 | 73 20 79 6f 75 20 74 6f |ge allow|s you to|
|00000980| 20 70 72 69 6e 74 20 63 | 6f 6e 66 6f 72 6d 69 6e | print c|onformin|
|00000990| 67 20 50 53 20 66 69 6c | 65 73 20 6e 2d 75 70 2c |g PS fil|es n-up,|
|000009a0| 20 77 69 74 68 20 74 68 | 65 0a 58 73 63 61 6c 69 | with th|e.Xscali|
|000009b0| 6e 67 2c 20 72 6f 74 61 | 74 69 6f 6e 2c 20 61 6e |ng, rota|tion, an|
|000009c0| 64 20 70 61 67 65 20 70 | 6f 73 69 74 69 6f 6e 69 |d page p|ositioni|
|000009d0| 6e 67 20 63 6f 64 65 20 | 6b 65 70 74 20 69 6e 20 |ng code |kept in |
|000009e0| 61 20 72 65 61 64 61 62 | 6c 65 0a 58 63 6f 6e 66 |a readab|le.Xconf|
|000009f0| 69 67 75 72 61 74 69 6f | 6e 20 66 69 6c 65 2e 20 |iguratio|n file. |
|00000a00| 20 49 74 20 68 61 73 20 | 73 75 63 63 65 73 73 66 | It has |successf|
|00000a10| 75 6c 6c 79 20 62 65 65 | 6e 20 75 73 65 64 20 6f |ully bee|n used o|
|00000a20| 6e 20 74 68 65 20 6f 75 | 74 70 75 74 20 6f 66 0a |n the ou|tput of.|
|00000a30| 58 70 74 72 6f 66 66 2c | 20 65 6e 73 63 72 69 70 |Xptroff,| enscrip|
|00000a40| 74 2c 20 70 73 64 69 74 | 20 28 61 6c 6c 20 66 72 |t, psdit| (all fr|
|00000a50| 6f 6d 20 41 64 6f 62 65 | 27 73 20 54 72 61 6e 53 |om Adobe|'s TranS|
|00000a60| 63 72 69 70 74 20 70 61 | 63 6b 61 67 65 29 2c 20 |cript pa|ckage), |
|00000a70| 61 6e 64 20 74 68 65 0a | 58 41 64 6f 62 65 20 64 |and the.|XAdobe d|
|00000a80| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 73 75 70 |ocumenta|tion sup|
|00000a90| 70 6c 69 65 64 20 77 69 | 74 68 20 4e 65 58 54 20 |plied wi|th NeXT |
|00000aa0| 72 65 6c 65 61 73 65 20 | 31 2e 30 2c 20 61 6e 64 |release |1.0, and|
|00000ab0| 20 73 68 6f 75 6c 64 20 | 77 6f 72 6b 20 6f 6e 0a | should |work on.|
|00000ac0| 58 61 6e 79 20 66 69 6c | 65 20 74 68 61 74 20 6f |Xany fil|e that o|
|00000ad0| 62 65 79 73 20 74 68 65 | 20 72 75 6c 65 73 20 74 |beys the| rules t|
|00000ae0| 68 65 20 77 61 79 20 49 | 20 61 73 73 75 6d 65 20 |he way I| assume |
|00000af0| 28 6e 6f 74 65 3a 20 69 | 74 20 64 6f 65 73 20 6e |(note: i|t does n|
|00000b00| 6f 74 0a 58 63 75 72 72 | 65 6e 74 6c 79 20 77 6f |ot.Xcurr|ently wo|
|00000b10| 72 6b 20 77 69 74 68 20 | 61 6e 79 20 6b 6e 6f 77 |rk with |any know|
|00000b20| 6e 20 64 76 69 2d 74 6f | 2d 50 53 20 63 6f 6e 76 |n dvi-to|-PS conv|
|00000b30| 65 72 74 65 72 3b 20 49 | 27 6d 20 6d 61 6b 69 6e |erter; I|'m makin|
|00000b40| 67 20 73 6f 6d 65 0a 58 | 63 68 61 6e 67 65 73 20 |g some.X|changes |
|00000b50| 74 6f 20 6d 61 6b 65 20 | 69 74 20 77 6f 72 6b 20 |to make |it work |
|00000b60| 77 69 74 68 20 64 76 69 | 70 73 20 34 2e 32 20 28 |with dvi|ps 4.2 (|
|00000b70| 61 76 61 69 6c 61 62 6c | 65 20 66 6f 72 20 61 6e |availabl|e for an|
|00000b80| 6f 6e 79 6d 6f 75 73 20 | 66 74 70 20 61 74 0a 58 |onymous |ftp at.X|
|00000b90| 6c 61 62 72 65 61 2e 73 | 74 61 6e 66 6f 72 64 2e |labrea.s|tanford.|
|00000ba0| 65 64 75 29 2c 20 62 75 | 74 20 74 68 65 79 27 72 |edu), bu|t they'r|
|00000bb0| 65 20 6e 6f 74 20 64 6f | 6e 65 20 79 65 74 29 2e |e not do|ne yet).|
|00000bc0| 20 20 54 68 65 20 6d 61 | 6a 6f 72 20 66 65 61 74 | The ma|jor feat|
|00000bd0| 75 72 65 20 69 73 0a 58 | 74 68 65 20 61 62 69 6c |ure is.X|the abil|
|00000be0| 69 74 79 20 74 6f 20 63 | 72 65 61 74 65 20 79 6f |ity to c|reate yo|
|00000bf0| 75 72 20 6f 77 6e 20 6c | 61 79 6f 75 74 73 2c 20 |ur own l|ayouts, |
|00000c00| 77 69 74 68 20 61 72 62 | 69 74 72 61 72 79 20 73 |with arb|itrary s|
|00000c10| 63 61 6c 69 6e 67 2c 0a | 58 74 72 61 6e 73 6c 61 |caling,.|Xtransla|
|00000c20| 74 69 6f 6e 73 2c 20 61 | 6e 64 20 72 6f 74 61 74 |tions, a|nd rotat|
|00000c30| 69 6f 6e 73 2e 20 20 54 | 68 65 20 6f 75 74 70 75 |ions. T|he outpu|
|00000c40| 74 20 63 61 6e 20 62 65 | 20 66 65 64 20 62 61 63 |t can be| fed bac|
|00000c50| 6b 20 74 68 72 6f 75 67 | 68 2c 20 66 6f 72 0a 58 |k throug|h, for.X|
|00000c60| 66 75 72 74 68 65 72 20 | 72 65 64 75 63 74 69 6f |further |reductio|
|00000c70| 6e 2f 64 65 73 74 72 75 | 63 74 69 6f 6e 2e 0a 58 |n/destru|ction..X|
|00000c80| 0a 58 20 20 57 61 72 6e | 69 6e 67 3a 20 69 66 20 |.X Warn|ing: if |
|00000c90| 79 6f 75 20 64 6f 6e 27 | 74 20 68 61 76 65 20 4c |you don'|t have L|
|00000ca0| 61 72 72 79 20 57 61 6c | 6c 27 73 20 50 65 72 6c |arry Wal|l's Perl|
|00000cb0| 20 6c 61 6e 67 75 61 67 | 65 20 69 6e 73 74 61 6c | languag|e instal|
|00000cc0| 6c 65 64 2c 0a 58 74 68 | 69 73 20 75 74 69 6c 69 |led,.Xth|is utili|
|00000cd0| 74 79 20 77 69 6c 6c 20 | 62 65 20 75 73 65 6c 65 |ty will |be usele|
|00000ce0| 73 73 20 74 6f 20 79 6f | 75 2e 20 20 49 74 27 73 |ss to yo|u. It's|
|00000cf0| 20 6e 6f 74 20 68 61 72 | 64 20 28 6f 6b 2c 20 74 | not har|d (ok, t|
|00000d00| 72 69 76 69 61 6c 29 20 | 74 6f 0a 58 63 6f 6e 76 |rivial) |to.Xconv|
|00000d10| 65 72 74 20 69 74 20 74 | 6f 20 4e 61 77 6b 20 6f |ert it t|o Nawk o|
|00000d20| 72 20 43 2c 20 61 6e 64 | 20 49 27 6c 6c 20 70 72 |r C, and| I'll pr|
|00000d30| 6f 62 61 62 6c 79 20 67 | 65 74 20 61 72 6f 75 6e |obably g|et aroun|
|00000d40| 64 20 74 6f 20 69 74 20 | 73 6f 6f 6e 2c 20 62 75 |d to it |soon, bu|
|00000d50| 74 0a 58 66 6f 72 20 6e | 6f 77 20 79 6f 75 20 6e |t.Xfor n|ow you n|
|00000d60| 65 65 64 20 50 65 72 6c | 20 28 76 65 72 73 69 6f |eed Perl| (versio|
|00000d70| 6e 20 33 2e 30 29 2e 20 | 20 44 65 62 61 74 65 73 |n 3.0). | Debates|
|00000d80| 20 6f 6e 20 74 68 65 20 | 6d 65 72 69 74 73 20 6f | on the |merits o|
|00000d90| 66 20 50 65 72 6c 20 61 | 73 0a 58 61 20 70 72 6f |f Perl a|s.Xa pro|
|00000da0| 67 72 61 6d 6d 69 6e 67 | 20 6c 61 6e 67 75 61 67 |gramming| languag|
|00000db0| 65 20 61 72 65 20 64 69 | 73 63 6f 75 72 61 67 65 |e are di|scourage|
|00000dc0| 64 20 62 79 20 74 68 65 | 20 61 75 74 68 6f 72 2e |d by the| author.|
|00000dd0| 20 20 49 66 20 50 65 72 | 6c 20 69 73 20 6e 6f 74 | If Per|l is not|
|00000de0| 0a 58 6c 6f 63 61 74 65 | 64 20 69 6e 20 2f 75 73 |.Xlocate|d in /us|
|00000df0| 72 2f 62 69 6e 2c 20 79 | 6f 75 27 6c 6c 20 6e 65 |r/bin, y|ou'll ne|
|00000e00| 65 64 20 74 6f 20 63 68 | 61 6e 67 65 20 74 68 65 |ed to ch|ange the|
|00000e10| 20 66 69 72 73 74 20 6c | 69 6e 65 20 6f 66 20 65 | first l|ine of e|
|00000e20| 61 63 68 0a 58 65 78 65 | 63 75 74 61 62 6c 65 2e |ach.Xexe|cutable.|
|00000e30| 0a 58 0a 58 20 20 54 6f | 20 75 73 65 2c 20 75 6e |.X.X To| use, un|
|00000e40| 70 61 63 6b 20 74 68 65 | 20 73 68 61 72 20 66 69 |pack the| shar fi|
|00000e50| 6c 65 20 73 6f 6d 65 77 | 68 65 72 65 2c 20 65 64 |le somew|here, ed|
|00000e60| 69 74 20 74 68 65 20 74 | 6f 70 20 6f 66 20 4d 61 |it the t|op of Ma|
|00000e70| 6b 65 66 69 6c 65 20 74 | 6f 0a 58 69 6e 64 69 63 |kefile t|o.Xindic|
|00000e80| 61 74 65 20 77 68 65 72 | 65 20 74 68 69 6e 67 73 |ate wher|e things|
|00000e90| 20 73 68 6f 75 6c 64 20 | 67 6f 2c 20 61 6e 64 20 | should |go, and |
|00000ea0| 74 79 70 65 20 22 6d 61 | 6b 65 20 69 6e 73 74 61 |type "ma|ke insta|
|00000eb0| 6c 6c 22 2e 20 49 74 20 | 77 69 6c 6c 0a 58 69 6e |ll". It |will.Xin|
|00000ec0| 73 74 61 6c 6c 20 73 65 | 76 65 72 61 6c 20 73 79 |stall se|veral sy|
|00000ed0| 6d 6c 69 6e 6b 73 20 74 | 6f 20 74 68 65 20 73 63 |mlinks t|o the sc|
|00000ee0| 72 69 70 74 2c 20 61 73 | 20 77 65 6c 6c 20 61 73 |ript, as| well as|
|00000ef0| 20 61 20 67 65 6e 65 72 | 61 6c 0a 58 63 6f 6e 66 | a gener|al.Xconf|
|00000f00| 69 67 75 72 61 74 69 6f | 6e 20 66 69 6c 65 2c 20 |iguratio|n file, |
|00000f10| 77 68 69 63 68 20 63 61 | 6e 20 62 65 20 6f 76 65 |which ca|n be ove|
|00000f20| 72 72 69 64 64 65 6e 20 | 62 79 20 74 68 65 20 75 |rridden |by the u|
|00000f30| 73 65 72 2e 0a 58 0a 58 | 20 20 43 75 72 72 65 6e |ser..X.X| Curren|
|00000f40| 74 6c 79 2c 20 69 74 20 | 69 6e 73 74 61 6c 6c 73 |tly, it |installs|
|00000f50| 20 6c 69 6e 6b 73 20 74 | 6f 20 70 72 69 6e 74 20 | links t|o print |
|00000f60| 32 2c 20 34 2c 20 36 2c | 20 61 6e 64 20 31 36 20 |2, 4, 6,| and 16 |
|00000f70| 70 61 67 65 73 20 70 65 | 72 0a 58 73 68 65 65 74 |pages pe|r.Xsheet|
|00000f80| 2c 20 61 6e 64 20 74 68 | 65 20 73 75 70 70 6c 69 |, and th|e suppli|
|00000f90| 65 64 20 63 6f 6e 66 69 | 67 75 72 61 74 69 6f 6e |ed confi|guration|
|00000fa0| 20 66 69 6c 65 20 68 61 | 73 20 73 61 6d 70 6c 65 | file ha|s sample|
|00000fb0| 20 6c 61 79 6f 75 74 73 | 20 66 6f 72 0a 58 64 6f | layouts| for.Xdo|
|00000fc0| 69 6e 67 20 28 61 6d 6f | 6e 67 20 6f 74 68 65 72 |ing (amo|ng other|
|00000fd0| 73 29 20 38 2d 75 70 2c | 20 34 2d 75 70 20 69 6e |s) 8-up,| 4-up in|
|00000fe0| 20 67 72 65 65 74 69 6e | 67 2d 63 61 72 64 20 70 | greetin|g-card p|
|00000ff0| 6f 73 69 74 69 6f 6e 73 | 2c 20 31 30 2d 75 70 20 |ositions|, 10-up |
|00001000| 69 6e 20 61 0a 58 73 68 | 72 69 6e 6b 69 6e 67 20 |in a.Xsh|rinking |
|00001010| 73 70 69 72 61 6c 2c 20 | 61 6e 64 20 6d 6f 72 65 |spiral, |and more|
|00001020| 2e 20 20 34 75 70 20 61 | 6e 64 20 31 36 75 70 20 |. 4up a|nd 16up |
|00001030| 73 69 6d 70 6c 79 20 73 | 63 61 6c 65 20 74 68 65 |simply s|cale the|
|00001040| 20 70 61 67 65 20 62 79 | 20 2e 35 0a 58 61 6e 64 | page by| .5.Xand|
|00001050| 20 2e 32 35 2c 20 72 65 | 73 70 65 63 74 69 76 65 | .25, re|spective|
|00001060| 6c 79 20 28 77 68 69 74 | 65 20 6c 69 65 3b 20 72 |ly (whit|e lie; r|
|00001070| 65 61 64 20 6d 79 20 65 | 78 63 75 73 65 20 69 6e |ead my e|xcuse in|
|00001080| 20 74 68 65 20 63 6f 6e | 66 69 67 20 66 69 6c 65 | the con|fig file|
|00001090| 29 2e 0a 58 32 75 70 20 | 61 6e 64 20 36 75 70 20 |)..X2up |and 6up |
|000010a0| 61 72 65 20 72 6f 74 61 | 74 65 64 2c 20 61 6e 64 |are rota|ted, and|
|000010b0| 20 74 68 65 20 70 61 67 | 65 20 70 6f 73 69 74 69 | the pag|e positi|
|000010c0| 6f 6e 69 6e 67 20 69 73 | 20 67 69 76 65 6e 20 62 |oning is| given b|
|000010d0| 65 6c 6f 77 3a 0a 58 0a | 58 09 09 20 20 20 20 2b |elow:.X.|X.. +|
|000010e0| 2d 2d 2d 2d 2d 2b 2d 2d | 2d 2d 2d 2b 20 20 20 2b |-----+--|---+ +|
|000010f0| 2d 2d 2d 2b 2d 2d 2d 2b | 2d 2d 2d 2b 0a 58 20 20 |---+---+|---+.X |
|00001100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001110| 20 20 7c 20 20 20 20 20 | 7c 20 20 20 20 20 7c 20 | | || | |
|00001120| 20 20 7c 20 31 20 7c 20 | 32 20 7c 20 33 20 7c 0a | | 1 | |2 | 3 |.|
|00001130| 58 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |X | |
|00001140| 20 20 20 20 20 7c 20 20 | 31 20 20 7c 20 20 32 20 | | |1 | 2 |
|00001150| 20 7c 20 20 20 2b 2d 2d | 2d 2b 2d 2d 2d 2b 2d 2d | | +--|-+---+--|
|00001160| 2d 2b 0a 58 20 20 20 20 | 20 20 20 20 20 20 20 20 |-+.X | |
|00001170| 20 20 20 20 20 20 20 20 | 7c 20 20 20 20 20 7c 20 | || | |
|00001180| 20 20 20 20 7c 20 20 20 | 7c 20 34 20 7c 20 35 20 | | || 4 | 5 |
|00001190| 7c 20 36 20 7c 0a 58 20 | 20 20 20 20 20 20 20 20 || 6 |.X | |
|000011a0| 20 20 20 20 20 20 20 20 | 20 20 20 2b 2d 2d 2d 2d | | +----|
|000011b0| 2d 2b 2d 2d 2d 2d 2d 2b | 20 20 20 2b 2d 2d 2d 2b |-+-----+| +---+|
|000011c0| 2d 2d 2d 2b 2d 2d 2d 2b | 0a 58 0a 58 0a 58 20 20 |---+---+|.X.X.X |
|000011d0| 4e 6f 74 65 20 74 6f 20 | 4e 65 58 54 20 75 73 65 |Note to |NeXT use|
|000011e0| 72 73 3a 20 62 6f 74 68 | 20 50 72 65 76 69 65 77 |rs: both| Preview|
|000011f0| 20 61 6e 64 20 59 61 70 | 20 63 61 6e 20 62 65 20 | and Yap| can be |
|00001200| 75 73 65 64 20 74 6f 20 | 70 72 65 76 69 65 77 0a |used to |preview.|
|00001210| 58 6f 75 74 70 75 74 20 | 75 6e 64 65 72 20 72 65 |Xoutput |under re|
|00001220| 6c 65 61 73 65 20 31 2e | 30 2e 20 20 50 72 65 76 |lease 1.|0. Prev|
|00001230| 69 6f 75 73 20 76 65 72 | 73 69 6f 6e 73 20 77 6f |ious ver|sions wo|
|00001240| 75 6c 64 6e 27 74 20 77 | 6f 72 6b 20 71 75 69 74 |uldn't w|ork quit|
|00001250| 65 0a 58 72 69 67 68 74 | 2e 0a 58 0a 58 20 20 4e |e.Xright|..X.X N|
|00001260| 6f 74 65 20 74 6f 20 70 | 65 6f 70 6c 65 20 69 6e |ote to p|eople in|
|00001270| 20 67 65 6e 65 72 61 6c | 3a 20 61 66 74 65 72 20 | general|: after |
|00001280| 49 20 66 69 6e 69 73 68 | 65 64 20 77 72 69 74 69 |I finish|ed writi|
|00001290| 6e 67 20 74 68 69 73 2c | 20 73 6f 6d 65 6f 6e 65 |ng this,| someone|
|000012a0| 0a 58 74 6f 6c 64 20 6d | 65 20 6f 66 20 61 74 20 |.Xtold m|e of at |
|000012b0| 6c 65 61 73 74 20 6f 6e | 65 20 6f 74 68 65 72 20 |least on|e other |
|000012c0| 6e 2d 75 70 20 75 74 69 | 6c 69 74 79 2e 20 20 54 |n-up uti|lity. T|
|000012d0| 68 65 20 6f 6e 65 20 49 | 27 76 65 20 73 65 65 6e |he one I|'ve seen|
|000012e0| 20 77 6f 72 6b 73 0a 58 | 62 79 20 77 68 61 74 20 | works.X|by what |
|000012f0| 6d 69 67 68 74 20 62 65 | 20 63 61 6c 6c 65 64 20 |might be| called |
|00001300| 65 6c 65 67 61 6e 74 20 | 50 6f 73 74 53 63 72 69 |elegant |PostScri|
|00001310| 70 74 20 68 61 63 6b 69 | 6e 67 2c 20 62 75 74 20 |pt hacki|ng, but |
|00001320| 49 20 74 68 69 6e 6b 20 | 6d 69 6e 65 0a 58 73 6f |I think |mine.Xso|
|00001330| 6c 76 65 73 20 61 20 64 | 69 66 66 65 72 65 6e 74 |lves a d|ifferent|
|00001340| 20 70 72 6f 62 6c 65 6d | 2e 0a 58 0a 58 20 20 42 | problem|..X.X B|
|00001350| 75 67 73 2c 20 73 75 67 | 67 65 73 74 69 6f 6e 73 |ugs, sug|gestions|
|00001360| 2c 20 6f 66 66 65 72 73 | 20 6f 66 20 6d 6f 6e 65 |, offers| of mone|
|00001370| 79 20 61 6e 64 20 73 61 | 63 72 69 66 69 63 65 73 |y and sa|crifices|
|00001380| 2c 20 61 6e 64 20 61 6e | 79 74 68 69 6e 67 0a 58 |, and an|ything.X|
|00001390| 69 6e 74 65 72 65 73 74 | 69 6e 67 20 64 6f 6e 65 |interest|ing done|
|000013a0| 20 77 69 74 68 20 74 68 | 69 73 20 70 61 63 6b 61 | with th|is packa|
|000013b0| 67 65 20 77 69 6c 6c 20 | 62 65 20 63 68 65 65 72 |ge will |be cheer|
|000013c0| 66 75 6c 6c 79 20 61 63 | 63 65 70 74 65 64 2e 0a |fully ac|cepted..|
|000013d0| 58 44 65 73 70 69 74 65 | 20 72 75 6d 6f 72 73 20 |XDespite| rumors |
|000013e0| 74 6f 20 74 68 65 20 63 | 6f 6e 74 72 61 72 79 2c |to the c|ontrary,|
|000013f0| 20 49 20 61 6d 20 2a 6e | 6f 74 2a 20 61 20 62 6c | I am *n|ot* a bl|
|00001400| 61 63 6b 20 68 6f 6c 65 | 20 66 6f 72 20 65 2d 6d |ack hole| for e-m|
|00001410| 61 69 6c 2e 0a 58 0a 58 | 0a 58 41 64 64 69 74 69 |ail..X.X|.XAdditi|
|00001420| 6f 6e 61 6c 20 75 74 69 | 6c 69 74 69 65 73 20 73 |onal uti|lities s|
|00001430| 75 70 70 6c 69 65 64 3a | 0a 58 0a 58 70 61 72 72 |upplied:|.X.Xparr|
|00001440| 09 2d 20 50 61 67 65 20 | 41 52 52 61 6e 67 65 72 |.- Page |ARRanger|
|00001450| 2e 20 20 46 6f 72 20 61 | 72 62 69 74 72 61 72 79 |. For a|rbitrary|
|00001460| 20 72 65 6f 72 64 65 72 | 69 6e 67 20 6f 66 20 70 | reorder|ing of p|
|00001470| 61 67 65 73 20 69 6e 20 | 61 0a 58 09 20 20 63 6f |ages in |a.X. co|
|00001480| 6e 66 6f 72 6d 69 6e 67 | 20 50 53 20 66 69 6c 65 |nforming| PS file|
|00001490| 2e 20 20 53 77 69 74 63 | 68 65 73 20 61 72 65 20 |. Switc|hes are |
|000014a0| 70 72 6f 76 69 64 65 64 | 20 74 6f 20 61 75 74 6f |provided| to auto|
|000014b0| 6d 61 74 69 63 61 6c 6c | 79 0a 58 09 20 20 64 6f |maticall|y.X. do|
|000014c0| 20 73 69 67 6e 61 74 75 | 72 65 2d 6f 72 64 65 72 | signatu|re-order|
|000014d0| 20 70 72 69 6e 74 69 6e | 67 20 66 6f 72 20 74 77 | printin|g for tw|
|000014e0| 6f 2d 75 70 2c 20 6c 65 | 66 74 2d 74 6f 2d 72 69 |o-up, le|ft-to-ri|
|000014f0| 67 68 74 0a 58 09 20 20 | 6c 61 79 6f 75 74 73 20 |ght.X. |layouts |
|00001500| 28 22 75 70 20 2d 6e 20 | 70 75 70 22 29 2e 20 20 |("up -n |pup"). |
|00001510| 50 61 67 65 73 20 63 61 | 6e 20 62 65 20 70 72 69 |Pages ca|n be pri|
|00001520| 6e 74 65 64 20 6d 6f 72 | 65 20 74 68 61 6e 20 6f |nted mor|e than o|
|00001530| 6e 63 65 0a 58 09 20 20 | 6f 72 20 6e 6f 74 20 61 |nce.X. |or not a|
|00001540| 74 20 61 6c 6c 2c 20 61 | 6e 64 20 62 6c 61 6e 6b |t all, a|nd blank|
|00001550| 20 70 61 67 65 73 20 6d | 61 79 20 62 65 20 69 6e | pages m|ay be in|
|00001560| 73 65 72 74 65 64 20 61 | 6e 79 77 68 65 72 65 2e |serted a|nywhere.|
|00001570| 0a 58 0a 58 6d 61 6b 65 | 75 70 09 2d 20 67 65 6e |.X.Xmake|up.- gen|
|00001580| 65 72 61 74 65 73 20 6e | 75 6d 62 65 72 65 64 20 |erates n|umbered |
|00001590| 74 65 73 74 20 70 61 67 | 65 73 2c 20 66 6f 72 20 |test pag|es, for |
|000015a0| 64 65 62 75 67 67 69 6e | 67 20 6e 65 77 20 6c 61 |debuggin|g new la|
|000015b0| 79 6f 75 74 73 0a 58 0a | 58 2d 2d 0a 58 4a 20 47 |youts.X.|X--.XJ G|
|000015c0| 72 65 65 6c 79 20 28 6a | 67 72 65 65 6c 79 40 63 |reely (j|greely@c|
|000015d0| 69 73 2e 6f 68 69 6f 2d | 73 74 61 74 65 2e 65 64 |is.ohio-|state.ed|
|000015e0| 75 3b 20 6f 73 75 2d 63 | 69 73 21 6a 67 72 65 65 |u; osu-c|is!jgree|
|000015f0| 6c 79 29 2c 20 38 39 2f | 31 30 2f 32 33 0a 45 4e |ly), 89/|10/23.EN|
|00001600| 44 5f 4f 46 5f 46 49 4c | 45 0a 69 66 20 74 65 73 |D_OF_FIL|E.if tes|
|00001610| 74 20 33 32 38 36 20 2d | 6e 65 20 60 77 63 20 2d |t 3286 -|ne `wc -|
|00001620| 63 20 3c 27 52 45 41 44 | 4d 45 27 60 3b 20 74 68 |c <'READ|ME'`; th|
|00001630| 65 6e 0a 20 20 20 20 65 | 63 68 6f 20 73 68 61 72 |en. e|cho shar|
|00001640| 3a 20 5c 22 27 52 45 41 | 44 4d 45 27 5c 22 20 75 |: \"'REA|DME'\" u|
|00001650| 6e 70 61 63 6b 65 64 20 | 77 69 74 68 20 77 72 6f |npacked |with wro|
|00001660| 6e 67 20 73 69 7a 65 21 | 0a 66 69 0a 23 20 65 6e |ng size!|.fi.# en|
|00001670| 64 20 6f 66 20 27 52 45 | 41 44 4d 45 27 0a 66 69 |d of 'RE|ADME'.fi|
|00001680| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 48 6f 77 |.if test| -f 'How|
|00001690| 54 6f 27 20 2d 61 20 22 | 24 7b 31 7d 22 20 21 3d |To' -a "|${1}" !=|
|000016a0| 20 22 2d 63 22 20 3b 20 | 74 68 65 6e 20 0a 20 20 | "-c" ; |then . |
|000016b0| 65 63 68 6f 20 73 68 61 | 72 3a 20 57 69 6c 6c 20 |echo sha|r: Will |
|000016c0| 6e 6f 74 20 63 6c 6f 62 | 62 65 72 20 65 78 69 73 |not clob|ber exis|
|000016d0| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 27 48 6f 77 |ting fil|e \"'How|
|000016e0| 54 6f 27 5c 22 0a 65 6c | 73 65 0a 65 63 68 6f 20 |To'\".el|se.echo |
|000016f0| 73 68 61 72 3a 20 45 78 | 74 72 61 63 74 69 6e 67 |shar: Ex|tracting|
|00001700| 20 5c 22 27 48 6f 77 54 | 6f 27 5c 22 20 5c 28 35 | \"'HowT|o'\" \(5|
|00001710| 37 37 36 20 63 68 61 72 | 61 63 74 65 72 73 5c 29 |776 char|acters\)|
|00001720| 0a 73 65 64 20 22 73 2f | 5e 58 2f 2f 22 20 3e 27 |.sed "s/|^X//" >'|
|00001730| 48 6f 77 54 6f 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |HowTo' <|<'END_OF|
|00001740| 5f 46 49 4c 45 27 0a 58 | 51 75 69 63 6b 20 73 75 |_FILE'.X|Quick su|
|00001750| 6d 6d 61 72 79 20 6f 66 | 20 77 68 61 74 20 74 68 |mmary of| what th|
|00001760| 69 73 20 70 61 63 6b 61 | 67 65 20 64 6f 65 73 2c |is packa|ge does,|
|00001770| 20 61 6e 64 20 68 6f 77 | 20 74 6f 20 64 75 70 6c | and how| to dupl|
|00001780| 69 63 61 74 65 20 69 74 | 73 0a 58 65 66 66 65 63 |icate it|s.Xeffec|
|00001790| 74 73 20 69 66 20 79 6f | 75 20 64 6f 6e 27 74 20 |ts if yo|u don't |
|000017a0| 6c 69 6b 65 20 6d 79 20 | 63 6f 64 65 2e 0a 58 0a |like my |code..X.|
|000017b0| 58 41 20 63 6f 6e 66 6f | 72 6d 69 6e 67 20 50 6f |XA confo|rming Po|
|000017c0| 73 74 53 63 72 69 70 74 | 20 66 69 6c 65 2c 20 66 |stScript| file, f|
|000017d0| 6f 72 20 6d 79 20 70 75 | 72 70 6f 73 65 73 2c 20 |or my pu|rposes, |
|000017e0| 69 73 20 61 6e 79 74 68 | 69 6e 67 20 74 68 61 74 |is anyth|ing that|
|000017f0| 20 6d 65 65 74 73 0a 58 | 61 6c 6c 20 6f 66 20 74 | meets.X|all of t|
|00001800| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 72 65 71 |he follo|wing req|
|00001810| 75 69 72 65 6d 65 6e 74 | 73 3a 0a 58 0a 58 31 29 |uirement|s:.X.X1)|
|00001820| 20 66 69 72 73 74 20 6c | 69 6e 65 20 6d 75 73 74 | first l|ine must|
|00001830| 20 62 65 67 69 6e 20 77 | 69 74 68 20 74 68 65 20 | begin w|ith the |
|00001840| 73 74 72 69 6e 67 20 27 | 25 21 50 53 2d 41 64 6f |string '|%!PS-Ado|
|00001850| 62 65 27 2e 0a 58 32 29 | 20 45 61 63 68 20 70 61 |be'..X2)| Each pa|
|00001860| 67 65 20 6d 75 73 74 20 | 62 65 67 69 6e 20 77 69 |ge must |begin wi|
|00001870| 74 68 20 61 20 27 25 25 | 50 61 67 65 3a 27 20 6c |th a '%%|Page:' l|
|00001880| 69 6e 65 2c 20 61 6e 64 | 20 74 68 65 20 67 72 61 |ine, and| the gra|
|00001890| 70 68 69 63 73 20 73 74 | 61 74 65 0a 58 20 20 20 |phics st|ate.X |
|000018a0| 6d 75 73 74 20 62 65 20 | 74 68 65 20 64 65 66 61 |must be |the defa|
|000018b0| 75 6c 74 20 61 74 20 74 | 68 61 74 20 70 6f 69 6e |ult at t|hat poin|
|000018c0| 74 20 28 6e 6f 20 74 72 | 61 6e 73 6c 61 74 69 6f |t (no tr|anslatio|
|000018d0| 6e 2c 20 73 63 61 6c 69 | 6e 67 2c 20 6f 72 0a 58 |n, scali|ng, or.X|
|000018e0| 20 20 20 72 6f 74 61 74 | 69 6f 6e 20 6f 66 20 74 | rotat|ion of t|
|000018f0| 68 65 20 63 6f 6f 72 64 | 69 6e 61 74 65 20 73 70 |he coord|inate sp|
|00001900| 61 63 65 20 63 61 6e 20 | 63 61 72 72 79 20 6f 76 |ace can |carry ov|
|00001910| 65 72 20 62 65 74 77 65 | 65 6e 20 70 61 67 65 73 |er betwe|en pages|
|00001920| 29 2e 0a 58 20 20 20 54 | 68 65 20 70 61 67 65 73 |)..X T|he pages|
|00001930| 20 6d 75 73 74 20 62 65 | 20 6e 75 6d 62 65 72 65 | must be| numbere|
|00001940| 64 20 73 74 61 72 74 69 | 6e 67 20 61 74 20 31 2c |d starti|ng at 1,|
|00001950| 20 77 68 69 63 68 20 69 | 73 20 61 20 62 69 74 20 | which i|s a bit |
|00001960| 70 65 64 61 6e 74 69 63 | 0a 58 20 20 20 6f 66 20 |pedantic|.X of |
|00001970| 6d 65 2e 20 20 49 74 27 | 73 20 70 61 72 74 20 6f |me. It'|s part o|
|00001980| 66 20 74 68 65 20 73 70 | 65 63 2c 20 62 75 74 20 |f the sp|ec, but |
|00001990| 69 74 20 69 73 20 62 79 | 20 6e 6f 20 6d 65 61 6e |it is by| no mean|
|000019a0| 73 20 6e 65 63 65 73 73 | 61 72 79 20 66 6f 72 0a |s necess|ary for.|
|000019b0| 58 20 20 20 74 68 65 20 | 63 6f 64 65 20 74 6f 20 |X the |code to |
|000019c0| 77 6f 72 6b 2e 20 20 49 | 74 27 73 20 61 20 6f 6e |work. I|t's a on|
|000019d0| 65 2d 6c 69 6e 65 20 63 | 68 65 63 6b 2c 20 61 6e |e-line c|heck, an|
|000019e0| 64 20 49 27 6d 20 74 68 | 69 6e 6b 69 6e 67 20 6f |d I'm th|inking o|
|000019f0| 66 20 6a 75 73 74 0a 58 | 20 20 20 73 63 72 61 70 |f just.X| scrap|
|00001a00| 70 69 6e 67 20 69 74 2e | 0a 58 33 29 20 54 68 65 |ping it.|.X3) The|
|00001a10| 72 65 20 6d 75 73 74 20 | 62 65 20 61 20 27 25 25 |re must |be a '%%|
|00001a20| 54 72 61 69 6c 65 72 27 | 20 6c 69 6e 65 2e 0a 58 |Trailer'| line..X|
|00001a30| 0a 58 0a 58 41 73 20 66 | 6f 72 20 77 68 61 74 20 |.X.XAs f|or what |
|00001a40| 49 20 2a 64 6f 2a 20 77 | 69 74 68 20 61 6c 6c 20 |I *do* w|ith all |
|00001a50| 74 68 69 73 2c 20 69 74 | 27 73 20 73 69 6d 70 6c |this, it|'s simpl|
|00001a60| 65 3a 0a 58 0a 58 31 29 | 20 57 68 65 6e 20 49 20 |e:.X.X1)| When I |
|00001a70| 73 65 65 20 74 68 65 20 | 27 25 21 50 53 2d 41 64 |see the |'%!PS-Ad|
|00001a80| 6f 62 65 27 20 6c 69 6e | 65 2c 20 49 20 69 6e 73 |obe' lin|e, I ins|
|00001a90| 65 72 74 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |ert the |followin|
|00001aa0| 67 20 6c 69 6e 65 73 0a | 58 20 20 20 28 69 67 6e |g lines.|X (ign|
|00001ab0| 6f 72 69 6e 67 20 74 68 | 65 20 6f 6c 64 20 27 25 |oring th|e old '%|
|00001ac0| 21 50 53 27 20 6c 69 6e | 65 29 3a 0a 58 09 25 21 |!PS' lin|e):.X.%!|
|00001ad0| 50 53 2d 41 64 6f 62 65 | 2d 32 2e 30 0a 58 09 25 |PS-Adobe|-2.0.X.%|
|00001ae0| 25 50 61 67 65 73 3a 20 | 28 61 74 65 6e 64 29 0a |%Pages: |(atend).|
|00001af0| 58 20 20 20 50 61 67 65 | 20 63 6f 75 6e 74 73 20 |X Page| counts |
|00001b00| 69 6e 20 74 68 65 20 68 | 65 61 64 65 72 20 61 72 |in the h|eader ar|
|00001b10| 65 20 66 69 72 73 74 2d | 63 6f 6d 65 73 2c 20 66 |e first-|comes, f|
|00001b20| 69 72 73 74 2d 73 65 72 | 76 65 64 2c 20 73 6f 20 |irst-ser|ved, so |
|00001b30| 70 75 74 74 69 6e 67 0a | 58 20 20 20 6d 69 6e 65 |putting.|X mine|
|00001b40| 20 61 74 20 74 68 65 20 | 76 65 72 79 20 74 6f 70 | at the |very top|
|00001b50| 20 77 69 6c 6c 20 6f 76 | 65 72 72 69 64 65 20 61 | will ov|erride a|
|00001b60| 6e 79 74 68 69 6e 67 20 | 74 68 61 74 20 77 61 73 |nything |that was|
|00001b70| 20 69 6e 20 74 68 65 0a | 58 20 20 20 6f 72 69 67 | in the.|X orig|
|00001b80| 69 6e 61 6c 20 66 69 6c | 65 20 28 61 6e 64 20 73 |inal fil|e (and s|
|00001b90| 69 6e 63 65 20 74 68 65 | 20 77 68 6f 6c 65 20 69 |ince the| whole i|
|00001ba0| 64 65 61 20 69 73 20 74 | 6f 20 63 68 61 6e 67 65 |dea is t|o change|
|00001bb0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 0a 58 | the num|ber of.X|
|00001bc0| 20 20 20 70 61 67 65 73 | 2c 20 74 68 69 73 20 69 | pages|, this i|
|00001bd0| 73 20 27 61 20 67 6f 6f | 64 20 74 68 69 6e 67 27 |s 'a goo|d thing'|
|00001be0| 29 2e 20 20 53 69 6e 63 | 65 20 49 20 64 6f 20 65 |). Sinc|e I do e|
|00001bf0| 76 65 72 79 74 68 69 6e | 67 20 69 6e 20 6f 6e 65 |verythin|g in one|
|00001c00| 20 70 61 73 73 2c 0a 58 | 20 20 20 49 20 68 61 76 | pass,.X| I hav|
|00001c10| 65 20 6e 6f 20 69 64 65 | 61 20 68 6f 77 20 6d 61 |e no ide|a how ma|
|00001c20| 6e 79 20 70 61 67 65 73 | 20 74 68 65 72 65 20 77 |ny pages| there w|
|00001c30| 69 6c 6c 20 62 65 2c 20 | 73 6f 20 49 20 64 65 66 |ill be, |so I def|
|00001c40| 65 72 20 69 74 20 75 6e | 74 69 6c 0a 58 20 20 20 |er it un|til.X |
|00001c50| 74 68 65 20 65 6e 64 2e | 0a 58 32 29 20 57 68 65 |the end.|.X2) Whe|
|00001c60| 6e 20 49 20 72 65 61 63 | 68 20 74 68 65 20 65 6e |n I reac|h the en|
|00001c70| 64 20 6f 66 20 74 68 65 | 20 68 65 61 64 65 72 20 |d of the| header |
|00001c80| 63 6f 6d 6d 65 6e 74 73 | 20 28 73 69 67 6e 69 66 |comments| (signif|
|00001c90| 69 65 64 20 62 79 20 74 | 68 65 20 66 69 72 73 74 |ied by t|he first|
|00001ca0| 0a 58 20 20 20 6e 6f 6e | 2d 25 25 20 6c 69 6e 65 |.X non|-%% line|
|00001cb0| 20 6f 72 20 61 6e 20 65 | 78 70 6c 69 63 69 74 20 | or an e|xplicit |
|00001cc0| 25 25 45 6e 64 43 6f 6d | 6d 65 6e 74 73 20 6c 69 |%%EndCom|ments li|
|00001cd0| 6e 65 29 2c 20 49 20 69 | 6e 73 65 72 74 20 74 68 |ne), I i|nsert th|
|00001ce0| 65 0a 58 20 20 20 75 73 | 65 72 2d 64 65 66 69 6e |e.X us|er-defin|
|00001cf0| 65 64 20 70 72 6f 6c 6f | 67 20 64 65 66 69 6e 69 |ed prolo|g defini|
|00001d00| 74 69 6f 6e 73 20 69 6e | 74 6f 20 74 68 65 69 72 |tions in|to their|
|00001d10| 20 6f 77 6e 20 64 69 63 | 74 69 6f 6e 61 72 79 2e | own dic|tionary.|
|00001d20| 20 20 54 6f 0a 58 20 20 | 20 73 69 6d 70 6c 69 66 | To.X | simplif|
|00001d30| 79 20 6e 65 73 74 69 6e | 67 2c 20 49 20 75 73 65 |y nestin|g, I use|
|00001d40| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 50 49 44 | the cur|rent PID|
|00001d50| 20 61 73 20 70 61 72 74 | 20 6f 66 20 74 68 65 20 | as part| of the |
|00001d60| 64 69 63 74 69 6f 6e 61 | 72 79 0a 58 20 20 20 6e |dictiona|ry.X n|
|00001d70| 61 6d 65 2e 20 20 49 20 | 73 61 76 65 20 74 68 65 |ame. I |save the|
|00001d80| 20 6f 6c 64 20 76 61 6c | 75 65 20 6f 66 20 73 68 | old val|ue of sh|
|00001d90| 6f 77 70 61 67 65 20 68 | 65 72 65 2c 20 61 6e 64 |owpage h|ere, and|
|00001da0| 20 72 65 64 65 66 69 6e | 65 20 69 74 20 74 6f 0a | redefin|e it to.|
|00001db0| 58 20 20 20 70 72 69 6e | 74 20 6e 6f 74 68 69 6e |X prin|t nothin|
|00001dc0| 67 2e 20 20 49 74 20 6c | 6f 6f 6b 73 20 6c 69 6b |g. It l|ooks lik|
|00001dd0| 65 20 74 68 69 73 20 28 | 6d 6f 64 75 6c 6f 20 69 |e this (|modulo i|
|00001de0| 6e 74 65 72 70 72 65 74 | 61 74 69 6f 6e 20 6f 66 |nterpret|ation of|
|00001df0| 0a 58 20 20 20 76 61 72 | 69 61 62 6c 65 73 20 6d |.X var|iables m|
|00001e00| 61 72 6b 65 64 20 62 79 | 20 3c 3e 29 3a 0a 58 09 |arked by| <>):.X.|
|00001e10| 25 25 42 65 67 69 6e 50 | 72 6f 63 53 65 74 3a 20 |%%BeginP|rocSet: |
|00001e20| 75 70 5f 70 72 6f 6c 6f | 67 20 31 20 3c 70 69 64 |up_prolo|g 1 <pid|
|00001e30| 3e 0a 58 09 2f 55 70 44 | 69 63 74 3c 70 69 64 3e |>.X./UpD|ict<pid>|
|00001e40| 20 24 70 6c 69 6e 65 73 | 20 33 20 61 64 64 20 64 | $plines| 3 add d|
|00001e50| 69 63 74 20 64 65 66 0a | 58 09 55 70 44 69 63 74 |ict def.|X.UpDict|
|00001e60| 3c 70 69 64 3e 20 62 65 | 67 69 6e 0a 58 09 3c 75 |<pid> be|gin.X.<u|
|00001e70| 73 65 72 20 70 72 6f 6c | 6f 67 3e 0a 58 09 2f 55 |ser prol|og>.X./U|
|00001e80| 70 53 68 6f 77 70 61 67 | 65 20 7b 73 68 6f 77 70 |pShowpag|e {showp|
|00001e90| 61 67 65 7d 20 62 69 6e | 64 20 64 65 66 0a 58 09 |age} bin|d def.X.|
|00001ea0| 2f 55 70 53 74 61 74 65 | 20 7b 7d 20 64 65 66 0a |/UpState| {} def.|
|00001eb0| 58 09 65 6e 64 0a 58 09 | 2f 73 68 6f 77 70 61 67 |X.end.X.|/showpag|
|00001ec0| 65 20 7b 7d 20 64 65 66 | 0a 58 09 25 25 45 6e 64 |e {} def|.X.%%End|
|00001ed0| 50 72 6f 63 53 65 74 3a | 20 75 70 5f 70 72 6f 6c |ProcSet:| up_prol|
|00001ee0| 6f 67 20 31 20 3c 70 69 | 64 3e 0a 58 33 29 20 46 |og 1 <pi|d>.X3) F|
|00001ef0| 6f 72 20 65 76 65 72 79 | 20 27 25 25 50 61 67 65 |or every| '%%Page|
|00001f00| 3a 27 20 6c 69 6e 65 2c | 20 49 20 66 69 72 73 74 |:' line,| I first|
|00001f10| 20 64 65 6c 65 74 65 20 | 69 74 2c 20 61 6e 64 20 | delete |it, and |
|00001f20| 74 68 65 6e 2c 20 69 66 | 20 69 74 20 69 73 20 74 |then, if| it is t|
|00001f30| 68 65 0a 58 20 20 20 66 | 69 72 73 74 20 70 61 67 |he.X f|irst pag|
|00001f40| 65 20 6f 6e 20 61 20 73 | 68 65 65 74 2c 20 49 20 |e on a s|heet, I |
|00001f50| 73 61 76 65 20 74 68 65 | 20 63 75 72 72 65 6e 74 |save the| current|
|00001f60| 20 56 4d 20 73 74 61 74 | 65 2c 20 61 6e 64 20 69 | VM stat|e, and i|
|00001f70| 6e 73 65 72 74 20 74 68 | 65 0a 58 20 20 20 75 73 |nsert th|e.X us|
|00001f80| 65 72 2d 73 70 65 63 69 | 66 69 65 64 20 73 63 61 |er-speci|fied sca|
|00001f90| 6c 69 6e 67 2c 20 72 6f | 74 61 74 69 6f 6e 2c 20 |ling, ro|tation, |
|00001fa0| 61 6e 64 20 74 72 61 6e | 73 6c 61 74 69 6f 6e 20 |and tran|slation |
|00001fb0| 63 6f 6d 6d 61 6e 64 73 | 2e 20 20 49 74 0a 58 20 |commands|. It.X |
|00001fc0| 20 20 6c 6f 6f 6b 73 20 | 6c 69 6b 65 20 74 68 69 | looks |like thi|
|00001fd0| 73 20 28 6d 6f 64 75 6c | 6f 20 74 68 65 20 69 6e |s (modul|o the in|
|00001fe0| 74 65 72 70 6f 6c 61 74 | 69 6f 6e 20 6f 66 20 74 |terpolat|ion of t|
|00001ff0| 68 65 20 76 61 72 69 61 | 62 6c 65 73 20 6d 61 72 |he varia|bles mar|
|00002000| 6b 65 64 0a 58 20 20 20 | 62 79 20 3c 3e 29 3a 0a |ked.X |by <>):.|
|00002010| 58 09 25 25 50 61 67 65 | 3a 20 3f 20 3c 73 68 65 |X.%%Page|: ? <she|
|00002020| 65 74 20 6e 75 6d 62 65 | 72 3e 0a 58 09 55 70 44 |et numbe|r>.X.UpD|
|00002030| 69 63 74 3c 70 69 64 3e | 20 62 65 67 69 6e 0a 58 |ict<pid>| begin.X|
|00002040| 09 73 61 76 65 20 2f 55 | 70 53 74 61 74 65 20 65 |.save /U|pState e|
|00002050| 78 63 68 20 64 65 66 0a | 58 09 3c 65 76 65 6e 2f |xch def.|X.<even/|
|00002060| 6f 64 64 3e 0a 58 09 3c | 73 63 61 6c 65 2c 20 74 |odd>.X.<|scale, t|
|00002070| 72 61 6e 73 6c 61 74 65 | 2c 20 72 6f 74 61 74 65 |ranslate|, rotate|
|00002080| 3e 0a 58 09 3c 70 61 67 | 65 20 70 6f 73 69 74 69 |>.X.<pag|e positi|
|00002090| 6f 6e 69 6e 67 3e 0a 58 | 09 65 6e 64 0a 58 20 20 |oning>.X|.end.X |
|000020a0| 20 46 6f 72 20 70 61 67 | 65 73 20 74 68 61 74 20 | For pag|es that |
|000020b0| 64 6f 6e 27 74 20 73 74 | 61 72 74 20 61 20 73 68 |don't st|art a sh|
|000020c0| 65 65 74 2c 20 49 20 6a | 75 73 74 20 69 6e 73 65 |eet, I j|ust inse|
|000020d0| 72 74 3a 0a 58 09 55 70 | 44 69 63 74 3c 70 69 64 |rt:.X.Up|Dict<pid|
|000020e0| 3e 20 62 65 67 69 6e 0a | 58 09 3c 70 61 67 65 20 |> begin.|X.<page |
|000020f0| 70 6f 73 69 74 69 6f 6e | 69 6e 67 3e 0a 58 09 65 |position|ing>.X.e|
|00002100| 6e 64 0a 58 35 29 20 41 | 74 20 74 68 65 20 65 6e |nd.X5) A|t the en|
|00002110| 64 20 6f 66 20 65 76 65 | 72 79 20 73 68 65 65 74 |d of eve|ry sheet|
|00002120| 2c 20 49 20 72 65 73 74 | 6f 72 65 20 74 68 65 20 |, I rest|ore the |
|00002130| 56 4d 20 73 74 61 74 65 | 2c 20 61 6e 64 20 70 65 |VM state|, and pe|
|00002140| 72 66 6f 72 6d 20 61 0a | 58 20 20 20 72 65 61 6c |rform a.|X real|
|00002150| 20 73 68 6f 77 70 61 67 | 65 2c 20 6c 69 6b 65 20 | showpag|e, like |
|00002160| 73 6f 3a 0a 58 09 55 70 | 44 69 63 74 3c 70 69 64 |so:.X.Up|Dict<pid|
|00002170| 3e 20 62 65 67 69 6e 20 | 55 70 53 74 61 74 65 20 |> begin |UpState |
|00002180| 72 65 73 74 6f 72 65 20 | 55 70 53 68 6f 77 70 61 |restore |UpShowpa|
|00002190| 67 65 20 65 6e 64 0a 58 | 36 29 20 57 68 65 6e 20 |ge end.X|6) When |
|000021a0| 49 20 73 65 65 20 74 68 | 65 20 27 25 25 54 72 61 |I see th|e '%%Tra|
|000021b0| 69 6c 65 72 27 20 6c 69 | 6e 65 2c 20 49 20 72 65 |iler' li|ne, I re|
|000021c0| 70 6c 61 63 65 20 69 74 | 20 77 69 74 68 3a 0a 58 |place it| with:.X|
|000021d0| 09 55 70 44 69 63 74 3c | 70 69 64 3e 20 62 65 67 |.UpDict<|pid> beg|
|000021e0| 69 6e 20 55 70 53 74 61 | 74 65 20 72 65 73 74 6f |in UpSta|te resto|
|000021f0| 72 65 20 55 70 53 68 6f | 77 70 61 67 65 20 65 6e |re UpSho|wpage en|
|00002200| 64 0a 58 09 25 25 54 72 | 61 69 6c 65 72 0a 58 20 |d.X.%%Tr|ailer.X |
|00002210| 20 20 59 6f 75 20 6d 69 | 67 68 74 20 73 75 73 70 | You mi|ght susp|
|00002220| 65 63 74 20 74 68 61 74 | 20 74 68 69 73 20 63 61 |ect that| this ca|
|00002230| 75 73 65 73 20 61 6e 20 | 65 72 72 6f 72 2c 20 6f |uses an |error, o|
|00002240| 72 20 74 68 65 20 70 72 | 69 6e 74 69 6e 67 20 6f |r the pr|inting o|
|00002250| 66 20 61 0a 58 20 20 20 | 62 6c 61 6e 6b 20 70 61 |f a.X |blank pa|
|00002260| 67 65 2c 20 61 6e 64 20 | 69 66 20 65 76 65 72 79 |ge, and |if every|
|00002270| 74 68 69 6e 67 20 49 20 | 73 61 69 64 20 61 62 6f |thing I |said abo|
|00002280| 76 65 20 77 65 72 65 20 | 74 72 75 65 2c 20 79 6f |ve were |true, yo|
|00002290| 75 27 64 20 62 65 0a 58 | 20 20 20 72 69 67 68 74 |u'd be.X| right|
|000022a0| 2e 20 20 54 68 65 20 63 | 61 74 63 68 20 69 73 20 |. The c|atch is |
|000022b0| 74 68 61 74 20 23 35 20 | 69 73 20 61 20 6c 69 65 |that #5 |is a lie|
|000022c0| 2e 20 20 49 20 64 65 74 | 65 63 74 20 74 68 65 20 |. I det|ect the |
|000022d0| 65 6e 64 20 6f 66 20 61 | 20 73 68 65 65 74 0a 58 |end of a| sheet.X|
|000022e0| 20 20 20 62 79 20 66 69 | 6e 64 69 6e 67 20 6d 79 | by fi|nding my|
|000022f0| 73 65 6c 66 20 61 74 20 | 74 68 65 20 62 65 67 69 |self at |the begi|
|00002300| 6e 6e 69 6e 67 20 6f 66 | 20 61 20 6e 65 77 20 6f |nning of| a new o|
|00002310| 6e 65 2c 20 73 6f 20 74 | 68 65 20 6c 61 73 74 20 |ne, so t|he last |
|00002320| 73 68 65 65 74 0a 58 20 | 20 20 6e 65 76 65 72 20 |sheet.X | never |
|00002330| 67 65 74 73 20 70 72 69 | 6e 74 65 64 2c 20 75 6e |gets pri|nted, un|
|00002340| 6c 65 73 73 20 69 74 27 | 73 20 64 6f 6e 65 20 6a |less it'|s done j|
|00002350| 75 73 74 20 62 65 66 6f | 72 65 20 74 68 65 20 74 |ust befo|re the t|
|00002360| 72 61 69 6c 65 72 2e 0a | 58 37 29 20 54 68 65 20 |railer..|X7) The |
|00002370| 6c 61 73 74 20 62 69 74 | 20 69 73 20 73 69 6d 70 |last bit| is simp|
|00002380| 6c 65 2e 20 20 41 66 74 | 65 72 20 74 68 65 20 76 |le. Aft|er the v|
|00002390| 65 72 79 20 6c 61 73 74 | 20 6c 69 6e 65 20 6f 66 |ery last| line of|
|000023a0| 20 74 68 65 20 69 6e 70 | 75 74 20 69 73 0a 58 20 | the inp|ut is.X |
|000023b0| 20 20 70 72 69 6e 74 65 | 64 2c 20 74 68 65 20 61 | printe|d, the a|
|000023c0| 63 74 75 61 6c 20 73 68 | 65 65 74 20 63 6f 75 6e |ctual sh|eet coun|
|000023d0| 74 20 69 73 20 61 64 64 | 65 64 2e 20 20 54 68 69 |t is add|ed. Thi|
|000023e0| 73 20 68 61 73 20 74 6f | 20 62 65 20 74 68 69 73 |s has to| be this|
|000023f0| 20 77 61 79 2c 0a 58 20 | 20 20 73 69 6e 63 65 20 | way,.X | since |
|00002400| 74 68 65 20 2a 6c 61 73 | 74 2a 20 69 6e 20 61 20 |the *las|t* in a |
|00002410| 73 65 72 69 65 73 20 6f | 66 20 74 72 61 69 6c 65 |series o|f traile|
|00002420| 72 20 63 6f 6d 6d 65 6e | 74 73 20 69 73 20 74 68 |r commen|ts is th|
|00002430| 65 20 6f 6e 65 20 68 65 | 65 64 65 64 2e 0a 58 20 |e one he|eded..X |
|00002440| 20 20 49 74 20 6c 6f 6f | 6b 73 20 6c 69 6b 65 20 | It loo|ks like |
|00002450| 74 68 69 73 3a 0a 58 09 | 25 25 50 61 67 65 73 3a |this:.X.|%%Pages:|
|00002460| 20 3c 73 68 65 65 74 20 | 63 6f 75 6e 74 3e 0a 58 | <sheet |count>.X|
|00002470| 0a 58 0a 58 49 66 20 74 | 68 69 73 20 69 73 6e 27 |.X.XIf t|his isn'|
|00002480| 74 20 65 6e 74 69 72 65 | 6c 79 20 63 6c 65 61 72 |t entire|ly clear|
|00002490| 2c 20 68 65 72 65 27 73 | 20 61 20 62 65 66 6f 72 |, here's| a befor|
|000024a0| 65 2f 61 66 74 65 72 2e | 0a 58 0a 58 2d 2d 2d 2d |e/after.|.X.X----|
|000024b0| 2d 2d 2d 2d 2d 2d 0a 58 | 43 6f 6e 66 6f 72 6d 69 |------.X|Conformi|
|000024c0| 6e 67 20 50 53 20 66 69 | 6c 65 2c 20 77 68 69 63 |ng PS fi|le, whic|
|000024d0| 68 20 70 72 69 6e 74 73 | 20 34 20 6e 75 6d 62 65 |h prints| 4 numbe|
|000024e0| 72 65 64 20 70 61 67 65 | 73 20 28 6f 75 74 70 75 |red page|s (outpu|
|000024f0| 74 20 6f 66 20 22 6d 61 | 6b 65 75 70 20 34 22 29 |t of "ma|keup 4")|
|00002500| 3a 0a 58 0a 58 25 21 50 | 53 2d 41 64 6f 62 65 2d |:.X.X%!P|S-Adobe-|
|00002510| 31 2e 30 0a 58 25 25 43 | 72 65 61 74 6f 72 3a 20 |1.0.X%%C|reator: |
|00002520| 6d 61 6b 65 75 70 0a 58 | 25 25 54 69 74 6c 65 3a |makeup.X|%%Title:|
|00002530| 20 50 61 67 65 20 4c 61 | 79 6f 75 74 20 54 65 73 | Page La|yout Tes|
|00002540| 74 0a 58 25 25 43 72 65 | 61 74 69 6f 6e 44 61 74 |t.X%%Cre|ationDat|
|00002550| 65 3a 20 54 75 65 20 4f | 63 74 20 32 34 20 30 32 |e: Tue O|ct 24 02|
|00002560| 3a 33 33 3a 33 36 20 45 | 44 54 20 31 39 38 39 0a |:33:36 E|DT 1989.|
|00002570| 58 25 25 50 61 67 65 73 | 3a 20 28 61 74 65 6e 64 |X%%Pages|: (atend|
|00002580| 29 0a 58 25 25 44 6f 63 | 75 6d 65 6e 74 46 6f 6e |).X%%Doc|umentFon|
|00002590| 74 73 3a 20 54 69 6d 65 | 73 2d 52 6f 6d 61 6e 0a |ts: Time|s-Roman.|
|000025a0| 58 25 25 42 6f 75 6e 64 | 69 6e 67 42 6f 78 3a 20 |X%%Bound|ingBox: |
|000025b0| 30 20 30 20 36 31 32 20 | 37 39 32 0a 58 25 25 45 |0 0 612 |792.X%%E|
|000025c0| 6e 64 43 6f 6d 6d 65 6e | 74 73 0a 58 2f 69 6e 63 |ndCommen|ts.X/inc|
|000025d0| 68 20 7b 37 32 20 6d 75 | 6c 7d 20 64 65 66 0a 58 |h {72 mu|l} def.X|
|000025e0| 2f 4e 66 6f 6e 74 20 2f | 54 69 6d 65 73 2d 52 6f |/Nfont /|Times-Ro|
|000025f0| 6d 61 6e 20 66 69 6e 64 | 66 6f 6e 74 20 35 20 69 |man find|font 5 i|
|00002600| 6e 63 68 20 73 63 61 6c | 65 66 6f 6e 74 20 64 65 |nch scal|efont de|
|00002610| 66 0a 58 2f 64 72 61 77 | 70 61 67 65 20 7b 0a 58 |f.X/draw|page {.X|
|00002620| 09 32 20 73 65 74 6c 69 | 6e 65 63 61 70 20 33 20 |.2 setli|necap 3 |
|00002630| 73 65 74 6c 69 6e 65 77 | 69 64 74 68 20 30 20 73 |setlinew|idth 0 s|
|00002640| 65 74 67 72 61 79 0a 58 | 09 4e 66 6f 6e 74 20 73 |etgray.X|.Nfont s|
|00002650| 65 74 66 6f 6e 74 0a 58 | 09 64 75 70 20 73 74 72 |etfont.X|.dup str|
|00002660| 69 6e 67 77 69 64 74 68 | 0a 58 09 31 31 20 69 6e |ingwidth|.X.11 in|
|00002670| 63 68 20 65 78 63 68 20 | 73 75 62 20 32 20 64 69 |ch exch |sub 2 di|
|00002680| 76 0a 58 09 65 78 63 68 | 20 38 2e 35 20 69 6e 63 |v.X.exch| 8.5 inc|
|00002690| 68 20 65 78 63 68 20 73 | 75 62 20 32 20 64 69 76 |h exch s|ub 2 div|
|000026a0| 0a 58 09 65 78 63 68 20 | 6d 6f 76 65 74 6f 20 73 |.X.exch |moveto s|
|000026b0| 68 6f 77 0a 58 09 30 2e | 32 35 20 69 6e 63 68 20 |how.X.0.|25 inch |
|000026c0| 64 75 70 20 6d 6f 76 65 | 74 6f 0a 58 09 38 20 69 |dup move|to.X.8 i|
|000026d0| 6e 63 68 20 30 20 72 6c | 69 6e 65 74 6f 0a 58 09 |nch 0 rl|ineto.X.|
|000026e0| 30 20 31 30 2e 35 20 69 | 6e 63 68 20 72 6c 69 6e |0 10.5 i|nch rlin|
|000026f0| 65 74 6f 0a 58 09 2d 38 | 20 69 6e 63 68 20 30 20 |eto.X.-8| inch 0 |
|00002700| 72 6c 69 6e 65 74 6f 0a | 58 09 30 20 2d 31 30 2e |rlineto.|X.0 -10.|
|00002710| 35 20 69 6e 63 68 20 72 | 6c 69 6e 65 74 6f 0a 58 |5 inch r|lineto.X|
|00002720| 09 63 6c 6f 73 65 70 61 | 74 68 20 73 74 72 6f 6b |.closepa|th strok|
|00002730| 65 0a 58 09 73 68 6f 77 | 70 61 67 65 0a 58 7d 20 |e.X.show|page.X} |
|00002740| 64 65 66 0a 58 25 25 45 | 6e 64 50 72 6f 6c 6f 67 |def.X%%E|ndProlog|
|00002750| 0a 58 25 25 50 61 67 65 | 3a 20 3f 20 31 0a 58 28 |.X%%Page|: ? 1.X(|
|00002760| 31 29 20 64 72 61 77 70 | 61 67 65 0a 58 25 25 50 |1) drawp|age.X%%P|
|00002770| 61 67 65 3a 20 3f 20 32 | 0a 58 28 32 29 20 64 72 |age: ? 2|.X(2) dr|
|00002780| 61 77 70 61 67 65 0a 58 | 25 25 50 61 67 65 3a 20 |awpage.X|%%Page: |
|00002790| 3f 20 33 0a 58 28 33 29 | 20 64 72 61 77 70 61 67 |? 3.X(3)| drawpag|
|000027a0| 65 0a 58 25 25 50 61 67 | 65 3a 20 3f 20 34 0a 58 |e.X%%Pag|e: ? 4.X|
|000027b0| 28 34 29 20 64 72 61 77 | 70 61 67 65 0a 58 25 25 |(4) draw|page.X%%|
|000027c0| 54 72 61 69 6c 65 72 0a | 58 25 25 50 61 67 65 73 |Trailer.|X%%Pages|
|000027d0| 3a 20 34 0a 58 0a 58 2d | 2d 2d 2d 2d 2d 2d 2d 2d |: 4.X.X-|--------|
|000027e0| 2d 0a 58 50 72 65 76 69 | 6f 75 73 20 66 69 6c 65 |-.XPrevi|ous file|
|000027f0| 2c 20 66 69 6c 74 65 72 | 65 64 20 74 6f 20 70 72 |, filter|ed to pr|
|00002800| 69 6e 74 20 74 77 6f 20 | 70 61 67 65 73 20 70 65 |int two |pages pe|
|00002810| 72 20 73 68 65 65 74 20 | 28 22 75 70 20 2d 6e 20 |r sheet |("up -n |
|00002820| 32 75 70 22 29 3a 0a 58 | 0a 58 25 21 50 53 2d 41 |2up"):.X|.X%!PS-A|
|00002830| 64 6f 62 65 2d 32 2e 30 | 0a 58 25 25 50 61 67 65 |dobe-2.0|.X%%Page|
|00002840| 73 3a 20 28 61 74 65 6e | 64 29 0a 58 25 25 43 72 |s: (aten|d).X%%Cr|
|00002850| 65 61 74 6f 72 3a 20 6d | 61 6b 65 75 70 0a 58 25 |eator: m|akeup.X%|
|00002860| 25 54 69 74 6c 65 3a 20 | 50 61 67 65 20 4c 61 79 |%Title: |Page Lay|
|00002870| 6f 75 74 20 54 65 73 74 | 0a 58 25 25 43 72 65 61 |out Test|.X%%Crea|
|00002880| 74 69 6f 6e 44 61 74 65 | 3a 20 54 75 65 20 4f 63 |tionDate|: Tue Oc|
|00002890| 74 20 32 34 20 30 32 3a | 33 33 3a 33 36 20 45 44 |t 24 02:|33:36 ED|
|000028a0| 54 20 31 39 38 39 0a 58 | 25 25 50 61 67 65 73 3a |T 1989.X|%%Pages:|
|000028b0| 20 28 61 74 65 6e 64 29 | 0a 58 25 25 44 6f 63 75 | (atend)|.X%%Docu|
|000028c0| 6d 65 6e 74 46 6f 6e 74 | 73 3a 20 54 69 6d 65 73 |mentFont|s: Times|
|000028d0| 2d 52 6f 6d 61 6e 0a 58 | 25 25 42 6f 75 6e 64 69 |-Roman.X|%%Boundi|
|000028e0| 6e 67 42 6f 78 3a 20 30 | 20 30 20 36 31 32 20 37 |ngBox: 0| 0 612 7|
|000028f0| 39 32 0a 58 25 25 45 6e | 64 43 6f 6d 6d 65 6e 74 |92.X%%En|dComment|
|00002900| 73 0a 58 25 25 42 65 67 | 69 6e 50 72 6f 63 53 65 |s.X%%Beg|inProcSe|
|00002910| 74 3a 20 75 70 5f 70 72 | 6f 6c 6f 67 20 31 20 37 |t: up_pr|olog 1 7|
|00002920| 34 38 32 0a 58 2f 55 70 | 44 69 63 74 37 34 38 32 |482.X/Up|Dict7482|
|00002930| 20 32 33 20 33 20 61 64 | 64 20 64 69 63 74 20 64 | 23 3 ad|d dict d|
|00002940| 65 66 0a 58 55 70 44 69 | 63 74 37 34 38 32 20 62 |ef.XUpDi|ct7482 b|
|00002950| 65 67 69 6e 0a 58 2f 69 | 6e 63 68 20 7b 37 32 20 |egin.X/i|nch {72 |
|00002960| 6d 75 6c 7d 20 64 65 66 | 0a 58 2f 6d 6f 76 65 55 |mul} def|.X/moveU|
|00002970| 20 7b 30 20 31 31 20 69 | 6e 63 68 20 74 72 61 6e | {0 11 i|nch tran|
|00002980| 73 6c 61 74 65 7d 20 64 | 65 66 0a 58 2f 6d 6f 76 |slate} d|ef.X/mov|
|00002990| 65 52 20 7b 38 2e 35 20 | 69 6e 63 68 20 30 20 74 |eR {8.5 |inch 0 t|
|000029a0| 72 61 6e 73 6c 61 74 65 | 7d 20 64 65 66 0a 58 2f |ranslate|} def.X/|
|000029b0| 6d 6f 76 65 44 20 7b 30 | 20 2d 31 31 20 69 6e 63 |moveD {0| -11 inc|
|000029c0| 68 20 74 72 61 6e 73 6c | 61 74 65 7d 20 64 65 66 |h transl|ate} def|
|000029d0| 0a 58 2f 6d 6f 76 65 4c | 20 7b 2d 38 2e 35 20 69 |.X/moveL| {-8.5 i|
|000029e0| 6e 63 68 20 30 20 74 72 | 61 6e 73 6c 61 74 65 7d |nch 0 tr|anslate}|
|000029f0| 20 64 65 66 0a 58 2f 72 | 6f 74 52 20 7b 2d 39 30 | def.X/r|otR {-90|
|00002a00| 20 72 6f 74 61 74 65 7d | 20 64 65 66 0a 58 2f 72 | rotate}| def.X/r|
|00002a10| 6f 74 4c 20 7b 39 30 20 | 72 6f 74 61 74 65 7d 20 |otL {90 |rotate} |
|00002a20| 64 65 66 0a 58 2f 64 6f | 53 70 69 72 61 6c 20 7b |def.X/do|Spiral {|
|00002a30| 6d 6f 76 65 55 20 6d 6f | 76 65 52 20 72 6f 74 52 |moveU mo|veR rotR|
|00002a40| 20 30 2e 36 37 20 64 75 | 70 20 73 63 61 6c 65 7d | 0.67 du|p scale}|
|00002a50| 20 64 65 66 0a 58 2f 6d | 6f 76 65 48 55 20 7b 20 | def.X/m|oveHU { |
|00002a60| 30 20 35 2e 35 20 69 6e | 63 68 20 74 72 61 6e 73 |0 5.5 in|ch trans|
|00002a70| 6c 61 74 65 7d 20 64 65 | 66 0a 58 2f 64 6f 52 65 |late} de|f.X/doRe|
|00002a80| 76 53 70 69 72 61 6c 20 | 7b 6d 6f 76 65 48 55 20 |vSpiral |{moveHU |
|00002a90| 72 6f 74 4c 20 30 2e 36 | 37 20 64 75 70 20 73 63 |rotL 0.6|7 dup sc|
|00002aa0| 61 6c 65 7d 20 64 65 66 | 0a 58 2f 55 70 53 68 6f |ale} def|.X/UpSho|
|00002ab0| 77 70 61 67 65 20 7b 73 | 68 6f 77 70 61 67 65 7d |wpage {s|howpage}|
|00002ac0| 20 62 69 6e 64 20 64 65 | 66 0a 58 2f 55 70 53 74 | bind de|f.X/UpSt|
|00002ad0| 61 74 65 20 7b 7d 20 64 | 65 66 0a 58 65 6e 64 0a |ate {} d|ef.Xend.|
|00002ae0| 58 2f 73 68 6f 77 70 61 | 67 65 20 7b 7d 20 64 65 |X/showpa|ge {} de|
|00002af0| 66 0a 58 25 25 45 6e 64 | 50 72 6f 63 53 65 74 3a |f.X%%End|ProcSet:|
|00002b00| 20 75 70 5f 70 72 6f 6c | 6f 67 20 31 20 37 34 38 | up_prol|og 1 748|
|00002b10| 32 0a 58 2f 69 6e 63 68 | 20 7b 37 32 20 6d 75 6c |2.X/inch| {72 mul|
|00002b20| 7d 20 64 65 66 0a 58 2f | 4e 66 6f 6e 74 20 2f 54 |} def.X/|Nfont /T|
|00002b30| 69 6d 65 73 2d 52 6f 6d | 61 6e 20 66 69 6e 64 66 |imes-Rom|an findf|
|00002b40| 6f 6e 74 20 35 20 69 6e | 63 68 20 73 63 61 6c 65 |ont 5 in|ch scale|
|00002b50| 66 6f 6e 74 20 64 65 66 | 0a 58 2f 64 72 61 77 70 |font def|.X/drawp|
|00002b60| 61 67 65 20 7b 0a 58 09 | 32 20 73 65 74 6c 69 6e |age {.X.|2 setlin|
|00002b70| 65 63 61 70 20 33 20 73 | 65 74 6c 69 6e 65 77 69 |ecap 3 s|etlinewi|
|00002b80| 64 74 68 20 30 20 73 65 | 74 67 72 61 79 0a 58 09 |dth 0 se|tgray.X.|
|00002b90| 4e 66 6f 6e 74 20 73 65 | 74 66 6f 6e 74 0a 58 09 |Nfont se|tfont.X.|
|00002ba0| 64 75 70 20 73 74 72 69 | 6e 67 77 69 64 74 68 0a |dup stri|ngwidth.|
|00002bb0| 58 09 31 31 20 69 6e 63 | 68 20 65 78 63 68 20 73 |X.11 inc|h exch s|
|00002bc0| 75 62 20 32 20 64 69 76 | 0a 58 09 65 78 63 68 20 |ub 2 div|.X.exch |
|00002bd0| 38 2e 35 20 69 6e 63 68 | 20 65 78 63 68 20 73 75 |8.5 inch| exch su|
|00002be0| 62 20 32 20 64 69 76 0a | 58 09 65 78 63 68 20 6d |b 2 div.|X.exch m|
|00002bf0| 6f 76 65 74 6f 20 73 68 | 6f 77 0a 58 09 30 2e 32 |oveto sh|ow.X.0.2|
|00002c00| 35 20 69 6e 63 68 20 64 | 75 70 20 6d 6f 76 65 74 |5 inch d|up movet|
|00002c10| 6f 0a 58 09 38 20 69 6e | 63 68 20 30 20 72 6c 69 |o.X.8 in|ch 0 rli|
|00002c20| 6e 65 74 6f 0a 58 09 30 | 20 31 30 2e 35 20 69 6e |neto.X.0| 10.5 in|
|00002c30| 63 68 20 72 6c 69 6e 65 | 74 6f 0a 58 09 2d 38 20 |ch rline|to.X.-8 |
|00002c40| 69 6e 63 68 20 30 20 72 | 6c 69 6e 65 74 6f 0a 58 |inch 0 r|lineto.X|
|00002c50| 09 30 20 2d 31 30 2e 35 | 20 69 6e 63 68 20 72 6c |.0 -10.5| inch rl|
|00002c60| 69 6e 65 74 6f 0a 58 09 | 63 6c 6f 73 65 70 61 74 |ineto.X.|closepat|
|00002c70| 68 20 73 74 72 6f 6b 65 | 0a 58 09 73 68 6f 77 70 |h stroke|.X.showp|
|00002c80| 61 67 65 0a 58 7d 20 64 | 65 66 0a 58 25 25 45 6e |age.X} d|ef.X%%En|
|00002c90| 64 50 72 6f 6c 6f 67 0a | 58 25 25 50 61 67 65 3a |dProlog.|X%%Page:|
|00002ca0| 20 3f 20 31 0a 58 55 70 | 44 69 63 74 37 34 38 32 | ? 1.XUp|Dict7482|
|00002cb0| 20 62 65 67 69 6e 0a 58 | 73 61 76 65 20 2f 55 70 | begin.X|save /Up|
|00002cc0| 53 74 61 74 65 20 65 78 | 63 68 20 64 65 66 0a 58 |State ex|ch def.X|
|00002cd0| 37 2e 37 35 20 69 6e 63 | 68 20 30 20 74 72 61 6e |7.75 inc|h 0 tran|
|00002ce0| 73 6c 61 74 65 20 72 6f | 74 4c 20 31 31 20 31 37 |slate ro|tL 11 17|
|00002cf0| 20 64 69 76 20 64 75 70 | 20 73 63 61 6c 65 0a 58 | div dup| scale.X|
|00002d00| 65 6e 64 0a 58 28 31 29 | 20 64 72 61 77 70 61 67 |end.X(1)| drawpag|
|00002d10| 65 0a 58 55 70 44 69 63 | 74 37 34 38 32 20 62 65 |e.XUpDic|t7482 be|
|00002d20| 67 69 6e 0a 58 6d 6f 76 | 65 52 0a 58 65 6e 64 0a |gin.Xmov|eR.Xend.|
|00002d30| 58 28 32 29 20 64 72 61 | 77 70 61 67 65 0a 58 55 |X(2) dra|wpage.XU|
|00002d40| 70 44 69 63 74 37 34 38 | 32 20 62 65 67 69 6e 20 |pDict748|2 begin |
|00002d50| 55 70 53 74 61 74 65 20 | 72 65 73 74 6f 72 65 20 |UpState |restore |
|00002d60| 55 70 53 68 6f 77 70 61 | 67 65 20 65 6e 64 0a 58 |UpShowpa|ge end.X|
|00002d70| 25 25 50 61 67 65 3a 20 | 3f 20 32 0a 58 55 70 44 |%%Page: |? 2.XUpD|
|00002d80| 69 63 74 37 34 38 32 20 | 62 65 67 69 6e 0a 58 73 |ict7482 |begin.Xs|
|00002d90| 61 76 65 20 2f 55 70 53 | 74 61 74 65 20 65 78 63 |ave /UpS|tate exc|
|00002da0| 68 20 64 65 66 0a 58 37 | 2e 37 35 20 69 6e 63 68 |h def.X7|.75 inch|
|00002db0| 20 30 20 74 72 61 6e 73 | 6c 61 74 65 20 72 6f 74 | 0 trans|late rot|
|00002dc0| 4c 20 31 31 20 31 37 20 | 64 69 76 20 64 75 70 20 |L 11 17 |div dup |
|00002dd0| 73 63 61 6c 65 0a 58 65 | 6e 64 0a 58 28 33 29 20 |scale.Xe|nd.X(3) |
|00002de0| 64 72 61 77 70 61 67 65 | 0a 58 55 70 44 69 63 74 |drawpage|.XUpDict|
|00002df0| 37 34 38 32 20 62 65 67 | 69 6e 0a 58 6d 6f 76 65 |7482 beg|in.Xmove|
|00002e00| 52 0a 58 65 6e 64 0a 58 | 28 34 29 20 64 72 61 77 |R.Xend.X|(4) draw|
|00002e10| 70 61 67 65 0a 58 55 70 | 44 69 63 74 37 34 38 32 |page.XUp|Dict7482|
|00002e20| 20 62 65 67 69 6e 20 55 | 70 53 74 61 74 65 20 72 | begin U|pState r|
|00002e30| 65 73 74 6f 72 65 20 55 | 70 53 68 6f 77 70 61 67 |estore U|pShowpag|
|00002e40| 65 20 65 6e 64 0a 58 25 | 25 54 72 61 69 6c 65 72 |e end.X%|%Trailer|
|00002e50| 0a 58 25 25 50 61 67 65 | 73 3a 20 32 0a 58 0a 58 |.X%%Page|s: 2.X.X|
|00002e60| 2d 2d 0a 58 4a 20 47 72 | 65 65 6c 79 20 28 6a 67 |--.XJ Gr|eely (jg|
|00002e70| 72 65 65 6c 79 40 63 69 | 73 2e 6f 68 69 6f 2d 73 |reely@ci|s.ohio-s|
|00002e80| 74 61 74 65 2e 65 64 75 | 3b 20 6f 73 75 2d 63 69 |tate.edu|; osu-ci|
|00002e90| 73 21 6a 67 72 65 65 6c | 79 29 0a 45 4e 44 5f 4f |s!jgreel|y).END_O|
|00002ea0| 46 5f 46 49 4c 45 0a 69 | 66 20 74 65 73 74 20 35 |F_FILE.i|f test 5|
|00002eb0| 37 37 36 20 2d 6e 65 20 | 60 77 63 20 2d 63 20 3c |776 -ne |`wc -c <|
|00002ec0| 27 48 6f 77 54 6f 27 60 | 3b 20 74 68 65 6e 0a 20 |'HowTo'`|; then. |
|00002ed0| 20 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 5c 22 | echo |shar: \"|
|00002ee0| 27 48 6f 77 54 6f 27 5c | 22 20 75 6e 70 61 63 6b |'HowTo'\|" unpack|
|00002ef0| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|00002f00| 7a 65 21 0a 66 69 0a 23 | 20 65 6e 64 20 6f 66 20 |ze!.fi.#| end of |
|00002f10| 27 48 6f 77 54 6f 27 0a | 66 69 0a 69 66 20 74 65 |'HowTo'.|fi.if te|
|00002f20| 73 74 20 2d 66 20 27 4d | 61 6b 65 66 69 6c 65 27 |st -f 'M|akefile'|
|00002f30| 20 2d 61 20 22 24 7b 31 | 7d 22 20 21 3d 20 22 2d | -a "${1|}" != "-|
|00002f40| 63 22 20 3b 20 74 68 65 | 6e 20 0a 20 20 65 63 68 |c" ; the|n . ech|
|00002f50| 6f 20 73 68 61 72 3a 20 | 57 69 6c 6c 20 6e 6f 74 |o shar: |Will not|
|00002f60| 20 63 6c 6f 62 62 65 72 | 20 65 78 69 73 74 69 6e | clobber| existin|
|00002f70| 67 20 66 69 6c 65 20 5c | 22 27 4d 61 6b 65 66 69 |g file \|"'Makefi|
|00002f80| 6c 65 27 5c 22 0a 65 6c | 73 65 0a 65 63 68 6f 20 |le'\".el|se.echo |
|00002f90| 73 68 61 72 3a 20 45 78 | 74 72 61 63 74 69 6e 67 |shar: Ex|tracting|
|00002fa0| 20 5c 22 27 4d 61 6b 65 | 66 69 6c 65 27 5c 22 20 | \"'Make|file'\" |
|00002fb0| 5c 28 31 30 35 39 20 63 | 68 61 72 61 63 74 65 72 |\(1059 c|haracter|
|00002fc0| 73 5c 29 0a 73 65 64 20 | 22 73 2f 5e 58 2f 2f 22 |s\).sed |"s/^X//"|
|00002fd0| 20 3e 27 4d 61 6b 65 66 | 69 6c 65 27 20 3c 3c 27 | >'Makef|ile' <<'|
|00002fe0| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 27 0a 58 23 20 |END_OF_F|ILE'.X# |
|00002ff0| 4d 61 6b 65 66 69 6c 65 | 20 74 6f 20 69 6e 73 74 |Makefile| to inst|
|00003000| 61 6c 6c 20 27 75 70 27 | 0a 58 23 0a 58 4c 49 42 |all 'up'|.X#.XLIB|
|00003010| 44 49 52 3d 2f 75 73 72 | 2f 6c 6f 63 61 6c 2f 6c |DIR=/usr|/local/l|
|00003020| 69 62 0a 58 42 49 4e 44 | 49 52 3d 2f 75 73 72 2f |ib.XBIND|IR=/usr/|
|00003030| 6c 6f 63 61 6c 2f 62 69 | 6e 0a 58 4d 41 4e 44 49 |local/bi|n.XMANDI|
|00003040| 52 3d 2f 75 73 72 2f 6d | 61 6e 0a 58 53 59 4d 4c |R=/usr/m|an.XSYML|
|00003050| 49 4e 4b 3d 6c 6e 20 2d | 73 0a 58 0a 58 50 52 4f |INK=ln -|s.X.XPRO|
|00003060| 47 3d 75 70 0a 58 55 54 | 49 4c 3d 6d 61 6b 65 75 |G=up.XUT|IL=makeu|
|00003070| 70 20 70 61 72 72 0a 58 | 4c 49 42 3d 75 70 2e 72 |p parr.X|LIB=up.r|
|00003080| 63 0a 58 4c 49 4e 4b 53 | 3d 32 75 70 20 34 75 70 |c.XLINKS|=2up 4up|
|00003090| 20 36 75 70 20 31 36 75 | 70 0a 58 4d 41 4e 31 3d | 6up 16u|p.XMAN1=|
|000030a0| 75 70 2e 31 20 6d 61 6b | 65 75 70 2e 31 20 70 61 |up.1 mak|eup.1 pa|
|000030b0| 72 72 2e 31 0a 58 4d 41 | 4e 35 3d 75 70 72 63 2e |rr.1.XMA|N5=uprc.|
|000030c0| 35 0a 58 0a 58 46 49 4c | 45 53 3d 52 45 41 44 4d |5.X.XFIL|ES=READM|
|000030d0| 45 20 48 6f 77 54 6f 20 | 4d 61 6b 65 66 69 6c 65 |E HowTo |Makefile|
|000030e0| 20 24 28 50 52 4f 47 29 | 20 24 28 55 54 49 4c 29 | $(PROG)| $(UTIL)|
|000030f0| 20 24 28 4c 49 42 29 20 | 24 28 4d 41 4e 31 29 20 | $(LIB) |$(MAN1) |
|00003100| 24 28 4d 41 4e 35 29 0a | 58 0a 58 64 65 66 61 75 |$(MAN5).|X.Xdefau|
|00003110| 6c 74 3a 0a 58 09 40 65 | 63 68 6f 20 45 64 69 74 |lt:.X.@e|cho Edit|
|00003120| 20 4d 61 6b 65 66 69 6c | 65 2c 20 63 68 61 6e 67 | Makefil|e, chang|
|00003130| 69 6e 67 20 74 68 65 20 | 76 61 6c 75 65 73 20 6f |ing the |values o|
|00003140| 66 20 4c 49 42 44 49 52 | 2c 20 42 49 4e 44 49 52 |f LIBDIR|, BINDIR|
|00003150| 2c 0a 58 09 40 65 63 68 | 6f 20 4d 41 4e 44 49 52 |,.X.@ech|o MANDIR|
|00003160| 2c 20 61 6e 64 20 53 59 | 4d 4c 49 4e 4b 2c 20 74 |, and SY|MLINK, t|
|00003170| 68 65 6e 20 74 79 70 65 | 20 5c 22 6d 61 6b 65 20 |hen type| \"make |
|00003180| 69 6e 73 74 61 6c 6c 5c | 22 0a 58 0a 58 69 6e 73 |install\|".X.Xins|
|00003190| 74 61 6c 6c 3a 20 24 28 | 50 52 4f 47 29 20 24 28 |tall: $(|PROG) $(|
|000031a0| 55 54 49 4c 29 20 24 28 | 4c 49 42 29 20 24 28 4d |UTIL) $(|LIB) $(M|
|000031b0| 41 4e 31 29 20 24 28 4d | 41 4e 35 29 0a 58 09 63 |AN1) $(M|AN5).X.c|
|000031c0| 70 20 24 28 50 52 4f 47 | 29 20 24 28 55 54 49 4c |p $(PROG|) $(UTIL|
|000031d0| 29 20 24 28 42 49 4e 44 | 49 52 29 0a 58 09 63 70 |) $(BIND|IR).X.cp|
|000031e0| 20 24 28 4c 49 42 29 20 | 24 28 4c 49 42 44 49 52 | $(LIB) |$(LIBDIR|
|000031f0| 29 0a 58 09 66 6f 72 20 | 69 20 69 6e 20 24 28 4c |).X.for |i in $(L|
|00003200| 49 4e 4b 53 29 3b 20 64 | 6f 20 24 28 53 59 4d 4c |INKS); d|o $(SYML|
|00003210| 49 4e 4b 29 20 24 28 42 | 49 4e 44 49 52 29 2f 24 |INK) $(B|INDIR)/$|
|00003220| 28 50 52 4f 47 29 20 24 | 28 42 49 4e 44 49 52 29 |(PROG) $|(BINDIR)|
|00003230| 2f 24 24 69 3b 20 64 6f | 6e 65 0a 58 09 40 2d 6d |/$$i; do|ne.X.@-m|
|00003240| 6b 64 69 72 20 24 28 4d | 41 4e 44 49 52 29 0a 58 |kdir $(M|ANDIR).X|
|00003250| 09 40 2d 6d 6b 64 69 72 | 20 24 28 4d 41 4e 44 49 |.@-mkdir| $(MANDI|
|00003260| 52 29 2f 6d 61 6e 31 0a | 58 09 40 2d 6d 6b 64 69 |R)/man1.|X.@-mkdi|
|00003270| 72 20 24 28 4d 41 4e 44 | 49 52 29 2f 6d 61 6e 35 |r $(MAND|IR)/man5|
|00003280| 0a 58 09 63 70 20 24 28 | 4d 41 4e 31 29 20 24 28 |.X.cp $(|MAN1) $(|
|00003290| 4d 41 4e 44 49 52 29 2f | 6d 61 6e 31 0a 58 09 63 |MANDIR)/|man1.X.c|
|000032a0| 70 20 24 28 4d 41 4e 35 | 29 20 24 28 4d 41 4e 44 |p $(MAN5|) $(MAND|
|000032b0| 49 52 29 2f 6d 61 6e 35 | 0a 58 0a 58 63 6c 65 61 |IR)/man5|.X.Xclea|
|000032c0| 6e 3a 0a 58 09 72 6d 20 | 2d 66 20 63 6f 72 65 20 |n:.X.rm |-f core |
|000032d0| 75 70 2e 73 68 61 72 2a | 20 2a 7e 0a 58 0a 58 75 |up.shar*| *~.X.Xu|
|000032e0| 6e 69 6e 73 74 61 6c 6c | 3a 0a 58 09 2d 66 6f 72 |ninstall|:.X.-for|
|000032f0| 20 69 20 69 6e 20 24 28 | 50 52 4f 47 29 20 24 28 | i in $(|PROG) $(|
|00003300| 55 54 49 4c 29 20 24 28 | 4c 49 4e 4b 53 29 3b 20 |UTIL) $(|LINKS); |
|00003310| 64 6f 20 72 6d 20 24 28 | 42 49 4e 44 49 52 29 2f |do rm $(|BINDIR)/|
|00003320| 24 24 69 3b 20 64 6f 6e | 65 0a 58 09 2d 72 6d 20 |$$i; don|e.X.-rm |
|00003330| 24 28 4c 49 42 44 49 52 | 29 2f 24 28 4c 49 42 29 |$(LIBDIR|)/$(LIB)|
|00003340| 0a 58 09 2d 66 6f 72 20 | 69 20 69 6e 20 24 28 4d |.X.-for |i in $(M|
|00003350| 41 4e 31 29 3b 20 64 6f | 20 72 6d 20 24 28 4d 41 |AN1); do| rm $(MA|
|00003360| 4e 44 49 52 29 2f 6d 61 | 6e 31 2f 24 24 69 3b 20 |NDIR)/ma|n1/$$i; |
|00003370| 64 6f 6e 65 0a 58 09 2d | 66 6f 72 20 69 20 69 6e |done.X.-|for i in|
|00003380| 20 24 28 4d 41 4e 35 29 | 3b 20 64 6f 20 72 6d 20 | $(MAN5)|; do rm |
|00003390| 24 28 4d 41 4e 44 49 52 | 29 2f 6d 61 6e 35 2f 24 |$(MANDIR|)/man5/$|
|000033a0| 24 69 3b 20 64 6f 6e 65 | 0a 58 0a 58 75 70 2e 73 |$i; done|.X.Xup.s|
|000033b0| 68 61 72 3a 20 24 28 46 | 49 4c 45 53 29 0a 58 09 |har: $(F|ILES).X.|
|000033c0| 73 68 61 72 20 24 28 46 | 49 4c 45 53 29 20 3e 75 |shar $(F|ILES) >u|
|000033d0| 70 2e 73 68 61 72 0a 58 | 09 70 65 72 6c 20 2d 69 |p.shar.X|.perl -i|
|000033e0| 2e 6f 6c 64 20 2d 70 65 | 20 27 73 2f 6a 67 72 65 |.old -pe| 's/jgre|
|000033f0| 65 6c 79 40 5b 2d 2e 5c | 77 5d 2b 5b 2d 5c 77 5d |ely@[-.\|w]+[-\w]|
|00003400| 2f 6a 67 72 65 65 6c 79 | 40 63 69 73 2e 6f 68 69 |/jgreely|@cis.ohi|
|00003410| 6f 2d 73 74 61 74 65 2e | 65 64 75 2f 67 3b 27 5c |o-state.|edu/g;'\|
|00003420| 0a 58 09 75 70 2e 73 68 | 61 72 0a 58 09 72 6d 20 |.X.up.sh|ar.X.rm |
|00003430| 75 70 2e 73 68 61 72 2e | 6f 6c 64 0a 45 4e 44 5f |up.shar.|old.END_|
|00003440| 4f 46 5f 46 49 4c 45 0a | 69 66 20 74 65 73 74 20 |OF_FILE.|if test |
|00003450| 31 30 35 39 20 2d 6e 65 | 20 60 77 63 20 2d 63 20 |1059 -ne| `wc -c |
|00003460| 3c 27 4d 61 6b 65 66 69 | 6c 65 27 60 3b 20 74 68 |<'Makefi|le'`; th|
|00003470| 65 6e 0a 20 20 20 20 65 | 63 68 6f 20 73 68 61 72 |en. e|cho shar|
|00003480| 3a 20 5c 22 27 4d 61 6b | 65 66 69 6c 65 27 5c 22 |: \"'Mak|efile'\"|
|00003490| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|000034a0| 72 6f 6e 67 20 73 69 7a | 65 21 0a 66 69 0a 23 20 |rong siz|e!.fi.# |
|000034b0| 65 6e 64 20 6f 66 20 27 | 4d 61 6b 65 66 69 6c 65 |end of '|Makefile|
|000034c0| 27 0a 66 69 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |'.fi.if |test -f |
|000034d0| 27 75 70 27 20 2d 61 20 | 22 24 7b 31 7d 22 20 21 |'up' -a |"${1}" !|
|000034e0| 3d 20 22 2d 63 22 20 3b | 20 74 68 65 6e 20 0a 20 |= "-c" ;| then . |
|000034f0| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 57 69 6c 6c | echo sh|ar: Will|
|00003500| 20 6e 6f 74 20 63 6c 6f | 62 62 65 72 20 65 78 69 | not clo|bber exi|
|00003510| 73 74 69 6e 67 20 66 69 | 6c 65 20 5c 22 27 75 70 |sting fi|le \"'up|
|00003520| 27 5c 22 0a 65 6c 73 65 | 0a 65 63 68 6f 20 73 68 |'\".else|.echo sh|
|00003530| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|00003540| 22 27 75 70 27 5c 22 20 | 5c 28 34 38 31 30 20 63 |"'up'\" |\(4810 c|
|00003550| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 73 65 64 20 |haracter|s\).sed |
|00003560| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 75 70 27 20 3c |"s/^X//"| >'up' <|
|00003570| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 58 |<'END_OF|_FILE'.X|
|00003580| 23 21 2f 75 73 72 2f 6c | 6f 63 61 6c 2f 62 69 6e |#!/usr/l|ocal/bin|
|00003590| 2f 70 65 72 6c 0a 58 23 | 20 75 70 3a 0a 58 23 20 |/perl.X#| up:.X# |
|000035a0| 50 6f 73 74 53 63 72 69 | 70 74 20 6e 2d 75 70 20 |PostScri|pt n-up |
|000035b0| 70 72 69 6e 74 20 75 74 | 69 6c 69 74 79 2e 20 20 |print ut|ility. |
|000035c0| 54 68 69 73 20 73 63 72 | 69 70 74 20 74 61 6b 65 |This scr|ipt take|
|000035d0| 73 20 63 6f 6e 66 6f 72 | 6d 69 6e 67 20 50 53 0a |s confor|ming PS.|
|000035e0| 58 23 20 66 69 6c 65 73 | 2c 20 61 6e 64 20 70 72 |X# files|, and pr|
|000035f0| 69 6e 74 73 20 74 68 65 | 6d 20 6e 2d 75 70 2c 20 |ints the|m n-up, |
|00003600| 77 68 65 72 65 20 6e 20 | 69 73 20 63 6f 6e 74 72 |where n |is contr|
|00003610| 6f 6c 6c 65 64 20 62 79 | 20 61 20 73 79 6d 62 6f |olled by| a symbo|
|00003620| 6c 69 63 0a 58 23 20 6e | 61 6d 65 20 28 74 61 6b |lic.X# n|ame (tak|
|00003630| 65 6e 20 66 72 6f 6d 20 | 61 72 67 76 5b 30 5d 20 |en from |argv[0] |
|00003640| 6f 72 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 20 6c |or the c|ommand l|
|00003650| 69 6e 65 29 2c 20 61 6e | 64 20 74 68 65 20 70 61 |ine), an|d the pa|
|00003660| 67 65 0a 58 23 20 70 6f | 73 69 74 69 6f 6e 69 6e |ge.X# po|sitionin|
|00003670| 67 20 61 6e 64 20 73 63 | 61 6c 69 6e 67 20 61 72 |g and sc|aling ar|
|00003680| 65 20 6c 6f 6f 6b 65 64 | 20 75 70 20 69 6e 20 61 |e looked| up in a|
|00003690| 20 63 6f 6e 66 69 67 75 | 72 61 74 69 6f 6e 20 66 | configu|ration f|
|000036a0| 69 6c 65 2e 0a 58 23 0a | 58 23 20 75 73 61 67 65 |ile..X#.|X# usage|
|000036b0| 3a 20 75 70 20 5b 2d 6e | 20 6e 61 6d 65 5d 20 5b |: up [-n| name] [|
|000036c0| 2d 66 20 63 6f 6e 66 69 | 67 5d 20 5b 66 69 6c 65 |-f confi|g] [file|
|000036d0| 20 2e 2e 2e 5d 0a 58 23 | 0a 58 23 20 6a 67 72 65 | ...].X#|.X# jgre|
|000036e0| 65 6c 79 40 63 69 73 2e | 6f 68 69 6f 2d 73 74 61 |ely@cis.|ohio-sta|
|000036f0| 74 65 2e 65 64 75 2c 20 | 38 39 2f 31 30 2f 32 33 |te.edu, |89/10/23|
|00003700| 0a 58 23 0a 58 0a 58 23 | 20 73 65 74 20 74 68 65 |.X#.X.X#| set the|
|00003710| 20 6e 61 6d 65 20 66 72 | 6f 6d 20 24 30 20 28 61 | name fr|om $0 (a|
|00003720| 72 67 76 5b 30 5d 29 2c | 20 61 66 74 65 72 20 73 |rgv[0]),| after s|
|00003730| 74 72 69 70 70 69 6e 67 | 20 61 20 70 61 74 68 0a |tripping| a path.|
|00003740| 58 23 0a 58 40 66 6f 6f | 20 3d 20 73 70 6c 69 74 |X#.X@foo| = split|
|00003750| 28 2f 5c 2f 2f 2c 24 30 | 29 3b 0a 58 24 6e 61 6d |(/\//,$0|);.X$nam|
|00003760| 65 3d 70 6f 70 28 40 66 | 6f 6f 29 3b 0a 58 0a 58 |e=pop(@f|oo);.X.X|
|00003770| 24 48 4f 4d 45 3d 24 45 | 4e 56 7b 22 48 4f 4d 45 |$HOME=$E|NV{"HOME|
|00003780| 22 7d 3b 0a 58 0a 58 23 | 20 73 65 74 20 61 20 64 |"};.X.X#| set a d|
|00003790| 65 66 61 75 6c 74 20 70 | 72 6f 6c 6f 67 20 69 6e |efault p|rolog in|
|000037a0| 20 63 61 73 65 20 74 68 | 65 20 63 6f 6e 66 69 67 | case th|e config|
|000037b0| 20 66 69 6c 65 20 64 6f | 65 73 6e 27 74 20 68 61 | file do|esn't ha|
|000037c0| 76 65 20 6f 6e 65 0a 58 | 23 20 6d 61 6b 65 20 73 |ve one.X|# make s|
|000037d0| 75 72 65 20 74 68 61 74 | 20 70 6c 69 6e 65 73 20 |ure that| plines |
|000037e0| 69 73 20 32 20 6c 61 72 | 67 65 72 20 74 68 61 6e |is 2 lar|ger than|
|000037f0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 64 | the num|ber of d|
|00003800| 65 66 69 6e 69 74 69 6f | 6e 73 20 69 6e 0a 58 23 |efinitio|ns in.X#|
|00003810| 20 74 68 65 20 70 72 6f | 6c 6f 67 20 28 75 73 65 | the pro|log (use|
|00003820| 64 20 74 6f 20 67 65 74 | 20 64 69 63 74 69 6f 6e |d to get| diction|
|00003830| 61 72 79 20 73 69 7a 65 | 29 2e 0a 58 23 0a 58 24 |ary size|)..X#.X$|
|00003840| 70 6c 69 6e 65 73 3d 31 | 30 3b 0a 58 24 70 72 6f |plines=1|0;.X$pro|
|00003850| 6c 6f 67 20 3d 20 3c 3c | 45 4f 46 3b 0a 58 2f 69 |log = <<|EOF;.X/i|
|00003860| 6e 63 68 20 7b 37 32 20 | 6d 75 6c 7d 20 64 65 66 |nch {72 |mul} def|
|00003870| 0a 58 2f 6d 6f 76 65 55 | 20 7b 30 20 31 31 20 69 |.X/moveU| {0 11 i|
|00003880| 6e 63 68 20 74 72 61 6e | 73 6c 61 74 65 7d 20 64 |nch tran|slate} d|
|00003890| 65 66 0a 58 2f 6d 6f 76 | 65 52 20 7b 38 2e 35 20 |ef.X/mov|eR {8.5 |
|000038a0| 69 6e 63 68 20 30 20 74 | 72 61 6e 73 6c 61 74 65 |inch 0 t|ranslate|
|000038b0| 7d 20 64 65 66 0a 58 2f | 6d 6f 76 65 44 20 7b 30 |} def.X/|moveD {0|
|000038c0| 20 2d 31 31 20 69 6e 63 | 68 20 74 72 61 6e 73 6c | -11 inc|h transl|
|000038d0| 61 74 65 7d 20 64 65 66 | 0a 58 2f 6d 6f 76 65 4c |ate} def|.X/moveL|
|000038e0| 20 7b 2d 38 2e 35 20 69 | 6e 63 68 20 30 20 74 72 | {-8.5 i|nch 0 tr|
|000038f0| 61 6e 73 6c 61 74 65 7d | 20 64 65 66 0a 58 2f 72 |anslate}| def.X/r|
|00003900| 6f 74 52 20 7b 2d 39 30 | 20 72 6f 74 61 74 65 7d |otR {-90| rotate}|
|00003910| 20 64 65 66 0a 58 2f 72 | 6f 74 4c 20 7b 39 30 20 | def.X/r|otL {90 |
|00003920| 72 6f 74 61 74 65 7d 20 | 64 65 66 0a 58 45 4f 46 |rotate} |def.XEOF|
|00003930| 0a 58 0a 58 23 20 73 65 | 61 72 63 68 20 66 6f 72 |.X.X# se|arch for|
|00003940| 20 61 20 63 6f 6e 66 69 | 67 75 72 61 74 69 6f 6e | a confi|guration|
|00003950| 20 66 69 6c 65 2e 20 20 | 54 68 65 20 2a 6c 61 73 | file. |The *las|
|00003960| 74 2a 20 6f 6e 65 20 66 | 6f 75 6e 64 20 69 73 20 |t* one f|ound is |
|00003970| 75 73 65 64 0a 58 23 0a | 58 24 63 6f 6e 66 69 67 |used.X#.|X$config|
|00003980| 20 3d 20 22 2e 2f 75 70 | 2e 72 63 22 3b 0a 58 40 | = "./up|.rc";.X@|
|00003990| 73 65 61 72 63 68 5f 70 | 61 74 68 20 3d 20 28 22 |search_p|ath = ("|
|000039a0| 2f 75 73 72 2f 6c 69 62 | 2f 75 70 2e 72 63 22 2c |/usr/lib|/up.rc",|
|000039b0| 22 2f 75 73 72 2f 6c 6f | 63 61 6c 2f 6c 69 62 2f |"/usr/lo|cal/lib/|
|000039c0| 75 70 2e 72 63 22 2c 22 | 24 48 4f 4d 45 2f 2e 75 |up.rc","|$HOME/.u|
|000039d0| 70 72 63 22 2c 0a 58 20 | 20 20 20 20 20 20 20 20 |prc",.X | |
|000039e0| 20 20 20 20 20 20 20 22 | 2e 2f 75 70 2e 72 63 22 | "|./up.rc"|
|000039f0| 29 3b 20 0a 58 66 6f 72 | 65 61 63 68 20 24 66 69 |); .Xfor|each $fi|
|00003a00| 6c 65 20 28 40 73 65 61 | 72 63 68 5f 70 61 74 68 |le (@sea|rch_path|
|00003a10| 29 20 7b 0a 58 09 24 63 | 6f 6e 66 69 67 20 3d 20 |) {.X.$c|onfig = |
|00003a20| 24 66 69 6c 65 20 69 66 | 20 28 2d 66 20 24 66 69 |$file if| (-f $fi|
|00003a30| 6c 65 20 26 26 20 2d 72 | 20 24 66 69 6c 65 29 3b |le && -r| $file);|
|00003a40| 0a 58 7d 0a 58 0a 58 23 | 20 63 68 65 63 6b 20 66 |.X}.X.X#| check f|
|00003a50| 6f 72 20 6f 70 74 69 6f | 6e 73 20 6f 6e 20 63 6f |or optio|ns on co|
|00003a60| 6d 6d 61 6e 64 20 6c 69 | 6e 65 2e 0a 58 23 0a 58 |mmand li|ne..X#.X|
|00003a70| 77 68 69 6c 65 20 28 24 | 5f 20 3d 20 24 41 52 47 |while ($|_ = $ARG|
|00003a80| 56 5b 30 5d 2c 2f 5e 2d | 2f 29 20 7b 0a 58 09 73 |V[0],/^-|/) {.X.s|
|00003a90| 68 69 66 74 3b 0a 58 09 | 6c 61 73 74 20 69 66 20 |hift;.X.|last if |
|00003aa0| 2f 5e 2d 5c 2d 24 2f 3b | 0a 58 09 2f 5e 2d 5b 46 |/^-\-$/;|.X./^-[F|
|00003ab0| 66 5d 2f 20 26 26 20 28 | 24 63 6f 6e 66 69 67 20 |f]/ && (|$config |
|00003ac0| 3d 20 73 68 69 66 74 2c | 6e 65 78 74 29 3b 0a 58 |= shift,|next);.X|
|00003ad0| 09 2f 5e 2d 5b 4e 6e 5d | 2f 20 26 26 20 28 24 6e |./^-[Nn]|/ && ($n|
|00003ae0| 61 6d 65 20 3d 20 73 68 | 69 66 74 2c 6e 65 78 74 |ame = sh|ift,next|
|00003af0| 29 3b 0a 58 09 64 69 65 | 20 22 75 73 61 67 65 3a |);.X.die| "usage:|
|00003b00| 20 75 70 20 5b 2d 66 20 | 63 6f 6e 66 69 67 5d 20 | up [-f |config] |
|00003b10| 5b 2d 6e 20 6e 61 6d 65 | 5d 20 5b 66 69 6c 65 20 |[-n name|] [file |
|00003b20| 2e 2e 2e 5d 5c 6e 22 3b | 0a 58 7d 0a 58 0a 58 23 |...]\n";|.X}.X.X#|
|00003b30| 20 72 65 61 64 20 72 65 | 6c 65 76 61 6e 74 20 73 | read re|levant s|
|00003b40| 65 63 74 69 6f 6e 20 6f | 66 20 63 6f 6e 66 69 67 |ection o|f config|
|00003b50| 75 72 61 74 69 6f 6e 20 | 66 69 6c 65 2e 09 46 6f |uration |file..Fo|
|00003b60| 72 20 63 6f 6d 70 6c 65 | 74 65 20 66 6f 72 6d 61 |r comple|te forma|
|00003b70| 74 0a 58 23 20 64 65 73 | 63 72 69 70 74 69 6f 6e |t.X# des|cription|
|00003b80| 2c 20 73 65 65 20 74 68 | 65 20 70 72 6f 76 69 64 |, see th|e provid|
|00003b90| 65 64 20 75 70 2e 72 63 | 20 66 69 6c 65 20 6f 72 |ed up.rc| file or|
|00003ba0| 20 75 70 72 63 28 35 29 | 2e 0a 58 23 20 20 42 61 | uprc(5)|..X# Ba|
|00003bb0| 73 69 63 61 6c 6c 79 2c | 20 72 65 61 64 20 74 68 |sically,| read th|
|00003bc0| 65 20 63 6f 6e 66 69 67 | 20 66 69 6c 65 20 75 6e |e config| file un|
|00003bd0| 74 69 6c 20 77 65 20 66 | 69 6e 64 20 61 20 6c 69 |til we f|ind a li|
|00003be0| 6e 65 20 63 6f 6e 74 61 | 69 6e 69 6e 67 20 61 0a |ne conta|ining a.|
|00003bf0| 58 23 20 6e 61 6d 65 20 | 66 69 65 6c 64 20 65 71 |X# name |field eq|
|00003c00| 75 61 6c 20 74 6f 20 74 | 68 65 20 63 75 72 72 65 |ual to t|he curre|
|00003c10| 6e 74 20 6e 61 6d 65 2e | 09 20 4f 6e 63 65 20 77 |nt name.|. Once w|
|00003c20| 65 20 64 6f 2c 20 72 65 | 61 64 20 61 6c 6c 20 6e |e do, re|ad all n|
|00003c30| 61 6d 65 2d 0a 58 23 20 | 76 61 6c 75 65 20 70 61 |ame-.X# |value pa|
|00003c40| 69 72 73 20 75 70 20 75 | 6e 74 69 6c 20 61 20 6c |irs up u|ntil a l|
|00003c50| 69 6e 65 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 6a |ine cont|aining j|
|00003c60| 75 73 74 20 61 20 27 2e | 27 2c 20 70 6c 61 63 69 |ust a '.|', placi|
|00003c70| 6e 67 20 74 68 65 6d 20 | 61 6c 6c 0a 58 23 20 69 |ng them |all.X# i|
|00003c80| 6e 74 6f 20 61 6e 20 61 | 73 73 6f 63 69 61 74 69 |nto an a|ssociati|
|00003c90| 76 65 20 61 72 72 61 79 | 2e 0a 58 23 0a 58 6f 70 |ve array|..X#.Xop|
|00003ca0| 65 6e 28 63 6f 6e 66 69 | 67 29 20 7c 7c 0a 58 20 |en(confi|g) ||.X |
|00003cb0| 20 64 69 65 20 22 63 61 | 6e 27 74 20 66 69 6e 64 | die "ca|n't find|
|00003cc0| 20 66 69 6c 65 20 27 24 | 63 6f 6e 66 69 67 27 2c | file '$|config',|
|00003cd0| 20 73 74 6f 70 70 65 64 | 22 3b 0a 58 24 69 6e 5f | stopped|";.X$in_|
|00003ce0| 72 65 63 20 3d 20 30 3b | 0a 58 77 68 69 6c 65 28 |rec = 0;|.Xwhile(|
|00003cf0| 3c 63 6f 6e 66 69 67 3e | 29 20 7b 0a 58 09 63 68 |<config>|) {.X.ch|
|00003d00| 6f 70 3b 0a 58 09 6e 65 | 78 74 20 69 66 20 2f 5e |op;.X.ne|xt if /^|
|00003d10| 5c 73 2a 23 7c 5e 5c 73 | 2a 24 2f 3b 09 23 20 73 |\s*#|^\s|*$/;.# s|
|00003d20| 6b 69 70 20 63 6f 6d 6d | 65 6e 74 20 61 6e 64 20 |kip comm|ent and |
|00003d30| 62 6c 61 6e 6b 20 6c 69 | 6e 65 73 0a 58 09 69 66 |blank li|nes.X.if|
|00003d40| 20 28 2f 5e 70 72 6f 6c | 6f 67 5c 73 2a 3d 2f 29 | (/^prol|og\s*=/)|
|00003d50| 20 7b 0a 58 09 09 64 6f | 20 72 65 61 64 5f 70 72 | {.X..do| read_pr|
|00003d60| 6f 6c 6f 67 28 29 3b 0a | 58 09 09 6e 65 78 74 3b |olog();.|X..next;|
|00003d70| 0a 58 09 7d 0a 58 09 6e | 65 78 74 20 75 6e 6c 65 |.X.}.X.n|ext unle|
|00003d80| 73 73 20 28 24 69 6e 5f | 72 65 63 20 7c 7c 20 2f |ss ($in_|rec || /|
|00003d90| 24 6e 61 6d 65 2f 29 3b | 0a 58 09 28 24 66 69 65 |$name/);|.X.($fie|
|00003da0| 6c 64 2c 24 76 61 6c 75 | 65 29 20 3d 20 73 70 6c |ld,$valu|e) = spl|
|00003db0| 69 74 28 2f 5c 73 2a 3d | 5c 73 2a 2f 29 3b 0a 58 |it(/\s*=|\s*/);.X|
|00003dc0| 09 69 66 20 28 28 24 66 | 69 65 6c 64 20 65 71 20 |.if (($f|ield eq |
|00003dd0| 22 6e 61 6d 65 22 29 20 | 26 26 20 28 24 76 61 6c |"name") |&& ($val|
|00003de0| 75 65 20 65 71 20 24 6e | 61 6d 65 29 29 20 7b 0a |ue eq $n|ame)) {.|
|00003df0| 58 09 09 24 69 6e 5f 72 | 65 63 2b 2b 3b 0a 58 09 |X..$in_r|ec++;.X.|
|00003e00| 09 6e 65 78 74 3b 0a 58 | 09 7d 0a 58 09 6c 61 73 |.next;.X|.}.X.las|
|00003e10| 74 20 69 66 20 2f 5e 5c | 2e 24 2f 3b 0a 58 09 24 |t if /^\|.$/;.X.$|
|00003e20| 76 61 72 7b 24 66 69 65 | 6c 64 7d 20 3d 20 24 76 |var{$fie|ld} = $v|
|00003e30| 61 6c 75 65 3b 0a 58 7d | 0a 58 63 6c 6f 73 65 28 |alue;.X}|.Xclose(|
|00003e40| 63 6f 6e 66 69 67 29 3b | 0a 58 64 69 65 20 22 6e |config);|.Xdie "n|
|00003e50| 6f 20 73 75 63 68 20 72 | 65 63 6f 72 64 20 27 24 |o such r|ecord '$|
|00003e60| 6e 61 6d 65 27 20 69 6e | 20 66 69 6c 65 20 27 24 |name' in| file '$|
|00003e70| 63 6f 6e 66 69 67 27 2c | 20 73 74 6f 70 70 65 64 |config',| stopped|
|00003e80| 22 20 75 6e 6c 65 73 73 | 20 24 69 6e 5f 72 65 63 |" unless| $in_rec|
|00003e90| 3b 0a 58 24 6d 6f 64 75 | 6c 75 73 20 3d 20 24 76 |;.X$modu|lus = $v|
|00003ea0| 61 72 7b 22 6d 6f 64 75 | 6c 75 73 22 7d 3b 0a 58 |ar{"modu|lus"};.X|
|00003eb0| 64 69 65 20 22 69 6e 76 | 61 6c 69 64 20 6d 6f 64 |die "inv|alid mod|
|00003ec0| 75 6c 75 73 20 3d 3d 20 | 24 6d 6f 64 75 6c 75 73 |ulus == |$modulus|
|00003ed0| 2c 20 73 74 6f 70 70 65 | 64 22 20 75 6e 6c 65 73 |, stoppe|d" unles|
|00003ee0| 73 20 24 6d 6f 64 75 6c | 75 73 3b 0a 58 0a 58 24 |s $modul|us;.X.X$|
|00003ef0| 5f 20 3d 20 3c 3e 3b 0a | 58 69 66 20 28 2f 5e 25 |_ = <>;.|Xif (/^%|
|00003f00| 21 50 53 2d 41 64 6f 62 | 65 2f 29 20 7b 0a 58 09 |!PS-Adob|e/) {.X.|
|00003f10| 70 72 69 6e 74 20 3c 3c | 45 4f 46 3b 0a 58 25 21 |print <<|EOF;.X%!|
|00003f20| 50 53 2d 41 64 6f 62 65 | 2d 32 2e 30 0a 58 25 25 |PS-Adobe|-2.0.X%%|
|00003f30| 50 61 67 65 73 3a 20 28 | 61 74 65 6e 64 29 0a 58 |Pages: (|atend).X|
|00003f40| 45 4f 46 0a 58 7d 65 6c | 73 65 7b 0a 58 09 64 69 |EOF.X}el|se{.X.di|
|00003f50| 65 20 22 4e 6f 74 20 63 | 6f 6e 66 6f 72 6d 69 6e |e "Not c|onformin|
|00003f60| 67 20 50 6f 73 74 53 63 | 72 69 70 74 20 28 6e 6f |g PostSc|ript (no|
|00003f70| 20 25 21 50 53 2d 41 64 | 6f 62 65 29 2c 20 73 74 | %!PS-Ad|obe), st|
|00003f80| 6f 70 70 65 64 22 3b 0a | 58 7d 0a 58 0a 58 23 20 |opped";.|X}.X.X# |
|00003f90| 72 65 61 64 20 63 6f 6d | 6d 65 6e 74 20 73 65 63 |read com|ment sec|
|00003fa0| 74 69 6f 6e 20 28 75 70 | 20 74 6f 20 66 69 72 73 |tion (up| to firs|
|00003fb0| 74 20 6e 6f 6e 2d 25 25 | 20 6c 69 6e 65 2c 20 6f |t non-%%| line, o|
|00003fc0| 72 20 25 25 45 6e 64 43 | 6f 6d 6d 65 6e 74 73 29 |r %%EndC|omments)|
|00003fd0| 0a 58 23 0a 58 77 68 69 | 6c 65 20 28 3c 3e 29 20 |.X#.Xwhi|le (<>) |
|00003fe0| 7b 0a 58 09 69 66 20 28 | 21 2f 5e 25 25 2f 29 20 |{.X.if (|!/^%%/) |
|00003ff0| 7b 0a 58 09 09 64 6f 20 | 70 72 69 6e 74 5f 70 72 |{.X..do |print_pr|
|00004000| 6f 6c 6f 67 75 65 28 29 | 3b 0a 58 09 09 70 72 69 |ologue()|;.X..pri|
|00004010| 6e 74 3b 0a 58 09 09 6c | 61 73 74 3b 0a 58 09 7d |nt;.X..l|ast;.X.}|
|00004020| 0a 58 09 69 66 20 28 2f | 5e 25 25 45 6e 64 43 6f |.X.if (/|^%%EndCo|
|00004030| 6d 6d 65 6e 74 73 2f 29 | 20 7b 0a 58 09 09 70 72 |mments/)| {.X..pr|
|00004040| 69 6e 74 3b 0a 58 09 09 | 64 6f 20 70 72 69 6e 74 |int;.X..|do print|
|00004050| 5f 70 72 6f 6c 6f 67 75 | 65 28 29 3b 0a 58 09 09 |_prologu|e();.X..|
|00004060| 6c 61 73 74 3b 0a 58 09 | 7d 0a 58 09 70 72 69 6e |last;.X.|}.X.prin|
|00004070| 74 3b 0a 58 7d 0a 58 0a | 58 77 68 69 6c 65 20 28 |t;.X}.X.|Xwhile (|
|00004080| 3c 3e 29 20 7b 0a 58 09 | 23 0a 58 09 23 20 74 6f |<>) {.X.|#.X.# to|
|00004090| 20 75 73 65 20 73 6c 69 | 67 68 74 6c 79 20 62 75 | use sli|ghtly bu|
|000040a0| 73 74 65 64 20 4e 65 58 | 54 20 70 72 65 76 69 65 |sted NeX|T previe|
|000040b0| 77 65 72 0a 58 09 23 0a | 58 09 6e 65 78 74 20 69 |wer.X.#.|X.next i|
|000040c0| 66 20 2f 5e 25 25 50 61 | 67 65 73 3a 2f 3b 0a 58 |f /^%%Pa|ges:/;.X|
|000040d0| 09 69 66 20 28 2f 5e 25 | 25 50 61 67 65 3a 2f 29 |.if (/^%|%Page:/)|
|000040e0| 20 7b 0a 58 09 09 64 6f | 20 65 6e 74 65 72 5f 70 | {.X..do| enter_p|
|000040f0| 61 67 65 28 29 3b 0a 58 | 09 09 6e 65 78 74 3b 0a |age();.X|..next;.|
|00004100| 58 09 7d 0a 58 09 69 66 | 20 28 2f 5e 25 25 54 72 |X.}.X.if| (/^%%Tr|
|00004110| 61 69 6c 65 72 2f 29 20 | 7b 0a 58 09 09 64 6f 20 |ailer/) |{.X..do |
|00004120| 70 72 69 6e 74 5f 74 72 | 61 69 6c 65 72 28 29 3b |print_tr|ailer();|
|00004130| 0a 58 09 09 6e 65 78 74 | 3b 0a 58 09 7d 0a 58 09 |.X..next|;.X.}.X.|
|00004140| 70 72 69 6e 74 3b 0a 58 | 7d 0a 58 23 20 70 72 69 |print;.X|}.X# pri|
|00004150| 6e 74 20 61 63 74 75 61 | 6c 20 70 61 67 65 20 63 |nt actua|l page c|
|00004160| 6f 75 6e 74 2e 20 20 54 | 68 69 73 20 6d 75 73 74 |ount. T|his must|
|00004170| 20 62 65 20 74 68 65 20 | 6c 61 73 74 20 74 72 61 | be the |last tra|
|00004180| 69 6c 65 72 20 63 6f 6d | 6d 65 6e 74 0a 58 23 20 |iler com|ment.X# |
|00004190| 70 72 69 6e 74 65 64 2e | 0a 58 23 0a 58 70 72 69 |printed.|.X#.Xpri|
|000041a0| 6e 74 20 22 25 25 50 61 | 67 65 73 3a 20 24 73 68 |nt "%%Pa|ges: $sh|
|000041b0| 65 65 74 5c 6e 22 3b 0a | 58 65 78 69 74 28 30 29 |eet\n";.|Xexit(0)|
|000041c0| 3b 0a 58 0a 58 23 20 74 | 68 65 20 70 72 6f 6c 6f |;.X.X# t|he prolo|
|000041d0| 67 20 63 6f 6e 73 69 73 | 74 73 20 6f 66 20 73 69 |g consis|ts of si|
|000041e0| 6d 70 6c 65 20 63 6f 6d | 6d 61 6e 64 20 64 65 66 |mple com|mand def|
|000041f0| 69 6e 69 74 69 6f 6e 73 | 20 79 6f 75 20 77 61 6e |initions| you wan|
|00004200| 74 20 74 6f 20 6d 61 6b | 65 0a 58 23 20 61 76 61 |t to mak|e.X# ava|
|00004210| 69 6c 61 62 6c 65 20 74 | 6f 20 74 68 65 20 63 6f |ilable t|o the co|
|00004220| 6e 66 69 67 75 72 61 74 | 69 6f 6e 20 72 6f 75 74 |nfigurat|ion rout|
|00004230| 69 6e 65 73 2e 20 20 4e | 6f 6e 65 20 6f 66 20 74 |ines. N|one of t|
|00004240| 68 65 6d 20 64 6f 20 61 | 6e 79 74 68 69 6e 67 0a |hem do a|nything.|
|00004250| 58 23 20 63 6f 6d 70 6c | 69 63 61 74 65 64 2c 20 |X# compl|icated, |
|00004260| 62 75 74 20 77 68 79 20 | 6d 61 6b 65 20 6c 69 66 |but why |make lif|
|00004270| 65 20 6d 6f 72 65 20 64 | 69 66 66 69 63 75 6c 74 |e more d|ifficult|
|00004280| 20 66 6f 72 20 74 68 65 | 20 75 73 65 72 3f 0a 58 | for the| user?.X|
|00004290| 23 0a 58 73 75 62 20 70 | 72 69 6e 74 5f 70 72 6f |#.Xsub p|rint_pro|
|000042a0| 6c 6f 67 75 65 20 7b 0a | 58 09 70 72 69 6e 74 20 |logue {.|X.print |
|000042b0| 3c 3c 45 4f 46 3b 0a 58 | 25 25 42 65 67 69 6e 50 |<<EOF;.X|%%BeginP|
|000042c0| 72 6f 63 53 65 74 3a 20 | 75 70 5f 70 72 6f 6c 6f |rocSet: |up_prolo|
|000042d0| 67 20 31 20 24 24 0a 58 | 2f 55 70 44 69 63 74 24 |g 1 $$.X|/UpDict$|
|000042e0| 24 20 24 70 6c 69 6e 65 | 73 20 33 20 61 64 64 20 |$ $pline|s 3 add |
|000042f0| 64 69 63 74 20 64 65 66 | 0a 58 55 70 44 69 63 74 |dict def|.XUpDict|
|00004300| 24 24 20 62 65 67 69 6e | 0a 58 24 70 72 6f 6c 6f |$$ begin|.X$prolo|
|00004310| 67 0a 58 2f 55 70 53 68 | 6f 77 70 61 67 65 20 7b |g.X/UpSh|owpage {|
|00004320| 73 68 6f 77 70 61 67 65 | 7d 20 62 69 6e 64 20 64 |showpage|} bind d|
|00004330| 65 66 0a 58 2f 55 70 53 | 74 61 74 65 20 7b 7d 20 |ef.X/UpS|tate {} |
|00004340| 64 65 66 0a 58 65 6e 64 | 0a 58 2f 73 68 6f 77 70 |def.Xend|.X/showp|
|00004350| 61 67 65 20 7b 7d 20 64 | 65 66 0a 58 25 25 45 6e |age {} d|ef.X%%En|
|00004360| 64 50 72 6f 63 53 65 74 | 3a 20 75 70 5f 70 72 6f |dProcSet|: up_pro|
|00004370| 6c 6f 67 20 31 20 24 24 | 0a 58 45 4f 46 0a 58 7d |log 1 $$|.XEOF.X}|
|00004380| 0a 58 0a 58 23 20 62 61 | 73 69 63 61 6c 6c 79 2c |.X.X# ba|sically,|
|00004390| 20 61 74 20 74 68 65 20 | 62 65 67 69 6e 6e 69 6e | at the |beginnin|
|000043a0| 67 20 6f 66 20 61 20 70 | 61 67 65 2c 20 70 75 6c |g of a p|age, pul|
|000043b0| 6c 20 74 68 65 20 6e 75 | 6d 62 65 72 20 66 72 6f |l the nu|mber fro|
|000043c0| 6d 20 74 68 65 20 70 61 | 67 65 0a 58 23 20 68 65 |m the pa|ge.X# he|
|000043d0| 61 64 65 72 2c 20 74 61 | 6b 65 20 69 74 20 6d 6f |ader, ta|ke it mo|
|000043e0| 64 75 6c 6f 20 24 6d 6f | 64 75 6c 75 73 2c 20 61 |dulo $mo|dulus, a|
|000043f0| 6e 64 20 70 72 69 6e 74 | 20 74 68 69 6e 67 73 20 |nd print| things |
|00004400| 62 61 73 65 64 20 6f 6e | 20 74 68 61 74 20 23 0a |based on| that #.|
|00004410| 58 23 20 6e 75 6d 62 65 | 72 2e 20 20 49 66 20 69 |X# numbe|r. If i|
|00004420| 74 27 73 20 31 2c 20 65 | 6e 64 20 74 68 65 20 70 |t's 1, e|nd the p|
|00004430| 72 65 76 69 6f 75 73 20 | 73 68 65 65 74 20 28 69 |revious |sheet (i|
|00004440| 66 20 74 68 65 72 65 20 | 69 73 20 6f 6e 65 29 2c |f there |is one),|
|00004450| 0a 58 23 20 69 6e 63 72 | 65 6d 65 6e 74 20 74 68 |.X# incr|ement th|
|00004460| 65 20 73 68 65 65 74 20 | 6e 75 6d 62 65 72 2c 20 |e sheet |number, |
|00004470| 61 6e 64 20 70 72 69 6e | 74 20 61 20 73 68 65 65 |and prin|t a shee|
|00004480| 74 20 68 65 61 64 65 72 | 2e 09 20 46 6f 72 20 61 |t header|.. For a|
|00004490| 6c 6c 0a 58 23 20 70 61 | 67 65 73 2c 20 70 72 69 |ll.X# pa|ges, pri|
|000044a0| 6e 74 20 74 68 65 20 61 | 70 70 72 6f 70 72 69 61 |nt the a|ppropria|
|000044b0| 74 65 20 70 61 67 65 20 | 6d 6f 74 69 6f 6e 20 63 |te page |motion c|
|000044c0| 6f 6d 6d 61 6e 64 2e 0a | 58 23 0a 58 73 75 62 20 |ommand..|X#.Xsub |
|000044d0| 65 6e 74 65 72 5f 70 61 | 67 65 20 7b 0a 58 09 24 |enter_pa|ge {.X.$|
|000044e0| 70 61 67 65 2b 2b 3b 0a | 58 09 28 24 66 6f 6f 2c |page++;.|X.($foo,|
|000044f0| 24 62 61 72 2c 24 6f 6c | 64 70 61 67 65 29 20 3d |$bar,$ol|dpage) =|
|00004500| 20 73 70 6c 69 74 3b 0a | 58 09 64 69 65 20 22 48 | split;.|X.die "H|
|00004510| 65 6c 70 21 20 70 61 67 | 65 20 6e 75 6d 62 65 72 |elp! pag|e number|
|00004520| 20 6d 69 73 6d 61 74 63 | 68 2c 20 73 74 6f 70 70 | mismatc|h, stopp|
|00004530| 65 64 22 20 69 66 20 28 | 24 6f 6c 64 70 61 67 65 |ed" if (|$oldpage|
|00004540| 20 21 3d 20 24 70 61 67 | 65 29 3b 0a 58 09 24 74 | != $pag|e);.X.$t|
|00004550| 65 6d 70 20 3d 20 24 70 | 61 67 65 20 25 20 24 6d |emp = $p|age % $m|
|00004560| 6f 64 75 6c 75 73 3b 0a | 58 09 69 66 20 28 24 74 |odulus;.|X.if ($t|
|00004570| 65 6d 70 20 3d 3d 20 31 | 29 20 7b 0a 58 09 09 69 |emp == 1|) {.X..i|
|00004580| 66 20 28 24 73 68 65 65 | 74 2b 2b 29 20 7b 0a 58 |f ($shee|t++) {.X|
|00004590| 09 09 09 70 72 69 6e 74 | 20 0a 58 09 09 09 20 20 |...print| .X... |
|000045a0| 22 55 70 44 69 63 74 24 | 24 20 62 65 67 69 6e 20 |"UpDict$|$ begin |
|000045b0| 55 70 53 74 61 74 65 20 | 72 65 73 74 6f 72 65 20 |UpState |restore |
|000045c0| 55 70 53 68 6f 77 70 61 | 67 65 20 65 6e 64 5c 6e |UpShowpa|ge end\n|
|000045d0| 22 3b 0a 58 09 09 7d 0a | 58 09 09 70 72 69 6e 74 |";.X..}.|X..print|
|000045e0| 20 3c 3c 45 4f 46 3b 0a | 58 25 25 50 61 67 65 3a | <<EOF;.|X%%Page:|
|000045f0| 20 3f 20 24 73 68 65 65 | 74 0a 58 55 70 44 69 63 | ? $shee|t.XUpDic|
|00004600| 74 24 24 20 62 65 67 69 | 6e 0a 58 73 61 76 65 20 |t$$ begi|n.Xsave |
|00004610| 2f 55 70 53 74 61 74 65 | 20 65 78 63 68 20 64 65 |/UpState| exch de|
|00004620| 66 0a 58 45 4f 46 0a 58 | 09 09 70 72 69 6e 74 20 |f.XEOF.X|..print |
|00004630| 24 73 68 65 65 74 20 25 | 20 32 20 3f 20 24 76 61 |$sheet %| 2 ? $va|
|00004640| 72 7b 27 6f 64 64 27 7d | 20 3a 20 24 76 61 72 7b |r{'odd'}| : $var{|
|00004650| 27 65 76 65 6e 27 7d 2c | 22 5c 6e 22 3b 0a 58 09 |'even'},|"\n";.X.|
|00004660| 09 70 72 69 6e 74 20 24 | 76 61 72 7b 22 73 63 61 |.print $|var{"sca|
|00004670| 6c 65 22 7d 2c 22 5c 6e | 22 3b 0a 58 09 7d 65 6c |le"},"\n|";.X.}el|
|00004680| 73 65 7b 0a 58 09 09 70 | 72 69 6e 74 20 22 55 70 |se{.X..p|rint "Up|
|00004690| 44 69 63 74 24 24 20 62 | 65 67 69 6e 5c 6e 22 3b |Dict$$ b|egin\n";|
|000046a0| 0a 58 09 7d 0a 58 09 24 | 74 65 6d 70 20 3d 20 24 |.X.}.X.$|temp = $|
|000046b0| 6d 6f 64 75 6c 75 73 20 | 75 6e 6c 65 73 73 20 24 |modulus |unless $|
|000046c0| 74 65 6d 70 3b 0a 58 09 | 70 72 69 6e 74 20 24 76 |temp;.X.|print $v|
|000046d0| 61 72 7b 24 74 65 6d 70 | 7d 2c 22 5c 6e 22 3b 0a |ar{$temp|},"\n";.|
|000046e0| 58 09 70 72 69 6e 74 20 | 22 65 6e 64 5c 6e 22 3b |X.print |"end\n";|
|000046f0| 0a 58 7d 0a 58 0a 58 23 | 20 70 72 69 6e 74 20 74 |.X}.X.X#| print t|
|00004700| 68 65 20 74 72 61 69 6c | 65 72 2c 20 77 68 69 63 |he trail|er, whic|
|00004710| 68 20 66 6f 72 20 75 73 | 20 63 6f 6e 73 69 73 74 |h for us| consist|
|00004720| 73 20 6f 66 20 61 20 73 | 68 6f 77 70 61 67 65 20 |s of a s|howpage |
|00004730| 28 69 6e 73 65 72 74 65 | 64 0a 58 23 20 62 65 66 |(inserte|d.X# bef|
|00004740| 6f 72 65 20 74 68 65 20 | 74 72 61 69 6c 65 72 20 |ore the |trailer |
|00004750| 63 6f 6d 6d 65 6e 74 2c | 20 74 6f 20 6d 61 6b 65 |comment,| to make|
|00004760| 20 69 74 20 70 61 72 74 | 20 6f 66 20 74 68 65 20 | it part| of the |
|00004770| 6c 61 73 74 20 70 61 67 | 65 29 2e 0a 58 23 0a 58 |last pag|e)..X#.X|
|00004780| 73 75 62 20 70 72 69 6e | 74 5f 74 72 61 69 6c 65 |sub prin|t_traile|
|00004790| 72 20 7b 0a 58 09 70 72 | 69 6e 74 20 22 55 70 44 |r {.X.pr|int "UpD|
|000047a0| 69 63 74 24 24 20 62 65 | 67 69 6e 20 55 70 53 74 |ict$$ be|gin UpSt|
|000047b0| 61 74 65 20 72 65 73 74 | 6f 72 65 20 55 70 53 68 |ate rest|ore UpSh|
|000047c0| 6f 77 70 61 67 65 20 65 | 6e 64 5c 6e 22 20 69 66 |owpage e|nd\n" if|
|000047d0| 20 24 70 61 67 65 3b 0a | 58 09 70 72 69 6e 74 20 | $page;.|X.print |
|000047e0| 22 25 25 54 72 61 69 6c | 65 72 5c 6e 22 3b 0a 58 |"%%Trail|er\n";.X|
|000047f0| 7d 0a 58 0a 58 23 20 72 | 65 61 64 20 74 68 65 20 |}.X.X# r|ead the |
|00004800| 70 72 6f 6c 6f 67 20 66 | 72 6f 6d 20 74 68 65 20 |prolog f|rom the |
|00004810| 63 6f 6e 66 69 67 75 72 | 61 74 69 6f 6e 20 66 69 |configur|ation fi|
|00004820| 6c 65 2e 09 41 6c 6c 20 | 6c 69 6e 65 73 20 75 70 |le..All |lines up|
|00004830| 20 74 6f 20 74 68 65 0a | 58 23 20 74 68 65 20 66 | to the.|X# the f|
|00004840| 69 72 73 74 20 6f 6e 65 | 20 73 74 61 72 74 69 6e |irst one| startin|
|00004850| 67 20 77 69 74 68 20 27 | 2e 27 20 77 69 6c 6c 20 |g with '|.' will |
|00004860| 62 65 20 70 6c 61 63 65 | 64 20 69 6e 20 24 70 72 |be place|d in $pr|
|00004870| 6f 6c 6f 67 0a 58 23 0a | 58 73 75 62 20 72 65 61 |olog.X#.|Xsub rea|
|00004880| 64 5f 70 72 6f 6c 6f 67 | 20 7b 0a 58 09 24 70 72 |d_prolog| {.X.$pr|
|00004890| 6f 6c 6f 67 3d 27 27 3b | 0a 58 09 23 70 6c 69 6e |olog='';|.X.#plin|
|000048a0| 65 73 3d 30 3b 0a 58 09 | 77 68 69 6c 65 20 28 3c |es=0;.X.|while (<|
|000048b0| 63 6f 6e 66 69 67 3e 29 | 20 7b 0a 58 09 09 6c 61 |config>)| {.X..la|
|000048c0| 73 74 20 69 66 20 2f 5e | 5c 2e 2f 3b 0a 58 09 09 |st if /^|\./;.X..|
|000048d0| 24 70 72 6f 6c 6f 67 20 | 2e 3d 20 24 5f 3b 0a 58 |$prolog |.= $_;.X|
|000048e0| 09 09 24 70 6c 69 6e 65 | 73 2b 2b 3b 0a 58 09 7d |..$pline|s++;.X.}|
|000048f0| 0a 58 09 63 68 6f 70 28 | 24 70 72 6f 6c 6f 67 29 |.X.chop(|$prolog)|
|00004900| 3b 0a 58 09 24 70 6c 69 | 6e 65 73 2b 3d 33 3b 0a |;.X.$pli|nes+=3;.|
|00004910| 58 7d 0a 45 4e 44 5f 4f | 46 5f 46 49 4c 45 0a 69 |X}.END_O|F_FILE.i|
|00004920| 66 20 74 65 73 74 20 34 | 38 31 30 20 2d 6e 65 20 |f test 4|810 -ne |
|00004930| 60 77 63 20 2d 63 20 3c | 27 75 70 27 60 3b 20 74 |`wc -c <|'up'`; t|
|00004940| 68 65 6e 0a 20 20 20 20 | 65 63 68 6f 20 73 68 61 |hen. |echo sha|
|00004950| 72 3a 20 5c 22 27 75 70 | 27 5c 22 20 75 6e 70 61 |r: \"'up|'\" unpa|
|00004960| 63 6b 65 64 20 77 69 74 | 68 20 77 72 6f 6e 67 20 |cked wit|h wrong |
|00004970| 73 69 7a 65 21 0a 66 69 | 0a 63 68 6d 6f 64 20 2b |size!.fi|.chmod +|
|00004980| 78 20 27 75 70 27 0a 23 | 20 65 6e 64 20 6f 66 20 |x 'up'.#| end of |
|00004990| 27 75 70 27 0a 66 69 0a | 69 66 20 74 65 73 74 20 |'up'.fi.|if test |
|000049a0| 2d 66 20 27 6d 61 6b 65 | 75 70 27 20 2d 61 20 22 |-f 'make|up' -a "|
|000049b0| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|000049c0| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|000049d0| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|000049e0| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|000049f0| 65 20 5c 22 27 6d 61 6b | 65 75 70 27 5c 22 0a 65 |e \"'mak|eup'\".e|
|00004a00| 6c 73 65 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |lse.echo| shar: E|
|00004a10| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 6d 61 6b |xtractin|g \"'mak|
|00004a20| 65 75 70 27 5c 22 20 5c | 28 31 30 39 32 20 63 68 |eup'\" \|(1092 ch|
|00004a30| 61 72 61 63 74 65 72 73 | 5c 29 0a 73 65 64 20 22 |aracters|\).sed "|
|00004a40| 73 2f 5e 58 2f 2f 22 20 | 3e 27 6d 61 6b 65 75 70 |s/^X//" |>'makeup|
|00004a50| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|00004a60| 27 0a 58 23 21 2f 75 73 | 72 2f 62 69 6e 2f 70 65 |'.X#!/us|r/bin/pe|
|00004a70| 72 6c 0a 58 23 20 74 65 | 73 74 20 70 61 67 65 20 |rl.X# te|st page |
|00004a80| 70 72 69 6e 74 69 6e 67 | 20 66 6f 72 20 75 70 2e |printing| for up.|
|00004a90| 20 20 70 72 69 6e 74 20 | 61 72 67 20 70 61 67 65 | print |arg page|
|00004aa0| 73 2c 20 65 61 63 68 20 | 77 69 74 68 20 61 20 62 |s, each |with a b|
|00004ab0| 6f 78 20 61 72 6f 75 6e | 64 0a 58 23 20 74 68 65 |ox aroun|d.X# the|
|00004ac0| 20 65 64 67 65 73 20 28 | 2e 32 35 20 69 6e 63 68 | edges (|.25 inch|
|00004ad0| 65 73 20 69 6e 29 2c 20 | 61 6e 64 20 74 68 65 20 |es in), |and the |
|00004ae0| 70 61 67 65 20 6e 75 6d | 62 65 72 20 69 6e 20 6c |page num|ber in l|
|00004af0| 61 72 67 65 20 74 79 70 | 65 2e 0a 58 23 20 20 54 |arge typ|e..X# T|
|00004b00| 68 69 73 20 69 73 20 75 | 73 65 66 75 6c 20 66 6f |his is u|seful fo|
|00004b10| 72 20 64 65 62 75 67 67 | 69 6e 67 20 70 61 67 65 |r debugg|ing page|
|00004b20| 20 6c 61 79 6f 75 74 73 | 2c 20 61 73 20 77 65 6c | layouts|, as wel|
|00004b30| 6c 20 61 73 20 6a 75 73 | 74 20 77 61 73 74 69 6e |l as jus|t wastin|
|00004b40| 67 0a 58 23 20 70 61 70 | 65 72 2e 0a 58 23 0a 58 |g.X# pap|er..X#.X|
|00004b50| 23 20 75 73 61 67 65 3a | 20 6d 61 6b 65 75 70 20 |# usage:| makeup |
|00004b60| 63 6f 75 6e 74 0a 58 23 | 0a 58 23 20 6a 67 72 65 |count.X#|.X# jgre|
|00004b70| 65 6c 79 40 63 69 73 2e | 6f 68 69 6f 2d 73 74 61 |ely@cis.|ohio-sta|
|00004b80| 74 65 2e 65 64 75 2c 20 | 38 39 2f 31 30 2f 32 33 |te.edu, |89/10/23|
|00004b90| 0a 58 23 0a 58 24 63 6f | 75 6e 74 20 3d 20 24 41 |.X#.X$co|unt = $A|
|00004ba0| 52 47 56 5b 30 5d 3b 0a | 58 64 69 65 20 22 75 73 |RGV[0];.|Xdie "us|
|00004bb0| 61 67 65 3a 20 6d 61 6b | 65 75 70 20 63 6f 75 6e |age: mak|eup coun|
|00004bc0| 74 5c 6e 22 20 75 6e 6c | 65 73 73 20 24 63 6f 75 |t\n" unl|ess $cou|
|00004bd0| 6e 74 20 3e 20 30 3b 0a | 58 0a 58 24 64 61 74 65 |nt > 0;.|X.X$date|
|00004be0| 20 3d 20 60 64 61 74 65 | 60 3b 0a 58 63 68 6f 70 | = `date|`;.Xchop|
|00004bf0| 28 24 64 61 74 65 29 3b | 0a 58 0a 58 70 72 69 6e |($date);|.X.Xprin|
|00004c00| 74 20 3c 3c 45 4f 46 3b | 0a 58 25 21 50 53 2d 41 |t <<EOF;|.X%!PS-A|
|00004c10| 64 6f 62 65 2d 31 2e 30 | 0a 58 25 25 43 72 65 61 |dobe-1.0|.X%%Crea|
|00004c20| 74 6f 72 3a 20 6d 61 6b | 65 75 70 0a 58 25 25 54 |tor: mak|eup.X%%T|
|00004c30| 69 74 6c 65 3a 20 50 61 | 67 65 20 4c 61 79 6f 75 |itle: Pa|ge Layou|
|00004c40| 74 20 54 65 73 74 0a 58 | 25 25 43 72 65 61 74 69 |t Test.X|%%Creati|
|00004c50| 6f 6e 44 61 74 65 3a 20 | 24 64 61 74 65 0a 58 25 |onDate: |$date.X%|
|00004c60| 25 50 61 67 65 73 3a 20 | 28 61 74 65 6e 64 29 0a |%Pages: |(atend).|
|00004c70| 58 25 25 44 6f 63 75 6d | 65 6e 74 46 6f 6e 74 73 |X%%Docum|entFonts|
|00004c80| 3a 20 54 69 6d 65 73 2d | 52 6f 6d 61 6e 0a 58 25 |: Times-|Roman.X%|
|00004c90| 25 42 6f 75 6e 64 69 6e | 67 42 6f 78 3a 20 30 20 |%Boundin|gBox: 0 |
|00004ca0| 30 20 36 31 32 20 37 39 | 32 0a 58 25 25 45 6e 64 |0 612 79|2.X%%End|
|00004cb0| 43 6f 6d 6d 65 6e 74 73 | 0a 58 2f 69 6e 63 68 20 |Comments|.X/inch |
|00004cc0| 7b 37 32 20 6d 75 6c 7d | 20 64 65 66 0a 58 2f 4e |{72 mul}| def.X/N|
|00004cd0| 66 6f 6e 74 20 2f 54 69 | 6d 65 73 2d 52 6f 6d 61 |font /Ti|mes-Roma|
|00004ce0| 6e 20 66 69 6e 64 66 6f | 6e 74 20 35 20 69 6e 63 |n findfo|nt 5 inc|
|00004cf0| 68 20 73 63 61 6c 65 66 | 6f 6e 74 20 64 65 66 0a |h scalef|ont def.|
|00004d00| 58 2f 64 72 61 77 70 61 | 67 65 20 7b 0a 58 09 32 |X/drawpa|ge {.X.2|
|00004d10| 20 73 65 74 6c 69 6e 65 | 63 61 70 20 33 20 73 65 | setline|cap 3 se|
|00004d20| 74 6c 69 6e 65 77 69 64 | 74 68 20 30 20 73 65 74 |tlinewid|th 0 set|
|00004d30| 67 72 61 79 0a 58 09 4e | 66 6f 6e 74 20 73 65 74 |gray.X.N|font set|
|00004d40| 66 6f 6e 74 0a 58 09 64 | 75 70 20 73 74 72 69 6e |font.X.d|up strin|
|00004d50| 67 77 69 64 74 68 0a 58 | 09 31 31 20 69 6e 63 68 |gwidth.X|.11 inch|
|00004d60| 20 65 78 63 68 20 73 75 | 62 20 32 20 64 69 76 0a | exch su|b 2 div.|
|00004d70| 58 09 65 78 63 68 20 38 | 2e 35 20 69 6e 63 68 20 |X.exch 8|.5 inch |
|00004d80| 65 78 63 68 20 73 75 62 | 20 32 20 64 69 76 0a 58 |exch sub| 2 div.X|
|00004d90| 09 65 78 63 68 20 6d 6f | 76 65 74 6f 20 73 68 6f |.exch mo|veto sho|
|00004da0| 77 0a 58 09 30 2e 32 35 | 20 69 6e 63 68 20 64 75 |w.X.0.25| inch du|
|00004db0| 70 20 6d 6f 76 65 74 6f | 0a 58 09 38 20 69 6e 63 |p moveto|.X.8 inc|
|00004dc0| 68 20 30 20 72 6c 69 6e | 65 74 6f 0a 58 09 30 20 |h 0 rlin|eto.X.0 |
|00004dd0| 31 30 2e 35 20 69 6e 63 | 68 20 72 6c 69 6e 65 74 |10.5 inc|h rlinet|
|00004de0| 6f 0a 58 09 2d 38 20 69 | 6e 63 68 20 30 20 72 6c |o.X.-8 i|nch 0 rl|
|00004df0| 69 6e 65 74 6f 0a 58 09 | 30 20 2d 31 30 2e 35 20 |ineto.X.|0 -10.5 |
|00004e00| 69 6e 63 68 20 72 6c 69 | 6e 65 74 6f 0a 58 09 63 |inch rli|neto.X.c|
|00004e10| 6c 6f 73 65 70 61 74 68 | 20 73 74 72 6f 6b 65 0a |losepath| stroke.|
|00004e20| 58 09 73 68 6f 77 70 61 | 67 65 0a 58 7d 20 64 65 |X.showpa|ge.X} de|
|00004e30| 66 0a 58 25 25 45 6e 64 | 50 72 6f 6c 6f 67 0a 58 |f.X%%End|Prolog.X|
|00004e40| 45 4f 46 0a 58 0a 58 66 | 6f 72 20 28 24 70 61 67 |EOF.X.Xf|or ($pag|
|00004e50| 65 3d 31 3b 24 70 61 67 | 65 20 3c 3d 20 24 63 6f |e=1;$pag|e <= $co|
|00004e60| 75 6e 74 3b 24 70 61 67 | 65 2b 2b 29 20 7b 0a 58 |unt;$pag|e++) {.X|
|00004e70| 09 70 72 69 6e 74 20 22 | 25 25 50 61 67 65 3a 20 |.print "|%%Page: |
|00004e80| 3f 20 24 70 61 67 65 5c | 6e 28 24 70 61 67 65 29 |? $page\|n($page)|
|00004e90| 20 64 72 61 77 70 61 67 | 65 5c 6e 22 3b 0a 58 7d | drawpag|e\n";.X}|
|00004ea0| 0a 58 0a 58 70 72 69 6e | 74 20 3c 3c 45 4f 46 3b |.X.Xprin|t <<EOF;|
|00004eb0| 0a 58 25 25 54 72 61 69 | 6c 65 72 0a 58 25 25 50 |.X%%Trai|ler.X%%P|
|00004ec0| 61 67 65 73 3a 20 24 63 | 6f 75 6e 74 0a 58 45 4f |ages: $c|ount.XEO|
|00004ed0| 46 0a 58 65 78 69 74 28 | 30 29 3b 0a 45 4e 44 5f |F.Xexit(|0);.END_|
|00004ee0| 4f 46 5f 46 49 4c 45 0a | 69 66 20 74 65 73 74 20 |OF_FILE.|if test |
|00004ef0| 31 30 39 32 20 2d 6e 65 | 20 60 77 63 20 2d 63 20 |1092 -ne| `wc -c |
|00004f00| 3c 27 6d 61 6b 65 75 70 | 27 60 3b 20 74 68 65 6e |<'makeup|'`; then|
|00004f10| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00004f20| 5c 22 27 6d 61 6b 65 75 | 70 27 5c 22 20 75 6e 70 |\"'makeu|p'\" unp|
|00004f30| 61 63 6b 65 64 20 77 69 | 74 68 20 77 72 6f 6e 67 |acked wi|th wrong|
|00004f40| 20 73 69 7a 65 21 0a 66 | 69 0a 63 68 6d 6f 64 20 | size!.f|i.chmod |
|00004f50| 2b 78 20 27 6d 61 6b 65 | 75 70 27 0a 23 20 65 6e |+x 'make|up'.# en|
|00004f60| 64 20 6f 66 20 27 6d 61 | 6b 65 75 70 27 0a 66 69 |d of 'ma|keup'.fi|
|00004f70| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 70 61 72 |.if test| -f 'par|
|00004f80| 72 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |r' -a "$|{1}" != |
|00004f90| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00004fa0| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00004fb0| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00004fc0| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 70 61 72 72 |ing file| \"'parr|
|00004fd0| 27 5c 22 0a 65 6c 73 65 | 0a 65 63 68 6f 20 73 68 |'\".else|.echo sh|
|00004fe0| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|00004ff0| 22 27 70 61 72 72 27 5c | 22 20 5c 28 32 36 36 31 |"'parr'\|" \(2661|
|00005000| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|00005010| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 70 61 72 |d "s/^X/|/" >'par|
|00005020| 72 27 20 3c 3c 27 45 4e | 44 5f 4f 46 5f 46 49 4c |r' <<'EN|D_OF_FIL|
|00005030| 45 27 0a 58 23 21 2f 75 | 73 72 2f 62 69 6e 2f 70 |E'.X#!/u|sr/bin/p|
|00005040| 65 72 6c 0a 58 23 70 61 | 72 72 3a 0a 58 23 20 72 |erl.X#pa|rr:.X# r|
|00005050| 65 61 72 72 61 6e 67 65 | 20 63 6f 6e 66 6f 72 6d |earrange| conform|
|00005060| 69 6e 67 20 50 53 20 63 | 6f 64 65 20 74 6f 20 70 |ing PS c|ode to p|
|00005070| 72 69 6e 74 20 74 68 65 | 20 70 61 67 65 73 20 69 |rint the| pages i|
|00005080| 6e 20 61 6e 20 61 72 62 | 69 74 72 61 72 79 0a 58 |n an arb|itrary.X|
|00005090| 23 20 6f 72 64 65 72 2e | 20 20 54 68 65 20 2d 5b |# order.| The -[|
|000050a0| 73 53 5d 20 6f 70 74 69 | 6f 6e 73 20 28 66 6f 72 |sS] opti|ons (for|
|000050b0| 20 73 69 67 6e 61 74 75 | 72 65 20 6f 72 64 65 72 | signatu|re order|
|000050c0| 29 20 61 73 73 75 6d 65 | 20 74 77 6f 2d 75 70 2c |) assume| two-up,|
|000050d0| 20 6c 65 66 74 0a 58 23 | 20 74 6f 20 72 69 67 68 | left.X#| to righ|
|000050e0| 74 2e 20 20 54 68 65 20 | 2d 6f 20 6f 70 74 69 6f |t. The |-o optio|
|000050f0| 6e 20 74 61 6b 65 73 20 | 61 20 6c 69 73 74 20 6f |n takes |a list o|
|00005100| 66 20 72 61 6e 67 65 73 | 2c 20 6c 69 6b 65 20 74 |f ranges|, like t|
|00005110| 68 69 73 3a 0a 58 23 09 | 31 2d 35 20 20 20 20 31 |his:.X#.|1-5 1|
|00005120| 2d 31 30 2c 31 31 2d 32 | 30 20 20 20 20 31 31 2d |-10,11-2|0 11-|
|00005130| 2c 31 2d 31 30 0a 58 23 | 20 75 73 61 67 65 3a 20 |,1-10.X#| usage: |
|00005140| 70 61 72 72 20 5b 2d 6f | 20 6c 69 73 74 5d 20 5b |parr [-o| list] [|
|00005150| 2d 73 5d 20 5b 2d 53 20 | 6e 5d 20 5b 66 69 6c 65 |-s] [-S |n] [file|
|00005160| 5d 0a 58 23 0a 58 23 20 | 6a 67 72 65 65 6c 79 40 |].X#.X# |jgreely@|
|00005170| 63 69 73 2e 6f 68 69 6f | 2d 73 74 61 74 65 2e 65 |cis.ohio|-state.e|
|00005180| 64 75 2c 20 38 39 2f 31 | 30 2f 32 33 0a 58 0a 58 |du, 89/1|0/23.X.X|
|00005190| 24 6f 72 64 65 72 3d 27 | 27 3b 0a 58 24 73 69 67 |$order='|';.X$sig|
|000051a0| 6e 46 6c 61 67 3d 27 27 | 3b 0a 58 24 73 69 67 6e |nFlag=''|;.X$sign|
|000051b0| 43 6f 75 6e 74 3d 30 3b | 0a 58 24 44 45 42 55 47 |Count=0;|.X$DEBUG|
|000051c0| 3d 30 3b 0a 58 24 72 61 | 6e 67 65 50 72 69 6e 74 |=0;.X$ra|ngePrint|
|000051d0| 3d 30 3b 0a 58 24 54 4d | 50 44 49 52 3d 27 2f 74 |=0;.X$TM|PDIR='/t|
|000051e0| 6d 70 27 3b 0a 58 0a 58 | 77 68 69 6c 65 20 28 24 |mp';.X.X|while ($|
|000051f0| 5f 20 3d 20 24 41 52 47 | 56 5b 30 5d 2c 2f 5e 2d |_ = $ARG|V[0],/^-|
|00005200| 2f 29 20 7b 0a 58 09 73 | 68 69 66 74 3b 0a 58 09 |/) {.X.s|hift;.X.|
|00005210| 6c 61 73 74 20 69 66 20 | 2f 5e 2d 5c 2d 24 2f 3b |last if |/^-\-$/;|
|00005220| 0a 58 09 2f 5e 2d 6f 2f | 20 26 26 20 28 24 6f 72 |.X./^-o/| && ($or|
|00005230| 64 65 72 20 3d 20 73 68 | 69 66 74 2c 6e 65 78 74 |der = sh|ift,next|
|00005240| 29 3b 0a 58 09 2f 5e 2d | 53 2f 20 26 26 20 28 24 |);.X./^-|S/ && ($|
|00005250| 73 69 67 6e 43 6f 75 6e | 74 20 3d 20 73 68 69 66 |signCoun|t = shif|
|00005260| 74 2c 24 73 69 67 6e 46 | 6c 61 67 2b 2b 2c 6e 65 |t,$signF|lag++,ne|
|00005270| 78 74 29 3b 0a 58 09 2f | 5e 2d 73 2f 20 26 26 20 |xt);.X./|^-s/ && |
|00005280| 28 24 73 69 67 6e 46 6c | 61 67 2b 2b 2c 6e 65 78 |($signFl|ag++,nex|
|00005290| 74 29 3b 0a 58 09 2f 5e | 2d 64 2f 20 26 26 20 28 |t);.X./^|-d/ && (|
|000052a0| 24 44 45 42 55 47 2b 2b | 2c 6e 65 78 74 29 3b 0a |$DEBUG++|,next);.|
|000052b0| 58 09 2f 5e 2d 72 2f 20 | 26 26 20 28 24 72 61 6e |X./^-r/ |&& ($ran|
|000052c0| 67 65 50 72 69 6e 74 2b | 2b 2c 6e 65 78 74 29 3b |gePrint+|+,next);|
|000052d0| 0a 58 09 64 69 65 20 22 | 75 73 61 67 65 3a 20 70 |.X.die "|usage: p|
|000052e0| 61 72 72 20 5b 2d 64 5d | 20 5b 2d 72 5d 20 5b 2d |arr [-d]| [-r] [-|
|000052f0| 6f 20 6c 69 73 74 5d 20 | 5b 2d 73 5d 20 5b 2d 53 |o list] |[-s] [-S|
|00005300| 20 6e 5d 20 5b 66 69 6c | 65 5d 5c 6e 22 3b 0a 58 | n] [fil|e]\n";.X|
|00005310| 7d 0a 58 69 66 20 28 24 | 73 69 67 6e 46 6c 61 67 |}.Xif ($|signFlag|
|00005320| 20 26 26 20 24 6f 72 64 | 65 72 29 20 7b 0a 58 09 | && $ord|er) {.X.|
|00005330| 64 69 65 20 22 70 61 72 | 72 3a 20 2d 73 20 61 6e |die "par|r: -s an|
|00005340| 64 20 2d 6f 20 63 61 6e | 6e 6f 74 20 62 65 20 75 |d -o can|not be u|
|00005350| 73 65 64 20 74 6f 67 65 | 74 68 65 72 5c 6e 22 3b |sed toge|ther\n";|
|00005360| 0a 58 7d 0a 58 0a 58 24 | 66 69 6c 65 20 3d 20 22 |.X}.X.X$|file = "|
|00005370| 24 54 4d 50 44 49 52 2f | 70 24 24 2e 68 65 61 64 |$TMPDIR/|p$$.head|
|00005380| 65 72 22 3b 0a 58 40 66 | 69 6c 65 73 20 3d 20 28 |er";.X@f|iles = (|
|00005390| 24 66 69 6c 65 29 3b 0a | 58 24 73 68 65 65 74 3d |$file);.|X$sheet=|
|000053a0| 30 3b 0a 58 6f 70 65 6e | 28 66 69 6c 65 2c 22 3e |0;.Xopen|(file,">|
|000053b0| 24 66 69 6c 65 22 29 20 | 7c 7c 0a 58 20 20 64 69 |$file") |||.X di|
|000053c0| 65 20 22 24 66 69 6c 65 | 3a 20 24 21 2c 20 73 74 |e "$file|: $!, st|
|000053d0| 6f 70 70 65 64 22 3b 0a | 58 77 68 69 6c 65 20 28 |opped";.|Xwhile (|
|000053e0| 3c 3e 29 20 7b 0a 58 09 | 23 0a 58 09 23 20 68 61 |<>) {.X.|#.X.# ha|
|000053f0| 63 6b 20 74 6f 20 75 73 | 65 20 4e 65 58 54 20 50 |ck to us|e NeXT P|
|00005400| 72 65 76 69 65 77 3a 20 | 73 74 72 69 70 20 6f 6c |review: |strip ol|
|00005410| 64 20 27 25 25 50 61 67 | 65 73 3a 27 20 6c 69 6e |d '%%Pag|es:' lin|
|00005420| 65 73 0a 58 09 23 0a 58 | 09 6e 65 78 74 20 69 66 |es.X.#.X|.next if|
|00005430| 20 2f 5e 25 25 50 61 67 | 65 73 3a 2f 3b 0a 58 09 | /^%%Pag|es:/;.X.|
|00005440| 69 66 20 28 2f 5e 25 25 | 50 61 67 65 3a 2f 29 20 |if (/^%%|Page:/) |
|00005450| 7b 0a 58 09 09 63 6c 6f | 73 65 28 66 69 6c 65 29 |{.X..clo|se(file)|
|00005460| 3b 0a 58 09 09 24 73 68 | 65 65 74 2b 2b 3b 0a 58 |;.X..$sh|eet++;.X|
|00005470| 09 09 24 66 69 6c 65 20 | 3d 20 22 24 54 4d 50 44 |..$file |= "$TMPD|
|00005480| 49 52 2f 70 24 24 2e 24 | 73 68 65 65 74 22 3b 0a |IR/p$$.$|sheet";.|
|00005490| 58 09 09 70 75 73 68 28 | 40 66 69 6c 65 73 2c 24 |X..push(|@files,$|
|000054a0| 66 69 6c 65 29 3b 0a 58 | 09 09 6f 70 65 6e 28 66 |file);.X|..open(f|
|000054b0| 69 6c 65 2c 22 3e 24 66 | 69 6c 65 22 29 20 7c 7c |ile,">$f|ile") |||
|000054c0| 0a 58 09 09 20 20 64 69 | 65 20 22 24 66 69 6c 65 |.X.. di|e "$file|
|000054d0| 3a 20 24 21 2c 20 73 74 | 6f 70 70 65 64 22 3b 0a |: $!, st|opped";.|
|000054e0| 58 09 7d 0a 58 09 69 66 | 20 28 2f 5e 25 25 54 72 |X.}.X.if| (/^%%Tr|
|000054f0| 61 69 6c 65 72 2f 29 20 | 7b 0a 58 09 09 63 6c 6f |ailer/) |{.X..clo|
|00005500| 73 65 28 66 69 6c 65 29 | 3b 0a 58 09 09 24 66 69 |se(file)|;.X..$fi|
|00005510| 6c 65 20 3d 20 22 24 54 | 4d 50 44 49 52 2f 70 24 |le = "$T|MPDIR/p$|
|00005520| 24 2e 74 72 61 69 6c 65 | 72 22 3b 0a 58 09 09 70 |$.traile|r";.X..p|
|00005530| 75 73 68 28 40 66 69 6c | 65 73 2c 24 66 69 6c 65 |ush(@fil|es,$file|
|00005540| 29 3b 0a 58 09 09 6f 70 | 65 6e 28 66 69 6c 65 2c |);.X..op|en(file,|
|00005550| 22 3e 24 66 69 6c 65 22 | 29 20 7c 7c 0a 58 09 09 |">$file"|) ||.X..|
|00005560| 20 20 64 69 65 20 22 24 | 66 69 6c 65 3a 20 24 21 | die "$|file: $!|
|00005570| 2c 20 73 74 6f 70 70 65 | 64 22 3b 0a 58 09 7d 0a |, stoppe|d";.X.}.|
|00005580| 58 09 70 72 69 6e 74 20 | 66 69 6c 65 20 24 5f 3b |X.print |file $_;|
|00005590| 0a 58 7d 0a 58 63 6c 6f | 73 65 28 66 69 6c 65 29 |.X}.Xclo|se(file)|
|000055a0| 3b 0a 58 0a 58 40 6f 72 | 64 65 72 20 3d 20 28 29 |;.X.X@or|der = ()|
|000055b0| 3b 0a 58 69 66 20 28 24 | 6f 72 64 65 72 29 20 7b |;.Xif ($|order) {|
|000055c0| 0a 58 09 66 6f 72 65 61 | 63 68 20 24 72 61 6e 67 |.X.forea|ch $rang|
|000055d0| 65 20 28 73 70 6c 69 74 | 28 2f 2c 2f 2c 24 6f 72 |e (split|(/,/,$or|
|000055e0| 64 65 72 29 29 20 7b 0a | 58 09 09 28 24 73 74 61 |der)) {.|X..($sta|
|000055f0| 72 74 2c 24 73 65 70 2c | 24 65 6e 64 29 20 3d 20 |rt,$sep,|$end) = |
|00005600| 73 70 6c 69 74 28 2f 28 | 2d 29 2f 2c 24 72 61 6e |split(/(|-)/,$ran|
|00005610| 67 65 29 3b 0a 58 09 09 | 24 73 74 61 72 74 20 3d |ge);.X..|$start =|
|00005620| 20 31 20 75 6e 6c 65 73 | 73 20 24 73 74 61 72 74 | 1 unles|s $start|
|00005630| 3b 0a 58 09 09 24 65 6e | 64 20 3d 20 24 73 68 65 |;.X..$en|d = $she|
|00005640| 65 74 20 75 6e 6c 65 73 | 73 20 24 65 6e 64 3b 0a |et unles|s $end;.|
|00005650| 58 09 09 69 66 20 28 24 | 73 65 70 29 20 7b 0a 58 |X..if ($|sep) {.X|
|00005660| 09 09 09 70 75 73 68 28 | 40 6f 72 64 65 72 2c 24 |...push(|@order,$|
|00005670| 73 74 61 72 74 2e 2e 24 | 65 6e 64 29 3b 0a 58 09 |start..$|end);.X.|
|00005680| 09 7d 65 6c 73 65 7b 0a | 58 09 09 09 70 75 73 68 |.}else{.|X...push|
|00005690| 28 40 6f 72 64 65 72 2c | 24 73 74 61 72 74 29 3b |(@order,|$start);|
|000056a0| 0a 58 09 09 7d 0a 58 09 | 7d 0a 58 7d 65 6c 73 69 |.X..}.X.|}.X}elsi|
|000056b0| 66 20 28 24 73 69 67 6e | 46 6c 61 67 29 20 7b 0a |f ($sign|Flag) {.|
|000056c0| 58 09 69 66 20 28 21 20 | 24 73 69 67 6e 43 6f 75 |X.if (! |$signCou|
|000056d0| 6e 74 29 20 7b 0a 58 09 | 09 24 73 69 67 6e 43 6f |nt) {.X.|.$signCo|
|000056e0| 75 6e 74 20 3d 20 24 73 | 68 65 65 74 3b 0a 58 09 |unt = $s|heet;.X.|
|000056f0| 09 24 73 69 67 6e 43 6f | 75 6e 74 20 2b 3d 20 28 |.$signCo|unt += (|
|00005700| 34 20 2d 20 24 73 68 65 | 65 74 20 25 20 34 29 20 |4 - $she|et % 4) |
|00005710| 69 66 20 28 24 73 68 65 | 65 74 20 25 20 34 29 3b |if ($she|et % 4);|
|00005720| 0a 58 09 7d 65 6c 73 65 | 7b 0a 58 09 09 24 73 69 |.X.}else|{.X..$si|
|00005730| 67 6e 43 6f 75 6e 74 20 | 2a 3d 34 3b 0a 58 09 7d |gnCount |*=4;.X.}|
|00005740| 0a 58 09 66 6f 72 28 24 | 62 61 73 65 3d 30 3b 24 |.X.for($|base=0;$|
|00005750| 62 61 73 65 3c 24 73 68 | 65 65 74 3b 24 62 61 73 |base<$sh|eet;$bas|
|00005760| 65 2b 3d 24 73 69 67 6e | 43 6f 75 6e 74 29 20 7b |e+=$sign|Count) {|
|00005770| 0a 58 09 09 40 74 6d 70 | 20 3d 20 28 24 73 69 67 |.X..@tmp| = ($sig|
|00005780| 6e 43 6f 75 6e 74 2f 32 | 2b 24 62 61 73 65 29 3b |nCount/2|+$base);|
|00005790| 0a 58 09 09 70 75 73 68 | 28 40 74 6d 70 2c 24 74 |.X..push|(@tmp,$t|
|000057a0| 6d 70 5b 30 5d 2b 31 2c | 24 74 6d 70 5b 30 5d 2b |mp[0]+1,|$tmp[0]+|
|000057b0| 32 2c 24 74 6d 70 5b 30 | 5d 2d 31 29 3b 0a 58 09 |2,$tmp[0|]-1);.X.|
|000057c0| 09 77 68 69 6c 65 20 28 | 24 74 6d 70 5b 33 5d 20 |.while (|$tmp[3] |
|000057d0| 3e 20 24 62 61 73 65 29 | 20 7b 0a 58 09 09 09 70 |> $base)| {.X...p|
|000057e0| 75 73 68 28 40 6f 72 64 | 65 72 2c 40 74 6d 70 29 |ush(@ord|er,@tmp)|
|000057f0| 3b 0a 58 09 09 09 40 74 | 6d 70 20 3d 20 28 24 74 |;.X...@t|mp = ($t|
|00005800| 6d 70 5b 30 5d 2d 32 2c | 24 74 6d 70 5b 31 5d 2b |mp[0]-2,|$tmp[1]+|
|00005810| 32 2c 24 74 6d 70 5b 32 | 5d 2b 32 2c 24 74 6d 70 |2,$tmp[2|]+2,$tmp|
|00005820| 5b 33 5d 2d 32 29 3b 0a | 58 09 09 7d 0a 58 09 7d |[3]-2);.|X..}.X.}|
|00005830| 0a 58 7d 65 6c 73 65 7b | 0a 58 09 40 6f 72 64 65 |.X}else{|.X.@orde|
|00005840| 72 20 3d 20 28 31 2e 2e | 24 73 68 65 65 74 29 3b |r = (1..|$sheet);|
|00005850| 0a 58 7d 0a 58 0a 58 40 | 74 6d 70 3d 40 6f 72 64 |.X}.X.X@|tmp=@ord|
|00005860| 65 72 3b 0a 58 40 6f 72 | 64 65 72 3d 28 29 3b 0a |er;.X@or|der=();.|
|00005870| 58 66 6f 72 65 61 63 68 | 20 24 70 61 67 65 20 28 |Xforeach| $page (|
|00005880| 40 74 6d 70 29 20 7b 0a | 58 09 70 75 73 68 28 40 |@tmp) {.|X.push(@|
|00005890| 6f 72 64 65 72 2c 24 70 | 61 67 65 20 3e 20 24 73 |order,$p|age > $s|
|000058a0| 68 65 65 74 20 3f 20 22 | 42 22 20 3a 20 24 70 61 |heet ? "|B" : $pa|
|000058b0| 67 65 29 3b 0a 58 7d 0a | 58 0a 58 69 66 20 28 24 |ge);.X}.|X.Xif ($|
|000058c0| 72 61 6e 67 65 50 72 69 | 6e 74 29 20 7b 0a 58 09 |rangePri|nt) {.X.|
|000058d0| 70 72 69 6e 74 20 6a 6f | 69 6e 28 27 2c 27 2c 40 |print jo|in(',',@|
|000058e0| 6f 72 64 65 72 29 2c 22 | 5c 6e 22 3b 0a 58 09 75 |order),"|\n";.X.u|
|000058f0| 6e 6c 69 6e 6b 20 40 66 | 69 6c 65 73 20 75 6e 6c |nlink @f|iles unl|
|00005900| 65 73 73 20 24 44 45 42 | 55 47 3b 0a 58 09 65 78 |ess $DEB|UG;.X.ex|
|00005910| 69 74 28 30 29 3b 0a 58 | 7d 0a 58 0a 58 6f 70 65 |it(0);.X|}.X.Xope|
|00005920| 6e 28 66 69 6c 65 2c 22 | 24 54 4d 50 44 49 52 2f |n(file,"|$TMPDIR/|
|00005930| 70 24 24 2e 68 65 61 64 | 65 72 22 29 3b 0a 58 24 |p$$.head|er");.X$|
|00005940| 5f 20 3d 20 3c 66 69 6c | 65 3e 3b 0a 58 70 72 69 |_ = <fil|e>;.Xpri|
|00005950| 6e 74 20 24 5f 2c 22 25 | 25 50 61 67 65 73 3a 20 |nt $_,"%|%Pages: |
|00005960| 28 61 74 65 6e 64 29 5c | 6e 22 3b 0a 58 70 72 69 |(atend)\|n";.Xpri|
|00005970| 6e 74 20 77 68 69 6c 65 | 20 3c 66 69 6c 65 3e 3b |nt while| <file>;|
|00005980| 0a 58 63 6c 6f 73 65 28 | 66 69 6c 65 29 3b 0a 58 |.Xclose(|file);.X|
|00005990| 0a 58 66 6f 72 65 61 63 | 68 20 24 70 61 67 65 20 |.Xforeac|h $page |
|000059a0| 28 40 6f 72 64 65 72 29 | 20 7b 0a 58 09 24 63 6f |(@order)| {.X.$co|
|000059b0| 75 6e 74 2b 2b 3b 0a 58 | 09 70 72 69 6e 74 20 22 |unt++;.X|.print "|
|000059c0| 25 25 50 61 67 65 3a 20 | 3f 20 24 63 6f 75 6e 74 |%%Page: |? $count|
|000059d0| 5c 6e 25 25 4f 6c 64 50 | 61 67 65 3a 20 24 70 61 |\n%%OldP|age: $pa|
|000059e0| 67 65 5c 6e 22 3b 0a 58 | 09 69 66 20 28 24 70 61 |ge\n";.X|.if ($pa|
|000059f0| 67 65 20 65 71 20 22 42 | 22 29 20 7b 0a 58 09 09 |ge eq "B|") {.X..|
|00005a00| 70 72 69 6e 74 20 22 73 | 68 6f 77 70 61 67 65 5c |print "s|howpage\|
|00005a10| 6e 22 3b 0a 58 09 7d 65 | 6c 73 65 7b 0a 58 09 09 |n";.X.}e|lse{.X..|
|00005a20| 6f 70 65 6e 28 66 69 6c | 65 2c 22 24 54 4d 50 44 |open(fil|e,"$TMPD|
|00005a30| 49 52 2f 70 24 24 2e 24 | 70 61 67 65 22 29 3b 0a |IR/p$$.$|page");.|
|00005a40| 58 09 09 77 68 69 6c 65 | 20 28 3c 66 69 6c 65 3e |X..while| (<file>|
|00005a50| 29 20 7b 0a 58 09 09 09 | 70 72 69 6e 74 20 75 6e |) {.X...|print un|
|00005a60| 6c 65 73 73 20 2f 5e 25 | 25 50 61 67 65 3a 2f 3b |less /^%|%Page:/;|
|00005a70| 0a 58 09 09 7d 0a 58 09 | 09 63 6c 6f 73 65 28 66 |.X..}.X.|.close(f|
|00005a80| 69 6c 65 29 3b 0a 58 09 | 7d 0a 58 7d 0a 58 6f 70 |ile);.X.|}.X}.Xop|
|00005a90| 65 6e 28 66 69 6c 65 2c | 22 24 54 4d 50 44 49 52 |en(file,|"$TMPDIR|
|00005aa0| 2f 70 24 24 2e 74 72 61 | 69 6c 65 72 22 29 3b 0a |/p$$.tra|iler");.|
|00005ab0| 58 70 72 69 6e 74 20 77 | 68 69 6c 65 20 3c 66 69 |Xprint w|hile <fi|
|00005ac0| 6c 65 3e 3b 0a 58 63 6c | 6f 73 65 28 66 69 6c 65 |le>;.Xcl|ose(file|
|00005ad0| 29 3b 0a 58 70 72 69 6e | 74 20 22 25 25 50 61 67 |);.Xprin|t "%%Pag|
|00005ae0| 65 73 3a 20 24 63 6f 75 | 6e 74 5c 6e 22 3b 0a 58 |es: $cou|nt\n";.X|
|00005af0| 0a 58 75 6e 6c 69 6e 6b | 20 40 66 69 6c 65 73 20 |.Xunlink| @files |
|00005b00| 75 6e 6c 65 73 73 20 24 | 44 45 42 55 47 3b 0a 58 |unless $|DEBUG;.X|
|00005b10| 65 78 69 74 28 30 29 3b | 0a 45 4e 44 5f 4f 46 5f |exit(0);|.END_OF_|
|00005b20| 46 49 4c 45 0a 69 66 20 | 74 65 73 74 20 32 36 36 |FILE.if |test 266|
|00005b30| 31 20 2d 6e 65 20 60 77 | 63 20 2d 63 20 3c 27 70 |1 -ne `w|c -c <'p|
|00005b40| 61 72 72 27 60 3b 20 74 | 68 65 6e 0a 20 20 20 20 |arr'`; t|hen. |
|00005b50| 65 63 68 6f 20 73 68 61 | 72 3a 20 5c 22 27 70 61 |echo sha|r: \"'pa|
|00005b60| 72 72 27 5c 22 20 75 6e | 70 61 63 6b 65 64 20 77 |rr'\" un|packed w|
|00005b70| 69 74 68 20 77 72 6f 6e | 67 20 73 69 7a 65 21 0a |ith wron|g size!.|
|00005b80| 66 69 0a 63 68 6d 6f 64 | 20 2b 78 20 27 70 61 72 |fi.chmod| +x 'par|
|00005b90| 72 27 0a 23 20 65 6e 64 | 20 6f 66 20 27 70 61 72 |r'.# end| of 'par|
|00005ba0| 72 27 0a 66 69 0a 69 66 | 20 74 65 73 74 20 2d 66 |r'.fi.if| test -f|
|00005bb0| 20 27 75 70 2e 72 63 27 | 20 2d 61 20 22 24 7b 31 | 'up.rc'| -a "${1|
|00005bc0| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|00005bd0| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|00005be0| 57 69 6c 6c 20 6e 6f 74 | 20 63 6c 6f 62 62 65 72 |Will not| clobber|
|00005bf0| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|00005c00| 22 27 75 70 2e 72 63 27 | 5c 22 0a 65 6c 73 65 0a |"'up.rc'|\".else.|
|00005c10| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 78 74 72 61 |echo sha|r: Extra|
|00005c20| 63 74 69 6e 67 20 5c 22 | 27 75 70 2e 72 63 27 5c |cting \"|'up.rc'\|
|00005c30| 22 20 5c 28 33 30 38 36 | 20 63 68 61 72 61 63 74 |" \(3086| charact|
|00005c40| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|00005c50| 2f 22 20 3e 27 75 70 2e | 72 63 27 20 3c 3c 27 45 |/" >'up.|rc' <<'E|
|00005c60| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 23 20 6a |ND_OF_FI|LE'.X# j|
|00005c70| 67 72 65 65 6c 79 40 63 | 69 73 2e 6f 68 69 6f 2d |greely@c|is.ohio-|
|00005c80| 73 74 61 74 65 2e 65 64 | 75 2c 20 38 39 2f 31 30 |state.ed|u, 89/10|
|00005c90| 2f 32 33 0a 58 23 0a 58 | 0a 58 23 20 74 68 69 73 |/23.X#.X|.X# this|
|00005ca0| 20 69 73 20 74 68 65 20 | 6e 6f 72 6d 61 6c 20 70 | is the |normal p|
|00005cb0| 72 6f 6c 6f 67 2c 20 61 | 6e 64 20 64 65 66 69 6e |rolog, a|nd defin|
|00005cc0| 65 73 20 65 76 65 72 79 | 74 68 69 6e 67 20 75 73 |es every|thing us|
|00005cd0| 65 64 20 62 65 6c 6f 77 | 0a 58 23 0a 58 70 72 6f |ed below|.X#.Xpro|
|00005ce0| 6c 6f 67 3d 0a 58 2f 69 | 6e 63 68 20 7b 37 32 20 |log=.X/i|nch {72 |
|00005cf0| 6d 75 6c 7d 20 64 65 66 | 0a 58 2f 6d 6f 76 65 55 |mul} def|.X/moveU|
|00005d00| 20 7b 30 20 31 31 20 69 | 6e 63 68 20 74 72 61 6e | {0 11 i|nch tran|
|00005d10| 73 6c 61 74 65 7d 20 64 | 65 66 0a 58 2f 6d 6f 76 |slate} d|ef.X/mov|
|00005d20| 65 52 20 7b 38 2e 35 20 | 69 6e 63 68 20 30 20 74 |eR {8.5 |inch 0 t|
|00005d30| 72 61 6e 73 6c 61 74 65 | 7d 20 64 65 66 0a 58 2f |ranslate|} def.X/|
|00005d40| 6d 6f 76 65 44 20 7b 30 | 20 2d 31 31 20 69 6e 63 |moveD {0| -11 inc|
|00005d50| 68 20 74 72 61 6e 73 6c | 61 74 65 7d 20 64 65 66 |h transl|ate} def|
|00005d60| 0a 58 2f 6d 6f 76 65 4c | 20 7b 2d 38 2e 35 20 69 |.X/moveL| {-8.5 i|
|00005d70| 6e 63 68 20 30 20 74 72 | 61 6e 73 6c 61 74 65 7d |nch 0 tr|anslate}|
|00005d80| 20 64 65 66 0a 58 2f 72 | 6f 74 52 20 7b 2d 39 30 | def.X/r|otR {-90|
|00005d90| 20 72 6f 74 61 74 65 7d | 20 64 65 66 0a 58 2f 72 | rotate}| def.X/r|
|00005da0| 6f 74 4c 20 7b 39 30 20 | 72 6f 74 61 74 65 7d 20 |otL {90 |rotate} |
|00005db0| 64 65 66 0a 58 2f 64 6f | 53 70 69 72 61 6c 20 7b |def.X/do|Spiral {|
|00005dc0| 6d 6f 76 65 55 20 6d 6f | 76 65 52 20 72 6f 74 52 |moveU mo|veR rotR|
|00005dd0| 20 30 2e 36 37 20 64 75 | 70 20 73 63 61 6c 65 7d | 0.67 du|p scale}|
|00005de0| 20 64 65 66 0a 58 2f 6d | 6f 76 65 48 55 20 7b 20 | def.X/m|oveHU { |
|00005df0| 30 20 35 2e 35 20 69 6e | 63 68 20 74 72 61 6e 73 |0 5.5 in|ch trans|
|00005e00| 6c 61 74 65 7d 20 64 65 | 66 0a 58 2f 64 6f 52 65 |late} de|f.X/doRe|
|00005e10| 76 53 70 69 72 61 6c 20 | 7b 6d 6f 76 65 48 55 20 |vSpiral |{moveHU |
|00005e20| 72 6f 74 4c 20 30 2e 36 | 37 20 64 75 70 20 73 63 |rotL 0.6|7 dup sc|
|00005e30| 61 6c 65 7d 20 64 65 66 | 0a 58 2e 0a 58 0a 58 23 |ale} def|.X..X.X#|
|00005e40| 20 75 70 20 69 73 20 61 | 20 73 79 6e 6f 6e 79 6d | up is a| synonym|
|00005e50| 20 66 6f 72 20 74 77 6f | 75 70 2c 20 73 69 6e 63 | for two|up, sinc|
|00005e60| 65 20 6d 79 20 63 6f 64 | 65 20 64 6f 65 73 6e 27 |e my cod|e doesn'|
|00005e70| 74 20 77 6f 72 6b 20 63 | 6f 72 72 65 63 74 6c 79 |t work c|orrectly|
|00005e80| 20 66 6f 72 0a 58 23 20 | 74 68 65 20 63 61 73 65 | for.X# |the case|
|00005e90| 20 6e 3d 3d 31 2e 20 20 | 55 6e 74 69 6c 20 49 20 | n==1. |Until I |
|00005ea0| 72 6f 62 75 73 74 69 66 | 79 20 69 74 2c 20 74 68 |robustif|y it, th|
|00005eb0| 69 73 20 77 69 6c 6c 20 | 73 74 61 79 2e 0a 58 23 |is will |stay..X#|
|00005ec0| 0a 58 6e 61 6d 65 3d 75 | 70 0a 58 6d 6f 64 75 6c |.Xname=u|p.Xmodul|
|00005ed0| 75 73 3d 32 0a 58 73 63 | 61 6c 65 3d 37 2e 37 35 |us=2.Xsc|ale=7.75|
|00005ee0| 20 69 6e 63 68 20 30 20 | 74 72 61 6e 73 6c 61 74 | inch 0 |translat|
|00005ef0| 65 20 72 6f 74 4c 20 31 | 31 20 31 37 20 64 69 76 |e rotL 1|1 17 div|
|00005f00| 20 64 75 70 20 73 63 61 | 6c 65 0a 58 31 3d 0a 58 | dup sca|le.X1=.X|
|00005f10| 32 3d 6d 6f 76 65 52 0a | 58 2e 0a 58 0a 58 6e 61 |2=moveR.|X..X.Xna|
|00005f20| 6d 65 3d 32 75 70 0a 58 | 6d 6f 64 75 6c 75 73 3d |me=2up.X|modulus=|
|00005f30| 32 0a 58 73 63 61 6c 65 | 3d 37 2e 37 35 20 69 6e |2.Xscale|=7.75 in|
|00005f40| 63 68 20 30 20 74 72 61 | 6e 73 6c 61 74 65 20 72 |ch 0 tra|nslate r|
|00005f50| 6f 74 4c 20 31 31 20 31 | 37 20 64 69 76 20 64 75 |otL 11 1|7 div du|
|00005f60| 70 20 73 63 61 6c 65 0a | 58 31 3d 0a 58 32 3d 6d |p scale.|X1=.X2=m|
|00005f70| 6f 76 65 52 0a 58 2e 0a | 58 0a 58 23 20 74 77 6f |oveR.X..|X.X# two|
|00005f80| 2d 75 70 20 77 69 74 68 | 20 65 76 65 6e 20 70 61 |-up with| even pa|
|00005f90| 67 65 73 20 72 6f 74 61 | 74 65 64 2c 20 66 6f 72 |ges rota|ted, for|
|00005fa0| 20 64 6f 75 62 6c 65 2d | 73 69 64 69 6e 67 0a 58 | double-|siding.X|
|00005fb0| 23 0a 58 6e 61 6d 65 3d | 70 75 70 0a 58 6d 6f 64 |#.Xname=|pup.Xmod|
|00005fc0| 75 6c 75 73 3d 32 0a 58 | 65 76 65 6e 3d 6d 6f 76 |ulus=2.X|even=mov|
|00005fd0| 65 55 20 6d 6f 76 65 52 | 20 72 6f 74 52 20 72 6f |eU moveR| rotR ro|
|00005fe0| 74 52 0a 58 6f 64 64 3d | 0a 58 73 63 61 6c 65 3d |tR.Xodd=|.Xscale=|
|00005ff0| 37 2e 37 35 20 69 6e 63 | 68 20 30 20 74 72 61 6e |7.75 inc|h 0 tran|
|00006000| 73 6c 61 74 65 20 72 6f | 74 4c 20 31 31 20 31 37 |slate ro|tL 11 17|
|00006010| 20 64 69 76 20 64 75 70 | 20 73 63 61 6c 65 0a 58 | div dup| scale.X|
|00006020| 31 3d 0a 58 32 3d 6d 6f | 76 65 52 0a 58 2e 0a 58 |1=.X2=mo|veR.X..X|
|00006030| 0a 58 23 20 6e 6f 74 65 | 20 74 68 61 74 20 34 75 |.X# note| that 4u|
|00006040| 70 20 69 73 20 73 63 61 | 6c 65 64 20 61 20 62 69 |p is sca|led a bi|
|00006050| 74 20 73 6d 61 6c 6c 65 | 72 20 74 68 61 6e 20 79 |t smalle|r than y|
|00006060| 6f 75 20 6d 69 67 68 74 | 20 74 68 69 6e 6b 2e 20 |ou might| think. |
|00006070| 20 49 66 20 49 0a 58 23 | 20 6a 75 73 74 20 73 63 | If I.X#| just sc|
|00006080| 61 6c 65 64 20 62 79 20 | 2e 35 2c 20 49 27 64 20 |aled by |.5, I'd |
|00006090| 6c 6f 73 65 20 6d 79 20 | 74 6f 70 20 61 6e 64 20 |lose my |top and |
|000060a0| 62 6f 74 74 6f 6d 20 65 | 64 67 65 73 20 28 70 72 |bottom e|dges (pr|
|000060b0| 69 6e 74 65 72 0a 58 23 | 20 6c 69 6d 69 74 61 74 |inter.X#| limitat|
|000060c0| 69 6f 6e 73 29 0a 58 23 | 0a 58 6e 61 6d 65 3d 34 |ions).X#|.Xname=4|
|000060d0| 75 70 0a 58 6d 6f 64 75 | 6c 75 73 3d 34 0a 58 73 |up.Xmodu|lus=4.Xs|
|000060e0| 63 61 6c 65 3d 30 2e 32 | 31 32 35 20 69 6e 63 68 |cale=0.2|125 inch|
|000060f0| 20 30 2e 32 37 35 20 69 | 6e 63 68 20 74 72 61 6e | 0.275 i|nch tran|
|00006100| 73 6c 61 74 65 20 30 2e | 34 37 35 20 64 75 70 20 |slate 0.|475 dup |
|00006110| 73 63 61 6c 65 0a 58 31 | 3d 6d 6f 76 65 55 0a 58 |scale.X1|=moveU.X|
|00006120| 32 3d 6d 6f 76 65 52 0a | 58 33 3d 6d 6f 76 65 4c |2=moveR.|X3=moveL|
|00006130| 20 6d 6f 76 65 44 0a 58 | 34 3d 6d 6f 76 65 52 0a | moveD.X|4=moveR.|
|00006140| 58 2e 0a 58 0a 58 23 20 | 74 68 69 73 20 64 6f 65 |X..X.X# |this doe|
|00006150| 73 20 61 20 67 72 65 65 | 74 69 6e 67 2d 63 61 72 |s a gree|ting-car|
|00006160| 64 20 66 6f 72 6d 61 74 | 2c 20 64 65 73 69 67 6e |d format|, design|
|00006170| 65 64 20 74 6f 20 62 65 | 20 66 6f 6c 64 65 64 20 |ed to be| folded |
|00006180| 69 6e 74 6f 0a 58 23 20 | 66 6f 75 72 74 68 73 2e |into.X# |fourths.|
|00006190| 20 20 49 66 20 79 6f 75 | 27 72 65 20 6e 6f 74 20 | If you|'re not |
|000061a0| 73 75 72 65 20 68 6f 77 | 20 69 74 27 73 20 73 75 |sure how| it's su|
|000061b0| 70 70 6f 73 65 64 20 74 | 6f 20 6c 6f 6f 6b 2c 20 |pposed t|o look, |
|000061c0| 72 75 6e 3a 0a 58 23 20 | 20 20 20 6d 61 6b 65 75 |run:.X# | makeu|
|000061d0| 70 20 34 20 7c 20 75 70 | 20 2d 6e 20 63 61 72 64 |p 4 | up| -n card|
|000061e0| 20 7c 20 6c 70 72 0a 58 | 23 0a 58 6e 61 6d 65 3d | | lpr.X|#.Xname=|
|000061f0| 63 61 72 64 0a 58 6d 6f | 64 75 6c 75 73 3d 34 0a |card.Xmo|dulus=4.|
|00006200| 58 73 63 61 6c 65 3d 30 | 2e 32 31 32 35 20 69 6e |Xscale=0|.2125 in|
|00006210| 63 68 20 30 2e 32 37 35 | 20 69 6e 63 68 20 74 72 |ch 0.275| inch tr|
|00006220| 61 6e 73 6c 61 74 65 20 | 30 2e 34 37 35 20 64 75 |anslate |0.475 du|
|00006230| 70 20 73 63 61 6c 65 0a | 58 31 3d 6d 6f 76 65 55 |p scale.|X1=moveU|
|00006240| 20 6d 6f 76 65 55 20 6d | 6f 76 65 52 20 72 6f 74 | moveU m|oveR rot|
|00006250| 52 20 72 6f 74 52 0a 58 | 32 3d 6d 6f 76 65 55 20 |R rotR.X|2=moveU |
|00006260| 6d 6f 76 65 55 20 6d 6f | 76 65 52 20 72 6f 74 52 |moveU mo|veR rotR|
|00006270| 20 72 6f 74 52 0a 58 33 | 3d 6d 6f 76 65 52 0a 58 | rotR.X3|=moveR.X|
|00006280| 34 3d 6d 6f 76 65 55 20 | 6d 6f 76 65 55 20 6d 6f |4=moveU |moveU mo|
|00006290| 76 65 52 20 72 6f 74 52 | 20 72 6f 74 52 0a 58 2e |veR rotR| rotR.X.|
|000062a0| 0a 58 0a 58 23 20 74 68 | 69 73 20 69 73 20 61 62 |.X.X# th|is is ab|
|000062b0| 6f 75 74 20 74 68 65 20 | 6c 69 6d 69 74 20 66 6f |out the |limit fo|
|000062c0| 72 20 61 20 33 30 30 20 | 64 70 69 20 64 65 76 69 |r a 300 |dpi devi|
|000062d0| 63 65 2c 20 75 6e 6c 65 | 73 73 20 69 74 27 73 20 |ce, unle|ss it's |
|000062e0| 72 65 61 73 6f 6e 61 62 | 6c 79 0a 58 23 20 6e 65 |reasonab|ly.X# ne|
|000062f0| 77 20 61 6e 64 20 79 6f | 75 20 68 61 76 65 20 67 |w and yo|u have g|
|00006300| 6f 6f 64 20 65 79 65 73 | 2e 20 20 49 20 6c 69 6b |ood eyes|. I lik|
|00006310| 65 20 69 74 20 61 74 20 | 34 30 30 20 64 70 69 2e |e it at |400 dpi.|
|00006320| 0a 58 23 0a 58 6e 61 6d | 65 3d 36 75 70 0a 58 6d |.X#.Xnam|e=6up.Xm|
|00006330| 6f 64 75 6c 75 73 3d 36 | 0a 58 73 63 61 6c 65 3d |odulus=6|.Xscale=|
|00006340| 30 2e 32 35 20 69 6e 63 | 68 20 30 2e 37 35 20 69 |0.25 inc|h 0.75 i|
|00006350| 6e 63 68 20 74 72 61 6e | 73 6c 61 74 65 20 72 6f |nch tran|slate ro|
|00006360| 74 4c 20 34 20 31 31 20 | 64 69 76 20 64 75 70 20 |tL 4 11 |div dup |
|00006370| 73 63 61 6c 65 0a 58 31 | 3d 6d 6f 76 65 44 0a 58 |scale.X1|=moveD.X|
|00006380| 32 3d 6d 6f 76 65 52 0a | 58 33 3d 6d 6f 76 65 52 |2=moveR.|X3=moveR|
|00006390| 0a 58 34 3d 6d 6f 76 65 | 44 20 6d 6f 76 65 4c 20 |.X4=move|D moveL |
|000063a0| 6d 6f 76 65 4c 0a 58 35 | 3d 6d 6f 76 65 52 0a 58 |moveL.X5|=moveR.X|
|000063b0| 36 3d 6d 6f 76 65 52 0a | 58 2e 0a 58 0a 58 23 20 |6=moveR.|X..X.X# |
|000063c0| 74 68 69 73 20 69 73 20 | 61 20 62 69 74 20 74 6f |this is |a bit to|
|000063d0| 6f 20 66 61 72 20 66 6f | 72 20 63 61 73 75 61 6c |o far fo|r casual|
|000063e0| 20 72 65 61 64 69 6e 67 | 2e 20 20 49 74 27 73 20 | reading|. It's |
|000063f0| 65 6e 74 65 72 69 6e 67 | 20 6d 61 67 6e 69 66 79 |entering| magnify|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.