home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 73 6f 75 72 63 65 73 | 2e 6d 69 73 63 0a 73 75 |.sources|.misc.su|
|00000020| 62 6a 65 63 74 3a 20 76 | 30 38 69 30 36 35 3a 20 |bject: v|08i065: |
|00000030| 63 7a 20 74 65 78 74 20 | 74 6f 20 50 6f 73 74 53 |cz text |to PostS|
|00000040| 63 72 69 70 74 20 73 79 | 73 74 65 6d 2c 20 70 61 |cript sy|stem, pa|
|00000050| 72 74 20 30 31 20 6f 66 | 20 31 34 0a 66 72 6f 6d |rt 01 of| 14.from|
|00000060| 3a 20 61 6c 6c 62 65 72 | 79 40 75 75 6e 65 74 2e |: allber|y@uunet.|
|00000070| 55 55 2e 4e 45 54 20 28 | 42 72 61 6e 64 6f 6e 20 |UU.NET (|Brandon |
|00000080| 53 2e 20 41 6c 6c 62 65 | 72 79 20 2d 20 63 6f 6d |S. Allbe|ry - com|
|00000090| 70 2e 73 6f 75 72 63 65 | 73 2e 6d 69 73 63 29 0a |p.source|s.misc).|
|000000a0| 52 65 70 6c 79 2d 54 6f | 3a 20 68 6f 77 61 72 64 |Reply-To|: howard|
|000000b0| 40 64 61 68 6c 62 65 63 | 6b 2e 65 72 69 63 73 73 |@dahlbec|k.ericss|
|000000c0| 6f 6e 2e 73 65 20 28 48 | 6f 77 61 72 64 20 47 61 |on.se (H|oward Ga|
|000000d0| 79 6c 65 29 0a 0a 50 6f | 73 74 69 6e 67 2d 6e 75 |yle)..Po|sting-nu|
|000000e0| 6d 62 65 72 3a 20 56 6f | 6c 75 6d 65 20 38 2c 20 |mber: Vo|lume 8, |
|000000f0| 49 73 73 75 65 20 36 35 | 0a 53 75 62 6d 69 74 74 |Issue 65|.Submitt|
|00000100| 65 64 2d 62 79 3a 20 68 | 6f 77 61 72 64 40 64 61 |ed-by: h|oward@da|
|00000110| 68 6c 62 65 63 6b 2e 65 | 72 69 63 73 73 6f 6e 2e |hlbeck.e|ricsson.|
|00000120| 73 65 20 28 48 6f 77 61 | 72 64 20 47 61 79 6c 65 |se (Howa|rd Gayle|
|00000130| 29 0a 41 72 63 68 69 76 | 65 2d 6e 61 6d 65 3a 20 |).Archiv|e-name: |
|00000140| 63 7a 2f 70 61 72 74 30 | 31 0a 0a 23 21 20 2f 62 |cz/part0|1..#! /b|
|00000150| 69 6e 2f 73 68 0a 23 20 | 54 68 69 73 20 69 73 20 |in/sh.# |This is |
|00000160| 61 20 73 68 65 6c 6c 20 | 61 72 63 68 69 76 65 2e |a shell |archive.|
|00000170| 20 20 52 65 6d 6f 76 65 | 20 61 6e 79 74 68 69 6e | Remove| anythin|
|00000180| 67 20 62 65 66 6f 72 65 | 20 74 68 69 73 20 6c 69 |g before| this li|
|00000190| 6e 65 2c 20 74 68 65 6e | 20 66 65 65 64 20 69 74 |ne, then| feed it|
|000001a0| 0a 23 20 69 6e 74 6f 20 | 61 20 73 68 65 6c 6c 20 |.# into |a shell |
|000001b0| 76 69 61 20 22 73 68 20 | 66 69 6c 65 22 20 6f 72 |via "sh |file" or|
|000001c0| 20 73 69 6d 69 6c 61 72 | 2e 20 20 54 6f 20 6f 76 | similar|. To ov|
|000001d0| 65 72 77 72 69 74 65 20 | 65 78 69 73 74 69 6e 67 |erwrite |existing|
|000001e0| 20 66 69 6c 65 73 2c 0a | 23 20 74 79 70 65 20 22 | files,.|# type "|
|000001f0| 73 68 20 66 69 6c 65 20 | 2d 63 22 2e 0a 23 20 54 |sh file |-c"..# T|
|00000200| 68 65 20 74 6f 6f 6c 20 | 74 68 61 74 20 67 65 6e |he tool |that gen|
|00000210| 65 72 61 74 65 64 20 74 | 68 69 73 20 61 70 70 65 |erated t|his appe|
|00000220| 61 72 65 64 20 69 6e 20 | 74 68 65 20 63 6f 6d 70 |ared in |the comp|
|00000230| 2e 73 6f 75 72 63 65 73 | 2e 75 6e 69 78 20 6e 65 |.sources|.unix ne|
|00000240| 77 73 67 72 6f 75 70 3b | 0a 23 20 73 65 6e 64 20 |wsgroup;|.# send |
|00000250| 6d 61 69 6c 20 74 6f 20 | 63 6f 6d 70 2d 73 6f 75 |mail to |comp-sou|
|00000260| 72 63 65 73 2d 75 6e 69 | 78 40 75 75 6e 65 74 2e |rces-uni|x@uunet.|
|00000270| 75 75 2e 6e 65 74 20 69 | 66 20 79 6f 75 20 77 61 |uu.net i|f you wa|
|00000280| 6e 74 20 74 68 61 74 20 | 74 6f 6f 6c 2e 0a 23 20 |nt that |tool..# |
|00000290| 49 66 20 74 68 69 73 20 | 61 72 63 68 69 76 65 20 |If this |archive |
|000002a0| 69 73 20 63 6f 6d 70 6c | 65 74 65 2c 20 79 6f 75 |is compl|ete, you|
|000002b0| 20 77 69 6c 6c 20 73 65 | 65 20 74 68 65 20 66 6f | will se|e the fo|
|000002c0| 6c 6c 6f 77 69 6e 67 20 | 6d 65 73 73 61 67 65 20 |llowing |message |
|000002d0| 61 74 20 74 68 65 20 65 | 6e 64 3a 0a 23 09 09 22 |at the e|nd:.#.."|
|000002e0| 45 6e 64 20 6f 66 20 61 | 72 63 68 69 76 65 20 31 |End of a|rchive 1|
|000002f0| 20 28 6f 66 20 31 34 29 | 2e 22 0a 23 20 43 6f 6e | (of 14)|.".# Con|
|00000300| 74 65 6e 74 73 3a 20 20 | 52 45 41 44 4d 45 20 37 |tents: |README 7|
|00000310| 38 2e 31 20 37 38 2e 68 | 20 37 38 63 6f 64 65 2e |8.1 78.h| 78code.|
|00000320| 68 20 37 38 63 6f 64 65 | 32 63 2e 63 20 37 38 63 |h 78code|2c.c 78c|
|00000330| 6f 6d 6d 6f 6e 2e 68 20 | 37 38 64 69 66 66 2e 63 |ommon.h |78diff.c|
|00000340| 0a 23 20 20 20 37 38 66 | 72 65 71 32 74 74 2e 63 |.# 78f|req2tt.c|
|00000350| 20 37 38 6d 65 61 6e 46 | 72 65 71 2e 63 20 38 38 | 78meanF|req.c 88|
|00000360| 35 39 2d 31 2e 70 34 20 | 46 52 45 45 5a 45 0a 23 |59-1.p4 |FREEZE.#|
|00000370| 20 57 72 61 70 70 65 64 | 20 62 79 20 68 6f 77 61 | Wrapped| by howa|
|00000380| 72 64 40 64 61 68 6c 62 | 65 63 6b 20 6f 6e 20 4d |rd@dahlb|eck on M|
|00000390| 6f 6e 20 53 65 70 20 32 | 35 20 30 37 3a 31 35 3a |on Sep 2|5 07:15:|
|000003a0| 31 30 20 31 39 38 39 0a | 50 41 54 48 3d 2f 62 69 |10 1989.|PATH=/bi|
|000003b0| 6e 3a 2f 75 73 72 2f 62 | 69 6e 3a 2f 75 73 72 2f |n:/usr/b|in:/usr/|
|000003c0| 75 63 62 20 3b 20 65 78 | 70 6f 72 74 20 50 41 54 |ucb ; ex|port PAT|
|000003d0| 48 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 52 45 |H.if tes|t -f 'RE|
|000003e0| 41 44 4d 45 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |ADME' -a| "${1}" |
|000003f0| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00000400| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|00000410| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|00000420| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 52 |isting f|ile \"'R|
|00000430| 45 41 44 4d 45 27 5c 22 | 0a 65 6c 73 65 0a 65 63 |EADME'\"|.else.ec|
|00000440| 68 6f 20 73 68 61 72 3a | 20 45 78 74 72 61 63 74 |ho shar:| Extract|
|00000450| 69 6e 67 20 5c 22 27 52 | 45 41 44 4d 45 27 5c 22 |ing \"'R|EADME'\"|
|00000460| 20 5c 28 38 36 32 30 20 | 63 68 61 72 61 63 74 65 | \(8620 |characte|
|00000470| 72 73 5c 29 0a 73 65 64 | 20 22 73 2f 5e 58 2f 2f |rs\).sed| "s/^X//|
|00000480| 22 20 3e 27 52 45 41 44 | 4d 45 27 20 3c 3c 27 45 |" >'READ|ME' <<'E|
|00000490| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 24 48 65 |ND_OF_FI|LE'.X$He|
|000004a0| 61 64 65 72 3a 20 52 45 | 41 44 4d 45 2c 76 20 31 |ader: RE|ADME,v 1|
|000004b0| 2e 31 20 38 39 2f 30 39 | 2f 32 33 20 31 36 3a 35 |.1 89/09|/23 16:5|
|000004c0| 39 3a 32 36 20 68 6f 77 | 61 72 64 20 45 78 70 20 |9:26 how|ard Exp |
|000004d0| 24 0a 58 0a 58 20 20 20 | 20 20 20 44 45 53 43 52 |$.X.X | DESCR|
|000004e0| 49 50 54 49 4f 4e 0a 58 | 0a 58 54 68 65 20 63 7a |IPTION.X|.XThe cz|
|000004f0| 20 73 79 73 74 65 6d 20 | 63 6f 6e 76 65 72 74 73 | system |converts|
|00000500| 20 74 65 78 74 20 66 69 | 6c 65 73 20 69 6e 20 61 | text fi|les in a|
|00000510| 6e 79 20 22 63 6f 6e 74 | 65 78 74 2d 66 72 65 65 |ny "cont|ext-free|
|00000520| 0a 58 6f 63 74 65 74 2d | 62 61 73 65 64 22 20 63 |.Xoctet-|based" c|
|00000530| 68 61 72 61 63 74 65 72 | 20 73 65 74 20 69 6e 74 |haracter| set int|
|00000540| 6f 20 50 6f 73 74 53 63 | 72 69 70 74 2e 20 20 42 |o PostSc|ript. B|
|00000550| 79 20 6f 63 74 65 74 2d | 62 61 73 65 64 2c 20 49 |y octet-|based, I|
|00000560| 0a 58 6d 65 61 6e 20 74 | 68 61 74 20 65 61 63 68 |.Xmean t|hat each|
|00000570| 20 63 68 61 72 61 63 74 | 65 72 20 69 6e 20 74 68 | charact|er in th|
|00000580| 65 20 63 68 61 72 61 63 | 74 65 72 20 73 65 74 20 |e charac|ter set |
|00000590| 69 73 20 72 65 70 72 65 | 73 65 6e 74 65 64 20 62 |is repre|sented b|
|000005a0| 79 0a 58 61 20 73 65 71 | 75 65 6e 63 65 20 6f 66 |y.Xa seq|uence of|
|000005b0| 20 6f 6e 65 20 6f 72 20 | 6d 6f 72 65 20 38 2d 62 | one or |more 8-b|
|000005c0| 69 74 20 62 79 74 65 73 | 2e 20 20 42 79 20 22 63 |it bytes|. By "c|
|000005d0| 6f 6e 74 65 78 74 2d 66 | 72 65 65 22 20 49 20 6d |ontext-f|ree" I m|
|000005e0| 65 61 6e 0a 58 74 68 61 | 74 20 6f 6e 6c 79 20 74 |ean.Xtha|t only t|
|000005f0| 68 65 20 6f 63 74 65 74 | 73 20 6f 66 20 61 20 63 |he octet|s of a c|
|00000600| 68 61 72 61 63 74 65 72 | 20 64 65 74 65 72 6d 69 |haracter| determi|
|00000610| 6e 65 20 77 68 61 74 20 | 74 68 65 20 63 68 61 72 |ne what |the char|
|00000620| 61 63 74 65 72 0a 58 69 | 73 2c 20 6e 6f 74 20 61 |acter.Xi|s, not a|
|00000630| 6e 79 20 6f 74 68 65 72 | 20 6f 63 74 65 74 73 20 |ny other| octets |
|00000640| 69 6e 20 74 68 65 20 66 | 69 6c 65 2e 20 20 54 68 |in the f|ile. Th|
|00000650| 69 73 20 65 78 63 6c 75 | 64 65 73 20 63 68 61 72 |is exclu|des char|
|00000660| 61 63 74 65 72 0a 58 73 | 65 74 73 20 74 68 61 74 |acter.Xs|ets that|
|00000670| 20 75 73 65 20 6c 6f 63 | 6b 69 6e 67 20 73 68 69 | use loc|king shi|
|00000680| 66 74 20 73 65 71 75 65 | 6e 63 65 73 2c 20 66 6f |ft seque|nces, fo|
|00000690| 72 20 65 78 61 6d 70 6c | 65 20 28 63 6f 6d 70 6c |r exampl|e (compl|
|000006a0| 65 74 65 29 0a 58 49 53 | 4f 20 32 30 32 32 2e 0a |ete).XIS|O 2022..|
|000006b0| 58 0a 58 43 75 72 72 65 | 6e 74 6c 79 2c 20 63 7a |X.XCurre|ntly, cz|
|000006c0| 20 63 61 6e 20 68 61 6e | 64 6c 65 20 74 68 65 20 | can han|dle the |
|000006d0| 49 53 4f 20 38 38 35 39 | 2f 31 20 63 68 61 72 61 |ISO 8859|/1 chara|
|000006e0| 63 74 65 72 20 73 65 74 | 2c 20 61 6c 73 6f 0a 58 |cter set|, also.X|
|000006f0| 6b 6e 6f 77 6e 20 61 73 | 20 4c 61 74 69 6e 2d 31 |known as| Latin-1|
|00000700| 2e 20 20 54 68 69 73 20 | 69 73 20 61 20 73 75 70 |. This |is a sup|
|00000710| 65 72 73 65 74 20 6f 66 | 20 41 53 43 49 49 2c 20 |erset of| ASCII, |
|00000720| 77 69 74 68 20 63 68 61 | 72 61 63 74 65 72 73 0a |with cha|racters.|
|00000730| 58 66 6f 72 20 61 6c 6c | 20 6d 61 6a 6f 72 20 57 |Xfor all| major W|
|00000740| 65 73 74 65 72 6e 20 45 | 75 72 6f 70 65 61 6e 20 |estern E|uropean |
|00000750| 6c 61 6e 67 75 61 67 65 | 73 2e 20 20 63 7a 20 63 |language|s. cz c|
|00000760| 61 6e 20 61 6c 73 6f 20 | 68 61 6e 64 6c 65 0a 58 |an also |handle.X|
|00000770| 73 65 76 65 72 61 6c 20 | 6e 61 74 69 6f 6e 61 6c |several |national|
|00000780| 20 76 65 72 73 69 6f 6e | 73 20 6f 66 20 49 53 4f | version|s of ISO|
|00000790| 20 36 34 36 2c 20 69 6e | 63 6c 75 64 69 6e 67 20 | 646, in|cluding |
|000007a0| 41 53 43 49 49 20 61 6e | 64 0a 58 22 53 57 41 53 |ASCII an|d.X"SWAS|
|000007b0| 43 49 49 2c 22 20 74 68 | 65 20 53 77 65 64 69 73 |CII," th|e Swedis|
|000007c0| 68 20 6e 61 74 69 6f 6e | 61 6c 20 76 65 72 73 69 |h nation|al versi|
|000007d0| 6f 6e 73 2e 20 20 53 57 | 41 53 43 49 49 20 69 73 |ons. SW|ASCII is|
|000007e0| 20 74 68 65 0a 58 63 68 | 61 72 61 63 74 65 72 20 | the.Xch|aracter |
|000007f0| 73 65 74 20 74 68 61 74 | 20 75 73 65 73 20 76 65 |set that| uses ve|
|00000800| 72 74 69 63 61 6c 20 62 | 61 72 20 28 7c 29 20 66 |rtical b|ar (|) f|
|00000810| 6f 72 20 6f 20 77 69 74 | 68 20 75 6d 6c 61 75 74 |or o wit|h umlaut|
|00000820| 2c 0a 58 65 74 63 2e 20 | 20 63 7a 20 63 61 6e 20 |,.Xetc. | cz can |
|00000830| 61 6c 73 6f 20 68 61 6e | 64 6c 65 20 6d 6f 73 74 |also han|dle most|
|00000840| 20 6f 66 20 43 43 49 54 | 54 20 54 2e 36 31 2c 20 | of CCIT|T T.61, |
|00000850| 74 68 65 20 74 65 6c 65 | 74 65 78 74 0a 58 63 68 |the tele|text.Xch|
|00000860| 61 72 61 63 74 65 72 20 | 73 65 74 20 61 6c 73 6f |aracter |set also|
|00000870| 20 75 73 65 64 20 66 6f | 72 20 58 2e 34 30 30 20 | used fo|r X.400 |
|00000880| 6d 61 69 6c 2e 20 20 54 | 2e 36 31 20 69 73 20 28 |mail. T|.61 is (|
|00000890| 61 6c 6d 6f 73 74 29 20 | 61 0a 58 73 75 62 73 65 |almost) |a.Xsubse|
|000008a0| 74 20 6f 66 20 49 53 4f | 20 36 39 33 37 2f 32 2e |t of ISO| 6937/2.|
|000008b0| 0a 58 0a 58 63 7a 20 69 | 73 20 63 6f 6d 70 6c 65 |.X.Xcz i|s comple|
|000008c0| 74 65 6c 79 20 74 61 62 | 6c 65 2d 64 72 69 76 65 |tely tab|le-drive|
|000008d0| 6e 2c 20 61 6e 64 20 69 | 74 20 69 73 20 65 61 73 |n, and i|t is eas|
|000008e0| 79 20 74 6f 20 67 65 74 | 20 63 7a 20 74 6f 20 65 |y to get| cz to e|
|000008f0| 6d 69 74 0a 58 74 68 65 | 20 50 6f 73 74 53 63 72 |mit.Xthe| PostScr|
|00000900| 69 70 74 20 66 6f 72 20 | 6f 74 68 65 72 20 63 68 |ipt for |other ch|
|00000910| 61 72 61 63 74 65 72 20 | 73 65 74 73 2e 20 20 54 |aracter |sets. T|
|00000920| 68 65 20 68 61 72 64 20 | 70 61 72 74 20 69 73 0a |he hard |part is.|
|00000930| 58 66 69 67 75 72 69 6e | 67 20 6f 75 74 20 77 68 |Xfigurin|g out wh|
|00000940| 61 74 20 50 6f 73 74 53 | 63 72 69 70 74 20 63 7a |at PostS|cript cz|
|00000950| 20 73 68 6f 75 6c 64 20 | 65 6d 69 74 2e 0a 58 0a | should |emit..X.|
|00000960| 58 41 6e 20 6f 70 74 69 | 6f 6e 61 6c 20 68 65 75 |XAn opti|onal heu|
|00000970| 72 69 73 74 69 63 20 61 | 74 74 65 6d 70 74 73 20 |ristic a|ttempts |
|00000980| 74 6f 20 67 75 65 73 73 | 20 77 68 65 6e 20 63 65 |to guess| when ce|
|00000990| 72 74 61 69 6e 20 49 53 | 4f 20 36 34 36 20 62 69 |rtain IS|O 646 bi|
|000009a0| 74 0a 58 63 6f 64 65 73 | 20 72 65 70 72 65 73 65 |t.Xcodes| represe|
|000009b0| 6e 74 20 41 53 43 49 49 | 20 28 65 2e 67 2e 20 72 |nt ASCII| (e.g. r|
|000009c0| 69 67 68 74 20 63 75 72 | 6c 79 20 62 72 61 63 65 |ight cur|ly brace|
|000009d0| 29 20 61 6e 64 20 77 68 | 65 6e 20 74 68 65 79 0a |) and wh|en they.|
|000009e0| 58 72 65 70 72 65 73 65 | 6e 74 20 53 57 41 53 43 |Xreprese|nt SWASC|
|000009f0| 49 49 20 28 65 2e 67 2e | 20 61 20 77 69 74 68 20 |II (e.g.| a with |
|00000a00| 72 69 6e 67 2e 29 20 20 | 54 68 65 20 6d 65 61 73 |ring.) |The meas|
|00000a10| 75 72 65 64 20 65 72 72 | 6f 72 20 72 61 74 65 0a |ured err|or rate.|
|00000a20| 58 6f 66 20 74 68 69 73 | 20 68 65 75 72 69 73 74 |Xof this| heurist|
|00000a30| 69 63 20 69 73 20 6c 65 | 73 73 20 74 68 61 6e 20 |ic is le|ss than |
|00000a40| 33 25 20 6f 6e 20 72 65 | 61 6c 20 73 77 6e 65 74 |3% on re|al swnet|
|00000a50| 20 28 53 77 65 64 69 73 | 68 20 6e 65 77 73 0a 58 | (Swedis|h news.X|
|00000a60| 67 72 6f 75 70 20 68 69 | 65 72 61 72 63 68 79 29 |group hi|erarchy)|
|00000a70| 20 6e 65 77 73 20 61 72 | 74 69 63 6c 65 73 2e 20 | news ar|ticles. |
|00000a80| 20 54 68 65 72 65 20 69 | 73 20 61 6c 73 6f 20 61 | There i|s also a|
|00000a90| 20 68 65 75 72 69 73 74 | 69 63 20 66 6f 72 0a 58 | heurist|ic for.X|
|00000aa0| 44 61 6e 69 73 68 2c 20 | 61 6e 64 20 74 6f 6f 6c |Danish, |and tool|
|00000ab0| 73 20 61 6e 64 20 64 6f | 63 75 6d 65 6e 74 61 74 |s and do|cumentat|
|00000ac0| 69 6f 6e 20 66 6f 72 20 | 77 72 69 74 69 6e 67 20 |ion for |writing |
|00000ad0| 68 65 75 72 69 73 74 69 | 63 73 20 66 6f 72 0a 58 |heuristi|cs for.X|
|00000ae0| 6f 74 68 65 72 20 6c 61 | 6e 67 75 61 67 65 73 2e |other la|nguages.|
|00000af0| 20 20 54 68 65 73 65 20 | 68 65 75 72 69 73 74 69 | These |heuristi|
|00000b00| 63 73 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 66 |cs can b|e used f|
|00000b10| 6f 72 20 6f 74 68 65 72 | 0a 58 70 75 72 70 6f 73 |or other|.Xpurpos|
|00000b20| 65 73 20 74 68 61 6e 20 | 70 72 69 6e 74 69 6e 67 |es than |printing|
|00000b30| 20 74 65 78 74 20 66 69 | 6c 65 73 2c 20 65 2e 67 | text fi|les, e.g|
|00000b40| 2e 20 69 6e 20 6d 61 69 | 6c 20 61 6e 64 20 6e 65 |. in mai|l and ne|
|00000b50| 77 73 0a 58 72 65 61 64 | 65 72 73 2e 0a 58 0a 58 |ws.Xread|ers..X.X|
|00000b60| 63 7a 20 69 73 20 76 65 | 72 79 20 66 6c 65 78 69 |cz is ve|ry flexi|
|00000b70| 62 6c 65 2e 20 20 49 74 | 20 63 61 6e 20 75 73 65 |ble. It| can use|
|00000b80| 20 61 6e 79 20 66 6f 6e | 74 20 61 76 61 69 6c 61 | any fon|t availa|
|00000b90| 62 6c 65 20 6f 6e 20 74 | 68 65 0a 58 6f 75 74 70 |ble on t|he.Xoutp|
|00000ba0| 75 74 20 64 65 76 69 63 | 65 2e 20 20 59 6f 75 20 |ut devic|e. You |
|00000bb0| 68 61 76 65 20 63 6f 6d | 70 6c 65 74 65 20 63 6f |have com|plete co|
|00000bc0| 6e 74 72 6f 6c 20 6f 76 | 65 72 20 66 6f 6e 74 20 |ntrol ov|er font |
|00000bd0| 73 69 7a 65 73 2c 20 70 | 61 70 65 72 0a 58 73 69 |sizes, p|aper.Xsi|
|00000be0| 7a 65 2c 20 70 61 67 65 | 20 6c 61 79 6f 75 74 2c |ze, page| layout,|
|00000bf0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 6f 6c 75 6d | number |of colum|
|00000c00| 6e 73 2c 20 6c 69 6e 65 | 20 6e 75 6d 62 65 72 73 |ns, line| numbers|
|00000c10| 2c 20 70 6f 72 74 72 61 | 69 74 20 6f 72 0a 58 6c |, portra|it or.Xl|
|00000c20| 61 6e 64 73 63 61 70 65 | 20 6d 6f 64 65 2c 20 70 |andscape| mode, p|
|00000c30| 61 67 65 20 72 65 76 65 | 72 73 61 6c 2c 20 6c 65 |age reve|rsal, le|
|00000c40| 61 64 69 6e 67 20 28 6c | 69 6e 65 20 73 70 61 63 |ading (l|ine spac|
|00000c50| 69 6e 67 29 2c 20 74 61 | 62 0a 58 65 78 70 61 6e |ing), ta|b.Xexpan|
|00000c60| 73 69 6f 6e 2c 20 61 6e | 64 20 78 2d 20 6f 72 20 |sion, an|d x- or |
|00000c70| 79 2d 61 78 69 73 20 61 | 64 6a 75 73 74 6d 65 6e |y-axis a|djustmen|
|00000c80| 74 73 20 74 6f 20 68 61 | 6e 64 6c 65 20 6d 69 73 |ts to ha|ndle mis|
|00000c90| 61 6c 69 67 6e 65 64 0a | 58 70 72 69 6e 74 65 72 |aligned.|Xprinter|
|00000ca0| 73 2e 20 20 63 7a 20 68 | 61 6e 64 6c 65 73 20 74 |s. cz h|andles t|
|00000cb0| 68 65 20 73 61 6d 65 20 | 74 79 70 6f 67 72 61 70 |he same |typograp|
|00000cc0| 68 69 63 20 75 6e 69 74 | 73 20 61 73 20 54 65 58 |hic unit|s as TeX|
|00000cd0| 2c 20 65 2e 67 2e 0a 58 | 6d 69 6c 6c 69 6d 65 74 |, e.g..X|millimet|
|00000ce0| 65 72 73 2c 20 69 6e 63 | 68 65 73 2c 20 70 6f 69 |ers, inc|hes, poi|
|00000cf0| 6e 74 73 2c 20 65 74 63 | 2e 0a 58 0a 58 46 6f 72 |nts, etc|..X.XFor|
|00000d00| 20 47 4e 55 20 45 6d 61 | 63 73 20 75 73 65 72 73 | GNU Ema|cs users|
|00000d10| 2c 20 74 68 65 72 65 20 | 61 72 65 20 66 75 6e 63 |, there |are func|
|00000d20| 74 69 6f 6e 73 20 63 7a | 2d 62 75 66 66 65 72 20 |tions cz|-buffer |
|00000d30| 61 6e 64 20 63 7a 2d 72 | 65 67 69 6f 6e 0a 58 61 |and cz-r|egion.Xa|
|00000d40| 6e 61 6c 6f 67 6f 75 73 | 20 74 6f 20 6c 70 72 2d |nalogous| to lpr-|
|00000d50| 62 75 66 66 65 72 20 61 | 6e 64 20 6c 70 72 2d 72 |buffer a|nd lpr-r|
|00000d60| 65 67 69 6f 6e 2e 20 20 | 54 68 65 73 65 20 70 72 |egion. |These pr|
|00000d70| 69 6e 74 20 49 53 4f 20 | 38 38 35 39 2f 31 0a 58 |int ISO |8859/1.X|
|00000d80| 62 79 20 64 65 66 61 75 | 6c 74 2c 20 62 75 74 20 |by defau|lt, but |
|00000d90| 74 68 65 20 63 68 61 72 | 61 63 74 65 72 20 73 65 |the char|acter se|
|00000da0| 74 20 63 61 6e 20 62 65 | 20 63 68 61 6e 67 65 64 |t can be| changed|
|00000db0| 20 62 79 20 63 68 61 6e | 67 69 6e 67 20 74 68 65 | by chan|ging the|
|00000dc0| 0a 58 65 6c 69 73 70 20 | 76 61 72 69 61 62 6c 65 |.Xelisp |variable|
|00000dd0| 20 63 7a 2d 43 6f 6d 6d | 61 6e 64 46 69 6c 65 2e | cz-Comm|andFile.|
|00000de0| 20 20 54 68 65 20 65 6c | 69 73 70 20 76 61 72 69 | The el|isp vari|
|00000df0| 61 62 6c 65 73 0a 58 63 | 7a 2d 46 69 78 65 64 57 |ables.Xc|z-FixedW|
|00000e00| 69 64 74 68 20 61 6e 64 | 20 63 7a 2d 41 75 74 6f |idth and| cz-Auto|
|00000e10| 4c 61 6e 64 73 63 61 70 | 65 20 63 61 6e 20 62 65 |Landscap|e can be|
|00000e20| 20 73 65 74 20 74 6f 20 | 63 6f 6e 74 72 6f 6c 20 | set to |control |
|00000e30| 74 68 65 0a 58 62 6f 64 | 79 20 66 6f 6e 74 20 61 |the.Xbod|y font a|
|00000e40| 6e 64 20 66 6f 72 6d 61 | 74 2c 20 61 6e 64 20 74 |nd forma|t, and t|
|00000e50| 68 65 20 76 61 72 69 61 | 62 6c 65 20 63 7a 2d 6f |he varia|ble cz-o|
|00000e60| 75 74 70 75 74 20 63 61 | 6e 20 62 65 20 6d 6f 64 |utput ca|n be mod|
|00000e70| 69 66 69 65 64 0a 58 74 | 6f 20 6f 75 74 70 75 74 |ified.Xt|o output|
|00000e80| 20 74 6f 20 61 20 64 69 | 66 66 65 72 65 6e 74 20 | to a di|fferent |
|00000e90| 70 72 69 6e 74 65 72 2e | 0a 58 0a 58 49 66 20 79 |printer.|.X.XIf y|
|00000ea0| 6f 75 20 72 65 61 64 20 | 6d 61 69 6c 20 77 69 74 |ou read |mail wit|
|00000eb0| 68 20 74 68 65 20 52 4d | 41 49 4c 20 6d 6f 64 65 |h the RM|AIL mode|
|00000ec0| 20 6f 66 20 47 4e 55 20 | 45 6d 61 63 73 2c 20 79 | of GNU |Emacs, y|
|00000ed0| 6f 75 20 63 61 6e 20 70 | 72 69 6e 74 0a 58 61 20 |ou can p|rint.Xa |
|00000ee0| 63 6f 70 79 20 6f 66 20 | 61 6e 79 20 6d 65 73 73 |copy of |any mess|
|00000ef0| 61 67 65 20 77 69 74 68 | 20 74 68 65 20 66 75 6e |age with| the fun|
|00000f00| 63 74 69 6f 6e 20 72 6d | 61 69 6c 2d 63 7a 2e 20 |ction rm|ail-cz. |
|00000f10| 20 54 68 69 73 20 69 73 | 20 62 79 0a 58 64 65 66 | This is| by.Xdef|
|00000f20| 61 75 6c 74 20 62 6f 75 | 6e 64 20 74 6f 20 74 68 |ault bou|nd to th|
|00000f30| 65 20 22 4c 22 20 28 4c | 61 73 65 72 29 20 6b 65 |e "L" (L|aser) ke|
|00000f40| 79 2e 0a 58 0a 58 49 66 | 20 79 6f 75 20 72 65 61 |y..X.XIf| you rea|
|00000f50| 64 20 6d 61 69 6c 20 77 | 69 74 68 20 53 75 6e 27 |d mail w|ith Sun'|
|00000f60| 73 20 6d 61 69 6c 74 6f | 6f 6c 2c 20 79 6f 75 20 |s mailto|ol, you |
|00000f70| 63 61 6e 20 73 65 74 20 | 74 68 65 20 70 72 69 6e |can set |the prin|
|00000f80| 74 6d 61 69 6c 0a 58 76 | 61 72 69 61 62 6c 65 20 |tmail.Xv|ariable |
|00000f90| 69 6e 20 79 6f 75 72 20 | 2e 6d 61 69 6c 72 63 20 |in your |.mailrc |
|00000fa0| 66 69 6c 65 20 74 6f 20 | 74 68 65 20 63 6f 6d 6d |file to |the comm|
|00000fb0| 61 6e 64 20 63 7a 2d 6e | 65 77 73 2e 20 20 54 68 |and cz-n|ews. Th|
|00000fc0| 69 73 20 77 69 6c 6c 0a | 58 70 72 69 6e 74 20 74 |is will.|Xprint t|
|00000fd0| 68 65 20 63 75 72 72 65 | 6e 74 20 6d 65 73 73 61 |he curre|nt messa|
|00000fe0| 67 65 20 77 68 65 6e 20 | 79 6f 75 20 63 6c 69 63 |ge when |you clic|
|00000ff0| 6b 20 74 68 65 20 70 72 | 69 6e 74 20 62 75 74 74 |k the pr|int butt|
|00001000| 6f 6e 2e 0a 58 0a 58 49 | 66 20 79 6f 75 20 72 65 |on..X.XI|f you re|
|00001010| 61 64 20 6e 65 77 73 20 | 77 69 74 68 20 74 68 65 |ad news |with the|
|00001020| 20 47 6e 65 77 73 20 6d | 6f 64 65 20 6f 66 20 47 | Gnews m|ode of G|
|00001030| 4e 55 20 45 6d 61 63 73 | 2c 20 79 6f 75 20 63 61 |NU Emacs|, you ca|
|00001040| 6e 20 70 72 69 6e 74 0a | 58 61 20 63 6f 70 79 20 |n print.|Xa copy |
|00001050| 6f 66 20 61 6e 79 20 61 | 72 74 69 63 6c 65 20 77 |of any a|rticle w|
|00001060| 69 74 68 20 74 68 65 20 | 66 75 6e 63 74 69 6f 6e |ith the |function|
|00001070| 20 47 6e 65 77 73 2d 63 | 7a 2e 20 20 54 68 69 73 | Gnews-c|z. This|
|00001080| 20 69 73 20 62 79 0a 58 | 64 65 66 61 75 6c 74 20 | is by.X|default |
|00001090| 62 6f 75 6e 64 20 74 6f | 20 74 68 65 20 22 4c 22 |bound to| the "L"|
|000010a0| 20 28 4c 61 73 65 72 29 | 20 6b 65 79 2e 0a 58 0a | (Laser)| key..X.|
|000010b0| 58 49 66 20 79 6f 75 20 | 72 65 61 64 20 6e 65 77 |XIf you |read new|
|000010c0| 73 20 77 69 74 68 20 72 | 6e 20 6f 72 20 72 72 6e |s with r|n or rrn|
|000010d0| 2c 20 79 6f 75 20 63 61 | 6e 20 64 65 66 69 6e 65 |, you ca|n define|
|000010e0| 20 6d 61 63 72 6f 73 20 | 69 6e 20 79 6f 75 72 0a | macros |in your.|
|000010f0| 58 2e 72 6e 6d 61 63 20 | 66 69 6c 65 20 74 6f 20 |X.rnmac |file to |
|00001100| 63 61 6c 6c 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |call the| command|
|00001110| 20 63 7a 2d 6e 65 77 73 | 2e 0a 58 0a 58 54 68 65 | cz-news|..X.XThe|
|00001120| 20 63 7a 20 73 79 73 74 | 65 6d 20 68 61 73 20 74 | cz syst|em has t|
|00001130| 68 72 65 65 20 6d 65 63 | 68 61 6e 69 73 6d 73 20 |hree mec|hanisms |
|00001140| 66 6f 72 20 68 61 6e 64 | 6c 69 6e 67 20 6c 6f 6e |for hand|ling lon|
|00001150| 67 20 6c 69 6e 65 73 2e | 0a 58 41 75 74 6f 43 6f |g lines.|.XAutoCo|
|00001160| 6c 75 6d 6e 20 63 61 6e | 20 62 65 20 75 73 65 64 |lumn can| be used|
|00001170| 20 74 6f 20 72 65 64 75 | 63 65 20 74 68 65 20 6e | to redu|ce the n|
|00001180| 75 6d 62 65 72 20 6f 66 | 20 70 61 67 65 20 63 6f |umber of| page co|
|00001190| 6c 75 6d 6e 73 20 69 66 | 20 61 0a 58 6c 69 6e 65 |lumns if| a.Xline|
|000011a0| 20 65 78 63 65 65 64 73 | 20 61 20 63 65 72 74 61 | exceeds| a certa|
|000011b0| 69 6e 20 6c 65 6e 67 74 | 68 2e 20 20 46 6f 72 20 |in lengt|h. For |
|000011c0| 65 78 61 6d 70 6c 65 2c | 20 79 6f 75 20 63 61 6e |example,| you can|
|000011d0| 20 73 70 65 63 69 66 79 | 0a 58 74 77 6f 2d 63 6f | specify|.Xtwo-co|
|000011e0| 6c 75 6d 6e 20 6d 6f 64 | 65 20 62 79 20 64 65 66 |lumn mod|e by def|
|000011f0| 61 75 6c 74 2c 20 62 75 | 74 20 73 77 69 74 63 68 |ault, bu|t switch|
|00001200| 20 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 20 74 | automat|ically t|
|00001210| 6f 0a 58 73 69 6e 67 6c | 65 2d 63 6f 6c 75 6d 6e |o.Xsingl|e-column|
|00001220| 20 6d 6f 64 65 20 69 6e | 20 63 61 73 65 20 61 20 | mode in| case a |
|00001230| 6c 6f 6e 67 20 6c 69 6e | 65 20 69 73 20 65 6e 63 |long lin|e is enc|
|00001240| 6f 75 6e 74 65 72 65 64 | 2e 0a 58 0a 58 41 75 74 |ountered|..X.XAut|
|00001250| 6f 4c 61 6e 64 73 63 61 | 70 65 20 63 61 6e 20 62 |oLandsca|pe can b|
|00001260| 65 20 75 73 65 64 20 74 | 6f 20 73 77 69 74 63 68 |e used t|o switch|
|00001270| 20 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 20 66 | automat|ically f|
|00001280| 72 6f 6d 20 70 6f 72 74 | 72 61 69 74 0a 58 6d 6f |rom port|rait.Xmo|
|00001290| 64 65 20 74 6f 20 6c 61 | 6e 64 73 63 61 70 65 20 |de to la|ndscape |
|000012a0| 6d 6f 64 65 20 69 66 20 | 61 20 6c 6f 6e 67 20 6c |mode if |a long l|
|000012b0| 69 6e 65 20 69 73 20 65 | 6e 63 6f 75 6e 74 65 72 |ine is e|ncounter|
|000012c0| 65 64 2e 0a 58 0a 58 42 | 6f 74 68 20 41 75 74 6f |ed..X.XB|oth Auto|
|000012d0| 43 6f 6c 75 6d 6e 20 61 | 6e 64 20 41 75 74 6f 4c |Column a|nd AutoL|
|000012e0| 61 6e 64 73 63 61 70 65 | 20 63 61 6e 20 6f 70 65 |andscape| can ope|
|000012f0| 72 61 74 65 20 6f 6e 20 | 65 69 74 68 65 72 20 61 |rate on |either a|
|00001300| 0a 58 70 61 67 65 2d 62 | 79 2d 70 61 67 65 20 6f |.Xpage-b|y-page o|
|00001310| 72 20 61 20 77 68 6f 6c | 65 20 66 69 6c 65 20 62 |r a whol|e file b|
|00001320| 61 73 69 73 2e 20 20 46 | 6f 72 20 65 78 61 6d 70 |asis. F|or examp|
|00001330| 6c 65 2c 20 41 75 74 6f | 4c 61 6e 64 73 63 61 70 |le, Auto|Landscap|
|00001340| 65 0a 58 69 6e 20 74 68 | 65 20 70 61 67 65 2d 62 |e.Xin th|e page-b|
|00001350| 79 2d 70 61 67 65 20 6d | 6f 64 65 20 70 72 69 6e |y-page m|ode prin|
|00001360| 74 73 20 70 61 67 65 73 | 20 63 6f 6e 74 61 69 6e |ts pages| contain|
|00001370| 69 6e 67 20 6c 6f 6e 67 | 20 6c 69 6e 65 73 20 69 |ing long| lines i|
|00001380| 6e 0a 58 6c 61 6e 64 73 | 63 61 70 65 20 6d 6f 64 |n.Xlands|cape mod|
|00001390| 65 2c 20 61 6e 64 20 6f | 74 68 65 72 20 70 61 67 |e, and o|ther pag|
|000013a0| 65 73 20 69 6e 20 70 6f | 72 74 72 61 69 74 20 6d |es in po|rtrait m|
|000013b0| 6f 64 65 2e 0a 58 0a 58 | 4c 6f 6e 67 20 6c 69 6e |ode..X.X|Long lin|
|000013c0| 65 73 20 63 61 6e 20 61 | 6c 73 6f 20 62 65 20 66 |es can a|lso be f|
|000013d0| 6f 6c 64 65 64 2c 20 69 | 2e 65 2e 20 62 72 6f 6b |olded, i|.e. brok|
|000013e0| 65 6e 20 61 63 72 6f 73 | 73 20 73 65 76 65 72 61 |en acros|s severa|
|000013f0| 6c 20 6f 75 74 70 75 74 | 0a 58 6c 69 6e 65 73 2e |l output|.Xlines.|
|00001400| 20 20 54 68 65 20 6c 69 | 6e 65 20 62 72 65 61 6b | The li|ne break|
|00001410| 73 20 61 72 65 20 6d 61 | 72 6b 65 64 20 62 79 20 |s are ma|rked by |
|00001420| 61 20 73 70 65 63 69 61 | 6c 20 73 79 6d 62 6f 6c |a specia|l symbol|
|00001430| 2c 20 61 6e 64 20 74 68 | 65 0a 58 63 6f 6e 74 69 |, and th|e.Xconti|
|00001440| 6e 75 61 74 69 6f 6e 20 | 6c 69 6e 65 73 20 61 72 |nuation |lines ar|
|00001450| 65 20 69 6e 64 65 6e 74 | 65 64 2e 0a 58 0a 58 50 |e indent|ed..X.XP|
|00001460| 61 70 65 72 20 6d 61 72 | 67 69 6e 73 20 63 61 6e |aper mar|gins can|
|00001470| 20 62 65 20 73 70 65 63 | 69 66 69 65 64 20 73 65 | be spec|ified se|
|00001480| 70 61 72 61 74 65 6c 79 | 20 66 6f 72 20 6c 61 6e |parately| for lan|
|00001490| 64 73 63 61 70 65 20 61 | 6e 64 0a 58 70 6f 72 74 |dscape a|nd.Xport|
|000014a0| 72 61 69 74 20 6d 6f 64 | 65 2e 20 20 46 6f 72 20 |rait mod|e. For |
|000014b0| 65 78 61 6d 70 6c 65 2c | 20 69 74 20 69 73 20 65 |example,| it is e|
|000014c0| 61 73 79 20 74 6f 20 68 | 61 76 65 20 61 20 31 30 |asy to h|ave a 10|
|000014d0| 20 6d 6d 20 74 6f 70 0a | 58 6d 61 72 67 69 6e 20 | mm top.|Xmargin |
|000014e0| 69 6e 20 70 6f 72 74 72 | 61 69 74 20 6d 6f 64 65 |in portr|ait mode|
|000014f0| 20 61 6e 64 20 61 20 32 | 30 20 6d 6d 20 74 6f 70 | and a 2|0 mm top|
|00001500| 20 6d 61 72 67 69 6e 20 | 69 6e 20 6c 61 6e 64 73 | margin |in lands|
|00001510| 63 61 70 65 0a 58 6d 6f | 64 65 2e 0a 58 0a 58 41 |cape.Xmo|de..X.XA|
|00001520| 6e 20 6f 70 74 69 6f 6e | 20 70 6c 61 63 65 73 20 |n option| places |
|00001530| 61 20 63 6f 6e 74 72 6f | 6c 2d 44 20 61 74 20 74 |a contro|l-D at t|
|00001540| 68 65 20 65 6e 64 20 6f | 66 20 74 68 65 20 50 6f |he end o|f the Po|
|00001550| 73 74 53 63 72 69 70 74 | 0a 58 6f 75 74 70 75 74 |stScript|.Xoutput|
|00001560| 2c 20 66 6f 72 20 70 72 | 69 6e 74 65 72 73 20 74 |, for pr|inters t|
|00001570| 68 61 74 20 6e 65 65 64 | 20 6f 6e 65 2e 0a 58 0a |hat need| one..X.|
|00001580| 58 4c 61 6e 64 73 63 61 | 70 65 20 72 6f 74 61 74 |XLandsca|pe rotat|
|00001590| 69 6f 6e 20 63 61 6e 20 | 62 65 20 65 69 74 68 65 |ion can |be eithe|
|000015a0| 72 20 70 6f 73 69 74 69 | 76 65 20 6f 72 20 6e 65 |r positi|ve or ne|
|000015b0| 67 61 74 69 76 65 2c 20 | 69 2e 65 2e 0a 58 77 69 |gative, |i.e..Xwi|
|000015c0| 74 68 20 70 61 70 65 72 | 20 77 69 74 68 20 68 6f |th paper| with ho|
|000015d0| 6c 65 73 2c 20 79 6f 75 | 20 63 61 6e 20 68 61 76 |les, you| can hav|
|000015e0| 65 20 74 68 65 20 68 6f | 6c 65 73 20 61 74 20 74 |e the ho|les at t|
|000015f0| 68 65 20 74 6f 70 20 6f | 72 20 74 68 65 0a 58 62 |he top o|r the.Xb|
|00001600| 6f 74 74 6f 6d 20 6f 66 | 20 74 68 65 20 70 61 67 |ottom of| the pag|
|00001610| 65 2e 0a 58 0a 58 54 68 | 65 20 6c 69 6e 65 20 6e |e..X.XTh|e line n|
|00001620| 75 6d 62 65 72 20 6f 66 | 20 74 68 65 20 6c 61 73 |umber of| the las|
|00001630| 74 20 6c 69 6e 65 20 69 | 6e 20 61 20 66 69 6c 65 |t line i|n a file|
|00001640| 20 69 73 20 61 6c 77 61 | 79 73 20 70 72 69 6e 74 | is alwa|ys print|
|00001650| 65 64 2c 20 69 66 0a 58 | 6c 69 6e 65 20 6e 75 6d |ed, if.X|line num|
|00001660| 62 65 72 20 70 72 69 6e | 74 69 6e 67 20 69 73 20 |ber prin|ting is |
|00001670| 65 6e 61 62 6c 65 64 2e | 20 20 54 68 69 73 20 6d |enabled.| This m|
|00001680| 61 6b 65 73 20 69 74 20 | 65 61 73 79 20 74 6f 20 |akes it |easy to |
|00001690| 73 65 65 20 68 6f 77 0a | 58 6d 61 6e 79 20 6c 69 |see how.|Xmany li|
|000016a0| 6e 65 73 20 61 72 65 20 | 69 6e 20 61 20 66 69 6c |nes are |in a fil|
|000016b0| 65 2e 20 20 54 75 72 6e | 69 6e 67 20 6f 66 66 20 |e. Turn|ing off |
|000016c0| 6c 69 6e 65 20 6e 75 6d | 62 65 72 20 70 72 69 6e |line num|ber prin|
|000016d0| 74 69 6e 67 20 64 6f 65 | 73 0a 58 6e 6f 74 20 63 |ting doe|s.Xnot c|
|000016e0| 68 61 6e 67 65 20 74 68 | 65 20 6c 65 66 74 20 6d |hange th|e left m|
|000016f0| 61 72 67 69 6e 2e 0a 58 | 0a 58 0a 58 20 20 20 20 |argin..X|.X.X |
|00001700| 20 20 50 52 45 52 45 51 | 55 49 53 49 54 45 53 0a | PREREQ|UISITES.|
|00001710| 58 0a 58 59 6f 75 20 6d | 75 73 74 20 68 61 76 65 |X.XYou m|ust have|
|00001720| 20 6d 79 20 6c 69 62 72 | 61 72 79 20 6f 66 20 43 | my libr|ary of C|
|00001730| 20 66 75 6e 63 74 69 6f | 6e 73 20 61 6e 64 20 73 | functio|ns and s|
|00001740| 68 65 6c 6c 20 73 63 72 | 69 70 74 73 2e 20 20 54 |hell scr|ipts. T|
|00001750| 68 69 73 0a 58 69 73 20 | 64 69 73 74 72 69 62 75 |his.Xis |distribu|
|00001760| 74 65 64 20 73 65 70 61 | 72 61 74 65 6c 79 2e 20 |ted sepa|rately. |
|00001770| 20 41 6c 6c 20 6f 66 20 | 69 74 73 20 70 72 65 72 | All of |its prer|
|00001780| 65 71 75 69 73 69 74 65 | 73 20 61 72 65 20 61 6c |equisite|s are al|
|00001790| 73 6f 0a 58 6e 65 65 64 | 65 64 20 66 6f 72 20 63 |so.Xneed|ed for c|
|000017a0| 7a 2e 0a 58 0a 58 54 68 | 65 20 74 65 73 74 20 74 |z..X.XTh|e test t|
|000017b0| 65 78 74 20 66 69 6c 65 | 73 20 68 61 76 65 20 6f |ext file|s have o|
|000017c0| 63 74 65 74 73 20 77 69 | 74 68 20 74 68 65 20 68 |ctets wi|th the h|
|000017d0| 69 67 68 2d 6f 72 64 65 | 72 20 62 69 74 20 73 65 |igh-orde|r bit se|
|000017e0| 74 2e 0a 58 54 68 65 79 | 20 61 72 65 20 65 6e 63 |t..XThey| are enc|
|000017f0| 6f 64 65 64 20 77 69 74 | 68 20 42 72 61 64 20 54 |oded wit|h Brad T|
|00001800| 65 6d 70 6c 65 74 6f 6e | 27 73 20 61 62 65 20 73 |empleton|'s abe s|
|00001810| 79 73 74 65 6d 2c 20 77 | 68 69 63 68 20 77 61 73 |ystem, w|hich was|
|00001820| 0a 58 70 6f 73 74 65 64 | 20 74 6f 20 63 6f 6d 70 |.Xposted| to comp|
|00001830| 2e 73 6f 75 72 63 65 73 | 2e 6d 69 73 63 20 6f 6e |.sources|.misc on|
|00001840| 20 34 20 4a 75 6e 65 20 | 31 39 38 39 20 61 73 20 | 4 June |1989 as |
|00001850| 76 6f 6c 75 6d 65 20 37 | 2c 20 69 73 73 75 65 73 |volume 7|, issues|
|00001860| 20 31 0a 58 61 6e 64 20 | 32 2c 20 61 72 63 68 69 | 1.Xand |2, archi|
|00001870| 76 65 20 6e 61 6d 65 20 | 61 62 65 2e 20 20 49 66 |ve name |abe. If|
|00001880| 20 79 6f 75 20 77 61 6e | 74 20 74 6f 20 74 65 73 | you wan|t to tes|
|00001890| 74 20 63 7a 20 6f 6e 20 | 74 68 65 73 65 20 66 69 |t cz on |these fi|
|000018a0| 6c 65 73 2c 0a 58 79 6f | 75 20 6d 75 73 74 20 68 |les,.Xyo|u must h|
|000018b0| 61 76 65 20 74 68 65 20 | 64 61 62 65 20 63 6f 6d |ave the |dabe com|
|000018c0| 6d 61 6e 64 2e 0a 58 0a | 58 0a 58 20 20 20 20 20 |mand..X.|X.X |
|000018d0| 20 49 4e 53 54 41 4c 4c | 41 54 49 4f 4e 0a 58 0a | INSTALL|ATION.X.|
|000018e0| 58 49 74 20 77 69 6c 6c | 20 62 65 20 6d 75 63 68 |XIt will| be much|
|000018f0| 20 65 61 73 69 65 72 20 | 74 6f 20 75 6e 64 65 72 | easier |to under|
|00001900| 73 74 61 6e 64 20 74 68 | 65 20 69 6e 73 74 61 6c |stand th|e instal|
|00001910| 6c 61 74 69 6f 6e 20 69 | 66 20 79 6f 75 0a 58 66 |lation i|f you.Xf|
|00001920| 69 72 73 74 20 72 65 61 | 64 20 6d 79 20 72 65 70 |irst rea|d my rep|
|00001930| 6f 72 74 20 22 53 68 61 | 72 69 6e 67 20 73 6f 66 |ort "Sha|ring sof|
|00001940| 74 77 61 72 65 20 69 6e | 20 61 20 6e 65 74 77 6f |tware in| a netwo|
|00001950| 72 6b 20 6f 66 0a 58 68 | 65 74 65 72 6f 67 65 6e |rk of.Xh|eterogen|
|00001960| 65 6f 75 73 20 55 4e 49 | 58 20 68 6f 73 74 73 2e |eous UNI|X hosts.|
|00001970| 22 20 20 54 68 69 73 20 | 63 6f 6d 65 73 20 77 69 |" This |comes wi|
|00001980| 74 68 20 6d 79 20 43 20 | 6c 69 62 72 61 72 79 2e |th my C |library.|
|00001990| 0a 58 0a 58 46 69 67 75 | 72 65 20 6f 75 74 20 77 |.X.XFigu|re out w|
|000019a0| 68 65 72 65 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |here you| want to|
|000019b0| 20 69 6e 73 74 61 6c 6c | 20 76 61 72 69 6f 75 73 | install| various|
|000019c0| 20 66 69 6c 65 73 2e 20 | 20 48 65 72 65 20 49 27 | files. | Here I'|
|000019d0| 6c 6c 0a 58 61 73 73 75 | 6d 65 20 61 20 73 65 70 |ll.Xassu|me a sep|
|000019e0| 61 72 61 74 65 20 64 69 | 72 65 63 74 6f 72 79 20 |arate di|rectory |
|000019f0| 66 6f 72 20 65 76 65 72 | 79 74 68 69 6e 67 2c 20 |for ever|ything, |
|00001a00| 62 75 74 20 69 74 27 73 | 20 65 61 73 79 20 74 6f |but it's| easy to|
|00001a10| 0a 58 6d 61 6b 65 20 61 | 20 64 69 66 66 65 72 65 |.Xmake a| differe|
|00001a20| 6e 74 20 63 68 6f 69 63 | 65 2e 20 20 49 20 64 69 |nt choic|e. I di|
|00001a30| 73 63 75 73 73 20 61 6e | 20 61 6c 74 65 72 6e 61 |scuss an| alterna|
|00001a40| 74 69 76 65 20 65 78 61 | 6d 70 6c 65 0a 58 62 65 |tive exa|mple.Xbe|
|00001a50| 6c 6f 77 2e 0a 58 0a 58 | 49 6e 20 74 68 65 20 6d |low..X.X|In the m|
|00001a60| 61 73 74 65 72 20 73 6f | 75 72 63 65 20 64 69 72 |aster so|urce dir|
|00001a70| 65 63 74 6f 72 79 2c 20 | 77 68 69 63 68 20 49 27 |ectory, |which I'|
|00001a80| 6c 6c 20 63 61 6c 6c 20 | 24 44 44 2c 20 65 78 74 |ll call |$DD, ext|
|00001a90| 72 61 63 74 20 74 68 65 | 0a 58 74 65 73 74 20 74 |ract the|.Xtest t|
|00001aa0| 65 78 74 73 3a 0a 58 20 | 20 20 25 20 63 64 20 24 |exts:.X | % cd $|
|00001ab0| 44 44 0a 58 20 20 20 25 | 20 64 61 62 65 20 74 65 |DD.X %| dabe te|
|00001ac0| 73 74 2e 61 62 65 0a 58 | 0a 58 43 72 65 61 74 65 |st.abe.X|.XCreate|
|00001ad0| 20 61 20 64 69 72 65 63 | 74 6f 72 79 20 66 6f 72 | a direc|tory for|
|00001ae0| 20 63 6f 6d 70 69 6c 69 | 6e 67 20 6f 6e 20 74 68 | compili|ng on th|
|00001af0| 69 73 20 6d 61 63 68 69 | 6e 65 20 74 79 70 65 2e |is machi|ne type.|
|00001b00| 20 20 49 27 6c 6c 0a 58 | 63 61 6c 6c 20 69 74 20 | I'll.X|call it |
|00001b10| 2f 75 73 72 2f 6c 6f 63 | 61 6c 2f 66 72 65 65 2f |/usr/loc|al/free/|
|00001b20| 63 7a 2e 0a 58 0a 58 46 | 69 6e 64 20 6f 75 74 20 |cz..X.XF|ind out |
|00001b30| 74 68 65 20 76 65 72 73 | 69 6f 6e 2e 20 20 4c 6f |the vers|ion. Lo|
|00001b40| 6f 6b 20 61 74 20 74 68 | 65 20 48 65 61 64 65 72 |ok at th|e Header|
|00001b50| 20 6c 69 6e 65 20 28 74 | 79 70 69 63 61 6c 6c 79 | line (t|ypically|
|00001b60| 20 74 68 65 0a 58 66 69 | 72 73 74 20 6c 69 6e 65 | the.Xfi|rst line|
|00001b70| 29 20 6f 66 20 74 68 65 | 20 46 52 45 45 5a 45 20 |) of the| FREEZE |
|00001b80| 66 69 6c 65 2e 20 20 54 | 68 65 20 76 65 72 73 69 |file. T|he versi|
|00001b90| 6f 6e 20 69 73 20 74 68 | 65 20 66 69 72 73 74 0a |on is th|e first.|
|00001ba0| 58 6e 75 6d 62 65 72 2c | 20 61 6e 64 20 65 6e 64 |Xnumber,| and end|
|00001bb0| 73 20 61 74 20 74 68 65 | 20 70 65 72 69 6f 64 2e |s at the| period.|
|00001bc0| 20 20 54 68 65 20 66 69 | 72 73 74 20 65 78 74 65 | The fi|rst exte|
|00001bd0| 72 6e 61 6c 6c 79 20 72 | 65 6c 65 61 73 65 64 0a |rnally r|eleased.|
|00001be0| 58 76 65 72 73 69 6f 6e | 20 77 61 73 20 76 65 72 |Xversion| was ver|
|00001bf0| 73 69 6f 6e 20 32 2e 0a | 58 0a 58 43 72 65 61 74 |sion 2..|X.XCreat|
|00001c00| 65 20 61 20 73 75 62 64 | 69 72 65 63 74 6f 72 79 |e a subd|irectory|
|00001c10| 20 66 6f 72 20 74 68 69 | 73 20 76 65 72 73 69 6f | for thi|s versio|
|00001c20| 6e 2e 20 65 2e 67 2e 0a | 58 2f 75 73 72 2f 6c 6f |n. e.g..|X/usr/lo|
|00001c30| 63 61 6c 2f 66 72 65 65 | 2f 63 7a 2f 32 2e 0a 58 |cal/free|/cz/2..X|
|00001c40| 0a 58 43 72 65 61 74 65 | 20 74 68 65 20 66 6f 6c |.XCreate| the fol|
|00001c50| 6c 6f 77 69 6e 67 20 73 | 75 62 64 69 72 65 63 74 |lowing s|ubdirect|
|00001c60| 6f 72 69 65 73 20 66 6f | 72 20 72 65 73 75 6c 74 |ories fo|r result|
|00001c70| 73 3a 0a 58 20 20 20 62 | 69 6e 20 20 20 20 20 20 |s:.X b|in |
|00001c80| 20 49 6e 73 74 61 6c 6c | 65 64 20 65 78 65 63 75 | Install|ed execu|
|00001c90| 74 61 62 6c 65 73 2e 0a | 58 20 20 20 65 6c 20 20 |tables..|X el |
|00001ca0| 20 20 20 20 20 20 42 79 | 74 65 2d 63 6f 6d 70 69 | By|te-compi|
|00001cb0| 6c 65 64 20 65 6c 69 73 | 70 2e 0a 58 20 20 20 6c |led elis|p..X l|
|00001cc0| 69 62 20 20 20 20 20 20 | 20 43 6f 6d 6d 61 6e 64 |ib | Command|
|00001cd0| 20 66 69 6c 65 73 2c 20 | 50 6f 73 74 53 63 72 69 | files, |PostScri|
|00001ce0| 70 74 2c 20 74 72 69 67 | 72 61 6d 20 74 61 62 6c |pt, trig|ram tabl|
|00001cf0| 65 73 2c 20 65 74 63 2e | 0a 58 20 20 20 6d 61 6e |es, etc.|.X man|
|00001d00| 2f 6d 61 6e 31 20 20 4d | 61 6e 75 61 6c 20 65 6e |/man1 M|anual en|
|00001d10| 74 72 69 65 73 2e 0a 58 | 20 20 20 6d 61 6e 2f 63 |tries..X| man/c|
|00001d20| 61 74 31 20 20 4f 6e 2d | 6c 69 6e 65 20 66 6f 72 |at1 On-|line for|
|00001d30| 6d 61 74 74 65 64 20 6d | 61 6e 75 61 6c 20 65 6e |matted m|anual en|
|00001d40| 74 72 69 65 73 2c 0a 58 | 20 20 20 74 65 73 74 20 |tries,.X| test |
|00001d50| 20 20 20 20 20 54 65 73 | 74 20 74 65 78 74 20 26 | Tes|t text &|
|00001d60| 20 50 6f 73 74 53 63 72 | 69 70 74 2e 0a 58 0a 58 | PostScr|ipt..X.X|
|00001d70| 46 6f 72 20 65 78 61 6d | 70 6c 65 3a 0a 58 20 20 |For exam|ple:.X |
|00001d80| 20 25 20 63 64 20 2f 75 | 73 72 2f 6c 6f 63 61 6c | % cd /u|sr/local|
|00001d90| 2f 66 72 65 65 2f 63 7a | 2f 32 0a 58 20 20 20 25 |/free/cz|/2.X %|
|00001da0| 20 6d 6b 64 69 72 20 62 | 69 6e 20 65 6c 20 6c 69 | mkdir b|in el li|
|00001db0| 62 20 6d 61 6e 20 6d 61 | 6e 2f 7b 63 61 74 2c 6d |b man ma|n/{cat,m|
|00001dc0| 61 6e 7d 31 20 74 65 73 | 74 0a 58 20 20 20 0a 58 |an}1 tes|t.X .X|
|00001dd0| 43 72 65 61 74 65 20 61 | 20 73 75 62 64 69 72 65 |Create a| subdire|
|00001de0| 63 74 6f 72 79 20 66 6f | 72 20 64 6f 69 6e 67 20 |ctory fo|r doing |
|00001df0| 74 68 65 20 61 63 74 75 | 61 6c 20 63 6f 6d 70 69 |the actu|al compi|
|00001e00| 6c 61 74 69 6f 6e 73 2e | 20 20 49 27 6c 6c 0a 58 |lations.| I'll.X|
|00001e10| 63 61 6c 6c 20 69 74 20 | 73 75 6e 33 34 3a 0a 58 |call it |sun34:.X|
|00001e20| 20 20 20 25 20 6d 6b 64 | 69 72 20 73 75 6e 33 34 | % mkd|ir sun34|
|00001e30| 0a 58 20 20 20 25 20 63 | 64 20 73 75 6e 33 34 0a |.X % c|d sun34.|
|00001e40| 58 0a 58 43 72 65 61 74 | 65 20 61 6e 20 6d 6b 20 |X.XCreat|e an mk |
|00001e50| 73 68 65 6c 6c 20 66 69 | 6c 65 2e 20 20 4d 61 6b |shell fi|le. Mak|
|00001e60| 65 20 69 74 20 65 78 65 | 63 75 74 61 62 6c 65 2e |e it exe|cutable.|
|00001e70| 20 20 48 65 72 65 27 73 | 20 61 20 73 74 61 72 74 | Here's| a start|
|00001e80| 69 6e 67 0a 58 70 6f 69 | 6e 74 20 66 6f 72 20 53 |ing.Xpoi|nt for S|
|00001e90| 75 6e 4f 53 20 34 2e 78 | 3a 0a 58 20 20 0a 58 44 |unOS 4.x|:.X .XD|
|00001ea0| 44 3d 2f 75 73 72 2f 6c | 6f 63 61 6c 2f 66 72 65 |D=/usr/l|ocal/fre|
|00001eb0| 65 2d 64 69 73 74 2f 63 | 7a 2f 32 2f 64 69 73 74 |e-dist/c|z/2/dist|
|00001ec0| 0a 58 53 52 43 53 3d 60 | 63 64 20 24 44 44 3b 20 |.XSRCS=`|cd $DD; |
|00001ed0| 65 63 68 6f 20 2a 60 0a | 58 52 4d 3d 27 72 6d 20 |echo *`.|XRM='rm |
|00001ee0| 2d 66 27 0a 58 65 78 70 | 6f 72 74 20 44 44 20 53 |-f'.Xexp|ort DD S|
|00001ef0| 52 43 53 20 52 4d 0a 58 | 6d 61 6b 65 20 2d 66 20 |RCS RM.X|make -f |
|00001f00| 75 4d 61 6b 65 66 69 6c | 65 0a 58 65 78 65 63 20 |uMakefil|e.Xexec |
|00001f10| 6d 61 6b 65 20 5c 0a 58 | 20 20 20 43 41 54 4d 41 |make \.X| CATMA|
|00001f20| 4e 3d 63 61 74 6d 61 6e | 20 5c 0a 58 20 20 20 46 |N=catman| \.X F|
|00001f30| 4d 54 4c 41 54 45 58 3d | 6d 6b 4c 61 54 65 58 50 |MTLATEX=|mkLaTeXP|
|00001f40| 53 20 5c 0a 58 20 20 20 | 46 4d 54 4d 41 4e 3d 6d |S \.X |FMTMAN=m|
|00001f50| 6b 4d 61 6e 50 53 20 5c | 0a 58 20 20 20 24 2a 0a |kManPS \|.X $*.|
|00001f60| 58 0a 58 49 66 20 79 6f | 75 20 64 6f 6e 27 74 20 |X.XIf yo|u don't |
|00001f70| 68 61 76 65 20 61 20 63 | 61 74 6d 61 6e 20 63 6f |have a c|atman co|
|00001f80| 6d 6d 61 6e 64 2c 20 64 | 72 6f 70 20 74 68 61 74 |mmand, d|rop that|
|00001f90| 20 6c 69 6e 65 2e 20 20 | 46 4d 54 4c 41 54 45 58 | line. |FMTLATEX|
|00001fa0| 0a 58 73 68 6f 75 6c 64 | 20 62 65 20 74 68 65 20 |.Xshould| be the |
|00001fb0| 6e 61 6d 65 20 6f 66 20 | 61 20 63 6f 6d 6d 61 6e |name of |a comman|
|00001fc0| 64 20 74 6f 20 74 75 72 | 6e 20 4c 61 54 65 58 20 |d to tur|n LaTeX |
|00001fd0| 73 6f 75 72 63 65 20 69 | 6e 74 6f 0a 58 77 68 61 |source i|nto.Xwha|
|00001fe0| 74 65 76 65 72 20 79 6f | 75 72 20 70 72 69 6e 74 |tever yo|ur print|
|00001ff0| 65 72 20 70 72 69 6e 74 | 73 3b 20 69 66 20 79 6f |er print|s; if yo|
|00002000| 75 20 64 6f 6e 27 74 20 | 68 61 76 65 20 6f 6e 65 |u don't |have one|
|00002010| 20 6a 75 73 74 20 64 72 | 6f 70 0a 58 69 74 2e 20 | just dr|op.Xit. |
|00002020| 20 4c 69 6b 65 77 69 73 | 65 2c 20 46 4d 54 4d 41 | Likewis|e, FMTMA|
|00002030| 4e 20 73 68 6f 75 6c 64 | 20 62 65 20 74 68 65 20 |N should| be the |
|00002040| 6e 61 6d 65 20 6f 66 20 | 61 20 63 6f 6d 6d 61 6e |name of |a comman|
|00002050| 64 20 74 6f 20 74 75 72 | 6e 0a 58 6d 61 6e 75 61 |d to tur|n.Xmanua|
|00002060| 6c 20 65 6e 74 72 69 65 | 73 20 69 6e 74 6f 20 70 |l entrie|s into p|
|00002070| 72 69 6e 74 61 62 6c 65 | 20 66 6f 72 6d 2e 20 20 |rintable| form. |
|00002080| 41 64 64 20 61 6e 79 20 | 6c 6f 63 61 6c 20 63 68 |Add any |local ch|
|00002090| 61 6e 67 65 73 20 79 6f | 75 0a 58 6e 65 65 64 20 |anges yo|u.Xneed |
|000020a0| 68 65 72 65 2e 20 20 49 | 66 20 79 6f 75 72 20 43 |here. I|f your C|
|000020b0| 20 63 6f 6d 70 69 6c 65 | 72 20 64 6f 65 73 6e 27 | compile|r doesn'|
|000020c0| 74 20 75 6e 64 65 72 73 | 74 61 6e 64 20 64 69 66 |t unders|tand dif|
|000020d0| 66 65 72 65 6e 74 0a 58 | 6f 70 74 69 6d 69 7a 61 |ferent.X|optimiza|
|000020e0| 74 69 6f 6e 20 6c 65 76 | 65 6c 73 2c 20 61 64 64 |tion lev|els, add|
|000020f0| 20 43 46 4c 41 47 53 3d | 2d 4f 20 61 73 20 61 6e | CFLAGS=|-O as an|
|00002100| 20 61 72 67 75 6d 65 6e | 74 20 74 6f 20 74 68 65 | argumen|t to the|
|00002110| 20 6c 61 73 74 0a 58 6d | 61 6b 65 2e 20 20 49 66 | last.Xm|ake. If|
|00002120| 20 6c 70 72 20 69 73 20 | 6e 6f 74 20 74 68 65 20 | lpr is |not the |
|00002130| 63 6f 6d 6d 61 6e 64 20 | 74 6f 20 70 72 69 6e 74 |command |to print|
|00002140| 20 66 69 6c 65 73 20 6f | 6e 20 79 6f 75 72 20 73 | files o|n your s|
|00002150| 79 73 74 65 6d 2c 0a 58 | 61 64 64 20 42 44 45 46 |ystem,.X|add BDEF|
|00002160| 53 3d 27 6c 3d 50 52 49 | 4e 54 27 20 77 68 65 72 |S='l=PRI|NT' wher|
|00002170| 65 20 50 52 49 4e 54 20 | 69 73 20 77 68 61 74 20 |e PRINT |is what |
|00002180| 69 74 20 74 61 6b 65 73 | 20 74 6f 20 70 72 69 6e |it takes| to prin|
|00002190| 74 20 61 20 66 69 6c 65 | 0a 58 6f 6e 20 61 20 50 |t a file|.Xon a P|
|000021a0| 6f 73 74 53 63 72 69 70 | 74 20 70 72 69 6e 74 65 |ostScrip|t printe|
|000021b0| 72 20 6f 6e 20 79 6f 75 | 72 20 73 79 73 74 65 6d |r on you|r system|
|000021c0| 2e 0a 58 0a 58 48 65 72 | 65 20 69 73 20 61 6e 20 |..X.XHer|e is an |
|000021d0| 61 6c 74 65 72 6e 61 74 | 65 20 6d 6b 20 66 69 6c |alternat|e mk fil|
|000021e0| 65 20 66 6f 72 20 61 20 | 73 79 73 74 65 6d 20 75 |e for a |system u|
|000021f0| 73 69 6e 67 20 47 43 43 | 2c 20 61 6e 64 20 77 69 |sing GCC|, and wi|
|00002200| 74 68 0a 58 72 65 73 75 | 6c 74 73 20 69 6e 73 74 |th.Xresu|lts inst|
|00002210| 61 6c 6c 65 64 20 69 6e | 20 6d 6f 72 65 20 63 6f |alled in| more co|
|00002220| 6e 76 65 6e 74 69 6f 6e | 61 6c 20 70 6c 61 63 65 |nvention|al place|
|00002230| 73 2e 20 20 54 68 65 20 | 70 72 69 6e 74 0a 58 63 |s. The |print.Xc|
|00002240| 6f 6d 6d 61 6e 64 20 6f | 6e 20 74 68 69 73 20 73 |ommand o|n this s|
|00002250| 79 73 74 65 6d 20 69 73 | 20 6c 70 2e 0a 58 20 20 |ystem is| lp..X |
|00002260| 0a 58 44 44 3d 2f 75 73 | 72 2f 6c 6f 63 61 6c 2f |.XDD=/us|r/local/|
|00002270| 66 72 65 65 2d 64 69 73 | 74 2f 63 7a 2f 32 2f 64 |free-dis|t/cz/2/d|
|00002280| 69 73 74 0a 58 53 52 43 | 53 3d 60 63 64 20 24 44 |ist.XSRC|S=`cd $D|
|00002290| 44 3b 20 65 63 68 6f 20 | 2a 60 0a 58 43 43 3d 67 |D; echo |*`.XCC=g|
|000022a0| 63 63 0a 58 43 46 4c 41 | 47 53 3d 27 2d 67 20 2d |cc.XCFLA|GS='-g -|
|000022b0| 4f 20 2d 74 72 61 64 69 | 74 69 6f 6e 61 6c 27 0a |O -tradi|tional'.|
|000022c0| 58 49 4e 43 4c 55 44 45 | 53 3d 2d 49 2f 75 73 72 |XINCLUDE|S=-I/usr|
|000022d0| 2f 6c 6f 63 61 6c 2f 69 | 6e 63 6c 75 64 65 0a 58 |/local/i|nclude.X|
|000022e0| 52 4d 3d 27 72 6d 20 2d | 66 27 0a 58 65 78 70 6f |RM='rm -|f'.Xexpo|
|000022f0| 72 74 20 44 44 20 53 52 | 43 53 20 43 43 20 43 46 |rt DD SR|CS CC CF|
|00002300| 4c 41 47 53 20 49 4e 43 | 4c 55 44 45 53 20 52 4d |LAGS INC|LUDES RM|
|00002310| 0a 58 6d 61 6b 65 20 2d | 66 20 75 4d 61 6b 65 66 |.Xmake -|f uMakef|
|00002320| 69 6c 65 0a 58 65 78 65 | 63 20 6d 61 6b 65 20 5c |ile.Xexe|c make \|
|00002330| 0a 58 20 20 20 42 44 45 | 46 53 3d 27 6c 3d 6c 70 |.X BDE|FS='l=lp|
|00002340| 27 20 5c 0a 58 20 20 20 | 42 49 44 3d 2f 75 73 72 |' \.X |BID=/usr|
|00002350| 2f 6c 6f 63 61 6c 2f 62 | 69 6e 20 5c 0a 58 20 20 |/local/b|in \.X |
|00002360| 20 43 41 54 4d 41 4e 3d | 63 61 74 6d 61 6e 20 5c | CATMAN=|catman \|
|00002370| 0a 58 20 20 20 43 49 44 | 3d 2f 75 73 72 2f 6c 6f |.X CID|=/usr/lo|
|00002380| 63 61 6c 2f 62 69 6e 20 | 5c 0a 58 20 20 20 43 4f |cal/bin |\.X CO|
|00002390| 44 45 49 44 3d 2f 75 73 | 72 2f 6c 6f 63 61 6c 2f |DEID=/us|r/local/|
|000023a0| 6c 69 62 20 5c 0a 58 20 | 20 20 45 4c 49 44 3d 2f |lib \.X | ELID=/|
|000023b0| 75 73 72 2f 6c 6f 63 61 | 6c 2f 6c 69 73 70 20 5c |usr/loca|l/lisp \|
|000023c0| 0a 58 20 20 20 4c 49 42 | 50 41 54 48 3d 27 2d 4c |.X LIB|PATH='-L|
|000023d0| 2f 75 73 72 2f 6c 6f 63 | 61 6c 2f 6c 69 62 27 20 |/usr/loc|al/lib' |
|000023e0| 5c 0a 58 20 20 20 4d 49 | 44 3d 2f 75 73 72 2f 6c |\.X MI|D=/usr/l|
|000023f0| 6f 63 61 6c 2f 6d 61 6e | 20 5c 0a 58 20 20 20 50 |ocal/man| \.X P|
|00002400| 53 49 44 3d 2f 75 73 72 | 2f 6c 6f 63 61 6c 2f 6c |SID=/usr|/local/l|
|00002410| 69 62 20 5c 0a 58 20 20 | 20 52 43 49 44 3d 2f 75 |ib \.X | RCID=/u|
|00002420| 73 72 2f 6c 6f 63 61 6c | 2f 6c 69 62 20 5c 0a 58 |sr/local|/lib \.X|
|00002430| 20 20 20 54 49 44 3d 2f | 75 73 72 2f 6c 6f 63 61 | TID=/|usr/loca|
|00002440| 6c 2f 6c 69 62 20 5c 0a | 58 20 20 20 54 50 53 49 |l/lib \.|X TPSI|
|00002450| 44 3d 2f 75 73 72 2f 6c | 6f 63 61 6c 2f 6c 69 62 |D=/usr/l|ocal/lib|
|00002460| 20 5c 0a 58 20 20 20 54 | 54 49 44 3d 2f 75 73 72 | \.X T|TID=/usr|
|00002470| 2f 6c 6f 63 61 6c 2f 6c | 69 62 20 5c 0a 58 20 20 |/local/l|ib \.X |
|00002480| 20 24 2a 0a 58 0a 58 47 | 65 74 20 4d 61 6b 65 43 | $*.X.XG|et MakeC|
|00002490| 6f 6d 6d 6f 6e 20 61 6e | 64 20 75 4d 61 6b 65 66 |ommon an|d uMakef|
|000024a0| 69 6c 65 20 66 72 6f 6d | 20 74 68 65 20 6d 61 73 |ile from| the mas|
|000024b0| 74 65 72 20 73 6f 75 72 | 63 65 20 64 69 72 65 63 |ter sour|ce direc|
|000024c0| 74 6f 72 79 2c 0a 58 65 | 2e 67 2e 0a 58 20 20 20 |tory,.Xe|.g..X |
|000024d0| 25 20 6d 6b 44 69 73 74 | 49 20 4d 61 6b 65 43 6f |% mkDist|I MakeCo|
|000024e0| 6d 6d 6f 6e 20 24 44 44 | 0a 58 20 20 20 25 20 6d |mmon $DD|.X % m|
|000024f0| 6b 44 69 73 74 49 20 75 | 4d 61 6b 65 66 69 6c 65 |kDistI u|Makefile|
|00002500| 20 20 24 44 44 0a 58 0a | 58 52 75 6e 20 6d 6b 2e | $DD.X.|XRun mk.|
|00002510| 0a 58 0a 58 52 75 6e 20 | 22 6d 6b 20 69 6e 73 74 |.X.XRun |"mk inst|
|00002520| 61 6c 6c 22 20 61 6e 64 | 20 79 6f 75 27 72 65 20 |all" and| you're |
|00002530| 66 69 6e 69 73 68 65 64 | 2e 0a 58 0a 58 0a 58 20 |finished|..X.X.X |
|00002540| 20 20 20 20 20 4e 4f 54 | 45 53 0a 58 0a 58 42 65 | NOT|ES.X.XBe|
|00002550| 66 6f 72 65 20 64 69 73 | 74 72 69 62 75 74 69 6e |fore dis|tributin|
|00002560| 67 20 75 73 2e 66 72 2c | 20 74 68 65 20 66 72 65 |g us.fr,| the fre|
|00002570| 71 75 65 6e 63 79 20 74 | 61 62 6c 65 20 66 6f 72 |quency t|able for|
|00002580| 20 55 53 20 45 6e 67 6c | 69 73 68 2c 20 49 0a 58 | US Engl|ish, I.X|
|00002590| 72 65 6d 6f 76 65 64 20 | 61 6c 6c 20 62 75 74 20 |removed |all but |
|000025a0| 74 68 65 20 6d 6f 73 74 | 20 66 72 65 71 75 65 6e |the most| frequen|
|000025b0| 74 20 36 34 20 6b 62 79 | 74 65 73 2e 20 20 54 68 |t 64 kby|tes. Th|
|000025c0| 69 73 20 64 6f 65 73 20 | 6e 6f 74 0a 58 61 66 66 |is does |not.Xaff|
|000025d0| 65 63 74 20 74 68 65 20 | 64 6b 75 73 2e 74 74 20 |ect the |dkus.tt |
|000025e0| 61 6e 64 20 73 65 75 73 | 2e 74 74 20 74 72 69 67 |and seus|.tt trig|
|000025f0| 72 61 6d 20 64 69 66 66 | 65 72 65 6e 63 65 20 74 |ram diff|erence t|
|00002600| 61 62 6c 65 73 2c 0a 58 | 62 65 63 61 75 73 65 20 |ables,.X|because |
|00002610| 74 68 65 20 66 72 65 71 | 75 65 6e 63 79 20 74 61 |the freq|uency ta|
|00002620| 62 6c 65 73 20 66 6f 72 | 20 44 61 6e 69 73 68 20 |bles for| Danish |
|00002630| 61 6e 64 20 53 77 65 64 | 69 73 68 20 61 72 65 20 |and Swed|ish are |
|00002640| 65 76 65 6e 0a 58 73 6d | 61 6c 6c 65 72 2e 20 20 |even.Xsm|aller. |
|00002650| 54 68 65 20 66 75 6c 6c | 20 75 73 2e 66 72 20 69 |The full| us.fr i|
|00002660| 73 20 33 37 35 20 6b 62 | 79 74 65 73 2e 20 20 49 |s 375 kb|ytes. I|
|00002670| 66 20 79 6f 75 20 6e 65 | 65 64 20 69 74 2c 20 63 |f you ne|ed it, c|
|00002680| 6f 6e 74 61 63 74 0a 58 | 6d 65 2e 0a 58 2d 2d 0a |ontact.X|me..X--.|
|00002690| 58 48 6f 77 61 72 64 20 | 47 61 79 6c 65 0a 58 54 |XHoward |Gayle.XT|
|000026a0| 4e 2f 45 54 58 2f 54 2f | 42 47 0a 58 45 72 69 63 |N/ETX/T/|BG.XEric|
|000026b0| 73 73 6f 6e 20 54 65 6c | 65 63 6f 6d 20 41 42 0a |sson Tel|ecom AB.|
|000026c0| 58 53 2d 31 32 36 20 32 | 35 20 53 74 6f 63 6b 68 |XS-126 2|5 Stockh|
|000026d0| 6f 6c 6d 0a 58 53 77 65 | 64 65 6e 0a 58 68 6f 77 |olm.XSwe|den.Xhow|
|000026e0| 61 72 64 40 65 72 69 63 | 73 73 6f 6e 2e 73 65 0a |ard@eric|sson.se.|
|000026f0| 58 75 75 6e 65 74 21 65 | 72 69 63 73 73 6f 6e 2e |Xuunet!e|ricsson.|
|00002700| 73 65 21 68 6f 77 61 72 | 64 0a 58 50 68 6f 6e 65 |se!howar|d.XPhone|
|00002710| 3a 20 2b 34 36 20 38 20 | 37 31 39 20 35 35 36 35 |: +46 8 |719 5565|
|00002720| 0a 58 46 41 58 20 20 3a | 20 2b 34 36 20 38 20 37 |.XFAX :| +46 8 7|
|00002730| 31 39 20 39 35 39 38 0a | 58 0a 58 0a 45 4e 44 5f |19 9598.|X.X.END_|
|00002740| 4f 46 5f 46 49 4c 45 0a | 69 66 20 74 65 73 74 20 |OF_FILE.|if test |
|00002750| 38 36 32 30 20 2d 6e 65 | 20 60 77 63 20 2d 63 20 |8620 -ne| `wc -c |
|00002760| 3c 27 52 45 41 44 4d 45 | 27 60 3b 20 74 68 65 6e |<'README|'`; then|
|00002770| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00002780| 5c 22 27 52 45 41 44 4d | 45 27 5c 22 20 75 6e 70 |\"'READM|E'\" unp|
|00002790| 61 63 6b 65 64 20 77 69 | 74 68 20 77 72 6f 6e 67 |acked wi|th wrong|
|000027a0| 20 73 69 7a 65 21 0a 66 | 69 0a 23 20 65 6e 64 20 | size!.f|i.# end |
|000027b0| 6f 66 20 27 52 45 41 44 | 4d 45 27 0a 66 69 0a 69 |of 'READ|ME'.fi.i|
|000027c0| 66 20 74 65 73 74 20 2d | 66 20 27 37 38 2e 31 27 |f test -|f '78.1'|
|000027d0| 20 2d 61 20 22 24 7b 31 | 7d 22 20 21 3d 20 22 2d | -a "${1|}" != "-|
|000027e0| 63 22 20 3b 20 74 68 65 | 6e 20 0a 20 20 65 63 68 |c" ; the|n . ech|
|000027f0| 6f 20 73 68 61 72 3a 20 | 57 69 6c 6c 20 6e 6f 74 |o shar: |Will not|
|00002800| 20 63 6c 6f 62 62 65 72 | 20 65 78 69 73 74 69 6e | clobber| existin|
|00002810| 67 20 66 69 6c 65 20 5c | 22 27 37 38 2e 31 27 5c |g file \|"'78.1'\|
|00002820| 22 0a 65 6c 73 65 0a 65 | 63 68 6f 20 73 68 61 72 |".else.e|cho shar|
|00002830| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|00002840| 37 38 2e 31 27 5c 22 20 | 5c 28 36 33 37 32 20 63 |78.1'\" |\(6372 c|
|00002850| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 73 65 64 20 |haracter|s\).sed |
|00002860| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 37 38 2e 31 27 |"s/^X//"| >'78.1'|
|00002870| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|00002880| 0a 58 2e 5c 22 20 24 48 | 65 61 64 65 72 3a 20 37 |.X.\" $H|eader: 7|
|00002890| 38 2e 31 2c 76 20 31 2e | 31 32 20 38 39 2f 30 39 |8.1,v 1.|12 89/09|
|000028a0| 2f 30 35 20 30 38 3a 34 | 39 3a 33 31 20 68 6f 77 |/05 08:4|9:31 how|
|000028b0| 61 72 64 20 45 78 70 20 | 24 0a 58 2e 54 48 20 37 |ard Exp |$.X.TH 7|
|000028c0| 38 20 31 20 22 24 52 65 | 76 69 73 69 6f 6e 3a 20 |8 1 "$Re|vision: |
|000028d0| 31 2e 31 32 20 24 22 0a | 58 2e 53 48 20 4e 41 4d |1.12 $".|X.SH NAM|
|000028e0| 45 0a 58 37 38 64 6b 75 | 73 2c 20 37 38 73 65 75 |E.X78dku|s, 78seu|
|000028f0| 73 2c 20 37 38 64 69 66 | 66 2c 20 37 38 6d 65 61 |s, 78dif|f, 78mea|
|00002900| 6e 46 72 65 71 2c 20 37 | 38 74 72 69 46 72 65 71 |nFreq, 7|8triFreq|
|00002910| 2c 20 37 38 66 72 65 71 | 32 74 74 20 5c 2d 20 63 |, 78freq|2tt \- c|
|00002920| 6f 6e 76 65 72 74 20 74 | 65 78 74 20 66 72 6f 6d |onvert t|ext from|
|00002930| 20 49 53 4f 20 36 34 36 | 20 74 6f 20 38 2d 62 69 | ISO 646| to 8-bi|
|00002940| 74 20 63 68 61 72 61 63 | 74 65 72 20 73 65 74 73 |t charac|ter sets|
|00002950| 0a 58 2e 53 48 20 53 59 | 4e 4f 50 53 49 53 0a 58 |.X.SH SY|NOPSIS.X|
|00002960| 2e 42 20 37 38 64 6b 75 | 73 0a 58 2e 52 42 20 5b |.B 78dku|s.X.RB [|
|00002970| 20 22 20 5c 2d 66 20 22 | 20 5d 20 0a 58 2e 52 42 | " \-f "| ] .X.RB|
|00002980| 20 5b 20 22 20 5c 2d 6d | 20 22 20 5d 20 0a 58 2e | [ " \-m| " ] .X.|
|00002990| 4c 50 0a 58 2e 42 20 37 | 38 73 65 75 73 0a 58 2e |LP.X.B 7|8seus.X.|
|000029a0| 52 42 20 5b 20 22 20 5c | 2d 66 20 22 20 5d 20 0a |RB [ " \|-f " ] .|
|000029b0| 58 2e 52 42 20 5b 20 22 | 20 5c 2d 6d 20 22 20 5d |X.RB [ "| \-m " ]|
|000029c0| 20 0a 58 2e 4c 50 0a 58 | 2e 42 20 37 38 64 69 66 | .X.LP.X|.B 78dif|
|000029d0| 66 0a 58 2e 49 20 65 6e | 63 6f 64 69 6e 67 73 0a |f.X.I en|codings.|
|000029e0| 58 2e 49 20 74 72 69 67 | 72 61 6d 2d 64 69 66 66 |X.I trig|ram-diff|
|000029f0| 65 72 65 6e 63 65 2d 74 | 61 62 6c 65 0a 58 3c 0a |erence-t|able.X<.|
|00002a00| 58 2e 49 20 77 6f 72 64 | 73 0a 58 2e 4c 50 0a 58 |X.I word|s.X.LP.X|
|00002a10| 2e 42 20 37 38 6d 65 61 | 6e 46 72 65 71 0a 58 2e |.B 78mea|nFreq.X.|
|00002a20| 49 20 65 6e 63 6f 64 69 | 6e 67 73 0a 58 2e 49 20 |I encodi|ngs.X.I |
|00002a30| 66 72 65 71 75 65 6e 63 | 79 2d 74 61 62 6c 65 0a |frequenc|y-table.|
|00002a40| 58 3c 0a 58 2e 49 20 77 | 6f 72 64 73 0a 58 2e 4c |X<.X.I w|ords.X.L|
|00002a50| 50 0a 58 2e 42 20 37 38 | 74 72 69 46 72 65 71 0a |P.X.B 78|triFreq.|
|00002a60| 58 2e 49 20 65 6e 63 6f | 64 69 6e 67 73 0a 58 3c |X.I enco|dings.X<|
|00002a70| 0a 58 2e 49 20 66 69 6c | 65 6e 61 6d 65 73 0a 58 |.X.I fil|enames.X|
|00002a80| 3e 0a 58 2e 49 20 66 72 | 65 71 75 65 6e 63 79 2d |>.X.I fr|equency-|
|00002a90| 74 61 62 6c 65 0a 58 2e | 4c 50 0a 58 2e 42 20 37 |table.X.|LP.X.B 7|
|00002aa0| 38 66 72 65 71 32 74 74 | 0a 58 2e 42 20 5c 2d 64 |8freq2tt|.X.B \-d|
|00002ab0| 0a 58 2e 49 20 65 6e 63 | 6f 64 69 6e 67 73 0a 58 |.X.I enc|odings.X|
|00002ac0| 2e 49 20 66 72 65 71 75 | 65 6e 63 79 2d 74 61 62 |.I frequ|ency-tab|
|00002ad0| 6c 65 31 0a 58 2e 49 20 | 66 72 65 71 75 65 6e 63 |le1.X.I |frequenc|
|00002ae0| 79 2d 74 61 62 6c 65 32 | 0a 58 2e 49 20 74 72 69 |y-table2|.X.I tri|
|00002af0| 67 72 61 6d 2d 64 69 66 | 66 65 72 65 6e 63 65 2d |gram-dif|ference-|
|00002b00| 74 61 62 6c 65 0a 58 2e | 62 72 0a 58 2e 42 20 37 |table.X.|br.X.B 7|
|00002b10| 38 66 72 65 71 32 74 74 | 0a 58 2e 42 20 5c 2d 70 |8freq2tt|.X.B \-p|
|00002b20| 0a 58 2e 49 20 65 6e 63 | 6f 64 69 6e 67 73 0a 58 |.X.I enc|odings.X|
|00002b30| 2e 49 20 66 72 65 71 75 | 65 6e 63 79 2d 74 61 62 |.I frequ|ency-tab|
|00002b40| 6c 65 0a 58 2e 49 20 74 | 72 69 67 72 61 6d 2d 74 |le.X.I t|rigram-t|
|00002b50| 61 62 6c 65 20 5c 7c 2e | 5c 7c 2e 5c 7c 2e 0a 58 |able \|.|\|.\|..X|
|00002b60| 2e 53 48 20 43 4f 50 59 | 52 49 47 48 54 0a 58 43 |.SH COPY|RIGHT.XC|
|00002b70| 6f 70 79 72 69 67 68 74 | 20 5c 28 63 6f 20 31 39 |opyright| \(co 19|
|00002b80| 38 39 20 48 6f 77 61 72 | 64 20 4c 65 65 20 47 61 |89 Howar|d Lee Ga|
|00002b90| 79 6c 65 0a 58 2e 53 48 | 20 44 45 53 43 52 49 50 |yle.X.SH| DESCRIP|
|00002ba0| 54 49 4f 4e 0a 58 2e 49 | 20 37 38 73 65 75 73 0a |TION.X.I| 78seus.|
|00002bb0| 58 69 73 20 61 20 66 69 | 6c 74 65 72 2e 0a 58 49 |Xis a fi|lter..XI|
|00002bc0| 74 73 20 69 6e 70 75 74 | 20 69 73 20 61 73 73 75 |ts input| is assu|
|00002bd0| 6d 65 64 20 74 6f 20 62 | 65 20 61 20 6d 69 78 74 |med to b|e a mixt|
|00002be0| 75 72 65 20 6f 66 20 55 | 53 20 45 6e 67 6c 69 73 |ure of U|S Englis|
|00002bf0| 68 20 77 72 69 74 74 65 | 6e 20 69 6e 0a 58 41 53 |h writte|n in.XAS|
|00002c00| 43 49 49 20 61 6e 64 20 | 53 77 65 64 69 73 68 20 |CII and |Swedish |
|00002c10| 77 72 69 74 74 65 6e 20 | 69 6e 20 61 20 53 77 65 |written |in a Swe|
|00002c20| 64 69 73 68 0a 58 6e 61 | 74 69 6f 6e 61 6c 20 76 |dish.Xna|tional v|
|00002c30| 65 72 73 69 6f 6e 20 6f | 66 20 49 53 4f 20 36 34 |ersion o|f ISO 64|
|00002c40| 36 2e 0a 58 54 68 69 73 | 20 69 73 20 63 6f 6e 76 |6..XThis| is conv|
|00002c50| 65 72 74 65 64 20 74 6f | 20 49 53 4f 20 38 38 35 |erted to| ISO 885|
|00002c60| 39 2f 31 20 75 73 69 6e | 67 20 61 20 74 72 69 67 |9/1 usin|g a trig|
|00002c70| 72 61 6d 2d 62 61 73 65 | 64 0a 58 68 65 75 72 69 |ram-base|d.Xheuri|
|00002c80| 73 74 69 63 2e 0a 58 42 | 79 20 64 65 66 61 75 6c |stic..XB|y defaul|
|00002c90| 74 2c 20 74 68 65 20 69 | 6e 70 75 74 20 69 73 20 |t, the i|nput is |
|00002ca0| 61 73 73 75 6d 65 64 20 | 74 6f 20 62 65 20 61 20 |assumed |to be a |
|00002cb0| 6d 61 69 6c 20 6d 65 73 | 73 61 67 65 20 6f 72 20 |mail mes|sage or |
|00002cc0| 6e 65 77 73 0a 58 61 72 | 74 69 63 6c 65 2c 20 63 |news.Xar|ticle, c|
|00002cd0| 6f 6e 73 69 73 74 69 6e | 67 20 6f 66 20 68 65 61 |onsistin|g of hea|
|00002ce0| 64 65 72 2c 20 62 6f 64 | 79 2c 20 61 6e 64 20 73 |der, bod|y, and s|
|00002cf0| 69 67 6e 61 74 75 72 65 | 2e 0a 58 54 68 65 0a 58 |ignature|..XThe.X|
|00002d00| 2e 42 20 5c 2d 66 0a 58 | 6f 70 74 69 6f 6e 20 63 |.B \-f.X|option c|
|00002d10| 61 75 73 65 73 20 74 68 | 65 20 69 6e 70 75 74 20 |auses th|e input |
|00002d20| 74 6f 20 62 65 20 74 72 | 65 61 74 65 64 20 61 73 |to be tr|eated as|
|00002d30| 20 61 6e 20 6f 72 64 69 | 6e 61 72 79 20 74 65 78 | an ordi|nary tex|
|00002d40| 74 20 66 69 6c 65 2e 0a | 58 54 68 65 0a 58 2e 42 |t file..|XThe.X.B|
|00002d50| 20 5c 2d 6d 0a 58 6f 70 | 74 69 6f 6e 20 63 61 75 | \-m.Xop|tion cau|
|00002d60| 73 65 73 20 74 68 65 20 | 69 6e 70 75 74 20 74 6f |ses the |input to|
|00002d70| 20 62 65 20 74 72 65 61 | 74 65 64 20 61 73 20 61 | be trea|ted as a|
|00002d80| 0a 58 2e 49 52 20 6d 61 | 69 6c 20 28 31 29 0a 58 |.X.IR ma|il (1).X|
|00002d90| 66 6f 72 6d 61 74 20 66 | 69 6c 65 2c 20 77 68 65 |format f|ile, whe|
|00002da0| 72 65 20 65 61 63 68 20 | 6e 65 77 20 6d 65 73 73 |re each |new mess|
|00002db0| 61 67 65 20 62 65 67 69 | 6e 73 20 77 69 74 68 20 |age begi|ns with |
|00002dc0| 61 20 6c 69 6e 65 20 73 | 74 61 72 74 69 6e 67 0a |a line s|tarting.|
|00002dd0| 58 77 69 74 68 20 60 46 | 72 6f 6d 20 27 2e 0a 58 |Xwith `F|rom '..X|
|00002de0| 54 68 65 72 65 20 61 72 | 65 20 6d 61 6e 79 20 6d |There ar|e many m|
|00002df0| 6f 72 65 20 6f 70 74 69 | 6f 6e 73 20 66 6f 72 20 |ore opti|ons for |
|00002e00| 74 75 6e 69 6e 67 3a 0a | 58 22 75 73 65 20 74 68 |tuning:.|X"use th|
|00002e10| 65 20 73 6f 75 72 63 65 | 2e 22 0a 58 2e 50 50 0a |e source|.".X.PP.|
|00002e20| 58 2e 49 20 37 38 64 6b | 75 73 0a 58 69 73 20 6c |X.I 78dk|us.Xis l|
|00002e30| 69 6b 65 0a 58 2e 49 52 | 20 37 38 73 65 75 73 20 |ike.X.IR| 78seus |
|00002e40| 2c 0a 58 62 75 74 20 66 | 6f 72 20 44 61 6e 69 73 |,.Xbut f|or Danis|
|00002e50| 68 2e 0a 58 2e 50 50 0a | 58 2e 49 20 37 38 64 69 |h..X.PP.|X.I 78di|
|00002e60| 66 66 0a 58 69 73 20 61 | 20 66 69 6c 74 65 72 2e |ff.Xis a| filter.|
|00002e70| 0a 58 49 74 20 72 65 61 | 64 73 20 61 20 6c 69 73 |.XIt rea|ds a lis|
|00002e80| 74 20 6f 66 20 77 6f 72 | 64 73 2c 20 6f 6e 65 20 |t of wor|ds, one |
|00002e90| 70 65 72 20 6c 69 6e 65 | 2c 20 61 6e 64 20 77 72 |per line|, and wr|
|00002ea0| 69 74 65 73 20 65 61 63 | 68 20 77 6f 72 64 0a 58 |ites eac|h word.X|
|00002eb0| 70 72 65 63 65 64 65 64 | 20 62 79 20 69 74 73 20 |preceded| by its |
|00002ec0| 74 72 69 67 72 61 6d 20 | 73 63 6f 72 65 2c 20 77 |trigram |score, w|
|00002ed0| 68 65 72 65 20 70 6f 73 | 69 74 69 76 65 20 69 6e |here pos|itive in|
|00002ee0| 64 69 63 61 74 65 73 0a | 58 74 68 65 20 66 69 72 |dicates.|Xthe fir|
|00002ef0| 73 74 20 6c 61 6e 67 75 | 61 67 65 20 61 6e 64 20 |st langu|age and |
|00002f00| 6e 65 67 61 74 69 76 65 | 20 74 68 65 20 73 65 63 |negative| the sec|
|00002f10| 6f 6e 64 20 6c 61 6e 67 | 75 61 67 65 20 69 6e 20 |ond lang|uage in |
|00002f20| 74 68 65 0a 58 67 69 76 | 65 6e 0a 58 2e 49 52 20 |the.Xgiv|en.X.IR |
|00002f30| 74 72 69 67 72 61 6d 2d | 64 69 66 66 65 72 65 6e |trigram-|differen|
|00002f40| 63 65 2d 74 61 62 6c 65 | 20 2e 0a 58 54 68 69 73 |ce-table| ..XThis|
|00002f50| 20 63 61 6e 20 62 65 20 | 75 73 65 64 20 74 6f 20 | can be |used to |
|00002f60| 66 69 6e 64 20 77 6f 72 | 64 73 20 74 68 61 74 20 |find wor|ds that |
|00002f70| 6e 65 65 64 20 73 70 65 | 63 69 61 6c 20 63 61 73 |need spe|cial cas|
|00002f80| 65 0a 58 74 72 65 61 74 | 6d 65 6e 74 2c 0a 58 2e |e.Xtreat|ment,.X.|
|00002f90| 49 20 65 2e 67 2e 0a 58 | 43 20 72 65 73 65 72 76 |I e.g..X|C reserv|
|00002fa0| 65 64 20 77 6f 72 64 73 | 20 74 68 61 74 20 68 61 |ed words| that ha|
|00002fb0| 76 65 20 68 69 67 68 20 | 73 63 6f 72 65 73 20 61 |ve high |scores a|
|00002fc0| 6e 64 20 74 68 75 73 20 | 61 70 70 65 61 72 20 53 |nd thus |appear S|
|00002fd0| 77 65 64 69 73 68 2e 0a | 58 2e 50 50 0a 58 2e 49 |wedish..|X.PP.X.I|
|00002fe0| 20 37 38 6d 65 61 6e 46 | 72 65 71 0a 58 72 65 61 | 78meanF|req.Xrea|
|00002ff0| 64 73 20 61 20 6c 69 73 | 74 20 6f 66 20 77 6f 72 |ds a lis|t of wor|
|00003000| 64 73 2c 20 6f 6e 65 20 | 70 65 72 20 6c 69 6e 65 |ds, one |per line|
|00003010| 2c 20 61 6e 64 20 77 72 | 69 74 65 73 20 65 61 63 |, and wr|ites eac|
|00003020| 68 20 77 6f 72 64 0a 58 | 70 72 65 63 65 64 65 64 |h word.X|preceded|
|00003030| 20 62 79 20 74 68 65 20 | 61 72 69 74 68 6d 65 74 | by the |arithmet|
|00003040| 69 63 20 6d 65 61 6e 20 | 6f 66 20 74 68 65 20 66 |ic mean |of the f|
|00003050| 72 65 71 75 65 6e 63 69 | 65 73 20 6f 66 20 74 68 |requenci|es of th|
|00003060| 65 0a 58 74 72 69 67 72 | 61 6d 73 20 69 6e 20 74 |e.Xtrigr|ams in t|
|00003070| 68 65 20 77 6f 72 64 2e | 0a 58 2e 50 50 0a 58 2e |he word.|.X.PP.X.|
|00003080| 49 20 37 38 74 72 69 46 | 72 65 71 0a 58 72 65 61 |I 78triF|req.Xrea|
|00003090| 64 73 20 66 72 6f 6d 20 | 73 74 61 6e 64 61 72 64 |ds from |standard|
|000030a0| 20 69 6e 70 75 74 20 61 | 20 6c 69 73 74 20 6f 66 | input a| list of|
|000030b0| 20 66 69 6c 65 20 6e 61 | 6d 65 73 2c 20 6f 6e 65 | file na|mes, one|
|000030c0| 20 70 65 72 20 6c 69 6e | 65 2e 0a 58 49 74 20 63 | per lin|e..XIt c|
|000030d0| 6f 6d 70 75 74 65 73 20 | 61 20 74 72 69 67 72 61 |omputes |a trigra|
|000030e0| 6d 20 66 72 65 71 75 65 | 6e 63 79 20 74 61 62 6c |m freque|ncy tabl|
|000030f0| 65 20 61 6e 64 20 77 72 | 69 74 65 73 20 69 74 20 |e and wr|ites it |
|00003100| 6f 6e 20 73 74 61 6e 64 | 61 72 64 0a 58 6f 75 74 |on stand|ard.Xout|
|00003110| 70 75 74 2e 0a 58 54 68 | 65 20 66 72 65 71 75 65 |put..XTh|e freque|
|00003120| 6e 63 69 65 73 20 61 72 | 65 20 6d 75 6c 74 69 70 |ncies ar|e multip|
|00003130| 6c 69 65 64 20 62 79 20 | 32 31 34 37 34 38 33 36 |lied by |21474836|
|00003140| 34 37 20 74 6f 20 73 63 | 61 6c 65 20 74 68 65 6d |47 to sc|ale them|
|00003150| 20 69 6e 74 6f 0a 58 33 | 31 2d 62 69 74 20 69 6e | into.X3|1-bit in|
|00003160| 74 65 67 65 72 73 2e 0a | 58 2e 50 50 0a 58 2e 49 |tegers..|X.PP.X.I|
|00003170| 20 37 38 66 72 65 71 32 | 74 74 0a 58 74 61 6b 65 | 78freq2|tt.Xtake|
|00003180| 73 20 61 73 20 69 6e 70 | 75 74 20 74 72 69 67 72 |s as inp|ut trigr|
|00003190| 61 6d 20 66 72 65 71 75 | 65 6e 63 79 20 74 61 62 |am frequ|ency tab|
|000031a0| 6c 65 73 20 61 73 20 70 | 72 6f 64 75 63 65 64 20 |les as p|roduced |
|000031b0| 62 79 0a 58 2e 49 20 37 | 38 74 72 69 46 72 65 71 |by.X.I 7|8triFreq|
|000031c0| 0a 58 61 6e 64 20 67 65 | 6e 65 72 61 74 65 73 20 |.Xand ge|nerates |
|000031d0| 74 72 69 67 72 61 6d 20 | 74 61 62 6c 65 73 2e 0a |trigram |tables..|
|000031e0| 58 57 69 74 68 20 74 68 | 65 0a 58 2e 42 20 5c 2d |XWith th|e.X.B \-|
|000031f0| 64 0a 58 6f 70 74 69 6f | 6e 20 69 74 20 67 65 6e |d.Xoptio|n it gen|
|00003200| 65 72 61 74 65 73 20 6f | 6e 65 20 64 69 66 66 65 |erates o|ne diffe|
|00003210| 72 65 6e 63 65 20 74 72 | 69 67 72 61 6d 20 74 61 |rence tr|igram ta|
|00003220| 62 6c 65 20 66 72 6f 6d | 20 74 77 6f 0a 58 66 72 |ble from| two.Xfr|
|00003230| 65 71 75 65 6e 63 79 20 | 74 61 62 6c 65 73 2e 0a |equency |tables..|
|00003240| 58 57 69 74 68 20 74 68 | 65 0a 58 2e 42 20 5c 2d |XWith th|e.X.B \-|
|00003250| 70 0a 58 6f 70 74 69 6f | 6e 20 69 74 20 67 65 6e |p.Xoptio|n it gen|
|00003260| 65 72 61 74 65 73 20 74 | 77 6f 20 6f 72 20 6d 6f |erates t|wo or mo|
|00003270| 72 65 20 74 72 69 67 72 | 61 6d 20 74 61 62 6c 65 |re trigr|am table|
|00003280| 73 20 66 72 6f 6d 20 74 | 68 65 0a 58 63 6f 72 72 |s from t|he.Xcorr|
|00003290| 65 73 70 6f 6e 64 69 6e | 67 20 66 72 65 71 75 65 |espondin|g freque|
|000032a0| 6e 63 79 20 74 61 62 6c | 65 73 2e 0a 58 54 68 65 |ncy tabl|es..XThe|
|000032b0| 20 61 72 67 75 6d 65 6e | 74 73 20 61 72 65 20 69 | argumen|ts are i|
|000032c0| 6e 74 65 72 70 72 65 74 | 65 64 20 61 73 0a 58 28 |nterpret|ed as.X(|
|000032d0| 66 72 65 71 75 65 6e 63 | 79 20 74 61 62 6c 65 2c |frequenc|y table,|
|000032e0| 20 74 72 69 67 72 61 6d | 20 74 61 62 6c 65 29 20 | trigram| table) |
|000032f0| 70 61 69 72 73 2e 0a 58 | 2e 53 48 20 45 4e 56 49 |pairs..X|.SH ENVI|
|00003300| 52 4f 4e 4d 45 4e 54 0a | 58 54 68 65 0a 58 2e 42 |RONMENT.|XThe.X.B|
|00003310| 20 43 5a 5f 50 41 54 48 | 0a 58 65 6e 76 69 72 6f | CZ_PATH|.Xenviro|
|00003320| 6e 6d 65 6e 74 20 76 61 | 72 69 61 62 6c 65 20 69 |nment va|riable i|
|00003330| 73 20 75 73 65 64 20 74 | 6f 20 66 69 6e 64 20 74 |s used t|o find t|
|00003340| 72 69 67 72 61 6d 20 74 | 61 62 6c 65 73 2e 0a 58 |rigram t|ables..X|
|00003350| 2e 53 48 20 45 4e 43 4f | 44 49 4e 47 53 0a 58 41 |.SH ENCO|DINGS.XA|
|00003360| 6e 20 65 6e 63 6f 64 69 | 6e 67 20 66 69 6c 65 20 |n encodi|ng file |
|00003370| 63 6f 6e 74 61 69 6e 73 | 20 6f 6e 65 20 6c 69 6e |contains| one lin|
|00003380| 65 20 66 6f 72 20 65 61 | 63 68 20 74 72 69 67 72 |e for ea|ch trigr|
|00003390| 61 6d 20 6c 65 74 74 65 | 72 20 63 6f 64 65 2e 0a |am lette|r code..|
|000033a0| 58 54 68 65 20 66 69 72 | 73 74 20 69 74 65 6d 20 |XThe fir|st item |
|000033b0| 6f 6e 20 65 61 63 68 20 | 6c 69 6e 65 20 69 73 20 |on each |line is |
|000033c0| 74 68 65 20 63 6f 64 65 | 20 6e 75 6d 62 65 72 2c |the code| number,|
|000033d0| 20 69 6e 20 74 68 65 20 | 72 61 6e 67 65 0a 58 5b | in the |range.X[|
|000033e0| 30 2c 20 32 39 5d 2e 0a | 58 54 68 65 20 73 65 63 |0, 29]..|XThe sec|
|000033f0| 6f 6e 64 20 69 74 65 6d | 20 69 73 20 61 20 6c 65 |ond item| is a le|
|00003400| 74 74 65 72 20 74 68 61 | 74 20 6d 61 70 73 20 74 |tter tha|t maps t|
|00003410| 6f 20 74 68 65 20 63 6f | 64 65 2e 0a 58 54 68 69 |o the co|de..XThi|
|00003420| 73 20 6c 65 74 74 65 72 | 20 69 73 20 61 6c 73 6f |s letter| is also|
|00003430| 20 75 73 65 64 20 77 68 | 65 6e 20 64 69 73 70 6c | used wh|en displ|
|00003440| 61 79 69 6e 67 20 74 72 | 69 67 72 61 6d 73 2c 20 |aying tr|igrams, |
|00003450| 61 6e 64 20 69 73 20 74 | 79 70 69 63 61 6c 6c 79 |and is t|ypically|
|00003460| 0a 58 6c 6f 77 65 72 20 | 63 61 73 65 2e 0a 58 41 |.Xlower |case..XA|
|00003470| 64 64 69 74 69 6f 6e 61 | 6c 2c 20 6f 70 74 69 6f |dditiona|l, optio|
|00003480| 6e 61 6c 20 6c 65 74 74 | 65 72 73 20 74 68 61 74 |nal lett|ers that|
|00003490| 20 61 6c 73 6f 20 6d 61 | 70 20 74 6f 20 74 68 65 | also ma|p to the|
|000034a0| 20 63 6f 64 65 20 6d 61 | 79 20 66 6f 6c 6c 6f 77 | code ma|y follow|
|000034b0| 20 74 68 65 20 0a 58 73 | 65 63 6f 6e 64 20 69 74 | the .Xs|econd it|
|000034c0| 65 6d 2e 0a 58 4c 65 74 | 74 65 72 73 20 6d 61 79 |em..XLet|ters may|
|000034d0| 20 62 65 20 77 72 69 74 | 74 65 6e 20 65 69 74 68 | be writ|ten eith|
|000034e0| 65 72 20 61 73 20 61 20 | 73 69 6e 67 6c 65 20 63 |er as a |single c|
|000034f0| 68 61 72 61 63 74 65 72 | 20 69 6e 20 73 69 6e 67 |haracter| in sing|
|00003500| 6c 65 0a 58 71 75 6f 74 | 65 73 20 6f 72 20 61 73 |le.Xquot|es or as|
|00003510| 20 61 6e 20 41 64 61 2d | 73 79 6e 74 61 78 20 69 | an Ada-|syntax i|
|00003520| 6e 74 65 67 65 72 20 6e | 75 6d 65 72 69 63 20 6c |nteger n|umeric l|
|00003530| 69 74 65 72 61 6c 2e 0a | 58 48 6f 77 65 76 65 72 |iteral..|XHowever|
|00003540| 2c 20 74 68 65 20 66 69 | 72 73 74 20 6c 65 74 74 |, the fi|rst lett|
|00003550| 65 72 0a 58 2e 49 20 6d | 75 73 74 0a 58 62 65 20 |er.X.I m|ust.Xbe |
|00003560| 69 6e 20 73 69 6e 67 6c | 65 20 71 75 6f 74 65 73 |in singl|e quotes|
|00003570| 2e 0a 58 2e 53 48 20 45 | 58 41 4d 50 4c 45 0a 58 |..X.SH E|XAMPLE.X|
|00003580| 54 6f 20 6c 6f 6f 6b 20 | 66 6f 72 20 53 77 65 64 |To look |for Swed|
|00003590| 69 73 68 2d 6c 69 6b 65 | 20 77 6f 72 64 73 20 69 |ish-like| words i|
|000035a0| 6e 20 2f 75 73 72 2f 64 | 69 63 74 2f 77 6f 72 64 |n /usr/d|ict/word|
|000035b0| 73 3a 0a 58 2e 6e 66 0a | 58 20 20 20 37 38 64 69 |s:.X.nf.|X 78di|
|000035c0| 66 66 20 2e 2f 6c 69 62 | 2f 73 65 75 73 2e 63 6f |ff ./lib|/seus.co|
|000035d0| 64 65 20 73 65 75 73 20 | 3c 20 2f 75 73 72 2f 64 |de seus |< /usr/d|
|000035e0| 69 63 74 2f 77 6f 72 64 | 73 20 7c 20 73 6f 72 74 |ict/word|s | sort|
|000035f0| 20 5c 2d 6e 72 0a 58 2e | 66 69 0a 58 54 68 65 20 | \-nr.X.|fi.XThe |
|00003600| 6d 6f 73 74 20 53 77 65 | 64 69 73 68 2d 6c 69 6b |most Swe|dish-lik|
|00003610| 65 20 77 6f 72 64 73 20 | 77 69 6c 6c 20 68 61 76 |e words |will hav|
|00003620| 65 20 74 68 65 20 68 69 | 67 68 65 73 74 20 73 63 |e the hi|ghest sc|
|00003630| 6f 72 65 73 2e 0a 58 2e | 53 48 20 46 49 4c 45 53 |ores..X.|SH FILES|
|00003640| 0a 58 28 41 6c 6c 20 70 | 61 74 68 73 20 73 74 61 |.X(All p|aths sta|
|00003650| 72 74 69 6e 67 20 77 69 | 74 68 20 2e 2f 20 61 72 |rting wi|th ./ ar|
|00003660| 65 20 72 65 6c 61 74 69 | 76 65 20 74 6f 20 74 68 |e relati|ve to th|
|00003670| 65 20 64 69 72 65 63 74 | 6f 72 79 20 69 6e 20 77 |e direct|ory in w|
|00003680| 68 69 63 68 0a 58 2e 49 | 20 63 7a 0a 58 69 73 20 |hich.X.I| cz.Xis |
|00003690| 69 6e 73 74 61 6c 6c 65 | 64 2e 29 0a 58 2e 44 54 |installe|d.).X.DT|
|000036a0| 0a 58 2e 6e 66 0a 58 5c | 26 2e 2f 6c 69 62 2f 64 |.X.nf.X\|&./lib/d|
|000036b0| 6b 2e 66 72 20 5c 2d 20 | 44 61 6e 69 73 68 20 74 |k.fr \- |Danish t|
|000036c0| 72 69 67 72 61 6d 20 66 | 72 65 71 75 65 6e 63 79 |rigram f|requency|
|000036d0| 20 74 61 62 6c 65 0a 58 | 5c 26 2e 2f 6c 69 62 2f | table.X|\&./lib/|
|000036e0| 73 65 2e 66 72 20 5c 2d | 20 53 77 65 64 69 73 68 |se.fr \-| Swedish|
|000036f0| 20 74 72 69 67 72 61 6d | 20 66 72 65 71 75 65 6e | trigram| frequen|
|00003700| 63 79 20 74 61 62 6c 65 | 0a 58 5c 26 2e 2f 6c 69 |cy table|.X\&./li|
|00003710| 62 2f 75 73 2e 66 72 20 | 5c 2d 20 55 53 20 45 6e |b/us.fr |\- US En|
|00003720| 67 6c 69 73 68 20 74 72 | 69 67 72 61 6d 20 66 72 |glish tr|igram fr|
|00003730| 65 71 75 65 6e 63 79 20 | 74 61 62 6c 65 0a 58 5c |equency |table.X\|
|00003740| 26 2e 2f 6c 69 62 2f 64 | 6b 75 73 2e 63 6f 64 65 |&./lib/d|kus.code|
|00003750| 20 5c 2d 20 65 6e 63 6f | 64 69 6e 67 20 66 69 6c | \- enco|ding fil|
|00003760| 65 20 66 6f 72 20 44 61 | 6e 69 73 68 20 6f 72 20 |e for Da|nish or |
|00003770| 55 53 20 45 6e 67 6c 69 | 73 68 0a 58 5c 26 2e 2f |US Engli|sh.X\&./|
|00003780| 6c 69 62 2f 64 6b 75 73 | 2e 74 74 20 5c 2d 20 74 |lib/dkus|.tt \- t|
|00003790| 72 69 67 72 61 6d 20 64 | 69 66 66 65 72 65 6e 63 |rigram d|ifferenc|
|000037a0| 65 20 74 61 62 6c 65 20 | 66 6f 72 20 44 61 6e 69 |e table |for Dani|
|000037b0| 73 68 20 6f 72 20 55 53 | 20 45 6e 67 6c 69 73 68 |sh or US| English|
|000037c0| 0a 58 5c 26 2e 2f 6c 69 | 62 2f 73 65 75 73 2e 63 |.X\&./li|b/seus.c|
|000037d0| 6f 64 65 20 5c 2d 20 65 | 6e 63 6f 64 69 6e 67 20 |ode \- e|ncoding |
|000037e0| 66 69 6c 65 20 66 6f 72 | 20 53 77 65 64 69 73 68 |file for| Swedish|
|000037f0| 20 6f 72 20 55 53 20 45 | 6e 67 6c 69 73 68 0a 58 | or US E|nglish.X|
|00003800| 5c 26 2e 2f 6c 69 62 2f | 73 65 75 73 2e 74 74 20 |\&./lib/|seus.tt |
|00003810| 5c 2d 20 74 72 69 67 72 | 61 6d 20 64 69 66 66 65 |\- trigr|am diffe|
|00003820| 72 65 6e 63 65 20 74 61 | 62 6c 65 20 66 6f 72 20 |rence ta|ble for |
|00003830| 53 77 65 64 69 73 68 20 | 6f 72 20 55 53 20 45 6e |Swedish |or US En|
|00003840| 67 6c 69 73 68 0a 58 2e | 66 69 0a 58 2e 53 48 20 |glish.X.|fi.X.SH |
|00003850| 22 53 45 45 20 41 4c 53 | 4f 22 0a 58 2e 49 52 20 |"SEE ALS|O".X.IR |
|00003860| 62 79 74 65 66 72 65 71 | 20 28 31 29 2c 0a 58 2e |bytefreq| (1),.X.|
|00003870| 49 52 20 63 7a 20 28 31 | 29 2c 0a 58 2e 49 52 20 |IR cz (1|),.X.IR |
|00003880| 6c 65 74 74 65 72 66 72 | 65 71 20 28 31 29 2e 0a |letterfr|eq (1)..|
|00003890| 58 2e 53 48 20 42 55 47 | 53 0a 58 54 68 65 20 63 |X.SH BUG|S.XThe c|
|000038a0| 68 61 72 61 74 65 72 20 | 73 65 74 20 63 6f 6e 76 |harater |set conv|
|000038b0| 65 72 73 69 6f 6e 20 63 | 6f 6d 6d 61 6e 64 73 20 |ersion c|ommands |
|000038c0| 61 72 65 20 68 65 75 72 | 69 73 74 69 63 73 2e 0a |are heur|istics..|
|000038d0| 58 2e 49 20 37 38 73 65 | 75 73 0a 58 49 74 20 68 |X.I 78se|us.XIt h|
|000038e0| 61 73 20 61 20 6d 65 61 | 73 75 72 65 64 20 65 72 |as a mea|sured er|
|000038f0| 72 6f 72 20 72 61 74 65 | 20 62 65 6c 6f 77 20 33 |ror rate| below 3|
|00003900| 25 20 6f 6e 20 72 65 61 | 6c 20 6e 65 77 73 20 61 |% on rea|l news a|
|00003910| 72 74 69 63 6c 65 73 2c | 0a 58 62 75 74 20 69 74 |rticles,|.Xbut it|
|00003920| 20 64 6f 65 73 20 73 6f | 6d 65 74 69 6d 65 73 20 | does so|metimes |
|00003930| 67 75 65 73 73 20 77 72 | 6f 6e 67 2e 0a 58 2e 50 |guess wr|ong..X.P|
|00003940| 50 0a 58 54 68 65 0a 58 | 2e 42 20 5c 2d 70 0a 58 |P.XThe.X|.B \-p.X|
|00003950| 6f 70 74 69 6f 6e 20 74 | 6f 0a 58 2e 49 20 37 38 |option t|o.X.I 78|
|00003960| 66 72 65 71 32 74 74 0a | 58 69 73 20 6e 6f 74 20 |freq2tt.|Xis not |
|00003970| 69 6d 70 6c 65 6d 65 6e | 74 65 64 2e 0a 58 2e 53 |implemen|ted..X.S|
|00003980| 48 20 22 48 49 4e 54 53 | 20 46 4f 52 20 57 52 49 |H "HINTS| FOR WRI|
|00003990| 54 49 4e 47 20 49 4e 20 | 49 53 4f 20 36 34 36 22 |TING IN |ISO 646"|
|000039a0| 0a 58 41 73 20 6d 75 63 | 68 20 61 73 20 70 6f 73 |.XAs muc|h as pos|
|000039b0| 73 69 62 6c 65 2c 0a 58 | 75 73 65 20 62 72 61 63 |sible,.X|use brac|
|000039c0| 65 73 2c 20 62 72 61 63 | 6b 65 74 73 2c 20 76 65 |es, brac|kets, ve|
|000039d0| 72 74 69 63 61 6c 20 62 | 61 72 73 2c 0a 58 2e 49 |rtical b|ars,.X.I|
|000039e0| 20 65 74 63 2e 0a 58 6f | 6e 6c 79 20 66 6f 72 20 | etc..Xo|nly for |
|000039f0| 72 65 70 72 65 73 65 6e | 74 69 6e 67 20 6c 65 74 |represen|ting let|
|00003a00| 74 65 72 73 20 69 6e 20 | 61 20 6e 61 74 69 6f 6e |ters in |a nation|
|00003a10| 61 6c 20 76 65 72 73 69 | 6f 6e 2e 0a 58 44 6f 6e |al versi|on..XDon|
|00003a20| 27 74 20 75 73 65 20 74 | 68 65 6d 20 66 6f 72 20 |'t use t|hem for |
|00003a30| 41 53 43 49 49 20 67 72 | 61 70 68 69 63 73 2c 0a |ASCII gr|aphics,.|
|00003a40| 58 55 55 43 50 20 70 61 | 74 68 73 2c 0a 58 6f 72 |XUUCP pa|ths,.Xor|
|00003a50| 0a 58 71 75 6f 74 69 6e | 67 20 74 65 78 74 20 74 |.Xquotin|g text t|
|00003a60| 6f 20 77 68 69 63 68 20 | 79 6f 75 20 61 72 65 20 |o which |you are |
|00003a70| 77 72 69 74 69 6e 67 20 | 61 20 66 6f 6c 6c 6f 77 |writing |a follow|
|00003a80| 75 70 2e 0a 58 0a 58 46 | 6f 6c 6c 6f 77 20 74 68 |up..X.XF|ollow th|
|00003a90| 65 20 63 6f 6e 76 65 6e | 74 69 6f 6e 20 74 68 61 |e conven|tion tha|
|00003aa0| 74 20 61 20 6c 69 6e 65 | 20 77 69 74 68 20 65 78 |t a line| with ex|
|00003ab0| 61 63 74 6c 79 20 74 77 | 6f 20 68 79 70 68 65 6e |actly tw|o hyphen|
|00003ac0| 73 20 61 6e 64 0a 58 6e | 6f 74 68 69 6e 67 20 65 |s and.Xn|othing e|
|00003ad0| 6c 73 65 20 73 74 61 72 | 74 73 20 74 68 65 20 73 |lse star|ts the s|
|00003ae0| 69 67 6e 61 74 75 72 65 | 2e 0a 58 0a 58 57 68 65 |ignature|..X.XWhe|
|00003af0| 6e 20 63 68 61 6e 67 69 | 6e 67 20 66 72 6f 6d 20 |n changi|ng from |
|00003b00| 6f 6e 65 20 6c 61 6e 67 | 75 61 67 65 20 74 6f 20 |one lang|uage to |
|00003b10| 61 6e 6f 74 68 65 72 2c | 20 70 75 74 20 61 20 62 |another,| put a b|
|00003b20| 6c 61 6e 6b 20 6c 69 6e | 65 0a 58 62 65 74 77 65 |lank lin|e.Xbetwe|
|00003b30| 65 6e 20 74 68 65 20 74 | 77 6f 20 6c 61 6e 67 75 |en the t|wo langu|
|00003b40| 61 67 65 73 20 77 68 65 | 6e 65 76 65 72 20 70 6f |ages whe|never po|
|00003b50| 73 73 69 62 6c 65 2e 0a | 58 0a 58 44 6f 6e 27 74 |ssible..|X.XDon't|
|00003b60| 20 70 75 74 20 73 70 61 | 63 65 73 20 62 65 74 77 | put spa|ces betw|
|00003b70| 65 65 6e 20 74 68 65 20 | 6c 65 74 74 65 72 73 20 |een the |letters |
|00003b80| 69 6e 20 61 20 77 6f 72 | 64 0a 58 6c 5c 20 69 5c |in a wor|d.Xl\ i\|
|00003b90| 20 6b 5c 20 65 5c 20 5c | 20 74 5c 20 68 5c 20 69 | k\ e\ \| t\ h\ i|
|00003ba0| 5c 20 73 2e 0a 58 2e 53 | 48 20 45 54 59 4d 4f 4c |\ s..X.S|H ETYMOL|
|00003bb0| 4f 47 59 0a 58 54 68 65 | 0a 58 2e 49 20 37 38 0a |OGY.XThe|.X.I 78.|
|00003bc0| 58 70 72 65 66 69 78 20 | 69 6e 64 69 63 61 74 65 |Xprefix |indicate|
|00003bd0| 73 20 63 6f 6e 76 65 72 | 73 69 6f 6e 20 66 72 6f |s conver|sion fro|
|00003be0| 6d 20 74 68 65 20 37 2d | 62 69 74 20 49 53 4f 20 |m the 7-|bit ISO |
|00003bf0| 36 34 36 20 63 68 61 72 | 61 63 74 65 72 0a 58 73 |646 char|acter.Xs|
|00003c00| 65 74 73 20 74 6f 20 38 | 2d 62 69 74 20 63 68 61 |ets to 8|-bit cha|
|00003c10| 72 61 63 74 65 72 20 73 | 65 74 73 20 6c 69 6b 65 |racter s|ets like|
|00003c20| 20 49 53 4f 20 38 38 35 | 39 2f 31 2e 0a 58 2e 50 | ISO 885|9/1..X.P|
|00003c30| 50 0a 58 49 20 72 65 61 | 6c 69 7a 65 20 74 68 61 |P.XI rea|lize tha|
|00003c40| 74 20 74 68 65 72 65 20 | 69 73 20 6e 6f 74 20 61 |t there |is not a|
|00003c50| 20 31 2d 31 20 63 6f 72 | 72 65 73 70 6f 6e 64 65 | 1-1 cor|responde|
|00003c60| 6e 63 65 20 62 65 74 77 | 65 65 6e 0a 58 6c 61 6e |nce betw|een.Xlan|
|00003c70| 67 75 61 67 65 73 20 61 | 6e 64 20 63 6f 75 6e 74 |guages a|nd count|
|00003c80| 72 69 65 73 2e 0a 58 48 | 6f 77 65 76 65 72 2c 20 |ries..XH|owever, |
|00003c90| 74 68 65 72 65 20 61 72 | 65 20 73 68 6f 72 74 2c |there ar|e short,|
|00003ca0| 20 77 69 64 65 6c 79 2d | 75 73 65 64 20 61 62 62 | widely-|used abb|
|00003cb0| 72 65 76 69 61 74 69 6f | 6e 73 20 66 6f 72 0a 58 |reviatio|ns for.X|
|00003cc0| 63 6f 75 6e 74 72 69 65 | 73 2c 20 62 75 74 20 6e |countrie|s, but n|
|00003cd0| 6f 74 20 66 6f 72 20 6c | 61 6e 67 75 61 67 65 73 |ot for l|anguages|
|00003ce0| 2e 0a 58 54 68 65 20 67 | 65 6e 65 72 61 6c 20 72 |..XThe g|eneral r|
|00003cf0| 75 6c 65 20 69 73 20 74 | 68 61 74 20 61 20 63 6f |ule is t|hat a co|
|00003d00| 75 6e 74 72 79 20 61 62 | 62 72 65 76 69 61 74 69 |untry ab|breviati|
|00003d10| 6f 6e 20 69 6d 70 6c 69 | 65 73 20 74 68 65 0a 58 |on impli|es the.X|
|00003d20| 6d 6f 73 74 20 77 69 64 | 65 6c 79 20 75 73 65 64 |most wid|ely used|
|00003d30| 20 6c 61 6e 67 75 61 67 | 65 20 69 6e 20 74 68 61 | languag|e in tha|
|00003d40| 74 20 63 6f 75 6e 74 72 | 79 2c 0a 58 2e 49 20 65 |t countr|y,.X.I e|
|00003d50| 2e 67 2e 0a 58 75 6b 20 | 6d 65 61 6e 73 20 42 72 |.g..Xuk |means Br|
|00003d60| 69 74 69 73 68 20 45 6e | 67 6c 69 73 68 20 61 6e |itish En|glish an|
|00003d70| 64 20 75 73 20 6d 65 61 | 6e 73 20 55 53 20 45 6e |d us mea|ns US En|
|00003d80| 67 6c 69 73 68 2e 0a 58 | 49 66 20 74 68 69 73 20 |glish..X|If this |
|00003d90| 69 73 20 6e 6f 74 20 65 | 6e 6f 75 67 68 2c 20 61 |is not e|nough, a|
|00003da0| 20 63 6f 75 6e 74 72 79 | 20 73 75 66 66 69 78 20 | country| suffix |
|00003db0| 63 61 6e 20 62 65 20 61 | 64 64 65 64 2c 20 6d 65 |can be a|dded, me|
|00003dc0| 61 6e 69 6e 67 0a 58 22 | 61 73 20 73 70 6f 6b 65 |aning.X"|as spoke|
|00003dd0| 6e 20 69 6e 2e 22 0a 58 | 46 6f 72 20 65 78 61 6d |n in.".X|For exam|
|00003de0| 70 6c 65 2c 20 69 66 20 | 69 74 20 66 6f 72 20 73 |ple, if |it for s|
|00003df0| 6f 6d 65 20 72 65 61 73 | 6f 6e 20 62 65 63 61 6d |ome reas|on becam|
|00003e00| 65 20 6e 65 63 65 73 73 | 61 72 79 20 74 6f 0a 58 |e necess|ary to.X|
|00003e10| 64 69 73 74 69 6e 67 75 | 69 73 68 20 46 72 65 6e |distingu|ish Fren|
|00003e20| 63 68 20 61 73 20 73 70 | 6f 6b 65 6e 20 69 6e 20 |ch as sp|oken in |
|00003e30| 46 72 61 6e 63 65 20 66 | 72 6f 6d 20 46 72 65 6e |France f|rom Fren|
|00003e40| 63 68 20 61 73 20 73 70 | 6f 6b 65 6e 20 69 6e 0a |ch as sp|oken in.|
|00003e50| 58 43 61 6e 61 64 61 2c | 20 74 68 65 6e 20 66 72 |XCanada,| then fr|
|00003e60| 20 77 6f 75 6c 64 20 62 | 65 20 75 73 65 64 20 66 | would b|e used f|
|00003e70| 6f 72 20 46 72 65 6e 63 | 68 20 46 72 65 6e 63 68 |or Frenc|h French|
|00003e80| 20 61 6e 64 20 66 72 63 | 61 20 66 6f 72 0a 58 43 | and frc|a for.XC|
|00003e90| 61 6e 61 64 69 61 6e 20 | 46 72 65 6e 63 68 2e 0a |anadian |French..|
|00003ea0| 58 52 65 6d 65 6d 62 65 | 72 20 74 68 61 74 20 74 |XRemembe|r that t|
|00003eb0| 68 65 20 70 6f 69 6e 74 | 20 6f 66 20 74 68 65 20 |he point| of the |
|00003ec0| 65 78 65 72 63 69 73 65 | 20 69 73 20 74 6f 20 64 |exercise| is to d|
|00003ed0| 65 74 65 72 6d 69 6e 65 | 20 63 68 61 72 61 63 74 |etermine| charact|
|00003ee0| 65 72 0a 58 73 65 74 73 | 2c 20 6e 6f 74 20 6c 61 |er.Xsets|, not la|
|00003ef0| 6e 67 75 61 67 65 73 0a | 58 2e 49 20 70 65 72 20 |nguages.|X.I per |
|00003f00| 73 65 2e 0a 58 2e 53 48 | 20 4c 49 43 45 4e 53 45 |se..X.SH| LICENSE|
|00003f10| 0a 58 54 68 69 73 20 70 | 72 6f 67 72 61 6d 20 69 |.XThis p|rogram i|
|00003f20| 73 20 66 72 65 65 20 73 | 6f 66 74 77 61 72 65 3b |s free s|oftware;|
|00003f30| 20 79 6f 75 20 63 61 6e | 20 72 65 64 69 73 74 72 | you can| redistr|
|00003f40| 69 62 75 74 65 20 69 74 | 20 61 6e 64 2f 6f 72 20 |ibute it| and/or |
|00003f50| 6d 6f 64 69 66 79 0a 58 | 69 74 20 75 6e 64 65 72 |modify.X|it under|
|00003f60| 20 74 68 65 20 74 65 72 | 6d 73 20 6f 66 20 74 68 | the ter|ms of th|
|00003f70| 65 20 47 4e 55 20 47 65 | 6e 65 72 61 6c 20 50 75 |e GNU Ge|neral Pu|
|00003f80| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 20 76 65 72 |blic Lic|ense ver|
|00003f90| 73 69 6f 6e 20 31 2c 0a | 58 61 73 20 70 75 62 6c |sion 1,.|Xas publ|
|00003fa0| 69 73 68 65 64 20 62 79 | 20 74 68 65 20 46 72 65 |ished by| the Fre|
|00003fb0| 65 20 53 6f 66 74 77 61 | 72 65 20 46 6f 75 6e 64 |e Softwa|re Found|
|00003fc0| 61 74 69 6f 6e 2e 0a 58 | 2e 50 50 0a 58 54 68 69 |ation..X|.PP.XThi|
|00003fd0| 73 20 70 72 6f 67 72 61 | 6d 20 69 73 20 64 69 73 |s progra|m is dis|
|00003fe0| 74 72 69 62 75 74 65 64 | 20 69 6e 20 74 68 65 20 |tributed| in the |
|00003ff0| 68 6f 70 65 20 74 68 61 | 74 20 69 74 20 77 69 6c |hope tha|t it wil|
|00004000| 6c 20 62 65 20 75 73 65 | 66 75 6c 2c 0a 58 62 75 |l be use|ful,.Xbu|
|00004010| 74 20 57 49 54 48 4f 55 | 54 20 41 4e 59 20 57 41 |t WITHOU|T ANY WA|
|00004020| 52 52 41 4e 54 59 3b 20 | 77 69 74 68 6f 75 74 20 |RRANTY; |without |
|00004030| 65 76 65 6e 20 74 68 65 | 20 69 6d 70 6c 69 65 64 |even the| implied|
|00004040| 20 77 61 72 72 61 6e 74 | 79 20 6f 66 0a 58 4d 45 | warrant|y of.XME|
|00004050| 52 43 48 41 4e 54 41 42 | 49 4c 49 54 59 20 6f 72 |RCHANTAB|ILITY or|
|00004060| 20 46 49 54 4e 45 53 53 | 20 46 4f 52 20 41 20 50 | FITNESS| FOR A P|
|00004070| 41 52 54 49 43 55 4c 41 | 52 20 50 55 52 50 4f 53 |ARTICULA|R PURPOS|
|00004080| 45 2e 20 20 53 65 65 20 | 74 68 65 0a 58 47 4e 55 |E. See |the.XGNU|
|00004090| 20 47 65 6e 65 72 61 6c | 20 50 75 62 6c 69 63 20 | General| Public |
|000040a0| 4c 69 63 65 6e 73 65 20 | 66 6f 72 20 6d 6f 72 65 |License |for more|
|000040b0| 20 64 65 74 61 69 6c 73 | 2e 0a 58 2e 50 50 0a 58 | details|..X.PP.X|
|000040c0| 59 6f 75 20 73 68 6f 75 | 6c 64 20 68 61 76 65 20 |You shou|ld have |
|000040d0| 72 65 63 65 69 76 65 64 | 20 61 20 63 6f 70 79 20 |received| a copy |
|000040e0| 6f 66 20 74 68 65 20 47 | 4e 55 20 47 65 6e 65 72 |of the G|NU Gener|
|000040f0| 61 6c 20 50 75 62 6c 69 | 63 20 4c 69 63 65 6e 73 |al Publi|c Licens|
|00004100| 65 0a 58 61 6c 6f 6e 67 | 20 77 69 74 68 20 74 68 |e.Xalong| with th|
|00004110| 69 73 20 70 72 6f 67 72 | 61 6d 3b 20 69 66 20 6e |is progr|am; if n|
|00004120| 6f 74 2c 20 77 72 69 74 | 65 20 74 6f 20 74 68 65 |ot, writ|e to the|
|00004130| 20 46 72 65 65 20 53 6f | 66 74 77 61 72 65 0a 58 | Free So|ftware.X|
|00004140| 46 6f 75 6e 64 61 74 69 | 6f 6e 2c 20 49 6e 63 2e |Foundati|on, Inc.|
|00004150| 2c 20 36 37 35 20 4d 61 | 73 73 20 41 76 65 2c 20 |, 675 Ma|ss Ave, |
|00004160| 43 61 6d 62 72 69 64 67 | 65 2c 20 4d 41 20 30 32 |Cambridg|e, MA 02|
|00004170| 31 33 39 2c 20 55 53 41 | 2e 0a 58 2e 53 48 20 41 |139, USA|..X.SH A|
|00004180| 55 54 48 4f 52 0a 58 48 | 6f 77 61 72 64 20 47 61 |UTHOR.XH|oward Ga|
|00004190| 79 6c 65 2c 0a 58 54 4e | 2f 45 54 58 2f 54 2f 42 |yle,.XTN|/ETX/T/B|
|000041a0| 47 2c 0a 58 45 72 69 63 | 73 73 6f 6e 20 54 65 6c |G,.XEric|sson Tel|
|000041b0| 65 63 6f 6d 20 41 42 2c | 0a 58 53 2d 31 32 36 20 |ecom AB,|.XS-126 |
|000041c0| 32 35 20 53 74 6f 63 6b | 68 6f 6c 6d 2c 0a 58 53 |25 Stock|holm,.XS|
|000041d0| 77 65 64 65 6e 2c 0a 58 | 68 6f 77 61 72 64 40 65 |weden,.X|howard@e|
|000041e0| 72 69 63 73 73 6f 6e 2e | 73 65 2c 0a 58 75 75 6e |ricsson.|se,.Xuun|
|000041f0| 65 74 21 65 72 69 63 73 | 73 6f 6e 2e 73 65 21 68 |et!erics|son.se!h|
|00004200| 6f 77 61 72 64 2c 0a 58 | 50 68 6f 6e 65 3a 20 2b |oward,.X|Phone: +|
|00004210| 34 36 20 38 20 37 31 39 | 20 35 35 36 35 2c 0a 58 |46 8 719| 5565,.X|
|00004220| 46 41 58 3a 20 2b 34 36 | 20 38 20 37 31 39 20 39 |FAX: +46| 8 719 9|
|00004230| 35 39 38 2c 0a 58 54 65 | 6c 65 78 3a 20 31 34 39 |598,.XTe|lex: 149|
|00004240| 31 30 20 45 52 49 43 20 | 53 0a 45 4e 44 5f 4f 46 |10 ERIC |S.END_OF|
|00004250| 5f 46 49 4c 45 0a 69 66 | 20 74 65 73 74 20 36 33 |_FILE.if| test 63|
|00004260| 37 32 20 2d 6e 65 20 60 | 77 63 20 2d 63 20 3c 27 |72 -ne `|wc -c <'|
|00004270| 37 38 2e 31 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |78.1'`; |then. |
|00004280| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 37 | echo sh|ar: \"'7|
|00004290| 38 2e 31 27 5c 22 20 75 | 6e 70 61 63 6b 65 64 20 |8.1'\" u|npacked |
|000042a0| 77 69 74 68 20 77 72 6f | 6e 67 20 73 69 7a 65 21 |with wro|ng size!|
|000042b0| 0a 66 69 0a 23 20 65 6e | 64 20 6f 66 20 27 37 38 |.fi.# en|d of '78|
|000042c0| 2e 31 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |.1'.fi.i|f test -|
|000042d0| 66 20 27 37 38 2e 68 27 | 20 2d 61 20 22 24 7b 31 |f '78.h'| -a "${1|
|000042e0| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|000042f0| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|00004300| 57 69 6c 6c 20 6e 6f 74 | 20 63 6c 6f 62 62 65 72 |Will not| clobber|
|00004310| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|00004320| 22 27 37 38 2e 68 27 5c | 22 0a 65 6c 73 65 0a 65 |"'78.h'\|".else.e|
|00004330| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|00004340| 74 69 6e 67 20 5c 22 27 | 37 38 2e 68 27 5c 22 20 |ting \"'|78.h'\" |
|00004350| 5c 28 32 33 39 38 20 63 | 68 61 72 61 63 74 65 72 |\(2398 c|haracter|
|00004360| 73 5c 29 0a 73 65 64 20 | 22 73 2f 5e 58 2f 2f 22 |s\).sed |"s/^X//"|
|00004370| 20 3e 27 37 38 2e 68 27 | 20 3c 3c 27 45 4e 44 5f | >'78.h'| <<'END_|
|00004380| 4f 46 5f 46 49 4c 45 27 | 0a 58 2f 2a 0a 58 20 2a |OF_FILE'|.X/*.X *|
|00004390| 20 37 38 2e 68 20 2d 20 | 63 6f 6d 6d 6f 6e 20 64 | 78.h - |common d|
|000043a0| 65 66 69 6e 69 74 69 6f | 6e 73 20 66 6f 72 20 49 |efinitio|ns for I|
|000043b0| 53 4f 20 36 34 36 20 74 | 6f 20 38 2d 62 69 74 20 |SO 646 t|o 8-bit |
|000043c0| 63 6f 6e 76 65 72 73 69 | 6f 6e 0a 58 20 2a 0a 58 |conversi|on.X *.X|
|000043d0| 20 2a 20 43 6f 70 79 72 | 69 67 68 74 20 31 39 38 | * Copyr|ight 198|
|000043e0| 39 20 48 6f 77 61 72 64 | 20 4c 65 65 20 47 61 79 |9 Howard| Lee Gay|
|000043f0| 6c 65 0a 58 20 2a 0a 58 | 20 2a 20 24 48 65 61 64 |le.X *.X| * $Head|
|00004400| 65 72 3a 20 37 38 2e 68 | 2c 76 20 31 2e 36 20 38 |er: 78.h|,v 1.6 8|
|00004410| 39 2f 30 38 2f 32 34 20 | 31 33 3a 30 33 3a 33 34 |9/08/24 |13:03:34|
|00004420| 20 68 6f 77 61 72 64 20 | 45 78 70 20 24 0a 58 20 | howard |Exp $.X |
|00004430| 2a 0a 58 20 2a 20 54 68 | 69 73 20 70 72 6f 67 72 |*.X * Th|is progr|
|00004440| 61 6d 20 69 73 20 66 72 | 65 65 20 73 6f 66 74 77 |am is fr|ee softw|
|00004450| 61 72 65 3b 20 79 6f 75 | 20 63 61 6e 20 72 65 64 |are; you| can red|
|00004460| 69 73 74 72 69 62 75 74 | 65 20 69 74 20 61 6e 64 |istribut|e it and|
|00004470| 2f 6f 72 20 6d 6f 64 69 | 66 79 0a 58 20 2a 20 69 |/or modi|fy.X * i|
|00004480| 74 20 75 6e 64 65 72 20 | 74 68 65 20 74 65 72 6d |t under |the term|
|00004490| 73 20 6f 66 20 74 68 65 | 20 47 4e 55 20 47 65 6e |s of the| GNU Gen|
|000044a0| 65 72 61 6c 20 50 75 62 | 6c 69 63 20 4c 69 63 65 |eral Pub|lic Lice|
|000044b0| 6e 73 65 20 76 65 72 73 | 69 6f 6e 20 31 2c 0a 58 |nse vers|ion 1,.X|
|000044c0| 20 2a 20 61 73 20 70 75 | 62 6c 69 73 68 65 64 20 | * as pu|blished |
|000044d0| 62 79 20 74 68 65 20 46 | 72 65 65 20 53 6f 66 74 |by the F|ree Soft|
|000044e0| 77 61 72 65 20 46 6f 75 | 6e 64 61 74 69 6f 6e 2e |ware Fou|ndation.|
|000044f0| 0a 58 20 2a 0a 58 20 2a | 20 54 68 69 73 20 70 72 |.X *.X *| This pr|
|00004500| 6f 67 72 61 6d 20 69 73 | 20 64 69 73 74 72 69 62 |ogram is| distrib|
|00004510| 75 74 65 64 20 69 6e 20 | 74 68 65 20 68 6f 70 65 |uted in |the hope|
|00004520| 20 74 68 61 74 20 69 74 | 20 77 69 6c 6c 20 62 65 | that it| will be|
|00004530| 20 75 73 65 66 75 6c 2c | 0a 58 20 2a 20 62 75 74 | useful,|.X * but|
|00004540| 20 57 49 54 48 4f 55 54 | 20 41 4e 59 20 57 41 52 | WITHOUT| ANY WAR|
|00004550| 52 41 4e 54 59 3b 20 77 | 69 74 68 6f 75 74 20 65 |RANTY; w|ithout e|
|00004560| 76 65 6e 20 74 68 65 20 | 69 6d 70 6c 69 65 64 20 |ven the |implied |
|00004570| 77 61 72 72 61 6e 74 79 | 20 6f 66 0a 58 20 2a 20 |warranty| of.X * |
|00004580| 4d 45 52 43 48 41 4e 54 | 41 42 49 4c 49 54 59 20 |MERCHANT|ABILITY |
|00004590| 6f 72 20 46 49 54 4e 45 | 53 53 20 46 4f 52 20 41 |or FITNE|SS FOR A|
|000045a0| 20 50 41 52 54 49 43 55 | 4c 41 52 20 50 55 52 50 | PARTICU|LAR PURP|
|000045b0| 4f 53 45 2e 20 20 53 65 | 65 20 74 68 65 0a 58 20 |OSE. Se|e the.X |
|000045c0| 2a 20 47 4e 55 20 47 65 | 6e 65 72 61 6c 20 50 75 |* GNU Ge|neral Pu|
|000045d0| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 20 66 6f 72 |blic Lic|ense for|
|000045e0| 20 6d 6f 72 65 20 64 65 | 74 61 69 6c 73 2e 0a 58 | more de|tails..X|
|000045f0| 20 2a 0a 58 20 2a 20 59 | 6f 75 20 73 68 6f 75 6c | *.X * Y|ou shoul|
|00004600| 64 20 68 61 76 65 20 72 | 65 63 65 69 76 65 64 20 |d have r|eceived |
|00004610| 61 20 63 6f 70 79 20 6f | 66 20 74 68 65 20 47 4e |a copy o|f the GN|
|00004620| 55 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |U Genera|l Public|
|00004630| 20 4c 69 63 65 6e 73 65 | 0a 58 20 2a 20 61 6c 6f | License|.X * alo|
|00004640| 6e 67 20 77 69 74 68 20 | 74 68 69 73 20 70 72 6f |ng with |this pro|
|00004650| 67 72 61 6d 3b 20 69 66 | 20 6e 6f 74 2c 20 77 72 |gram; if| not, wr|
|00004660| 69 74 65 20 74 6f 20 74 | 68 65 20 46 72 65 65 20 |ite to t|he Free |
|00004670| 53 6f 66 74 77 61 72 65 | 0a 58 20 2a 20 46 6f 75 |Software|.X * Fou|
|00004680| 6e 64 61 74 69 6f 6e 2c | 20 49 6e 63 2e 2c 20 36 |ndation,| Inc., 6|
|00004690| 37 35 20 4d 61 73 73 20 | 41 76 65 2c 20 43 61 6d |75 Mass |Ave, Cam|
|000046a0| 62 72 69 64 67 65 2c 20 | 4d 41 20 30 32 31 33 39 |bridge, |MA 02139|
|000046b0| 2c 20 55 53 41 2e 0a 58 | 20 2a 0a 58 20 2a 20 50 |, USA..X| *.X * P|
|000046c0| 72 65 72 65 71 75 69 73 | 69 74 65 73 3a 0a 58 20 |rerequis|ites:.X |
|000046d0| 2a 20 20 20 20 68 6f 77 | 61 72 64 2f 70 6f 72 74 |* how|ard/port|
|000046e0| 2e 68 0a 58 20 2a 0a 58 | 20 2a 20 45 61 63 68 20 |.h.X *.X| * Each |
|000046f0| 6c 65 74 74 65 72 20 6f | 66 20 61 20 74 72 69 67 |letter o|f a trig|
|00004700| 72 61 6d 20 69 73 20 65 | 6e 63 6f 64 65 64 20 69 |ram is e|ncoded i|
|00004710| 6e 74 6f 20 35 20 62 69 | 74 73 2c 20 73 6f 20 74 |nto 5 bi|ts, so t|
|00004720| 68 65 72 65 20 61 72 65 | 0a 58 20 2a 20 33 32 20 |here are|.X * 32 |
|00004730| 62 69 74 20 63 6f 6d 62 | 69 6e 61 74 69 6f 6e 73 |bit comb|inations|
|00004740| 2e 20 20 54 77 6f 20 61 | 72 65 20 72 65 73 65 72 |. Two a|re reser|
|00004750| 76 65 64 20 66 6f 72 20 | 74 68 65 20 22 63 68 61 |ved for |the "cha|
|00004760| 72 61 63 74 65 72 22 20 | 6a 75 73 74 0a 58 20 2a |racter" |just.X *|
|00004770| 20 62 65 66 6f 72 65 20 | 74 68 65 20 66 69 72 73 | before |the firs|
|00004780| 74 20 63 68 61 72 61 63 | 74 65 72 20 69 6e 20 61 |t charac|ter in a|
|00004790| 20 77 6f 72 64 20 28 54 | 52 49 42 45 47 29 2c 20 | word (T|RIBEG), |
|000047a0| 61 6e 64 20 74 68 65 20 | 22 63 68 61 72 61 63 74 |and the |"charact|
|000047b0| 65 72 22 0a 58 20 2a 20 | 6a 75 73 74 20 61 66 74 |er".X * |just aft|
|000047c0| 65 72 20 74 68 65 20 6c | 61 73 74 20 63 68 61 72 |er the l|ast char|
|000047d0| 61 63 74 65 72 20 69 6e | 20 61 20 77 6f 72 64 20 |acter in| a word |
|000047e0| 28 54 52 49 45 4e 44 29 | 2e 20 20 54 68 69 73 20 |(TRIEND)|. This |
|000047f0| 6c 65 61 76 65 73 20 33 | 30 0a 58 20 2a 20 63 6f |leaves 3|0.X * co|
|00004800| 6d 62 69 6e 61 74 69 6f | 6e 73 20 28 54 52 49 4c |mbinatio|ns (TRIL|
|00004810| 4f 2e 2e 54 52 49 48 49 | 29 20 66 6f 72 20 72 65 |O..TRIHI|) for re|
|00004820| 61 6c 20 6c 65 74 74 65 | 72 73 2e 20 20 46 6f 72 |al lette|rs. For|
|00004830| 74 75 6e 61 74 65 6c 79 | 2c 20 6d 6f 73 74 0a 58 |tunately|, most.X|
|00004840| 20 2a 20 6c 61 6e 67 75 | 61 67 65 73 20 77 72 69 | * langu|ages wri|
|00004850| 74 74 65 6e 20 77 69 74 | 68 20 49 53 4f 20 36 34 |tten wit|h ISO 64|
|00004860| 36 20 68 61 76 65 20 61 | 62 6f 75 74 20 33 30 20 |6 have a|bout 30 |
|00004870| 6c 65 74 74 65 72 73 2e | 20 20 49 66 20 69 74 20 |letters.| If it |
|00004880| 69 73 0a 58 20 2a 20 6e | 65 63 65 73 73 61 72 79 |is.X * n|ecessary|
|00004890| 20 74 6f 20 66 72 65 65 | 20 75 70 20 61 20 6c 69 | to free| up a li|
|000048a0| 74 74 6c 65 20 73 70 61 | 63 65 2c 20 74 68 65 20 |ttle spa|ce, the |
|000048b0| 6c 65 61 73 74 20 66 72 | 65 71 75 65 6e 74 20 6c |least fr|equent l|
|000048c0| 65 74 74 65 72 73 0a 58 | 20 2a 20 63 61 6e 20 62 |etters.X| * can b|
|000048d0| 65 20 6c 75 6d 70 65 64 | 20 74 6f 67 65 74 68 65 |e lumped| togethe|
|000048e0| 72 2e 20 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |r. For |example,|
|000048f0| 20 69 6e 20 45 6e 67 6c | 69 73 68 20 27 71 27 20 | in Engl|ish 'q' |
|00004900| 61 6e 64 20 27 7a 27 20 | 63 61 6e 0a 58 20 2a 20 |and 'z' |can.X * |
|00004910| 62 6f 74 68 20 6d 61 70 | 20 69 6e 74 6f 20 6f 6e |both map| into on|
|00004920| 65 20 63 6f 64 65 2e 0a | 58 20 2a 2f 0a 58 0a 58 |e code..|X */.X.X|
|00004930| 23 64 65 66 69 6e 65 20 | 4d 4c 49 4e 45 20 20 20 |#define |MLINE |
|00004940| 31 30 32 34 20 20 20 20 | 20 2f 2a 20 4d 61 78 20 |1024 | /* Max |
|00004950| 69 6e 70 75 74 20 6c 69 | 6e 65 20 6c 65 6e 67 74 |input li|ne lengt|
|00004960| 68 2e 2a 2f 0a 58 23 64 | 65 66 69 6e 65 20 4e 55 |h.*/.X#d|efine NU|
|00004970| 4c 4f 4e 47 50 20 28 28 | 6c 6f 6e 67 20 2a 29 20 |LONGP ((|long *) |
|00004980| 4e 55 4c 4c 29 0a 58 23 | 64 65 66 69 6e 65 20 54 |NULL).X#|define T|
|00004990| 52 49 4c 4f 20 20 20 20 | 30 20 20 20 20 20 20 20 |RILO |0 |
|000049a0| 2f 2a 20 46 69 72 73 74 | 20 76 61 6c 75 65 20 66 |/* First| value f|
|000049b0| 6f 72 20 6c 65 74 74 65 | 72 73 2e 2a 2f 0a 58 23 |or lette|rs.*/.X#|
|000049c0| 64 65 66 69 6e 65 20 54 | 52 49 48 49 20 20 20 32 |define T|RIHI 2|
|000049d0| 39 20 20 20 20 20 20 20 | 2f 2a 20 4c 61 73 74 20 |9 |/* Last |
|000049e0| 76 61 6c 75 65 20 66 6f | 72 20 6c 65 74 74 65 72 |value fo|r letter|
|000049f0| 73 2e 2a 2f 0a 58 23 64 | 65 66 69 6e 65 20 54 52 |s.*/.X#d|efine TR|
|00004a00| 49 42 45 47 20 20 33 30 | 20 20 20 20 20 20 20 2f |IBEG 30| /|
|00004a10| 2a 20 42 65 67 69 6e 6e | 69 6e 67 20 6f 66 20 77 |* Beginn|ing of w|
|00004a20| 6f 72 64 2e 2a 2f 0a 58 | 23 64 65 66 69 6e 65 20 |ord.*/.X|#define |
|00004a30| 54 52 49 45 4e 44 20 20 | 33 31 20 20 20 20 20 20 |TRIEND |31 |
|00004a40| 20 2f 2a 20 45 6e 64 20 | 6f 66 20 77 6f 72 64 2e | /* End |of word.|
|00004a50| 2a 2f 0a 58 23 64 65 66 | 69 6e 65 20 54 52 49 4e |*/.X#def|ine TRIN|
|00004a60| 4f 4e 45 20 33 32 20 20 | 20 20 20 20 20 2f 2a 20 |ONE 32 | /* |
|00004a70| 4e 6f 20 63 6f 64 65 20 | 66 6f 72 20 74 68 69 73 |No code |for this|
|00004a80| 20 62 79 74 65 2e 2a 2f | 0a 58 23 64 65 66 69 6e | byte.*/|.X#defin|
|00004a90| 65 20 54 54 53 55 46 20 | 20 20 53 28 22 2e 74 74 |e TTSUF | S(".tt|
|00004aa0| 22 29 20 2f 2a 20 54 72 | 69 67 72 61 6d 20 74 61 |") /* Tr|igram ta|
|00004ab0| 62 6c 65 20 73 75 66 66 | 69 78 2e 2a 2f 0a 58 0a |ble suff|ix.*/.X.|
|00004ac0| 58 2f 2a 20 57 69 74 68 | 20 65 61 63 68 20 6c 65 |X/* With| each le|
|00004ad0| 74 74 65 72 20 65 6e 63 | 6f 64 65 64 20 61 73 20 |tter enc|oded as |
|00004ae0| 35 20 62 69 74 73 2c 20 | 61 20 77 68 6f 6c 65 20 |5 bits, |a whole |
|00004af0| 74 72 69 67 72 61 6d 20 | 63 61 6e 20 62 65 0a 58 |trigram |can be.X|
|00004b00| 20 2a 20 65 6e 63 6f 64 | 65 64 20 69 6e 20 31 35 | * encod|ed in 15|
|00004b10| 20 62 69 74 73 2e 20 20 | 54 68 69 73 20 6d 61 6b | bits. |This mak|
|00004b20| 65 73 20 69 74 20 66 65 | 61 73 69 62 6c 65 20 74 |es it fe|asible t|
|00004b30| 6f 20 69 6e 64 65 78 20 | 61 0a 58 20 2a 20 74 72 |o index |a.X * tr|
|00004b40| 69 67 72 61 6d 20 66 72 | 65 71 75 65 6e 63 79 20 |igram fr|equency |
|00004b50| 74 61 62 6c 65 20 64 69 | 72 65 63 74 6c 79 2e 20 |table di|rectly. |
|00004b60| 20 54 68 69 73 20 6d 61 | 63 72 6f 0a 58 2f 2a 20 | This ma|cro.X/* |
|00004b70| 63 6f 6e 76 65 72 74 73 | 20 28 62 65 67 69 6e 6e |converts| (beginn|
|00004b80| 69 6e 67 2c 20 6d 69 64 | 64 6c 65 2c 20 65 6e 64 |ing, mid|dle, end|
|00004b90| 29 20 74 6f 20 74 72 69 | 67 72 61 6d 2e 0a 58 20 |) to tri|gram..X |
|00004ba0| 2a 20 54 68 65 20 6f 72 | 64 65 72 69 6e 67 20 73 |* The or|dering s|
|00004bb0| 61 76 65 73 20 73 70 61 | 63 65 20 62 79 20 70 75 |aves spa|ce by pu|
|00004bc0| 74 74 69 6e 67 20 74 68 | 65 20 6d 69 64 64 6c 65 |tting th|e middle|
|00004bd0| 20 76 61 6c 75 65 20 69 | 6e 20 74 68 65 20 6d 6f | value i|n the mo|
|00004be0| 73 74 0a 58 20 2a 20 73 | 69 67 6e 69 66 69 63 61 |st.X * s|ignifica|
|00004bf0| 6e 74 20 62 69 74 73 20 | 73 69 6e 63 65 20 69 74 |nt bits |since it|
|00004c00| 73 20 6d 61 78 20 76 61 | 6c 75 65 20 69 73 20 32 |s max va|lue is 2|
|00004c10| 39 2e 2a 2f 0a 58 23 64 | 65 66 69 6e 65 20 54 4f |9.*/.X#d|efine TO|
|00004c20| 54 52 49 28 61 2c 62 2c | 63 29 20 28 28 28 62 29 |TRI(a,b,|c) (((b)|
|00004c30| 20 3c 3c 20 31 30 29 20 | 7c 20 28 28 61 29 20 3c | << 10) || ((a) <|
|00004c40| 3c 20 35 29 20 7c 20 28 | 63 29 29 0a 58 0a 58 23 |< 5) | (|c)).X.X#|
|00004c50| 64 65 66 69 6e 65 20 54 | 52 49 4d 41 58 20 54 4f |define T|RIMAX TO|
|00004c60| 54 52 49 28 54 52 49 42 | 45 47 2c 20 54 52 49 48 |TRI(TRIB|EG, TRIH|
|00004c70| 49 2c 20 54 52 49 45 4e | 44 29 20 2f 2a 20 4d 61 |I, TRIEN|D) /* Ma|
|00004c80| 78 20 74 72 69 67 72 61 | 6d 20 76 61 6c 75 65 2e |x trigra|m value.|
|00004c90| 2a 2f 0a 58 0a 58 23 69 | 66 64 65 66 20 4e 4f 53 |*/.X.X#i|fdef NOS|
|00004ca0| 43 48 41 52 0a 58 74 79 | 70 65 64 65 66 20 62 79 |CHAR.Xty|pedef by|
|00004cb0| 74 65 54 20 74 72 69 44 | 69 66 54 3b 0a 58 23 64 |teT triD|ifT;.X#d|
|00004cc0| 65 66 69 6e 65 20 54 52 | 49 42 49 41 53 20 31 32 |efine TR|IBIAS 12|
|00004cd0| 37 0a 58 23 65 6c 73 65 | 20 20 4e 4f 53 43 48 41 |7.X#else| NOSCHA|
|00004ce0| 52 0a 58 74 79 70 65 64 | 65 66 20 73 69 67 6e 65 |R.Xtyped|ef signe|
|00004cf0| 64 20 63 68 61 72 20 74 | 72 69 44 69 66 54 3b 0a |d char t|riDifT;.|
|00004d00| 58 23 64 65 66 69 6e 65 | 20 54 52 49 42 49 41 53 |X#define| TRIBIAS|
|00004d10| 20 30 0a 58 23 65 6e 64 | 69 66 20 4e 4f 53 43 48 | 0.X#end|if NOSCH|
|00004d20| 41 52 0a 45 4e 44 5f 4f | 46 5f 46 49 4c 45 0a 69 |AR.END_O|F_FILE.i|
|00004d30| 66 20 74 65 73 74 20 32 | 33 39 38 20 2d 6e 65 20 |f test 2|398 -ne |
|00004d40| 60 77 63 20 2d 63 20 3c | 27 37 38 2e 68 27 60 3b |`wc -c <|'78.h'`;|
|00004d50| 20 74 68 65 6e 0a 20 20 | 20 20 65 63 68 6f 20 73 | then. | echo s|
|00004d60| 68 61 72 3a 20 5c 22 27 | 37 38 2e 68 27 5c 22 20 |har: \"'|78.h'\" |
|00004d70| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|00004d80| 6f 6e 67 20 73 69 7a 65 | 21 0a 66 69 0a 23 20 65 |ong size|!.fi.# e|
|00004d90| 6e 64 20 6f 66 20 27 37 | 38 2e 68 27 0a 66 69 0a |nd of '7|8.h'.fi.|
|00004da0| 69 66 20 74 65 73 74 20 | 2d 66 20 27 37 38 63 6f |if test |-f '78co|
|00004db0| 64 65 2e 68 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |de.h' -a| "${1}" |
|00004dc0| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00004dd0| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|00004de0| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|00004df0| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 37 |isting f|ile \"'7|
|00004e00| 38 63 6f 64 65 2e 68 27 | 5c 22 0a 65 6c 73 65 0a |8code.h'|\".else.|
|00004e10| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 78 74 72 61 |echo sha|r: Extra|
|00004e20| 63 74 69 6e 67 20 5c 22 | 27 37 38 63 6f 64 65 2e |cting \"|'78code.|
|00004e30| 68 27 5c 22 20 5c 28 32 | 38 31 37 20 63 68 61 72 |h'\" \(2|817 char|
|00004e40| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|00004e50| 5e 58 2f 2f 22 20 3e 27 | 37 38 63 6f 64 65 2e 68 |^X//" >'|78code.h|
|00004e60| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|00004e70| 27 0a 58 2f 2a 0a 58 20 | 2a 20 37 38 63 6f 64 65 |'.X/*.X |* 78code|
|00004e80| 2e 68 20 2d 20 64 65 66 | 69 6e 69 74 69 6f 6e 73 |.h - def|initions|
|00004e90| 20 66 6f 72 20 74 72 69 | 67 72 61 6d 20 65 6e 63 | for tri|gram enc|
|00004ea0| 6f 64 69 6e 67 73 0a 58 | 20 2a 0a 58 20 2a 20 43 |odings.X| *.X * C|
|00004eb0| 6f 70 79 72 69 67 68 74 | 20 31 39 38 39 20 48 6f |opyright| 1989 Ho|
|00004ec0| 77 61 72 64 20 4c 65 65 | 20 47 61 79 6c 65 0a 58 |ward Lee| Gayle.X|
|00004ed0| 20 2a 0a 58 20 2a 20 24 | 48 65 61 64 65 72 3a 20 | *.X * $|Header: |
|00004ee0| 37 38 63 6f 64 65 2e 68 | 2c 76 20 31 2e 32 20 38 |78code.h|,v 1.2 8|
|00004ef0| 39 2f 30 38 2f 32 35 20 | 31 31 3a 31 36 3a 30 32 |9/08/25 |11:16:02|
|00004f00| 20 68 6f 77 61 72 64 20 | 45 78 70 20 24 0a 58 20 | howard |Exp $.X |
|00004f10| 2a 0a 58 20 2a 20 54 68 | 69 73 20 70 72 6f 67 72 |*.X * Th|is progr|
|00004f20| 61 6d 20 69 73 20 66 72 | 65 65 20 73 6f 66 74 77 |am is fr|ee softw|
|00004f30| 61 72 65 3b 20 79 6f 75 | 20 63 61 6e 20 72 65 64 |are; you| can red|
|00004f40| 69 73 74 72 69 62 75 74 | 65 20 69 74 20 61 6e 64 |istribut|e it and|
|00004f50| 2f 6f 72 20 6d 6f 64 69 | 66 79 0a 58 20 2a 20 69 |/or modi|fy.X * i|
|00004f60| 74 20 75 6e 64 65 72 20 | 74 68 65 20 74 65 72 6d |t under |the term|
|00004f70| 73 20 6f 66 20 74 68 65 | 20 47 4e 55 20 47 65 6e |s of the| GNU Gen|
|00004f80| 65 72 61 6c 20 50 75 62 | 6c 69 63 20 4c 69 63 65 |eral Pub|lic Lice|
|00004f90| 6e 73 65 20 76 65 72 73 | 69 6f 6e 20 31 2c 0a 58 |nse vers|ion 1,.X|
|00004fa0| 20 2a 20 61 73 20 70 75 | 62 6c 69 73 68 65 64 20 | * as pu|blished |
|00004fb0| 62 79 20 74 68 65 20 46 | 72 65 65 20 53 6f 66 74 |by the F|ree Soft|
|00004fc0| 77 61 72 65 20 46 6f 75 | 6e 64 61 74 69 6f 6e 2e |ware Fou|ndation.|
|00004fd0| 0a 58 20 2a 0a 58 20 2a | 20 54 68 69 73 20 70 72 |.X *.X *| This pr|
|00004fe0| 6f 67 72 61 6d 20 69 73 | 20 64 69 73 74 72 69 62 |ogram is| distrib|
|00004ff0| 75 74 65 64 20 69 6e 20 | 74 68 65 20 68 6f 70 65 |uted in |the hope|
|00005000| 20 74 68 61 74 20 69 74 | 20 77 69 6c 6c 20 62 65 | that it| will be|
|00005010| 20 75 73 65 66 75 6c 2c | 0a 58 20 2a 20 62 75 74 | useful,|.X * but|
|00005020| 20 57 49 54 48 4f 55 54 | 20 41 4e 59 20 57 41 52 | WITHOUT| ANY WAR|
|00005030| 52 41 4e 54 59 3b 20 77 | 69 74 68 6f 75 74 20 65 |RANTY; w|ithout e|
|00005040| 76 65 6e 20 74 68 65 20 | 69 6d 70 6c 69 65 64 20 |ven the |implied |
|00005050| 77 61 72 72 61 6e 74 79 | 20 6f 66 0a 58 20 2a 20 |warranty| of.X * |
|00005060| 4d 45 52 43 48 41 4e 54 | 41 42 49 4c 49 54 59 20 |MERCHANT|ABILITY |
|00005070| 6f 72 20 46 49 54 4e 45 | 53 53 20 46 4f 52 20 41 |or FITNE|SS FOR A|
|00005080| 20 50 41 52 54 49 43 55 | 4c 41 52 20 50 55 52 50 | PARTICU|LAR PURP|
|00005090| 4f 53 45 2e 20 20 53 65 | 65 20 74 68 65 0a 58 20 |OSE. Se|e the.X |
|000050a0| 2a 20 47 4e 55 20 47 65 | 6e 65 72 61 6c 20 50 75 |* GNU Ge|neral Pu|
|000050b0| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 20 66 6f 72 |blic Lic|ense for|
|000050c0| 20 6d 6f 72 65 20 64 65 | 74 61 69 6c 73 2e 0a 58 | more de|tails..X|
|000050d0| 20 2a 0a 58 20 2a 20 59 | 6f 75 20 73 68 6f 75 6c | *.X * Y|ou shoul|
|000050e0| 64 20 68 61 76 65 20 72 | 65 63 65 69 76 65 64 20 |d have r|eceived |
|000050f0| 61 20 63 6f 70 79 20 6f | 66 20 74 68 65 20 47 4e |a copy o|f the GN|
|00005100| 55 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |U Genera|l Public|
|00005110| 20 4c 69 63 65 6e 73 65 | 0a 58 20 2a 20 61 6c 6f | License|.X * alo|
|00005120| 6e 67 20 77 69 74 68 20 | 74 68 69 73 20 70 72 6f |ng with |this pro|
|00005130| 67 72 61 6d 3b 20 69 66 | 20 6e 6f 74 2c 20 77 72 |gram; if| not, wr|
|00005140| 69 74 65 20 74 6f 20 74 | 68 65 20 46 72 65 65 20 |ite to t|he Free |
|00005150| 53 6f 66 74 77 61 72 65 | 0a 58 20 2a 20 46 6f 75 |Software|.X * Fou|
|00005160| 6e 64 61 74 69 6f 6e 2c | 20 49 6e 63 2e 2c 20 36 |ndation,| Inc., 6|
|00005170| 37 35 20 4d 61 73 73 20 | 41 76 65 2c 20 43 61 6d |75 Mass |Ave, Cam|
|00005180| 62 72 69 64 67 65 2c 20 | 4d 41 20 30 32 31 33 39 |bridge, |MA 02139|
|00005190| 2c 20 55 53 41 2e 0a 58 | 20 2a 0a 58 20 2a 20 50 |, USA..X| *.X * P|
|000051a0| 72 65 72 65 71 75 69 73 | 69 74 65 73 3a 20 68 6f |rerequis|ites: ho|
|000051b0| 77 61 72 64 2f 70 6f 72 | 74 2e 68 20 68 6f 77 61 |ward/por|t.h howa|
|000051c0| 72 64 2f 61 32 2e 68 20 | 37 38 2e 68 0a 58 20 2a |rd/a2.h |78.h.X *|
|000051d0| 2f 0a 58 0a 58 50 52 49 | 56 41 54 45 20 62 79 74 |/.X.XPRI|VATE byt|
|000051e0| 65 54 20 62 79 74 65 32 | 74 5b 32 35 36 5d 3b 20 |eT byte2|t[256]; |
|000051f0| 20 20 20 20 2f 2a 20 4d | 61 70 20 65 61 63 68 20 | /* M|ap each |
|00005200| 62 79 74 65 20 74 6f 20 | 61 20 74 72 69 67 72 61 |byte to |a trigra|
|00005210| 6d 20 63 6f 64 65 2e 2a | 2f 0a 58 50 52 49 56 41 |m code.*|/.XPRIVA|
|00005220| 54 45 20 62 79 74 65 54 | 20 74 32 62 79 74 65 5b |TE byteT| t2byte[|
|00005230| 54 52 49 4e 4f 4e 45 5d | 3b 20 2f 2a 20 4d 61 70 |TRINONE]|; /* Map|
|00005240| 20 74 72 69 67 72 61 6d | 20 63 6f 64 65 20 74 6f | trigram| code to|
|00005250| 20 70 72 69 6e 74 61 62 | 6c 65 20 63 68 61 72 61 | printab|le chara|
|00005260| 63 74 65 72 2e 2a 2f 0a | 58 0c 0a 58 2f 2a 20 72 |cter.*/.|X..X/* r|
|00005270| 64 63 6f 64 65 20 2d 20 | 72 65 61 64 20 69 6e 20 |dcode - |read in |
|00005280| 61 20 74 72 69 67 72 61 | 6d 20 65 6e 63 6f 64 69 |a trigra|m encodi|
|00005290| 6e 67 20 66 69 6c 65 20 | 61 6e 64 20 69 6e 69 74 |ng file |and init|
|000052a0| 69 61 6c 69 7a 65 20 62 | 79 74 65 32 74 20 61 6e |ialize b|yte2t an|
|000052b0| 64 20 74 32 62 79 74 65 | 20 2a 2f 0a 58 0a 58 50 |d t2byte| */.X.XP|
|000052c0| 52 49 56 41 54 45 20 76 | 6f 69 64 20 72 64 63 6f |RIVATE v|oid rdco|
|000052d0| 64 65 20 28 66 6e 29 0a | 58 52 34 20 62 53 74 72 |de (fn).|XR4 bStr|
|000052e0| 54 20 66 6e 3b 20 2f 2a | 20 4e 61 6d 65 20 6f 66 |T fn; /*| Name of|
|000052f0| 20 74 72 69 67 72 61 6d | 20 65 6e 63 6f 64 69 6e | trigram| encodin|
|00005300| 67 20 66 69 6c 65 2e 2a | 2f 0a 58 0a 58 2f 2a 20 |g file.*|/.X.X/* |
|00005310| 46 75 6e 63 74 69 6f 6e | 3a 0a 58 20 2a 20 20 20 |Function|:.X * |
|00005320| 20 49 6e 69 74 69 61 6c | 69 7a 65 20 62 79 74 65 | Initial|ize byte|
|00005330| 32 74 5b 5d 20 61 6e 64 | 20 74 32 62 79 74 65 5b |2t[] and| t2byte[|
|00005340| 5d 20 62 79 20 72 65 61 | 64 69 6e 67 20 74 68 65 |] by rea|ding the|
|00005350| 20 67 69 76 65 6e 20 65 | 6e 63 6f 64 69 6e 67 20 | given e|ncoding |
|00005360| 66 69 6c 65 2e 0a 58 20 | 2a 20 41 6c 67 6f 72 69 |file..X |* Algori|
|00005370| 74 68 6d 3a 0a 58 20 2a | 20 20 20 20 49 6e 69 74 |thm:.X *| Init|
|00005380| 69 61 6c 69 7a 65 20 65 | 61 63 68 20 65 6c 65 6d |ialize e|ach elem|
|00005390| 65 6e 74 20 6f 66 20 62 | 79 74 65 32 74 5b 5d 20 |ent of b|yte2t[] |
|000053a0| 74 6f 20 54 52 49 4e 4f | 4e 45 2e 0a 58 20 2a 20 |to TRINO|NE..X * |
|000053b0| 20 20 20 52 65 61 64 20 | 65 61 63 68 20 6c 69 6e | Read |each lin|
|000053c0| 65 20 69 6e 20 74 68 65 | 20 65 6e 63 6f 64 69 6e |e in the| encodin|
|000053d0| 67 20 66 69 6c 65 2e 0a | 58 20 2a 20 20 20 20 53 |g file..|X * S|
|000053e0| 74 6f 72 65 20 74 68 65 | 20 70 72 69 6d 61 72 79 |tore the| primary|
|000053f0| 20 72 65 70 72 65 73 65 | 6e 74 61 74 69 6f 6e 20 | represe|ntation |
|00005400| 69 6e 20 74 32 62 79 74 | 65 5b 5d 20 61 6e 64 20 |in t2byt|e[] and |
|00005410| 62 79 74 65 32 74 5b 5d | 2e 0a 58 20 2a 20 20 20 |byte2t[]|..X * |
|00005420| 20 53 74 6f 72 65 20 61 | 6e 79 20 73 65 63 6f 6e | Store a|ny secon|
|00005430| 64 61 72 79 20 72 65 70 | 72 65 73 65 6e 74 61 74 |dary rep|resentat|
|00005440| 69 6f 6e 73 20 69 6e 20 | 62 79 74 65 32 74 5b 5d |ions in |byte2t[]|
|00005450| 2e 0a 58 20 2a 20 52 65 | 74 75 72 6e 73 3a 0a 58 |..X * Re|turns:.X|
|00005460| 20 2a 20 20 20 20 0a 58 | 20 2a 20 4e 6f 74 65 73 | * .X| * Notes|
|00005470| 3a 0a 58 20 2a 20 20 20 | 20 0a 58 20 2a 2f 0a 58 |:.X * | .X */.X|
|00005480| 7b 0a 58 52 32 20 69 6e | 74 20 20 20 20 20 20 69 |{.XR2 in|t i|
|00005490| 3b 20 20 20 20 20 20 20 | 20 20 2f 2a 20 54 72 69 |; | /* Tri|
|000054a0| 67 72 61 6d 20 63 6f 64 | 65 20 66 6f 72 20 63 75 |gram cod|e for cu|
|000054b0| 72 72 65 6e 74 20 6c 65 | 74 74 65 72 2e 2a 2f 0a |rrent le|tter.*/.|
|000054c0| 58 52 33 20 73 74 72 65 | 61 6d 54 20 20 69 73 3b |XR3 stre|amT is;|
|000054d0| 20 20 20 20 20 20 20 20 | 2f 2a 20 49 6e 70 75 74 | |/* Input|
|000054e0| 20 73 74 72 65 61 6d 2e | 2a 2f 0a 58 20 20 20 75 | stream.|*/.X u|
|000054f0| 6e 73 69 67 6e 65 64 20 | 6c 6e 20 3d 20 30 3b 20 |nsigned |ln = 0; |
|00005500| 20 20 20 2f 2a 20 4c 69 | 6e 65 20 6e 75 6d 62 65 | /* Li|ne numbe|
|00005510| 72 2e 2a 2f 0a 58 52 31 | 20 62 53 74 72 54 20 20 |r.*/.XR1| bStrT |
|00005520| 20 20 70 3b 20 20 20 20 | 20 20 20 20 20 2f 2a 20 | p; | /* |
|00005530| 53 74 65 70 73 20 74 68 | 72 6f 75 67 68 20 6c 62 |Steps th|rough lb|
|00005540| 5b 5d 2e 2a 2f 0a 58 20 | 20 20 62 53 74 72 54 20 |[].*/.X | bStrT |
|00005550| 20 20 20 70 30 3b 20 20 | 20 20 20 20 20 20 2f 2a | p0; | /*|
|00005560| 20 6d 72 61 32 69 28 29 | 20 73 74 6f 72 65 73 20 | mra2i()| stores |
|00005570| 65 6e 64 20 6f 66 20 6e | 75 6d 62 65 72 20 68 65 |end of n|umber he|
|00005580| 72 65 2e 2a 2f 0a 58 20 | 20 20 62 79 74 65 54 20 |re.*/.X | byteT |
|00005590| 20 20 20 6c 62 5b 4d 4c | 49 4e 45 5d 3b 20 2f 2a | lb[ML|INE]; /*|
|000055a0| 20 4c 69 6e 65 20 62 75 | 66 66 65 72 2e 2a 2f 0a | Line bu|ffer.*/.|
|000055b0| 58 0a 58 69 73 20 3d 20 | 6d 66 6f 70 65 6e 20 28 |X.Xis = |mfopen (|
|000055c0| 66 6e 2c 20 22 72 22 29 | 3b 0a 58 66 6f 72 20 28 |fn, "r")|;.Xfor (|
|000055d0| 70 20 3d 20 62 79 74 65 | 32 74 3b 20 70 20 21 3d |p = byte|2t; p !=|
|000055e0| 20 26 62 79 74 65 32 74 | 5b 32 35 36 5d 3b 29 0a | &byte2t|[256];).|
|000055f0| 58 20 20 20 2a 70 2b 2b | 20 3d 20 54 52 49 4e 4f |X *p++| = TRINO|
|00005600| 4e 45 3b 0a 58 74 32 62 | 79 74 65 5b 54 52 49 42 |NE;.Xt2b|yte[TRIB|
|00005610| 45 47 5d 20 3d 20 27 28 | 27 3b 0a 58 74 32 62 79 |EG] = '(|';.Xt2by|
|00005620| 74 65 5b 54 52 49 45 4e | 44 5d 20 3d 20 27 29 27 |te[TRIEN|D] = ')'|
|00005630| 3b 0a 58 77 68 69 6c 65 | 20 28 4e 55 4c 42 53 54 |;.Xwhile| (NULBST|
|00005640| 52 20 21 3d 20 67 65 74 | 6c 69 63 20 28 6c 62 2c |R != get|lic (lb,|
|00005650| 20 4d 4c 49 4e 45 2c 20 | 69 73 2c 20 66 6e 2c 20 | MLINE, |is, fn, |
|00005660| 26 6c 6e 2c 20 31 2c 20 | 43 4f 4d 4d 45 4e 54 29 |&ln, 1, |COMMENT)|
|00005670| 29 0a 58 20 20 20 7b 0a | 58 20 20 20 69 20 3d 20 |).X {.|X i = |
|00005680| 6d 72 61 32 69 20 28 6c | 62 2c 20 4e 55 4c 42 53 |mra2i (l|b, NULBS|
|00005690| 54 52 2c 20 54 52 55 45 | 2c 20 53 28 22 54 72 69 |TR, TRUE|, S("Tri|
|000056a0| 67 72 61 6d 20 63 6f 64 | 65 22 29 2c 20 54 52 49 |gram cod|e"), TRI|
|000056b0| 4c 4f 2c 20 54 52 49 48 | 49 2c 20 26 70 30 29 3b |LO, TRIH|I, &p0);|
|000056c0| 0a 58 20 20 20 69 66 20 | 28 45 4f 53 20 21 3d 20 |.X if |(EOS != |
|000056d0| 74 32 62 79 74 65 5b 69 | 5d 29 20 6d 61 6c 66 31 |t2byte[i|]) malf1|
|000056e0| 20 28 22 25 73 20 25 75 | 3a 20 63 6f 64 65 20 25 | ("%s %u|: code %|
|000056f0| 64 20 61 6c 72 65 61 64 | 79 20 75 73 65 64 22 2c |d alread|y used",|
|00005700| 20 66 6e 2c 20 6c 6e 2c | 20 69 29 3b 0a 58 20 20 | fn, ln,| i);.X |
|00005710| 20 66 6f 72 20 28 70 20 | 3d 20 70 30 3b 20 27 20 | for (p |= p0; ' |
|00005720| 27 20 3d 3d 20 42 28 2a | 70 29 3b 20 2b 2b 70 29 |' == B(*|p); ++p)|
|00005730| 0a 58 20 20 20 20 20 20 | 3b 0a 58 20 20 20 69 66 |.X |;.X if|
|00005740| 20 28 28 27 5c 27 27 20 | 21 3d 20 42 28 2a 70 29 | (('\'' |!= B(*p)|
|00005750| 29 20 7c 7c 20 28 45 4f | 53 20 3d 3d 20 42 28 70 |) || (EO|S == B(p|
|00005760| 5b 31 5d 29 29 20 7c 7c | 20 28 27 5c 27 27 20 21 |[1])) ||| ('\'' !|
|00005770| 3d 20 42 28 70 5b 32 5d | 29 29 29 0a 58 20 20 20 |= B(p[2]|))).X |
|00005780| 20 20 20 6d 61 6c 66 31 | 20 28 22 25 73 20 25 75 | malf1| ("%s %u|
|00005790| 3a 20 62 61 64 20 6c 65 | 74 74 65 72 3a 20 25 73 |: bad le|tter: %s|
|000057a0| 22 2c 20 66 6e 2c 20 6c | 6e 2c 20 70 29 3b 0a 58 |", fn, l|n, p);.X|
|000057b0| 20 20 20 2b 2b 70 3b 0a | 58 20 20 20 74 32 62 79 | ++p;.|X t2by|
|000057c0| 74 65 5b 69 5d 20 3d 20 | 42 28 2a 70 29 3b 0a 58 |te[i] = |B(*p);.X|
|000057d0| 20 20 20 62 79 74 65 32 | 74 5b 42 28 2a 70 29 5d | byte2|t[B(*p)]|
|000057e0| 20 3d 20 69 3b 0a 58 20 | 20 20 66 6f 72 20 28 70 | = i;.X | for (p|
|000057f0| 20 2b 3d 20 32 3b 20 45 | 4f 53 20 21 3d 20 42 28 | += 2; E|OS != B(|
|00005800| 2a 70 29 3b 29 0a 58 20 | 20 20 20 20 20 7b 0a 58 |*p);).X | {.X|
|00005810| 20 20 20 20 20 20 66 6f | 72 20 28 3b 20 27 20 27 | fo|r (; ' '|
|00005820| 20 3d 3d 20 42 28 2a 70 | 29 3b 20 2b 2b 70 29 0a | == B(*p|); ++p).|
|00005830| 58 20 20 20 20 20 20 20 | 20 20 3b 0a 58 20 20 20 |X | ;.X |
|00005840| 20 20 20 69 66 20 28 45 | 4f 53 20 21 3d 20 42 28 | if (E|OS != B(|
|00005850| 2a 70 29 29 0a 58 20 20 | 20 20 20 20 20 20 20 7b |*p)).X | {|
|00005860| 0a 58 20 20 20 20 20 20 | 20 20 20 69 66 20 28 28 |.X | if ((|
|00005870| 27 5c 27 27 20 3d 3d 20 | 42 28 2a 70 29 29 20 26 |'\'' == |B(*p)) &|
|00005880| 26 20 28 45 4f 53 20 21 | 3d 20 42 28 70 5b 31 5d |& (EOS !|= B(p[1]|
|00005890| 29 29 20 26 26 20 28 27 | 5c 27 27 20 3d 3d 20 42 |)) && ('|\'' == B|
|000058a0| 28 70 5b 32 5d 29 29 29 | 0a 58 20 20 20 20 20 20 |(p[2])))|.X |
|000058b0| 20 20 20 20 20 20 7b 0a | 58 20 20 20 20 20 20 20 | {.|X |
|000058c0| 20 20 20 20 20 2b 2b 70 | 3b 0a 58 20 20 20 20 20 | ++p|;.X |
|000058d0| 20 20 20 20 20 20 20 62 | 79 74 65 32 74 5b 42 28 | b|yte2t[B(|
|000058e0| 2a 70 29 5d 20 3d 20 69 | 3b 0a 58 20 20 20 20 20 |*p)] = i|;.X |
|000058f0| 20 20 20 20 20 20 20 70 | 20 2b 3d 20 32 3b 0a 58 | p| += 2;.X|
|00005900| 20 20 20 20 20 20 20 20 | 20 20 20 20 7d 0a 58 20 | | }.X |
|00005910| 20 20 20 20 20 20 20 20 | 65 6c 73 65 0a 58 20 20 | |else.X |
|00005920| 20 20 20 20 20 20 20 20 | 20 20 7b 0a 58 20 20 20 | | {.X |
|00005930| 20 20 20 20 20 20 20 20 | 20 62 79 74 65 32 74 5b | | byte2t[|
|00005940| 6d 72 61 32 69 20 28 70 | 2c 20 4e 55 4c 42 53 54 |mra2i (p|, NULBST|
|00005950| 52 2c 20 54 52 55 45 2c | 20 53 28 22 42 79 74 65 |R, TRUE,| S("Byte|
|00005960| 22 29 2c 20 30 2c 20 32 | 35 35 2c 20 26 70 30 29 |"), 0, 2|55, &p0)|
|00005970| 5d 20 3d 20 69 3b 0a 58 | 20 20 20 20 20 20 20 20 |] = i;.X| |
|00005980| 20 20 20 20 70 20 3d 20 | 70 30 3b 0a 58 20 20 20 | p = |p0;.X |
|00005990| 20 20 20 20 20 20 20 20 | 20 7d 0a 58 20 20 20 20 | | }.X |
|000059a0| 20 20 20 20 20 7d 0a 58 | 20 20 20 20 20 20 7d 0a | }.X| }.|
|000059b0| 58 20 20 20 7d 0a 58 6d | 66 63 6c 6f 73 65 20 28 |X }.Xm|fclose (|
|000059c0| 69 73 2c 20 66 6e 29 3b | 0a 58 7d 0a 45 4e 44 5f |is, fn);|.X}.END_|
|000059d0| 4f 46 5f 46 49 4c 45 0a | 69 66 20 74 65 73 74 20 |OF_FILE.|if test |
|000059e0| 32 38 31 37 20 2d 6e 65 | 20 60 77 63 20 2d 63 20 |2817 -ne| `wc -c |
|000059f0| 3c 27 37 38 63 6f 64 65 | 2e 68 27 60 3b 20 74 68 |<'78code|.h'`; th|
|00005a00| 65 6e 0a 20 20 20 20 65 | 63 68 6f 20 73 68 61 72 |en. e|cho shar|
|00005a10| 3a 20 5c 22 27 37 38 63 | 6f 64 65 2e 68 27 5c 22 |: \"'78c|ode.h'\"|
|00005a20| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|00005a30| 72 6f 6e 67 20 73 69 7a | 65 21 0a 66 69 0a 23 20 |rong siz|e!.fi.# |
|00005a40| 65 6e 64 20 6f 66 20 27 | 37 38 63 6f 64 65 2e 68 |end of '|78code.h|
|00005a50| 27 0a 66 69 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |'.fi.if |test -f |
|00005a60| 27 37 38 63 6f 64 65 32 | 63 2e 63 27 20 2d 61 20 |'78code2|c.c' -a |
|00005a70| 22 24 7b 31 7d 22 20 21 | 3d 20 22 2d 63 22 20 3b |"${1}" !|= "-c" ;|
|00005a80| 20 74 68 65 6e 20 0a 20 | 20 65 63 68 6f 20 73 68 | then . | echo sh|
|00005a90| 61 72 3a 20 57 69 6c 6c | 20 6e 6f 74 20 63 6c 6f |ar: Will| not clo|
|00005aa0| 62 62 65 72 20 65 78 69 | 73 74 69 6e 67 20 66 69 |bber exi|sting fi|
|00005ab0| 6c 65 20 5c 22 27 37 38 | 63 6f 64 65 32 63 2e 63 |le \"'78|code2c.c|
|00005ac0| 27 5c 22 0a 65 6c 73 65 | 0a 65 63 68 6f 20 73 68 |'\".else|.echo sh|
|00005ad0| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|00005ae0| 22 27 37 38 63 6f 64 65 | 32 63 2e 63 27 5c 22 20 |"'78code|2c.c'\" |
|00005af0| 5c 28 31 39 38 37 20 63 | 68 61 72 61 63 74 65 72 |\(1987 c|haracter|
|00005b00| 73 5c 29 0a 73 65 64 20 | 22 73 2f 5e 58 2f 2f 22 |s\).sed |"s/^X//"|
|00005b10| 20 3e 27 37 38 63 6f 64 | 65 32 63 2e 63 27 20 3c | >'78cod|e2c.c' <|
|00005b20| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 58 |<'END_OF|_FILE'.X|
|00005b30| 2f 2a 0a 58 20 2a 20 37 | 38 63 6f 64 65 32 63 20 |/*.X * 7|8code2c |
|00005b40| 2d 20 43 6f 6e 76 65 72 | 74 20 65 6e 63 6f 64 69 |- Conver|t encodi|
|00005b50| 6e 67 73 20 66 69 6c 65 | 20 74 6f 20 43 20 63 6f |ngs file| to C co|
|00005b60| 64 65 0a 58 20 2a 2f 0a | 58 0a 58 23 69 66 6e 64 |de.X */.|X.X#ifnd|
|00005b70| 65 66 20 6c 69 6e 74 0a | 58 73 74 61 74 69 63 20 |ef lint.|Xstatic |
|00005b80| 63 68 61 72 20 5f 63 70 | 79 72 67 74 5b 5d 20 3d |char _cp|yrgt[] =|
|00005b90| 20 22 43 6f 70 79 72 69 | 67 68 74 20 31 39 38 39 | "Copyri|ght 1989|
|00005ba0| 20 48 6f 77 61 72 64 20 | 4c 65 65 20 47 61 79 6c | Howard |Lee Gayl|
|00005bb0| 65 22 3b 0a 58 23 65 6e | 64 69 66 20 6c 69 6e 74 |e";.X#en|dif lint|
|00005bc0| 0a 58 0a 58 2f 2a 0a 58 | 20 2a 20 54 68 69 73 20 |.X.X/*.X| * This |
|00005bd0| 70 72 6f 67 72 61 6d 20 | 69 73 20 66 72 65 65 20 |program |is free |
|00005be0| 73 6f 66 74 77 61 72 65 | 3b 20 79 6f 75 20 63 61 |software|; you ca|
|00005bf0| 6e 20 72 65 64 69 73 74 | 72 69 62 75 74 65 20 69 |n redist|ribute i|
|00005c00| 74 20 61 6e 64 2f 6f 72 | 20 6d 6f 64 69 66 79 0a |t and/or| modify.|
|00005c10| 58 20 2a 20 69 74 20 75 | 6e 64 65 72 20 74 68 65 |X * it u|nder the|
|00005c20| 20 74 65 72 6d 73 20 6f | 66 20 74 68 65 20 47 4e | terms o|f the GN|
|00005c30| 55 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |U Genera|l Public|
|00005c40| 20 4c 69 63 65 6e 73 65 | 20 76 65 72 73 69 6f 6e | License| version|
|00005c50| 20 31 2c 0a 58 20 2a 20 | 61 73 20 70 75 62 6c 69 | 1,.X * |as publi|
|00005c60| 73 68 65 64 20 62 79 20 | 74 68 65 20 46 72 65 65 |shed by |the Free|
|00005c70| 20 53 6f 66 74 77 61 72 | 65 20 46 6f 75 6e 64 61 | Softwar|e Founda|
|00005c80| 74 69 6f 6e 2e 0a 58 20 | 2a 0a 58 20 2a 20 54 68 |tion..X |*.X * Th|
|00005c90| 69 73 20 70 72 6f 67 72 | 61 6d 20 69 73 20 64 69 |is progr|am is di|
|00005ca0| 73 74 72 69 62 75 74 65 | 64 20 69 6e 20 74 68 65 |stribute|d in the|
|00005cb0| 20 68 6f 70 65 20 74 68 | 61 74 20 69 74 20 77 69 | hope th|at it wi|
|00005cc0| 6c 6c 20 62 65 20 75 73 | 65 66 75 6c 2c 0a 58 20 |ll be us|eful,.X |
|00005cd0| 2a 20 62 75 74 20 57 49 | 54 48 4f 55 54 20 41 4e |* but WI|THOUT AN|
|00005ce0| 59 20 57 41 52 52 41 4e | 54 59 3b 20 77 69 74 68 |Y WARRAN|TY; with|
|00005cf0| 6f 75 74 20 65 76 65 6e | 20 74 68 65 20 69 6d 70 |out even| the imp|
|00005d00| 6c 69 65 64 20 77 61 72 | 72 61 6e 74 79 20 6f 66 |lied war|ranty of|
|00005d10| 0a 58 20 2a 20 4d 45 52 | 43 48 41 4e 54 41 42 49 |.X * MER|CHANTABI|
|00005d20| 4c 49 54 59 20 6f 72 20 | 46 49 54 4e 45 53 53 20 |LITY or |FITNESS |
|00005d30| 46 4f 52 20 41 20 50 41 | 52 54 49 43 55 4c 41 52 |FOR A PA|RTICULAR|
|00005d40| 20 50 55 52 50 4f 53 45 | 2e 20 20 53 65 65 20 74 | PURPOSE|. See t|
|00005d50| 68 65 0a 58 20 2a 20 47 | 4e 55 20 47 65 6e 65 72 |he.X * G|NU Gener|
|00005d60| 61 6c 20 50 75 62 6c 69 | 63 20 4c 69 63 65 6e 73 |al Publi|c Licens|
|00005d70| 65 20 66 6f 72 20 6d 6f | 72 65 20 64 65 74 61 69 |e for mo|re detai|
|00005d80| 6c 73 2e 0a 58 20 2a 0a | 58 20 2a 20 59 6f 75 20 |ls..X *.|X * You |
|00005d90| 73 68 6f 75 6c 64 20 68 | 61 76 65 20 72 65 63 65 |should h|ave rece|
|00005da0| 69 76 65 64 20 61 20 63 | 6f 70 79 20 6f 66 20 74 |ived a c|opy of t|
|00005db0| 68 65 20 47 4e 55 20 47 | 65 6e 65 72 61 6c 20 50 |he GNU G|eneral P|
|00005dc0| 75 62 6c 69 63 20 4c 69 | 63 65 6e 73 65 0a 58 20 |ublic Li|cense.X |
|00005dd0| 2a 20 61 6c 6f 6e 67 20 | 77 69 74 68 20 74 68 69 |* along |with thi|
|00005de0| 73 20 70 72 6f 67 72 61 | 6d 3b 20 69 66 20 6e 6f |s progra|m; if no|
|00005df0| 74 2c 20 77 72 69 74 65 | 20 74 6f 20 74 68 65 20 |t, write| to the |
|00005e00| 46 72 65 65 20 53 6f 66 | 74 77 61 72 65 0a 58 20 |Free Sof|tware.X |
|00005e10| 2a 20 46 6f 75 6e 64 61 | 74 69 6f 6e 2c 20 49 6e |* Founda|tion, In|
|00005e20| 63 2e 2c 20 36 37 35 20 | 4d 61 73 73 20 41 76 65 |c., 675 |Mass Ave|
|00005e30| 2c 20 43 61 6d 62 72 69 | 64 67 65 2c 20 4d 41 20 |, Cambri|dge, MA |
|00005e40| 30 32 31 33 39 2c 20 55 | 53 41 2e 0a 58 20 2a 2f |02139, U|SA..X */|
|00005e50| 0a 58 0a 58 23 69 6e 63 | 6c 75 64 65 20 3c 73 74 |.X.X#inc|lude <st|
|00005e60| 64 69 6f 2e 68 3e 0a 58 | 23 69 6e 63 6c 75 64 65 |dio.h>.X|#include|
|00005e70| 20 3c 68 6f 77 61 72 64 | 2f 70 6f 72 74 2e 68 3e | <howard|/port.h>|
|00005e80| 0a 58 23 69 6e 63 6c 75 | 64 65 20 3c 68 6f 77 61 |.X#inclu|de <howa|
|00005e90| 72 64 2f 76 65 72 73 69 | 6f 6e 2e 68 3e 0a 58 23 |rd/versi|on.h>.X#|
|00005ea0| 69 6e 63 6c 75 64 65 20 | 3c 68 6f 77 61 72 64 2f |include |<howard/|
|00005eb0| 75 73 61 67 65 2e 68 3e | 0a 58 0a 58 4d 41 49 4e |usage.h>|.X.XMAIN|
|00005ec0| 56 45 52 20 28 22 40 28 | 23 29 24 48 65 61 64 65 |VER ("@(|#)$Heade|
|00005ed0| 72 3a 20 37 38 63 6f 64 | 65 32 63 2e 63 2c 76 20 |r: 78cod|e2c.c,v |
|00005ee0| 31 2e 32 20 38 39 2f 30 | 38 2f 32 36 20 31 33 3a |1.2 89/0|8/26 13:|
|00005ef0| 32 35 3a 35 39 20 68 6f | 77 61 72 64 20 45 78 70 |25:59 ho|ward Exp|
|00005f00| 20 24 22 29 3b 0a 58 55 | 53 41 47 45 20 28 22 65 | $");.XU|SAGE ("e|
|00005f10| 6e 63 6f 64 69 6e 67 73 | 20 3e 20 63 2d 63 6f 64 |ncodings| > c-cod|
|00005f20| 65 22 29 3b 0a 58 0a 58 | 23 69 6e 63 6c 75 64 65 |e");.X.X|#include|
|00005f30| 20 3c 73 74 72 69 6e 67 | 2e 68 3e 0a 58 23 69 6e | <string|.h>.X#in|
|00005f40| 63 6c 75 64 65 20 3c 68 | 6f 77 61 72 64 2f 6d 61 |clude <h|oward/ma|
|00005f50| 6c 66 2e 68 3e 0a 58 23 | 69 6e 63 6c 75 64 65 20 |lf.h>.X#|include |
|00005f60| 3c 68 6f 77 61 72 64 2f | 72 65 67 69 73 74 65 72 |<howard/|register|
|00005f70| 73 2e 69 3e 0a 58 23 69 | 6e 63 6c 75 64 65 20 22 |s.i>.X#i|nclude "|
|00005f80| 63 7a 2e 68 22 0a 58 23 | 69 6e 63 6c 75 64 65 20 |cz.h".X#|include |
|00005f90| 22 37 38 2e 68 22 0a 58 | 23 69 6e 63 6c 75 64 65 |"78.h".X|#include|
|00005fa0| 20 22 37 38 63 6f 64 65 | 2e 68 22 0a 58 0c 0a 58 | "78code|.h".X..X|
|00005fb0| 2f 2a 20 6d 61 69 6e 20 | 2d 20 6d 61 69 6e 20 66 |/* main |- main f|
|00005fc0| 75 6e 63 74 69 6f 6e 09 | 09 09 09 09 09 09 2a 2f |unction.|......*/|
|00005fd0| 0a 58 0a 58 50 55 42 4c | 49 43 20 69 6e 74 20 6d |.X.XPUBL|IC int m|
|00005fe0| 61 69 6e 20 28 61 72 67 | 63 2c 20 61 72 67 76 29 |ain (arg|c, argv)|
|00005ff0| 0a 58 69 6e 74 20 20 20 | 20 61 72 67 63 3b 20 2f |.Xint | argc; /|
|00006000| 2a 20 4e 75 6d 62 65 72 | 20 6f 66 20 61 72 67 75 |* Number| of argu|
|00006010| 6d 65 6e 74 73 2e 2a 2f | 0a 58 62 53 74 72 54 20 |ments.*/|.XbStrT |
|00006020| 2a 61 72 67 76 3b 20 2f | 2a 20 50 6f 69 6e 74 73 |*argv; /|* Points|
|00006030| 20 74 6f 20 61 72 72 61 | 79 20 6f 66 20 61 72 67 | to arra|y of arg|
|00006040| 75 6d 65 6e 74 20 73 74 | 72 69 6e 67 73 2e 2a 2f |ument st|rings.*/|
|00006050| 0a 58 0a 58 2f 2a 20 46 | 75 6e 63 74 69 6f 6e 3a |.X.X/* F|unction:|
|00006060| 0a 58 20 2a 20 20 20 20 | 0a 58 20 2a 20 41 6c 67 |.X * |.X * Alg|
|00006070| 6f 72 69 74 68 6d 3a 0a | 58 20 2a 20 20 20 20 0a |orithm:.|X * .|
|00006080| 58 20 2a 20 4e 6f 74 65 | 73 3a 0a 58 20 2a 20 20 |X * Note|s:.X * |
|00006090| 20 20 0a 58 20 2a 2f 0a | 58 0a 58 7b 0a 58 52 31 | .X */.|X.X{.XR1|
|000060a0| 20 62 53 74 72 54 20 70 | 31 3b 20 2f 2a 20 53 74 | bStrT p|1; /* St|
|000060b0| 65 70 73 20 74 68 72 6f | 75 67 68 20 62 79 74 65 |eps thro|ugh byte|
|000060c0| 32 74 5b 5d 20 61 6e 64 | 20 74 32 62 79 74 65 5b |2t[] and| t2byte[|
|000060d0| 5d 2e 2a 2f 0a 58 52 32 | 20 62 53 74 72 54 20 70 |].*/.XR2| bStrT p|
|000060e0| 32 3b 20 2f 2a 20 45 6e | 64 20 6f 66 20 62 79 74 |2; /* En|d of byt|
|000060f0| 65 32 74 5b 5d 20 6f 72 | 20 74 32 62 79 74 65 5b |e2t[] or| t2byte[|
|00006100| 5d 2e 2a 2f 0a 58 0a 58 | 69 66 20 28 32 20 21 3d |].*/.X.X|if (2 !=|
|00006110| 20 61 72 67 63 29 20 75 | 73 61 67 65 28 29 3b 0a | argc) u|sage();.|
|00006120| 58 72 64 63 6f 64 65 20 | 28 61 72 67 76 5b 31 5d |Xrdcode |(argv[1]|
|00006130| 29 3b 0a 58 50 55 54 53 | 20 28 22 50 52 49 56 41 |);.XPUTS| ("PRIVA|
|00006140| 54 45 20 62 79 74 65 54 | 20 62 79 74 65 32 74 5b |TE byteT| byte2t[|
|00006150| 32 35 36 5d 20 3d 20 2f | 2a 20 4d 61 70 20 65 61 |256] = /|* Map ea|
|00006160| 63 68 20 62 79 74 65 20 | 74 6f 20 61 20 74 72 69 |ch byte |to a tri|
|00006170| 67 72 61 6d 20 63 6f 64 | 65 2e 2a 2f 22 29 3b 0a |gram cod|e.*/");.|
|00006180| 58 50 55 54 53 20 28 22 | 7b 22 29 3b 0a 58 70 31 |XPUTS ("|{");.Xp1|
|00006190| 20 3d 20 62 79 74 65 32 | 74 3b 0a 58 66 6f 72 20 | = byte2|t;.Xfor |
|000061a0| 28 70 32 20 3d 20 70 31 | 20 2b 20 32 35 36 3b 20 |(p2 = p1| + 256; |
|000061b0| 70 31 20 21 3d 20 70 32 | 3b 20 2b 2b 70 31 29 0a |p1 != p2|; ++p1).|
|000061c0| 58 20 20 20 50 52 49 4e | 54 46 20 28 22 25 64 2c |X PRIN|TF ("%d,|
|000061d0| 5c 6e 22 2c 20 42 28 2a | 70 31 29 29 3b 0a 58 50 |\n", B(*|p1));.XP|
|000061e0| 55 54 53 20 28 22 7d 3b | 5c 6e 22 29 3b 0a 58 50 |UTS ("};|\n");.XP|
|000061f0| 55 54 53 20 28 0a 58 22 | 50 52 49 56 41 54 45 20 |UTS (.X"|PRIVATE |
|00006200| 62 79 74 65 54 20 74 32 | 62 79 74 65 5b 54 52 49 |byteT t2|byte[TRI|
|00006210| 4e 4f 4e 45 5d 20 3d 20 | 2f 2a 20 4d 61 70 20 74 |NONE] = |/* Map t|
|00006220| 72 69 67 72 61 6d 20 63 | 6f 64 65 20 74 6f 20 70 |rigram c|ode to p|
|00006230| 72 69 6e 74 61 62 6c 65 | 20 63 68 61 72 61 63 74 |rintable| charact|
|00006240| 65 72 2e 2a 2f 22 0a 58 | 20 20 20 20 20 29 3b 0a |er.*/".X| );.|
|00006250| 58 50 55 54 53 20 28 22 | 7b 22 29 3b 0a 58 70 31 |XPUTS ("|{");.Xp1|
|00006260| 20 3d 20 74 32 62 79 74 | 65 3b 0a 58 66 6f 72 20 | = t2byt|e;.Xfor |
|00006270| 28 70 32 20 3d 20 70 31 | 20 2b 20 54 52 49 4e 4f |(p2 = p1| + TRINO|
|00006280| 4e 45 3b 20 70 31 20 21 | 3d 20 70 32 3b 20 2b 2b |NE; p1 !|= p2; ++|
|00006290| 70 31 29 0a 58 20 20 20 | 50 52 49 4e 54 46 20 28 |p1).X |PRINTF (|
|000062a0| 22 27 25 63 27 2c 5c 6e | 22 2c 20 28 45 4f 53 20 |"'%c',\n|", (EOS |
|000062b0| 3d 3d 20 42 28 2a 70 31 | 29 29 20 3f 20 27 3f 27 |== B(*p1|)) ? '?'|
|000062c0| 20 3a 20 42 28 2a 70 31 | 29 29 3b 0a 58 50 55 54 | : B(*p1|));.XPUT|
|000062d0| 53 20 28 22 7d 3b 22 29 | 3b 0a 58 6d 66 66 6c 75 |S ("};")|;.Xmfflu|
|000062e0| 73 68 20 28 73 74 64 6f | 75 74 2c 20 53 28 22 53 |sh (stdo|ut, S("S|
|000062f0| 74 61 6e 64 61 72 64 20 | 4f 75 74 70 75 74 22 29 |tandard |Output")|
|00006300| 29 3b 0a 58 65 78 69 74 | 20 28 53 55 43 43 45 53 |);.Xexit| (SUCCES|
|00006310| 53 29 3b 0a 58 0a 58 23 | 69 66 64 65 66 20 6c 69 |S);.X.X#|ifdef li|
|00006320| 6e 74 0a 58 72 65 74 75 | 72 6e 20 28 53 55 43 43 |nt.Xretu|rn (SUCC|
|00006330| 45 53 53 29 3b 0a 58 23 | 65 6e 64 69 66 0a 58 7d |ESS);.X#|endif.X}|
|00006340| 0a 45 4e 44 5f 4f 46 5f | 46 49 4c 45 0a 69 66 20 |.END_OF_|FILE.if |
|00006350| 74 65 73 74 20 31 39 38 | 37 20 2d 6e 65 20 60 77 |test 198|7 -ne `w|
|00006360| 63 20 2d 63 20 3c 27 37 | 38 63 6f 64 65 32 63 2e |c -c <'7|8code2c.|
|00006370| 63 27 60 3b 20 74 68 65 | 6e 0a 20 20 20 20 65 63 |c'`; the|n. ec|
|00006380| 68 6f 20 73 68 61 72 3a | 20 5c 22 27 37 38 63 6f |ho shar:| \"'78co|
|00006390| 64 65 32 63 2e 63 27 5c | 22 20 75 6e 70 61 63 6b |de2c.c'\|" unpack|
|000063a0| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|000063b0| 7a 65 21 0a 66 69 0a 23 | 20 65 6e 64 20 6f 66 20 |ze!.fi.#| end of |
|000063c0| 27 37 38 63 6f 64 65 32 | 63 2e 63 27 0a 66 69 0a |'78code2|c.c'.fi.|
|000063d0| 69 66 20 74 65 73 74 20 | 2d 66 20 27 37 38 63 6f |if test |-f '78co|
|000063e0| 6d 6d 6f 6e 2e 68 27 20 | 2d 61 20 22 24 7b 31 7d |mmon.h' |-a "${1}|
|000063f0| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.