home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 1 / 1967 < prev    next >
SHell self-extracting ARchive  |  1990-12-28  |  17.8 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: 1967

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news or mail text default
99% file Ruby script, ASCII text default (weak)
100% TrID E-Mail message (Var. 2) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/329 Shell Archive Format default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/rfc822 default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 3a 20 61 61 | 73 40 62 6f 65 79 67 65 |From: aa|s@boeyge|
|00000010| 6e 2e 6e 72 2e 6e 6f 20 | 28 47 69 73 6c 65 20 41 |n.nr.no |(Gisle A|
|00000020| 61 73 29 0a 4e 65 77 73 | 67 72 6f 75 70 73 3a 20 |as).News|groups: |
|00000030| 61 6c 74 2e 73 6f 75 72 | 63 65 73 0a 53 75 62 6a |alt.sour|ces.Subj|
|00000040| 65 63 74 3a 20 4e 65 77 | 20 72 65 6c 65 61 73 65 |ect: New| release|
|00000050| 20 6f 66 20 79 65 74 20 | 61 6e 6f 74 68 65 72 20 | of yet |another |
|00000060| 74 65 78 74 20 74 6f 20 | 70 6f 73 74 73 63 72 69 |text to |postscri|
|00000070| 70 74 20 66 69 6c 74 65 | 72 20 28 69 32 70 73 29 |pt filte|r (i2ps)|
|00000080| 0a 4d 65 73 73 61 67 65 | 2d 49 44 3a 20 3c 41 41 |.Message|-ID: <AA|
|00000090| 53 2e 39 30 4f 63 74 31 | 38 31 31 30 30 33 38 40 |S.90Oct1|8110038@|
|000000a0| 62 6f 65 79 67 65 6e 2e | 6e 72 2e 6e 6f 3e 0a 44 |boeygen.|nr.no>.D|
|000000b0| 61 74 65 3a 20 31 38 20 | 4f 63 74 20 39 30 20 31 |ate: 18 |Oct 90 1|
|000000c0| 30 3a 30 30 3a 33 38 20 | 47 4d 54 0a 0a 49 6e 20 |0:00:38 |GMT..In |
|000000d0| 6a 75 6e 65 20 49 20 70 | 6f 73 74 65 64 20 61 20 |june I p|osted a |
|000000e0| 74 65 78 74 20 74 6f 20 | 70 6f 73 74 73 63 72 69 |text to |postscri|
|000000f0| 70 74 20 66 69 6c 74 65 | 72 20 77 72 69 74 74 65 |pt filte|r writte|
|00000100| 6e 20 69 6e 20 70 65 72 | 6c 20 74 68 61 74 20 49 |n in per|l that I|
|00000110| 0a 63 61 6c 6c 65 64 20 | 61 32 70 73 2e 20 4c 61 |.called |a2ps. La|
|00000120| 74 65 72 20 49 20 64 69 | 73 63 6f 76 65 72 65 64 |ter I di|scovered|
|00000130| 20 74 68 61 74 20 74 68 | 69 73 20 6e 61 6d 65 20 | that th|is name |
|00000140| 77 61 73 20 61 6c 72 65 | 61 64 79 20 75 73 65 64 |was alre|ady used|
|00000150| 2c 20 73 6f 20 49 0a 63 | 68 61 6e 67 65 64 20 74 |, so I.c|hanged t|
|00000160| 68 65 20 6e 61 6d 65 20 | 74 6f 20 69 32 70 73 2c |he name |to i2ps,|
|00000170| 20 62 65 63 61 75 73 65 | 20 74 68 61 74 73 20 77 | because| thats w|
|00000180| 68 61 74 20 69 74 20 69 | 73 3b 20 61 6e 20 49 53 |hat it i|s; an IS|
|00000190| 4f 20 74 6f 0a 70 6f 73 | 74 73 63 72 69 70 74 20 |O to.pos|tscript |
|000001a0| 66 69 6c 74 65 72 2e 20 | 20 54 68 69 73 20 76 65 |filter. | This ve|
|000001b0| 72 73 69 6f 6e 20 68 61 | 73 20 73 6f 6d 65 20 6e |rsion ha|s some n|
|000001c0| 65 77 20 66 65 61 74 75 | 72 65 73 2c 20 61 6e 64 |ew featu|res, and|
|000001d0| 20 66 65 77 65 72 20 62 | 75 67 73 20 3a 2d 29 0a | fewer b|ugs :-).|
|000001e0| 0a 59 6f 75 20 6e 65 65 | 64 20 70 65 72 6c 20 33 |.You nee|d perl 3|
|000001f0| 2e 30 20 70 61 74 63 68 | 6c 65 76 65 6c 20 32 38 |.0 patch|level 28|
|00000200| 20 6f 72 20 62 65 74 74 | 65 72 2e 0a 0a 54 68 65 | or bett|er...The|
|00000210| 20 6d 61 6e 75 61 6c 20 | 70 61 67 65 20 6c 69 76 | manual |page liv|
|00000220| 65 73 20 74 6f 67 65 74 | 68 65 72 20 77 69 74 68 |es toget|her with|
|00000230| 20 74 68 65 20 73 63 72 | 69 70 74 2e 20 4a 75 73 | the scr|ipt. Jus|
|00000240| 74 20 6d 61 6b 65 20 61 | 20 6c 69 6e 6b 20 66 72 |t make a| link fr|
|00000250| 6f 6d 0a 74 68 65 20 6d | 61 6e 75 61 6c 20 64 69 |om.the m|anual di|
|00000260| 72 65 63 74 6f 72 79 20 | 74 6f 20 74 68 65 20 70 |rectory |to the p|
|00000270| 6c 61 63 65 20 77 68 65 | 72 65 20 79 6f 75 20 6b |lace whe|re you k|
|00000280| 65 65 70 20 79 6f 75 72 | 20 65 78 65 63 75 74 61 |eep your| executa|
|00000290| 62 6c 65 73 2e 0a 0a 49 | 32 70 73 20 6d 61 79 20 |bles...I|2ps may |
|000002a0| 62 65 20 66 72 65 65 6c | 79 20 64 69 73 74 72 69 |be freel|y distri|
|000002b0| 62 75 74 65 64 20 61 6e | 64 20 63 6f 70 69 65 64 |buted an|d copied|
|000002c0| 2e 20 50 6c 65 61 73 65 | 20 72 65 70 6f 72 74 20 |. Please| report |
|000002d0| 62 75 67 73 2c 0a 70 72 | 6f 62 6c 65 6d 73 2c 20 |bugs,.pr|oblems, |
|000002e0| 61 6e 64 20 73 75 67 67 | 65 73 74 69 6f 6e 73 20 |and sugg|estions |
|000002f0| 74 6f 20 3c 47 69 73 6c | 65 2e 41 61 73 40 6e 72 |to <Gisl|e.Aas@nr|
|00000300| 2e 6e 6f 3e 0a 0a 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.no>..--|--------|
|00000310| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 63 75 74 20 68 65 72 |--------|-cut her|
|00000320| 65 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |e-------|--------|
|00000330| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000340| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 23 21 2f 62 69 |--------|--.#!/bi|
|00000350| 6e 2f 73 68 0a 23 20 54 | 68 69 73 20 69 73 20 61 |n/sh.# T|his is a|
|00000360| 20 73 68 65 6c 6c 20 61 | 72 63 68 69 76 65 20 28 | shell a|rchive (|
|00000370| 70 72 6f 64 75 63 65 64 | 20 62 79 20 73 68 61 72 |produced| by shar|
|00000380| 20 33 2e 34 39 29 0a 23 | 20 54 6f 20 65 78 74 72 | 3.49).#| To extr|
|00000390| 61 63 74 20 74 68 65 20 | 66 69 6c 65 73 20 66 72 |act the |files fr|
|000003a0| 6f 6d 20 74 68 69 73 20 | 61 72 63 68 69 76 65 2c |om this |archive,|
|000003b0| 20 73 61 76 65 20 69 74 | 20 74 6f 20 61 20 66 69 | save it| to a fi|
|000003c0| 6c 65 2c 20 72 65 6d 6f | 76 65 0a 23 20 65 76 65 |le, remo|ve.# eve|
|000003d0| 72 79 74 68 69 6e 67 20 | 61 62 6f 76 65 20 74 68 |rything |above th|
|000003e0| 65 20 22 21 2f 62 69 6e | 2f 73 68 22 20 6c 69 6e |e "!/bin|/sh" lin|
|000003f0| 65 20 61 62 6f 76 65 2c | 20 61 6e 64 20 74 79 70 |e above,| and typ|
|00000400| 65 20 22 73 68 20 66 69 | 6c 65 5f 6e 61 6d 65 22 |e "sh fi|le_name"|
|00000410| 2e 0a 23 0a 23 20 6d 61 | 64 65 20 31 30 2f 31 38 |..#.# ma|de 10/18|
|00000420| 2f 31 39 39 30 20 30 39 | 3a 33 33 20 55 54 43 20 |/1990 09|:33 UTC |
|00000430| 62 79 20 61 61 73 40 62 | 6f 65 79 67 65 6e 0a 23 |by aas@b|oeygen.#|
|00000440| 20 53 6f 75 72 63 65 20 | 64 69 72 65 63 74 6f 72 | Source |director|
|00000450| 79 20 2f 68 6f 6d 65 2f | 62 6f 65 79 67 65 6e 2f |y /home/|boeygen/|
|00000460| 61 61 73 0a 23 0a 23 20 | 65 78 69 73 74 69 6e 67 |aas.#.# |existing|
|00000470| 20 66 69 6c 65 73 20 77 | 69 6c 6c 20 4e 4f 54 20 | files w|ill NOT |
|00000480| 62 65 20 6f 76 65 72 77 | 72 69 74 74 65 6e 20 75 |be overw|ritten u|
|00000490| 6e 6c 65 73 73 20 2d 63 | 20 69 73 20 73 70 65 63 |nless -c| is spec|
|000004a0| 69 66 69 65 64 0a 23 0a | 23 20 54 68 69 73 20 73 |ified.#.|# This s|
|000004b0| 68 61 72 20 63 6f 6e 74 | 61 69 6e 73 3a 0a 23 20 |har cont|ains:.# |
|000004c0| 6c 65 6e 67 74 68 20 20 | 6d 6f 64 65 20 20 20 20 |length |mode |
|000004d0| 20 20 20 6e 61 6d 65 0a | 23 20 2d 2d 2d 2d 2d 2d | name.|# ------|
|000004e0| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 20 2d 2d 2d 2d | -------|--- ----|
|000004f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000500| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000510| 2d 2d 2d 2d 2d 2d 0a 23 | 20 20 31 36 31 34 30 20 |------.#| 16140 |
|00000520| 2d 72 2d 78 72 2d 78 72 | 2d 78 20 69 32 70 73 0a |-r-xr-xr|-x i2ps.|
|00000530| 23 0a 23 20 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |#.# ====|========|
|00000540| 3d 20 69 32 70 73 20 3d | 3d 3d 3d 3d 3d 3d 3d 3d |= i2ps =|========|
|00000550| 3d 3d 3d 3d 3d 0a 69 66 | 20 74 65 73 74 20 2d 66 |=====.if| test -f|
|00000560| 20 27 69 32 70 73 27 20 | 2d 61 20 58 22 24 31 22 | 'i2ps' |-a X"$1"|
|00000570| 20 21 3d 20 58 22 2d 63 | 22 3b 20 74 68 65 6e 0a | != X"-c|"; then.|
|00000580| 09 65 63 68 6f 20 27 78 | 20 2d 20 73 6b 69 70 70 |.echo 'x| - skipp|
|00000590| 69 6e 67 20 69 32 70 73 | 20 28 46 69 6c 65 20 61 |ing i2ps| (File a|
|000005a0| 6c 72 65 61 64 79 20 65 | 78 69 73 74 73 29 27 0a |lready e|xists)'.|
|000005b0| 65 6c 73 65 0a 65 63 68 | 6f 20 27 78 20 2d 20 65 |else.ech|o 'x - e|
|000005c0| 78 74 72 61 63 74 69 6e | 67 20 69 32 70 73 20 28 |xtractin|g i2ps (|
|000005d0| 54 65 78 74 29 27 0a 73 | 65 64 20 27 73 2f 5e 58 |Text)'.s|ed 's/^X|
|000005e0| 2f 2f 27 20 3c 3c 20 27 | 53 48 41 52 5f 45 4f 46 |//' << '|SHAR_EOF|
|000005f0| 27 20 3e 20 27 69 32 70 | 73 27 20 26 26 0a 23 21 |' > 'i2p|s' &&.#!|
|00000600| 2f 75 73 72 2f 6c 6f 63 | 61 6c 2f 62 69 6e 2f 70 |/usr/loc|al/bin/p|
|00000610| 65 72 6c 0a 27 64 69 27 | 3b 0a 27 69 67 30 30 27 |erl.'di'|;.'ig00'|
|00000620| 3b 0a 58 0a 23 20 22 69 | 32 70 73 22 20 74 65 78 |;.X.# "i|2ps" tex|
|00000630| 74 20 74 6f 20 50 6f 73 | 74 53 63 72 69 70 74 20 |t to Pos|tScript |
|00000640| 66 69 6c 74 65 72 20 77 | 72 69 74 74 65 6e 20 69 |filter w|ritten i|
|00000650| 6e 20 70 65 72 6c 20 62 | 79 20 47 69 73 6c 65 20 |n perl b|y Gisle |
|00000660| 41 61 73 2c 20 4e 43 43 | 20 31 39 39 30 0a 23 20 |Aas, NCC| 1990.# |
|00000670| 24 49 64 3a 20 69 32 70 | 73 2c 76 20 31 2e 35 20 |$Id: i2p|s,v 1.5 |
|00000680| 39 30 2f 31 30 2f 31 38 | 20 31 30 3a 32 36 3a 34 |90/10/18| 10:26:4|
|00000690| 35 20 61 61 73 20 45 78 | 70 20 24 0a 23 0a 23 20 |5 aas Ex|p $.#.# |
|000006a0| 57 68 69 73 68 20 6c 69 | 73 74 3a 20 20 28 74 68 |Whish li|st: (th|
|000006b0| 69 73 20 6d 61 79 20 62 | 65 63 6f 6d 65 20 61 20 |is may b|ecome a |
|000006c0| 66 65 61 74 75 72 65 20 | 73 6f 6d 65 20 74 69 6d |feature |some tim|
|000006d0| 65 29 0a 23 20 20 20 20 | 20 4d 61 72 6b 69 6e 67 |e).# | Marking|
|000006e0| 20 28 62 79 20 73 6f 6d | 65 20 66 75 6e 6e 79 20 | (by som|e funny |
|000006f0| 63 68 61 72 29 20 74 72 | 75 6e 63 61 74 69 6f 6e |char) tr|uncation|
|00000700| 20 61 6e 64 20 77 72 61 | 70 70 69 6e 67 20 6f 66 | and wra|pping of|
|00000710| 20 6c 69 6e 65 73 0a 23 | 20 20 20 20 20 46 61 73 | lines.#| Fas|
|00000720| 74 65 72 20 65 78 65 63 | 75 74 69 6f 6e 20 28 72 |ter exec|ution (r|
|00000730| 65 77 72 69 74 65 20 74 | 68 65 20 68 6f 6c 65 20 |ewrite t|he hole |
|00000740| 74 68 69 6e 67 20 69 6e | 20 43 3f 29 0a 23 20 20 |thing in| C?).# |
|00000750| 20 20 20 50 61 72 73 69 | 6e 67 20 6f 66 20 62 61 | Parsi|ng of ba|
|00000760| 63 6b 73 70 61 63 65 20 | 74 6f 20 70 72 6f 64 75 |ckspace |to produ|
|00000770| 63 65 20 62 6f 6c 64 20 | 61 6e 64 20 75 6e 64 65 |ce bold |and unde|
|00000780| 72 6c 69 6e 65 64 20 66 | 6f 6e 74 73 2e 0a 58 0a |rlined f|onts..X.|
|00000790| 23 0a 23 20 24 4c 6f 67 | 3a 09 69 32 70 73 2c 76 |#.# $Log|:.i2ps,v|
|000007a0| 20 24 0a 23 20 52 65 76 | 69 73 69 6f 6e 20 31 2e | $.# Rev|ision 1.|
|000007b0| 35 20 20 39 30 2f 31 30 | 2f 31 38 20 20 31 30 3a |5 90/10|/18 10:|
|000007c0| 32 36 3a 34 35 20 20 61 | 61 73 0a 23 20 43 68 61 |26:45 a|as.# Cha|
|000007d0| 6e 67 65 64 20 74 68 65 | 20 6e 61 6d 65 20 66 72 |nged the| name fr|
|000007e0| 6f 6d 20 61 32 70 73 20 | 74 6f 20 69 32 70 73 2e |om a2ps |to i2ps.|
|000007f0| 20 4d 65 72 67 65 64 20 | 74 68 65 20 6d 61 6e 75 | Merged |the manu|
|00000800| 61 6c 2d 70 61 67 65 20 | 77 69 74 68 20 74 68 65 |al-page |with the|
|00000810| 0a 23 20 70 72 6f 67 72 | 61 6d 2e 20 49 32 70 73 |.# progr|am. I2ps|
|00000820| 20 6e 6f 77 20 72 65 6a | 65 63 74 73 20 67 61 72 | now rej|ects gar|
|00000830| 62 61 67 65 20 66 69 6c | 65 73 2e 20 49 32 70 73 |bage fil|es. I2ps|
|00000840| 20 77 61 73 20 63 6f 6e | 66 75 73 65 64 20 61 62 | was con|fused ab|
|00000850| 6f 75 74 20 77 68 61 74 | 0a 23 20 74 6f 20 70 75 |out what|.# to pu|
|00000860| 74 20 69 6e 20 74 68 65 | 20 68 65 61 64 65 72 20 |t in the| header |
|00000870| 77 68 65 6e 20 73 6f 6d | 65 20 6f 66 20 74 68 65 |when som|e of the|
|00000880| 20 73 70 65 63 69 66 69 | 65 64 20 66 69 6c 65 73 | specifi|ed files|
|00000890| 20 64 69 64 20 6e 6f 74 | 20 65 78 69 73 74 2e 0a | did not| exist..|
|000008a0| 23 20 53 6f 6d 65 20 6d | 69 6e 6f 72 20 73 70 65 |# Some m|inor spe|
|000008b0| 6c 6c 69 6e 67 20 63 6f | 72 72 65 63 74 69 6f 6e |lling co|rrection|
|000008c0| 73 2e 0a 23 20 0a 23 20 | 52 65 76 69 73 69 6f 6e |s..# .# |Revision|
|000008d0| 20 31 2e 34 20 20 39 30 | 2f 31 30 2f 30 31 20 20 | 1.4 90|/10/01 |
|000008e0| 31 35 3a 35 37 3a 34 36 | 20 20 61 61 73 0a 23 20 |15:57:46| aas.# |
|000008f0| 53 69 6d 70 6c 69 66 79 | 20 72 65 65 6e 63 6f 64 |Simplify| reencod|
|00000900| 69 6e 67 20 74 6f 20 49 | 53 4f 2d 4c 61 74 69 6e |ing to I|SO-Latin|
|00000910| 31 2e 20 28 6e 65 77 65 | 6e 63 6f 64 65 29 0a 23 |1. (newe|ncode).#|
|00000920| 20 46 69 78 65 64 20 70 | 72 6f 62 6c 65 6d 20 77 | Fixed p|roblem w|
|00000930| 69 74 68 20 73 68 6f 77 | 70 61 67 65 20 61 66 74 |ith show|page aft|
|00000940| 65 72 20 70 61 67 65 20 | 6c 65 76 65 6c 20 72 65 |er page |level re|
|00000950| 73 74 6f 72 65 2e 20 47 | 72 61 70 68 69 63 20 73 |store. G|raphic s|
|00000960| 74 61 74 65 0a 23 20 69 | 6e 69 74 69 61 6c 69 7a |tate.# i|nitializ|
|00000970| 65 64 20 6f 6e 20 65 61 | 63 68 20 70 61 67 65 2e |ed on ea|ch page.|
|00000980| 20 49 6e 63 6c 75 64 65 | 64 20 74 68 65 20 49 53 | Include|d the IS|
|00000990| 4f 4c 61 74 69 6e 31 45 | 6e 63 6f 64 69 6e 67 2d |OLatin1E|ncoding-|
|000009a0| 76 65 63 74 6f 72 0a 23 | 20 69 6e 20 74 68 65 20 |vector.#| in the |
|000009b0| 73 63 72 69 70 74 2e 20 | 4c 69 6e 65 6e 75 6d 62 |script. |Linenumb|
|000009c0| 65 72 20 6f 6e 20 6c 61 | 73 74 20 6c 69 6e 65 20 |er on la|st line |
|000009d0| 77 68 65 6e 20 74 68 65 | 20 2d 6c 20 6f 70 74 69 |when the| -l opti|
|000009e0| 6f 6e 20 69 73 20 75 73 | 65 64 2e 0a 23 20 4c 69 |on is us|ed..# Li|
|000009f0| 6e 65 6e 75 6d 62 65 72 | 73 20 61 72 65 20 6d 6f |nenumber|s are mo|
|00000a00| 76 65 64 20 74 6f 20 74 | 68 65 20 6c 65 66 74 20 |ved to t|he left |
|00000a10| 6d 61 72 67 69 6e 2e 0a | 23 20 0a 23 20 52 65 76 |margin..|# .# Rev|
|00000a20| 69 73 69 6f 6e 20 31 2e | 33 20 20 39 30 2f 30 39 |ision 1.|3 90/09|
|00000a30| 2f 32 37 20 20 31 34 3a | 30 35 3a 33 31 20 20 61 |/27 14:|05:31 a|
|00000a40| 61 73 0a 23 20 43 6c 65 | 61 6e 65 64 20 75 70 20 |as.# Cle|aned up |
|00000a50| 74 68 65 20 75 73 65 20 | 6f 66 20 41 34 20 76 61 |the use |of A4 va|
|00000a60| 72 69 61 62 6c 65 73 2e | 0a 23 20 0a 23 20 52 65 |riables.|.# .# Re|
|00000a70| 76 69 73 69 6f 6e 20 31 | 2e 32 20 20 39 30 2f 30 |vision 1|.2 90/0|
|00000a80| 39 2f 32 37 20 20 31 33 | 3a 31 38 3a 33 31 20 20 |9/27 13|:18:31 |
|00000a90| 61 61 73 0a 23 20 52 65 | 6d 6f 76 65 64 20 73 63 |aas.# Re|moved sc|
|00000aa0| 63 73 2d 73 74 75 66 66 | 2c 20 72 65 70 6c 61 63 |cs-stuff|, replac|
|00000ab0| 65 64 20 69 74 20 77 69 | 74 68 20 72 63 73 2d 73 |ed it wi|th rcs-s|
|00000ac0| 74 75 66 66 2e 0a 23 20 | 0a 58 0a 23 20 53 6f 6d |tuff..# |.X.# Som|
|00000ad0| 65 20 63 6f 6e 66 69 67 | 75 72 61 74 69 6f 6e 20 |e config|uration |
|00000ae0| 63 6f 6e 73 74 61 6e 74 | 73 2c 20 6d 65 61 73 73 |constant|s, meass|
|00000af0| 75 72 65 64 20 69 6e 20 | 70 6f 69 6e 74 73 20 28 |ured in |points (|
|00000b00| 31 2f 37 32 20 69 6e 63 | 68 29 0a 73 75 62 20 70 |1/72 inc|h).sub p|
|00000b10| 61 67 65 5f 74 6f 70 20 | 20 20 20 20 20 20 20 7b |age_top | {|
|00000b20| 20 38 34 31 3b 20 7d 20 | 20 20 20 23 20 41 34 20 | 841; } | # A4 |
|00000b30| 3d 20 32 39 37 6d 6d 20 | 78 20 32 31 30 6d 6d 20 |= 297mm |x 210mm |
|00000b40| 3d 20 38 34 31 70 74 20 | 78 20 35 39 35 70 74 0a |= 841pt |x 595pt.|
|00000b50| 73 75 62 20 70 61 67 65 | 5f 72 69 67 68 74 5f 65 |sub page|_right_e|
|00000b60| 64 67 65 20 7b 20 35 39 | 35 3b 20 7d 0a 23 20 55 |dge { 59|5; }.# U|
|00000b70| 6e 63 6f 6d 6d 65 6e 74 | 20 6e 65 78 74 20 6c 69 |ncomment| next li|
|00000b80| 6e 65 20 69 66 20 79 6f | 75 72 20 70 72 69 6e 74 |ne if yo|ur print|
|00000b90| 65 72 20 64 6f 65 73 6e | 27 74 20 68 61 76 65 20 |er doesn|'t have |
|00000ba0| 69 73 6f 20 65 6e 63 6f | 64 69 6e 67 20 62 75 69 |iso enco|ding bui|
|00000bb0| 6c 74 69 6e 2e 0a 23 24 | 69 73 6f 65 6e 63 6f 64 |ltin..#$|isoencod|
|00000bc0| 69 6e 67 5f 6e 6f 74 5f | 62 75 69 6c 74 69 6e 20 |ing_not_|builtin |
|00000bd0| 3d 20 31 3b 20 23 74 72 | 75 65 0a 58 0a 23 20 54 |= 1; #tr|ue.X.# T|
|00000be0| 68 65 20 6e 65 78 74 20 | 66 65 77 20 65 6e 74 72 |he next |few entr|
|00000bf0| 69 65 73 20 61 72 65 20 | 66 72 6f 6d 20 74 68 65 |ies are |from the|
|00000c00| 20 41 46 4d 20 66 69 6c | 65 20 66 6f 72 20 41 64 | AFM fil|e for Ad|
|00000c10| 6f 62 65 27 73 20 66 6f | 6e 74 20 43 6f 75 72 69 |obe's fo|nt Couri|
|00000c20| 65 72 0a 73 75 62 20 63 | 6f 75 72 5f 63 68 61 72 |er.sub c|our_char|
|00000c30| 5f 77 69 64 74 68 20 20 | 20 20 20 7b 20 36 30 30 |_width | { 600|
|00000c40| 3b 20 7d 20 20 20 23 20 | 54 68 65 20 77 69 64 74 |; } # |The widt|
|00000c50| 68 20 6f 66 20 65 61 63 | 68 20 63 68 61 72 20 69 |h of eac|h char i|
|00000c60| 6e 20 31 30 30 30 78 31 | 30 30 30 20 73 71 75 61 |n 1000x1|000 squa|
|00000c70| 72 65 0a 23 73 75 62 20 | 75 6e 64 65 72 6c 69 6e |re.#sub |underlin|
|00000c80| 65 5f 70 6f 73 69 74 69 | 6f 6e 20 20 7b 20 2d 38 |e_positi|on { -8|
|00000c90| 32 3b 20 7d 20 20 20 23 | 20 57 68 65 72 65 20 75 |2; } #| Where u|
|00000ca0| 6e 64 65 72 6c 69 6e 65 | 20 67 6f 65 73 20 72 65 |nderline| goes re|
|00000cb0| 6c 61 74 69 76 65 20 74 | 6f 20 62 61 73 65 6c 69 |lative t|o baseli|
|00000cc0| 6e 65 0a 23 73 75 62 20 | 75 6e 64 65 72 6c 69 6e |ne.#sub |underlin|
|00000cd0| 65 5f 74 68 69 63 6b 6e | 65 73 73 20 7b 20 20 34 |e_thickn|ess { 4|
|00000ce0| 30 3b 20 7d 20 20 20 23 | 20 61 6e 64 20 69 74 27 |0; } #| and it'|
|00000cf0| 73 20 74 68 69 63 6b 6e | 65 73 73 0a 58 0a 23 20 |s thickn|ess.X.# |
|00000d00| 50 61 72 73 65 20 63 6f | 6d 6d 61 6e 64 20 6c 69 |Parse co|mmand li|
|00000d10| 6e 65 20 66 6f 72 20 6f | 70 74 69 6f 6e 73 20 61 |ne for o|ptions a|
|00000d20| 6e 64 20 66 6c 61 67 73 | 0a 24 70 72 6f 67 20 3d |nd flags|.$prog =|
|00000d30| 20 73 75 62 73 74 72 28 | 5f 5f 46 49 4c 45 5f 5f | substr(|__FILE__|
|00000d40| 2c 72 69 6e 64 65 78 28 | 5f 5f 46 49 4c 45 5f 5f |,rindex(|__FILE__|
|00000d50| 2c 22 2f 22 29 2b 31 2c | 39 39 39 29 3b 0a 72 65 |,"/")+1,|999);.re|
|00000d60| 71 75 69 72 65 20 27 67 | 65 74 6f 70 74 73 2e 70 |quire 'g|etopts.p|
|00000d70| 6c 27 3b 0a 75 6e 6c 65 | 73 73 20 28 26 47 65 74 |l';.unle|ss (&Get|
|00000d80| 6f 70 74 73 28 27 6e 72 | 74 68 31 32 33 73 3a 62 |opts('nr|th123s:b|
|00000d90| 3a 6c 67 27 29 29 20 7b | 0a 58 20 20 20 70 72 69 |:lg')) {|.X pri|
|00000da0| 6e 74 20 53 54 44 45 52 | 52 20 22 55 73 61 67 65 |nt STDER|R "Usage|
|00000db0| 3a 20 24 70 72 6f 67 20 | 5b 2d 3c 6f 70 74 69 6f |: $prog |[-<optio|
|00000dc0| 6e 73 3e 5d 20 5b 66 69 | 6c 65 5d 2e 2e 2e 5c 6e |ns>] [fi|le]...\n|
|00000dd0| 22 3b 0a 58 20 20 20 70 | 72 69 6e 74 20 53 54 44 |";.X p|rint STD|
|00000de0| 45 52 52 20 22 4f 70 74 | 69 6f 6e 73 3a 20 2d 6c |ERR "Opt|ions: -l|
|00000df0| 20 20 20 20 20 20 20 70 | 72 69 6e 74 20 77 69 74 | p|rint wit|
|00000e00| 68 20 6c 69 6e 65 20 6e | 75 6d 62 65 72 73 5c 6e |h line n|umbers\n|
|00000e10| 22 3b 0a 58 20 20 20 70 | 72 69 6e 74 20 53 54 44 |";.X p|rint STD|
|00000e20| 45 52 52 20 22 20 20 20 | 20 20 20 20 20 20 2d 72 |ERR " | -r|
|00000e30| 20 20 20 20 20 20 20 72 | 6f 74 61 74 65 64 2c 20 | r|otated, |
|00000e40| 6c 61 6e 64 73 63 61 70 | 65 20 6f 72 69 65 6e 74 |landscap|e orient|
|00000e50| 61 74 69 6f 6e 5c 6e 22 | 3b 0a 58 20 20 20 70 72 |ation\n"|;.X pr|
|00000e60| 69 6e 74 20 53 54 44 45 | 52 52 20 22 20 20 20 20 |int STDE|RR " |
|00000e70| 20 20 20 20 20 2d 74 20 | 20 20 20 20 20 20 74 72 | -t | tr|
|00000e80| 75 6e 63 61 74 65 20 6c | 6f 6e 67 20 6c 69 6e 65 |uncate l|ong line|
|00000e90| 73 2c 20 22 20 2e 20 0a | 58 20 20 20 20 20 20 20 |s, " . .|X |
|00000ea0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000eb0| 20 20 20 20 20 20 20 20 | 20 20 20 22 64 65 66 61 | | "defa|
|00000ec0| 75 6c 74 20 69 73 20 74 | 6f 20 77 72 61 70 20 6c |ult is t|o wrap l|
|00000ed0| 69 6e 65 73 5c 6e 22 3b | 0a 58 20 20 20 70 72 69 |ines\n";|.X pri|
|00000ee0| 6e 74 20 53 54 44 45 52 | 52 20 22 20 20 20 20 20 |nt STDER|R " |
|00000ef0| 20 20 20 20 2d 62 5c 22 | 74 65 78 74 5c 22 20 72 | -b\"|text\" r|
|00000f00| 65 70 6c 61 63 65 73 20 | 74 68 65 20 74 65 78 74 |eplaces |the text|
|00000f10| 20 69 6e 20 74 68 65 20 | 70 61 67 65 20 68 65 61 | in the |page hea|
|00000f20| 64 65 72 5c 6e 22 3b 0a | 58 20 20 20 70 72 69 6e |der\n";.|X prin|
|00000f30| 74 20 53 54 44 45 52 52 | 20 22 20 20 20 20 20 20 |t STDERR| " |
|00000f40| 20 20 20 2d 68 20 20 20 | 20 20 20 20 6e 6f 20 70 | -h | no p|
|00000f50| 61 67 65 20 68 65 61 64 | 65 72 73 5c 6e 22 3b 0a |age head|ers\n";.|
|00000f60| 58 20 20 20 70 72 69 6e | 74 20 53 54 44 45 52 52 |X prin|t STDERR|
|00000f70| 20 22 20 20 20 20 20 20 | 20 20 20 2d 32 20 20 20 | " | -2 |
|00000f80| 20 20 20 20 73 65 74 20 | 74 65 78 74 20 69 6e 20 | set |text in |
|00000f90| 74 77 6f 20 63 6f 6c 75 | 6d 6e 73 20 66 6f 72 6d |two colu|mns form|
|00000fa0| 61 74 5c 6e 22 3b 0a 58 | 20 20 20 70 72 69 6e 74 |at\n";.X| print|
|00000fb0| 20 53 54 44 45 52 52 20 | 22 20 20 20 20 20 20 20 | STDERR |" |
|00000fc0| 20 20 2d 33 20 20 20 20 | 20 20 20 73 65 74 20 74 | -3 | set t|
|00000fd0| 65 78 74 20 69 6e 20 74 | 68 72 65 65 20 63 6f 6c |ext in t|hree col|
|00000fe0| 75 6d 6e 73 20 66 6f 72 | 6d 61 74 5c 6e 22 3b 0a |umns for|mat\n";.|
|00000ff0| 58 20 20 20 70 72 69 6e | 74 20 53 54 44 45 52 52 |X prin|t STDERR|
|00001000| 20 22 20 20 20 20 20 20 | 20 20 20 2d 73 3c 73 69 | " | -s<si|
|00001010| 7a 65 3e 20 73 65 6c 65 | 63 74 20 6e 65 77 20 74 |ze> sele|ct new t|
|00001020| 65 78 74 20 66 6f 6e 74 | 73 69 7a 65 2c 20 64 65 |ext font|size, de|
|00001030| 66 61 75 6c 74 20 31 30 | 70 74 5c 6e 22 3b 0a 58 |fault 10|pt\n";.X|
|00001040| 20 20 20 70 72 69 6e 74 | 20 53 54 44 45 52 52 20 | print| STDERR |
|00001050| 22 20 20 20 20 20 20 20 | 20 20 2d 67 20 20 20 20 |" | -g |
|00001060| 20 20 20 64 6f 6e 27 74 | 20 72 65 6a 65 63 74 20 | don't| reject |
|00001070| 67 61 72 62 61 67 65 20 | 66 69 6c 65 73 5c 6e 22 |garbage |files\n"|
|00001080| 3b 0a 58 20 20 20 70 72 | 69 6e 74 20 53 54 44 45 |;.X pr|int STDE|
|00001090| 52 52 20 22 20 20 20 20 | 20 20 20 20 20 2d 6e 20 |RR " | -n |
|000010a0| 20 20 20 20 20 20 6e 6f | 72 77 65 67 69 61 6e 20 | no|rwegian |
|000010b0| 37 62 69 74 2d 61 73 63 | 69 69 20 65 6e 63 6f 64 |7bit-asc|ii encod|
|000010c0| 69 6e 67 5c 6e 22 3b 0a | 58 20 20 20 65 78 69 74 |ing\n";.|X exit|
|000010d0| 28 31 29 3b 0a 7d 0a 58 | 0a 23 20 53 65 74 20 64 |(1);.}.X|.# Set d|
|000010e0| 65 66 61 75 6c 74 20 76 | 61 6c 75 65 73 2c 20 73 |efault v|alues, s|
|000010f0| 6f 6d 65 20 62 61 73 65 | 64 20 6f 6e 20 63 6f 6d |ome base|d on com|
|00001100| 6d 61 6e 64 20 6c 69 6e | 65 20 6f 70 74 69 6f 6e |mand lin|e option|
|00001110| 73 0a 24 6c 65 66 74 5f | 6d 61 72 67 69 6e 20 20 |s.$left_|margin |
|00001120| 3d 20 38 30 3b 0a 24 72 | 69 67 68 74 5f 6d 61 72 |= 80;.$r|ight_mar|
|00001130| 67 69 6e 20 3d 20 34 30 | 3b 0a 24 74 62 5f 6d 61 |gin = 40|;.$tb_ma|
|00001140| 72 67 69 6e 20 20 20 20 | 3d 20 34 35 3b 0a 24 66 |rgin |= 45;.$f|
|00001150| 6f 6e 74 20 20 20 20 20 | 20 20 20 20 3d 20 22 43 |ont | = "C|
|00001160| 6f 75 72 69 65 72 22 3b | 0a 24 66 6f 6e 74 5f 73 |ourier";|.$font_s|
|00001170| 69 7a 65 20 20 20 20 3d | 20 31 30 3b 09 09 24 66 |ize =| 10;..$f|
|00001180| 6f 6e 74 5f 73 69 7a 65 | 20 3d 20 24 6f 70 74 5f |ont_size| = $opt_|
|00001190| 73 20 69 66 20 28 24 6f | 70 74 5f 73 20 3e 20 30 |s if ($o|pt_s > 0|
|000011a0| 29 3b 0a 24 68 65 61 64 | 65 72 5f 66 6f 6e 74 20 |);.$head|er_font |
|000011b0| 20 3d 20 22 48 65 6c 76 | 65 74 69 63 61 2d 42 6f | = "Helv|etica-Bo|
|000011c0| 6c 64 22 3b 0a 24 68 65 | 61 64 65 72 5f 66 6f 6e |ld";.$he|ader_fon|
|000011d0| 74 5f 73 69 7a 65 20 3d | 20 31 32 3b 0a 24 6c 69 |t_size =| 12;.$li|
|000011e0| 6e 65 5f 6e 75 6d 62 65 | 72 5f 66 6f 6e 74 20 3d |ne_numbe|r_font =|
|000011f0| 20 22 48 65 6c 76 65 74 | 69 63 61 22 3b 0a 24 6c | "Helvet|ica";.$l|
|00001200| 69 6e 65 5f 6e 75 6d 62 | 65 72 5f 73 69 7a 65 20 |ine_numb|er_size |
|00001210| 3d 20 35 3b 0a 58 0a 24 | 6c 69 6e 65 5f 68 65 69 |= 5;.X.$|line_hei|
|00001220| 67 68 74 20 3d 20 24 66 | 6f 6e 74 5f 73 69 7a 65 |ght = $f|ont_size|
|00001230| 20 2a 20 31 2e 30 38 3b | 0a 24 6e 6f 5f 63 6f 6c | * 1.08;|.$no_col|
|00001240| 75 6d 6e 73 20 3d 20 64 | 65 66 69 6e 65 64 28 24 |umns = d|efined($|
|00001250| 6f 70 74 5f 32 29 20 3f | 20 32 20 3a 20 64 65 66 |opt_2) ?| 2 : def|
|00001260| 69 6e 65 64 28 24 6f 70 | 74 5f 33 29 20 3f 20 33 |ined($op|t_3) ? 3|
|00001270| 20 3a 20 31 3b 0a 24 63 | 6f 6c 5f 73 65 70 61 72 | : 1;.$c|ol_separ|
|00001280| 61 74 69 6f 6e 20 3d 20 | 33 30 3b 0a 24 73 65 70 |ation = |30;.$sep|
|00001290| 5f 62 61 72 73 20 3d 20 | 30 3b 20 20 23 20 66 61 |_bars = |0; # fa|
|000012a0| 6c 73 65 0a 24 6c 61 6e | 64 73 63 61 70 65 20 3d |lse.$lan|dscape =|
|000012b0| 20 64 65 66 69 6e 65 64 | 28 24 6f 70 74 5f 72 29 | defined|($opt_r)|
|000012c0| 3b 0a 24 68 65 61 64 65 | 72 5f 68 65 69 67 68 74 |;.$heade|r_height|
|000012d0| 20 3d 20 33 30 3b 0a 24 | 73 68 6f 77 5f 68 65 61 | = 30;.$|show_hea|
|000012e0| 64 65 72 20 3d 20 21 64 | 65 66 69 6e 65 64 28 24 |der = !d|efined($|
|000012f0| 6f 70 74 5f 68 29 3b 0a | 24 77 72 61 70 5f 6c 69 |opt_h);.|$wrap_li|
|00001300| 6e 65 73 20 3d 20 21 64 | 65 66 69 6e 65 64 28 24 |nes = !d|efined($|
|00001310| 6f 70 74 5f 74 29 3b 0a | 24 74 72 75 6e 63 61 74 |opt_t);.|$truncat|
|00001320| 65 5f 6c 69 6e 65 73 20 | 3d 20 21 24 77 72 61 70 |e_lines |= !$wrap|
|00001330| 5f 6c 69 6e 65 73 3b 20 | 23 20 64 6f 6e 27 74 20 |_lines; |# don't |
|00001340| 63 68 61 6e 67 65 20 74 | 68 69 73 0a 24 6e 6f 72 |change t|his.$nor|
|00001350| 73 6b 5f 61 73 63 69 69 | 20 3d 20 64 65 66 69 6e |sk_ascii| = defin|
|00001360| 65 64 28 24 6f 70 74 5f | 6e 29 3b 0a 58 0a 23 20 |ed($opt_|n);.X.# |
|00001370| 53 6f 6d 65 20 69 6e 69 | 74 69 61 6c 20 76 61 6c |Some ini|tial val|
|00001380| 75 65 73 0a 24 6f 70 74 | 5f 62 20 3d 20 26 70 73 |ues.$opt|_b = &ps|
|00001390| 5f 73 74 72 69 6e 67 28 | 24 6f 70 74 5f 62 29 20 |_string(|$opt_b) |
|000013a0| 69 66 20 28 24 6f 70 74 | 5f 62 29 3b 0a 24 66 6f |if ($opt|_b);.$fo|
|000013b0| 72 6d 5f 66 65 65 64 20 | 3d 20 30 3b 20 23 20 66 |rm_feed |= 0; # f|
|000013c0| 61 6c 73 65 3b 0a 24 70 | 61 67 65 5f 6e 6f 20 20 |alse;.$p|age_no |
|000013d0| 3d 20 30 3b 0a 24 6c 69 | 6e 65 5f 6e 6f 20 3d 20 |= 0;.$li|ne_no = |
|000013e0| 30 3b 0a 69 66 20 28 24 | 6c 61 6e 64 73 63 61 70 |0;.if ($|landscap|
|000013f0| 65 29 20 7b 0a 58 20 20 | 20 20 24 74 6f 70 20 3d |e) {.X | $top =|
|00001400| 20 26 70 61 67 65 5f 72 | 69 67 68 74 5f 65 64 67 | &page_r|ight_edg|
|00001410| 65 3b 0a 58 20 20 20 20 | 24 72 69 67 68 74 5f 65 |e;.X |$right_e|
|00001420| 64 67 65 20 3d 20 26 70 | 61 67 65 5f 74 6f 70 3b |dge = &p|age_top;|
|00001430| 0a 58 20 20 20 20 24 6c | 65 66 74 5f 6d 61 72 67 |.X $l|eft_marg|
|00001440| 69 6e 20 3d 20 24 72 69 | 67 68 74 5f 6d 61 72 67 |in = $ri|ght_marg|
|00001450| 69 6e 3b 20 23 20 74 68 | 69 73 20 69 73 20 61 20 |in; # th|is is a |
|00001460| 64 69 72 74 79 20 6f 6e | 65 0a 7d 20 65 6c 73 65 |dirty on|e.} else|
|00001470| 20 7b 0a 58 20 20 20 20 | 24 74 6f 70 20 3d 20 26 | {.X |$top = &|
|00001480| 70 61 67 65 5f 74 6f 70 | 3b 0a 58 20 20 20 20 24 |page_top|;.X $|
|00001490| 72 69 67 68 74 5f 65 64 | 67 65 20 3d 20 26 70 61 |right_ed|ge = &pa|
|000014a0| 67 65 5f 72 69 67 68 74 | 5f 65 64 67 65 3b 0a 7d |ge_right|_edge;.}|
|000014b0| 0a 24 68 6f 6d 65 5f 70 | 6f 73 20 3d 20 24 74 6f |.$home_p|os = $to|
|000014c0| 70 20 2d 20 24 74 62 5f | 6d 61 72 67 69 6e 20 2d |p - $tb_|margin -|
|000014d0| 20 28 24 73 68 6f 77 5f | 68 65 61 64 65 72 20 3f | ($show_|header ?|
|000014e0| 20 24 68 65 61 64 65 72 | 5f 68 65 69 67 68 74 20 | $header|_height |
|000014f0| 3a 20 30 29 3b 0a 24 63 | 6f 6c 5f 77 69 64 74 68 |: 0);.$c|ol_width|
|00001500| 20 3d 20 28 24 72 69 67 | 68 74 5f 65 64 67 65 20 | = ($rig|ht_edge |
|00001510| 2d 20 24 6c 65 66 74 5f | 6d 61 72 67 69 6e 20 2d |- $left_|margin -|
|00001520| 20 24 72 69 67 68 74 5f | 6d 61 72 67 69 6e 0a 58 | $right_|margin.X|
|00001530| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2d 20 | | - |
|00001540| 28 24 6e 6f 5f 63 6f 6c | 75 6d 6e 73 20 2d 20 31 |($no_col|umns - 1|
|00001550| 29 20 2a 20 24 63 6f 6c | 5f 73 65 70 61 72 61 74 |) * $col|_separat|
|00001560| 69 6f 6e 29 20 2f 20 24 | 6e 6f 5f 63 6f 6c 75 6d |ion) / $|no_colum|
|00001570| 6e 73 3b 0a 24 63 68 61 | 72 5f 77 69 64 74 68 20 |ns;.$cha|r_width |
|00001580| 3d 20 26 63 6f 75 72 5f | 63 68 61 72 5f 77 69 64 |= &cour_|char_wid|
|00001590| 74 68 20 2a 20 24 66 6f | 6e 74 5f 73 69 7a 65 20 |th * $fo|nt_size |
|000015a0| 2f 20 31 30 30 30 3b 0a | 24 63 68 61 72 73 5f 70 |/ 1000;.|$chars_p|
|000015b0| 65 72 5f 6c 69 6e 65 20 | 3d 20 69 6e 74 20 28 24 |er_line |= int ($|
|000015c0| 63 6f 6c 5f 77 69 64 74 | 68 20 2f 20 24 63 68 61 |col_widt|h / $cha|
|000015d0| 72 5f 77 69 64 74 68 20 | 2b 20 31 29 3b 0a 58 0a |r_width |+ 1);.X.|
|000015e0| 26 70 72 6f 6c 6f 67 3b | 0a 58 0a 75 6e 73 68 69 |&prolog;|.X.unshi|
|000015f0| 66 74 28 40 41 52 47 56 | 2c 27 2d 27 29 20 69 66 |ft(@ARGV|,'-') if|
|00001600| 20 24 23 41 52 47 56 20 | 3c 20 24 5b 3b 0a 46 49 | $#ARGV |< $[;.FI|
|00001610| 4c 45 3a 0a 77 68 69 6c | 65 20 28 24 46 49 4c 45 |LE:.whil|e ($FILE|
|00001620| 48 41 4e 44 20 3d 20 73 | 68 69 66 74 29 20 7b 0a |HAND = s|hift) {.|
|00001630| 58 20 20 20 20 75 6e 6c | 65 73 73 20 28 6f 70 65 |X unl|ess (ope|
|00001640| 6e 28 46 49 4c 45 48 41 | 4e 44 29 29 20 7b 0a 58 |n(FILEHA|ND)) {.X|
|00001650| 20 20 20 20 20 20 20 20 | 70 72 69 6e 74 20 53 54 | |print ST|
|00001660| 44 45 52 52 20 22 43 61 | 6e 27 74 20 6f 70 65 6e |DERR "Ca|n't open|
|00001670| 20 5c 22 24 46 49 4c 45 | 48 41 4e 44 5c 22 5c 6e | \"$FILE|HAND\"\n|
|00001680| 22 3b 0a 58 20 20 20 20 | 20 20 20 20 6e 65 78 74 |";.X | next|
|00001690| 20 46 49 4c 45 3b 0a 58 | 20 20 20 20 7d 0a 58 20 | FILE;.X| }.X |
|000016a0| 20 20 20 69 66 20 28 21 | 64 65 66 69 6e 65 64 28 | if (!|defined(|
|000016b0| 24 6f 70 74 5f 67 29 20 | 26 26 20 2d 42 20 46 49 |$opt_g) |&& -B FI|
|000016c0| 4c 45 48 41 4e 44 29 20 | 7b 0a 58 20 20 20 20 20 |LEHAND) |{.X |
|000016d0| 20 20 20 70 72 69 6e 74 | 20 53 54 44 45 52 52 20 | print| STDERR |
|000016e0| 22 53 6b 69 70 70 69 6e | 67 20 62 69 6e 61 72 79 |"Skippin|g binary|
|000016f0| 20 66 69 6c 65 20 5c 22 | 24 46 49 4c 45 48 41 4e | file \"|$FILEHAN|
|00001700| 44 5c 22 5c 6e 22 3b 0a | 58 20 20 20 20 20 20 20 |D\"\n";.|X |
|00001710| 20 63 6c 6f 73 65 28 46 | 49 4c 45 48 41 4e 44 29 | close(F|ILEHAND)|
|00001720| 3b 0a 58 20 20 20 20 20 | 20 20 20 6e 65 78 74 20 |;.X | next |
|00001730| 46 49 4c 45 3b 0a 58 20 | 20 20 20 7d 0a 58 20 20 |FILE;.X | }.X |
|00001740| 20 20 24 66 69 6c 65 5f | 6e 61 6d 65 20 3d 20 26 | $file_|name = &|
|00001750| 70 73 5f 73 74 72 69 6e | 67 28 24 46 49 4c 45 48 |ps_strin|g($FILEH|
|00001760| 41 4e 44 29 3b 0a 58 20 | 20 20 20 24 63 75 72 5f |AND);.X | $cur_|
|00001770| 70 6f 73 20 3d 20 2d 31 | 3b 20 20 20 20 20 23 20 |pos = -1|; # |
|00001780| 74 68 69 73 20 77 69 6c | 6c 20 66 6f 72 63 65 20 |this wil|l force |
|00001790| 61 20 6e 65 77 20 63 6f | 6c 75 6d 6e 20 6e 65 78 |a new co|lumn nex|
|000017a0| 74 20 74 69 6d 65 0a 58 | 20 20 20 20 24 63 75 72 |t time.X| $cur|
|000017b0| 5f 63 6f 6c 20 3d 20 31 | 30 30 3b 20 20 20 20 23 |_col = 1|00; #|
|000017c0| 20 74 68 69 73 20 77 69 | 6c 6c 20 66 6f 72 63 65 | this wi|ll force|
|000017d0| 20 61 20 6e 65 77 20 70 | 61 67 65 20 6e 65 78 74 | a new p|age next|
|000017e0| 20 74 69 6d 65 0a 58 20 | 20 20 20 24 6c 69 6e 65 | time.X | $line|
|000017f0| 5f 6e 6f 20 3d 20 30 3b | 0a 58 20 20 20 20 4c 49 |_no = 0;|.X LI|
|00001800| 4e 45 3a 0a 58 20 20 20 | 20 77 68 69 6c 65 20 28 |NE:.X | while (|
|00001810| 3c 46 49 4c 45 48 41 4e | 44 3e 29 20 7b 0a 58 20 |<FILEHAN|D>) {.X |
|00001820| 20 20 20 20 20 20 20 63 | 68 6f 70 3b 0a 58 20 20 | c|hop;.X |
|00001830| 20 20 20 20 20 20 24 6c | 69 6e 65 5f 6e 6f 2b 2b | $l|ine_no++|
|00001840| 3b 0a 58 20 20 20 20 20 | 20 20 20 69 66 20 28 6f |;.X | if (o|
|00001850| 72 64 20 3d 3d 20 30 31 | 34 29 20 7b 09 09 23 20 |rd == 01|4) {..# |
|00001860| 66 6f 72 6d 20 66 65 65 | 64 0a 58 20 20 20 20 20 |form fee|d.X |
|00001870| 20 20 20 20 20 20 20 73 | 2f 2e 2f 2f 3b 09 23 20 | s|/.//;.# |
|00001880| 63 68 6f 70 20 6f 66 66 | 20 66 69 72 73 74 20 63 |chop off| first c|
|00001890| 68 61 72 0a 58 20 20 20 | 20 20 20 20 20 20 20 20 |har.X | |
|000018a0| 20 24 63 75 72 5f 70 6f | 73 20 3d 20 2d 31 3b 20 | $cur_po|s = -1; |
|000018b0| 0a 58 20 20 20 20 20 20 | 20 20 20 20 20 20 6e 65 |.X | ne|
|000018c0| 78 74 20 4c 49 4e 45 20 | 69 66 20 28 6c 65 6e 67 |xt LINE |if (leng|
|000018d0| 74 68 20 3d 3d 20 30 29 | 3b 0a 58 20 20 20 20 20 |th == 0)|;.X |
|000018e0| 20 20 20 7d 0a 58 20 20 | 20 20 20 20 20 20 77 68 | }.X | wh|
|000018f0| 69 6c 65 20 28 73 2f 5c | 74 2f 27 20 27 20 78 20 |ile (s/\|t/' ' x |
|00001900| 28 38 20 2d 20 6c 65 6e | 67 74 68 28 24 60 29 20 |(8 - len|gth($`) |
|00001910| 25 20 38 29 2f 65 29 20 | 7b 7d 20 20 20 23 20 65 |% 8)/e) |{} # e|
|00001920| 78 70 61 6e 64 20 74 61 | 62 73 0a 58 20 20 20 20 |xpand ta|bs.X |
|00001930| 20 20 20 20 64 6f 20 7b | 0a 58 20 20 20 20 20 20 | do {|.X |
|00001940| 20 20 20 20 20 20 69 66 | 20 28 24 63 75 72 5f 70 | if| ($cur_p|
|00001950| 6f 73 20 3c 20 24 74 62 | 5f 6d 61 72 67 69 6e 29 |os < $tb|_margin)|
|00001960| 20 7b 0a 58 20 20 20 20 | 20 20 20 20 20 20 20 20 | {.X | |
|00001970| 20 20 20 20 24 63 75 72 | 5f 70 6f 73 20 3d 20 24 | $cur|_pos = $|
|00001980| 68 6f 6d 65 5f 70 6f 73 | 3b 0a 58 20 20 20 20 20 |home_pos|;.X |
|00001990| 20 20 20 20 20 20 20 20 | 20 20 20 69 66 20 28 24 | | if ($|
|000019a0| 63 75 72 5f 63 6f 6c 20 | 3c 20 24 6e 6f 5f 63 6f |cur_col |< $no_co|
|000019b0| 6c 75 6d 6e 73 29 20 7b | 0a 58 20 20 20 20 20 20 |lumns) {|.X |
|000019c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 24 | | $|
|000019d0| 63 75 72 5f 63 6f 6c 2b | 2b 3b 0a 58 20 20 20 20 |cur_col+|+;.X |
|000019e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 7d 20 65 6c | | } el|
|000019f0| 73 65 20 7b 0a 58 20 20 | 20 20 20 20 20 20 20 20 |se {.X | |
|00001a00| 20 20 20 20 20 20 20 20 | 20 20 20 24 63 75 72 5f | | $cur_|
|00001a10| 63 6f 6c 20 3d 20 31 3b | 0a 58 20 20 20 20 20 20 |col = 1;|.X |
|00001a20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 26 | | &|
|00001a30| 6e 65 77 5f 70 61 67 65 | 3b 0a 58 20 20 20 20 20 |new_page|;.X |
|00001a40| 20 20 20 20 20 20 20 20 | 20 20 20 7d 0a 58 20 20 | | }.X |
|00001a50| 20 20 20 20 20 20 20 20 | 20 20 7d 0a 58 20 20 20 | | }.X |
|00001a60| 20 20 20 20 20 20 20 20 | 20 24 74 65 78 74 20 3d | | $text =|
|00001a70| 20 73 75 62 73 74 72 28 | 24 5f 2c 30 2c 24 63 68 | substr(|$_,0,$ch|
|00001a80| 61 72 73 5f 70 65 72 5f | 6c 69 6e 65 29 3b 0a 58 |ars_per_|line);.X|
|00001a90| 20 20 20 20 20 20 20 20 | 20 20 20 20 24 5f 20 3d | | $_ =|
|00001aa0| 20 24 74 72 75 6e 63 61 | 74 65 5f 6c 69 6e 65 73 | $trunca|te_lines|
|00001ab0| 20 3f 20 27 27 20 3a 20 | 73 75 62 73 74 72 28 24 | ? '' : |substr($|
|00001ac0| 5f 2c 24 63 68 61 72 73 | 5f 70 65 72 5f 6c 69 6e |_,$chars|_per_lin|
|00001ad0| 65 2c 31 30 30 30 30 29 | 3b 0a 58 20 20 20 20 20 |e,10000)|;.X |
|00001ae0| 20 20 20 20 20 20 20 69 | 66 20 28 24 74 65 78 74 | i|f ($text|
|00001af0| 20 3d 7e 20 73 2f 5e 20 | 2b 2f 2f 29 20 7b 09 09 | =~ s/^ |+//) {..|
|00001b00| 23 20 73 75 70 70 72 65 | 73 73 20 6c 65 61 64 69 |# suppre|ss leadi|
|00001b10| 6e 67 20 62 6c 61 6e 6b | 73 0a 58 20 20 20 20 20 |ng blank|s.X |
|00001b20| 20 20 20 20 20 20 20 20 | 20 20 20 24 69 6e 64 65 | | $inde|
|00001b30| 6e 74 20 3d 20 24 63 68 | 61 72 5f 77 69 64 74 68 |nt = $ch|ar_width|
|00001b40| 20 2a 20 6c 65 6e 67 74 | 68 28 24 26 29 3b 0a 58 | * lengt|h($&);.X|
|00001b50| 20 20 20 20 20 20 20 20 | 20 20 20 20 7d 20 65 6c | | } el|
|00001b60| 73 65 20 7b 0a 58 20 20 | 20 20 20 20 20 20 20 20 |se {.X | |
|00001b70| 20 20 20 20 20 20 24 69 | 6e 64 65 6e 74 20 3d 20 | $i|ndent = |
|00001b80| 30 3b 0a 58 20 20 20 20 | 20 20 20 20 20 20 20 20 |0;.X | |
|00001b90| 7d 0a 58 20 20 20 20 20 | 20 20 20 20 20 20 20 23 |}.X | #|
|00001ba0| 20 4d 61 6b 65 20 73 75 | 69 74 61 62 6c 65 20 61 | Make su|itable a|
|00001bb0| 73 20 61 20 70 6f 73 74 | 73 63 72 69 70 74 20 73 |s a post|script s|
|00001bc0| 74 72 69 6e 67 2c 20 73 | 61 6d 65 20 61 73 20 63 |tring, s|ame as c|
|00001bd0| 61 6c 6c 69 6e 67 0a 58 | 20 20 20 20 20 20 20 20 |alling.X| |
|00001be0| 20 20 20 20 23 20 22 70 | 73 5f 73 74 72 69 6e 67 | # "p|s_string|
|00001bf0| 22 2c 20 62 75 74 20 74 | 68 65 20 6f 76 65 72 68 |", but t|he overh|
|00001c00| 65 61 64 20 6f 66 20 63 | 61 6c 6c 69 6e 67 20 61 |ead of c|alling a|
|00001c10| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 0a 58 20 20 | functio|n is.X |
|00001c20| 20 20 20 20 20 20 20 20 | 20 20 23 20 6e 6f 74 20 | | # not |
|00001c30| 61 63 63 65 70 74 61 62 | 6c 65 20 68 65 72 65 2e |acceptab|le here.|
|00001c40| 0a 58 20 20 20 20 20 20 | 20 20 20 20 20 20 24 74 |.X | $t|
|00001c50| 65 78 74 20 3d 7e 20 73 | 2f 5b 5c 5c 5c 28 5c 29 |ext =~ s|/[\\\(\)|
|00001c60| 5d 2f 5c 5c 24 26 2f 67 | 3b 0a 58 20 20 20 20 20 |]/\\$&/g|;.X |
|00001c70| 20 20 20 20 20 20 20 24 | 74 65 78 74 20 3d 7e 20 | $|text =~ |
|00001c80| 73 2f 5b 5c 30 30 30 2d | 5c 30 33 37 5c 31 37 37 |s/[\000-|\037\177|
|00001c90| 2d 5c 33 37 37 5d 2f 73 | 70 72 69 6e 74 66 28 22 |-\377]/s|printf("|
|00001ca0| 5c 5c 25 30 33 6f 22 2c | 6f 72 64 28 24 26 29 29 |\\%03o",|ord($&))|
|00001cb0| 2f 67 65 3b 0a 58 20 20 | 20 20 20 20 20 20 20 20 |/ge;.X | |
|00001cc0| 20 20 23 20 43 61 6c 63 | 75 6c 61 74 65 20 70 6f | # Calc|ulate po|
|00001cd0| 73 69 74 69 6f 6e 0a 58 | 20 20 20 20 20 20 20 20 |sition.X| |
|00001ce0| 20 20 20 20 24 78 20 3d | 20 24 6c 65 66 74 5f 6d | $x =| $left_m|
|00001cf0| 61 72 67 69 6e 20 2b 0a | 58 09 09 20 28 24 63 75 |argin +.|X.. ($cu|
|00001d00| 72 5f 63 6f 6c 20 2d 20 | 31 29 20 2a 20 28 24 63 |r_col - |1) * ($c|
|00001d10| 6f 6c 5f 77 69 64 74 68 | 20 2b 20 24 63 6f 6c 5f |ol_width| + $col_|
|00001d20| 73 65 70 61 72 61 74 69 | 6f 6e 29 3b 0a 58 20 20 |separati|on);.X |
|00001d30| 20 20 20 20 20 20 20 20 | 20 20 24 63 75 72 5f 70 | | $cur_p|
|00001d40| 6f 73 20 2d 3d 20 24 6c | 69 6e 65 5f 68 65 69 67 |os -= $l|ine_heig|
|00001d50| 68 74 3b 0a 58 20 20 20 | 20 20 20 20 20 20 20 20 |ht;.X | |
|00001d60| 20 70 72 69 6e 74 66 20 | 22 28 25 73 29 25 2e 31 | printf |"(%s)%.1|
|00001d70| 66 20 25 2e 31 66 20 53 | 5c 6e 22 2c 20 24 74 65 |f %.1f S|\n", $te|
|00001d80| 78 74 2c 20 24 78 20 2b | 20 24 69 6e 64 65 6e 74 |xt, $x +| $indent|
|00001d90| 2c 20 24 63 75 72 5f 70 | 6f 73 20 0a 58 20 20 20 |, $cur_p|os .X |
|00001da0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 69 66 20 | | if |
|00001db0| 28 6c 65 6e 67 74 68 28 | 24 74 65 78 74 29 29 3b |(length(|$text));|
|00001dc0| 0a 58 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 |.X | if|
|00001dd0| 20 28 24 6f 70 74 5f 6c | 20 26 26 20 28 28 24 6c | ($opt_l| && (($l|
|00001de0| 69 6e 65 5f 6e 6f 20 25 | 20 35 29 20 3d 3d 20 30 |ine_no %| 5) == 0|
|00001df0| 20 7c 7c 20 65 6f 66 29 | 29 20 7b 20 23 20 70 72 | || eof)|) { # pr|
|00001e00| 69 6e 74 20 6c 69 6e 65 | 20 6e 75 6d 62 65 72 73 |int line| numbers|
|00001e10| 0a 58 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.X | |
|00001e20| 20 20 20 70 72 69 6e 74 | 66 20 22 46 32 20 53 46 | print|f "F2 SF|
|00001e30| 28 24 6c 69 6e 65 5f 6e | 6f 29 25 2e 31 66 20 25 |($line_n|o)%.1f %|
|00001e40| 2e 31 66 20 53 20 46 31 | 20 53 46 5c 6e 22 2c 0a |.1f S F1| SF\n",.|
|00001e50| 58 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |X | |
|00001e60| 20 20 20 20 20 20 20 20 | 20 24 78 20 2b 20 24 63 | | $x + $c|
|00001e70| 6f 6c 5f 77 69 64 74 68 | 20 2b 20 35 2c 20 24 63 |ol_width| + 5, $c|
|00001e80| 75 72 5f 70 6f 73 3b 0a | 58 20 20 20 20 20 20 20 |ur_pos;.|X |
|00001e90| 20 20 20 20 20 7d 0a 58 | 20 20 20 20 20 20 20 20 | }.X| |
|00001ea0| 7d 20 77 68 69 6c 65 20 | 28 6c 65 6e 67 74 68 28 |} while |(length(|
|00001eb0| 24 5f 29 29 3b 0a 58 20 | 20 20 20 7d 20 23 20 77 |$_));.X | } # w|
|00001ec0| 68 69 6c 65 20 28 65 61 | 63 68 20 6c 69 6e 65 29 |hile (ea|ch line)|
|00001ed0| 0a 7d 20 23 20 77 68 69 | 6c 65 20 28 65 61 63 68 |.} # whi|le (each|
|00001ee0| 20 66 69 6c 65 29 0a 26 | 65 6e 64 5f 70 61 67 65 | file).&|end_page|
|00001ef0| 3b 0a 70 72 69 6e 74 20 | 22 25 25 54 72 61 69 6c |;.print |"%%Trail|
|00001f00| 65 72 5c 6e 22 3b 0a 70 | 72 69 6e 74 20 22 25 25 |er\n";.p|rint "%%|
|00001f10| 50 61 67 65 73 3a 20 24 | 70 61 67 65 5f 6e 6f 5c |Pages: $|page_no\|
|00001f20| 6e 22 3b 0a 23 20 70 72 | 69 6e 74 66 20 22 28 24 |n";.# pr|intf "($|
|00001f30| 70 72 6f 67 3a 20 24 70 | 61 67 65 5f 6e 6f 20 70 |prog: $p|age_no p|
|00001f40| 61 67 65 25 73 20 66 6f | 72 20 24 75 73 65 72 5c |age%s fo|r $user\|
|00001f50| 6e 29 20 70 72 69 6e 74 | 5c 6e 22 2c 0a 23 20 20 |n) print|\n",.# |
|00001f60| 20 20 20 24 70 61 67 65 | 5f 6e 6f 20 21 3d 20 31 | $page|_no != 1|
|00001f70| 20 3f 20 22 73 22 20 3a | 20 22 22 3b 0a 58 0a 23 | ? "s" :| "";.X.#|
|00001f80| 2d 2d 65 6e 64 20 6f 66 | 20 6d 61 69 6e 2d 2d 2d |--end of| main---|
|00001f90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001fa0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001fb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001fc0| 2d 2d 2d 2d 0a 58 0a 58 | 0a 73 75 62 20 70 72 6f |----.X.X|.sub pro|
|00001fd0| 6c 6f 67 20 7b 0a 58 20 | 20 20 24 75 73 65 72 20 |log {.X | $user |
|00001fe0| 3d 20 67 65 74 6c 6f 67 | 69 6e 20 7c 7c 20 22 28 |= getlog|in || "(|
|00001ff0| 75 6e 6b 6e 6f 77 6e 29 | 22 3b 0a 58 20 20 20 6c |unknown)|";.X l|
|00002000| 6f 63 61 6c 28 24 73 65 | 63 2c 24 6d 69 6e 2c 24 |ocal($se|c,$min,$|
|00002010| 68 6f 75 72 2c 24 6d 64 | 61 79 2c 24 6d 6f 6e 2c |hour,$md|ay,$mon,|
|00002020| 24 79 65 61 72 29 20 3d | 20 6c 6f 63 61 6c 74 69 |$year) =| localti|
|00002030| 6d 65 3b 0a 58 20 20 20 | 24 64 61 74 65 20 3d 20 |me;.X |$date = |
|00002040| 73 70 72 69 6e 74 66 28 | 22 28 25 73 20 25 64 2c |sprintf(|"(%s %d,|
|00002050| 20 25 64 29 20 28 25 32 | 64 3a 25 30 32 64 29 22 | %d) (%2|d:%02d)"|
|00002060| 2c 0a 58 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |,.X | |
|00002070| 20 20 20 20 20 20 20 28 | 27 4a 61 6e 75 61 72 79 | (|'January|
|00002080| 27 2c 27 46 65 62 72 75 | 61 72 79 27 2c 27 4d 61 |','Febru|ary','Ma|
|00002090| 72 63 68 27 2c 27 41 70 | 72 69 6c 27 2c 27 4d 61 |rch','Ap|ril','Ma|
|000020a0| 79 27 2c 27 4a 75 6e 65 | 27 2c 0a 58 20 20 20 20 |y','June|',.X |
|000020b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020c0| 20 27 4a 75 6c 79 27 2c | 27 41 75 67 75 73 74 27 | 'July',|'August'|
|000020d0| 2c 27 4f 63 74 6f 62 65 | 72 27 2c 27 4e 6f 76 65 |,'Octobe|r','Nove|
|000020e0| 6d 62 65 72 27 2c 27 44 | 65 73 65 6d 62 65 72 27 |mber','D|esember'|
|000020f0| 29 5b 24 6d 6f 6e 5d 2c | 0a 58 20 20 20 20 20 20 |)[$mon],|.X |
|00002100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 24 | | $|
|00002110| 6d 64 61 79 2c 20 24 79 | 65 61 72 2b 31 39 30 30 |mday, $y|ear+1900|
|00002120| 2c 20 24 68 6f 75 72 2c | 24 6d 69 6e 29 3b 0a 58 |, $hour,|$min);.X|
|00002130| 20 20 20 70 72 69 6e 74 | 20 22 25 21 50 53 2d 41 | print| "%!PS-A|
|00002140| 64 6f 62 65 2d 32 2e 30 | 5c 6e 22 3b 0a 58 20 20 |dobe-2.0|\n";.X |
|00002150| 20 70 72 69 6e 74 20 22 | 25 25 54 69 74 6c 65 3a | print "|%%Title:|
|00002160| 20 40 41 52 47 56 5c 6e | 22 20 69 66 20 28 40 41 | @ARGV\n|" if (@A|
|00002170| 52 47 56 29 3b 0a 58 20 | 20 20 70 72 69 6e 74 20 |RGV);.X | print |
|00002180| 3c 3c 22 45 4f 54 22 3b | 0a 25 25 43 72 65 61 74 |<<"EOT";|.%%Creat|
|00002190| 6f 72 3a 20 24 70 72 6f | 67 2c 20 54 65 78 74 20 |or: $pro|g, Text |
|000021a0| 74 6f 20 50 6f 73 74 53 | 63 72 69 70 74 20 66 69 |to PostS|cript fi|
|000021b0| 6c 74 65 72 20 69 6e 20 | 70 65 72 6c 2c 20 28 43 |lter in |perl, (C|
|000021c0| 29 20 31 39 39 30 20 47 | 69 73 6c 65 20 41 61 73 |) 1990 G|isle Aas|
|000021d0| 2c 20 4e 43 43 0a 25 25 | 43 72 65 61 74 69 6f 6e |, NCC.%%|Creation|
|000021e0| 44 61 74 65 3a 20 24 64 | 61 74 65 0a 25 25 46 6f |Date: $d|ate.%%Fo|
|000021f0| 72 3a 20 24 75 73 65 72 | 0a 25 25 50 61 67 65 73 |r: $user|.%%Pages|
|00002200| 3a 20 28 61 74 65 6e 64 | 29 0a 45 4f 54 0a 58 20 |: (atend|).EOT.X |
|00002210| 20 20 70 72 69 6e 74 20 | 22 25 25 44 6f 63 75 6d | print |"%%Docum|
|00002220| 65 6e 74 46 6f 6e 74 73 | 3a 20 24 66 6f 6e 74 22 |entFonts|: $font"|
|00002230| 3b 0a 58 20 20 20 70 72 | 69 6e 74 20 22 20 24 6c |;.X pr|int " $l|
|00002240| 69 6e 65 5f 6e 75 6d 62 | 65 72 5f 66 6f 6e 74 22 |ine_numb|er_font"|
|00002250| 20 69 66 20 28 24 6f 70 | 74 5f 6c 29 3b 0a 58 20 | if ($op|t_l);.X |
|00002260| 20 20 70 72 69 6e 74 20 | 22 20 24 68 65 61 64 65 | print |" $heade|
|00002270| 72 5f 66 6f 6e 74 22 20 | 69 66 20 28 24 73 68 6f |r_font" |if ($sho|
|00002280| 77 5f 68 65 61 64 65 72 | 29 3b 0a 58 20 20 20 70 |w_header|);.X p|
|00002290| 72 69 6e 74 20 22 5c 6e | 22 3b 0a 58 20 20 20 70 |rint "\n|";.X p|
|000022a0| 72 69 6e 74 20 3c 3c 22 | 45 4f 54 22 3b 0a 25 25 |rint <<"|EOT";.%%|
|000022b0| 45 6e 64 43 6f 6d 6d 65 | 6e 74 73 0a 2f 53 7b 6d |EndComme|nts./S{m|
|000022c0| 6f 76 65 74 6f 20 73 68 | 6f 77 7d 62 69 6e 64 20 |oveto sh|ow}bind |
|000022d0| 64 65 66 0a 2f 4d 2f 6d | 6f 76 65 74 6f 20 6c 6f |def./M/m|oveto lo|
|000022e0| 61 64 20 64 65 66 0a 2f | 4c 2f 6c 69 6e 65 74 6f |ad def./|L/lineto|
|000022f0| 20 6c 6f 61 64 20 64 65 | 66 0a 2f 53 46 2f 73 65 | load de|f./SF/se|
|00002300| 74 66 6f 6e 74 20 6c 6f | 61 64 20 64 65 66 0a 45 |tfont lo|ad def.E|
|00002310| 4f 54 0a 58 20 20 20 20 | 70 72 69 6e 74 20 3c 3c |OT.X |print <<|
|00002320| 22 45 4f 54 22 20 69 66 | 20 28 24 69 73 6f 65 6e |"EOT" if| ($isoen|
|00002330| 63 6f 64 69 6e 67 5f 6e | 6f 74 5f 62 75 69 6c 74 |coding_n|ot_built|
|00002340| 69 6e 20 26 26 20 21 24 | 6e 6f 72 73 6b 5f 61 73 |in && !$|norsk_as|
|00002350| 63 69 69 29 3b 0a 49 53 | 4f 4c 61 74 69 6e 31 45 |cii);.IS|OLatin1E|
|00002360| 6e 63 6f 64 69 6e 67 20 | 77 68 65 72 65 20 7b 20 |ncoding |where { |
|00002370| 70 6f 70 20 7d 20 7b 20 | 49 53 4f 4c 61 74 69 6e |pop } { |ISOLatin|
|00002380| 31 45 6e 63 6f 64 69 6e | 67 0a 5b 2f 2e 6e 6f 74 |1Encodin|g.[/.not|
|00002390| 64 65 66 2f 2e 6e 6f 74 | 64 65 66 2f 2e 6e 6f 74 |def/.not|def/.not|
|000023a0| 64 65 66 2f 2e 6e 6f 74 | 64 65 66 2f 2e 6e 6f 74 |def/.not|def/.not|
|000023b0| 64 65 66 2f 2e 6e 6f 74 | 64 65 66 2f 2e 6e 6f 74 |def/.not|def/.not|
|000023c0| 64 65 66 2f 2e 6e 6f 74 | 64 65 66 0a 2f 2e 6e 6f |def/.not|def./.no|
|000023d0| 74 64 65 66 2f 2e 6e 6f | 74 64 65 66 2f 2e 6e 6f |tdef/.no|tdef/.no|
|000023e0| 74 64 65 66 2f 2e 6e 6f | 74 64 65 66 2f 2e 6e 6f |tdef/.no|tdef/.no|
|000023f0| 74 64 65 66 2f 2e 6e 6f | 74 64 65 66 2f 2e 6e 6f |tdef/.no|tdef/.no|
|00002400| 74 64 65 66 2f 2e 6e 6f | 74 64 65 66 0a 2f 2e 6e |tdef/.no|tdef./.n|
|00002410| 6f 74 64 65 66 2f 2e 6e | 6f 74 64 65 66 2f 2e 6e |otdef/.n|otdef/.n|
|00002420| 6f 74 64 65 66 2f 2e 6e | 6f 74 64 65 66 2f 2e 6e |otdef/.n|otdef/.n|
|00002430| 6f 74 64 65 66 2f 2e 6e | 6f 74 64 65 66 2f 2e 6e |otdef/.n|otdef/.n|
|00002440| 6f 74 64 65 66 2f 2e 6e | 6f 74 64 65 66 0a 2f 2e |otdef/.n|otdef./.|
|00002450| 6e 6f 74 64 65 66 2f 2e | 6e 6f 74 64 65 66 2f 2e |notdef/.|notdef/.|
|00002460| 6e 6f 74 64 65 66 2f 2e | 6e 6f 74 64 65 66 2f 2e |notdef/.|notdef/.|
|00002470| 6e 6f 74 64 65 66 2f 2e | 6e 6f 74 64 65 66 2f 2e |notdef/.|notdef/.|
|00002480| 6e 6f 74 64 65 66 2f 2e | 6e 6f 74 64 65 66 2f 73 |notdef/.|notdef/s|
|00002490| 70 61 63 65 0a 2f 65 78 | 63 6c 61 6d 2f 71 75 6f |pace./ex|clam/quo|
|000024a0| 74 65 64 62 6c 2f 6e 75 | 6d 62 65 72 73 69 67 6e |tedbl/nu|mbersign|
|000024b0| 2f 64 6f 6c 6c 61 72 2f | 70 65 72 63 65 6e 74 2f |/dollar/|percent/|
|000024c0| 61 6d 70 65 72 73 61 6e | 64 2f 71 75 6f 74 65 72 |ampersan|d/quoter|
|000024d0| 69 67 68 74 0a 2f 70 61 | 72 65 6e 6c 65 66 74 2f |ight./pa|renleft/|
|000024e0| 70 61 72 65 6e 72 69 67 | 68 74 2f 61 73 74 65 72 |parenrig|ht/aster|
|000024f0| 69 73 6b 2f 70 6c 75 73 | 2f 63 6f 6d 6d 61 2f 6d |isk/plus|/comma/m|
|00002500| 69 6e 75 73 2f 70 65 72 | 69 6f 64 2f 73 6c 61 73 |inus/per|iod/slas|
|00002510| 68 2f 7a 65 72 6f 2f 6f | 6e 65 0a 2f 74 77 6f 2f |h/zero/o|ne./two/|
|00002520| 74 68 72 65 65 2f 66 6f | 75 72 2f 66 69 76 65 2f |three/fo|ur/five/|
|00002530| 73 69 78 2f 73 65 76 65 | 6e 2f 65 69 67 68 74 2f |six/seve|n/eight/|
|00002540| 6e 69 6e 65 2f 63 6f 6c | 6f 6e 2f 73 65 6d 69 63 |nine/col|on/semic|
|00002550| 6f 6c 6f 6e 2f 6c 65 73 | 73 2f 65 71 75 61 6c 0a |olon/les|s/equal.|
|00002560| 2f 67 72 65 61 74 65 72 | 2f 71 75 65 73 74 69 6f |/greater|/questio|
|00002570| 6e 2f 61 74 2f 41 2f 42 | 2f 43 2f 44 2f 45 2f 46 |n/at/A/B|/C/D/E/F|
|00002580| 2f 47 2f 48 2f 49 2f 4a | 2f 4b 2f 4c 2f 4d 2f 4e |/G/H/I/J|/K/L/M/N|
|00002590| 2f 4f 2f 50 2f 51 2f 52 | 2f 53 0a 2f 54 2f 55 2f |/O/P/Q/R|/S./T/U/|
|000025a0| 56 2f 57 2f 58 2f 59 2f | 5a 2f 62 72 61 63 6b 65 |V/W/X/Y/|Z/bracke|
|000025b0| 74 6c 65 66 74 2f 62 61 | 63 6b 73 6c 61 73 68 2f |tleft/ba|ckslash/|
|000025c0| 62 72 61 63 6b 65 74 72 | 69 67 68 74 2f 61 73 63 |bracketr|ight/asc|
|000025d0| 69 69 63 69 72 63 75 6d | 0a 2f 75 6e 64 65 72 73 |iicircum|./unders|
|000025e0| 63 6f 72 65 2f 71 75 6f | 74 65 6c 65 66 74 2f 61 |core/quo|teleft/a|
|000025f0| 2f 62 2f 63 2f 64 2f 65 | 2f 66 2f 67 2f 68 2f 69 |/b/c/d/e|/f/g/h/i|
|00002600| 2f 6a 2f 6b 2f 6c 2f 6d | 2f 6e 2f 6f 2f 70 2f 71 |/j/k/l/m|/n/o/p/q|
|00002610| 2f 72 2f 73 0a 2f 74 2f | 75 2f 76 2f 77 2f 78 2f |/r/s./t/|u/v/w/x/|
|00002620| 79 2f 7a 2f 62 72 61 63 | 65 6c 65 66 74 2f 62 61 |y/z/brac|eleft/ba|
|00002630| 72 2f 62 72 61 63 65 72 | 69 67 68 74 2f 61 73 63 |r/bracer|ight/asc|
|00002640| 69 69 74 69 6c 64 65 2f | 2e 6e 6f 74 64 65 66 2f |iitilde/|.notdef/|
|00002650| 2e 6e 6f 74 64 65 66 0a | 2f 2e 6e 6f 74 64 65 66 |.notdef.|/.notdef|
|00002660| 2f 2e 6e 6f 74 64 65 66 | 2f 2e 6e 6f 74 64 65 66 |/.notdef|/.notdef|
|00002670| 2f 2e 6e 6f 74 64 65 66 | 2f 2e 6e 6f 74 64 65 66 |/.notdef|/.notdef|
|00002680| 2f 2e 6e 6f 74 64 65 66 | 2f 2e 6e 6f 74 64 65 66 |/.notdef|/.notdef|
|00002690| 2f 2e 6e 6f 74 64 65 66 | 0a 2f 2e 6e 6f 74 64 65 |/.notdef|./.notde|
|000026a0| 66 2f 2e 6e 6f 74 64 65 | 66 2f 2e 6e 6f 74 64 65 |f/.notde|f/.notde|
|000026b0| 66 2f 2e 6e 6f 74 64 65 | 66 2f 2e 6e 6f 74 64 65 |f/.notde|f/.notde|
|000026c0| 66 2f 2e 6e 6f 74 64 65 | 66 2f 2e 6e 6f 74 64 65 |f/.notde|f/.notde|
|000026d0| 66 2f 64 6f 74 6c 65 73 | 73 69 2f 67 72 61 76 65 |f/dotles|si/grave|
|000026e0| 0a 2f 61 63 75 74 65 2f | 63 69 72 63 75 6d 66 6c |./acute/|circumfl|
|000026f0| 65 78 2f 74 69 6c 64 65 | 2f 6d 61 63 72 6f 6e 2f |ex/tilde|/macron/|
|00002700| 62 72 65 76 65 2f 64 6f | 74 61 63 63 65 6e 74 2f |breve/do|taccent/|
|00002710| 64 69 65 72 65 73 69 73 | 2f 2e 6e 6f 74 64 65 66 |dieresis|/.notdef|
|00002720| 2f 72 69 6e 67 0a 2f 63 | 65 64 69 6c 6c 61 2f 2e |/ring./c|edilla/.|
|00002730| 6e 6f 74 64 65 66 2f 68 | 75 6e 67 61 72 75 6d 6c |notdef/h|ungaruml|
|00002740| 61 75 74 2f 6f 67 6f 6e | 65 6b 2f 63 61 72 6f 6e |aut/ogon|ek/caron|
|00002750| 2f 73 70 61 63 65 2f 65 | 78 63 6c 61 6d 64 6f 77 |/space/e|xclamdow|
|00002760| 6e 2f 63 65 6e 74 0a 2f | 73 74 65 72 6c 69 6e 67 |n/cent./|sterling|
|00002770| 2f 63 75 72 72 65 6e 63 | 79 2f 79 65 6e 2f 62 72 |/currenc|y/yen/br|
|00002780| 6f 6b 65 6e 62 61 72 2f | 73 65 63 74 69 6f 6e 2f |okenbar/|section/|
|00002790| 64 69 65 72 65 73 69 73 | 2f 63 6f 70 79 72 69 67 |dieresis|/copyrig|
|000027a0| 68 74 2f 6f 72 64 66 65 | 6d 69 6e 69 6e 65 0a 2f |ht/ordfe|minine./|
|000027b0| 67 75 69 6c 6c 65 6d 6f | 74 6c 65 66 74 2f 6c 6f |guillemo|tleft/lo|
|000027c0| 67 69 63 61 6c 6e 6f 74 | 2f 68 79 70 68 65 6e 2f |gicalnot|/hyphen/|
|000027d0| 72 65 67 69 73 74 65 72 | 65 64 2f 6d 61 63 72 6f |register|ed/macro|
|000027e0| 6e 2f 64 65 67 72 65 65 | 2f 70 6c 75 73 6d 69 6e |n/degree|/plusmin|
|000027f0| 75 73 0a 2f 74 77 6f 73 | 75 70 65 72 69 6f 72 2f |us./twos|uperior/|
|00002800| 74 68 72 65 65 73 75 70 | 65 72 69 6f 72 2f 61 63 |threesup|erior/ac|
|00002810| 75 74 65 2f 6d 75 2f 70 | 61 72 61 67 72 61 70 68 |ute/mu/p|aragraph|
|00002820| 2f 70 65 72 69 6f 64 63 | 65 6e 74 65 72 65 64 2f |/periodc|entered/|
|00002830| 63 65 64 69 6c 6c 61 0a | 2f 6f 6e 65 73 75 70 65 |cedilla.|/onesupe|
|00002840| 72 69 6f 72 2f 6f 72 64 | 6d 61 73 63 75 6c 69 6e |rior/ord|masculin|
|00002850| 65 2f 67 75 69 6c 6c 65 | 6d 6f 74 72 69 67 68 74 |e/guille|motright|
|00002860| 2f 6f 6e 65 71 75 61 72 | 74 65 72 2f 6f 6e 65 68 |/onequar|ter/oneh|
|00002870| 61 6c 66 2f 74 68 72 65 | 65 71 75 61 72 74 65 72 |alf/thre|equarter|
|00002880| 73 0a 2f 71 75 65 73 74 | 69 6f 6e 64 6f 77 6e 2f |s./quest|iondown/|
|00002890| 41 67 72 61 76 65 2f 41 | 61 63 75 74 65 2f 41 63 |Agrave/A|acute/Ac|
|000028a0| 69 72 63 75 6d 66 6c 65 | 78 2f 41 74 69 6c 64 65 |ircumfle|x/Atilde|
|000028b0| 2f 41 64 69 65 72 65 73 | 69 73 2f 41 72 69 6e 67 |/Adieres|is/Aring|
|000028c0| 2f 41 45 0a 2f 43 63 65 | 64 69 6c 6c 61 2f 45 67 |/AE./Cce|dilla/Eg|
|000028d0| 72 61 76 65 2f 45 61 63 | 75 74 65 2f 45 63 69 72 |rave/Eac|ute/Ecir|
|000028e0| 63 75 6d 66 6c 65 78 2f | 45 64 69 65 72 65 73 69 |cumflex/|Edieresi|
|000028f0| 73 2f 49 67 72 61 76 65 | 2f 49 61 63 75 74 65 2f |s/Igrave|/Iacute/|
|00002900| 49 63 69 72 63 75 6d 66 | 6c 65 78 0a 2f 49 64 69 |Icircumf|lex./Idi|
|00002910| 65 72 65 73 69 73 2f 45 | 74 68 2f 4e 74 69 6c 64 |eresis/E|th/Ntild|
|00002920| 65 2f 4f 67 72 61 76 65 | 2f 4f 61 63 75 74 65 2f |e/Ograve|/Oacute/|
|00002930| 4f 63 69 72 63 75 6d 66 | 6c 65 78 2f 4f 74 69 6c |Ocircumf|lex/Otil|
|00002940| 64 65 2f 4f 64 69 65 72 | 65 73 69 73 0a 2f 6d 75 |de/Odier|esis./mu|
|00002950| 6c 74 69 70 6c 79 2f 4f | 73 6c 61 73 68 2f 55 67 |ltiply/O|slash/Ug|
|00002960| 72 61 76 65 2f 55 61 63 | 75 74 65 2f 55 63 69 72 |rave/Uac|ute/Ucir|
|00002970| 63 75 6d 66 6c 65 78 2f | 55 64 69 65 72 65 73 69 |cumflex/|Udieresi|
|00002980| 73 2f 59 61 63 75 74 65 | 2f 54 68 6f 72 6e 0a 2f |s/Yacute|/Thorn./|
|00002990| 67 65 72 6d 61 6e 64 62 | 6c 73 2f 61 67 72 61 76 |germandb|ls/agrav|
|000029a0| 65 2f 61 61 63 75 74 65 | 2f 61 63 69 72 63 75 6d |e/aacute|/acircum|
|000029b0| 66 6c 65 78 2f 61 74 69 | 6c 64 65 2f 61 64 69 65 |flex/ati|lde/adie|
|000029c0| 72 65 73 69 73 2f 61 72 | 69 6e 67 2f 61 65 0a 2f |resis/ar|ing/ae./|
|000029d0| 63 63 65 64 69 6c 6c 61 | 2f 65 67 72 61 76 65 2f |ccedilla|/egrave/|
|000029e0| 65 61 63 75 74 65 2f 65 | 63 69 72 63 75 6d 66 6c |eacute/e|circumfl|
|000029f0| 65 78 2f 65 64 69 65 72 | 65 73 69 73 2f 69 67 72 |ex/edier|esis/igr|
|00002a00| 61 76 65 2f 69 61 63 75 | 74 65 2f 69 63 69 72 63 |ave/iacu|te/icirc|
|00002a10| 75 6d 66 6c 65 78 0a 2f | 69 64 69 65 72 65 73 69 |umflex./|idieresi|
|00002a20| 73 2f 65 74 68 2f 6e 74 | 69 6c 64 65 2f 6f 67 72 |s/eth/nt|ilde/ogr|
|00002a30| 61 76 65 2f 6f 61 63 75 | 74 65 2f 6f 63 69 72 63 |ave/oacu|te/ocirc|
|00002a40| 75 6d 66 6c 65 78 2f 6f | 74 69 6c 64 65 2f 6f 64 |umflex/o|tilde/od|
|00002a50| 69 65 72 65 73 69 73 2f | 64 69 76 69 64 65 0a 2f |ieresis/|divide./|
|00002a60| 6f 73 6c 61 73 68 2f 75 | 67 72 61 76 65 2f 75 61 |oslash/u|grave/ua|
|00002a70| 63 75 74 65 2f 75 63 69 | 72 63 75 6d 66 6c 65 78 |cute/uci|rcumflex|
|00002a80| 2f 75 64 69 65 72 65 73 | 69 73 2f 79 61 63 75 74 |/udieres|is/yacut|
|00002a90| 65 2f 74 68 6f 72 6e 2f | 79 64 69 65 72 65 73 69 |e/thorn/|ydieresi|
|00002aa0| 73 5d 0a 64 65 66 20 25 | 49 53 4f 4c 61 74 69 6e |s].def %|ISOLatin|
|00002ab0| 31 45 6e 63 6f 64 69 6e | 67 0a 7d 20 69 66 65 6c |1Encodin|g.} ifel|
|00002ac0| 73 65 0a 45 4f 54 0a 58 | 20 20 20 20 70 72 69 6e |se.EOT.X| prin|
|00002ad0| 74 20 3c 3c 22 45 4f 54 | 22 20 69 66 20 28 24 6e |t <<"EOT|" if ($n|
|00002ae0| 6f 72 73 6b 5f 61 73 63 | 69 69 29 3b 0a 25 25 42 |orsk_asc|ii);.%%B|
|00002af0| 65 67 69 6e 50 72 6f 63 | 53 65 74 3a 20 72 65 65 |eginProc|Set: ree|
|00002b00| 6e 63 6f 64 65 20 31 2e | 30 20 30 0a 2f 52 45 20 |ncode 1.|0 0./RE |
|00002b10| 7b 20 25 64 65 66 0a 58 | 20 20 20 66 69 6e 64 66 |{ %def.X| findf|
|00002b20| 6f 6e 74 20 62 65 67 69 | 6e 0a 58 20 20 20 63 75 |ont begi|n.X cu|
|00002b30| 72 72 65 6e 74 64 69 63 | 74 20 64 75 70 20 6c 65 |rrentdic|t dup le|
|00002b40| 6e 67 74 68 20 64 69 63 | 74 20 62 65 67 69 6e 0a |ngth dic|t begin.|
|00002b50| 58 20 20 20 20 20 20 7b | 20 25 66 6f 72 61 6c 6c |X {| %forall|
|00002b60| 0a 58 20 20 20 20 20 20 | 20 20 20 31 20 69 6e 64 |.X | 1 ind|
|00002b70| 65 78 2f 46 49 44 20 6e | 65 20 7b 64 65 66 7d 20 |ex/FID n|e {def} |
|00002b80| 7b 70 6f 70 20 70 6f 70 | 7d 20 69 66 65 6c 73 65 |{pop pop|} ifelse|
|00002b90| 0a 58 20 20 20 20 20 20 | 7d 20 66 6f 72 61 6c 6c |.X |} forall|
|00002ba0| 0a 58 20 20 20 20 20 20 | 2f 46 6f 6e 74 4e 61 6d |.X |/FontNam|
|00002bb0| 65 20 65 78 63 68 20 64 | 65 66 0a 58 20 20 20 20 |e exch d|ef.X |
|00002bc0| 20 20 64 75 70 20 6c 65 | 6e 67 74 68 20 30 20 6e | dup le|ngth 0 n|
|00002bd0| 65 20 7b 20 25 69 66 0a | 58 20 20 20 20 20 20 20 |e { %if.|X |
|00002be0| 20 20 2f 45 6e 63 6f 64 | 69 6e 67 20 45 6e 63 6f | /Encod|ing Enco|
|00002bf0| 64 69 6e 67 20 32 35 36 | 20 61 72 72 61 79 20 63 |ding 256| array c|
|00002c00| 6f 70 79 20 64 65 66 0a | 58 20 20 20 20 20 20 20 |opy def.|X |
|00002c10| 20 20 30 20 65 78 63 68 | 20 7b 20 25 66 6f 72 61 | 0 exch| { %fora|
|00002c20| 6c 6c 0a 58 20 20 20 20 | 20 20 20 20 20 20 20 20 |ll.X | |
|00002c30| 64 75 70 20 74 79 70 65 | 20 2f 6e 61 6d 65 74 79 |dup type| /namety|
|00002c40| 70 65 20 65 71 20 7b 20 | 25 69 66 65 6c 73 65 0a |pe eq { |%ifelse.|
|00002c50| 58 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |X | |
|00002c60| 45 6e 63 6f 64 69 6e 67 | 20 32 20 69 6e 64 65 78 |Encoding| 2 index|
|00002c70| 20 32 20 69 6e 64 65 78 | 20 70 75 74 0a 58 20 20 | 2 index| put.X |
|00002c80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 70 6f 70 | | pop|
|00002c90| 20 31 20 61 64 64 0a 58 | 20 20 20 20 20 20 20 20 | 1 add.X| |
|00002ca0| 20 20 20 20 7d 7b 25 65 | 6c 73 65 0a 58 20 20 20 | }{%e|lse.X |
|00002cb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 65 78 63 68 | | exch|
|00002cc0| 20 70 6f 70 0a 58 20 20 | 20 20 20 20 20 20 20 20 | pop.X | |
|00002cd0| 20 20 7d 20 69 66 65 6c | 73 65 0a 58 20 20 20 20 | } ifel|se.X |
|00002ce0| 20 20 20 20 20 7d 20 66 | 6f 72 61 6c 6c 0a 58 20 | } f|orall.X |
|00002cf0| 20 20 20 20 20 7d 20 69 | 66 20 70 6f 70 0a 58 20 | } i|f pop.X |
|00002d00| 20 20 20 20 20 63 75 72 | 72 65 6e 74 64 69 63 74 | cur|rentdict|
|00002d10| 20 64 75 70 0a 58 20 20 | 20 65 6e 64 0a 58 20 20 | dup.X | end.X |
|00002d20| 20 65 6e 64 0a 58 20 20 | 20 2f 46 6f 6e 74 4e 61 | end.X | /FontNa|
|00002d30| 6d 65 20 67 65 74 20 65 | 78 63 68 20 64 65 66 69 |me get e|xch defi|
|00002d40| 6e 65 66 6f 6e 74 20 70 | 6f 70 0a 7d 20 62 69 6e |nefont p|op.} bin|
|00002d50| 64 20 64 65 66 0a 25 25 | 45 6e 64 50 72 6f 63 53 |d def.%%|EndProcS|
|00002d60| 65 74 3a 20 72 65 65 6e | 63 6f 64 65 20 31 2e 30 |et: reen|code 1.0|
|00002d70| 20 30 0a 45 4f 54 0a 58 | 20 20 20 70 72 69 6e 74 | 0.EOT.X| print|
|00002d80| 20 3c 3c 22 45 4f 54 22 | 20 69 66 20 28 21 24 6e | <<"EOT"| if (!$n|
|00002d90| 6f 72 73 6b 5f 61 73 63 | 69 69 29 3b 0a 25 25 42 |orsk_asc|ii);.%%B|
|00002da0| 65 67 69 6e 50 72 6f 63 | 53 65 74 3a 20 6e 65 77 |eginProc|Set: new|
|00002db0| 65 6e 63 6f 64 65 20 31 | 2e 30 20 30 0a 2f 4e 45 |encode 1|.0 0./NE|
|00002dc0| 20 7b 20 25 64 65 66 0a | 58 20 20 20 66 69 6e 64 | { %def.|X find|
|00002dd0| 66 6f 6e 74 20 62 65 67 | 69 6e 0a 58 20 20 20 20 |font beg|in.X |
|00002de0| 20 20 63 75 72 72 65 6e | 74 64 69 63 74 20 64 75 | curren|tdict du|
|00002df0| 70 20 6c 65 6e 67 74 68 | 20 64 69 63 74 20 62 65 |p length| dict be|
|00002e00| 67 69 6e 0a 58 20 20 20 | 20 20 20 20 20 20 7b 20 |gin.X | { |
|00002e10| 25 66 6f 72 61 6c 6c 0a | 58 20 20 20 20 20 20 20 |%forall.|X |
|00002e20| 20 20 20 20 20 31 20 69 | 6e 64 65 78 2f 46 49 44 | 1 i|ndex/FID|
|00002e30| 20 6e 65 20 7b 64 65 66 | 7d 20 7b 70 6f 70 20 70 | ne {def|} {pop p|
|00002e40| 6f 70 7d 20 69 66 65 6c | 73 65 0a 58 20 20 20 20 |op} ifel|se.X |
|00002e50| 20 20 20 20 20 7d 20 66 | 6f 72 61 6c 6c 0a 58 20 | } f|orall.X |
|00002e60| 20 20 20 20 20 20 20 20 | 2f 46 6f 6e 74 4e 61 6d | |/FontNam|
|00002e70| 65 20 65 78 63 68 20 64 | 65 66 0a 58 20 20 20 20 |e exch d|ef.X |
|00002e80| 20 20 20 20 20 2f 45 6e | 63 6f 64 69 6e 67 20 65 | /En|coding e|
|00002e90| 78 63 68 20 64 65 66 0a | 58 20 20 20 20 20 20 20 |xch def.|X |
|00002ea0| 20 20 63 75 72 72 65 6e | 74 64 69 63 74 20 64 75 | curren|tdict du|
|00002eb0| 70 0a 58 20 20 20 20 20 | 20 65 6e 64 0a 58 20 20 |p.X | end.X |
|00002ec0| 20 65 6e 64 0a 58 20 20 | 20 2f 46 6f 6e 74 4e 61 | end.X | /FontNa|
|00002ed0| 6d 65 20 67 65 74 20 65 | 78 63 68 20 64 65 66 69 |me get e|xch defi|
|00002ee0| 6e 65 66 6f 6e 74 20 70 | 6f 70 0a 7d 20 62 69 6e |nefont p|op.} bin|
|00002ef0| 64 20 64 65 66 0a 25 25 | 45 6e 64 50 72 6f 63 53 |d def.%%|EndProcS|
|00002f00| 65 74 3a 20 6e 65 77 65 | 6e 63 6f 64 65 20 31 2e |et: newe|ncode 1.|
|00002f10| 30 20 30 0a 45 4f 54 0a | 58 20 20 20 70 72 69 6e |0 0.EOT.|X prin|
|00002f20| 74 20 22 25 25 45 6e 64 | 50 72 6f 6c 6f 67 5c 6e |t "%%End|Prolog\n|
|00002f30| 25 25 42 65 67 69 6e 53 | 65 74 75 70 5c 6e 22 3b |%%BeginS|etup\n";|
|00002f40| 0a 58 20 20 20 69 66 20 | 28 24 6e 6f 72 73 6b 5f |.X if |($norsk_|
|00002f50| 61 73 63 69 69 29 20 7b | 0a 58 20 20 20 20 20 20 |ascii) {|.X |
|00002f60| 70 72 69 6e 74 20 22 5b | 38 23 31 33 33 20 2f 41 |print "[|8#133 /A|
|00002f70| 45 2f 4f 73 6c 61 73 68 | 2f 41 72 69 6e 67 20 38 |E/Oslash|/Aring 8|
|00002f80| 23 31 37 33 20 2f 61 65 | 2f 6f 73 6c 61 73 68 2f |#173 /ae|/oslash/|
|00002f90| 61 72 69 6e 67 5d 20 64 | 75 70 5c 6e 22 3b 0a 58 |aring] d|up\n";.X|
|00002fa0| 20 20 20 20 20 20 70 72 | 69 6e 74 20 22 2f 24 66 | pr|int "/$f|
|00002fb0| 6f 6e 74 2d 49 53 4f 2f | 24 66 6f 6e 74 20 52 45 |ont-ISO/|$font RE|
|00002fc0| 5c 6e 22 3b 0a 58 20 20 | 20 20 20 20 70 72 69 6e |\n";.X | prin|
|00002fd0| 74 20 22 2f 24 68 65 61 | 64 65 72 5f 66 6f 6e 74 |t "/$hea|der_font|
|00002fe0| 2d 49 53 4f 2f 24 68 65 | 61 64 65 72 5f 66 6f 6e |-ISO/$he|ader_fon|
|00002ff0| 74 20 52 45 5c 6e 22 20 | 69 66 20 28 24 73 68 6f |t RE\n" |if ($sho|
|00003000| 77 5f 68 65 61 64 65 72 | 29 3b 0a 58 20 20 20 7d |w_header|);.X }|
|00003010| 20 65 6c 73 65 20 7b 0a | 58 20 20 20 20 20 20 70 | else {.|X p|
|00003020| 72 69 6e 74 20 22 49 53 | 4f 4c 61 74 69 6e 31 45 |rint "IS|OLatin1E|
|00003030| 6e 63 6f 64 69 6e 67 20 | 2f 24 66 6f 6e 74 2d 49 |ncoding |/$font-I|
|00003040| 53 4f 2f 24 66 6f 6e 74 | 20 4e 45 5c 6e 22 3b 0a |SO/$font| NE\n";.|
|00003050| 58 20 20 20 20 20 20 70 | 72 69 6e 74 20 22 49 53 |X p|rint "IS|
|00003060| 4f 4c 61 74 69 6e 31 45 | 6e 63 6f 64 69 6e 67 20 |OLatin1E|ncoding |
|00003070| 2f 24 68 65 61 64 65 72 | 5f 66 6f 6e 74 2d 49 53 |/$header|_font-IS|
|00003080| 4f 2f 24 68 65 61 64 65 | 72 5f 66 6f 6e 74 20 4e |O/$heade|r_font N|
|00003090| 45 5c 6e 22 0a 58 20 20 | 20 20 20 20 20 20 20 69 |E\n".X | i|
|000030a0| 66 20 28 24 73 68 6f 77 | 5f 68 65 61 64 65 72 29 |f ($show|_header)|
|000030b0| 3b 0a 58 20 20 20 7d 0a | 58 20 20 20 70 72 69 6e |;.X }.|X prin|
|000030c0| 74 20 22 2f 46 31 2f 24 | 66 6f 6e 74 2d 49 53 4f |t "/F1/$|font-ISO|
|000030d0| 20 66 69 6e 64 66 6f 6e | 74 20 24 66 6f 6e 74 5f | findfon|t $font_|
|000030e0| 73 69 7a 65 20 73 63 61 | 6c 65 66 6f 6e 74 20 64 |size sca|lefont d|
|000030f0| 65 66 5c 6e 22 3b 0a 58 | 20 20 20 70 72 69 6e 74 |ef\n";.X| print|
|00003100| 20 22 2f 46 32 2f 24 6c | 69 6e 65 5f 6e 75 6d 62 | "/F2/$l|ine_numb|
|00003110| 65 72 5f 66 6f 6e 74 20 | 66 69 6e 64 66 6f 6e 74 |er_font |findfont|
|00003120| 20 24 6c 69 6e 65 5f 6e | 75 6d 62 65 72 5f 73 69 | $line_n|umber_si|
|00003130| 7a 65 20 73 63 61 6c 65 | 66 6f 6e 74 20 64 65 66 |ze scale|font def|
|00003140| 5c 6e 22 0a 58 20 20 20 | 20 20 20 20 20 69 66 20 |\n".X | if |
|00003150| 28 24 6f 70 74 5f 6c 29 | 3b 0a 58 20 20 20 70 72 |($opt_l)|;.X pr|
|00003160| 69 6e 74 20 22 2f 46 33 | 2f 24 68 65 61 64 65 72 |int "/F3|/$header|
|00003170| 5f 66 6f 6e 74 2d 49 53 | 4f 20 66 69 6e 64 66 6f |_font-IS|O findfo|
|00003180| 6e 74 20 24 68 65 61 64 | 65 72 5f 66 6f 6e 74 5f |nt $head|er_font_|
|00003190| 73 69 7a 65 20 73 63 61 | 6c 65 66 6f 6e 74 20 64 |size sca|lefont d|
|000031a0| 65 66 5c 6e 22 0a 58 20 | 20 20 20 20 20 20 20 69 |ef\n".X | i|
|000031b0| 66 20 28 24 73 68 6f 77 | 5f 68 65 61 64 65 72 29 |f ($show|_header)|
|000031c0| 3b 0a 58 20 20 20 70 72 | 69 6e 74 20 22 46 31 20 |;.X pr|int "F1 |
|000031d0| 53 46 5c 6e 22 3b 0a 58 | 20 20 20 70 72 69 6e 74 |SF\n";.X| print|
|000031e0| 20 22 25 25 45 6e 64 53 | 65 74 75 70 5c 6e 22 3b | "%%EndS|etup\n";|
|000031f0| 0a 7d 0a 58 0a 58 0a 58 | 0a 73 75 62 20 6e 65 77 |.}.X.X.X|.sub new|
|00003200| 5f 70 61 67 65 20 7b 0a | 58 20 20 20 26 65 6e 64 |_page {.|X &end|
|00003210| 5f 70 61 67 65 20 75 6e | 6c 65 73 73 20 28 24 70 |_page un|less ($p|
|00003220| 61 67 65 5f 6e 6f 20 3d | 3d 20 30 29 3b 0a 58 20 |age_no =|= 0);.X |
|00003230| 20 20 24 70 61 67 65 5f | 6e 6f 2b 2b 3b 0a 58 20 | $page_|no++;.X |
|00003240| 20 20 70 72 69 6e 74 20 | 22 25 25 50 61 67 65 3a | print |"%%Page:|
|00003250| 20 24 70 61 67 65 5f 6e | 6f 20 24 70 61 67 65 5f | $page_n|o $page_|
|00003260| 6e 6f 5c 6e 22 3b 0a 58 | 20 20 20 70 72 69 6e 74 |no\n";.X| print|
|00003270| 20 22 25 25 42 65 67 69 | 6e 50 61 67 65 53 65 74 | "%%Begi|nPageSet|
|00003280| 75 70 5c 6e 22 3b 0a 58 | 20 20 20 70 72 69 6e 74 |up\n";.X| print|
|00003290| 20 22 2f 70 61 67 65 5f | 73 61 76 65 20 73 61 76 | "/page_|save sav|
|000032a0| 65 20 64 65 66 5c 6e 22 | 3b 0a 58 20 20 20 70 72 |e def\n"|;.X pr|
|000032b0| 69 6e 74 66 20 22 39 30 | 20 72 6f 74 61 74 65 20 |intf "90| rotate |
|000032c0| 30 20 2d 25 64 20 74 72 | 61 6e 73 6c 61 74 65 20 |0 -%d tr|anslate |
|000032d0| 25 25 20 6c 61 6e 64 73 | 63 61 70 65 20 6d 6f 64 |%% lands|cape mod|
|000032e0| 65 5c 6e 22 2c 26 70 61 | 67 65 5f 72 69 67 68 74 |e\n",&pa|ge_right|
|000032f0| 5f 65 64 67 65 0a 58 20 | 20 20 20 20 20 69 66 20 |_edge.X | if |
|00003300| 28 24 6c 61 6e 64 73 63 | 61 70 65 29 3b 0a 58 20 |($landsc|ape);.X |
|00003310| 20 20 70 72 69 6e 74 20 | 22 30 2e 31 35 20 73 65 | print |"0.15 se|
|00003320| 74 6c 69 6e 65 77 69 64 | 74 68 5c 6e 22 20 69 66 |tlinewid|th\n" if|
|00003330| 20 28 24 73 68 6f 77 5f | 68 65 61 64 65 72 29 3b | ($show_|header);|
|00003340| 0a 58 20 20 20 70 72 69 | 6e 74 20 22 25 25 45 6e |.X pri|nt "%%En|
|00003350| 64 50 61 67 65 53 65 74 | 75 70 5c 6e 22 3b 0a 58 |dPageSet|up\n";.X|
|00003360| 20 20 20 69 66 20 28 24 | 73 68 6f 77 5f 68 65 61 | if ($|show_hea|
|00003370| 64 65 72 29 20 7b 0a 58 | 20 20 20 20 20 20 23 20 |der) {.X| # |
|00003380| 46 69 72 73 74 20 70 72 | 69 6e 74 20 61 20 62 6f |First pr|int a bo|
|00003390| 78 0a 58 20 20 20 20 20 | 20 6c 6f 63 61 6c 28 24 |x.X | local($|
|000033a0| 6c 6c 78 2c 24 6c 6c 79 | 2c 24 75 72 78 2c 24 75 |llx,$lly|,$urx,$u|
|000033b0| 72 79 29 20 3d 20 28 24 | 6c 65 66 74 5f 6d 61 72 |ry) = ($|left_mar|
|000033c0| 67 69 6e 20 2d 20 31 30 | 2c 0a 58 20 20 20 20 20 |gin - 10|,.X |
|000033d0| 20 20 20 20 20 20 20 24 | 74 6f 70 20 2d 20 24 74 | $|top - $t|
|000033e0| 62 5f 6d 61 72 67 69 6e | 20 2d 20 24 68 65 61 64 |b_margin| - $head|
|000033f0| 65 72 5f 66 6f 6e 74 5f | 73 69 7a 65 20 2a 20 31 |er_font_|size * 1|
|00003400| 2e 33 2c 0a 58 20 20 20 | 20 20 20 20 20 20 20 20 |.3,.X | |
|00003410| 20 24 72 69 67 68 74 5f | 65 64 67 65 20 2d 20 24 | $right_|edge - $|
|00003420| 72 69 67 68 74 5f 6d 61 | 72 67 69 6e 20 2b 20 31 |right_ma|rgin + 1|
|00003430| 30 2c 20 24 74 6f 70 20 | 2d 20 24 74 62 5f 6d 61 |0, $top |- $tb_ma|
|00003440| 72 67 69 6e 29 3b 0a 58 | 20 20 20 20 20 20 70 72 |rgin);.X| pr|
|00003450| 69 6e 74 66 20 22 25 2e | 31 66 20 25 2e 31 66 20 |intf "%.|1f %.1f |
|00003460| 4d 20 25 2e 31 66 20 25 | 2e 31 66 20 4c 20 25 2e |M %.1f %|.1f L %.|
|00003470| 31 66 20 25 2e 31 66 20 | 4c 20 22 2c 0a 58 20 20 |1f %.1f |L ",.X |
|00003480| 20 20 20 20 20 20 20 20 | 20 20 20 24 6c 6c 78 2c | | $llx,|
|00003490| 24 6c 6c 79 2c 20 24 75 | 72 78 2c 24 6c 6c 79 2c |$lly, $u|rx,$lly,|
|000034a0| 20 24 75 72 78 2c 20 24 | 75 72 79 3b 0a 58 20 20 | $urx, $|ury;.X |
|000034b0| 20 20 20 20 70 72 69 6e | 74 66 20 22 25 2e 31 66 | prin|tf "%.1f|
|000034c0| 20 25 2e 31 66 20 4c 20 | 63 6c 6f 73 65 70 61 74 | %.1f L |closepat|
|000034d0| 68 20 5c 6e 22 2c 24 6c | 6c 78 2c 24 75 72 79 3b |h \n",$l|lx,$ury;|
|000034e0| 0a 58 20 20 20 20 20 20 | 70 72 69 6e 74 20 20 22 |.X |print "|
|000034f0| 67 73 61 76 65 20 2e 39 | 35 20 73 65 74 67 72 61 |gsave .9|5 setgra|
|00003500| 79 20 66 69 6c 6c 20 67 | 72 65 73 74 6f 72 65 20 |y fill g|restore |
|00003510| 73 74 72 6f 6b 65 5c 6e | 22 3b 0a 58 20 20 20 20 |stroke\n|";.X |
|00003520| 20 20 23 20 54 68 65 6e | 20 74 68 65 20 62 61 6e | # Then| the ban|
|00003530| 6e 65 72 20 6f 72 20 74 | 68 65 20 66 69 6c 65 6e |ner or t|he filen|
|00003540| 61 6d 65 0a 58 20 20 20 | 20 20 20 70 72 69 6e 74 |ame.X | print|
|00003550| 20 22 46 33 20 53 46 5c | 6e 22 3b 0a 58 20 20 20 | "F3 SF\|n";.X |
|00003560| 20 20 20 69 66 20 28 24 | 6f 70 74 5f 62 29 20 7b | if ($|opt_b) {|
|00003570| 0a 58 20 20 20 20 20 20 | 20 20 20 70 72 69 6e 74 |.X | print|
|00003580| 66 20 22 28 24 6f 70 74 | 5f 62 29 25 2e 31 66 20 |f "($opt|_b)%.1f |
|00003590| 25 2e 31 66 20 53 5c 6e | 22 2c 0a 58 20 20 20 20 |%.1f S\n|",.X |
|000035a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 24 6c 65 66 | | $lef|
|000035b0| 74 5f 6d 61 72 67 69 6e | 2c 24 74 6f 70 20 2d 20 |t_margin|,$top - |
|000035c0| 24 74 62 5f 6d 61 72 67 | 69 6e 20 2d 20 24 68 65 |$tb_marg|in - $he|
|000035d0| 61 64 65 72 5f 66 6f 6e | 74 5f 73 69 7a 65 3b 0a |ader_fon|t_size;.|
|000035e0| 58 20 20 20 20 20 20 7d | 0a 58 20 20 20 20 20 20 |X }|.X |
|000035f0| 65 6c 73 69 66 20 28 24 | 66 69 6c 65 5f 6e 61 6d |elsif ($|file_nam|
|00003600| 65 29 20 7b 0a 58 20 20 | 20 20 20 20 20 20 20 70 |e) {.X | p|
|00003610| 72 69 6e 74 66 20 22 28 | 25 73 29 25 2e 31 66 20 |rintf "(|%s)%.1f |
|00003620| 25 2e 31 66 20 53 5c 6e | 22 2c 20 24 66 69 6c 65 |%.1f S\n|", $file|
|00003630| 5f 6e 61 6d 65 2c 20 0a | 58 20 20 20 20 20 20 20 |_name, .|X |
|00003640| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 24 | | $|
|00003650| 6c 65 66 74 5f 6d 61 72 | 67 69 6e 2c 0a 58 20 20 |left_mar|gin,.X |
|00003660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003670| 20 20 20 20 24 74 6f 70 | 20 2d 20 24 74 62 5f 6d | $top| - $tb_m|
|00003680| 61 72 67 69 6e 20 2d 20 | 24 68 65 61 64 65 72 5f |argin - |$header_|
|00003690| 66 6f 6e 74 5f 73 69 7a | 65 3b 0a 58 20 20 20 20 |font_siz|e;.X |
|000036a0| 20 20 7d 0a 58 20 20 20 | 20 20 20 23 20 54 68 65 | }.X | # The|
|000036b0| 6e 20 70 72 69 6e 74 20 | 70 61 67 65 20 6e 75 6d |n print |page num|
|000036c0| 62 65 72 0a 58 20 20 20 | 20 20 20 70 72 69 6e 74 |ber.X | print|
|000036d0| 66 20 22 25 2e 31 66 20 | 25 2e 31 66 20 4d 28 24 |f "%.1f |%.1f M($|
|000036e0| 70 61 67 65 5f 6e 6f 29 | 64 75 70 20 73 74 72 69 |page_no)|dup stri|
|000036f0| 6e 67 77 69 64 74 68 20 | 70 6f 70 20 6e 65 67 20 |ngwidth |pop neg |
|00003700| 30 20 72 6d 6f 76 65 74 | 6f 20 73 68 6f 77 5c 6e |0 rmovet|o show\n|
|00003710| 22 2c 0a 58 20 20 20 20 | 20 20 20 20 20 20 20 20 |",.X | |
|00003720| 20 20 20 20 20 24 72 69 | 67 68 74 5f 65 64 67 65 | $ri|ght_edge|
|00003730| 20 2d 20 24 72 69 67 68 | 74 5f 6d 61 72 67 69 6e | - $righ|t_margin|
|00003740| 2c 20 0a 58 20 20 20 20 | 20 20 20 20 20 20 20 20 |, .X | |
|00003750| 20 20 20 20 20 24 74 6f | 70 20 2d 20 24 74 62 5f | $to|p - $tb_|
|00003760| 6d 61 72 67 69 6e 20 2d | 20 24 68 65 61 64 65 72 |margin -| $header|
|00003770| 5f 66 6f 6e 74 5f 73 69 | 7a 65 3b 0a 58 20 20 20 |_font_si|ze;.X |
|00003780| 20 20 20 70 72 69 6e 74 | 20 20 22 46 31 20 53 46 | print| "F1 SF|
|00003790| 5c 6e 22 3b 0a 58 20 20 | 20 7d 0a 58 20 20 20 69 |\n";.X | }.X i|
|000037a0| 66 20 28 24 73 65 70 5f | 62 61 72 73 29 20 7b 0a |f ($sep_|bars) {.|
|000037b0| 58 20 20 20 20 20 20 70 | 72 69 6e 74 20 22 25 20 |X p|rint "% |
|000037c0| 53 6f 6d 65 20 70 6f 73 | 74 73 63 72 69 70 74 20 |Some pos|tscript |
|000037d0| 63 6f 64 65 20 74 6f 20 | 64 72 61 77 20 68 6f 72 |code to |draw hor|
|000037e0| 69 7a 6f 6e 74 61 6c 20 | 62 61 72 73 2e 5c 6e 22 |izontal |bars.\n"|
|000037f0| 3b 0a 58 20 20 20 20 20 | 20 70 72 69 6e 74 20 22 |;.X | print "|
|00003800| 25 20 4e 6f 74 20 69 6d | 70 6c 65 6d 65 6e 74 65 |% Not im|plemente|
|00003810| 64 20 79 65 74 5c 6e 22 | 3b 0a 58 20 20 20 7d 0a |d yet\n"|;.X }.|
|00003820| 7d 0a 58 0a 73 75 62 20 | 65 6e 64 5f 70 61 67 65 |}.X.sub |end_page|
|00003830| 20 7b 0a 58 20 20 20 75 | 6e 6c 65 73 73 20 28 24 | {.X u|nless ($|
|00003840| 70 61 67 65 5f 6e 6f 20 | 3d 3d 20 30 29 20 7b 0a |page_no |== 0) {.|
|00003850| 58 20 20 20 20 20 20 70 | 72 69 6e 74 20 22 70 61 |X p|rint "pa|
|00003860| 67 65 5f 73 61 76 65 20 | 72 65 73 74 6f 72 65 5c |ge_save |restore\|
|00003870| 6e 22 3b 0a 58 20 20 20 | 20 20 20 70 72 69 6e 74 |n";.X | print|
|00003880| 20 22 73 68 6f 77 70 61 | 67 65 5c 6e 22 3b 0a 58 | "showpa|ge\n";.X|
|00003890| 20 20 20 7d 0a 7d 0a 58 | 0a 73 75 62 20 70 73 5f | }.}.X|.sub ps_|
|000038a0| 73 74 72 69 6e 67 0a 7b | 0a 58 20 20 20 23 20 50 |string.{|.X # P|
|000038b0| 72 65 70 61 72 65 20 74 | 65 78 74 20 66 6f 72 20 |repare t|ext for |
|000038c0| 70 72 69 6e 74 69 6e 67 | 0a 58 20 20 20 6c 6f 63 |printing|.X loc|
|000038d0| 61 6c 28 24 5f 29 20 3d | 20 73 68 69 66 74 3b 0a |al($_) =| shift;.|
|000038e0| 58 20 20 20 73 2f 5b 5c | 5c 5c 28 5c 29 5d 2f 5c |X s/[\|\\(\)]/\|
|000038f0| 5c 24 26 2f 67 3b 0a 58 | 20 20 20 73 2f 5b 5c 30 |\$&/g;.X| s/[\0|
|00003900| 30 31 2d 5c 30 33 37 5c | 31 37 37 2d 5c 33 37 37 |01-\037\|177-\377|
|00003910| 5d 2f 73 70 72 69 6e 74 | 66 28 22 5c 5c 25 30 33 |]/sprint|f("\\%03|
|00003920| 6f 22 2c 6f 72 64 28 24 | 26 29 29 2f 67 65 3b 0a |o",ord($|&))/ge;.|
|00003930| 58 20 20 20 24 5f 3b 20 | 20 20 20 23 20 72 65 74 |X $_; | # ret|
|00003940| 75 72 6e 20 73 74 72 69 | 6e 67 0a 7d 0a 58 0a 58 |urn stri|ng.}.X.X|
|00003950| 0a 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |.#######|########|
|00003960| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003970| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003980| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003990| 23 23 23 23 23 23 23 23 | 23 23 23 23 0a 58 09 23 |########|####.X.#|
|000039a0| 20 54 68 65 73 65 20 6e | 65 78 74 20 66 65 77 20 | These n|ext few |
|000039b0| 6c 69 6e 65 73 20 61 72 | 65 20 6c 65 67 61 6c 20 |lines ar|e legal |
|000039c0| 69 6e 20 62 6f 74 68 20 | 50 65 72 6c 20 61 6e 64 |in both |Perl and|
|000039d0| 20 6e 72 6f 66 66 2e 0a | 58 0a 2e 30 30 3b 09 09 | nroff..|X..00;..|
|000039e0| 09 23 20 66 69 6e 69 73 | 68 20 2e 69 67 0a 58 20 |.# finis|h .ig.X |
|000039f0| 0a 27 64 69 09 09 09 5c | 22 20 66 69 6e 69 73 68 |.'di...\|" finish|
|00003a00| 20 64 69 76 65 72 73 69 | 6f 6e 2d 2d 70 72 65 76 | diversi|on--prev|
|00003a10| 69 6f 75 73 20 6c 69 6e | 65 20 6d 75 73 74 20 62 |ious lin|e must b|
|00003a20| 65 20 62 6c 61 6e 6b 0a | 2e 6e 72 20 6e 6c 20 30 |e blank.|.nr nl 0|
|00003a30| 2d 31 09 09 5c 22 20 66 | 61 6b 65 20 75 70 20 74 |-1..\" f|ake up t|
|00003a40| 72 61 6e 73 69 74 69 6f | 6e 20 74 6f 20 66 69 72 |ransitio|n to fir|
|00003a50| 73 74 20 70 61 67 65 20 | 61 67 61 69 6e 0a 2e 6e |st page |again..n|
|00003a60| 72 20 25 20 30 09 09 09 | 5c 22 20 73 74 61 72 74 |r % 0...|\" start|
|00003a70| 20 61 74 20 70 61 67 65 | 20 31 0a 27 3b 3c 3c 27 | at page| 1.';<<'|
|00003a80| 2e 65 78 27 3b 20 23 5f | 5f 45 4e 44 5f 5f 20 23 |.ex'; #_|_END__ #|
|00003a90| 23 23 23 20 46 72 6f 6d | 20 68 65 72 65 20 6f 6e |### From| here on|
|00003aa0| 20 69 74 27 73 20 61 20 | 73 74 61 6e 64 61 72 64 | it's a |standard|
|00003ab0| 20 6d 61 6e 75 61 6c 20 | 70 61 67 65 20 23 23 23 | manual |page ###|
|00003ac0| 23 23 23 23 23 23 0a 2e | 54 48 20 49 32 50 53 20 |######..|TH I2PS |
|00003ad0| 31 20 22 4f 63 74 6f 62 | 65 72 20 31 39 39 30 22 |1 "Octob|er 1990"|
|00003ae0| 0a 2e 53 48 20 4e 41 4d | 45 0a 69 32 70 73 20 5c |..SH NAM|E.i2ps \|
|00003af0| 2d 20 63 6f 6e 76 65 72 | 74 20 49 53 4f 20 4c 61 |- conver|t ISO La|
|00003b00| 74 69 6e 31 20 74 65 78 | 74 20 74 6f 20 50 6f 73 |tin1 tex|t to Pos|
|00003b10| 74 53 63 72 69 70 74 0a | 2e 53 48 20 53 59 4e 4f |tScript.|.SH SYNO|
|00003b20| 50 53 49 53 0a 2e 42 20 | 69 32 70 73 0a 5b 0a 2e |PSIS..B |i2ps.[..|
|00003b30| 42 20 5c 2d 6e 6c 72 74 | 68 32 33 67 0a 5d 20 5b |B \-nlrt|h23g.] [|
|00003b40| 0a 2e 42 20 5c 2d 62 0a | 2e 49 20 22 74 65 78 74 |..B \-b.|.I "text|
|00003b50| 22 0a 5d 20 5b 0a 2e 42 | 20 5c 2d 73 0a 2e 49 20 |".] [..B| \-s..I |
|00003b60| 73 69 7a 65 0a 5d 20 5b | 0a 2e 49 20 66 69 6c 65 |size.] [|..I file|
|00003b70| 6e 61 6d 65 0a 5c 26 2e | 5c 7c 2e 5c 7c 2e 0a 5d |name.\&.|\|.\|..]|
|00003b80| 0a 2e 53 48 20 44 45 53 | 43 52 49 50 54 49 4f 4e |..SH DES|CRIPTION|
|00003b90| 0a 54 68 65 0a 2e 42 20 | 69 32 70 73 0a 70 72 6f |.The..B |i2ps.pro|
|00003ba0| 67 72 61 6d 20 69 73 20 | 75 73 65 64 20 74 6f 20 |gram is |used to |
|00003bb0| 70 72 69 6e 74 20 73 69 | 6d 70 6c 65 0a 74 65 78 |print si|mple.tex|
|00003bc0| 74 20 66 69 6c 65 73 20 | 28 65 2e 67 2e 20 70 72 |t files |(e.g. pr|
|00003bd0| 6f 67 72 61 6d 20 6c 69 | 73 74 69 6e 67 73 29 20 |ogram li|stings) |
|00003be0| 6f 6e 20 61 20 50 6f 73 | 74 53 63 72 69 70 74 5c |on a Pos|tScript\|
|00003bf0| 2a 52 20 64 65 76 69 63 | 65 2e 20 0a 54 68 65 20 |*R devic|e. .The |
|00003c00| 6e 61 6d 65 0a 2e 42 20 | 69 32 70 73 0a 73 74 61 |name..B |i2ps.sta|
|00003c10| 6e 64 73 20 66 6f 72 20 | 69 73 6f 2d 74 6f 2d 70 |nds for |iso-to-p|
|00003c20| 6f 73 74 73 63 72 69 70 | 74 2e 20 20 54 68 65 20 |ostscrip|t. The |
|00003c30| 70 72 6f 67 72 61 6d 20 | 68 61 6e 64 6c 65 73 20 |program |handles |
|00003c40| 74 68 65 20 77 68 6f 6c | 65 0a 49 53 4f 20 4c 61 |the whol|e.ISO La|
|00003c50| 74 69 6e 31 20 28 49 53 | 4f 20 38 38 35 39 2f 31 |tin1 (IS|O 8859/1|
|00003c60| 29 20 63 68 61 72 61 63 | 74 65 72 20 73 65 74 2e |) charac|ter set.|
|00003c70| 20 0a 45 66 66 6f 72 74 | 73 20 68 61 76 65 20 62 | .Effort|s have b|
|00003c80| 65 65 6e 20 6d 61 64 65 | 20 74 6f 20 65 6e 73 75 |een made| to ensu|
|00003c90| 72 65 20 74 68 61 74 20 | 0a 2e 42 20 69 32 70 73 |re that |..B i2ps|
|00003ca0| 0a 70 72 6f 64 75 63 65 | 73 20 67 6f 6f 64 20 6c |.produce|s good l|
|00003cb0| 6f 6f 6b 69 6e 67 20 61 | 6e 64 20 65 66 66 65 63 |ooking a|nd effec|
|00003cc0| 74 69 76 65 20 50 6f 73 | 74 53 63 72 69 70 74 20 |tive Pos|tScript |
|00003cd0| 63 6f 64 65 2e 0a 54 68 | 65 20 6f 75 74 70 75 74 |code..Th|e output|
|00003ce0| 20 63 6f 6e 66 6f 72 6d | 73 20 74 6f 20 41 64 6f | conform|s to Ado|
|00003cf0| 62 65 27 73 0a 64 6f 63 | 75 6d 65 6e 74 20 73 74 |be's.doc|ument st|
|00003d00| 72 75 63 74 75 72 69 6e | 67 20 63 6f 6e 76 65 6e |ructurin|g conven|
|00003d10| 74 69 6f 6e 73 20 28 76 | 65 72 73 69 6f 6e 20 32 |tions (v|ersion 2|
|00003d20| 2e 31 29 2e 20 54 68 65 | 20 0a 2e 42 20 69 32 70 |.1). The| ..B i2p|
|00003d30| 73 20 0a 70 72 6f 67 72 | 61 6d 0a 61 73 73 75 6d |s .progr|am.assum|
|00003d40| 65 73 20 74 68 61 74 20 | 74 68 65 20 70 61 67 65 |es that |the page|
|00003d50| 20 66 6f 72 6d 61 74 20 | 6f 6e 20 74 68 65 20 6f | format |on the o|
|00003d60| 75 74 70 75 74 20 64 65 | 76 69 63 65 20 69 73 20 |utput de|vice is |
|00003d70| 41 34 2e 20 0a 28 43 68 | 61 6e 67 65 20 74 68 65 |A4. .(Ch|ange the|
|00003d80| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 20 6f 66 20 | definit|ions of |
|00003d90| 26 70 61 67 65 5f 74 6f | 70 20 61 6e 64 20 26 70 |&page_to|p and &p|
|00003da0| 61 67 65 5f 72 69 67 68 | 74 5f 65 64 67 65 20 69 |age_righ|t_edge i|
|00003db0| 66 20 79 6f 75 0a 77 61 | 6e 74 20 73 6f 6d 65 74 |f you.wa|nt somet|
|00003dc0| 68 69 6e 67 20 65 6c 73 | 65 2e 29 0a 54 68 65 20 |hing els|e.).The |
|00003dd0| 6d 65 61 6e 69 6e 67 20 | 6f 66 20 66 6f 72 6d 20 |meaning |of form |
|00003de0| 66 65 65 64 20 28 5e 4c | 29 20 63 68 61 72 61 63 |feed (^L|) charac|
|00003df0| 74 65 72 73 20 69 6e 20 | 74 68 65 20 69 6e 70 75 |ters in |the inpu|
|00003e00| 74 20 73 74 72 65 61 6d | 20 69 73 20 75 6e 64 65 |t stream| is unde|
|00003e10| 72 73 74 6f 6f 64 2e 0a | 2e 50 50 0a 54 68 65 0a |rstood..|.PP.The.|
|00003e20| 2e 42 20 69 32 70 73 0a | 70 72 6f 67 72 61 6d 20 |.B i2ps.|program |
|00003e30| 69 73 20 77 72 69 74 74 | 65 6e 20 69 6e 0a 2e 49 |is writt|en in..I|
|00003e40| 20 70 65 72 6c 2e 0a 53 | 6f 20 69 66 20 74 68 65 | perl..S|o if the|
|00003e50| 72 65 20 69 73 20 73 6f | 6d 65 74 68 69 6e 67 20 |re is so|mething |
|00003e60| 79 6f 75 20 64 6f 6e 27 | 74 20 6c 69 6b 65 20 61 |you don'|t like a|
|00003e70| 62 6f 75 74 20 68 6f 77 | 0a 2e 42 20 69 32 70 73 |bout how|..B i2ps|
|00003e80| 0a 77 6f 72 6b 73 2c 20 | 79 6f 75 20 63 61 6e 20 |.works, |you can |
|00003e90| 22 65 61 73 69 6c 79 22 | 20 66 69 78 20 69 74 20 |"easily"| fix it |
|00003ea0| 79 6f 75 72 73 65 6c 66 | 2e 0a 2e 53 48 20 4f 50 |yourself|...SH OP|
|00003eb0| 54 49 4f 4e 53 0a 2e 54 | 50 20 35 0a 2e 42 20 5c |TIONS..T|P 5..B \|
|00003ec0| 2d 6e 0a 75 73 65 20 74 | 68 65 20 6e 6f 72 77 65 |-n.use t|he norwe|
|00003ed0| 67 69 61 6e 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |gian ver|sion of |
|00003ee0| 49 53 4f 20 36 34 36 20 | 28 37 2d 62 69 74 20 61 |ISO 646 |(7-bit a|
|00003ef0| 73 63 69 69 29 20 74 6f | 20 65 6e 63 6f 64 65 20 |scii) to| encode |
|00003f00| 74 68 65 20 74 65 78 74 | 2e 0a 4e 6f 72 77 65 67 |the text|..Norweg|
|00003f10| 69 61 6e 20 6c 65 74 74 | 65 72 73 20 77 69 6c 6c |ian lett|ers will|
|00003f20| 20 72 65 70 6c 61 63 65 | 20 74 68 65 20 6c 65 66 | replace| the lef|
|00003f30| 74 2f 72 69 67 68 74 20 | 62 72 61 63 65 73 2c 20 |t/right |braces, |
|00003f40| 6c 65 66 74 2f 72 69 67 | 68 74 0a 62 72 61 63 6b |left/rig|ht.brack|
|00003f50| 65 74 73 2c 20 62 61 63 | 6b 73 6c 61 73 68 20 61 |ets, bac|kslash a|
|00003f60| 6e 64 20 68 6f 72 69 7a | 6f 6e 74 61 6c 20 62 61 |nd horiz|ontal ba|
|00003f70| 72 20 63 68 61 72 61 63 | 74 65 72 73 2e 0a 2e 54 |r charac|ters...T|
|00003f80| 50 20 35 0a 2e 42 20 5c | 2d 6c 0a 70 72 6f 64 75 |P 5..B \|-l.produ|
|00003f90| 63 65 73 20 6c 69 6e 65 | 20 6e 75 6d 62 65 72 73 |ces line| numbers|
|00003fa0| 20 6f 6e 20 65 61 63 68 | 20 35 27 74 68 20 61 6e | on each| 5'th an|
|00003fb0| 64 20 74 68 65 20 6c 61 | 73 74 20 6c 69 6e 65 2e |d the la|st line.|
|00003fc0| 0a 4e 69 63 65 20 66 6f | 72 20 70 72 6f 67 72 61 |.Nice fo|r progra|
|00003fd0| 6d 20 6c 69 73 74 69 6e | 67 73 2e 0a 2e 54 50 20 |m listin|gs...TP |
|00003fe0| 35 0a 2e 42 20 5c 2d 74 | 0a 74 72 75 6e 63 61 74 |5..B \-t|.truncat|
|00003ff0| 65 20 6c 69 6e 65 73 20 | 74 68 61 74 20 61 72 65 |e lines |that are|
|00004000| 20 74 6f 20 6c 6f 6e 67 | 2e 20 54 68 65 20 64 65 | to long|. The de|
|00004010| 66 61 75 6c 74 20 69 73 | 20 74 6f 20 77 72 61 70 |fault is| to wrap|
|00004020| 0a 6c 6f 6e 67 20 6c 69 | 6e 65 73 20 73 6f 20 74 |.long li|nes so t|
|00004030| 68 61 74 20 74 68 65 79 | 20 63 6f 6e 74 69 6e 75 |hat they| continu|
|00004040| 65 20 6f 6e 20 74 68 65 | 20 6e 65 78 74 20 6c 69 |e on the| next li|
|00004050| 6e 65 20 6f 6e 20 74 68 | 65 20 70 72 69 6e 74 65 |ne on th|e printe|
|00004060| 64 20 6f 75 74 70 75 74 | 2e 0a 2e 54 50 20 35 0a |d output|...TP 5.|
|00004070| 2e 42 20 5c 2d 72 0a 72 | 6f 74 61 74 65 20 74 68 |.B \-r.r|otate th|
|00004080| 65 20 6f 75 74 70 75 74 | 20 70 61 67 65 20 39 30 |e output| page 90|
|00004090| 20 64 65 67 72 65 65 73 | 2e 20 54 68 69 73 20 69 | degrees|. This i|
|000040a0| 73 20 63 61 6c 6c 65 64 | 0a 2e 49 20 6c 61 6e 64 |s called|..I land|
|000040b0| 73 63 61 70 65 0a 6d 6f | 64 65 20 62 79 20 73 6f |scape.mo|de by so|
|000040c0| 6d 65 20 70 65 6f 70 6c | 65 2e 0a 2e 54 50 20 35 |me peopl|e...TP 5|
|000040d0| 0a 2e 42 20 5c 2d 68 0a | 73 75 70 70 72 65 73 73 |..B \-h.|suppress|
|000040e0| 20 67 65 6e 65 72 61 74 | 69 6f 6e 20 6f 66 20 70 | generat|ion of p|
|000040f0| 61 67 65 20 68 65 61 64 | 65 72 73 2e 0a 2e 54 50 |age head|ers...TP|
|00004100| 20 35 0a 2e 42 20 5c 2d | 32 0a 75 73 65 20 74 77 | 5..B \-|2.use tw|
|00004110| 6f 20 63 6f 6c 75 6d 6e | 20 66 6f 72 6d 61 74 2e |o column| format.|
|00004120| 0a 2e 54 50 20 35 0a 2e | 42 20 5c 2d 33 0a 75 73 |..TP 5..|B \-3.us|
|00004130| 65 20 74 68 72 65 65 20 | 63 6f 6c 75 6d 6e 20 66 |e three |column f|
|00004140| 6f 72 6d 61 74 2e 0a 2e | 54 50 20 35 0a 2e 42 49 |ormat...|TP 5..BI|
|00004150| 20 5c 2d 62 20 22 20 74 | 65 78 74 22 0a 74 68 65 | \-b " t|ext".the|
|00004160| 20 0a 2e 49 20 74 65 78 | 74 0a 70 61 72 61 6d 65 | ..I tex|t.parame|
|00004170| 74 65 72 20 72 65 70 6c | 61 63 65 73 20 74 68 65 |ter repl|aces the|
|00004180| 20 64 65 66 61 75 6c 74 | 20 74 65 78 74 20 69 6e | default| text in|
|00004190| 20 74 68 65 20 68 65 61 | 64 65 72 20 6f 66 20 74 | the hea|der of t|
|000041a0| 68 65 20 70 61 67 65 73 | 2e 0a 54 68 65 20 64 65 |he pages|..The de|
|000041b0| 66 61 75 6c 74 20 74 65 | 78 74 20 69 73 20 74 68 |fault te|xt is th|
|000041c0| 65 20 66 69 6c 65 6e 61 | 6d 65 20 6f 66 20 74 68 |e filena|me of th|
|000041d0| 65 20 66 69 6c 65 20 74 | 6f 20 62 65 20 70 72 69 |e file t|o be pri|
|000041e0| 6e 74 65 64 2e 20 54 68 | 65 72 65 20 69 73 20 6e |nted. Th|ere is n|
|000041f0| 6f 0a 64 65 66 61 75 6c | 74 20 69 66 20 74 68 65 |o.defaul|t if the|
|00004200| 20 74 65 78 74 20 63 6f | 6d 65 73 20 66 72 6f 6d | text co|mes from|
|00004210| 20 73 74 61 6e 64 61 72 | 64 20 69 6e 70 75 74 2e | standar|d input.|
|00004220| 0a 2e 54 50 20 35 0a 2e | 42 49 20 5c 2d 73 20 22 |..TP 5..|BI \-s "|
|00004230| 20 73 69 7a 65 22 0a 73 | 70 65 63 69 66 69 65 73 | size".s|pecifies|
|00004240| 20 61 20 6e 65 77 20 66 | 6f 6e 74 20 73 69 7a 65 | a new f|ont size|
|00004250| 20 66 6f 72 20 74 68 65 | 20 62 6f 64 79 20 74 65 | for the| body te|
|00004260| 78 74 2e 20 54 68 65 20 | 64 65 66 61 75 6c 74 20 |xt. The |default |
|00004270| 69 73 20 31 30 20 70 6f | 69 6e 74 2e 0a 2e 54 50 |is 10 po|int...TP|
|00004280| 20 35 0a 2e 42 20 5c 2d | 67 0a 65 61 74 20 67 61 | 5..B \-|g.eat ga|
|00004290| 72 62 61 67 65 2e 20 0a | 2e 42 20 49 32 70 73 20 |rbage. .|.B I2ps |
|000042a0| 0a 6e 6f 72 6d 61 6c 6c | 79 20 73 6b 69 70 73 20 |.normall|y skips |
|000042b0| 62 69 6e 61 72 79 20 66 | 69 6c 65 73 2e 20 54 68 |binary f|iles. Th|
|000042c0| 69 73 20 6f 70 74 69 6f | 6e 20 6d 65 61 6e 73 20 |is optio|n means |
|000042d0| 22 70 72 69 6e 74 20 69 | 74 20 61 6e 79 77 61 79 |"print i|t anyway|
|000042e0| 22 2e 0a 2e 53 48 20 45 | 58 41 4d 50 4c 45 53 0a |"...SH E|XAMPLES.|
|000042f0| 54 6f 20 70 72 69 6e 74 | 20 66 69 6c 65 73 20 6f |To print| files o|
|00004300| 6e 20 61 20 50 6f 73 74 | 53 63 72 69 70 74 20 70 |n a Post|Script p|
|00004310| 72 69 6e 74 65 72 3a 0a | 2e 6e 66 0a 58 20 20 20 |rinter:.|.nf.X |
|00004320| 20 69 32 70 73 20 2d 6c | 20 2a 2e 5b 63 68 5d 20 | i2ps -l| *.[ch] |
|00004330| 7c 20 6c 70 72 0a 2e 66 | 69 0a 2e 50 50 0a 54 6f || lpr..f|i..PP.To|
|00004340| 20 66 69 6e 64 20 6f 75 | 74 20 68 6f 77 20 6d 61 | find ou|t how ma|
|00004350| 6e 79 20 70 61 67 65 73 | 20 69 32 70 73 20 77 69 |ny pages| i2ps wi|
|00004360| 6c 6c 20 70 72 6f 64 75 | 63 65 20 66 6f 72 20 61 |ll produ|ce for a|
|00004370| 20 67 69 76 65 6e 20 66 | 69 6c 65 3a 0a 2e 6e 66 | given f|ile:..nf|
|00004380| 0a 58 20 20 20 20 69 32 | 70 73 20 66 69 6c 65 2e |.X i2|ps file.|
|00004390| 74 78 74 20 7c 20 74 61 | 69 6c 20 2d 31 0a 2e 66 |txt | ta|il -1..f|
|000043a0| 69 0a 2e 50 50 0a 4f 75 | 72 20 70 72 69 6e 74 65 |i..PP.Ou|r printe|
|000043b0| 72 20 73 74 61 63 6b 73 | 20 74 68 65 20 70 61 67 |r stacks| the pag|
|000043c0| 65 73 20 74 68 65 20 77 | 72 6f 6e 67 20 77 61 79 |es the w|rong way|
|000043d0| 2e 20 54 6f 20 66 69 78 | 20 69 74 20 74 72 79 3a |. To fix| it try:|
|000043e0| 0a 2e 6e 66 0a 58 20 20 | 20 20 63 61 74 20 66 69 |..nf.X | cat fi|
|000043f0| 6c 65 2e 74 78 74 20 7c | 20 69 32 70 73 20 2d 62 |le.txt || i2ps -b|
|00004400| 20 22 73 6f 6d 65 20 74 | 65 78 74 22 20 7c 20 70 | "some t|ext" | p|
|00004410| 73 72 65 76 20 7c 20 6c | 70 72 0a 2e 66 69 0a 2e |srev | l|pr..fi..|
|00004420| 53 48 20 53 45 45 20 41 | 4c 53 4f 0a 2e 42 52 20 |SH SEE A|LSO..BR |
|00004430| 70 65 72 6c 20 28 31 29 | 2c 0a 2e 42 52 20 65 6e |perl (1)|,..BR en|
|00004440| 73 63 72 69 70 74 20 28 | 31 29 2c 0a 2e 42 52 20 |script (|1),..BR |
|00004450| 70 73 72 65 76 20 28 31 | 29 2c 0a 2e 42 52 20 49 |psrev (1|),..BR I|
|00004460| 53 4f 38 38 35 39 20 28 | 37 29 2c 0a 2e 42 52 20 |SO8859 (|7),..BR |
|00004470| 50 6f 73 74 53 63 72 69 | 70 74 20 28 37 29 0a 2e |PostScri|pt (7)..|
|00004480| 53 48 20 42 55 47 53 0a | 54 68 65 72 65 20 69 73 |SH BUGS.|There is|
|00004490| 20 6e 6f 20 65 61 73 79 | 20 77 61 79 20 74 6f 20 | no easy| way to |
|000044a0| 63 68 61 6e 67 65 20 74 | 68 65 20 6d 61 72 67 69 |change t|he margi|
|000044b0| 6e 73 20 6f 72 20 74 68 | 65 20 66 6f 6e 74 73 20 |ns or th|e fonts |
|000044c0| 74 68 61 74 0a 2e 42 20 | 69 32 70 73 0a 69 6e 73 |that..B |i2ps.ins|
|000044d0| 69 73 74 73 20 6f 6e 20 | 75 73 69 6e 67 2e 0a 54 |ists on |using..T|
|000044e0| 68 65 0a 2e 42 20 69 32 | 70 73 0a 66 69 6c 74 65 |he..B i2|ps.filte|
|000044f0| 72 20 6f 75 67 68 74 20 | 74 6f 20 75 6e 64 65 72 |r ought |to under|
|00004500| 73 74 61 6e 64 20 74 68 | 65 20 6d 65 61 6e 69 6e |stand th|e meanin|
|00004510| 67 20 6f 66 20 74 68 65 | 20 62 61 63 6b 73 70 61 |g of the| backspa|
|00004520| 63 65 20 63 68 61 72 61 | 63 74 65 72 2e 20 49 74 |ce chara|cter. It|
|00004530| 20 69 73 20 75 73 65 64 | 0a 74 6f 20 70 72 6f 64 | is used|.to prod|
|00004540| 75 63 65 20 62 6f 6c 64 | 66 61 63 65 64 20 61 6e |uce bold|faced an|
|00004550| 64 20 75 6e 64 65 72 6c | 69 6e 65 64 20 74 65 78 |d underl|ined tex|
|00004560| 74 20 62 79 20 70 72 6f | 67 72 61 6d 73 20 6c 69 |t by pro|grams li|
|00004570| 6b 65 20 0a 2e 42 52 20 | 6e 72 6f 66 66 20 28 31 |ke ..BR |nroff (1|
|00004580| 29 2e 0a 2e 53 48 20 41 | 55 54 48 4f 52 0a 47 69 |)...SH A|UTHOR.Gi|
|00004590| 73 6c 65 20 41 61 73 2c | 20 4e 6f 72 77 65 67 69 |sle Aas,| Norwegi|
|000045a0| 61 6e 20 43 6f 6d 70 75 | 74 69 6e 67 20 43 65 6e |an Compu|ting Cen|
|000045b0| 74 65 72 20 28 4e 52 29 | 2c 20 4f 73 6c 6f 2c 20 |ter (NR)|, Oslo, |
|000045c0| 4e 6f 72 77 61 79 2e 0a | 3c 47 69 73 6c 65 2e 41 |Norway..|<Gisle.A|
|000045d0| 61 73 40 6e 72 2e 6e 6f | 3e 0a 2e 65 78 0a 53 48 |as@nr.no|>..ex.SH|
|000045e0| 41 52 5f 45 4f 46 0a 63 | 68 6d 6f 64 20 30 35 35 |AR_EOF.c|hmod 055|
|000045f0| 35 20 69 32 70 73 20 7c | 7c 0a 65 63 68 6f 20 27 |5 i2ps |||.echo '|
|00004600| 72 65 73 74 6f 72 65 20 | 6f 66 20 69 32 70 73 20 |restore |of i2ps |
|00004610| 66 61 69 6c 65 64 27 0a | 57 63 5f 63 3d 22 60 77 |failed'.|Wc_c="`w|
|00004620| 63 20 2d 63 20 3c 20 27 | 69 32 70 73 27 60 22 0a |c -c < '|i2ps'`".|
|00004630| 74 65 73 74 20 31 36 31 | 34 30 20 2d 65 71 20 22 |test 161|40 -eq "|
|00004640| 24 57 63 5f 63 22 20 7c | 7c 0a 09 65 63 68 6f 20 |$Wc_c" |||..echo |
|00004650| 27 69 32 70 73 3a 20 6f | 72 69 67 69 6e 61 6c 20 |'i2ps: o|riginal |
|00004660| 73 69 7a 65 20 31 36 31 | 34 30 2c 20 63 75 72 72 |size 161|40, curr|
|00004670| 65 6e 74 20 73 69 7a 65 | 27 20 22 24 57 63 5f 63 |ent size|' "$Wc_c|
|00004680| 22 0a 66 69 0a 65 78 69 | 74 20 30 0a 2d 2d 0a 47 |".fi.exi|t 0.--.G|
|00004690| 69 73 6c 65 20 41 61 73 | 20 20 20 20 20 20 20 20 |isle Aas| |
|000046a0| 20 20 20 20 20 20 20 7c | 20 20 73 6e 61 69 6c 3a | || snail:|
|000046b0| 20 42 6f 6b 73 20 31 31 | 34 20 42 6c 69 6e 64 65 | Boks 11|4 Blinde|
|000046c0| 72 6e 2c 20 4e 2d 30 33 | 31 34 20 4f 73 6c 6f 2c |rn, N-03|14 Oslo,|
|000046d0| 20 4e 6f 72 77 61 79 0a | 4e 6f 72 73 6b 20 52 65 | Norway.|Norsk Re|
|000046e0| 67 6e 65 73 65 6e 74 72 | 61 6c 20 20 20 20 20 20 |gnesentr|al |
|000046f0| 7c 20 20 58 2e 34 30 30 | 3a 20 47 3d 47 69 73 6c || X.400|: G=Gisl|
|00004700| 65 3b 53 3d 41 61 73 3b | 4f 3d 6e 72 3b 50 3d 75 |e;S=Aas;|O=nr;P=u|
|00004710| 6e 69 6e 65 74 74 3b 43 | 3d 6e 6f 0a 76 6f 69 63 |ninett;C|=no.voic|
|00004720| 65 3a 20 2b 34 37 2d 32 | 2d 34 35 33 35 36 31 20 |e: +47-2|-453561 |
|00004730| 20 20 20 20 7c 20 20 69 | 6e 65 74 3a 20 20 47 69 | | i|net: Gi|
|00004740| 73 6c 65 2e 41 61 73 40 | 6e 72 2e 6e 6f 0a |sle.Aas@|nr.no. |
+--------+-------------------------+-------------------------+--------+--------+