home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
You can browse this item here: nroffdri.ver
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%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/rfc822
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 53 75 62 6a 65 63 74 3a | 20 20 76 31 33 69 30 36 |Subject:| v13i06|
|00000010| 39 3a 20 20 4e 72 6f 66 | 66 20 64 72 69 76 65 72 |9: Nrof|f driver|
|00000020| 20 74 61 62 6c 65 20 75 | 74 69 6c 69 74 79 0a 4e | table u|tility.N|
|00000030| 65 77 73 67 72 6f 75 70 | 73 3a 20 63 6f 6d 70 2e |ewsgroup|s: comp.|
|00000040| 73 6f 75 72 63 65 73 2e | 75 6e 69 78 2c 63 6f 6d |sources.|unix,com|
|00000050| 70 2e 74 65 78 74 0a 53 | 65 6e 64 65 72 3a 20 73 |p.text.S|ender: s|
|00000060| 6f 75 72 63 65 73 0a 41 | 70 70 72 6f 76 65 64 3a |ources.A|pproved:|
|00000070| 20 72 73 61 6c 7a 40 75 | 75 6e 65 74 2e 55 55 2e | rsalz@u|unet.UU.|
|00000080| 4e 45 54 0a 0a 53 75 62 | 6d 69 74 74 65 64 2d 62 |NET..Sub|mitted-b|
|00000090| 79 3a 20 75 74 7a 6f 6f | 21 62 6e 72 2d 76 70 61 |y: utzoo|!bnr-vpa|
|000000a0| 21 62 72 75 63 65 0a 50 | 6f 73 74 69 6e 67 2d 6e |!bruce.P|osting-n|
|000000b0| 75 6d 62 65 72 3a 20 56 | 6f 6c 75 6d 65 20 31 33 |umber: V|olume 13|
|000000c0| 2c 20 49 73 73 75 65 20 | 36 39 0a 41 72 63 68 69 |, Issue |69.Archi|
|000000d0| 76 65 2d 6e 61 6d 65 3a | 20 6e 72 6f 66 66 2d 64 |ve-name:| nroff-d|
|000000e0| 72 69 76 65 72 0a 0a 0a | 09 57 68 61 74 20 66 6f |river...|.What fo|
|000000f0| 6c 6c 6f 77 73 20 69 73 | 20 61 20 73 68 61 72 20 |llows is| a shar |
|00000100| 6f 66 20 74 68 65 20 6c | 61 74 65 73 74 20 76 65 |of the l|atest ve|
|00000110| 72 73 69 6f 6e 20 6f 66 | 20 6d 79 20 6e 72 6f 66 |rsion of| my nrof|
|00000120| 66 20 64 72 69 76 65 72 | 0a 74 61 62 6c 65 20 66 |f driver|.table f|
|00000130| 61 63 69 6c 69 74 79 2c | 20 77 68 69 63 68 20 68 |acility,| which h|
|00000140| 61 73 20 62 65 65 6e 20 | 75 73 65 64 20 69 6e 20 |as been |used in |
|00000150| 74 77 6f 20 70 72 65 76 | 69 6f 75 73 20 69 6e 63 |two prev|ious inc|
|00000160| 61 72 6e 61 74 69 6f 6e | 73 20 62 79 20 61 0a 63 |arnation|s by a.c|
|00000170| 6f 72 65 20 67 72 6f 75 | 70 20 6f 66 20 64 69 65 |ore grou|p of die|
|00000180| 2d 68 61 72 64 20 6e 72 | 6f 66 66 20 75 73 65 72 |-hard nr|off user|
|00000190| 73 2e 20 20 54 68 69 73 | 20 76 65 72 73 69 6f 6e |s. This| version|
|000001a0| 20 66 69 78 65 73 20 73 | 6f 6d 65 20 62 75 67 73 | fixes s|ome bugs|
|000001b0| 2c 20 61 64 64 73 0a 73 | 6f 6d 65 20 66 75 6e 63 |, adds.s|ome func|
|000001c0| 74 69 6f 6e 61 6c 69 74 | 79 2c 20 61 6e 64 20 61 |tionalit|y, and a|
|000001d0| 63 63 6f 6d 6f 64 61 74 | 65 73 20 48 50 27 73 20 |ccomodat|es HP's |
|000001e0| 6c 61 74 65 73 74 20 70 | 65 72 76 65 72 73 69 6f |latest p|erversio|
|000001f0| 6e 20 6f 66 20 6e 72 6f | 66 66 2e 0a 0a 42 72 75 |n of nro|ff...Bru|
|00000200| 63 65 20 54 6f 77 6e 73 | 65 6e 64 20 28 62 6e 72 |ce Towns|end (bnr|
|00000210| 2d 76 70 61 21 62 72 75 | 63 65 29 09 50 68 6f 6e |-vpa!bru|ce).Phon|
|00000220| 65 3a 09 28 36 31 33 29 | 20 37 32 36 2d 33 30 30 |e:.(613)| 726-300|
|00000230| 38 0a 42 65 6c 6c 2d 4e | 6f 72 74 68 65 72 6e 20 |8.Bell-N|orthern |
|00000240| 52 65 73 65 61 72 63 68 | 09 09 55 73 65 6e 65 74 |Research|..Usenet|
|00000250| 3a 20 7b 75 74 7a 6f 6f | 2c 20 75 74 63 73 7d 21 |: {utzoo|, utcs}!|
|00000260| 62 6e 72 2d 76 70 61 21 | 62 72 75 63 65 0a 50 2e |bnr-vpa!|bruce.P.|
|00000270| 4f 2e 20 42 6f 78 20 33 | 35 31 31 2c 20 53 74 61 |O. Box 3|511, Sta|
|00000280| 74 69 6f 6e 20 43 2c 20 | 4f 74 74 61 77 61 2c 20 |tion C, |Ottawa, |
|00000290| 4f 6e 74 61 72 69 6f 2c | 20 43 61 6e 61 64 61 2c |Ontario,| Canada,|
|000002a0| 20 4b 31 59 20 34 48 37 | 0a 0a 23 21 2f 62 69 6e | K1Y 4H7|..#!/bin|
|000002b0| 2f 73 68 0a 23 20 54 68 | 69 73 20 69 73 20 61 20 |/sh.# Th|is is a |
|000002c0| 73 68 65 6c 6c 20 61 72 | 63 68 69 76 65 2c 20 6d |shell ar|chive, m|
|000002d0| 65 61 6e 69 6e 67 3a 0a | 23 20 31 2e 20 52 65 6d |eaning:.|# 1. Rem|
|000002e0| 6f 76 65 20 65 76 65 72 | 79 74 68 69 6e 67 20 61 |ove ever|ything a|
|000002f0| 62 6f 76 65 20 74 68 65 | 20 23 21 2f 62 69 6e 2f |bove the| #!/bin/|
|00000300| 73 68 20 6c 69 6e 65 2e | 0a 23 20 32 2e 20 53 61 |sh line.|.# 2. Sa|
|00000310| 76 65 20 74 68 65 20 72 | 65 73 75 6c 74 69 6e 67 |ve the r|esulting|
|00000320| 20 74 65 78 74 20 69 6e | 20 61 20 66 69 6c 65 2e | text in| a file.|
|00000330| 0a 23 20 33 2e 20 45 78 | 65 63 75 74 65 20 74 68 |.# 3. Ex|ecute th|
|00000340| 65 20 66 69 6c 65 20 77 | 69 74 68 20 2f 62 69 6e |e file w|ith /bin|
|00000350| 2f 73 68 20 28 6e 6f 74 | 20 63 73 68 29 20 74 6f |/sh (not| csh) to|
|00000360| 20 63 72 65 61 74 65 20 | 74 68 65 20 66 69 6c 65 | create |the file|
|00000370| 73 3a 0a 23 09 52 45 41 | 44 4d 45 0a 23 09 4d 61 |s:.#.REA|DME.#.Ma|
|00000380| 6b 65 66 69 6c 65 0a 23 | 09 74 61 62 6c 65 2e 35 |kefile.#|.table.5|
|00000390| 0a 23 09 65 6c 62 61 74 | 2e 63 0a 23 09 74 61 62 |.#.elbat|.c.#.tab|
|000003a0| 6c 65 2e 63 0a 23 09 74 | 61 62 6c 65 2e 68 0a 23 |le.c.#.t|able.h.#|
|000003b0| 09 74 61 62 6c 6a 65 74 | 2e 63 0a 65 78 70 6f 72 |.tabljet|.c.expor|
|000003c0| 74 20 50 41 54 48 3b 20 | 50 41 54 48 3d 2f 62 69 |t PATH; |PATH=/bi|
|000003d0| 6e 3a 24 50 41 54 48 0a | 65 63 68 6f 20 73 68 61 |n:$PATH.|echo sha|
|000003e0| 72 3a 20 65 78 74 72 61 | 63 74 69 6e 67 20 22 27 |r: extra|cting "'|
|000003f0| 52 45 41 44 4d 45 27 22 | 20 27 28 34 34 32 39 20 |README'"| '(4429 |
|00000400| 63 68 61 72 61 63 74 65 | 72 73 29 27 0a 69 66 20 |characte|rs)'.if |
|00000410| 74 65 73 74 20 2d 66 20 | 27 52 45 41 44 4d 45 27 |test -f |'README'|
|00000420| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00000430| 3a 20 6f 76 65 72 2d 77 | 72 69 74 69 6e 67 20 65 |: over-w|riting e|
|00000440| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 22 27 52 |xisting |file "'R|
|00000450| 45 41 44 4d 45 27 22 0a | 66 69 0a 73 65 64 20 27 |EADME'".|fi.sed '|
|00000460| 73 2f 5e 58 2f 2f 27 20 | 3c 3c 20 5c 53 48 41 52 |s/^X//' |<< \SHAR|
|00000470| 5f 45 4f 46 20 3e 20 27 | 52 45 41 44 4d 45 27 0a |_EOF > '|README'.|
|00000480| 58 09 4e 72 6f 66 66 20 | 44 72 69 76 65 72 20 54 |X.Nroff |Driver T|
|00000490| 61 62 6c 65 20 43 6f 6d | 70 69 6c 65 72 2f 44 65 |able Com|piler/De|
|000004a0| 2d 63 6f 6d 70 69 6c 65 | 72 20 55 74 69 6c 69 74 |-compile|r Utilit|
|000004b0| 79 0a 58 09 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |y.X.----|--------|
|000004c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000004d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000004e0| 2d 2d 2d 0a 58 0a 58 09 | 54 68 65 72 65 20 61 72 |---.X.X.|There ar|
|000004f0| 65 20 74 77 6f 20 70 72 | 6f 67 72 61 6d 73 20 69 |e two pr|ograms i|
|00000500| 6e 20 74 68 69 73 20 70 | 61 63 6b 61 67 65 2e 20 |n this p|ackage. |
|00000510| 20 54 61 62 6c 65 20 63 | 6f 6d 70 69 6c 65 73 20 | Table c|ompiles |
|00000520| 61 6e 0a 58 6e 72 6f 66 | 66 20 74 65 72 6d 69 6e |an.Xnrof|f termin|
|00000530| 61 6c 20 64 72 69 76 65 | 72 20 74 61 62 6c 65 20 |al drive|r table |
|00000540| 66 72 6f 6d 20 73 6f 75 | 72 63 65 2c 20 61 6e 64 |from sou|rce, and|
|00000550| 20 65 6c 62 61 74 2c 20 | 74 68 65 20 69 6e 76 65 | elbat, |the inve|
|00000560| 72 73 65 0a 58 6f 70 65 | 72 61 74 6f 72 2c 20 64 |rse.Xope|rator, d|
|00000570| 65 2d 63 6f 6d 70 69 6c | 65 73 20 61 6e 20 65 78 |e-compil|es an ex|
|00000580| 69 73 74 69 6e 67 20 66 | 6f 72 6d 61 74 74 65 64 |isting f|ormatted|
|00000590| 20 74 61 62 6c 65 20 74 | 6f 20 70 72 6f 64 75 63 | table t|o produc|
|000005a0| 65 20 61 0a 58 73 6f 75 | 72 63 65 2e 20 20 54 68 |e a.Xsou|rce. Th|
|000005b0| 65 72 65 20 69 73 20 61 | 6c 73 6f 20 61 20 73 61 |ere is a|lso a sa|
|000005c0| 6d 70 6c 65 20 64 72 69 | 76 65 72 20 73 6f 75 72 |mple dri|ver sour|
|000005d0| 63 65 2c 20 6b 69 6e 64 | 6c 79 20 70 72 6f 76 69 |ce, kind|ly provi|
|000005e0| 64 65 64 20 62 79 0a 58 | 42 6f 20 54 68 69 64 65 |ded by.X|Bo Thide|
|000005f0| 27 2c 20 66 6f 72 20 74 | 68 65 20 48 50 20 4c 61 |', for t|he HP La|
|00000600| 73 65 72 4a 65 74 2b 20 | 75 73 69 6e 67 20 61 20 |serJet+ |using a |
|00000610| 4d 61 74 68 20 45 6c 69 | 74 65 20 66 6f 6e 74 20 |Math Eli|te font |
|00000620| 63 61 72 74 72 69 64 67 | 65 2e 0a 58 41 20 6d 61 |cartridg|e..XA ma|
|00000630| 6e 20 70 61 67 65 2c 20 | 61 20 4d 61 6b 65 66 69 |n page, |a Makefi|
|00000640| 6c 65 2c 20 61 6e 64 20 | 74 68 69 73 20 52 45 41 |le, and |this REA|
|00000650| 44 4d 45 20 66 69 6c 65 | 20 61 72 65 20 61 6c 73 |DME file| are als|
|00000660| 6f 20 70 72 6f 76 69 64 | 65 64 2e 0a 58 0a 58 09 |o provid|ed..X.X.|
|00000670| 54 68 69 73 20 69 73 20 | 76 65 72 73 69 6f 6e 20 |This is |version |
|00000680| 32 2e 30 20 6f 66 20 74 | 68 65 20 74 61 62 6c 65 |2.0 of t|he table|
|00000690| 20 75 74 69 6c 69 74 79 | 2c 20 73 75 70 65 72 63 | utility|, superc|
|000006a0| 65 64 69 6e 67 20 76 65 | 72 73 69 6f 6e 73 0a 58 |eding ve|rsions.X|
|000006b0| 31 2e 31 20 61 6e 64 20 | 31 2e 32 2e 20 20 4e 65 |1.1 and |1.2. Ne|
|000006c0| 77 20 66 65 61 74 75 72 | 65 73 20 6f 66 20 76 65 |w featur|es of ve|
|000006d0| 72 73 69 6f 6e 20 32 2e | 30 20 61 72 65 3a 0a 58 |rsion 2.|0 are:.X|
|000006e0| 2d 20 20 53 75 70 70 6f | 72 74 20 66 6f 72 20 4b |- Suppo|rt for K|
|000006f0| 61 6e 6a 69 20 63 68 61 | 72 61 63 74 65 72 73 2e |anji cha|racters.|
|00000700| 20 20 54 68 65 72 65 20 | 69 73 20 61 20 6e 65 77 | There |is a new|
|00000710| 20 65 6c 65 6d 65 6e 74 | 20 69 6e 20 74 68 65 20 | element| in the |
|00000720| 74 61 62 6c 65 0a 58 20 | 20 20 63 61 6c 6c 65 64 |table.X | called|
|00000730| 20 4b 63 68 61 72 2e 20 | 20 54 68 69 73 20 69 73 | Kchar. | This is|
|00000740| 20 61 20 66 65 61 74 75 | 72 65 20 6f 66 20 48 50 | a featu|re of HP|
|00000750| 27 73 20 6c 61 74 65 73 | 74 20 72 65 6c 65 61 73 |'s lates|t releas|
|00000760| 65 20 66 6f 72 20 74 68 | 65 69 72 0a 58 20 20 20 |e for th|eir.X |
|00000770| 39 30 30 30 20 73 65 72 | 69 65 73 20 63 6f 6d 70 |9000 ser|ies comp|
|00000780| 75 74 65 72 73 2e 0a 58 | 2d 20 20 41 20 62 65 74 |uters..X|- A bet|
|00000790| 74 65 72 20 4d 61 6b 65 | 66 69 6c 65 2e 0a 58 2d |ter Make|file..X-|
|000007a0| 20 20 41 20 2d 64 20 64 | 65 62 75 67 20 6f 70 74 | A -d d|ebug opt|
|000007b0| 69 6f 6e 20 66 6f 72 20 | 65 6c 62 61 74 2e 0a 58 |ion for |elbat..X|
|000007c0| 2d 20 20 54 68 65 20 63 | 6f 6d 70 69 6c 65 64 20 |- The c|ompiled |
|000007d0| 74 61 62 6c 65 20 73 68 | 6f 75 6c 64 20 6e 6f 77 |table sh|ould now|
|000007e0| 20 62 65 20 62 69 74 2d | 66 6f 72 2d 62 69 74 20 | be bit-|for-bit |
|000007f0| 69 64 65 6e 74 69 63 61 | 6c 20 74 6f 20 74 68 61 |identica|l to tha|
|00000800| 74 0a 58 20 20 20 73 75 | 70 70 6c 69 65 64 20 77 |t.X su|pplied w|
|00000810| 69 74 68 20 79 6f 75 72 | 20 73 79 73 74 65 6d 2c |ith your| system,|
|00000820| 20 67 69 76 65 6e 20 74 | 68 65 20 73 61 6d 65 20 | given t|he same |
|00000830| 73 6f 75 72 63 65 20 66 | 69 6c 65 2e 20 20 54 6f |source f|ile. To|
|00000840| 20 74 65 73 74 20 74 68 | 69 73 2c 0a 58 20 20 20 | test th|is,.X |
|00000850| 64 65 63 6f 6d 70 69 6c | 65 20 61 20 73 75 70 70 |decompil|e a supp|
|00000860| 6c 69 65 64 20 74 61 62 | 66 69 6c 65 20 77 69 74 |lied tab|file wit|
|00000870| 68 20 65 6c 62 61 74 2c | 20 72 65 63 6f 6d 70 69 |h elbat,| recompi|
|00000880| 6c 65 20 74 68 65 20 72 | 65 73 75 6c 74 61 6e 74 |le the r|esultant|
|00000890| 0a 58 20 20 20 73 6f 75 | 72 63 65 2c 20 61 6e 64 |.X sou|rce, and|
|000008a0| 20 63 6d 70 20 74 68 65 | 20 72 65 73 75 6c 74 20 | cmp the| result |
|000008b0| 77 69 74 68 20 74 68 65 | 20 73 75 70 70 6c 69 65 |with the| supplie|
|000008c0| 64 20 74 61 62 66 69 6c | 65 2e 20 20 54 68 69 73 |d tabfil|e. This|
|000008d0| 20 69 73 20 74 72 75 65 | 0a 58 20 20 20 61 74 20 | is true|.X at |
|000008e0| 6c 65 61 73 74 20 66 6f | 72 20 74 68 65 20 66 69 |least fo|r the fi|
|000008f0| 6c 65 73 20 6f 6e 20 6d | 79 20 73 79 73 74 65 6d |les on m|y system|
|00000900| 20 28 48 50 39 30 30 30 | 20 73 65 72 69 65 73 20 | (HP9000| series |
|00000910| 35 32 30 2c 20 48 50 55 | 58 20 35 2e 32 29 0a 58 |520, HPU|X 5.2).X|
|00000920| 2d 20 20 53 65 76 65 72 | 61 6c 20 62 75 67 73 20 |- Sever|al bugs |
|00000930| 66 69 78 65 64 2e 0a 58 | 2d 20 20 41 20 6d 61 6e |fixed..X|- A man|
|00000940| 20 70 61 67 65 2c 20 74 | 61 62 6c 65 2e 35 0a 58 | page, t|able.5.X|
|00000950| 0a 58 09 53 6f 75 72 63 | 65 73 20 66 6f 72 20 74 |.X.Sourc|es for t|
|00000960| 68 65 20 74 61 62 20 66 | 69 6c 65 73 20 61 72 65 |he tab f|iles are|
|00000970| 20 69 6e 20 27 43 27 2c | 20 61 6e 64 20 63 6f 6e | in 'C',| and con|
|00000980| 73 69 73 74 20 73 69 6d | 70 6c 79 20 6f 66 0a 58 |sist sim|ply of.X|
|00000990| 61 6e 20 69 6e 69 74 69 | 61 6c 69 7a 65 64 20 73 |an initi|alized s|
|000009a0| 74 72 75 63 74 75 72 65 | 2e 20 20 54 68 69 73 20 |tructure|. This |
|000009b0| 73 74 72 75 63 74 75 72 | 65 20 69 73 20 63 6f 6d |structur|e is com|
|000009c0| 70 69 6c 65 64 20 61 6e | 64 20 6c 69 6e 6b 65 64 |piled an|d linked|
|000009d0| 20 74 6f 0a 58 74 68 65 | 20 6d 61 69 6e 20 70 72 | to.Xthe| main pr|
|000009e0| 6f 67 72 61 6d 20 6d 6f | 64 75 6c 65 2c 20 74 61 |ogram mo|dule, ta|
|000009f0| 62 6c 65 2e 6f 20 28 63 | 6f 6d 70 69 6c 65 64 20 |ble.o (c|ompiled |
|00000a00| 66 72 6f 6d 20 74 61 62 | 6c 65 2e 63 29 2c 20 74 |from tab|le.c), t|
|00000a10| 6f 0a 58 70 72 6f 64 75 | 63 65 20 61 6e 20 65 78 |o.Xprodu|ce an ex|
|00000a20| 65 63 75 74 61 62 6c 65 | 20 61 2e 6f 75 74 20 66 |ecutable| a.out f|
|00000a30| 69 6c 65 2e 20 20 54 68 | 69 73 20 66 69 6c 65 20 |ile. Th|is file |
|00000a40| 77 68 65 6e 20 65 78 65 | 63 75 74 65 64 20 70 72 |when exe|cuted pr|
|00000a50| 6f 64 75 63 65 73 0a 58 | 74 68 65 20 63 6f 6d 70 |oduces.X|the comp|
|00000a60| 69 6c 65 64 20 74 61 62 | 20 66 69 6c 65 2e 0a 58 |iled tab| file..X|
|00000a70| 09 41 20 4d 61 6b 65 66 | 69 6c 65 20 69 73 20 70 |.A Makef|ile is p|
|00000a80| 72 6f 76 69 64 65 64 20 | 74 6f 20 66 6f 72 6d 61 |rovided |to forma|
|00000a90| 6c 69 7a 65 20 74 68 69 | 73 20 70 72 6f 63 65 64 |lize thi|s proced|
|00000aa0| 75 72 65 2e 20 20 54 68 | 65 0a 58 73 6f 75 72 63 |ure. Th|e.Xsourc|
|00000ab0| 65 73 20 66 6f 72 20 74 | 68 65 20 76 61 72 69 6f |es for t|he vario|
|00000ac0| 75 73 20 74 65 72 6d 69 | 6e 61 6c 73 20 28 61 6c |us termi|nals (al|
|00000ad0| 6c 20 66 69 6c 65 73 20 | 6e 61 6d 65 64 20 74 61 |l files |named ta|
|00000ae0| 62 58 58 58 58 2e 63 2c | 20 77 68 65 72 65 0a 58 |bXXXX.c,| where.X|
|00000af0| 58 58 58 58 20 69 73 20 | 72 65 70 6c 61 63 65 64 |XXXX is |replaced|
|00000b00| 20 62 79 20 61 20 73 68 | 6f 72 74 20 61 63 72 6f | by a sh|ort acro|
|00000b10| 6e 79 6d 20 66 6f 72 20 | 74 68 65 20 74 65 72 6d |nym for |the term|
|00000b20| 69 6e 61 6c 3a 20 65 2e | 67 2e 20 74 61 62 34 35 |inal: e.|g. tab45|
|00000b30| 30 2e 63 29 0a 58 61 72 | 65 20 69 6e 63 6c 75 64 |0.c).Xar|e includ|
|00000b40| 65 64 20 74 68 65 20 74 | 68 65 20 53 4f 55 52 43 |ed the t|he SOURC|
|00000b50| 45 53 20 64 65 66 69 6e | 69 74 69 6f 6e 20 69 6e |ES defin|ition in|
|00000b60| 20 74 68 65 20 4d 61 6b | 65 66 69 6c 65 2e 20 20 | the Mak|efile. |
|00000b70| 54 79 70 69 6e 67 0a 58 | 22 6d 61 6b 65 22 20 6f |Typing.X|"make" o|
|00000b80| 72 20 22 6d 61 6b 65 20 | 61 6c 6c 22 20 63 6f 6d |r "make |all" com|
|00000b90| 70 69 6c 65 73 20 74 68 | 65 73 65 20 73 6f 75 72 |piles th|ese sour|
|00000ba0| 63 65 73 2c 20 61 6e 64 | 20 72 75 6e 73 20 74 68 |ces, and| runs th|
|00000bb0| 65 20 65 78 65 63 75 74 | 61 62 6c 65 0a 58 61 2e |e execut|able.Xa.|
|00000bc0| 6f 75 74 20 66 69 6c 65 | 73 20 74 6f 20 70 72 6f |out file|s to pro|
|00000bd0| 64 75 63 65 20 74 68 65 | 20 63 6f 6d 70 69 6c 65 |duce the| compile|
|00000be0| 64 20 74 61 62 20 66 69 | 6c 65 73 2c 20 63 61 6c |d tab fi|les, cal|
|00000bf0| 6c 69 6e 67 20 74 68 65 | 6d 20 74 61 62 58 58 58 |ling the|m tabXXX|
|00000c00| 58 2e 74 61 62 2e 0a 58 | 54 79 70 69 6e 67 20 22 |X.tab..X|Typing "|
|00000c10| 6d 61 6b 65 20 69 6e 73 | 74 61 6c 6c 22 20 72 65 |make ins|tall" re|
|00000c20| 6e 61 6d 65 73 20 74 68 | 65 20 74 61 62 58 58 58 |names th|e tabXXX|
|00000c30| 58 2e 74 61 62 20 66 69 | 6c 65 73 20 74 6f 20 74 |X.tab fi|les to t|
|00000c40| 61 62 58 58 58 58 2c 20 | 61 6e 64 0a 58 63 6f 70 |abXXXX, |and.Xcop|
|00000c50| 69 65 73 20 74 68 65 6d | 20 74 6f 20 74 68 65 20 |ies them| to the |
|00000c60| 2f 75 73 72 2f 6c 69 62 | 2f 74 65 72 6d 20 64 69 |/usr/lib|/term di|
|00000c70| 72 65 63 74 6f 72 79 2c | 20 77 68 65 72 65 20 6e |rectory,| where n|
|00000c80| 72 6f 66 66 20 77 69 6c | 6c 20 66 69 6e 64 0a 58 |roff wil|l find.X|
|00000c90| 74 68 65 6d 20 77 68 65 | 6e 20 74 68 65 20 2d 54 |them whe|n the -T|
|00000ca0| 58 58 58 58 20 6f 70 74 | 69 6f 6e 20 69 73 20 75 |XXXX opt|ion is u|
|00000cb0| 73 65 64 2e 0a 58 09 54 | 79 70 69 6e 67 20 22 6d |sed..X.T|yping "m|
|00000cc0| 61 6b 65 20 65 6c 62 61 | 74 22 20 6d 61 6b 65 73 |ake elba|t" makes|
|00000cd0| 20 74 68 65 20 65 6c 62 | 61 74 20 70 72 6f 67 72 | the elb|at progr|
|00000ce0| 61 6d 2c 20 77 68 69 63 | 68 20 63 61 6e 20 74 61 |am, whic|h can ta|
|00000cf0| 6b 65 0a 58 61 20 63 6f | 6d 70 69 6c 65 64 20 74 |ke.Xa co|mpiled t|
|00000d00| 61 62 58 58 58 58 20 66 | 69 6c 65 20 61 6e 64 20 |abXXXX f|ile and |
|00000d10| 70 72 6f 64 75 63 65 20 | 61 20 73 6f 75 72 63 65 |produce |a source|
|00000d20| 20 74 61 62 58 58 58 58 | 2e 63 20 66 69 6c 65 2e | tabXXXX|.c file.|
|00000d30| 20 20 55 73 69 6e 67 0a | 58 74 68 65 20 2d 64 20 | Using.|Xthe -d |
|00000d40| 28 64 65 62 75 67 29 20 | 6f 70 74 69 6f 6e 20 77 |(debug) |option w|
|00000d50| 69 74 68 20 65 6c 62 61 | 74 20 70 72 6f 64 75 63 |ith elba|t produc|
|00000d60| 65 73 20 61 20 64 75 6d | 70 20 6f 66 20 74 68 65 |es a dum|p of the|
|00000d70| 20 61 63 74 75 61 6c 0a | 58 63 68 61 72 61 63 74 | actual.|Xcharact|
|00000d80| 65 72 20 64 61 74 61 20 | 69 6e 20 74 68 65 20 66 |er data |in the f|
|00000d90| 69 6c 65 2e 0a 58 09 42 | 65 20 56 45 52 59 20 43 |ile..X.B|e VERY C|
|00000da0| 41 52 45 46 55 4c 20 77 | 69 74 68 20 22 6d 61 6b |AREFUL w|ith "mak|
|00000db0| 65 20 69 6e 73 74 61 6c | 6c 22 20 28 74 72 79 20 |e instal|l" (try |
|00000dc0| 22 6d 61 6b 65 20 2d 6e | 20 69 6e 73 74 61 6c 6c |"make -n| install|
|00000dd0| 0a 58 66 69 72 73 74 29 | 2e 20 20 59 6f 75 20 64 |.Xfirst)|. You d|
|00000de0| 6f 6e 27 74 20 6c 69 6b | 65 6c 79 20 77 61 6e 74 |on't lik|ely want|
|00000df0| 20 74 6f 20 64 65 6c 65 | 74 65 20 73 79 73 74 65 | to dele|te syste|
|00000e00| 6d 2d 73 75 70 70 6c 69 | 65 64 20 74 61 62 20 66 |m-suppli|ed tab f|
|00000e10| 69 6c 65 73 21 0a 58 0a | 58 09 54 68 65 20 74 61 |iles!.X.|X.The ta|
|00000e20| 62 6c 65 2e 35 20 6d 61 | 6e 20 70 61 67 65 20 63 |ble.5 ma|n page c|
|00000e30| 6f 6e 74 61 69 6e 73 20 | 6d 6f 72 65 20 69 6e 66 |ontains |more inf|
|00000e40| 6f 72 6d 61 74 69 6f 6e | 2e 0a 58 0a 58 49 46 20 |ormation|..X.XIF |
|00000e50| 59 4f 55 20 48 41 56 45 | 20 50 52 4f 42 4c 45 4d |YOU HAVE| PROBLEM|
|00000e60| 53 2e 2e 2e 0a 58 09 49 | 74 20 69 73 20 71 75 69 |S....X.I|t is qui|
|00000e70| 74 65 20 70 6f 73 73 69 | 62 6c 65 20 74 68 61 74 |te possi|ble that|
|00000e80| 20 74 68 65 20 74 61 62 | 20 66 69 6c 65 20 66 6f | the tab| file fo|
|00000e90| 72 6d 61 74 20 6f 6e 20 | 79 6f 75 72 20 6d 61 63 |rmat on |your mac|
|00000ea0| 68 69 6e 65 0a 58 64 69 | 66 66 65 72 73 20 69 6e |hine.Xdi|ffers in|
|00000eb0| 20 6d 69 6e 6f 72 20 6f | 72 20 6d 61 6a 6f 72 20 | minor o|r major |
|00000ec0| 77 61 79 73 20 66 72 6f | 6d 20 74 68 61 74 20 65 |ways fro|m that e|
|00000ed0| 6d 62 6f 64 69 65 64 20 | 62 79 20 74 68 69 73 20 |mbodied |by this |
|00000ee0| 75 74 69 6c 69 74 79 2e | 20 20 53 69 6e 63 65 0a |utility.| Since.|
|00000ef0| 58 74 68 65 20 74 61 62 | 66 69 6c 65 20 66 6f 72 |Xthe tab|file for|
|00000f00| 6d 61 74 20 77 61 73 20 | 69 6e 66 65 72 72 65 64 |mat was |inferred|
|00000f10| 20 66 72 6f 6d 20 63 61 | 72 65 66 75 6c 20 65 78 | from ca|reful ex|
|00000f20| 61 6d 69 6e 61 74 69 6f | 6e 20 6f 66 20 61 20 73 |aminatio|n of a s|
|00000f30| 6d 61 6c 6c 20 6e 75 6d | 62 65 72 0a 58 6f 66 20 |mall num|ber.Xof |
|00000f40| 73 75 70 70 6c 69 65 64 | 20 74 61 62 20 66 69 6c |supplied| tab fil|
|00000f50| 65 73 20 6f 6e 20 6f 6e | 65 20 73 79 73 74 65 6d |es on on|e system|
|00000f60| 20 6f 6e 6c 79 2c 20 74 | 68 65 72 65 20 69 73 20 | only, t|here is |
|00000f70| 6e 6f 20 67 75 61 72 61 | 6e 74 65 65 20 74 68 61 |no guara|ntee tha|
|00000f80| 74 20 69 74 0a 58 77 69 | 6c 6c 20 77 6f 72 6b 20 |t it.Xwi|ll work |
|00000f90| 6f 6e 20 61 6c 6c 20 73 | 79 73 74 65 6d 73 2e 20 |on all s|ystems. |
|00000fa0| 20 4f 6e 65 20 6d 61 6a | 6f 72 20 70 6f 74 65 6e | One maj|or poten|
|00000fb0| 74 69 61 6c 20 70 72 6f | 62 6c 65 6d 20 69 73 20 |tial pro|blem is |
|00000fc0| 69 6e 20 74 68 65 0a 58 | 69 6e 63 6c 75 73 69 6f |in the.X|inclusio|
|00000fd0| 6e 2f 65 78 63 75 6c 73 | 69 6f 6e 20 6f 66 20 74 |n/exculs|ion of t|
|00000fe0| 68 65 20 4b 63 68 61 72 | 20 28 4b 61 6e 6a 69 29 |he Kchar| (Kanji)|
|00000ff0| 20 65 6c 65 6d 65 6e 74 | 20 69 6e 20 74 68 65 20 | element| in the |
|00001000| 74 61 62 66 69 6c 65 20 | 73 74 72 75 63 74 75 72 |tabfile |structur|
|00001010| 65 2e 0a 58 55 73 65 20 | 65 6c 62 61 74 20 74 6f |e..XUse |elbat to|
|00001020| 20 64 65 63 6f 6d 70 69 | 6c 65 20 61 6e 20 65 78 | decompi|le an ex|
|00001030| 69 73 74 69 6e 67 20 74 | 61 62 66 69 6c 65 3b 20 |isting t|abfile; |
|00001040| 69 74 20 73 68 6f 75 6c | 64 20 74 65 6c 6c 20 79 |it shoul|d tell y|
|00001050| 6f 75 20 69 66 20 74 68 | 65 0a 58 74 61 62 66 69 |ou if th|e.Xtabfi|
|00001060| 6c 65 20 73 69 7a 65 20 | 69 73 20 69 6e 63 6f 6e |le size |is incon|
|00001070| 73 69 73 74 65 6e 74 20 | 77 69 74 68 20 74 68 65 |sistent |with the|
|00001080| 20 63 6f 6e 74 65 6e 74 | 2e 20 20 49 66 20 74 68 | content|. If th|
|00001090| 69 73 20 69 73 20 73 6f | 2c 20 63 68 61 6e 67 65 |is is so|, change|
|000010a0| 0a 58 74 68 65 20 22 23 | 64 65 66 69 6e 65 20 4b |.Xthe "#|define K|
|000010b0| 41 4e 4a 49 22 20 6c 69 | 6e 65 20 69 6e 20 74 68 |ANJI" li|ne in th|
|000010c0| 65 20 4d 61 6b 65 66 69 | 6c 65 2c 20 61 6e 64 20 |e Makefi|le, and |
|000010d0| 74 72 79 20 61 67 61 69 | 6e 2e 0a 58 0a 58 41 63 |try agai|n..X.XAc|
|000010e0| 6b 6e 6f 77 6c 65 64 67 | 65 6d 65 6e 74 73 3a 0a |knowledg|ements:.|
|000010f0| 58 09 49 61 6e 20 44 61 | 72 77 69 6e 20 74 65 73 |X.Ian Da|rwin tes|
|00001100| 74 65 64 20 6f 75 74 20 | 74 68 65 20 66 69 72 73 |ted out |the firs|
|00001110| 74 20 28 76 65 72 79 20 | 62 75 67 67 79 29 20 76 |t (very |buggy) v|
|00001120| 65 72 73 69 6f 6e 20 6f | 66 0a 58 74 68 69 73 20 |ersion o|f.Xthis |
|00001130| 75 74 69 6c 69 74 79 2c | 20 61 6e 64 20 73 75 67 |utility,| and sug|
|00001140| 67 65 73 74 65 64 20 6d | 61 6e 79 20 75 73 65 66 |gested m|any usef|
|00001150| 75 6c 20 63 68 61 6e 67 | 65 73 2c 20 69 6e 63 6c |ul chang|es, incl|
|00001160| 75 64 69 6e 67 20 74 68 | 65 0a 58 69 6e 74 72 6f |uding th|e.Xintro|
|00001170| 64 75 63 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 4d |duction |of the M|
|00001180| 61 6b 65 66 69 6c 65 2e | 0a 58 0a 58 09 4d 61 74 |akefile.|.X.X.Mat|
|00001190| 74 20 43 72 61 77 66 6f | 72 64 20 77 72 6f 74 65 |t Crawfo|rd wrote|
|000011a0| 20 74 68 65 20 65 6c 62 | 61 74 20 70 72 6f 67 72 | the elb|at progr|
|000011b0| 61 6d 20 6f 72 69 67 69 | 6e 61 6c 6c 79 20 66 6f |am origi|nally fo|
|000011c0| 72 0a 58 42 65 72 6b 65 | 6c 65 79 20 73 79 73 74 |r.XBerke|ley syst|
|000011d0| 65 6d 73 2e 0a 58 0a 58 | 43 61 76 65 61 74 3a 0a |ems..X.X|Caveat:.|
|000011e0| 58 09 54 68 69 73 20 75 | 74 69 6c 69 74 79 20 77 |X.This u|tility w|
|000011f0| 61 73 20 77 72 69 74 74 | 65 6e 20 74 6f 20 70 65 |as writt|en to pe|
|00001200| 72 6d 69 74 20 74 68 65 | 20 61 75 74 68 6f 72 20 |rmit the| author |
|00001210| 74 6f 20 63 6f 6e 66 69 | 67 75 72 65 20 6e 72 6f |to confi|gure nro|
|00001220| 66 66 0a 58 6f 6e 20 68 | 69 73 20 6d 61 63 68 69 |ff.Xon h|is machi|
|00001230| 6e 65 20 66 6f 72 20 74 | 65 72 6d 69 6e 61 6c 73 |ne for t|erminals|
|00001240| 2f 66 6f 6e 74 73 20 75 | 6e 73 75 70 70 6f 72 74 |/fonts u|nsupport|
|00001250| 65 64 20 62 79 20 74 68 | 65 20 73 75 70 70 6c 69 |ed by th|e suppli|
|00001260| 65 64 20 74 61 62 66 69 | 6c 65 73 2e 0a 58 49 74 |ed tabfi|les..XIt|
|00001270| 20 77 61 73 20 6e 6f 74 | 20 69 6e 74 65 6e 64 65 | was not| intende|
|00001280| 64 20 61 73 20 61 20 75 | 6e 69 76 65 72 73 61 6c |d as a u|niversal|
|00001290| 20 75 74 69 6c 69 74 79 | 20 61 70 70 6c 69 63 61 | utility| applica|
|000012a0| 62 6c 65 20 74 6f 20 61 | 6c 6c 20 6d 61 63 68 69 |ble to a|ll machi|
|000012b0| 6e 65 73 0a 58 6f 72 20 | 76 65 72 73 69 6f 6e 73 |nes.Xor |versions|
|000012c0| 20 6f 66 20 75 6e 69 78 | 2e 20 20 49 74 20 68 61 | of unix|. It ha|
|000012d0| 73 20 62 65 65 6e 20 72 | 65 6c 65 61 73 65 64 20 |s been r|eleased |
|000012e0| 77 69 74 68 6f 75 74 20 | 61 6e 79 20 67 75 61 72 |without |any guar|
|000012f0| 61 6e 74 65 65 20 77 68 | 61 74 73 6f 65 76 65 72 |antee wh|atsoever|
|00001300| 2e 0a 58 54 68 65 20 61 | 75 74 68 6f 72 20 64 6f |..XThe a|uthor do|
|00001310| 65 73 20 6e 6f 74 20 69 | 6e 74 65 6e 64 20 74 6f |es not i|ntend to|
|00001320| 20 73 75 70 70 6f 72 74 | 20 74 68 69 73 20 73 6f | support| this so|
|00001330| 66 74 77 61 72 65 20 74 | 6f 20 61 6e 79 20 65 78 |ftware t|o any ex|
|00001340| 74 65 6e 74 2c 20 61 6e | 64 0a 58 75 73 65 72 73 |tent, an|d.Xusers|
|00001350| 20 73 68 6f 75 6c 64 20 | 75 6e 64 65 72 73 74 61 | should |understa|
|00001360| 6e 64 20 74 68 61 74 20 | 66 75 74 75 72 65 20 63 |nd that |future c|
|00001370| 68 61 6e 67 65 73 20 74 | 6f 20 74 68 65 69 72 20 |hanges t|o their |
|00001380| 73 79 73 74 65 6d 20 73 | 6f 66 74 77 61 72 65 20 |system s|oftware |
|00001390| 6d 61 79 0a 58 62 72 65 | 61 6b 20 74 68 69 73 20 |may.Xbre|ak this |
|000013a0| 75 74 69 6c 69 74 79 2e | 20 20 54 68 69 73 20 62 |utility.| This b|
|000013b0| 65 69 6e 67 20 73 6f 2c | 20 69 74 20 77 6f 75 6c |eing so,| it woul|
|000013c0| 64 20 62 65 20 66 6f 6f | 6c 69 73 68 20 74 6f 20 |d be foo|lish to |
|000013d0| 64 65 70 65 6e 64 20 74 | 6f 6f 0a 58 68 65 61 76 |depend t|oo.Xheav|
|000013e0| 69 6c 79 20 6f 6e 20 74 | 68 65 20 66 75 6e 63 74 |ily on t|he funct|
|000013f0| 69 6f 6e 61 6c 69 74 79 | 20 74 68 61 74 20 74 68 |ionality| that th|
|00001400| 69 73 20 75 74 69 6c 69 | 74 79 20 70 72 6f 76 69 |is utili|ty provi|
|00001410| 64 65 73 2e 0a 58 0a 58 | 09 43 6f 70 79 72 69 67 |des..X.X|.Copyrig|
|00001420| 68 74 20 28 63 29 20 31 | 39 38 37 20 62 79 20 42 |ht (c) 1|987 by B|
|00001430| 72 75 63 65 20 54 6f 77 | 6e 73 65 6e 64 20 61 6e |ruce Tow|nsend an|
|00001440| 64 20 42 65 6c 6c 2d 4e | 6f 72 74 68 65 72 6e 20 |d Bell-N|orthern |
|00001450| 52 65 73 65 61 72 63 68 | 2e 0a 58 09 50 65 72 6d |Research|..X.Perm|
|00001460| 69 73 73 69 6f 6e 20 69 | 73 20 67 72 61 6e 74 65 |ission i|s grante|
|00001470| 64 20 74 6f 20 75 73 65 | 20 61 6e 64 20 64 69 73 |d to use| and dis|
|00001480| 74 72 69 62 75 74 65 2c | 20 65 78 63 65 70 74 20 |tribute,| except |
|00001490| 66 6f 72 20 70 72 6f 66 | 69 74 2c 0a 58 09 70 72 |for prof|it,.X.pr|
|000014a0| 6f 76 69 64 69 6e 67 20 | 74 68 69 73 20 63 6f 70 |oviding |this cop|
|000014b0| 79 72 69 67 68 74 20 6e | 6f 74 69 63 65 20 61 6e |yright n|otice an|
|000014c0| 64 20 74 68 65 20 61 75 | 74 68 6f 72 27 73 20 6e |d the au|thor's n|
|000014d0| 61 6d 65 20 69 73 20 69 | 6e 63 6c 75 64 65 64 2e |ame is i|ncluded.|
|000014e0| 0a 58 09 4e 6f 20 77 61 | 72 72 61 6e 74 79 20 6f |.X.No wa|rranty o|
|000014f0| 66 20 61 6e 79 20 6b 69 | 6e 64 20 69 73 20 65 78 |f any ki|nd is ex|
|00001500| 70 72 65 73 73 65 64 20 | 6f 72 20 69 6d 70 6c 69 |pressed |or impli|
|00001510| 65 64 2c 20 61 6e 64 20 | 6e 6f 20 6c 69 61 62 69 |ed, and |no liabi|
|00001520| 6c 69 74 79 20 6f 66 0a | 58 09 61 6e 79 20 6b 69 |lity of.|X.any ki|
|00001530| 6e 64 20 69 73 20 61 73 | 73 75 6d 65 64 20 62 79 |nd is as|sumed by|
|00001540| 20 65 69 74 68 65 72 20 | 74 68 65 20 61 75 74 68 | either |the auth|
|00001550| 6f 72 20 6f 72 20 42 65 | 6c 6c 2d 4e 6f 72 74 68 |or or Be|ll-North|
|00001560| 65 72 6e 20 52 65 73 65 | 61 72 63 68 2e 0a 58 0a |ern Rese|arch..X.|
|00001570| 58 2d 2d 2d 0a 58 42 72 | 75 63 65 20 54 6f 77 6e |X---.XBr|uce Town|
|00001580| 73 65 6e 64 20 28 62 6e | 72 2d 76 70 61 21 62 72 |send (bn|r-vpa!br|
|00001590| 75 63 65 29 09 50 68 6f | 6e 65 3a 09 28 36 31 33 |uce).Pho|ne:.(613|
|000015a0| 29 20 37 32 36 2d 33 30 | 30 38 0a 58 42 65 6c 6c |) 726-30|08.XBell|
|000015b0| 2d 4e 6f 72 74 68 65 72 | 6e 20 52 65 73 65 61 72 |-Norther|n Resear|
|000015c0| 63 68 09 09 55 73 65 6e | 65 74 3a 20 7b 75 74 7a |ch..Usen|et: {utz|
|000015d0| 6f 6f 2c 20 75 74 63 73 | 7d 21 62 6e 72 2d 76 70 |oo, utcs|}!bnr-vp|
|000015e0| 61 21 62 72 75 63 65 0a | 58 50 2e 4f 2e 20 42 6f |a!bruce.|XP.O. Bo|
|000015f0| 78 20 33 35 31 31 2c 20 | 53 74 61 74 69 6f 6e 20 |x 3511, |Station |
|00001600| 43 2c 20 4f 74 74 61 77 | 61 2c 20 4f 6e 74 61 72 |C, Ottaw|a, Ontar|
|00001610| 69 6f 2c 20 43 61 6e 61 | 64 61 2c 20 4b 31 59 20 |io, Cana|da, K1Y |
|00001620| 34 48 37 0a 53 48 41 52 | 5f 45 4f 46 0a 69 66 20 |4H7.SHAR|_EOF.if |
|00001630| 74 65 73 74 20 34 34 32 | 39 20 2d 6e 65 20 22 60 |test 442|9 -ne "`|
|00001640| 77 63 20 2d 63 20 27 52 | 45 41 44 4d 45 27 60 22 |wc -c 'R|EADME'`"|
|00001650| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00001660| 3a 20 65 72 72 6f 72 20 | 74 72 61 6e 73 6d 69 74 |: error |transmit|
|00001670| 74 69 6e 67 20 22 27 52 | 45 41 44 4d 45 27 22 20 |ting "'R|EADME'" |
|00001680| 27 28 73 68 6f 75 6c 64 | 20 68 61 76 65 20 62 65 |'(should| have be|
|00001690| 65 6e 20 34 34 32 39 20 | 63 68 61 72 61 63 74 65 |en 4429 |characte|
|000016a0| 72 73 29 27 0a 66 69 0a | 65 63 68 6f 20 73 68 61 |rs)'.fi.|echo sha|
|000016b0| 72 3a 20 65 78 74 72 61 | 63 74 69 6e 67 20 22 27 |r: extra|cting "'|
|000016c0| 4d 61 6b 65 66 69 6c 65 | 27 22 20 27 28 32 30 32 |Makefile|'" '(202|
|000016d0| 30 20 63 68 61 72 61 63 | 74 65 72 73 29 27 0a 69 |0 charac|ters)'.i|
|000016e0| 66 20 74 65 73 74 20 2d | 66 20 27 4d 61 6b 65 66 |f test -|f 'Makef|
|000016f0| 69 6c 65 27 0a 74 68 65 | 6e 0a 09 65 63 68 6f 20 |ile'.the|n..echo |
|00001700| 73 68 61 72 3a 20 6f 76 | 65 72 2d 77 72 69 74 69 |shar: ov|er-writi|
|00001710| 6e 67 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |ng exist|ing file|
|00001720| 20 22 27 4d 61 6b 65 66 | 69 6c 65 27 22 0a 66 69 | "'Makef|ile'".fi|
|00001730| 0a 73 65 64 20 27 73 2f | 5e 58 2f 2f 27 20 3c 3c |.sed 's/|^X//' <<|
|00001740| 20 5c 53 48 41 52 5f 45 | 4f 46 20 3e 20 27 4d 61 | \SHAR_E|OF > 'Ma|
|00001750| 6b 65 66 69 6c 65 27 0a | 58 23 23 23 23 23 23 23 |kefile'.|X#######|
|00001760| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001770| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001780| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001790| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000017a0| 23 23 23 23 23 23 23 23 | 0a 58 23 0a 58 23 09 74 |########|.X#.X#.t|
|000017b0| 61 62 6c 65 20 28 76 65 | 72 73 69 6f 6e 20 32 2e |able (ve|rsion 2.|
|000017c0| 30 29 20 2d 20 61 20 75 | 74 69 6c 69 74 79 20 66 |0) - a u|tility f|
|000017d0| 6f 72 20 63 72 65 61 74 | 69 6e 67 20 6e 72 6f 66 |or creat|ing nrof|
|000017e0| 66 20 64 72 69 76 65 72 | 20 74 61 62 6c 65 73 2e |f driver| tables.|
|000017f0| 0a 58 23 0a 58 23 09 4d | 61 6b 65 66 69 6c 65 20 |.X#.X#.M|akefile |
|00001800| 66 6f 72 20 6e 72 6f 66 | 66 20 64 72 69 76 65 72 |for nrof|f driver|
|00001810| 20 74 61 62 6c 65 73 20 | 75 6e 64 65 72 20 55 53 | tables |under US|
|00001820| 47 20 55 4e 49 58 2e 0a | 58 23 09 57 72 69 74 74 |G UNIX..|X#.Writt|
|00001830| 65 6e 20 62 79 20 42 72 | 75 63 65 20 54 6f 77 6e |en by Br|uce Town|
|00001840| 73 65 6e 64 20 4f 63 74 | 2c 20 31 39 38 37 2e 0a |send Oct|, 1987..|
|00001850| 58 23 0a 58 23 09 43 6f | 70 79 72 69 67 68 74 20 |X#.X#.Co|pyright |
|00001860| 28 63 29 20 31 39 38 37 | 20 62 79 20 42 72 75 63 |(c) 1987| by Bruc|
|00001870| 65 20 54 6f 77 6e 73 65 | 6e 64 20 61 6e 64 20 42 |e Townse|nd and B|
|00001880| 65 6c 6c 2d 4e 6f 72 74 | 68 65 72 6e 20 52 65 73 |ell-Nort|hern Res|
|00001890| 65 61 72 63 68 2e 0a 58 | 23 09 50 65 72 6d 69 73 |earch..X|#.Permis|
|000018a0| 73 69 6f 6e 20 69 73 20 | 67 72 61 6e 74 65 64 20 |sion is |granted |
|000018b0| 74 6f 20 75 73 65 20 61 | 6e 64 20 64 69 73 74 72 |to use a|nd distr|
|000018c0| 69 62 75 74 65 2c 20 65 | 78 63 65 70 74 20 66 6f |ibute, e|xcept fo|
|000018d0| 72 20 70 72 6f 66 69 74 | 2c 0a 58 23 09 70 72 6f |r profit|,.X#.pro|
|000018e0| 76 69 64 69 6e 67 20 74 | 68 69 73 20 63 6f 70 79 |viding t|his copy|
|000018f0| 72 69 67 68 74 20 6e 6f | 74 69 63 65 20 61 6e 64 |right no|tice and|
|00001900| 20 74 68 65 20 61 75 74 | 68 6f 72 27 73 20 6e 61 | the aut|hor's na|
|00001910| 6d 65 20 69 73 20 69 6e | 63 6c 75 64 65 64 2e 0a |me is in|cluded..|
|00001920| 58 23 09 4e 6f 20 77 61 | 72 72 61 6e 74 79 20 6f |X#.No wa|rranty o|
|00001930| 66 20 61 6e 79 20 6b 69 | 6e 64 20 69 73 20 65 78 |f any ki|nd is ex|
|00001940| 70 72 65 73 73 65 64 20 | 6f 72 20 69 6d 70 6c 69 |pressed |or impli|
|00001950| 65 64 2c 20 61 6e 64 20 | 6e 6f 20 6c 69 61 62 69 |ed, and |no liabi|
|00001960| 6c 69 74 79 20 6f 66 0a | 58 23 09 61 6e 79 20 6b |lity of.|X#.any k|
|00001970| 69 6e 64 20 69 73 20 61 | 73 73 75 6d 65 64 20 62 |ind is a|ssumed b|
|00001980| 79 20 65 69 74 68 65 72 | 20 74 68 65 20 61 75 74 |y either| the aut|
|00001990| 68 6f 72 20 6f 72 20 42 | 65 6c 6c 2d 4e 6f 72 74 |hor or B|ell-Nort|
|000019a0| 68 65 72 6e 20 52 65 73 | 65 61 72 63 68 2e 0a 58 |hern Res|earch..X|
|000019b0| 23 0a 58 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |#.X#####|########|
|000019c0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000019d0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000019e0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000019f0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001a00| 23 23 0a 58 0a 58 23 23 | 23 23 23 23 23 23 23 23 |##.X.X##|########|
|00001a10| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001a20| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001a30| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001a40| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001a50| 23 23 23 23 23 0a 58 23 | 09 55 73 65 72 2d 43 6f |#####.X#|.User-Co|
|00001a60| 6e 66 69 67 75 72 61 62 | 6c 65 20 53 65 63 74 69 |nfigurab|le Secti|
|00001a70| 6f 6e 0a 58 23 0a 58 53 | 4f 55 52 43 45 53 20 3d |on.X#.XS|OURCES =|
|00001a80| 09 74 61 62 6c 6a 65 74 | 2e 63 0a 58 0a 58 44 45 |.tabljet|.c.X.XDE|
|00001a90| 53 54 44 49 52 20 3d 09 | 2f 75 73 72 2f 6c 69 62 |STDIR =.|/usr/lib|
|00001aa0| 2f 74 65 72 6d 0a 58 23 | 20 49 6e 63 6c 75 64 65 |/term.X#| Include|
|00001ab0| 20 74 68 65 20 4b 41 4e | 4a 49 20 66 6c 61 67 20 | the KAN|JI flag |
|00001ac0| 69 66 20 79 6f 75 72 20 | 6e 72 6f 66 66 20 73 75 |if your |nroff su|
|00001ad0| 70 70 6f 72 74 73 20 4b | 61 6e 6a 69 20 63 68 61 |pports K|anji cha|
|00001ae0| 72 61 63 74 65 72 73 0a | 58 23 20 43 46 4c 41 47 |racters.|X# CFLAG|
|00001af0| 53 20 3d 09 2d 4f 20 2d | 44 4b 41 4e 4a 49 0a 58 |S =.-O -|DKANJI.X|
|00001b00| 43 46 4c 41 47 53 20 3d | 09 2d 4f 0a 58 4c 44 46 |CFLAGS =|.-O.XLDF|
|00001b10| 4c 41 47 53 20 3d 09 2d | 73 0a 58 23 0a 58 23 09 |LAGS =.-|s.X#.X#.|
|00001b20| 45 6e 64 20 6f 66 20 55 | 73 65 72 2d 43 6f 6e 66 |End of U|ser-Conf|
|00001b30| 69 67 75 72 61 62 6c 65 | 20 53 65 63 74 69 6f 6e |igurable| Section|
|00001b40| 0a 58 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |.X######|########|
|00001b50| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001b60| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001b70| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001b80| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001b90| 23 0a 58 0a 58 54 41 42 | 46 49 4c 45 53 20 3d 09 |#.X.XTAB|FILES =.|
|00001ba0| 24 28 53 4f 55 52 43 45 | 53 3a 2e 63 3d 2e 74 61 |$(SOURCE|S:.c=.ta|
|00001bb0| 62 29 0a 58 54 41 42 53 | 20 3d 09 09 24 28 53 4f |b).XTABS| =..$(SO|
|00001bc0| 55 52 43 45 53 3a 2e 63 | 3d 29 0a 58 4c 49 4e 54 |URCES:.c|=).XLINT|
|00001bd0| 53 52 43 20 3d 09 74 61 | 62 58 58 58 2e 63 0a 58 |SRC =.ta|bXXX.c.X|
|00001be0| 53 48 45 4c 4c 20 3d 09 | 09 2f 62 69 6e 2f 73 68 |SHELL =.|./bin/sh|
|00001bf0| 0a 58 0a 58 2e 53 55 46 | 46 49 58 45 53 3a 09 2e |.X.X.SUF|FIXES:..|
|00001c00| 74 61 62 0a 58 0a 58 2e | 6f 2e 74 61 62 3a 0a 58 |tab.X.X.|o.tab:.X|
|00001c10| 09 63 63 20 24 28 4c 44 | 46 4c 41 47 53 29 20 74 |.cc $(LD|FLAGS) t|
|00001c20| 61 62 6c 65 2e 6f 20 24 | 2a 2e 6f 0a 58 09 2e 2f |able.o $|*.o.X../|
|00001c30| 61 2e 6f 75 74 20 24 40 | 0a 58 0a 58 2e 63 2e 74 |a.out $@|.X.X.c.t|
|00001c40| 61 62 3a 0a 58 09 63 63 | 20 2d 63 20 24 28 43 46 |ab:.X.cc| -c $(CF|
|00001c50| 4c 41 47 53 29 20 24 3c | 0a 58 09 63 63 20 24 28 |LAGS) $<|.X.cc $(|
|00001c60| 4c 44 46 4c 41 47 53 29 | 20 74 61 62 6c 65 2e 6f |LDFLAGS)| table.o|
|00001c70| 20 24 2a 2e 6f 0a 58 09 | 2e 2f 61 2e 6f 75 74 20 | $*.o.X.|./a.out |
|00001c80| 24 40 0a 58 0a 58 0a 58 | 61 6c 6c 3a 09 09 24 28 |$@.X.X.X|all:..$(|
|00001c90| 54 41 42 46 49 4c 45 53 | 29 0a 58 0a 58 74 61 62 |TABFILES|).X.Xtab|
|00001ca0| 6c 65 3a 09 09 24 28 54 | 41 42 46 49 4c 45 53 29 |le:..$(T|ABFILES)|
|00001cb0| 0a 58 0a 58 24 28 54 41 | 42 46 49 4c 45 53 29 3a |.X.X$(TA|BFILES):|
|00001cc0| 09 74 61 62 6c 65 2e 6f | 0a 58 0a 58 24 28 54 41 |.table.o|.X.X$(TA|
|00001cd0| 42 53 29 3a 09 24 28 54 | 41 42 46 49 4c 45 53 29 |BS):.$(T|ABFILES)|
|00001ce0| 0a 58 09 09 63 70 20 24 | 40 2e 74 61 62 20 24 40 |.X..cp $|@.tab $@|
|00001cf0| 0a 58 0a 58 74 61 62 6c | 65 2e 6f 3a 09 74 61 62 |.X.Xtabl|e.o:.tab|
|00001d00| 6c 65 2e 63 20 74 61 62 | 6c 65 2e 68 0a 58 09 09 |le.c tab|le.h.X..|
|00001d10| 63 63 20 2d 63 20 24 28 | 43 46 4c 41 47 53 29 20 |cc -c $(|CFLAGS) |
|00001d20| 74 61 62 6c 65 2e 63 0a | 58 0a 58 69 6e 73 74 61 |table.c.|X.Xinsta|
|00001d30| 6c 6c 3a 09 24 28 54 41 | 42 53 29 0a 58 09 09 63 |ll:.$(TA|BS).X..c|
|00001d40| 70 20 24 28 54 41 42 53 | 29 20 24 28 44 45 53 54 |p $(TABS|) $(DEST|
|00001d50| 44 49 52 29 0a 58 09 09 | 72 6d 20 24 28 54 41 42 |DIR).X..|rm $(TAB|
|00001d60| 53 29 0a 58 0a 58 6c 69 | 6e 74 3a 09 09 74 61 62 |S).X.Xli|nt:..tab|
|00001d70| 6c 65 2e 63 20 65 6c 62 | 61 74 2e 63 20 73 74 72 |le.c elb|at.c str|
|00001d80| 75 63 74 75 72 65 2e 63 | 20 74 61 62 6c 65 2e 68 |ucture.c| table.h|
|00001d90| 0a 58 09 09 6c 69 6e 74 | 20 24 28 4c 46 4c 41 47 |.X..lint| $(LFLAG|
|00001da0| 53 29 20 74 61 62 6c 65 | 2e 63 20 24 28 4c 49 4e |S) table|.c $(LIN|
|00001db0| 54 53 52 43 29 0a 58 09 | 09 6c 69 6e 74 20 24 28 |TSRC).X.|.lint $(|
|00001dc0| 4c 46 4c 41 47 53 29 20 | 65 6c 62 61 74 2e 63 20 |LFLAGS) |elbat.c |
|00001dd0| 73 74 72 75 63 74 75 72 | 65 2e 63 0a 58 0a 58 65 |structur|e.c.X.Xe|
|00001de0| 6c 62 61 74 3a 09 09 65 | 6c 62 61 74 2e 6f 20 73 |lbat:..e|lbat.o s|
|00001df0| 74 72 75 63 74 75 72 65 | 2e 6f 0a 58 09 20 20 20 |tructure|.o.X. |
|00001e00| 20 09 63 63 20 24 28 4c | 44 46 4c 41 47 53 29 20 | .cc $(L|DFLAGS) |
|00001e10| 2d 6f 20 65 6c 62 61 74 | 20 65 6c 62 61 74 2e 6f |-o elbat| elbat.o|
|00001e20| 20 73 74 72 75 63 74 75 | 72 65 2e 6f 0a 58 0a 58 | structu|re.o.X.X|
|00001e30| 73 74 72 75 63 74 75 72 | 65 2e 63 3a 09 74 61 62 |structur|e.c:.tab|
|00001e40| 6c 65 2e 68 0a 58 09 09 | 65 63 68 6f 20 27 63 68 |le.h.X..|echo 'ch|
|00001e50| 61 72 09 2a 73 74 72 75 | 63 74 75 72 65 20 3d 20 |ar.*stru|cture = |
|00001e60| 22 5c 27 20 3e 20 73 74 | 72 75 63 74 75 72 65 2e |"\' > st|ructure.|
|00001e70| 63 0a 58 09 09 73 65 64 | 20 2d 6e 20 2d 65 20 27 |c.X..sed| -n -e '|
|00001e80| 31 2c 2f 7a 7a 7a 2f 73 | 2f 24 24 2f 5c 5c 6e 5c |1,/zzz/s|/$$/\\n\|
|00001e90| 5c 2f 70 27 20 74 61 62 | 6c 65 2e 68 20 3e 3e 20 |\/p' tab|le.h >> |
|00001ea0| 73 74 72 75 63 74 75 72 | 65 2e 63 0a 58 09 09 65 |structur|e.c.X..e|
|00001eb0| 63 68 6f 20 27 22 3b 27 | 20 3e 3e 20 73 74 72 75 |cho '";'| >> stru|
|00001ec0| 63 74 75 72 65 2e 63 0a | 58 0a 58 73 68 61 72 3a |cture.c.|X.Xshar:|
|00001ed0| 0a 58 09 09 73 68 61 72 | 20 2d 61 20 52 45 41 44 |.X..shar| -a READ|
|00001ee0| 4d 45 20 4d 61 6b 65 66 | 69 6c 65 20 74 61 62 6c |ME Makef|ile tabl|
|00001ef0| 65 2e 35 20 65 6c 62 61 | 74 2e 63 20 74 61 62 6c |e.5 elba|t.c tabl|
|00001f00| 65 2e 63 20 74 61 62 6c | 65 2e 68 20 5c 0a 58 09 |e.c tabl|e.h \.X.|
|00001f10| 09 09 24 28 53 4f 55 52 | 43 45 53 29 20 3e 20 54 |..$(SOUR|CES) > T|
|00001f20| 41 42 4c 45 2e 73 68 61 | 72 0a 58 0a 58 63 6c 65 |ABLE.sha|r.X.Xcle|
|00001f30| 61 6e 3a 0a 58 09 09 72 | 6d 20 2d 66 20 61 2e 6f |an:.X..r|m -f a.o|
|00001f40| 75 74 20 2a 2e 6f 20 63 | 6f 72 65 20 73 74 72 75 |ut *.o c|ore stru|
|00001f50| 63 74 75 72 65 2e 63 0a | 58 0a 58 72 65 61 6c 63 |cture.c.|X.Xrealc|
|00001f60| 6c 65 61 6e 3a 09 63 6c | 65 61 6e 0a 58 09 09 72 |lean:.cl|ean.X..r|
|00001f70| 6d 20 2d 66 20 24 28 54 | 41 42 46 49 4c 45 53 29 |m -f $(T|ABFILES)|
|00001f80| 20 24 28 54 41 42 53 29 | 20 65 6c 62 61 74 0a 53 | $(TABS)| elbat.S|
|00001f90| 48 41 52 5f 45 4f 46 0a | 69 66 20 74 65 73 74 20 |HAR_EOF.|if test |
|00001fa0| 32 30 32 30 20 2d 6e 65 | 20 22 60 77 63 20 2d 63 |2020 -ne| "`wc -c|
|00001fb0| 20 27 4d 61 6b 65 66 69 | 6c 65 27 60 22 0a 74 68 | 'Makefi|le'`".th|
|00001fc0| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 65 |en..echo| shar: e|
|00001fd0| 72 72 6f 72 20 74 72 61 | 6e 73 6d 69 74 74 69 6e |rror tra|nsmittin|
|00001fe0| 67 20 22 27 4d 61 6b 65 | 66 69 6c 65 27 22 20 27 |g "'Make|file'" '|
|00001ff0| 28 73 68 6f 75 6c 64 20 | 68 61 76 65 20 62 65 65 |(should |have bee|
|00002000| 6e 20 32 30 32 30 20 63 | 68 61 72 61 63 74 65 72 |n 2020 c|haracter|
|00002010| 73 29 27 0a 66 69 0a 65 | 63 68 6f 20 73 68 61 72 |s)'.fi.e|cho shar|
|00002020| 3a 20 65 78 74 72 61 63 | 74 69 6e 67 20 22 27 74 |: extrac|ting "'t|
|00002030| 61 62 6c 65 2e 35 27 22 | 20 27 28 38 32 37 31 20 |able.5'"| '(8271 |
|00002040| 63 68 61 72 61 63 74 65 | 72 73 29 27 0a 69 66 20 |characte|rs)'.if |
|00002050| 74 65 73 74 20 2d 66 20 | 27 74 61 62 6c 65 2e 35 |test -f |'table.5|
|00002060| 27 0a 74 68 65 6e 0a 09 | 65 63 68 6f 20 73 68 61 |'.then..|echo sha|
|00002070| 72 3a 20 6f 76 65 72 2d | 77 72 69 74 69 6e 67 20 |r: over-|writing |
|00002080| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 22 27 |existing| file "'|
|00002090| 74 61 62 6c 65 2e 35 27 | 22 0a 66 69 0a 73 65 64 |table.5'|".fi.sed|
|000020a0| 20 27 73 2f 5e 58 2f 2f | 27 20 3c 3c 20 5c 53 48 | 's/^X//|' << \SH|
|000020b0| 41 52 5f 45 4f 46 20 3e | 20 27 74 61 62 6c 65 2e |AR_EOF >| 'table.|
|000020c0| 35 27 0a 58 2e 54 48 20 | 54 41 42 4c 45 20 35 0a |5'.X.TH |TABLE 5.|
|000020d0| 58 2e 53 48 20 4e 41 4d | 45 0a 58 74 61 62 6c 65 |X.SH NAM|E.Xtable|
|000020e0| 2c 20 65 6c 62 61 74 20 | 5c 2d 20 63 6f 6d 70 69 |, elbat |\- compi|
|000020f0| 6c 65 2f 64 65 2d 63 6f | 6d 70 69 6c 65 20 74 65 |le/de-co|mpile te|
|00002100| 72 6d 69 6e 61 6c 20 64 | 72 69 76 65 72 20 74 61 |rminal d|river ta|
|00002110| 62 6c 65 73 20 66 6f 72 | 20 6e 72 6f 66 66 0a 58 |bles for| nroff.X|
|00002120| 2e 53 48 20 53 59 4e 4f | 50 53 49 53 0a 58 2e 42 |.SH SYNO|PSIS.X.B|
|00002130| 20 65 6c 62 61 74 0a 58 | 5b 0a 58 2e 42 20 5c 2d | elbat.X|[.X.B \-|
|00002140| 64 0a 58 5d 0a 58 2e 42 | 49 20 74 61 62 20 6e 61 |d.X].X.B|I tab na|
|00002150| 6d 65 0a 58 3e 0a 58 2e | 42 49 20 74 61 62 20 6e |me.X>.X.|BI tab n|
|00002160| 61 6d 65 20 2e 63 0a 58 | 2e 62 72 0a 58 2e 42 20 |ame .c.X|.br.X.B |
|00002170| 6d 61 6b 65 0a 58 5b 0a | 58 2e 42 20 61 6c 6c 0a |make.X[.|X.B all.|
|00002180| 58 5d 20 5b 0a 58 2e 42 | 20 69 6e 73 74 61 6c 6c |X] [.X.B| install|
|00002190| 0a 58 5d 0a 58 2e 62 72 | 0a 58 2e 53 48 20 44 45 |.X].X.br|.X.SH DE|
|000021a0| 53 43 52 49 50 54 49 4f | 4e 0a 58 2e 49 52 20 4e |SCRIPTIO|N.X.IR N|
|000021b0| 72 6f 66 66 20 28 31 29 | 0a 58 75 73 65 73 20 64 |roff (1)|.Xuses d|
|000021c0| 72 69 76 65 72 20 74 61 | 62 6c 65 73 20 74 6f 20 |river ta|bles to |
|000021d0| 63 75 73 74 6f 6d 69 7a | 65 20 69 74 73 20 6f 75 |customiz|e its ou|
|000021e0| 74 70 75 74 20 66 6f 72 | 20 76 61 72 69 6f 75 73 |tput for| various|
|000021f0| 20 74 79 70 65 73 20 6f | 66 0a 58 6f 75 74 70 75 | types o|f.Xoutpu|
|00002200| 74 20 64 65 76 69 63 65 | 73 2c 20 73 75 63 68 20 |t device|s, such |
|00002210| 61 73 20 74 65 72 6d 69 | 6e 61 6c 73 2c 20 73 70 |as termi|nals, sp|
|00002220| 65 63 69 61 6c 20 70 72 | 69 6e 74 65 72 73 20 28 |ecial pr|inters (|
|00002230| 73 75 63 68 20 61 73 20 | 44 69 61 62 6c 6f 29 2c |such as |Diablo),|
|00002240| 0a 58 6f 72 20 73 70 65 | 63 69 61 6c 20 6f 75 74 |.Xor spe|cial out|
|00002250| 70 75 74 20 66 69 6c 74 | 65 72 20 70 72 6f 67 72 |put filt|er progr|
|00002260| 61 6d 73 2e 0a 58 44 72 | 69 76 69 6e 67 20 74 61 |ams..XDr|iving ta|
|00002270| 62 6c 65 73 20 61 72 65 | 20 6e 6f 72 6d 61 6c 6c |bles are| normall|
|00002280| 79 20 73 75 70 70 6c 69 | 65 64 20 66 6f 72 20 61 |y suppli|ed for a|
|00002290| 20 73 6d 61 6c 6c 20 6e | 75 6d 62 65 72 20 6f 66 | small n|umber of|
|000022a0| 20 64 65 76 69 63 65 73 | 2c 0a 58 62 75 74 20 6e | devices|,.Xbut n|
|000022b0| 6f 20 75 74 69 6c 69 74 | 79 20 69 73 20 6e 6f 72 |o utilit|y is nor|
|000022c0| 6d 61 6c 6c 79 20 73 75 | 70 70 6c 69 65 64 20 74 |mally su|pplied t|
|000022d0| 6f 20 63 72 65 61 74 65 | 20 6f 72 20 6d 6f 64 69 |o create| or modi|
|000022e0| 66 79 20 61 64 64 69 74 | 69 6f 6e 61 6c 0a 58 64 |fy addit|ional.Xd|
|000022f0| 72 69 76 65 72 20 74 61 | 62 6c 65 73 2c 20 61 74 |river ta|bles, at|
|00002300| 20 6c 65 61 73 74 20 66 | 6f 72 20 55 53 47 20 73 | least f|or USG s|
|00002310| 79 73 74 65 6d 73 2e 0a | 58 28 42 65 72 6b 65 6c |ystems..|X(Berkel|
|00002320| 65 79 20 73 79 73 74 65 | 6d 73 20 61 70 70 61 72 |ey syste|ms appar|
|00002330| 65 6e 74 6c 79 20 68 61 | 76 65 20 74 68 69 73 20 |ently ha|ve this |
|00002340| 63 61 70 61 62 69 6c 69 | 74 79 20 73 75 70 70 6c |capabili|ty suppl|
|00002350| 69 65 64 2e 29 0a 58 54 | 68 65 0a 58 2e 49 20 74 |ied.).XT|he.X.I t|
|00002360| 61 62 6c 65 0a 58 75 74 | 69 6c 69 74 79 20 61 6c |able.Xut|ility al|
|00002370| 6c 6f 77 73 20 61 20 75 | 73 65 72 20 74 6f 20 63 |lows a u|ser to c|
|00002380| 6f 6d 70 69 6c 65 20 61 | 6e 64 20 64 65 2d 63 6f |ompile a|nd de-co|
|00002390| 6d 70 69 6c 65 0a 58 2e | 49 20 6e 72 6f 66 66 0a |mpile.X.|I nroff.|
|000023a0| 58 64 72 69 76 65 72 20 | 74 61 62 6c 65 73 2e 0a |Xdriver |tables..|
|000023b0| 58 2e 50 50 0a 58 54 68 | 65 0a 58 2e 49 20 6e 72 |X.PP.XTh|e.X.I nr|
|000023c0| 6f 66 66 0a 58 5c 66 42 | 2d 54 5c 66 49 6e 61 6d |off.X\fB|-T\fInam|
|000023d0| 65 5c 66 52 0a 58 6f 70 | 74 69 6f 6e 0a 58 74 65 |e\fR.Xop|tion.Xte|
|000023e0| 6c 6c 73 20 6e 72 6f 66 | 66 20 74 6f 20 75 73 65 |lls nrof|f to use|
|000023f0| 20 74 68 65 20 64 72 69 | 76 65 72 20 74 61 62 6c | the dri|ver tabl|
|00002400| 65 0a 58 2e 42 49 20 2f | 75 73 72 2f 6c 69 62 2f |e.X.BI /|usr/lib/|
|00002410| 74 65 72 6d 2f 74 61 62 | 20 6e 61 6d 65 0a 58 74 |term/tab| name.Xt|
|00002420| 6f 20 66 6f 72 6d 61 74 | 20 74 68 65 20 6f 75 74 |o format| the out|
|00002430| 70 75 74 20 66 6f 72 20 | 61 20 70 61 72 74 69 63 |put for |a partic|
|00002440| 75 6c 61 72 20 70 72 69 | 6e 74 65 72 2e 0a 58 54 |ular pri|nter..XT|
|00002450| 68 65 20 64 72 69 76 65 | 72 20 74 61 62 6c 65 20 |he drive|r table |
|00002460| 69 73 20 73 70 65 63 69 | 66 69 65 64 20 62 79 20 |is speci|fied by |
|00002470| 61 20 73 74 72 75 63 74 | 75 72 65 0a 58 2e 42 20 |a struct|ure.X.B |
|00002480| 74 0a 58 77 68 69 63 68 | 20 69 73 20 67 69 76 65 |t.Xwhich| is give|
|00002490| 6e 20 62 79 20 61 20 73 | 6f 75 72 63 65 20 66 69 |n by a s|ource fi|
|000024a0| 6c 65 0a 58 2e 42 49 20 | 74 61 62 20 6e 61 6d 65 |le.X.BI |tab name|
|000024b0| 20 2e 63 2e 0a 58 54 68 | 65 20 73 74 72 75 63 74 | .c..XTh|e struct|
|000024c0| 75 72 65 20 6f 66 0a 58 | 2e 42 20 74 0a 58 69 73 |ure of.X|.B t.Xis|
|000024d0| 20 61 73 20 66 6f 6c 6c | 6f 77 73 3a 0a 58 2e 50 | as foll|ows:.X.P|
|000024e0| 50 0a 58 2e 6e 66 0a 58 | 2e 74 61 20 35 6d 20 31 |P.X.nf.X|.ta 5m 1|
|000024f0| 30 6d 20 31 35 6d 20 32 | 30 6d 20 32 35 6d 20 33 |0m 15m 2|0m 25m 3|
|00002500| 30 6d 20 33 35 6d 20 34 | 30 6d 20 34 35 6d 20 35 |0m 35m 4|0m 45m 5|
|00002510| 30 6d 20 35 35 6d 20 36 | 30 6d 0a 58 23 64 65 66 |0m 55m 6|0m.X#def|
|00002520| 69 6e 65 09 49 4e 43 48 | 09 32 34 30 0a 58 0a 58 |ine.INCH|.240.X.X|
|00002530| 73 74 72 75 63 74 20 74 | 20 7b 0a 58 09 69 6e 74 |struct t| {.X.int|
|00002540| 20 62 73 65 74 3b 0a 58 | 09 69 6e 74 20 62 72 65 | bset;.X|.int bre|
|00002550| 73 65 74 3b 0a 58 09 69 | 6e 74 20 48 6f 72 3b 0a |set;.X.i|nt Hor;.|
|00002560| 58 09 69 6e 74 20 56 65 | 72 74 3b 0a 58 09 69 6e |X.int Ve|rt;.X.in|
|00002570| 74 20 4e 65 77 6c 69 6e | 65 3b 0a 58 09 69 6e 74 |t Newlin|e;.X.int|
|00002580| 20 43 68 61 72 3b 0a 58 | 23 69 66 64 65 66 20 4b | Char;.X|#ifdef K|
|00002590| 41 4e 4a 49 0a 58 09 69 | 6e 74 20 4b 63 68 61 72 |ANJI.X.i|nt Kchar|
|000025a0| 3b 0a 58 23 65 6e 64 69 | 66 20 4b 41 4e 4a 49 0a |;.X#endi|f KANJI.|
|000025b0| 58 09 69 6e 74 20 45 6d | 3b 0a 58 09 69 6e 74 20 |X.int Em|;.X.int |
|000025c0| 48 61 6c 66 6c 69 6e 65 | 3b 0a 58 09 69 6e 74 20 |Halfline|;.X.int |
|000025d0| 41 64 6a 3b 0a 58 09 63 | 68 61 72 20 2a 74 77 69 |Adj;.X.c|har *twi|
|000025e0| 6e 69 74 3b 0a 58 09 63 | 68 61 72 20 2a 74 77 72 |nit;.X.c|har *twr|
|000025f0| 65 73 74 3b 0a 58 09 63 | 68 61 72 20 2a 74 77 6e |est;.X.c|har *twn|
|00002600| 6c 3b 0a 58 09 63 68 61 | 72 20 2a 68 6c 72 3b 0a |l;.X.cha|r *hlr;.|
|00002610| 58 09 63 68 61 72 20 2a | 68 6c 66 3b 0a 58 09 63 |X.char *|hlf;.X.c|
|00002620| 68 61 72 20 2a 66 6c 72 | 3b 0a 58 09 63 68 61 72 |har *flr|;.X.char|
|00002630| 20 2a 62 64 6f 6e 3b 0a | 58 09 63 68 61 72 20 2a | *bdon;.|X.char *|
|00002640| 62 64 6f 66 66 3b 0a 58 | 09 63 68 61 72 20 2a 69 |bdoff;.X|.char *i|
|00002650| 74 6f 6e 3b 0a 58 09 63 | 68 61 72 20 2a 69 74 6f |ton;.X.c|har *ito|
|00002660| 66 66 3b 0a 58 09 63 68 | 61 72 20 2a 70 6c 6f 74 |ff;.X.ch|ar *plot|
|00002670| 6f 6e 3b 0a 58 09 63 68 | 61 72 20 2a 70 6c 6f 74 |on;.X.ch|ar *plot|
|00002680| 6f 66 66 3b 0a 58 09 63 | 68 61 72 20 2a 75 70 3b |off;.X.c|har *up;|
|00002690| 0a 58 09 63 68 61 72 20 | 2a 64 6f 77 6e 3b 0a 58 |.X.char |*down;.X|
|000026a0| 09 63 68 61 72 20 2a 72 | 69 67 68 74 3b 0a 58 09 |.char *r|ight;.X.|
|000026b0| 63 68 61 72 20 2a 6c 65 | 66 74 3b 0a 58 09 63 68 |char *le|ft;.X.ch|
|000026c0| 61 72 20 2a 63 6f 64 65 | 74 61 62 5b 32 35 36 2d |ar *code|tab[256-|
|000026d0| 33 32 5d 3b 0a 58 09 63 | 68 61 72 20 2a 7a 7a 7a |32];.X.c|har *zzz|
|000026e0| 3b 0a 58 09 7d 20 74 3b | 0a 58 2e 66 69 0a 58 2e |;.X.} t;|.X.fi.X.|
|000026f0| 44 54 0a 58 2e 50 50 0a | 58 54 68 65 20 6d 65 61 |DT.X.PP.|XThe mea|
|00002700| 6e 69 6e 67 73 20 6f 66 | 20 74 68 65 20 76 61 72 |nings of| the var|
|00002710| 69 6f 75 73 20 66 69 65 | 6c 64 73 20 61 72 65 20 |ious fie|lds are |
|00002720| 61 73 20 66 6f 6c 6c 6f | 77 73 3a 0a 58 2e 54 50 |as follo|ws:.X.TP|
|00002730| 20 31 30 0a 58 2e 49 20 | 62 73 65 74 5c 5e 0a 58 | 10.X.I |bset\^.X|
|00002740| 62 69 74 73 20 74 6f 20 | 73 65 74 20 69 6e 20 74 |bits to |set in t|
|00002750| 68 65 0a 58 2e 49 20 63 | 5f 6f 66 6c 61 67 5c 5e |he.X.I c|_oflag\^|
|00002760| 0a 58 66 69 65 6c 64 20 | 6f 66 20 74 68 65 0a 58 |.Xfield |of the.X|
|00002770| 2e 49 20 74 65 72 6d 69 | 6f 5c 5e 0a 58 73 74 72 |.I termi|o\^.Xstr|
|00002780| 75 63 74 75 72 65 20 28 | 73 65 65 0a 58 2e 49 52 |ucture (|see.X.IR|
|00002790| 20 74 74 79 20 28 34 29 | 29 0a 58 62 65 66 6f 72 | tty (4)|).Xbefor|
|000027a0| 65 20 6f 75 74 70 75 74 | 2e 0a 58 2e 54 50 20 31 |e output|..X.TP 1|
|000027b0| 30 0a 58 2e 49 20 62 72 | 65 73 65 74 5c 5e 0a 58 |0.X.I br|eset\^.X|
|000027c0| 62 69 74 73 20 74 6f 20 | 72 65 73 65 74 20 69 6e |bits to |reset in|
|000027d0| 20 74 68 65 0a 58 2e 49 | 20 63 5f 6f 66 6c 61 67 | the.X.I| c_oflag|
|000027e0| 5c 5e 0a 58 66 69 65 6c | 64 20 6f 66 20 74 68 65 |\^.Xfiel|d of the|
|000027f0| 0a 58 2e 49 20 74 65 72 | 6d 69 6f 5c 5e 0a 58 73 |.X.I ter|mio\^.Xs|
|00002800| 74 72 75 63 74 75 72 65 | 0a 58 62 65 66 6f 72 65 |tructure|.Xbefore|
|00002810| 20 6f 75 74 70 75 74 2e | 0a 58 2e 54 50 20 31 30 | output.|.X.TP 10|
|00002820| 0a 58 2e 49 20 48 6f 72 | 5c 5e 0a 58 68 6f 72 69 |.X.I Hor|\^.Xhori|
|00002830| 7a 6f 6e 74 61 6c 20 72 | 65 73 6f 6c 75 74 69 6f |zontal r|esolutio|
|00002840| 6e 20 69 6e 20 66 72 61 | 63 74 69 6f 6e 73 20 6f |n in fra|ctions o|
|00002850| 66 20 61 6e 20 69 6e 63 | 68 2e 0a 58 2e 54 50 20 |f an inc|h..X.TP |
|00002860| 31 30 0a 58 2e 49 20 56 | 65 72 74 5c 5e 0a 58 76 |10.X.I V|ert\^.Xv|
|00002870| 65 72 74 69 63 61 6c 20 | 72 65 73 6f 6c 75 74 69 |ertical |resoluti|
|00002880| 6f 6e 20 69 6e 20 66 72 | 61 63 74 69 6f 6e 73 20 |on in fr|actions |
|00002890| 6f 66 20 61 6e 20 69 6e | 63 68 2e 0a 58 2e 54 50 |of an in|ch..X.TP|
|000028a0| 20 31 30 0a 58 2e 49 20 | 4e 65 77 6c 69 6e 65 5c | 10.X.I |Newline\|
|000028b0| 5e 0a 58 73 70 61 63 65 | 20 6d 6f 76 65 64 20 62 |^.Xspace| moved b|
|000028c0| 79 20 61 20 6e 65 77 6c | 69 6e 65 20 28 6c 69 6e |y a newl|ine (lin|
|000028d0| 65 66 65 65 64 29 20 63 | 68 61 72 61 63 74 65 72 |efeed) c|haracter|
|000028e0| 20 69 6e 20 66 72 61 63 | 74 69 6f 6e 73 0a 58 6f | in frac|tions.Xo|
|000028f0| 66 20 61 6e 20 69 6e 63 | 68 2e 0a 58 2e 54 50 20 |f an inc|h..X.TP |
|00002900| 31 30 0a 58 2e 49 20 43 | 68 61 72 5c 5e 0a 58 71 |10.X.I C|har\^.Xq|
|00002910| 75 61 6e 74 75 6d 20 6f | 66 20 63 68 61 72 61 63 |uantum o|f charac|
|00002920| 74 65 72 20 73 69 7a 65 | 73 2c 20 69 6e 20 66 72 |ter size|s, in fr|
|00002930| 61 63 74 69 6f 6e 73 20 | 6f 66 20 61 6e 20 69 6e |actions |of an in|
|00002940| 63 68 2e 0a 58 28 69 2e | 65 2e 2c 20 61 20 63 68 |ch..X(i.|e., a ch|
|00002950| 61 72 61 63 74 65 72 20 | 69 73 20 61 20 6d 75 6c |aracter |is a mul|
|00002960| 74 69 70 6c 65 20 6f 66 | 20 43 68 61 72 20 75 6e |tiple of| Char un|
|00002970| 69 74 73 20 77 69 64 65 | 29 0a 58 2e 54 50 20 31 |its wide|).X.TP 1|
|00002980| 30 0a 58 2e 49 20 4b 63 | 68 61 72 5c 5e 0a 58 71 |0.X.I Kc|har\^.Xq|
|00002990| 75 61 6e 74 75 6d 20 6f | 66 20 4b 61 6e 6a 69 20 |uantum o|f Kanji |
|000029a0| 63 68 61 72 61 63 74 65 | 72 20 73 69 7a 65 73 2c |characte|r sizes,|
|000029b0| 20 69 6e 20 66 72 61 63 | 74 69 6f 6e 73 20 6f 66 | in frac|tions of|
|000029c0| 20 61 6e 20 69 6e 63 68 | 2e 0a 58 28 69 2e 65 2e | an inch|..X(i.e.|
|000029d0| 2c 20 61 20 4b 61 6e 6a | 69 20 63 68 61 72 61 63 |, a Kanj|i charac|
|000029e0| 74 65 72 20 69 73 20 61 | 20 6d 75 6c 74 69 70 6c |ter is a| multipl|
|000029f0| 65 20 6f 66 20 4b 63 68 | 61 72 20 75 6e 69 74 73 |e of Kch|ar units|
|00002a00| 20 77 69 64 65 29 0a 58 | 4d 61 6e 79 20 73 79 73 | wide).X|Many sys|
|00002a10| 74 65 6d 73 20 64 6f 20 | 6e 6f 74 20 68 61 76 65 |tems do |not have|
|00002a20| 20 74 68 69 73 20 65 6c | 65 6d 65 6e 74 20 69 6e | this el|ement in|
|00002a30| 63 6c 75 64 65 64 20 69 | 6e 20 74 68 65 20 73 74 |cluded i|n the st|
|00002a40| 72 75 63 74 75 72 65 2e | 0a 58 2e 54 50 20 31 30 |ructure.|.X.TP 10|
|00002a50| 0a 58 2e 49 20 45 6d 5c | 5e 0a 58 73 69 7a 65 20 |.X.I Em\|^.Xsize |
|00002a60| 6f 66 20 61 6e 20 65 6d | 20 69 6e 20 66 72 61 63 |of an em| in frac|
|00002a70| 74 69 6f 6e 73 20 6f 66 | 20 61 6e 20 69 6e 63 68 |tions of| an inch|
|00002a80| 2e 0a 58 2e 54 50 20 31 | 30 0a 58 2e 49 20 48 61 |..X.TP 1|0.X.I Ha|
|00002a90| 6c 66 6c 69 6e 65 5c 5e | 0a 58 73 70 61 63 65 20 |lfline\^|.Xspace |
|00002aa0| 6d 6f 76 65 64 20 62 79 | 20 61 20 68 61 6c 66 2d |moved by| a half-|
|00002ab0| 6c 69 6e 65 66 65 65 64 | 20 28 6f 72 20 68 61 6c |linefeed| (or hal|
|00002ac0| 66 2d 72 65 76 65 72 73 | 65 2d 6c 69 6e 65 66 65 |f-revers|e-linefe|
|00002ad0| 65 64 29 0a 58 63 68 61 | 72 61 63 74 65 72 20 69 |ed).Xcha|racter i|
|00002ae0| 6e 20 66 72 61 63 74 69 | 6f 6e 73 20 6f 66 20 61 |n fracti|ons of a|
|00002af0| 6e 20 69 6e 63 68 2e 0a | 58 2e 54 50 20 31 30 0a |n inch..|X.TP 10.|
|00002b00| 58 2e 49 20 41 64 6a 5c | 5e 0a 58 71 75 61 6e 74 |X.I Adj\|^.Xquant|
|00002b10| 75 6d 20 6f 66 20 77 68 | 69 74 65 20 73 70 61 63 |um of wh|ite spac|
|00002b20| 65 2c 20 69 6e 20 66 72 | 61 63 74 69 6f 6e 73 20 |e, in fr|actions |
|00002b30| 6f 66 20 61 6e 20 69 6e | 63 68 2e 0a 58 28 69 2e |of an in|ch..X(i.|
|00002b40| 65 2e 2c 20 77 68 69 74 | 65 20 73 70 61 63 65 73 |e., whit|e spaces|
|00002b50| 20 61 72 65 20 61 20 6d | 75 6c 74 69 70 6c 65 20 | are a m|ultiple |
|00002b60| 6f 66 20 41 64 6a 20 75 | 6e 69 74 73 20 77 69 64 |of Adj u|nits wid|
|00002b70| 65 29 0a 58 2e 49 50 0a | 58 4e 6f 74 65 3a 20 69 |e).X.IP.|XNote: i|
|00002b80| 66 20 74 68 69 73 20 69 | 73 20 6c 65 73 73 20 74 |f this i|s less t|
|00002b90| 68 61 6e 20 74 68 65 20 | 73 69 7a 65 20 6f 66 20 |han the |size of |
|00002ba0| 74 68 65 20 73 70 61 63 | 65 0a 58 63 68 61 72 61 |the spac|e.Xchara|
|00002bb0| 63 74 65 72 20 28 69 6e | 20 75 6e 69 74 73 20 6f |cter (in| units o|
|00002bc0| 66 20 43 68 61 72 3b 20 | 73 65 65 20 62 65 6c 6f |f Char; |see belo|
|00002bd0| 77 20 66 6f 72 20 68 6f | 77 20 74 68 65 0a 58 73 |w for ho|w the.Xs|
|00002be0| 69 7a 65 73 20 6f 66 20 | 63 68 61 72 61 63 74 65 |izes of |characte|
|00002bf0| 72 73 20 61 72 65 20 64 | 65 66 69 6e 65 64 29 2c |rs are d|efined),|
|00002c00| 0a 58 2e 49 20 6e 72 6f | 66 66 5c 5e 0a 58 77 69 |.X.I nro|ff\^.Xwi|
|00002c10| 6c 6c 20 6f 75 74 70 75 | 74 0a 58 66 72 61 63 74 |ll outpu|t.Xfract|
|00002c20| 69 6f 6e 61 6c 20 73 70 | 61 63 65 73 20 75 73 69 |ional sp|aces usi|
|00002c30| 6e 67 20 70 6c 6f 74 20 | 6d 6f 64 65 2e 20 20 41 |ng plot |mode. A|
|00002c40| 6c 73 6f 2c 20 69 66 20 | 74 68 65 0a 58 2e 42 20 |lso, if |the.X.B |
|00002c50| 5c 2d 65 0a 58 73 77 69 | 74 63 68 20 74 6f 0a 58 |\-e.Xswi|tch to.X|
|00002c60| 2e 49 20 6e 72 6f 66 66 | 5c 5e 0a 58 69 73 20 75 |.I nroff|\^.Xis u|
|00002c70| 73 65 64 2c 20 41 64 6a | 20 69 73 20 73 65 74 20 |sed, Adj| is set |
|00002c80| 65 71 75 61 6c 20 74 6f | 20 48 6f 72 20 62 79 0a |equal to| Hor by.|
|00002c90| 58 2e 49 52 20 6e 72 6f | 66 66 20 2e 0a 58 2e 54 |X.IR nro|ff ..X.T|
|00002ca0| 50 20 31 30 0a 58 2e 49 | 20 74 77 69 6e 69 74 5c |P 10.X.I| twinit\|
|00002cb0| 5e 0a 58 73 65 74 20 6f | 66 20 63 68 61 72 61 63 |^.Xset o|f charac|
|00002cc0| 74 65 72 73 20 75 73 65 | 64 20 74 6f 20 69 6e 69 |ters use|d to ini|
|00002cd0| 74 69 61 6c 69 7a 65 20 | 74 68 65 20 74 65 72 6d |tialize |the term|
|00002ce0| 69 6e 61 6c 0a 58 69 6e | 20 61 20 6d 6f 64 65 20 |inal.Xin| a mode |
|00002cf0| 73 75 69 74 61 62 6c 65 | 20 66 6f 72 0a 58 2e 49 |suitable| for.X.I|
|00002d00| 52 20 6e 72 6f 66 66 20 | 2e 0a 58 2e 54 50 20 31 |R nroff |..X.TP 1|
|00002d10| 30 0a 58 2e 49 20 74 77 | 72 65 73 74 5c 5e 0a 58 |0.X.I tw|rest\^.X|
|00002d20| 73 65 74 20 6f 66 20 63 | 68 61 72 61 63 74 65 72 |set of c|haracter|
|00002d30| 73 20 75 73 65 64 20 74 | 6f 20 72 65 73 74 6f 72 |s used t|o restor|
|00002d40| 65 20 74 68 65 20 74 65 | 72 6d 69 6e 61 6c 20 74 |e the te|rminal t|
|00002d50| 6f 0a 58 6e 6f 72 6d 61 | 6c 20 6d 6f 64 65 2e 0a |o.Xnorma|l mode..|
|00002d60| 58 2e 54 50 20 31 30 0a | 58 2e 49 20 74 77 6e 6c |X.TP 10.|X.I twnl|
|00002d70| 5c 5e 0a 58 73 65 74 20 | 6f 66 20 63 68 61 72 61 |\^.Xset |of chara|
|00002d80| 63 74 65 72 73 20 75 73 | 65 64 20 74 6f 20 6d 6f |cters us|ed to mo|
|00002d90| 76 65 20 64 6f 77 6e 20 | 6f 6e 65 20 6c 69 6e 65 |ve down |one line|
|00002da0| 2e 0a 58 2e 54 50 20 31 | 30 0a 58 2e 49 20 68 6c |..X.TP 1|0.X.I hl|
|00002db0| 72 5c 5e 0a 58 73 65 74 | 20 6f 66 20 63 68 61 72 |r\^.Xset| of char|
|00002dc0| 61 63 74 65 72 73 20 75 | 73 65 64 20 74 6f 20 6d |acters u|sed to m|
|00002dd0| 6f 76 65 20 75 70 20 6f | 6e 65 2d 68 61 6c 66 20 |ove up o|ne-half |
|00002de0| 6c 69 6e 65 2e 0a 58 2e | 54 50 20 31 30 0a 58 2e |line..X.|TP 10.X.|
|00002df0| 49 20 68 6c 66 5c 5e 0a | 58 73 65 74 20 6f 66 20 |I hlf\^.|Xset of |
|00002e00| 63 68 61 72 61 63 74 65 | 72 73 20 75 73 65 64 20 |characte|rs used |
|00002e10| 74 6f 20 6d 6f 76 65 20 | 64 6f 77 6e 20 6f 6e 65 |to move |down one|
|00002e20| 2d 68 61 6c 66 20 6c 69 | 6e 65 2e 0a 58 2e 54 50 |-half li|ne..X.TP|
|00002e30| 20 31 30 0a 58 2e 49 20 | 66 6c 72 5c 5e 0a 58 73 | 10.X.I |flr\^.Xs|
|00002e40| 65 74 20 6f 66 20 63 68 | 61 72 61 63 74 65 72 73 |et of ch|aracters|
|00002e50| 20 75 73 65 64 20 74 6f | 20 6d 6f 76 65 20 75 70 | used to| move up|
|00002e60| 20 6f 6e 65 20 6c 69 6e | 65 2e 0a 58 2e 54 50 20 | one lin|e..X.TP |
|00002e70| 31 30 0a 58 2e 49 20 62 | 64 6f 6e 5c 5e 0a 58 73 |10.X.I b|don\^.Xs|
|00002e80| 65 74 20 6f 66 20 63 68 | 61 72 61 63 74 65 72 73 |et of ch|aracters|
|00002e90| 20 75 73 65 64 20 74 6f | 20 74 75 72 6e 20 6f 6e | used to| turn on|
|00002ea0| 20 68 61 72 64 77 61 72 | 65 20 62 6f 6c 64 66 61 | hardwar|e boldfa|
|00002eb0| 63 65 20 6d 6f 64 65 2c | 0a 58 69 66 20 61 6e 79 |ce mode,|.Xif any|
|00002ec0| 2e 0a 58 2e 49 20 4e 72 | 6f 66 66 5c 5e 0a 58 61 |..X.I Nr|off\^.Xa|
|00002ed0| 73 73 75 6d 65 73 20 74 | 68 61 74 20 62 6f 6c 64 |ssumes t|hat bold|
|00002ee0| 66 61 63 65 20 6d 6f 64 | 65 20 69 73 20 72 65 73 |face mod|e is res|
|00002ef0| 65 74 20 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |et autom|atically|
|00002f00| 20 62 79 20 74 68 65 0a | 58 2e 49 20 74 77 6e 6c | by the.|X.I twnl|
|00002f10| 5c 5e 0a 58 73 74 72 69 | 6e 67 2c 20 62 65 63 61 |\^.Xstri|ng, beca|
|00002f20| 75 73 65 20 6d 61 6e 79 | 20 6c 65 74 74 65 72 2d |use many| letter-|
|00002f30| 71 75 61 6c 69 74 79 20 | 70 72 69 6e 74 65 72 73 |quality |printers|
|00002f40| 20 72 65 73 65 74 20 74 | 68 65 20 62 6f 6c 64 66 | reset t|he boldf|
|00002f50| 61 63 65 0a 58 6d 6f 64 | 65 20 77 68 65 6e 20 74 |ace.Xmod|e when t|
|00002f60| 68 65 79 20 72 65 63 65 | 69 76 65 20 61 20 63 61 |hey rece|ive a ca|
|00002f70| 72 72 69 61 67 65 20 72 | 65 74 75 72 6e 3b 0a 58 |rriage r|eturn;.X|
|00002f80| 74 68 65 0a 58 2e 49 20 | 74 77 6e 6c 5c 5e 0a 58 |the.X.I |twnl\^.X|
|00002f90| 73 74 72 69 6e 67 20 73 | 68 6f 75 6c 64 20 69 6e |string s|hould in|
|00002fa0| 63 6c 75 64 65 20 77 68 | 61 74 65 76 65 72 20 63 |clude wh|atever c|
|00002fb0| 68 61 72 61 63 74 65 72 | 73 20 61 72 65 20 6e 65 |haracter|s are ne|
|00002fc0| 63 65 73 73 61 72 79 20 | 74 6f 0a 58 72 65 73 65 |cessary |to.Xrese|
|00002fd0| 74 20 74 68 65 20 62 6f | 6c 64 66 61 63 65 20 6d |t the bo|ldface m|
|00002fe0| 6f 64 65 2e 0a 58 2e 54 | 50 20 31 30 0a 58 2e 49 |ode..X.T|P 10.X.I|
|00002ff0| 20 62 64 6f 66 66 5c 5e | 0a 58 73 65 74 20 6f 66 | bdoff\^|.Xset of|
|00003000| 20 63 68 61 72 61 63 74 | 65 72 73 20 75 73 65 64 | charact|ers used|
|00003010| 20 74 6f 20 74 75 72 6e | 20 6f 66 66 20 68 61 72 | to turn| off har|
|00003020| 64 77 61 72 65 20 62 6f | 6c 64 66 61 63 65 20 6d |dware bo|ldface m|
|00003030| 6f 64 65 2c 0a 58 69 66 | 20 61 6e 79 2e 0a 58 2e |ode,.Xif| any..X.|
|00003040| 54 50 20 31 30 0a 58 2e | 49 20 69 74 6f 6e 5c 5e |TP 10.X.|I iton\^|
|00003050| 0a 58 73 65 74 20 6f 66 | 20 63 68 61 72 61 63 74 |.Xset of| charact|
|00003060| 65 72 73 20 75 73 65 64 | 20 74 6f 20 74 75 72 6e |ers used| to turn|
|00003070| 20 6f 6e 20 68 61 72 64 | 77 61 72 65 20 69 74 61 | on hard|ware ita|
|00003080| 6c 69 63 73 20 6d 6f 64 | 65 2c 0a 58 69 66 20 61 |lics mod|e,.Xif a|
|00003090| 6e 79 2e 0a 58 2e 54 50 | 20 31 30 0a 58 2e 49 20 |ny..X.TP| 10.X.I |
|000030a0| 69 74 6f 66 66 5c 5e 0a | 58 73 65 74 20 6f 66 20 |itoff\^.|Xset of |
|000030b0| 63 68 61 72 61 63 74 65 | 72 73 20 75 73 65 64 20 |characte|rs used |
|000030c0| 74 6f 20 74 75 72 6e 20 | 6f 66 66 20 68 61 72 64 |to turn |off hard|
|000030d0| 77 61 72 65 20 69 74 61 | 6c 69 63 73 20 6d 6f 64 |ware ita|lics mod|
|000030e0| 65 2c 0a 58 69 66 20 61 | 6e 79 2e 0a 58 2e 54 50 |e,.Xif a|ny..X.TP|
|000030f0| 20 31 30 0a 58 2e 49 20 | 70 6c 6f 74 6f 6e 5c 5e | 10.X.I |ploton\^|
|00003100| 0a 58 73 65 74 20 6f 66 | 20 63 68 61 72 61 63 74 |.Xset of| charact|
|00003110| 65 72 73 20 75 73 65 64 | 20 74 6f 20 74 75 72 6e |ers used| to turn|
|00003120| 20 6f 6e 20 68 61 72 64 | 77 61 72 65 20 70 6c 6f | on hard|ware plo|
|00003130| 74 20 6d 6f 64 65 0a 58 | 28 66 6f 72 20 44 69 61 |t mode.X|(for Dia|
|00003140| 62 6c 6f 20 74 79 70 65 | 20 6d 65 63 68 61 6e 69 |blo type| mechani|
|00003150| 73 6d 73 29 2c 20 69 66 | 20 61 6e 79 2e 0a 58 2e |sms), if| any..X.|
|00003160| 54 50 20 31 30 0a 58 2e | 49 20 70 6c 6f 74 6f 66 |TP 10.X.|I plotof|
|00003170| 66 5c 5e 0a 58 73 65 74 | 20 6f 66 20 63 68 61 72 |f\^.Xset| of char|
|00003180| 61 63 74 65 72 73 20 75 | 73 65 64 20 74 6f 20 74 |acters u|sed to t|
|00003190| 75 72 6e 20 6f 66 66 20 | 68 61 72 64 77 61 72 65 |urn off |hardware|
|000031a0| 20 70 6c 6f 74 20 6d 6f | 64 65 0a 58 28 66 6f 72 | plot mo|de.X(for|
|000031b0| 20 44 69 61 62 6c 6f 20 | 74 79 70 65 20 6d 65 63 | Diablo |type mec|
|000031c0| 68 61 6e 69 73 6d 73 29 | 2c 20 69 66 20 61 6e 79 |hanisms)|, if any|
|000031d0| 2e 0a 58 2e 54 50 20 31 | 30 0a 58 2e 49 20 75 70 |..X.TP 1|0.X.I up|
|000031e0| 5c 5e 0a 58 73 65 74 20 | 6f 66 20 63 68 61 72 61 |\^.Xset |of chara|
|000031f0| 63 74 65 72 73 20 75 73 | 65 64 20 74 6f 20 6d 6f |cters us|ed to mo|
|00003200| 76 65 20 75 70 20 6f 6e | 65 20 72 65 73 6f 6c 75 |ve up on|e resolu|
|00003210| 74 69 6f 6e 20 75 6e 69 | 74 0a 58 28 56 65 72 74 |tion uni|t.X(Vert|
|00003220| 29 20 69 6e 20 70 6c 6f | 74 20 6d 6f 64 65 2c 20 |) in plo|t mode, |
|00003230| 69 66 20 61 6e 79 2e 0a | 58 2e 54 50 20 31 30 0a |if any..|X.TP 10.|
|00003240| 58 2e 49 20 64 6f 77 6e | 5c 5e 0a 58 73 65 74 20 |X.I down|\^.Xset |
|00003250| 6f 66 20 63 68 61 72 61 | 63 74 65 72 73 20 75 73 |of chara|cters us|
|00003260| 65 64 20 74 6f 20 6d 6f | 76 65 20 64 6f 77 6e 20 |ed to mo|ve down |
|00003270| 6f 6e 65 20 72 65 73 6f | 6c 75 74 69 6f 6e 20 75 |one reso|lution u|
|00003280| 6e 69 74 0a 58 28 56 65 | 72 74 29 20 69 6e 20 70 |nit.X(Ve|rt) in p|
|00003290| 6c 6f 74 20 6d 6f 64 65 | 2c 20 69 66 20 61 6e 79 |lot mode|, if any|
|000032a0| 2e 0a 58 2e 54 50 20 31 | 30 0a 58 2e 49 20 72 69 |..X.TP 1|0.X.I ri|
|000032b0| 67 68 74 5c 5e 0a 58 73 | 65 74 20 6f 66 20 63 68 |ght\^.Xs|et of ch|
|000032c0| 61 72 61 63 74 65 72 73 | 20 75 73 65 64 20 74 6f |aracters| used to|
|000032d0| 20 6d 6f 76 65 20 72 69 | 67 68 74 20 6f 6e 65 20 | move ri|ght one |
|000032e0| 72 65 73 6f 6c 75 74 69 | 6f 6e 20 75 6e 69 74 0a |resoluti|on unit.|
|000032f0| 58 28 48 6f 72 29 20 69 | 6e 20 70 6c 6f 74 20 6d |X(Hor) i|n plot m|
|00003300| 6f 64 65 2c 20 69 66 20 | 61 6e 79 2e 0a 58 2e 54 |ode, if |any..X.T|
|00003310| 50 20 31 30 0a 58 2e 49 | 20 6c 65 66 74 5c 5e 0a |P 10.X.I| left\^.|
|00003320| 58 73 65 74 20 6f 66 20 | 63 68 61 72 61 63 74 65 |Xset of |characte|
|00003330| 72 73 20 75 73 65 64 20 | 74 6f 20 6d 6f 76 65 20 |rs used |to move |
|00003340| 6c 65 66 74 20 6f 6e 65 | 20 72 65 73 6f 6c 75 74 |left one| resolut|
|00003350| 69 6f 6e 20 75 6e 69 74 | 0a 58 28 48 6f 72 29 20 |ion unit|.X(Hor) |
|00003360| 69 6e 20 70 6c 6f 74 20 | 6d 6f 64 65 2c 20 69 66 |in plot |mode, if|
|00003370| 20 61 6e 79 2e 0a 58 2e | 54 50 20 31 30 0a 58 2e | any..X.|TP 10.X.|
|00003380| 49 20 63 6f 64 65 74 61 | 62 5c 5e 0a 58 64 65 66 |I codeta|b\^.Xdef|
|00003390| 69 6e 69 74 69 6f 6e 20 | 6f 66 20 63 68 61 72 61 |inition |of chara|
|000033a0| 63 74 65 72 73 20 6e 65 | 65 64 65 64 20 74 6f 20 |cters ne|eded to |
|000033b0| 70 72 69 6e 74 20 61 6e | 0a 58 2e 49 20 6e 72 6f |print an|.X.I nro|
|000033c0| 66 66 5c 5e 0a 58 63 68 | 61 72 61 63 74 65 72 0a |ff\^.Xch|aracter.|
|000033d0| 58 6f 6e 20 74 68 65 20 | 74 65 72 6d 69 6e 61 6c |Xon the |terminal|
|000033e0| 2e 0a 58 54 68 65 20 66 | 69 72 73 74 20 62 79 74 |..XThe f|irst byt|
|000033f0| 65 20 69 73 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |e is the| number |
|00003400| 6f 66 20 63 68 61 72 61 | 63 74 65 72 20 75 6e 69 |of chara|cter uni|
|00003410| 74 73 20 28 43 68 61 72 | 29 20 6e 65 65 64 65 64 |ts (Char|) needed|
|00003420| 20 74 6f 20 68 6f 6c 64 | 20 74 68 65 0a 58 63 68 | to hold| the.Xch|
|00003430| 61 72 61 63 74 65 72 3b | 20 69 2e 65 2e 2c 20 60 |aracter;| i.e., `|
|00003440| 60 5c 5c 30 30 31 27 27 | 20 69 73 20 6f 6e 65 20 |`\\001''| is one |
|00003450| 75 6e 69 74 20 77 69 64 | 65 2c 20 60 60 5c 5c 30 |unit wid|e, ``\\0|
|00003460| 30 32 27 27 20 69 73 20 | 74 77 6f 0a 58 75 6e 69 |02'' is |two.Xuni|
|00003470| 74 73 20 77 69 64 65 2c | 20 65 74 63 2e 20 20 54 |ts wide,| etc. T|
|00003480| 68 65 20 68 69 67 68 2d | 6f 72 64 65 72 20 62 69 |he high-|order bi|
|00003490| 74 20 28 30 32 30 30 29 | 20 69 73 20 6f 6e 20 69 |t (0200)| is on i|
|000034a0| 66 0a 58 74 68 65 20 63 | 68 61 72 61 63 74 65 72 |f.Xthe c|haracter|
|000034b0| 20 69 73 20 74 6f 20 62 | 65 20 75 6e 64 65 72 6c | is to b|e underl|
|000034c0| 69 6e 65 64 20 69 6e 20 | 75 6e 64 65 72 6c 69 6e |ined in |underlin|
|000034d0| 65 20 6d 6f 64 65 0a 58 | 28 2e 75 6c 29 2e 0a 58 |e mode.X|(.ul)..X|
|000034e0| 54 68 69 73 20 62 79 74 | 65 20 63 61 6e 20 62 65 |This byt|e can be|
|000034f0| 20 7a 65 72 6f 2c 20 69 | 6e 64 69 63 61 74 69 6e | zero, i|ndicatin|
|00003500| 67 20 7a 65 72 6f 2d 6c | 65 6e 67 74 68 20 63 68 |g zero-l|ength ch|
|00003510| 61 72 61 63 74 65 72 73 | 20 28 61 63 63 65 6e 74 |aracters| (accent|
|00003520| 73 2c 20 65 74 63 29 2c | 0a 58 77 69 74 68 20 74 |s, etc),|.Xwith t|
|00003530| 68 65 20 72 65 6d 61 69 | 6e 69 6e 67 20 73 74 72 |he remai|ning str|
|00003540| 69 6e 67 20 62 65 69 6e | 67 20 6e 6f 6e 2d 6e 75 |ing bein|g non-nu|
|00003550| 6c 6c 2e 0a 58 54 68 69 | 73 20 6d 65 61 6e 73 20 |ll..XThi|s means |
|00003560| 74 68 61 74 20 61 20 6e | 75 6c 6c 20 63 68 61 72 |that a n|ull char|
|00003570| 61 63 74 65 72 20 6d 75 | 73 74 20 62 65 20 65 78 |acter mu|st be ex|
|00003580| 70 72 65 73 73 65 64 20 | 61 73 20 22 5c 5c 30 30 |pressed |as "\\00|
|00003590| 30 5c 5c 30 22 2c 0a 58 | 6e 6f 74 20 6d 65 72 65 |0\\0",.X|not mere|
|000035a0| 6c 79 20 22 22 2e 0a 58 | 2e 42 20 22 54 68 65 20 |ly ""..X|.B "The |
|000035b0| 6c 61 74 74 65 72 20 77 | 69 6c 6c 20 63 61 75 73 |latter w|ill caus|
|000035c0| 65 20 73 65 72 69 6f 75 | 73 20 70 72 6f 62 6c 65 |e seriou|s proble|
|000035d0| 6d 73 20 66 6f 72 20 5c | 66 49 6e 72 6f 66 66 5c |ms for \|fInroff\|
|000035e0| 66 52 21 22 0a 58 54 68 | 65 20 72 65 73 74 20 6f |fR!".XTh|e rest o|
|000035f0| 66 20 74 68 65 20 62 79 | 74 65 73 20 61 72 65 20 |f the by|tes are |
|00003600| 74 68 65 20 63 68 61 72 | 61 63 74 65 72 73 20 75 |the char|acters u|
|00003610| 73 65 64 20 74 6f 20 70 | 72 6f 64 75 63 65 20 74 |sed to p|roduce t|
|00003620| 68 65 20 63 68 61 72 61 | 63 74 65 72 20 69 6e 0a |he chara|cter in.|
|00003630| 58 71 75 65 73 74 69 6f | 6e 2e 20 20 49 66 20 74 |Xquestio|n. If t|
|00003640| 68 65 20 63 68 61 72 61 | 63 74 65 72 20 68 61 73 |he chara|cter has|
|00003650| 20 74 68 65 20 73 69 67 | 6e 20 28 30 32 30 30 29 | the sig|n (0200)|
|00003660| 20 62 69 74 20 6f 6e 2c | 0a 58 69 74 20 69 73 20 | bit on,|.Xit is |
|00003670| 61 20 63 6f 64 65 20 74 | 6f 20 6d 6f 76 65 20 74 |a code t|o move t|
|00003680| 68 65 20 74 65 72 6d 69 | 6e 61 6c 20 69 6e 20 70 |he termi|nal in p|
|00003690| 6c 6f 74 20 6d 6f 64 65 | 2e 20 20 49 74 20 69 73 |lot mode|. It is|
|000036a0| 0a 58 65 6e 63 6f 64 65 | 64 20 61 73 3a 0a 58 2e |.Xencode|d as:.X.|
|000036b0| 52 53 0a 58 2e 49 50 20 | 22 30 31 30 30 20 62 69 |RS.X.IP |"0100 bi|
|000036c0| 74 20 6f 6e 22 20 31 35 | 0a 58 76 65 72 74 69 63 |t on" 15|.Xvertic|
|000036d0| 61 6c 20 6d 6f 74 69 6f | 6e 2e 0a 58 2e 49 50 20 |al motio|n..X.IP |
|000036e0| 22 30 31 30 30 20 62 69 | 74 20 6f 66 66 22 20 31 |"0100 bi|t off" 1|
|000036f0| 35 0a 58 68 6f 72 69 7a | 6f 6e 74 61 6c 20 6d 6f |5.Xhoriz|ontal mo|
|00003700| 74 69 6f 6e 2e 0a 58 2e | 49 50 20 22 30 34 30 20 |tion..X.|IP "040 |
|00003710| 62 69 74 20 6f 6e 22 20 | 31 35 0a 58 6e 65 67 61 |bit on" |15.Xnega|
|00003720| 74 69 76 65 20 28 75 70 | 20 6f 72 20 6c 65 66 74 |tive (up| or left|
|00003730| 29 20 6d 6f 74 69 6f 6e | 2e 0a 58 2e 49 50 20 22 |) motion|..X.IP "|
|00003740| 30 34 30 20 62 69 74 20 | 6f 66 66 22 20 31 35 0a |040 bit |off" 15.|
|00003750| 58 70 6f 73 69 74 69 76 | 65 20 28 64 6f 77 6e 20 |Xpositiv|e (down |
|00003760| 6f 72 20 72 69 67 68 74 | 29 20 6d 6f 74 69 6f 6e |or right|) motion|
|00003770| 2e 0a 58 2e 49 50 20 22 | 30 33 37 20 62 69 74 73 |..X.IP "|037 bits|
|00003780| 22 20 31 35 0a 58 6e 75 | 6d 62 65 72 20 6f 66 20 |" 15.Xnu|mber of |
|00003790| 73 75 63 68 20 6d 6f 74 | 69 6f 6e 73 20 74 6f 20 |such mot|ions to |
|000037a0| 6d 61 6b 65 2e 0a 58 2e | 52 45 0a 58 2e 54 50 20 |make..X.|RE.X.TP |
|000037b0| 31 30 0a 58 2e 49 20 7a | 7a 7a 5c 5e 0a 58 61 20 |10.X.I z|zz\^.Xa |
|000037c0| 7a 65 72 6f 20 74 65 72 | 6d 69 6e 61 74 6f 72 20 |zero ter|minator |
|000037d0| 61 74 20 74 68 65 20 65 | 6e 64 2e 0a 58 2e 50 50 |at the e|nd..X.PP|
|000037e0| 0a 58 41 6c 6c 20 71 75 | 61 6e 74 69 74 69 65 73 |.XAll qu|antities|
|000037f0| 20 77 68 69 63 68 20 61 | 72 65 20 69 6e 20 75 6e | which a|re in un|
|00003800| 69 74 73 20 6f 66 20 66 | 72 61 63 74 69 6f 6e 73 |its of f|ractions|
|00003810| 20 6f 66 20 61 6e 20 69 | 6e 63 68 20 73 68 6f 75 | of an i|nch shou|
|00003820| 6c 64 0a 58 62 65 20 65 | 78 70 72 65 73 73 65 64 |ld.Xbe e|xpressed|
|00003830| 20 61 73 0a 58 2e 52 49 | 20 49 4e 43 48 2a 20 6e | as.X.RI| INCH* n|
|00003840| 75 6d 20 2f 20 64 65 6e | 6f 6d 20 2c 0a 58 77 68 |um / den|om ,.Xwh|
|00003850| 65 72 65 0a 58 2e 49 20 | 6e 75 6d 5c 5e 0a 58 61 |ere.X.I |num\^.Xa|
|00003860| 6e 64 0a 58 2e 49 20 64 | 65 6e 6f 6d 5c 5e 0a 58 |nd.X.I d|enom\^.X|
|00003870| 61 72 65 20 72 65 73 70 | 65 63 74 69 76 65 6c 79 |are resp|ectively|
|00003880| 20 74 68 65 20 6e 75 6d | 65 72 61 74 6f 72 20 61 | the num|erator a|
|00003890| 6e 64 20 64 65 6e 6f 6d | 69 6e 61 74 6f 72 20 6f |nd denom|inator o|
|000038a0| 66 20 74 68 65 20 66 72 | 61 63 74 69 6f 6e 3b 20 |f the fr|action; |
|000038b0| 69 2e 65 2e 2c 0a 58 31 | 2f 34 38 20 6f 66 20 61 |i.e.,.X1|/48 of a|
|000038c0| 6e 20 69 6e 63 68 20 77 | 6f 75 6c 64 20 62 65 20 |n inch w|ould be |
|000038d0| 77 72 69 74 74 65 6e 20 | 61 73 20 60 60 49 4e 43 |written |as ``INC|
|000038e0| 48 2f 34 38 27 27 2e 0a | 58 2e 50 50 0a 58 49 66 |H/48''..|X.PP.XIf|
|000038f0| 20 61 6e 79 20 73 65 71 | 75 65 6e 63 65 20 6f 66 | any seq|uence of|
|00003900| 20 63 68 61 72 61 63 74 | 65 72 73 20 64 6f 65 73 | charact|ers does|
|00003910| 20 6e 6f 74 20 70 65 72 | 74 61 69 6e 20 74 6f 20 | not per|tain to |
|00003920| 74 68 65 20 6f 75 74 70 | 75 74 20 64 65 76 69 63 |the outp|ut devic|
|00003930| 65 2c 0a 58 74 68 61 74 | 20 73 65 71 75 65 6e 63 |e,.Xthat| sequenc|
|00003940| 65 20 73 68 6f 75 6c 64 | 20 62 65 20 67 69 76 65 |e should| be give|
|00003950| 6e 20 61 73 20 61 20 6e | 75 6c 6c 20 73 74 72 69 |n as a n|ull stri|
|00003960| 6e 67 20 28 22 22 29 2c | 0a 58 65 78 63 65 70 74 |ng (""),|.Xexcept|
|00003970| 20 66 6f 72 20 6e 75 6c | 6c 20 5c 66 49 63 6f 64 | for nul|l \fIcod|
|00003980| 65 74 61 62 5c 66 52 20 | 73 74 72 69 6e 67 73 2c |etab\fR |strings,|
|00003990| 0a 58 77 68 69 63 68 20 | 6d 75 73 74 20 62 65 20 |.Xwhich |must be |
|000039a0| 67 69 76 65 6e 20 61 73 | 20 22 5c 5c 30 30 30 5c |given as| "\\000\|
|000039b0| 5c 30 22 2e 0a 58 2e 50 | 50 0a 58 2e 53 48 20 55 |\0"..X.P|P.X.SH U|
|000039c0| 53 41 47 45 0a 58 53 6f | 75 72 63 65 20 66 69 6c |SAGE.XSo|urce fil|
|000039d0| 65 73 20 61 72 65 20 70 | 72 65 70 61 72 65 64 20 |es are p|repared |
|000039e0| 66 6f 72 20 74 68 65 20 | 64 72 69 76 65 72 73 20 |for the |drivers |
|000039f0| 62 79 20 75 73 69 6e 67 | 20 61 6e 20 65 64 69 74 |by using| an edit|
|00003a00| 6f 72 20 74 6f 0a 58 63 | 72 65 61 74 65 20 61 0a |or to.Xc|reate a.|
|00003a10| 58 2e 42 49 20 74 61 62 | 20 6e 61 6d 65 20 2e 63 |X.BI tab| name .c|
|00003a20| 0a 58 66 69 6c 65 20 77 | 68 69 63 68 20 63 6f 6e |.Xfile w|hich con|
|00003a30| 74 61 69 6e 73 20 61 6e | 20 69 6e 69 74 69 61 6c |tains an| initial|
|00003a40| 69 7a 65 64 0a 58 2e 42 | 20 74 0a 58 73 74 72 75 |ized.X.B| t.Xstru|
|00003a50| 63 74 75 72 65 2c 0a 58 | 6f 72 20 62 79 20 66 69 |cture,.X|or by fi|
|00003a60| 72 73 74 20 75 73 69 6e | 67 0a 58 2e 49 20 65 6c |rst usin|g.X.I el|
|00003a70| 62 61 74 0a 58 74 6f 20 | 64 65 2d 63 6f 6d 70 69 |bat.Xto |de-compi|
|00003a80| 6c 65 20 61 6e 20 65 78 | 69 73 74 69 6e 67 20 73 |le an ex|isting s|
|00003a90| 79 73 74 65 6d 20 64 72 | 69 76 65 72 20 74 61 62 |ystem dr|iver tab|
|00003aa0| 6c 65 20 69 6e 74 6f 20 | 73 6f 75 72 63 65 2c 0a |le into |source,.|
|00003ab0| 58 61 6e 64 20 6d 6f 64 | 69 66 79 69 6e 67 20 74 |Xand mod|ifying t|
|00003ac0| 68 61 74 20 73 6f 75 72 | 63 65 20 74 6f 20 73 75 |hat sour|ce to su|
|00003ad0| 69 74 2e 0a 58 54 68 65 | 0a 58 2e 42 49 20 74 61 |it..XThe|.X.BI ta|
|00003ae0| 62 20 6e 61 6d 65 20 2e | 63 0a 58 66 69 6c 65 20 |b name .|c.Xfile |
|00003af0| 69 73 20 70 6c 61 63 65 | 64 20 69 6e 20 74 68 65 |is place|d in the|
|00003b00| 0a 58 2e 49 20 74 61 62 | 6c 65 0a 58 75 74 69 6c |.X.I tab|le.Xutil|
|00003b10| 69 74 79 20 73 6f 75 72 | 63 65 20 64 69 72 65 63 |ity sour|ce direc|
|00003b20| 74 6f 72 79 2c 0a 58 61 | 6e 64 20 74 68 65 0a 58 |tory,.Xa|nd the.X|
|00003b30| 2e 42 20 4d 61 6b 65 66 | 69 6c 65 0a 58 69 73 20 |.B Makef|ile.Xis |
|00003b40| 65 64 69 74 65 64 20 74 | 6f 20 69 6e 63 6c 75 64 |edited t|o includ|
|00003b50| 65 0a 58 2e 42 49 20 74 | 61 62 20 6e 61 6d 65 20 |e.X.BI t|ab name |
|00003b60| 2e 63 0a 58 69 6e 20 74 | 68 65 0a 58 2e 42 20 53 |.c.Xin t|he.X.B S|
|00003b70| 4f 55 52 43 45 53 0a 58 | 64 65 66 69 6e 69 74 69 |OURCES.X|definiti|
|00003b80| 6f 6e 2e 0a 58 54 79 70 | 69 6e 67 0a 58 2e 49 20 |on..XTyp|ing.X.I |
|00003b90| 6d 61 6b 65 0a 58 6d 61 | 6b 65 73 20 61 6c 6c 20 |make.Xma|kes all |
|00003ba0| 74 68 65 20 64 72 69 76 | 65 72 20 74 61 62 6c 65 |the driv|er table|
|00003bb0| 73 2e 0a 58 54 79 70 69 | 6e 67 0a 58 2e 49 20 6d |s..XTypi|ng.X.I m|
|00003bc0| 61 6b 65 20 69 6e 73 74 | 61 6c 6c 0a 58 69 6e 73 |ake inst|all.Xins|
|00003bd0| 74 61 6c 6c 73 20 74 68 | 65 6d 20 69 6e 20 74 68 |talls th|em in th|
|00003be0| 65 0a 58 2e 42 20 2f 75 | 73 72 2f 6c 69 62 2f 74 |e.X.B /u|sr/lib/t|
|00003bf0| 65 72 6d 0a 58 64 69 72 | 65 63 74 6f 72 79 2e 0a |erm.Xdir|ectory..|
|00003c00| 58 2e 50 0a 58 2e 49 20 | 45 6c 62 61 74 0a 58 2e |X.P.X.I |Elbat.X.|
|00003c10| 42 49 20 2f 75 73 72 2f | 6c 69 62 2f 74 65 72 6d |BI /usr/|lib/term|
|00003c20| 2f 74 61 62 20 6e 61 6d | 65 0a 58 64 65 63 6f 6d |/tab nam|e.Xdecom|
|00003c30| 70 69 6c 65 73 20 74 68 | 61 74 20 64 72 69 76 65 |piles th|at drive|
|00003c40| 72 20 74 61 62 6c 65 2c | 0a 58 61 6e 64 20 70 75 |r table,|.Xand pu|
|00003c50| 74 73 20 74 68 65 20 73 | 6f 75 72 63 65 20 63 6f |ts the s|ource co|
|00003c60| 64 65 20 74 6f 20 73 74 | 61 6e 64 61 72 64 20 6f |de to st|andard o|
|00003c70| 75 74 70 75 74 2e 0a 58 | 54 68 65 0a 58 2e 42 20 |utput..X|The.X.B |
|00003c80| 2d 64 0a 58 6f 70 74 69 | 6f 6e 20 69 6e 63 6c 75 |-d.Xopti|on inclu|
|00003c90| 64 65 73 20 61 73 20 63 | 6f 6d 6d 65 6e 74 73 20 |des as c|omments |
|00003ca0| 65 78 74 65 6e 73 69 76 | 65 20 64 65 62 75 67 20 |extensiv|e debug |
|00003cb0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 2e 0a 58 2e 53 |informat|ion..X.S|
|00003cc0| 48 20 46 4f 52 4d 41 54 | 0a 58 54 68 65 20 73 74 |H FORMAT|.XThe st|
|00003cd0| 72 75 63 74 75 72 65 20 | 6f 66 20 74 68 65 20 64 |ructure |of the d|
|00003ce0| 72 69 76 65 72 20 74 61 | 62 6c 65 73 20 69 73 20 |river ta|bles is |
|00003cf0| 61 20 73 69 6e 67 6c 65 | 20 69 6e 74 65 67 65 72 |a single| integer|
|00003d00| 0a 58 2e 49 52 20 63 5f | 73 69 7a 65 20 2c 0a 58 |.X.IR c_|size ,.X|
|00003d10| 66 6f 6c 6c 6f 77 65 64 | 20 62 79 20 61 20 73 74 |followed| by a st|
|00003d20| 72 75 63 74 75 72 65 0a | 58 2e 49 52 20 74 5f 73 |ructure.|X.IR t_s|
|00003d30| 74 6f 72 20 2c 0a 58 66 | 6f 6c 6c 6f 77 65 64 20 |tor ,.Xf|ollowed |
|00003d40| 62 79 20 61 6e 20 61 72 | 72 61 79 20 6f 66 20 63 |by an ar|ray of c|
|00003d50| 68 61 72 61 63 74 65 72 | 20 64 61 74 61 0a 58 2e |haracter| data.X.|
|00003d60| 49 20 63 5f 64 61 74 61 | 0a 58 6f 66 0a 58 2e 49 |I c_data|.Xof.X.I|
|00003d70| 20 63 5f 73 69 7a 65 0a | 58 62 79 74 65 73 2e 0a | c_size.|Xbytes..|
|00003d80| 58 54 68 65 20 73 69 7a | 65 20 6f 66 20 74 68 65 |XThe siz|e of the|
|00003d90| 20 64 72 69 76 65 72 20 | 74 61 62 6c 65 20 69 6e | driver |table in|
|00003da0| 20 62 79 74 65 73 20 69 | 73 20 74 68 65 72 65 66 | bytes i|s theref|
|00003db0| 6f 72 65 3a 0a 58 2e 62 | 72 0a 58 2e 6e 66 0a 58 |ore:.X.b|r.X.nf.X|
|00003dc0| 20 20 20 20 20 5c 66 42 | 73 69 7a 65 6f 66 20 28 | \fB|sizeof (|
|00003dd0| 5c 66 49 69 6e 74 5c 66 | 42 29 20 2b 20 5c 66 42 |\fIint\f|B) + \fB|
|00003de0| 73 69 7a 65 6f 66 20 28 | 5c 66 49 73 74 72 75 63 |sizeof (|\fIstruc|
|00003df0| 74 20 74 5f 73 74 6f 72 | 5c 66 42 29 20 2b 20 5c |t t_stor|\fB) + \|
|00003e00| 66 49 63 5f 73 69 7a 65 | 5c 66 52 2e 0a 58 2e 66 |fIc_size|\fR..X.f|
|00003e10| 69 0a 58 54 68 65 20 73 | 74 72 75 63 74 75 72 65 |i.XThe s|tructure|
|00003e20| 20 74 5f 73 74 6f 72 20 | 69 73 20 69 64 65 6e 74 | t_stor |is ident|
|00003e30| 69 63 61 6c 20 74 6f 20 | 74 68 65 20 73 74 72 75 |ical to |the stru|
|00003e40| 63 74 75 72 65 0a 58 2e | 42 20 74 0a 58 65 78 63 |cture.X.|B t.Xexc|
|00003e50| 65 70 74 20 74 68 61 74 | 20 61 6c 6c 20 63 68 61 |ept that| all cha|
|00003e60| 72 61 63 74 65 72 20 70 | 6f 69 6e 74 65 72 73 20 |racter p|ointers |
|00003e70| 61 72 65 20 72 65 70 6c | 61 63 65 64 20 62 79 20 |are repl|aced by |
|00003e80| 69 6e 74 65 67 65 72 20 | 76 61 6c 75 65 73 0a 58 |integer |values.X|
|00003e90| 77 68 69 63 68 20 69 6e | 64 65 78 20 69 6e 74 6f |which in|dex into|
|00003ea0| 20 74 68 65 20 63 5f 64 | 61 74 61 20 63 68 61 72 | the c_d|ata char|
|00003eb0| 61 63 74 65 72 20 61 72 | 72 61 79 20 74 6f 20 69 |acter ar|ray to i|
|00003ec0| 6e 64 69 63 61 74 65 20 | 74 68 65 20 73 74 61 72 |ndicate |the star|
|00003ed0| 74 0a 58 6f 66 20 65 61 | 63 68 20 73 74 72 69 6e |t.Xof ea|ch strin|
|00003ee0| 67 3a 0a 58 2e 50 50 0a | 58 2e 6e 66 0a 58 2e 74 |g:.X.PP.|X.nf.X.t|
|00003ef0| 61 20 35 6d 20 31 30 6d | 20 31 35 6d 20 32 30 6d |a 5m 10m| 15m 20m|
|00003f00| 20 32 35 6d 20 33 30 6d | 20 33 35 6d 20 34 30 6d | 25m 30m| 35m 40m|
|00003f10| 20 34 35 6d 20 35 30 6d | 20 35 35 6d 20 36 30 6d | 45m 50m| 55m 60m|
|00003f20| 0a 58 73 74 72 75 63 74 | 20 74 5f 73 74 6f 72 20 |.Xstruct| t_stor |
|00003f30| 7b 0a 58 09 69 6e 74 20 | 62 73 65 74 3b 0a 58 09 |{.X.int |bset;.X.|
|00003f40| 69 6e 74 20 62 72 65 73 | 65 74 3b 0a 58 09 69 6e |int bres|et;.X.in|
|00003f50| 74 20 48 6f 72 3b 0a 58 | 09 69 6e 74 20 56 65 72 |t Hor;.X|.int Ver|
|00003f60| 74 3b 0a 58 09 69 6e 74 | 20 4e 65 77 6c 69 6e 65 |t;.X.int| Newline|
|00003f70| 3b 0a 58 09 69 6e 74 20 | 43 68 61 72 3b 0a 58 23 |;.X.int |Char;.X#|
|00003f80| 69 66 64 65 66 20 4b 41 | 4e 4a 49 0a 58 09 69 6e |ifdef KA|NJI.X.in|
|00003f90| 74 20 4b 63 68 61 72 3b | 0a 58 23 65 6e 64 69 66 |t Kchar;|.X#endif|
|00003fa0| 20 4b 41 4e 4a 49 0a 58 | 09 69 6e 74 20 45 6d 3b | KANJI.X|.int Em;|
|00003fb0| 0a 58 09 69 6e 74 20 48 | 61 6c 66 6c 69 6e 65 3b |.X.int H|alfline;|
|00003fc0| 0a 58 09 69 6e 74 20 41 | 64 6a 3b 0a 58 09 69 6e |.X.int A|dj;.X.in|
|00003fd0| 74 20 74 77 69 6e 69 74 | 3b 0a 58 09 69 6e 74 20 |t twinit|;.X.int |
|00003fe0| 74 77 72 65 73 74 3b 0a | 58 09 69 6e 74 20 74 77 |twrest;.|X.int tw|
|00003ff0| 6e 6c 3b 0a 58 09 69 6e | 74 20 68 6c 72 3b 0a 58 |nl;.X.in|t hlr;.X|
|00004000| 09 69 6e 74 20 68 6c 66 | 3b 0a 58 09 69 6e 74 20 |.int hlf|;.X.int |
|00004010| 66 6c 72 3b 0a 58 09 69 | 6e 74 20 62 64 6f 6e 3b |flr;.X.i|nt bdon;|
|00004020| 0a 58 09 69 6e 74 20 62 | 64 6f 66 66 3b 0a 58 09 |.X.int b|doff;.X.|
|00004030| 69 6e 74 20 69 74 6f 6e | 3b 0a 58 09 69 6e 74 20 |int iton|;.X.int |
|00004040| 69 74 6f 66 66 3b 0a 58 | 09 69 6e 74 20 70 6c 6f |itoff;.X|.int plo|
|00004050| 74 6f 6e 3b 0a 58 09 69 | 6e 74 20 70 6c 6f 74 6f |ton;.X.i|nt ploto|
|00004060| 66 66 3b 0a 58 09 69 6e | 74 20 75 70 3b 0a 58 09 |ff;.X.in|t up;.X.|
|00004070| 69 6e 74 20 64 6f 77 6e | 3b 0a 58 09 69 6e 74 20 |int down|;.X.int |
|00004080| 72 69 67 68 74 3b 0a 58 | 09 69 6e 74 20 6c 65 66 |right;.X|.int lef|
|00004090| 74 3b 0a 58 09 69 6e 74 | 20 63 6f 64 65 74 61 62 |t;.X.int| codetab|
|000040a0| 5b 32 35 36 2d 33 32 5d | 3b 0a 58 09 69 6e 74 20 |[256-32]|;.X.int |
|000040b0| 7a 7a 7a 3b 0a 58 7d 3b | 0a 58 2e 53 48 20 42 55 |zzz;.X};|.X.SH BU|
|000040c0| 47 53 0a 58 42 65 63 61 | 75 73 65 20 74 68 65 20 |GS.XBeca|use the |
|000040d0| 62 69 6e 61 72 79 20 66 | 6f 72 6d 61 74 20 6f 66 |binary f|ormat of|
|000040e0| 20 74 68 65 0a 58 2e 49 | 20 6e 72 6f 66 66 0a 58 | the.X.I| nroff.X|
|000040f0| 64 72 69 76 65 72 20 74 | 61 62 6c 65 73 20 68 61 |driver t|ables ha|
|00004100| 73 20 62 65 65 6e 20 69 | 6e 66 65 72 72 65 64 20 |s been i|nferred |
|00004110| 66 72 6f 6d 20 61 20 73 | 6d 61 6c 6c 20 6e 75 6d |from a s|mall num|
|00004120| 62 65 72 20 6f 66 20 73 | 61 6d 70 6c 65 73 20 6f |ber of s|amples o|
|00004130| 66 0a 58 73 75 70 70 6c | 69 65 64 20 74 61 62 6c |f.Xsuppl|ied tabl|
|00004140| 65 73 20 6f 6e 20 6f 6e | 6c 79 20 6f 6e 65 20 73 |es on on|ly one s|
|00004150| 79 73 74 65 6d 2c 0a 58 | 74 68 65 20 70 6f 72 74 |ystem,.X|the port|
|00004160| 61 62 69 6c 69 74 79 20 | 6f 66 20 74 68 65 0a 58 |ability |of the.X|
|00004170| 2e 49 20 74 61 62 6c 65 | 0a 58 75 74 69 6c 69 74 |.I table|.Xutilit|
|00004180| 79 20 69 73 20 6e 6f 74 | 20 61 73 73 75 72 65 64 |y is not| assured|
|00004190| 2e 0a 58 2e 66 69 0a 58 | 2e 44 54 0a 58 2e 50 50 |..X.fi.X|.DT.X.PP|
|000041a0| 0a 58 2e 53 48 20 46 49 | 4c 45 53 0a 58 2f 75 73 |.X.SH FI|LES.X/us|
|000041b0| 72 2f 6c 69 62 2f 74 65 | 72 6d 2f 74 61 62 5c 66 |r/lib/te|rm/tab\f|
|000041c0| 49 6e 61 6d 65 5c 66 52 | 09 64 72 69 76 65 72 20 |Iname\fR|.driver |
|000041d0| 74 61 62 6c 65 73 20 61 | 63 63 65 73 73 69 62 6c |tables a|ccessibl|
|000041e0| 65 20 74 6f 20 6e 72 6f | 66 66 0a 58 2e 62 72 0a |e to nro|ff.X.br.|
|000041f0| 58 74 61 62 5c 66 49 6e | 61 6d 65 5c 66 52 2e 63 |Xtab\fIn|ame\fR.c|
|00004200| 09 09 09 09 73 6f 75 72 | 63 65 20 66 6f 72 20 64 |....sour|ce for d|
|00004210| 72 69 76 65 72 20 74 61 | 62 6c 65 73 0a 58 2e 62 |river ta|bles.X.b|
|00004220| 72 0a 58 74 61 62 5c 66 | 49 6e 61 6d 65 5c 66 52 |r.Xtab\f|Iname\fR|
|00004230| 2e 74 61 62 09 09 09 63 | 6f 6d 70 69 6c 65 64 20 |.tab...c|ompiled |
|00004240| 64 72 69 76 65 72 20 74 | 61 62 6c 65 73 0a 58 2e |driver t|ables.X.|
|00004250| 53 48 20 41 55 54 48 4f | 52 0a 58 42 72 75 63 65 |SH AUTHO|R.XBruce|
|00004260| 20 54 6f 77 6e 73 65 6e | 64 20 28 62 6e 72 2d 76 | Townsen|d (bnr-v|
|00004270| 70 61 21 62 72 75 63 65 | 29 0a 58 2e 53 48 20 53 |pa!bruce|).X.SH S|
|00004280| 45 45 20 41 4c 53 4f 0a | 58 6e 72 6f 66 66 28 31 |EE ALSO.|Xnroff(1|
|00004290| 29 0a 53 48 41 52 5f 45 | 4f 46 0a 69 66 20 74 65 |).SHAR_E|OF.if te|
|000042a0| 73 74 20 38 32 37 31 20 | 2d 6e 65 20 22 60 77 63 |st 8271 |-ne "`wc|
|000042b0| 20 2d 63 20 27 74 61 62 | 6c 65 2e 35 27 60 22 0a | -c 'tab|le.5'`".|
|000042c0| 74 68 65 6e 0a 09 65 63 | 68 6f 20 73 68 61 72 3a |then..ec|ho shar:|
|000042d0| 20 65 72 72 6f 72 20 74 | 72 61 6e 73 6d 69 74 74 | error t|ransmitt|
|000042e0| 69 6e 67 20 22 27 74 61 | 62 6c 65 2e 35 27 22 20 |ing "'ta|ble.5'" |
|000042f0| 27 28 73 68 6f 75 6c 64 | 20 68 61 76 65 20 62 65 |'(should| have be|
|00004300| 65 6e 20 38 32 37 31 20 | 63 68 61 72 61 63 74 65 |en 8271 |characte|
|00004310| 72 73 29 27 0a 66 69 0a | 65 63 68 6f 20 73 68 61 |rs)'.fi.|echo sha|
|00004320| 72 3a 20 65 78 74 72 61 | 63 74 69 6e 67 20 22 27 |r: extra|cting "'|
|00004330| 65 6c 62 61 74 2e 63 27 | 22 20 27 28 36 37 39 33 |elbat.c'|" '(6793|
|00004340| 20 63 68 61 72 61 63 74 | 65 72 73 29 27 0a 69 66 | charact|ers)'.if|
|00004350| 20 74 65 73 74 20 2d 66 | 20 27 65 6c 62 61 74 2e | test -f| 'elbat.|
|00004360| 63 27 0a 74 68 65 6e 0a | 09 65 63 68 6f 20 73 68 |c'.then.|.echo sh|
|00004370| 61 72 3a 20 6f 76 65 72 | 2d 77 72 69 74 69 6e 67 |ar: over|-writing|
|00004380| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 22 | existin|g file "|
|00004390| 27 65 6c 62 61 74 2e 63 | 27 22 0a 66 69 0a 73 65 |'elbat.c|'".fi.se|
|000043a0| 64 20 27 73 2f 5e 58 2f | 2f 27 20 3c 3c 20 5c 53 |d 's/^X/|/' << \S|
|000043b0| 48 41 52 5f 45 4f 46 20 | 3e 20 27 65 6c 62 61 74 |HAR_EOF |> 'elbat|
|000043c0| 2e 63 27 0a 58 2f 2a 0a | 58 09 74 61 62 6c 65 20 |.c'.X/*.|X.table |
|000043d0| 28 76 65 72 73 69 6f 6e | 20 32 2e 30 29 20 2d 20 |(version| 2.0) - |
|000043e0| 61 20 75 74 69 6c 69 74 | 79 20 66 6f 72 20 63 72 |a utilit|y for cr|
|000043f0| 65 61 74 69 6e 67 20 6e | 72 6f 66 66 20 64 72 69 |eating n|roff dri|
|00004400| 76 65 72 20 74 61 62 6c | 65 73 2e 0a 58 0a 58 09 |ver tabl|es..X.X.|
|00004410| 65 6c 62 61 74 3a 20 20 | 61 20 70 72 6f 67 72 61 |elbat: |a progra|
|00004420| 6d 20 74 6f 20 64 65 2d | 63 6f 6d 70 69 6c 65 20 |m to de-|compile |
|00004430| 6e 72 6f 66 66 20 74 65 | 72 6d 69 6e 61 6c 20 64 |nroff te|rminal d|
|00004440| 72 69 76 65 72 20 74 61 | 62 6c 65 73 2e 0a 58 09 |river ta|bles..X.|
|00004450| 09 57 72 69 74 74 65 6e | 20 62 79 20 42 72 75 63 |.Written| by Bruc|
|00004460| 65 20 54 6f 77 6e 73 65 | 6e 64 20 4f 63 74 2c 20 |e Townse|nd Oct, |
|00004470| 31 39 38 37 2e 0a 58 09 | 09 42 61 73 65 64 20 6f |1987..X.|.Based o|
|00004480| 6e 20 61 20 70 72 6f 67 | 72 61 6d 20 62 79 3a 0a |n a prog|ram by:.|
|00004490| 58 09 09 4d 61 74 74 20 | 43 72 61 77 66 6f 72 64 |X..Matt |Crawford|
|000044a0| 2c 20 55 6e 69 76 65 72 | 73 69 74 79 20 6f 66 20 |, Univer|sity of |
|000044b0| 43 68 69 63 61 67 6f 2c | 20 31 30 20 4d 61 79 20 |Chicago,| 10 May |
|000044c0| 31 39 38 34 0a 58 0a 58 | 09 43 6f 70 79 72 69 67 |1984.X.X|.Copyrig|
|000044d0| 68 74 20 28 63 29 20 31 | 39 38 37 20 62 79 20 42 |ht (c) 1|987 by B|
|000044e0| 72 75 63 65 20 54 6f 77 | 6e 73 65 6e 64 20 61 6e |ruce Tow|nsend an|
|000044f0| 64 20 42 65 6c 6c 2d 4e | 6f 72 74 68 65 72 6e 20 |d Bell-N|orthern |
|00004500| 52 65 73 65 61 72 63 68 | 2e 0a 58 09 50 65 72 6d |Research|..X.Perm|
|00004510| 69 73 73 69 6f 6e 20 69 | 73 20 67 72 61 6e 74 65 |ission i|s grante|
|00004520| 64 20 74 6f 20 75 73 65 | 20 61 6e 64 20 64 69 73 |d to use| and dis|
|00004530| 74 72 69 62 75 74 65 2c | 20 65 78 63 65 70 74 20 |tribute,| except |
|00004540| 66 6f 72 20 70 72 6f 66 | 69 74 2c 0a 58 09 70 72 |for prof|it,.X.pr|
|00004550| 6f 76 69 64 69 6e 67 20 | 74 68 69 73 20 63 6f 70 |oviding |this cop|
|00004560| 79 72 69 67 68 74 20 6e | 6f 74 69 63 65 20 61 6e |yright n|otice an|
|00004570| 64 20 74 68 65 20 61 75 | 74 68 6f 72 27 73 20 6e |d the au|thor's n|
|00004580| 61 6d 65 20 69 73 20 69 | 6e 63 6c 75 64 65 64 2e |ame is i|ncluded.|
|00004590| 0a 58 09 4e 6f 20 77 61 | 72 72 61 6e 74 79 20 6f |.X.No wa|rranty o|
|000045a0| 66 20 61 6e 79 20 6b 69 | 6e 64 20 69 73 20 65 78 |f any ki|nd is ex|
|000045b0| 70 72 65 73 73 65 64 20 | 6f 72 20 69 6d 70 6c 69 |pressed |or impli|
|000045c0| 65 64 2c 20 61 6e 64 20 | 6e 6f 20 6c 69 61 62 69 |ed, and |no liabi|
|000045d0| 6c 69 74 79 20 6f 66 0a | 58 09 61 6e 79 20 6b 69 |lity of.|X.any ki|
|000045e0| 6e 64 20 69 73 20 61 73 | 73 75 6d 65 64 20 62 79 |nd is as|sumed by|
|000045f0| 20 65 69 74 68 65 72 20 | 74 68 65 20 61 75 74 68 | either |the auth|
|00004600| 6f 72 20 6f 72 20 42 65 | 6c 6c 2d 4e 6f 72 74 68 |or or Be|ll-North|
|00004610| 65 72 6e 20 52 65 73 65 | 61 72 63 68 2e 0a 58 2a |ern Rese|arch..X*|
|00004620| 2f 0a 58 0a 58 23 69 6e | 63 6c 75 64 65 20 3c 73 |/.X.X#in|clude <s|
|00004630| 74 64 69 6f 2e 68 3e 0a | 58 23 69 6e 63 6c 75 64 |tdio.h>.|X#includ|
|00004640| 65 20 3c 63 74 79 70 65 | 2e 68 3e 0a 58 23 69 6e |e <ctype|.h>.X#in|
|00004650| 63 6c 75 64 65 20 3c 66 | 63 6e 74 6c 2e 68 3e 0a |clude <f|cntl.h>.|
|00004660| 58 23 69 6e 63 6c 75 64 | 65 20 3c 73 79 73 2f 74 |X#includ|e <sys/t|
|00004670| 79 70 65 73 2e 68 3e 0a | 58 23 69 6e 63 6c 75 64 |ypes.h>.|X#includ|
|00004680| 65 20 3c 73 79 73 2f 73 | 74 61 74 2e 68 3e 0a 58 |e <sys/s|tat.h>.X|
|00004690| 23 69 6e 63 6c 75 64 65 | 20 22 74 61 62 6c 65 2e |#include| "table.|
|000046a0| 68 22 0a 58 0a 58 65 78 | 74 65 72 6e 20 63 68 61 |h".X.Xex|tern cha|
|000046b0| 72 09 2a 73 74 72 75 63 | 74 75 72 65 3b 0a 58 0a |r.*struc|ture;.X.|
|000046c0| 58 63 68 61 72 09 2a 63 | 6f 64 65 6c 61 62 65 6c |Xchar.*c|odelabel|
|000046d0| 5b 5d 20 3d 20 7b 0a 58 | 09 22 73 70 61 63 65 22 |[] = {.X|."space"|
|000046e0| 2c 09 22 21 22 2c 09 22 | 5c 22 22 2c 09 22 23 22 |,."!",."|\"",."#"|
|000046f0| 2c 09 22 24 22 2c 09 22 | 25 22 2c 09 22 26 22 2c |,."$",."|%",."&",|
|00004700| 0a 58 09 22 27 20 63 6c | 6f 73 65 22 2c 09 22 28 |.X."' cl|ose",."(|
|00004710| 22 2c 09 22 29 22 2c 09 | 22 2a 22 2c 09 22 2b 22 |",.")",.|"*",."+"|
|00004720| 2c 09 22 2c 22 2c 09 22 | 2d 20 68 79 70 68 65 6e |,.",",."|- hyphen|
|00004730| 22 2c 0a 58 09 22 2e 22 | 2c 09 22 2f 22 2c 09 22 |",.X."."|,."/",."|
|00004740| 30 22 2c 09 22 31 22 2c | 09 22 32 22 2c 09 22 33 |0",."1",|."2",."3|
|00004750| 22 2c 09 22 34 22 2c 09 | 22 35 22 2c 0a 58 09 22 |",."4",.|"5",.X."|
|00004760| 36 22 2c 09 22 37 22 2c | 09 22 38 22 2c 09 22 39 |6",."7",|."8",."9|
|00004770| 22 2c 09 22 3a 22 2c 09 | 22 3b 22 2c 09 22 3c 22 |",.":",.|";",."<"|
|00004780| 2c 09 22 3d 22 2c 0a 58 | 09 22 3e 22 2c 09 22 3f |,."=",.X|.">",."?|
|00004790| 22 2c 09 22 40 22 2c 09 | 22 41 22 2c 09 22 42 22 |",."@",.|"A",."B"|
|000047a0| 2c 09 22 43 22 2c 09 22 | 44 22 2c 09 22 45 22 2c |,."C",."|D",."E",|
|000047b0| 0a 58 09 22 46 22 2c 09 | 22 47 22 2c 09 22 48 22 |.X."F",.|"G",."H"|
|000047c0| 2c 09 22 49 22 2c 09 22 | 4a 22 2c 09 22 4b 22 2c |,."I",."|J",."K",|
|000047d0| 09 22 4c 22 2c 09 22 4d | 22 2c 0a 58 09 22 4e 22 |."L",."M|",.X."N"|
|000047e0| 2c 09 22 4f 22 2c 09 22 | 50 22 2c 09 22 51 22 2c |,."O",."|P",."Q",|
|000047f0| 09 22 52 22 2c 09 22 53 | 22 2c 09 22 54 22 2c 09 |."R",."S|",."T",.|
|00004800| 22 55 22 2c 0a 58 09 22 | 56 22 2c 09 22 57 22 2c |"U",.X."|V",."W",|
|00004810| 09 22 58 22 2c 09 22 59 | 22 2c 09 22 5a 22 2c 09 |."X",."Y|",."Z",.|
|00004820| 22 5b 22 2c 09 22 5c 5c | 22 2c 09 22 5d 22 2c 0a |"[",."\\|",."]",.|
|00004830| 58 09 22 5e 22 2c 09 22 | 5f 20 64 61 73 68 22 2c |X."^",."|_ dash",|
|00004840| 09 22 60 20 6f 70 65 6e | 22 2c 09 22 61 22 2c 09 |."` open|",."a",.|
|00004850| 22 62 22 2c 09 22 63 22 | 2c 0a 58 09 22 64 22 2c |"b",."c"|,.X."d",|
|00004860| 09 22 65 22 2c 09 22 66 | 22 2c 09 22 67 22 2c 09 |."e",."f|",."g",.|
|00004870| 22 68 22 2c 09 22 69 22 | 2c 09 22 6a 22 2c 09 22 |"h",."i"|,."j",."|
|00004880| 6b 22 2c 0a 58 09 22 6c | 22 2c 09 22 6d 22 2c 09 |k",.X."l|",."m",.|
|00004890| 22 6e 22 2c 09 22 6f 22 | 2c 09 22 70 22 2c 09 22 |"n",."o"|,."p",."|
|000048a0| 71 22 2c 09 22 72 22 2c | 09 22 73 22 2c 0a 58 09 |q",."r",|."s",.X.|
|000048b0| 22 74 22 2c 09 22 75 22 | 2c 09 22 76 22 2c 09 22 |"t",."u"|,."v",."|
|000048c0| 77 22 2c 09 22 78 22 2c | 09 22 79 22 2c 09 22 7a |w",."x",|."y",."z|
|000048d0| 22 2c 09 22 7b 22 2c 0a | 58 09 22 7c 22 2c 09 22 |",."{",.|X."|",."|
|000048e0| 7d 22 2c 09 22 7e 22 2c | 09 22 6e 61 72 72 6f 77 |}",."~",|."narrow|
|000048f0| 20 73 70 22 2c 09 22 68 | 79 70 68 65 6e 22 2c 09 | sp",."h|yphen",.|
|00004900| 22 62 75 6c 6c 65 74 22 | 2c 0a 58 09 22 73 71 75 |"bullet"|,.X."squ|
|00004910| 61 72 65 22 2c 09 22 33 | 2f 34 20 65 6d 22 2c 09 |are",."3|/4 em",.|
|00004920| 22 72 75 6c 65 22 2c 09 | 22 31 2f 34 22 2c 09 22 |"rule",.|"1/4",."|
|00004930| 31 2f 32 22 2c 09 22 33 | 2f 34 22 2c 0a 58 09 22 |1/2",."3|/4",.X."|
|00004940| 6d 69 6e 75 73 22 2c 09 | 22 66 69 22 2c 09 22 66 |minus",.|"fi",."f|
|00004950| 6c 22 2c 09 22 66 66 22 | 2c 09 22 66 66 69 22 2c |l",."ff"|,."ffi",|
|00004960| 09 22 66 66 6c 22 2c 09 | 22 64 65 67 72 65 65 22 |."ffl",.|"degree"|
|00004970| 2c 0a 58 09 22 64 61 67 | 67 65 72 22 2c 09 22 73 |,.X."dag|ger",."s|
|00004980| 65 63 74 69 6f 6e 22 2c | 09 22 66 6f 6f 74 20 6d |ection",|."foot m|
|00004990| 61 72 6b 22 2c 09 22 61 | 63 75 74 65 20 61 63 63 |ark",."a|cute acc|
|000049a0| 65 6e 74 22 2c 0a 58 09 | 22 67 72 61 76 65 20 61 |ent",.X.|"grave a|
|000049b0| 63 63 65 6e 74 22 2c 09 | 22 75 6e 64 65 72 72 75 |ccent",.|"underru|
|000049c0| 6c 65 22 2c 09 22 73 6c | 61 73 68 20 28 6c 6f 6e |le",."sl|ash (lon|
|000049d0| 67 65 72 29 22 2c 0a 58 | 09 22 68 61 6c 66 20 6e |ger)",.X|."half n|
|000049e0| 61 72 72 6f 77 20 73 70 | 61 63 65 22 2c 09 22 75 |arrow sp|ace",."u|
|000049f0| 6e 70 61 64 64 61 62 6c | 65 20 73 70 61 63 65 22 |npaddabl|e space"|
|00004a00| 2c 09 22 61 6c 70 68 61 | 22 2c 0a 58 09 22 62 65 |,."alpha|",.X."be|
|00004a10| 74 61 22 2c 09 22 67 61 | 6d 6d 61 22 2c 09 22 64 |ta",."ga|mma",."d|
|00004a20| 65 6c 74 61 22 2c 09 22 | 65 70 73 69 6c 6f 6e 22 |elta",."|epsilon"|
|00004a30| 2c 09 22 7a 65 74 61 22 | 2c 0a 58 09 22 65 74 61 |,."zeta"|,.X."eta|
|00004a40| 22 2c 09 22 74 68 65 74 | 61 22 2c 09 22 69 6f 74 |",."thet|a",."iot|
|00004a50| 61 22 2c 09 22 6b 61 70 | 70 61 22 2c 09 22 6c 61 |a",."kap|pa",."la|
|00004a60| 6d 62 64 61 22 2c 0a 58 | 09 22 6d 75 22 2c 09 22 |mbda",.X|."mu",."|
|00004a70| 6e 75 22 2c 09 22 78 69 | 22 2c 09 22 6f 6d 69 63 |nu",."xi|",."omic|
|00004a80| 72 6f 6e 22 2c 09 22 70 | 69 22 2c 09 22 72 68 6f |ron",."p|i",."rho|
|00004a90| 22 2c 09 22 73 69 67 6d | 61 22 2c 0a 58 09 22 74 |",."sigm|a",.X."t|
|00004aa0| 61 75 22 2c 09 22 75 70 | 73 69 6c 6f 6e 22 2c 09 |au",."up|silon",.|
|00004ab0| 22 70 68 69 22 2c 09 22 | 63 68 69 22 2c 09 22 70 |"phi",."|chi",."p|
|00004ac0| 73 69 22 2c 09 22 6f 6d | 65 67 61 22 2c 0a 58 09 |si",."om|ega",.X.|
|00004ad0| 22 47 61 6d 6d 61 22 2c | 09 22 44 65 6c 74 61 22 |"Gamma",|."Delta"|
|00004ae0| 2c 09 22 54 68 65 74 61 | 22 2c 09 22 4c 61 6d 62 |,."Theta|",."Lamb|
|00004af0| 64 61 22 2c 0a 58 09 22 | 58 69 22 2c 09 22 50 69 |da",.X."|Xi",."Pi|
|00004b00| 22 2c 09 22 53 69 67 6d | 61 22 2c 09 22 54 61 75 |",."Sigm|a",."Tau|
|00004b10| 22 2c 09 22 55 70 73 69 | 6c 6f 6e 22 2c 09 22 50 |",."Upsi|lon",."P|
|00004b20| 68 69 22 2c 0a 58 09 22 | 50 73 69 22 2c 09 22 4f |hi",.X."|Psi",."O|
|00004b30| 6d 65 67 61 22 2c 09 22 | 73 71 75 61 72 65 20 72 |mega",."|square r|
|00004b40| 6f 6f 74 22 2c 09 22 74 | 65 72 6d 69 6e 61 6c 20 |oot",."t|erminal |
|00004b50| 73 69 67 6d 61 22 2c 0a | 58 09 22 72 6f 6f 74 20 |sigma",.|X."root |
|00004b60| 65 6e 22 2c 09 22 3e 3d | 22 2c 09 22 3c 3d 22 2c |en",.">=|",."<=",|
|00004b70| 09 22 69 64 65 6e 74 69 | 63 61 6c 6c 79 20 65 71 |."identi|cally eq|
|00004b80| 75 61 6c 22 2c 0a 58 09 | 22 65 71 75 61 74 69 6f |ual",.X.|"equatio|
|00004b90| 6e 20 6d 69 6e 75 73 22 | 2c 09 22 61 70 70 72 6f |n minus"|,."appro|
|00004ba0| 78 20 3d 22 2c 09 22 61 | 70 70 72 6f 78 69 6d 61 |x =",."a|pproxima|
|00004bb0| 74 65 73 22 2c 0a 58 09 | 22 6e 6f 74 20 65 71 75 |tes",.X.|"not equ|
|00004bc0| 61 6c 22 2c 09 22 72 69 | 67 68 74 20 61 72 72 6f |al",."ri|ght arro|
|00004bd0| 77 22 2c 09 22 6c 65 66 | 74 20 61 72 72 6f 77 22 |w",."lef|t arrow"|
|00004be0| 2c 09 22 75 70 20 61 72 | 72 6f 77 22 2c 0a 58 09 |,."up ar|row",.X.|
|00004bf0| 22 64 6f 77 6e 20 61 72 | 72 6f 77 22 2c 09 22 65 |"down ar|row",."e|
|00004c00| 71 6e 20 65 71 75 61 6c | 73 22 2c 09 22 6d 75 6c |qn equal|s",."mul|
|00004c10| 74 69 70 6c 79 22 2c 09 | 22 64 69 76 69 64 65 22 |tiply",.|"divide"|
|00004c20| 2c 0a 58 09 22 70 6c 75 | 73 2d 6d 69 6e 75 73 22 |,.X."plu|s-minus"|
|00004c30| 2c 09 22 63 75 70 20 28 | 75 6e 69 6f 6e 29 22 2c |,."cup (|union)",|
|00004c40| 09 22 63 61 70 20 28 69 | 6e 74 65 72 73 65 63 74 |."cap (i|ntersect|
|00004c50| 69 6f 6e 29 22 2c 09 22 | 73 75 62 73 65 74 20 6f |ion)",."|subset o|
|00004c60| 66 22 2c 0a 58 09 22 73 | 75 70 65 72 73 65 74 20 |f",.X."s|uperset |
|00004c70| 6f 66 22 2c 09 22 69 6d | 70 72 6f 70 65 72 20 73 |of",."im|proper s|
|00004c80| 75 62 73 65 74 22 2c 09 | 22 20 69 6d 70 72 6f 70 |ubset",.|" improp|
|00004c90| 65 72 20 73 75 70 65 72 | 73 65 74 22 2c 0a 58 09 |er super|set",.X.|
|00004ca0| 22 69 6e 66 69 6e 69 74 | 79 22 2c 09 22 70 74 20 |"infinit|y",."pt |
|00004cb0| 64 65 72 69 76 22 2c 09 | 22 67 72 61 64 69 65 6e |deriv",.|"gradien|
|00004cc0| 74 22 2c 09 22 6e 6f 74 | 22 2c 09 22 69 6e 74 65 |t",."not|",."inte|
|00004cd0| 67 72 61 6c 22 2c 0a 58 | 09 22 70 72 6f 70 6f 72 |gral",.X|."propor|
|00004ce0| 74 69 6f 6e 61 6c 20 74 | 6f 22 2c 09 22 65 6d 70 |tional t|o",."emp|
|00004cf0| 74 79 20 73 65 74 22 2c | 09 22 6d 65 6d 62 65 72 |ty set",|."member|
|00004d00| 20 6f 66 22 2c 0a 58 09 | 22 65 71 75 61 74 69 6f | of",.X.|"equatio|
|00004d10| 6e 20 70 6c 75 73 22 2c | 09 22 72 65 67 69 73 74 |n plus",|."regist|
|00004d20| 72 61 74 69 6f 6e 20 6d | 6b 22 2c 09 22 63 6f 70 |ration m|k",."cop|
|00004d30| 79 72 69 67 68 74 20 6d | 6b 22 2c 0a 58 09 22 62 |yright m|k",.X."b|
|00004d40| 6f 78 20 72 75 6c 65 22 | 2c 09 22 63 65 6e 74 20 |ox rule"|,."cent |
|00004d50| 73 69 67 6e 22 2c 09 22 | 64 62 6c 20 64 61 67 67 |sign",."|dbl dagg|
|00004d60| 65 72 22 2c 09 22 72 69 | 67 68 74 20 68 61 6e 64 |er",."ri|ght hand|
|00004d70| 22 2c 0a 58 09 22 6c 65 | 66 74 20 68 61 6e 64 22 |",.X."le|ft hand"|
|00004d80| 2c 09 22 6d 61 74 68 20 | 2a 20 22 2c 09 22 62 65 |,."math |* ",."be|
|00004d90| 6c 6c 20 73 79 73 74 65 | 6d 20 73 69 67 6e 22 2c |ll syste|m sign",|
|00004da0| 0a 58 09 22 6f 72 20 28 | 77 61 73 20 73 74 61 72 |.X."or (|was star|
|00004db0| 29 22 2c 09 22 63 69 72 | 63 6c 65 22 2c 09 22 6c |)",."cir|cle",."l|
|00004dc0| 65 66 74 20 74 6f 70 20 | 6f 66 20 62 69 67 20 63 |eft top |of big c|
|00004dd0| 75 72 6c 79 22 2c 0a 58 | 09 22 6c 65 66 74 20 62 |urly",.X|."left b|
|00004de0| 6f 74 74 6f 6d 20 6f 66 | 20 62 69 67 20 63 75 72 |ottom of| big cur|
|00004df0| 6c 79 22 2c 09 22 72 69 | 67 68 74 20 74 6f 70 20 |ly",."ri|ght top |
|00004e00| 6f 66 20 62 69 67 20 63 | 75 72 6c 79 22 2c 0a 58 |of big c|urly",.X|
|00004e10| 09 22 72 69 67 68 74 20 | 62 6f 74 74 6f 6d 20 6f |."right |bottom o|
|00004e20| 66 20 62 69 67 20 63 75 | 72 6c 79 22 2c 09 22 6c |f big cu|rly",."l|
|00004e30| 65 66 74 20 63 65 6e 74 | 65 72 20 6f 66 20 62 69 |eft cent|er of bi|
|00004e40| 67 20 63 75 72 6c 79 22 | 2c 0a 58 09 22 72 69 67 |g curly"|,.X."rig|
|00004e50| 68 74 20 63 65 6e 74 65 | 72 20 6f 66 20 62 69 67 |ht cente|r of big|
|00004e60| 20 63 75 72 6c 79 22 2c | 09 22 62 6f 6c 64 20 76 | curly",|."bold v|
|00004e70| 65 72 74 69 63 61 6c 20 | 72 75 6c 65 22 2c 0a 58 |ertical |rule",.X|
|00004e80| 09 22 6c 65 66 74 20 62 | 6f 74 74 6f 6d 20 6f 66 |."left b|ottom of|
|00004e90| 20 62 69 67 20 62 72 61 | 63 6b 65 74 22 2c 09 22 | big bra|cket",."|
|00004ea0| 72 69 67 68 74 20 62 6f | 74 74 6f 6d 20 6f 66 20 |right bo|ttom of |
|00004eb0| 62 69 67 20 62 72 61 63 | 6b 65 74 22 2c 0a 58 09 |big brac|ket",.X.|
|00004ec0| 22 6c 65 66 74 20 74 6f | 70 20 6f 66 20 62 69 67 |"left to|p of big|
|00004ed0| 20 62 72 61 63 6b 65 74 | 22 2c 09 22 72 69 67 68 | bracket|",."righ|
|00004ee0| 74 20 74 6f 70 20 6f 66 | 20 62 69 67 20 62 72 61 |t top of| big bra|
|00004ef0| 63 6b 65 74 22 2c 0a 58 | 09 22 3f 3f 3f 22 2c 09 |cket",.X|."???",.|
|00004f00| 22 3f 3f 3f 22 2c 09 22 | 3f 3f 3f 22 2c 09 22 3f |"???",."|???",."?|
|00004f10| 3f 3f 22 2c 09 22 3f 3f | 3f 22 2c 09 22 3f 3f 3f |??",."??|?",."???|
|00004f20| 22 2c 09 22 3f 3f 3f 22 | 2c 09 22 3f 3f 3f 22 2c |",."???"|,."???",|
|00004f30| 0a 58 09 22 3f 3f 3f 22 | 2c 09 22 3f 3f 3f 22 2c |.X."???"|,."???",|
|00004f40| 09 22 3f 3f 3f 22 2c 09 | 22 3f 3f 3f 22 2c 09 22 |."???",.|"???",."|
|00004f50| 3f 3f 3f 22 2c 09 2f 2a | 20 54 68 65 20 6c 61 73 |???",./*| The las|
|00004f60| 74 20 31 33 20 61 72 65 | 20 75 6e 75 73 65 64 20 |t 13 are| unused |
|00004f70| 2a 2f 0a 58 7d 3b 0a 58 | 0a 58 73 74 72 75 63 74 |*/.X};.X|.Xstruct|
|00004f80| 20 74 20 74 3b 0a 58 73 | 74 72 75 63 74 20 74 5f | t t;.Xs|truct t_|
|00004f90| 73 74 6f 72 20 74 5f 73 | 74 6f 72 3b 0a 58 63 68 |stor t_s|tor;.Xch|
|00004fa0| 61 72 09 2a 6d 70 74 72 | 3b 09 09 2f 2a 20 50 6f |ar.*mptr|;../* Po|
|00004fb0| 69 6e 74 65 72 20 74 6f | 20 74 68 65 20 63 68 61 |inter to| the cha|
|00004fc0| 72 61 63 74 65 72 20 64 | 61 74 61 20 2a 2f 0a 58 |racter d|ata */.X|
|00004fd0| 69 6e 74 09 63 5f 73 69 | 7a 65 3b 09 09 2f 2a 20 |int.c_si|ze;../* |
|00004fe0| 54 68 65 20 61 6d 6f 75 | 6e 74 20 6f 66 20 63 68 |The amou|nt of ch|
|00004ff0| 61 72 61 63 74 65 72 20 | 64 61 74 61 20 69 6e 20 |aracter |data in |
|00005000| 62 79 74 65 73 20 2a 2f | 0a 58 69 6e 74 09 64 65 |bytes */|.Xint.de|
|00005010| 62 75 67 3b 0a 58 0a 58 | 23 64 65 66 69 6e 65 20 |bug;.X.X|#define |
|00005020| 69 6e 74 73 68 6f 77 28 | 6d 65 6d 62 29 09 70 72 |intshow(|memb).pr|
|00005030| 69 6e 74 66 20 28 22 2f | 2a 25 2d 38 73 2a 2f 5c |intf ("/|*%-8s*/\|
|00005040| 74 5c 74 25 64 2c 5c 6e | 22 2c 20 22 6d 65 6d 62 |t\t%d,\n|", "memb|
|00005050| 22 2c 20 74 2e 6d 65 6d | 62 29 0a 58 23 64 65 66 |", t.mem|b).X#def|
|00005060| 69 6e 65 20 73 68 6f 77 | 28 6d 65 6d 62 29 09 70 |ine show|(memb).p|
|00005070| 72 69 6e 74 66 20 28 22 | 2f 2a 25 2d 38 73 2a 2f |rintf ("|/*%-8s*/|
|00005080| 5c 74 5c 74 5c 22 22 2c | 20 22 6d 65 6d 62 22 29 |\t\t\"",| "memb")|
|00005090| 3b 5c 0a 58 09 09 09 76 | 70 72 69 6e 74 20 28 74 |;\.X...v|print (t|
|000050a0| 2e 6d 65 6d 62 29 3b 5c | 0a 58 09 09 09 69 66 20 |.memb);\|.X...if |
|000050b0| 28 64 65 62 75 67 29 20 | 70 72 69 6e 74 66 28 22 |(debug) |printf("|
|000050c0| 5c 22 2c 5c 74 5c 74 2f | 2a 5c 74 25 64 5c 74 2a |\",\t\t/|*\t%d\t*|
|000050d0| 2f 5c 6e 22 2c 20 74 5f | 73 74 6f 72 2e 6d 65 6d |/\n", t_|stor.mem|
|000050e0| 62 29 3b 5c 0a 58 09 09 | 09 65 6c 73 65 20 70 72 |b);\.X..|.else pr|
|000050f0| 69 6e 74 66 20 28 22 5c | 22 2c 5c 6e 22 29 0a 58 |intf ("\|",\n").X|
|00005100| 23 64 65 66 69 6e 65 20 | 67 65 74 70 74 72 28 6d |#define |getptr(m|
|00005110| 65 6d 62 29 09 74 2e 6d | 65 6d 62 20 3d 20 6d 70 |emb).t.m|emb = mp|
|00005120| 74 72 20 2b 20 74 5f 73 | 74 6f 72 2e 6d 65 6d 62 |tr + t_s|tor.memb|
|00005130| 0a 58 0a 58 6d 61 69 6e | 28 61 72 67 63 2c 20 61 |.X.Xmain|(argc, a|
|00005140| 72 67 76 29 0a 58 63 68 | 61 72 09 2a 2a 61 72 67 |rgv).Xch|ar.**arg|
|00005150| 76 3b 0a 58 7b 0a 58 09 | 69 6e 74 09 63 2c 20 69 |v;.X{.X.|int.c, i|
|00005160| 3b 0a 58 09 63 68 61 72 | 09 6c 61 62 65 6c 62 75 |;.X.char|.labelbu|
|00005170| 66 5b 36 34 5d 3b 0a 58 | 0a 58 09 69 66 20 28 61 |f[64];.X|.X.if (a|
|00005180| 72 67 63 20 3d 3d 20 33 | 20 26 26 20 61 72 67 76 |rgc == 3| && argv|
|00005190| 5b 31 5d 5b 30 5d 20 3d | 3d 20 27 2d 27 20 26 26 |[1][0] =|= '-' &&|
|000051a0| 20 61 72 67 76 5b 31 5d | 5b 31 5d 20 3d 3d 20 27 | argv[1]|[1] == '|
|000051b0| 64 27 29 20 64 65 62 75 | 67 20 3d 20 31 3b 0a 58 |d') debu|g = 1;.X|
|000051c0| 09 69 66 20 28 61 72 67 | 63 20 21 3d 20 32 20 26 |.if (arg|c != 2 &|
|000051d0| 26 20 21 64 65 62 75 67 | 29 20 7b 0a 58 09 20 20 |& !debug|) {.X. |
|000051e0| 20 20 66 70 72 69 6e 74 | 66 20 28 73 74 64 65 72 | fprint|f (stder|
|000051f0| 72 2c 20 22 55 73 61 67 | 65 3a 20 65 6c 62 61 74 |r, "Usag|e: elbat|
|00005200| 20 5b 2d 64 5d 20 74 61 | 62 66 69 6c 65 20 3e 20 | [-d] ta|bfile > |
|00005210| 74 61 62 66 69 6c 65 2e | 63 5c 6e 22 29 3b 0a 58 |tabfile.|c\n");.X|
|00005220| 09 20 20 20 20 65 78 69 | 74 28 31 29 3b 0a 58 09 |. exi|t(1);.X.|
|00005230| 7d 0a 58 0a 58 09 6c 6f | 61 64 74 61 62 28 61 72 |}.X.X.lo|adtab(ar|
|00005240| 67 76 5b 61 72 67 63 20 | 2d 20 31 5d 29 3b 0a 58 |gv[argc |- 1]);.X|
|00005250| 09 0a 58 09 70 72 69 6e | 74 66 20 28 22 25 73 7d |..X.prin|tf ("%s}|
|00005260| 20 74 20 3d 5c 74 7b 5c | 6e 22 2c 20 73 74 72 75 | t =\t{\|n", stru|
|00005270| 63 74 75 72 65 29 3b 0a | 58 09 70 72 69 6e 74 66 |cture);.|X.printf|
|00005280| 20 28 22 2f 2a 62 73 65 | 74 20 20 20 20 2a 2f 5c | ("/*bse|t */\|
|00005290| 74 5c 74 30 25 6f 2c 5c | 6e 22 2c 20 74 2e 62 73 |t\t0%o,\|n", t.bs|
|000052a0| 65 74 29 3b 0a 58 09 70 | 72 69 6e 74 66 20 28 22 |et);.X.p|rintf ("|
|000052b0| 2f 2a 62 72 65 73 65 74 | 20 20 2a 2f 5c 74 5c 74 |/*breset| */\t\t|
|000052c0| 30 25 6f 2c 5c 6e 22 2c | 20 74 2e 62 72 65 73 65 |0%o,\n",| t.brese|
|000052d0| 74 29 3b 0a 58 09 69 6e | 74 73 68 6f 77 20 28 48 |t);.X.in|tshow (H|
|000052e0| 6f 72 29 3b 0a 58 09 69 | 6e 74 73 68 6f 77 20 28 |or);.X.i|ntshow (|
|000052f0| 56 65 72 74 29 3b 0a 58 | 09 69 6e 74 73 68 6f 77 |Vert);.X|.intshow|
|00005300| 20 28 4e 65 77 6c 69 6e | 65 29 3b 0a 58 09 69 6e | (Newlin|e);.X.in|
|00005310| 74 73 68 6f 77 20 28 43 | 68 61 72 29 3b 0a 58 23 |tshow (C|har);.X#|
|00005320| 69 66 64 65 66 20 4b 41 | 4e 4a 49 0a 58 09 69 6e |ifdef KA|NJI.X.in|
|00005330| 74 73 68 6f 77 20 28 4b | 63 68 61 72 29 3b 0a 58 |tshow (K|char);.X|
|00005340| 23 65 6e 64 69 66 20 4b | 41 4e 4a 49 0a 58 09 69 |#endif K|ANJI.X.i|
|00005350| 6e 74 73 68 6f 77 20 28 | 45 6d 29 3b 0a 58 09 69 |ntshow (|Em);.X.i|
|00005360| 6e 74 73 68 6f 77 20 28 | 48 61 6c 66 6c 69 6e 65 |ntshow (|Halfline|
|00005370| 29 3b 0a 58 09 69 6e 74 | 73 68 6f 77 20 28 41 64 |);.X.int|show (Ad|
|00005380| 6a 29 3b 0a 58 09 69 66 | 20 28 64 65 62 75 67 29 |j);.X.if| (debug)|
|00005390| 20 70 72 69 6e 74 66 20 | 28 22 2f 2a 20 6e 61 6d | printf |("/* nam|
|000053a0| 65 5c 74 5c 74 5c 74 73 | 74 72 69 6e 67 5c 74 5c |e\t\t\ts|tring\t\|
|000053b0| 74 5c 74 69 6e 64 65 78 | 20 69 6e 74 6f 20 63 5f |t\tindex| into c_|
|000053c0| 64 61 74 61 20 2a 2f 5c | 6e 22 29 3b 0a 58 09 73 |data */\|n");.X.s|
|000053d0| 68 6f 77 20 28 74 77 69 | 6e 69 74 29 3b 0a 58 09 |how (twi|nit);.X.|
|000053e0| 73 68 6f 77 20 28 74 77 | 72 65 73 74 29 3b 0a 58 |show (tw|rest);.X|
|000053f0| 09 73 68 6f 77 20 28 74 | 77 6e 6c 29 3b 0a 58 09 |.show (t|wnl);.X.|
|00005400| 73 68 6f 77 20 28 68 6c | 72 29 3b 0a 58 09 73 68 |show (hl|r);.X.sh|
|00005410| 6f 77 20 28 68 6c 66 29 | 3b 0a 58 09 73 68 6f 77 |ow (hlf)|;.X.show|
|00005420| 20 28 66 6c 72 29 3b 0a | 58 09 73 68 6f 77 20 28 | (flr);.|X.show (|
|00005430| 62 64 6f 6e 29 3b 0a 58 | 09 73 68 6f 77 20 28 62 |bdon);.X|.show (b|
|00005440| 64 6f 66 66 29 3b 0a 58 | 09 73 68 6f 77 20 28 69 |doff);.X|.show (i|
|00005450| 74 6f 6e 29 3b 0a 58 09 | 73 68 6f 77 20 28 69 74 |ton);.X.|show (it|
|00005460| 6f 66 66 29 3b 0a 58 09 | 73 68 6f 77 20 28 70 6c |off);.X.|show (pl|
|00005470| 6f 74 6f 6e 29 3b 0a 58 | 09 73 68 6f 77 20 28 70 |oton);.X|.show (p|
|00005480| 6c 6f 74 6f 66 66 29 3b | 0a 58 09 73 68 6f 77 20 |lotoff);|.X.show |
|00005490| 28 75 70 29 3b 0a 58 09 | 73 68 6f 77 20 28 64 6f |(up);.X.|show (do|
|000054a0| 77 6e 29 3b 0a 58 09 73 | 68 6f 77 20 28 72 69 67 |wn);.X.s|how (rig|
|000054b0| 68 74 29 3b 0a 58 09 73 | 68 6f 77 20 28 6c 65 66 |ht);.X.s|how (lef|
|000054c0| 74 29 3b 0a 58 0a 58 09 | 66 6f 72 20 28 63 20 3d |t);.X.X.|for (c =|
|000054d0| 20 30 3b 20 63 20 3c 20 | 32 35 36 20 2d 20 33 32 | 0; c < |256 - 32|
|000054e0| 20 2d 20 31 33 3b 20 63 | 2b 2b 29 20 7b 0a 58 09 | - 13; c|++) {.X.|
|000054f0| 20 20 20 20 73 70 72 69 | 6e 74 66 20 28 6c 61 62 | spri|ntf (lab|
|00005500| 65 6c 62 75 66 2c 20 22 | 2f 2a 20 25 73 20 2a 2f |elbuf, "|/* %s */|
|00005510| 22 2c 20 63 6f 64 65 6c | 61 62 65 6c 5b 63 5d 29 |", codel|abel[c])|
|00005520| 3b 0a 58 09 20 20 20 20 | 70 72 69 6e 74 66 20 28 |;.X. |printf (|
|00005530| 22 25 2d 32 30 73 5c 74 | 5c 22 22 2c 20 6c 61 62 |"%-20s\t|\"", lab|
|00005540| 65 6c 62 75 66 29 3b 0a | 58 09 20 20 20 20 69 66 |elbuf);.|X. if|
|00005550| 20 28 74 2e 63 6f 64 65 | 74 61 62 5b 63 5d 5b 30 | (t.code|tab[c][0|
|00005560| 5d 29 0a 58 09 09 76 70 | 72 69 6e 74 20 28 74 2e |]).X..vp|rint (t.|
|00005570| 63 6f 64 65 74 61 62 5b | 63 5d 29 3b 0a 58 09 20 |codetab[|c]);.X. |
|00005580| 20 20 20 65 6c 73 65 20 | 69 66 20 28 74 2e 63 6f | else |if (t.co|
|00005590| 64 65 74 61 62 5b 63 5d | 5b 31 5d 29 20 7b 0a 58 |detab[c]|[1]) {.X|
|000055a0| 09 09 70 72 69 6e 74 66 | 20 28 22 5c 5c 30 30 30 |..printf| ("\\000|
|000055b0| 22 29 3b 0a 58 09 09 76 | 70 72 69 6e 74 20 28 74 |");.X..v|print (t|
|000055c0| 2e 63 6f 64 65 74 61 62 | 5b 63 5d 2b 31 29 3b 0a |.codetab|[c]+1);.|
|000055d0| 58 09 20 20 20 20 7d 0a | 58 09 20 20 20 20 65 6c |X. }.|X. el|
|000055e0| 73 65 0a 58 09 09 70 72 | 69 6e 74 66 20 28 22 5c |se.X..pr|intf ("\|
|000055f0| 5c 30 30 30 5c 5c 30 22 | 29 3b 0a 58 0a 58 09 20 |\000\\0"|);.X.X. |
|00005600| 20 20 20 69 66 20 28 64 | 65 62 75 67 29 20 70 72 | if (d|ebug) pr|
|00005610| 69 6e 74 66 28 22 5c 22 | 2c 5c 74 5c 74 2f 2a 5c |intf("\"|,\t\t/*\|
|00005620| 74 25 64 5c 74 2a 2f 5c | 6e 22 2c 20 74 5f 73 74 |t%d\t*/\|n", t_st|
|00005630| 6f 72 2e 63 6f 64 65 74 | 61 62 5b 63 5d 29 3b 0a |or.codet|ab[c]);.|
|00005640| 58 09 20 20 20 20 65 6c | 73 65 20 70 72 69 6e 74 |X. el|se print|
|00005650| 66 20 28 22 5c 22 2c 5c | 6e 22 29 3b 0a 58 09 7d |f ("\",\|n");.X.}|
|00005660| 0a 58 09 70 72 69 6e 74 | 66 20 28 22 7d 3b 5c 6e |.X.print|f ("};\n|
|00005670| 22 29 3b 0a 58 0a 58 09 | 69 66 20 28 64 65 62 75 |");.X.X.|if (debu|
|00005680| 67 29 20 7b 0a 58 09 20 | 20 20 20 70 72 69 6e 74 |g) {.X. | print|
|00005690| 66 20 28 22 5c 6e 2f 2a | 20 43 68 61 72 61 63 74 |f ("\n/*| Charact|
|000056a0| 65 72 20 64 61 74 61 20 | 64 75 6d 70 3a 20 53 69 |er data |dump: Si|
|000056b0| 7a 65 20 3d 20 25 64 20 | 62 79 74 65 73 5c 6e 22 |ze = %d |bytes\n"|
|000056c0| 2c 20 63 5f 73 69 7a 65 | 29 3b 0a 58 09 20 20 20 |, c_size|);.X. |
|000056d0| 20 66 6f 72 20 28 69 20 | 3d 20 30 3b 20 69 20 3c | for (i |= 0; i <|
|000056e0| 20 63 5f 73 69 7a 65 3b | 20 69 2b 2b 29 20 7b 0a | c_size;| i++) {.|
|000056f0| 58 09 09 69 66 20 28 21 | 20 28 69 20 25 20 31 30 |X..if (!| (i % 10|
|00005700| 29 29 20 70 72 69 6e 74 | 66 20 28 22 5c 6e 25 36 |)) print|f ("\n%6|
|00005710| 64 20 20 22 2c 20 69 29 | 3b 0a 58 09 09 63 68 70 |d ", i)|;.X..chp|
|00005720| 72 69 6e 74 20 28 28 75 | 6e 73 69 67 6e 65 64 20 |rint ((u|nsigned |
|00005730| 63 68 61 72 29 20 6d 70 | 74 72 5b 69 5d 29 3b 0a |char) mp|tr[i]);.|
|00005740| 58 09 20 20 20 20 7d 0a | 58 09 20 20 20 20 70 72 |X. }.|X. pr|
|00005750| 69 6e 74 66 20 28 22 5c | 6e 2a 2f 5c 6e 22 29 3b |intf ("\|n*/\n");|
|00005760| 0a 58 09 7d 0a 58 0a 58 | 09 65 78 69 74 20 28 30 |.X.}.X.X|.exit (0|
|00005770| 29 3b 0a 58 7d 0a 58 0a | 58 76 70 72 69 6e 74 20 |);.X}.X.|Xvprint |
|00005780| 28 73 74 72 29 0a 58 63 | 68 61 72 09 2a 73 74 72 |(str).Xc|har.*str|
|00005790| 3b 0a 58 7b 0a 58 09 69 | 66 20 28 21 73 74 72 29 |;.X{.X.i|f (!str)|
|000057a0| 20 72 65 74 75 72 6e 3b | 0a 58 09 77 68 69 6c 65 | return;|.X.while|
|000057b0| 20 28 2a 73 74 72 29 20 | 7b 0a 58 09 20 20 20 20 | (*str) |{.X. |
|000057c0| 63 68 61 72 09 63 5b 35 | 5d 3b 0a 58 0a 58 09 20 |char.c[5|];.X.X. |
|000057d0| 20 20 20 69 66 20 28 69 | 73 61 73 63 69 69 20 28 | if (i|sascii (|
|000057e0| 2a 73 74 72 29 20 26 26 | 20 69 73 70 72 69 6e 74 |*str) &&| isprint|
|000057f0| 20 28 2a 73 74 72 29 0a | 58 09 09 09 20 20 20 20 | (*str).|X... |
|00005800| 20 20 20 26 26 20 2a 73 | 74 72 20 21 3d 20 27 5c | && *s|tr != '\|
|00005810| 5c 27 20 26 26 20 2a 73 | 74 72 20 21 3d 20 27 22 |\' && *s|tr != '"|
|00005820| 27 20 29 20 7b 0a 58 09 | 09 63 5b 30 5d 20 3d 20 |' ) {.X.|.c[0] = |
|00005830| 2a 73 74 72 3b 0a 58 09 | 09 63 5b 31 5d 20 3d 20 |*str;.X.|.c[1] = |
|00005840| 27 5c 30 27 3b 0a 58 09 | 20 20 20 20 7d 0a 58 09 |'\0';.X.| }.X.|
|00005850| 20 20 20 20 65 6c 73 65 | 20 7b 0a 58 09 09 73 77 | else| {.X..sw|
|00005860| 69 74 63 68 20 28 2a 73 | 74 72 29 20 7b 0a 58 09 |itch (*s|tr) {.X.|
|00005870| 09 63 61 73 65 20 27 5c | 5c 27 3a 0a 58 09 09 20 |.case '\|\':.X.. |
|00005880| 20 20 20 73 74 72 63 70 | 79 20 28 63 2c 20 22 5c | strcp|y (c, "\|
|00005890| 5c 5c 5c 22 29 3b 0a 58 | 09 09 20 20 20 20 62 72 |\\\");.X|.. br|
|000058a0| 65 61 6b 3b 0a 58 09 09 | 63 61 73 65 20 27 22 27 |eak;.X..|case '"'|
|000058b0| 3a 0a 58 09 09 20 20 20 | 20 73 74 72 63 70 79 20 |:.X.. | strcpy |
|000058c0| 28 63 2c 20 22 5c 5c 5c | 22 22 29 3b 0a 58 09 09 |(c, "\\\|"");.X..|
|000058d0| 20 20 20 20 62 72 65 61 | 6b 3b 0a 58 09 09 63 61 | brea|k;.X..ca|
|000058e0| 73 65 20 27 5c 62 27 3a | 0a 58 09 09 20 20 20 20 |se '\b':|.X.. |
|000058f0| 73 74 72 63 70 79 20 28 | 63 2c 20 22 5c 5c 62 22 |strcpy (|c, "\\b"|
|00005900| 29 3b 0a 58 09 09 20 20 | 20 20 62 72 65 61 6b 3b |);.X.. | break;|
|00005910| 0a 58 09 09 63 61 73 65 | 20 27 5c 74 27 3a 0a 58 |.X..case| '\t':.X|
|00005920| 09 09 20 20 20 20 73 74 | 72 63 70 79 20 28 63 2c |.. st|rcpy (c,|
|00005930| 20 22 5c 5c 74 22 29 3b | 0a 58 09 09 20 20 20 20 | "\\t");|.X.. |
|00005940| 62 72 65 61 6b 3b 0a 58 | 09 09 63 61 73 65 20 27 |break;.X|..case '|
|00005950| 5c 6e 27 3a 0a 58 09 09 | 20 20 20 20 73 74 72 63 |\n':.X..| strc|
|00005960| 70 79 20 28 63 2c 20 22 | 5c 5c 6e 22 29 3b 0a 58 |py (c, "|\\n");.X|
|00005970| 09 09 20 20 20 20 62 72 | 65 61 6b 3b 0a 58 09 09 |.. br|eak;.X..|
|00005980| 63 61 73 65 20 27 5c 72 | 27 3a 0a 58 09 09 20 20 |case '\r|':.X.. |
|00005990| 20 20 73 74 72 63 70 79 | 20 28 63 2c 20 22 5c 5c | strcpy| (c, "\\|
|000059a0| 72 22 29 3b 0a 58 09 09 | 20 20 20 20 62 72 65 61 |r");.X..| brea|
|000059b0| 6b 3b 0a 58 09 09 64 65 | 66 61 75 6c 74 3a 0a 58 |k;.X..de|fault:.X|
|000059c0| 09 09 20 20 20 20 73 70 | 72 69 6e 74 66 20 28 63 |.. sp|rintf (c|
|000059d0| 2c 20 22 5c 5c 25 33 2e | 33 6f 22 2c 20 28 69 6e |, "\\%3.|3o", (in|
|000059e0| 74 29 2a 73 74 72 20 26 | 20 30 33 37 37 29 3b 0a |t)*str &| 0377);.|
|000059f0| 58 09 09 20 20 20 20 62 | 72 65 61 6b 3b 0a 58 09 |X.. b|reak;.X.|
|00005a00| 09 7d 0a 58 09 20 20 20 | 20 7d 0a 58 09 70 72 69 |.}.X. | }.X.pri|
|00005a10| 6e 74 66 20 28 22 25 73 | 22 2c 20 63 29 3b 0a 58 |ntf ("%s|", c);.X|
|00005a20| 09 73 74 72 2b 2b 3b 0a | 58 09 7d 0a 58 7d 0a 58 |.str++;.|X.}.X}.X|
|00005a30| 0a 58 63 68 70 72 69 6e | 74 20 28 63 29 0a 58 75 |.Xchprin|t (c).Xu|
|00005a40| 6e 73 69 67 6e 65 64 20 | 63 68 61 72 09 63 3b 0a |nsigned |char.c;.|
|00005a50| 58 7b 0a 58 09 69 66 20 | 28 69 73 61 73 63 69 69 |X{.X.if |(isascii|
|00005a60| 20 28 63 29 20 26 26 20 | 69 73 67 72 61 70 68 20 | (c) && |isgraph |
|00005a70| 28 63 29 29 20 70 72 69 | 6e 74 66 20 28 22 20 20 |(c)) pri|ntf (" |
|00005a80| 20 20 25 63 22 2c 20 63 | 29 3b 0a 58 09 65 6c 73 | %c", c|);.X.els|
|00005a90| 65 20 69 66 20 28 63 29 | 20 70 72 69 6e 74 66 20 |e if (c)| printf |
|00005aa0| 28 22 20 5c 5c 25 2e 33 | 6f 22 2c 20 63 29 3b 0a |(" \\%.3|o", c);.|
|00005ab0| 58 09 65 6c 73 65 20 70 | 72 69 6e 74 66 20 28 22 |X.else p|rintf ("|
|00005ac0| 20 2d 2d 2d 2d 22 29 3b | 0a 58 7d 0a 58 0a 58 6c | ----");|.X}.X.Xl|
|00005ad0| 6f 61 64 74 61 62 20 28 | 74 6e 61 6d 65 29 0a 58 |oadtab (|tname).X|
|00005ae0| 63 68 61 72 09 2a 74 6e | 61 6d 65 3b 0a 58 7b 0a |char.*tn|ame;.X{.|
|00005af0| 58 09 69 6e 74 09 74 66 | 64 2c 20 63 3b 0a 58 09 |X.int.tf|d, c;.X.|
|00005b00| 63 68 61 72 09 2a 6d 61 | 6c 6c 6f 63 28 29 3b 0a |char.*ma|lloc();.|
|00005b10| 58 09 73 74 72 75 63 74 | 20 73 74 61 74 09 73 74 |X.struct| stat.st|
|00005b20| 61 74 62 75 66 3b 0a 58 | 0a 58 09 69 66 20 28 28 |atbuf;.X|.X.if ((|
|00005b30| 74 66 64 3d 6f 70 65 6e | 20 28 74 6e 61 6d 65 2c |tfd=open| (tname,|
|00005b40| 20 4f 5f 52 44 4f 4e 4c | 59 29 29 20 3c 20 30 20 | O_RDONL|Y)) < 0 |
|00005b50| 29 20 7b 0a 58 09 20 20 | 20 20 70 65 72 72 6f 72 |) {.X. | perror|
|00005b60| 20 28 74 6e 61 6d 65 29 | 3b 0a 58 09 20 20 20 20 | (tname)|;.X. |
|00005b70| 65 78 69 74 20 28 31 29 | 3b 0a 58 09 7d 0a 58 09 |exit (1)|;.X.}.X.|
|00005b80| 66 73 74 61 74 20 28 74 | 66 64 2c 20 26 73 74 61 |fstat (t|fd, &sta|
|00005b90| 74 62 75 66 29 3b 0a 58 | 09 72 65 61 64 20 28 74 |tbuf);.X|.read (t|
|00005ba0| 66 64 2c 20 26 63 5f 73 | 69 7a 65 2c 20 73 69 7a |fd, &c_s|ize, siz|
|00005bb0| 65 6f 66 20 28 69 6e 74 | 29 29 3b 0a 58 09 72 65 |eof (int|));.X.re|
|00005bc0| 61 64 20 28 74 66 64 2c | 20 26 74 5f 73 74 6f 72 |ad (tfd,| &t_stor|
|00005bd0| 2c 20 73 69 7a 65 6f 66 | 20 28 74 5f 73 74 6f 72 |, sizeof| (t_stor|
|00005be0| 29 29 3b 0a 58 09 6d 70 | 74 72 20 3d 20 6d 61 6c |));.X.mp|tr = mal|
|00005bf0| 6c 6f 63 20 28 63 5f 73 | 69 7a 65 29 3b 0a 58 09 |loc (c_s|ize);.X.|
|00005c00| 72 65 61 64 20 28 74 66 | 64 2c 20 6d 70 74 72 2c |read (tf|d, mptr,|
|00005c10| 20 63 5f 73 69 7a 65 29 | 3b 0a 58 09 63 20 3d 20 | c_size)|;.X.c = |
|00005c20| 73 69 7a 65 6f 66 20 28 | 69 6e 74 29 20 2b 20 73 |sizeof (|int) + s|
|00005c30| 69 7a 65 6f 66 20 28 74 | 5f 73 74 6f 72 29 20 2b |izeof (t|_stor) +|
|00005c40| 20 63 5f 73 69 7a 65 3b | 0a 58 09 69 66 20 28 63 | c_size;|.X.if (c|
|00005c50| 20 21 3d 20 73 74 61 74 | 62 75 66 2e 73 74 5f 73 | != stat|buf.st_s|
|00005c60| 69 7a 65 29 20 66 70 72 | 69 6e 74 66 20 28 73 74 |ize) fpr|intf (st|
|00005c70| 64 65 72 72 2c 0a 58 09 | 22 57 41 52 4e 49 4e 47 |derr,.X.|"WARNING|
|00005c80| 3a 20 25 73 20 73 69 7a | 65 3a 20 25 64 20 62 79 |: %s siz|e: %d by|
|00005c90| 74 65 73 20 28 73 68 6f | 75 6c 64 20 62 65 20 25 |tes (sho|uld be %|
|00005ca0| 64 29 2c 20 6f 75 74 70 | 75 74 20 6c 69 6b 65 6c |d), outp|ut likel|
|00005cb0| 79 20 63 6f 72 72 75 70 | 74 5c 6e 22 2c 0a 58 09 |y corrup|t\n",.X.|
|00005cc0| 20 20 20 20 74 6e 61 6d | 65 2c 20 73 74 61 74 62 | tnam|e, statb|
|00005cd0| 75 66 2e 73 74 5f 73 69 | 7a 65 2c 20 63 29 3b 0a |uf.st_si|ze, c);.|
|00005ce0| 58 0a 58 09 74 2e 62 73 | 65 74 20 3d 20 74 5f 73 |X.X.t.bs|et = t_s|
|00005cf0| 74 6f 72 2e 62 73 65 74 | 3b 0a 58 09 74 2e 62 72 |tor.bset|;.X.t.br|
|00005d00| 65 73 65 74 20 3d 20 74 | 5f 73 74 6f 72 2e 62 72 |eset = t|_stor.br|
|00005d10| 65 73 65 74 3b 0a 58 09 | 74 2e 48 6f 72 20 3d 20 |eset;.X.|t.Hor = |
|00005d20| 74 5f 73 74 6f 72 2e 48 | 6f 72 3b 0a 58 09 74 2e |t_stor.H|or;.X.t.|
|00005d30| 56 65 72 74 20 3d 20 74 | 5f 73 74 6f 72 2e 56 65 |Vert = t|_stor.Ve|
|00005d40| 72 74 3b 0a 58 09 74 2e | 4e 65 77 6c 69 6e 65 20 |rt;.X.t.|Newline |
|00005d50| 3d 20 74 5f 73 74 6f 72 | 2e 4e 65 77 6c 69 6e 65 |= t_stor|.Newline|
|00005d60| 3b 0a 58 09 74 2e 43 68 | 61 72 20 3d 20 74 5f 73 |;.X.t.Ch|ar = t_s|
|00005d70| 74 6f 72 2e 43 68 61 72 | 3b 0a 58 23 69 66 64 65 |tor.Char|;.X#ifde|
|00005d80| 66 20 4b 41 4e 4a 49 0a | 58 09 74 2e 4b 63 68 61 |f KANJI.|X.t.Kcha|
|00005d90| 72 20 3d 20 74 5f 73 74 | 6f 72 2e 4b 63 68 61 72 |r = t_st|or.Kchar|
|00005da0| 3b 0a 58 23 65 6e 64 69 | 66 20 4b 41 4e 4a 49 0a |;.X#endi|f KANJI.|
|00005db0| 58 09 74 2e 45 6d 20 3d | 20 74 5f 73 74 6f 72 2e |X.t.Em =| t_stor.|
|00005dc0| 45 6d 3b 0a 58 09 74 2e | 48 61 6c 66 6c 69 6e 65 |Em;.X.t.|Halfline|
|00005dd0| 20 3d 20 74 5f 73 74 6f | 72 2e 48 61 6c 66 6c 69 | = t_sto|r.Halfli|
|00005de0| 6e 65 3b 0a 58 09 74 2e | 41 64 6a 20 3d 20 74 5f |ne;.X.t.|Adj = t_|
|00005df0| 73 74 6f 72 2e 41 64 6a | 3b 0a 58 09 67 65 74 70 |stor.Adj|;.X.getp|
|00005e00| 74 72 20 28 74 77 69 6e | 69 74 29 3b 0a 58 09 67 |tr (twin|it);.X.g|
|00005e10| 65 74 70 74 72 20 28 74 | 77 72 65 73 74 29 3b 0a |etptr (t|wrest);.|
|00005e20| 58 09 67 65 74 70 74 72 | 20 28 74 77 6e 6c 29 3b |X.getptr| (twnl);|
|00005e30| 0a 58 09 67 65 74 70 74 | 72 20 28 68 6c 72 29 3b |.X.getpt|r (hlr);|
|00005e40| 0a 58 09 67 65 74 70 74 | 72 20 28 68 6c 66 29 3b |.X.getpt|r (hlf);|
|00005e50| 0a 58 09 67 65 74 70 74 | 72 20 28 66 6c 72 29 3b |.X.getpt|r (flr);|
|00005e60| 0a 58 09 67 65 74 70 74 | 72 20 28 62 64 6f 6e 29 |.X.getpt|r (bdon)|
|00005e70| 3b 0a 58 09 67 65 74 70 | 74 72 20 28 62 64 6f 66 |;.X.getp|tr (bdof|
|00005e80| 66 29 3b 0a 58 09 67 65 | 74 70 74 72 20 28 69 74 |f);.X.ge|tptr (it|
|00005e90| 6f 6e 29 3b 0a 58 09 67 | 65 74 70 74 72 20 28 69 |on);.X.g|etptr (i|
|00005ea0| 74 6f 66 66 29 3b 0a 58 | 09 67 65 74 70 74 72 20 |toff);.X|.getptr |
|00005eb0| 28 70 6c 6f 74 6f 6e 29 | 3b 0a 58 09 67 65 74 70 |(ploton)|;.X.getp|
|00005ec0| 74 72 20 28 70 6c 6f 74 | 6f 66 66 29 3b 0a 58 09 |tr (plot|off);.X.|
|00005ed0| 67 65 74 70 74 72 20 28 | 75 70 29 3b 0a 58 09 67 |getptr (|up);.X.g|
|00005ee0| 65 74 70 74 72 20 28 64 | 6f 77 6e 29 3b 0a 58 09 |etptr (d|own);.X.|
|00005ef0| 67 65 74 70 74 72 20 28 | 72 69 67 68 74 29 3b 0a |getptr (|right);.|
|00005f00| 58 09 67 65 74 70 74 72 | 20 28 6c 65 66 74 29 3b |X.getptr| (left);|
|00005f10| 0a 58 0a 58 09 66 6f 72 | 20 28 63 20 3d 20 30 3b |.X.X.for| (c = 0;|
|00005f20| 20 63 20 3c 20 32 35 36 | 20 2d 20 33 32 3b 20 63 | c < 256| - 32; c|
|00005f30| 2b 2b 29 0a 58 09 20 20 | 20 20 67 65 74 70 74 72 |++).X. | getptr|
|00005f40| 20 28 63 6f 64 65 74 61 | 62 5b 63 5d 29 3b 0a 58 | (codeta|b[c]);.X|
|00005f50| 7d 0a 53 48 41 52 5f 45 | 4f 46 0a 69 66 20 74 65 |}.SHAR_E|OF.if te|
|00005f60| 73 74 20 36 37 39 33 20 | 2d 6e 65 20 22 60 77 63 |st 6793 |-ne "`wc|
|00005f70| 20 2d 63 20 27 65 6c 62 | 61 74 2e 63 27 60 22 0a | -c 'elb|at.c'`".|
|00005f80| 74 68 65 6e 0a 09 65 63 | 68 6f 20 73 68 61 72 3a |then..ec|ho shar:|
|00005f90| 20 65 72 72 6f 72 20 74 | 72 61 6e 73 6d 69 74 74 | error t|ransmitt|
|00005fa0| 69 6e 67 20 22 27 65 6c | 62 61 74 2e 63 27 22 20 |ing "'el|bat.c'" |
|00005fb0| 27 28 73 68 6f 75 6c 64 | 20 68 61 76 65 20 62 65 |'(should| have be|
|00005fc0| 65 6e 20 36 37 39 33 20 | 63 68 61 72 61 63 74 65 |en 6793 |characte|
|00005fd0| 72 73 29 27 0a 66 69 0a | 65 63 68 6f 20 73 68 61 |rs)'.fi.|echo sha|
|00005fe0| 72 3a 20 65 78 74 72 61 | 63 74 69 6e 67 20 22 27 |r: extra|cting "'|
|00005ff0| 74 61 62 6c 65 2e 63 27 | 22 20 27 28 35 30 31 31 |table.c'|" '(5011|
|00006000| 20 63 68 61 72 61 63 74 | 65 72 73 29 27 0a 69 66 | charact|ers)'.if|
|00006010| 20 74 65 73 74 20 2d 66 | 20 27 74 61 62 6c 65 2e | test -f| 'table.|
|00006020| 63 27 0a 74 68 65 6e 0a | 09 65 63 68 6f 20 73 68 |c'.then.|.echo sh|
|00006030| 61 72 3a 20 6f 76 65 72 | 2d 77 72 69 74 69 6e 67 |ar: over|-writing|
|00006040| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 22 | existin|g file "|
|00006050| 27 74 61 62 6c 65 2e 63 | 27 22 0a 66 69 0a 73 65 |'table.c|'".fi.se|
|00006060| 64 20 27 73 2f 5e 58 2f | 2f 27 20 3c 3c 20 5c 53 |d 's/^X/|/' << \S|
|00006070| 48 41 52 5f 45 4f 46 20 | 3e 20 27 74 61 62 6c 65 |HAR_EOF |> 'table|
|00006080| 2e 63 27 0a 58 2f 2a 0a | 58 09 74 61 62 6c 65 20 |.c'.X/*.|X.table |
|00006090| 28 76 65 72 73 69 6f 6e | 20 32 2e 30 29 20 2d 20 |(version| 2.0) - |
|000060a0| 61 20 75 74 69 6c 69 74 | 79 20 66 6f 72 20 63 72 |a utilit|y for cr|
|000060b0| 65 61 74 69 6e 67 20 6e | 72 6f 66 66 20 64 72 69 |eating n|roff dri|
|000060c0| 76 65 72 20 74 61 62 6c | 65 73 2e 0a 58 0a 58 09 |ver tabl|es..X.X.|
|000060d0| 74 61 62 6c 65 3a 20 20 | 61 20 70 72 6f 67 72 61 |table: |a progra|
|000060e0| 6d 20 74 6f 20 63 6f 6d | 70 69 6c 65 20 6e 72 6f |m to com|pile nro|
|000060f0| 66 66 20 74 65 72 6d 69 | 6e 61 6c 20 64 72 69 76 |ff termi|nal driv|
|00006100| 65 72 20 74 61 62 6c 65 | 73 2e 0a 58 09 09 57 72 |er table|s..X..Wr|
|00006110| 69 74 74 65 6e 20 62 79 | 20 42 72 75 63 65 20 54 |itten by| Bruce T|
|00006120| 6f 77 6e 73 65 6e 64 20 | 4f 63 74 2c 20 31 39 38 |ownsend |Oct, 198|
|00006130| 37 2e 0a 58 0a 58 09 43 | 6f 70 79 72 69 67 68 74 |7..X.X.C|opyright|
|00006140| 20 28 63 29 20 31 39 38 | 37 20 62 79 20 42 72 75 | (c) 198|7 by Bru|
|00006150| 63 65 20 54 6f 77 6e 73 | 65 6e 64 20 61 6e 64 20 |ce Towns|end and |
|00006160| 42 65 6c 6c 2d 4e 6f 72 | 74 68 65 72 6e 20 52 65 |Bell-Nor|thern Re|
|00006170| 73 65 61 72 63 68 2e 0a | 58 09 50 65 72 6d 69 73 |search..|X.Permis|
|00006180| 73 69 6f 6e 20 69 73 20 | 67 72 61 6e 74 65 64 20 |sion is |granted |
|00006190| 74 6f 20 75 73 65 20 61 | 6e 64 20 64 69 73 74 72 |to use a|nd distr|
|000061a0| 69 62 75 74 65 2c 20 65 | 78 63 65 70 74 20 66 6f |ibute, e|xcept fo|
|000061b0| 72 20 70 72 6f 66 69 74 | 2c 0a 58 09 70 72 6f 76 |r profit|,.X.prov|
|000061c0| 69 64 69 6e 67 20 74 68 | 69 73 20 63 6f 70 79 72 |iding th|is copyr|
|000061d0| 69 67 68 74 20 6e 6f 74 | 69 63 65 20 61 6e 64 20 |ight not|ice and |
|000061e0| 74 68 65 20 61 75 74 68 | 6f 72 27 73 20 6e 61 6d |the auth|or's nam|
|000061f0| 65 20 69 73 20 69 6e 63 | 6c 75 64 65 64 2e 0a 58 |e is inc|luded..X|
|00006200| 09 4e 6f 20 77 61 72 72 | 61 6e 74 79 20 6f 66 20 |.No warr|anty of |
|00006210| 61 6e 79 20 6b 69 6e 64 | 20 69 73 20 65 78 70 72 |any kind| is expr|
|00006220| 65 73 73 65 64 20 6f 72 | 20 69 6d 70 6c 69 65 64 |essed or| implied|
|00006230| 2c 20 61 6e 64 20 6e 6f | 20 6c 69 61 62 69 6c 69 |, and no| liabili|
|00006240| 74 79 20 6f 66 0a 58 09 | 61 6e 79 20 6b 69 6e 64 |ty of.X.|any kind|
|00006250| 20 69 73 20 61 73 73 75 | 6d 65 64 20 62 79 20 65 | is assu|med by e|
|00006260| 69 74 68 65 72 20 74 68 | 65 20 61 75 74 68 6f 72 |ither th|e author|
|00006270| 20 6f 72 20 42 65 6c 6c | 2d 4e 6f 72 74 68 65 72 | or Bell|-Norther|
|00006280| 6e 20 52 65 73 65 61 72 | 63 68 2e 0a 58 0a 58 09 |n Resear|ch..X.X.|
|00006290| 54 68 65 20 63 6f 6e 74 | 72 69 62 75 74 69 6f 6e |The cont|ribution|
|000062a0| 73 20 6f 66 20 49 61 6e | 20 44 61 72 77 69 6e 20 |s of Ian| Darwin |
|000062b0| 61 72 65 20 67 72 61 74 | 65 66 75 6c 6c 79 20 61 |are grat|efully a|
|000062c0| 63 6b 6e 6f 77 6c 65 64 | 67 65 64 2e 0a 58 2a 2f |cknowled|ged..X*/|
|000062d0| 0a 58 0a 58 23 64 65 66 | 69 6e 65 20 43 5f 53 49 |.X.X#def|ine C_SI|
|000062e0| 5a 45 09 32 30 30 30 30 | 09 2f 2a 20 54 68 65 20 |ZE.20000|./* The |
|000062f0| 6d 61 78 69 6d 75 6d 20 | 61 6d 6f 75 6e 74 20 6f |maximum |amount o|
|00006300| 66 20 63 68 61 72 61 63 | 74 65 72 20 64 61 74 61 |f charac|ter data|
|00006310| 20 61 6c 6c 6f 77 65 64 | 0a 58 09 09 09 20 20 20 | allowed|.X... |
|00006320| 69 6e 20 74 68 65 20 69 | 6e 69 74 69 61 6c 69 7a |in the i|nitializ|
|00006330| 65 64 20 73 74 72 75 63 | 74 75 72 65 20 74 20 2d |ed struc|ture t -|
|00006340| 20 69 6e 63 72 65 61 73 | 65 20 69 66 0a 58 09 09 | increas|e if.X..|
|00006350| 09 20 20 20 6e 65 63 65 | 73 73 61 72 79 20 2a 2f |. nece|ssary */|
|00006360| 0a 58 0a 58 23 69 6e 63 | 6c 75 64 65 20 3c 73 74 |.X.X#inc|lude <st|
|00006370| 64 69 6f 2e 68 3e 0a 58 | 23 69 6e 63 6c 75 64 65 |dio.h>.X|#include|
|00006380| 20 22 74 61 62 6c 65 2e | 68 22 09 2f 2a 20 54 68 | "table.|h"./* Th|
|00006390| 69 73 20 66 69 6c 65 20 | 63 6f 6e 74 61 69 6e 73 |is file |contains|
|000063a0| 20 74 68 65 20 64 65 66 | 69 6e 69 74 69 6f 6e 20 | the def|inition |
|000063b0| 6f 66 20 74 68 65 0a 58 | 09 09 09 20 20 20 74 68 |of the.X|... th|
|000063c0| 65 20 73 74 72 75 63 74 | 75 72 65 73 20 74 20 61 |e struct|ures t a|
|000063d0| 6e 64 20 74 5f 73 74 6f | 72 20 2a 2f 0a 58 0a 58 |nd t_sto|r */.X.X|
|000063e0| 2f 2a 09 54 68 65 20 63 | 6f 6d 70 69 6c 65 64 20 |/*.The c|ompiled |
|000063f0| 74 61 62 20 66 69 6c 65 | 20 63 6f 6e 74 61 69 6e |tab file| contain|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.