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: Tape Archive
(archive/tar).
You can browse this item here: ro.tar
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Tape Archive (archive/tar)
| magic
| Supported |
100%
| file
| tar archive
| default
| |
99%
| file
| tar archive (V7), file ro/, mode 755 , uid 1524 , gid 13 , size 0 , seconds 4572524735
| default
| |
98%
| file
| data
| default
| |
100%
| TrID
| Sybase iAnywhere database files
| default (weak)
| |
100%
| siegfried
| x-fmt/265 Tape Archive Format
| default
| |
100%
| lsar
| Tar
| default
| |
100%
| gt2
| TAR Archiv gefunden (Auflistung ist deaktiviert)
| default
| |
100%
| disktype
| Pre-POSIX tar archive
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 72 6f 2f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ro/.....|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 20 20 37 | 35 35 20 00 20 20 31 35 |.... 7|55 . 15|
|00000070| 32 34 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |24 . |13 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 34 35 37 32 35 32 34 | 0 | 4572524|
|00000090| 37 33 35 20 20 20 34 34 | 37 35 00 20 00 00 00 00 |735 44|75. ....|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 72 6f 2f 53 68 61 72 46 | 69 6c 65 2e 48 65 61 64 |ro/SharF|ile.Head|
|00000210| 65 72 73 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ers.....|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 31 35 |.... 6|44 . 15|
|00000270| 32 34 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |24 . |13 . |
|00000280| 20 20 20 32 32 31 36 20 | 20 34 35 37 32 35 32 34 | 2216 | 4572524|
|00000290| 37 33 36 20 20 20 37 35 | 35 36 00 20 00 00 00 00 |736 75|56. ....|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 3d 3d 3d 20 72 6f 2e 73 | 68 61 72 31 20 3d 3d 3d |=== ro.s|har1 ===|
|00000410| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000420| 3d 3d 3d 3d 3d 3d 0a 46 | 72 6f 6d 20 73 70 61 72 |======.F|rom spar|
|00000430| 6b 79 66 73 21 61 6d 65 | 73 21 74 68 69 6e 6b 21 |kyfs!ame|s!think!|
|00000440| 73 61 6d 73 75 6e 67 21 | 75 75 6e 65 74 21 62 62 |samsung!|uunet!bb|
|00000450| 6e 2e 63 6f 6d 21 72 73 | 61 6c 7a 20 54 75 65 20 |n.com!rs|alz Tue |
|00000460| 46 65 62 20 20 36 20 31 | 34 3a 34 35 3a 30 31 20 |Feb 6 1|4:45:01 |
|00000470| 50 53 54 20 31 39 39 30 | 0a 0a 53 75 62 6d 69 74 |PST 1990|..Submit|
|00000480| 74 65 64 2d 62 79 3a 20 | 74 63 61 6d 70 40 64 75 |ted-by: |tcamp@du|
|00000490| 6b 65 61 63 2e 55 55 43 | 50 20 28 54 65 64 20 41 |keac.UUC|P (Ted A|
|000004a0| 2e 20 43 61 6d 70 62 65 | 6c 6c 29 0a 50 6f 73 74 |. Campbe|ll).Post|
|000004b0| 69 6e 67 2d 6e 75 6d 62 | 65 72 3a 20 56 6f 6c 75 |ing-numb|er: Volu|
|000004c0| 6d 65 20 32 31 2c 20 49 | 73 73 75 65 20 33 0a 41 |me 21, I|ssue 3.A|
|000004d0| 72 63 68 69 76 65 2d 6e | 61 6d 65 3a 20 72 6f 2f |rchive-n|ame: ro/|
|000004e0| 70 61 72 74 30 31 0a 0a | 72 6f 20 69 73 20 61 20 |part01..|ro is a |
|000004f0| 74 65 78 74 20 66 6f 72 | 6d 61 74 74 65 72 20 77 |text for|matter w|
|00000500| 69 74 68 20 6d 61 6e 79 | 20 6f 66 20 74 68 65 20 |ith many| of the |
|00000510| 63 61 70 61 62 69 6c 69 | 74 69 65 73 20 6f 66 20 |capabili|ties of |
|00000520| 6e 72 6f 66 66 2e 20 20 | 49 74 20 69 73 0a 62 61 |nroff. |It is.ba|
|00000530| 73 65 64 20 6f 6e 20 61 | 20 6c 6f 6e 67 20 6c 69 |sed on a| long li|
|00000540| 6e 65 20 6f 66 20 43 50 | 2f 4d 20 61 6e 64 20 4d |ne of CP|/M and M|
|00000550| 53 44 4f 53 20 66 6f 72 | 6d 61 74 74 65 72 73 2c |SDOS for|matters,|
|00000560| 20 67 6f 69 6e 67 20 62 | 61 63 6b 20 74 6f 20 74 | going b|ack to t|
|00000570| 68 65 20 52 4f 46 46 0a | 66 6f 72 6d 61 74 74 65 |he ROFF.|formatte|
|00000580| 72 20 64 65 73 63 72 69 | 62 65 64 20 69 6e 20 4b |r descri|bed in K|
|00000590| 65 72 6e 69 67 61 6e 20 | 61 6e 64 20 50 6c 61 75 |ernigan |and Plau|
|000005a0| 67 65 72 27 73 20 3c 53 | 6f 66 74 77 61 72 65 20 |ger's <S|oftware |
|000005b0| 54 6f 6f 6c 73 2e 3e 20 | 20 4d 61 6b 65 66 69 6c |Tools.> | Makefil|
|000005c0| 65 73 0a 61 72 65 20 69 | 6e 63 6c 75 64 65 64 20 |es.are i|ncluded |
|000005d0| 66 6f 72 20 44 4f 53 20 | 61 6e 64 20 55 6e 69 78 |for DOS |and Unix|
|000005e0| 2e 20 20 20 46 72 65 65 | 77 61 72 65 2e 0a 0a 23 |. Free|ware...#|
|000005f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000600| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000610| 43 55 54 20 48 45 52 45 | 2d 2d 2d 2d 2d 2d 2d 2d |CUT HERE|--------|
|00000620| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000630| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0a 3d 3d |--------|-----.==|
|00000640| 3d 20 72 6f 2e 73 68 61 | 72 32 20 3d 3d 3d 3d 3d |= ro.sha|r2 =====|
|00000650| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000660| 3d 3d 3d 3d 0a 46 72 6f | 6d 20 73 70 61 72 6b 79 |====.Fro|m sparky|
|00000670| 66 73 21 7a 6f 64 69 61 | 63 21 61 6d 65 73 21 6c |fs!zodia|c!ames!l|
|00000680| 6c 6c 2d 77 69 6e 6b 65 | 6e 21 75 75 6e 65 74 21 |ll-winke|n!uunet!|
|00000690| 62 62 6e 2e 63 6f 6d 21 | 72 73 61 6c 7a 40 75 75 |bbn.com!|rsalz@uu|
|000006a0| 6e 65 74 2e 75 75 2e 6e | 65 74 20 4d 6f 6e 20 46 |net.uu.n|et Mon F|
|000006b0| 65 62 20 31 32 20 30 38 | 3a 32 33 3a 32 34 20 50 |eb 12 08|:23:24 P|
|000006c0| 53 54 20 31 39 39 30 0a | 0a 53 75 62 6d 69 74 74 |ST 1990.|.Submitt|
|000006d0| 65 64 2d 62 79 3a 20 74 | 63 61 6d 70 40 64 75 6b |ed-by: t|camp@duk|
|000006e0| 65 61 63 2e 55 55 43 50 | 20 28 54 65 64 20 41 2e |eac.UUCP| (Ted A.|
|000006f0| 20 43 61 6d 70 62 65 6c | 6c 29 0a 50 6f 73 74 69 | Campbel|l).Posti|
|00000700| 6e 67 2d 6e 75 6d 62 65 | 72 3a 20 56 6f 6c 75 6d |ng-numbe|r: Volum|
|00000710| 65 20 32 31 2c 20 49 73 | 73 75 65 20 34 0a 41 72 |e 21, Is|sue 4.Ar|
|00000720| 63 68 69 76 65 2d 6e 61 | 6d 65 3a 20 72 6f 2f 70 |chive-na|me: ro/p|
|00000730| 61 72 74 30 32 0a 0a 5b | 20 20 50 4c 45 41 53 45 |art02..[| PLEASE|
|00000740| 20 4e 4f 54 45 20 2d 2d | 20 42 72 69 61 6e 20 4b | NOTE --| Brian K|
|00000750| 65 72 6e 69 67 68 61 6e | 27 73 20 6e 61 6d 65 20 |ernighan|'s name |
|00000760| 69 73 20 73 70 65 6c 6c | 65 64 20 77 72 6f 6e 67 |is spell|ed wrong|
|00000770| 20 74 68 72 6f 75 67 68 | 6f 75 74 0a 20 20 20 74 | through|out. t|
|00000780| 68 69 73 20 70 6f 73 74 | 69 6e 67 2e 20 20 53 6f |his post|ing. So|
|00000790| 72 72 79 2e 20 2d 2d 72 | 24 20 20 5d 0a 0a 3d 3d |rry. --r|$ ]..==|
|000007a0| 3d 20 72 6f 2e 73 68 61 | 72 33 20 3d 3d 3d 3d 3d |= ro.sha|r3 =====|
|000007b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000007c0| 3d 3d 3d 3d 0a 46 72 6f | 6d 20 73 70 61 72 6b 79 |====.Fro|m sparky|
|000007d0| 66 73 21 61 6d 65 73 21 | 74 68 69 6e 6b 21 6d 69 |fs!ames!|think!mi|
|000007e0| 6e 74 61 6b 61 21 6d 69 | 74 2d 65 64 64 69 65 21 |ntaka!mi|t-eddie!|
|000007f0| 62 62 6e 21 62 62 6e 2e | 63 6f 6d 21 72 73 61 6c |bbn!bbn.|com!rsal|
|00000800| 7a 20 54 75 65 20 46 65 | 62 20 20 36 20 31 34 3a |z Tue Fe|b 6 14:|
|00000810| 34 35 3a 31 37 20 50 53 | 54 20 31 39 39 30 0a 0a |45:17 PS|T 1990..|
|00000820| 53 75 62 6d 69 74 74 65 | 64 2d 62 79 3a 20 74 63 |Submitte|d-by: tc|
|00000830| 61 6d 70 40 64 75 6b 65 | 61 63 2e 55 55 43 50 20 |amp@duke|ac.UUCP |
|00000840| 28 54 65 64 20 41 2e 20 | 43 61 6d 70 62 65 6c 6c |(Ted A. |Campbell|
|00000850| 29 0a 50 6f 73 74 69 6e | 67 2d 6e 75 6d 62 65 72 |).Postin|g-number|
|00000860| 3a 20 56 6f 6c 75 6d 65 | 20 32 31 2c 20 49 73 73 |: Volume| 21, Iss|
|00000870| 75 65 20 35 0a 41 72 63 | 68 69 76 65 2d 6e 61 6d |ue 5.Arc|hive-nam|
|00000880| 65 3a 20 72 6f 2f 70 61 | 72 74 30 33 0a 0a 00 00 |e: ro/pa|rt03....|
|00000890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a00| 72 6f 2f 52 45 41 44 4d | 45 00 00 00 00 00 00 00 |ro/READM|E.......|
|00000a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a60| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 31 35 |.... 6|44 . 15|
|00000a70| 32 34 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |24 . |13 . |
|00000a80| 20 20 20 35 31 32 34 20 | 20 34 35 37 32 35 32 34 | 5124 | 4572524|
|00000a90| 37 31 34 20 20 20 35 34 | 34 31 00 20 00 00 00 00 |714 54|41. ....|
|00000aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c00| 72 6f 20 76 65 72 73 69 | 6f 6e 20 31 2e 30 30 20 |ro versi|on 1.00 |
|00000c10| 2d 2d 20 52 65 6c 65 61 | 73 65 20 6f 66 20 53 6f |-- Relea|se of So|
|00000c20| 75 72 63 65 20 43 6f 64 | 65 0a 2d 2d 2d 2d 2d 2d |urce Cod|e.------|
|00000c30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c50| 2d 2d 2d 0a 0a 0a 44 65 | 73 63 72 69 70 74 69 6f |---...De|scriptio|
|00000c60| 6e 3a 0a 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 0a |n:.-----|------..|
|00000c70| 22 72 6f 22 20 69 73 20 | 61 20 74 65 78 74 20 66 |"ro" is |a text f|
|00000c80| 6f 72 6d 61 74 74 65 72 | 20 77 69 74 68 20 73 6f |ormatter| with so|
|00000c90| 6d 65 20 6f 66 20 74 68 | 65 20 63 61 70 61 62 69 |me of th|e capabi|
|00000ca0| 6c 69 74 69 65 73 20 0a | 6f 66 20 74 68 65 20 55 |lities .|of the U|
|00000cb0| 6e 69 78 20 28 74 6d 2c | 20 41 54 26 54 29 20 22 |nix (tm,| AT&T) "|
|00000cc0| 6e 72 6f 66 66 22 20 74 | 65 78 74 20 66 6f 72 6d |nroff" t|ext form|
|00000cd0| 61 74 74 65 72 2e 20 20 | 49 74 20 69 73 20 0a 62 |atter. |It is .b|
|00000ce0| 61 73 65 64 20 6f 6e 20 | 61 6e 20 68 6f 6e 6f 72 |ased on |an honor|
|00000cf0| 61 62 6c 65 20 74 72 61 | 64 69 74 69 6f 6e 20 6f |able tra|dition o|
|00000d00| 66 20 43 50 2f 4d 20 61 | 6e 64 20 44 4f 53 20 66 |f CP/M a|nd DOS f|
|00000d10| 6f 72 6d 61 74 74 65 72 | 73 0a 77 68 69 63 68 20 |ormatter|s.which |
|00000d20| 67 6f 20 62 61 63 6b 20 | 74 6f 20 74 68 65 20 52 |go back |to the R|
|00000d30| 4f 46 46 20 66 6f 72 6d | 61 74 74 65 72 20 64 65 |OFF form|atter de|
|00000d40| 73 63 72 69 62 65 64 20 | 69 6e 20 4b 65 72 6e 69 |scribed |in Kerni|
|00000d50| 67 61 6e 20 0a 61 6e 64 | 20 50 6c 61 75 67 65 72 |gan .and| Plauger|
|00000d60| 27 73 20 3c 53 6f 66 74 | 77 61 72 65 20 54 6f 6f |'s <Soft|ware Too|
|00000d70| 6c 73 3e 2e 20 20 49 74 | 20 69 73 20 63 6f 70 79 |ls>. It| is copy|
|00000d80| 72 69 67 68 74 65 64 20 | 61 6e 64 20 0a 64 69 73 |righted |and .dis|
|00000d90| 74 72 69 62 75 74 65 64 | 20 61 73 20 22 66 72 65 |tributed| as "fre|
|00000da0| 65 77 61 72 65 2c 22 20 | 69 2e 65 2e 2c 20 79 6f |eware," |i.e., yo|
|00000db0| 75 20 63 61 6e 20 75 73 | 65 20 69 74 20 66 6f 72 |u can us|e it for|
|00000dc0| 20 61 6e 79 20 0a 70 75 | 72 70 6f 73 65 20 61 73 | any .pu|rpose as|
|00000dd0| 20 6c 6f 6e 67 20 61 73 | 20 79 6f 75 20 64 6f 6e | long as| you don|
|00000de0| 27 74 20 6d 61 6b 65 20 | 6d 6f 6e 65 79 20 6f 66 |'t make |money of|
|00000df0| 66 20 6f 66 20 69 74 2c | 20 6f 72 20 0a 74 72 79 |f of it,| or .try|
|00000e00| 20 74 6f 20 63 6c 61 69 | 6d 20 74 68 61 74 20 79 | to clai|m that y|
|00000e10| 6f 75 20 77 72 6f 74 65 | 20 69 74 2e 20 20 0a 0a |ou wrote| it. ..|
|00000e20| 54 68 65 20 22 72 6f 2e | 71 72 66 22 20 66 69 6c |The "ro.|qrf" fil|
|00000e30| 65 20 77 69 6c 6c 20 67 | 69 76 65 20 61 6e 20 6f |e will g|ive an o|
|00000e40| 76 65 72 76 69 65 77 20 | 6f 66 20 74 68 65 20 63 |verview |of the c|
|00000e50| 61 70 61 62 69 6c 69 74 | 69 65 73 20 0a 6f 66 20 |apabilit|ies .of |
|00000e60| 74 68 65 20 66 6f 72 6d | 61 74 74 65 72 2e 20 20 |the form|atter. |
|00000e70| 0a 0a 54 68 65 20 73 6f | 75 72 63 65 63 6f 64 65 |..The so|urcecode|
|00000e80| 20 68 61 73 20 62 65 65 | 6e 20 63 6f 6d 70 69 6c | has bee|n compil|
|00000e90| 65 64 20 6f 6e 20 61 6e | 20 58 54 20 63 6c 6f 6e |ed on an| XT clon|
|00000ea0| 65 20 75 73 69 6e 67 20 | 0a 74 68 65 20 4d 69 63 |e using |.the Mic|
|00000eb0| 72 6f 73 6f 66 74 20 51 | 75 69 63 6b 43 20 28 74 |rosoft Q|uickC (t|
|00000ec0| 6d 29 20 63 6f 6d 70 69 | 6c 65 72 2c 20 61 6e 64 |m) compi|ler, and|
|00000ed0| 20 6f 6e 20 74 68 65 20 | 41 54 26 54 20 0a 55 6e | on the |AT&T .Un|
|00000ee0| 69 78 20 50 43 20 61 6e | 64 20 33 42 31 35 20 63 |ix PC an|d 3B15 c|
|00000ef0| 6f 6d 70 75 74 65 72 73 | 20 75 73 69 6e 67 20 74 |omputers| using t|
|00000f00| 68 65 20 73 74 6f 63 6b | 20 55 6e 69 78 20 43 20 |he stock| Unix C |
|00000f10| 0a 63 6f 6d 70 69 6c 65 | 72 73 2e 20 20 0a 0a 0a |.compile|rs. ...|
|00000f20| 46 69 6c 65 73 3a 0a 2d | 2d 2d 2d 2d 0a 0a 09 72 |Files:.-|----...r|
|00000f30| 6f 2e 68 09 09 67 65 6e | 65 72 61 6c 20 69 6e 63 |o.h..gen|eral inc|
|00000f40| 6c 75 64 65 20 66 69 6c | 65 0a 09 72 6f 2e 63 09 |lude fil|e..ro.c.|
|00000f50| 09 6d 61 69 6e 20 70 72 | 6f 67 72 61 6d 20 6d 6f |.main pr|ogram mo|
|00000f60| 64 75 6c 65 0a 09 72 6f | 5f 70 72 6f 63 2e 63 09 |dule..ro|_proc.c.|
|00000f70| 76 61 72 69 6f 75 73 20 | 70 72 6f 63 65 64 75 72 |various |procedur|
|00000f80| 65 73 0a 09 72 6f 5f 6d | 61 63 72 2e 63 09 6d 61 |es..ro_m|acr.c.ma|
|00000f90| 63 72 6f 20 70 72 6f 63 | 65 64 75 72 65 73 0a 09 |cro proc|edures..|
|00000fa0| 72 6f 5f 64 69 76 65 2e | 63 09 64 69 76 65 72 73 |ro_dive.|c.divers|
|00000fb0| 69 6f 6e 20 70 72 6f 63 | 65 64 75 72 65 73 0a 09 |ion proc|edures..|
|00000fc0| 72 6f 5f 77 6f 72 64 2e | 63 09 77 6f 72 64 2d 68 |ro_word.|c.word-h|
|00000fd0| 61 6e 64 6c 69 6e 67 20 | 70 72 6f 63 65 64 75 72 |andling |procedur|
|00000fe0| 65 73 0a 09 72 6f 5f 74 | 65 78 74 2e 63 09 74 65 |es..ro_t|ext.c.te|
|00000ff0| 78 74 2d 68 61 6e 64 6c | 69 6e 67 20 70 72 6f 63 |xt-handl|ing proc|
|00001000| 65 64 75 72 65 73 0a 09 | 72 6f 5f 73 65 74 70 2e |edures..|ro_setp.|
|00001010| 63 09 70 61 72 61 6d 65 | 74 65 72 20 73 65 74 74 |c.parame|ter sett|
|00001020| 69 6e 67 20 70 72 6f 63 | 65 64 75 72 65 73 0a 09 |ing proc|edures..|
|00001030| 72 6f 5f 6f 75 74 70 2e | 63 09 6f 75 74 70 75 74 |ro_outp.|c.output|
|00001040| 20 70 72 6f 63 65 64 75 | 72 65 73 0a 0a 09 4d 61 | procedu|res...Ma|
|00001050| 6b 65 66 69 6c 65 09 55 | 6e 69 78 20 6d 61 6b 65 |kefile.U|nix make|
|00001060| 66 69 6c 65 0a 09 72 6f | 2e 6d 61 6b 09 09 51 75 |file..ro|.mak..Qu|
|00001070| 69 63 6b 43 20 6d 61 6b | 65 66 69 6c 65 0a 0a 09 |ickC mak|efile...|
|00001080| 74 65 72 6d 2e 68 09 09 | 69 6e 63 6c 75 64 65 20 |term.h..|include |
|00001090| 66 69 6c 65 20 66 6f 72 | 20 66 69 6c 74 65 72 73 |file for| filters|
|000010a0| 0a 09 74 65 72 6d 6e 75 | 6c 6c 2e 63 09 6e 75 6c |..termnu|ll.c.nul|
|000010b0| 6c 20 66 69 6c 74 65 72 | 20 2d 2d 20 73 74 72 69 |l filter| -- stri|
|000010c0| 70 73 20 6f 75 74 20 61 | 6c 6c 20 70 72 69 6e 74 |ps out a|ll print|
|000010d0| 65 72 20 63 6f 64 65 73 | 0a 09 74 65 72 6d 61 6e |er codes|..terman|
|000010e0| 73 69 2e 63 09 41 4e 53 | 49 20 66 69 6c 74 65 72 |si.c.ANS|I filter|
|000010f0| 20 2d 2d 20 73 65 74 73 | 20 70 72 69 6e 74 65 72 | -- sets| printer|
|00001100| 20 63 6f 64 65 73 20 66 | 6f 72 20 41 4e 53 49 20 | codes f|or ANSI |
|00001110| 74 65 72 6d 69 6e 61 6c | 0a 09 74 65 72 6d 6e 78 |terminal|..termnx|
|00001120| 31 30 2e 63 09 4e 58 31 | 30 20 66 69 6c 74 65 72 |10.c.NX1|0 filter|
|00001130| 20 2d 2d 20 73 65 74 73 | 20 70 72 69 6e 74 65 72 | -- sets| printer|
|00001140| 20 63 6f 64 65 73 20 66 | 6f 72 20 4e 58 20 31 30 | codes f|or NX 10|
|00001150| 20 70 72 69 6e 74 65 72 | 0a 0a 09 72 6f 2e 64 6f | printer|...ro.do|
|00001160| 63 09 09 70 72 69 6d 61 | 72 79 20 64 6f 63 75 6d |c..prima|ry docum|
|00001170| 65 6e 74 61 74 69 6f 6e | 20 69 6e 20 22 72 6f 22 |entation| in "ro"|
|00001180| 20 66 6f 72 6d 61 74 0a | 09 72 6f 2e 71 72 66 09 | format.|.ro.qrf.|
|00001190| 09 71 75 69 63 6b 20 72 | 65 66 65 72 65 6e 63 65 |.quick r|eference|
|000011a0| 20 67 75 69 64 65 0a 09 | 74 6d 61 63 2e 6d 09 09 | guide..|tmac.m..|
|000011b0| 61 20 6d 61 63 72 6f 20 | 70 61 63 6b 61 67 65 0a |a macro |package.|
|000011c0| 09 74 65 73 74 2e 64 6f | 63 09 74 65 73 74 20 64 |.test.do|c.test d|
|000011d0| 6f 63 75 6d 65 6e 74 20 | 73 68 6f 77 69 6e 67 20 |ocument |showing |
|000011e0| 75 73 65 20 6f 66 20 65 | 6e 64 2d 6e 6f 74 65 20 |use of e|nd-note |
|000011f0| 6d 61 63 72 6f 73 0a 09 | 52 45 41 44 4d 45 09 09 |macros..|README..|
|00001200| 74 68 69 73 20 64 6f 63 | 75 6d 65 6e 74 0a 0a 0a |this doc|ument...|
|00001210| 52 65 61 64 69 6e 67 20 | 61 6e 64 20 70 72 69 6e |Reading |and prin|
|00001220| 74 69 6e 67 20 74 68 65 | 20 6d 61 6e 75 61 6c 3a |ting the| manual:|
|00001230| 0a 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.-------|--------|
|00001240| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001250| 0a 0a 54 68 65 20 6d 61 | 6e 75 61 6c 20 28 66 69 |..The ma|nual (fi|
|00001260| 6c 65 20 22 72 6f 2e 64 | 6f 63 22 29 20 69 73 20 |le "ro.d|oc") is |
|00001270| 69 6e 20 22 72 6f 22 20 | 66 6f 72 6d 61 74 2c 20 |in "ro" |format, |
|00001280| 61 6e 64 20 6d 75 73 74 | 20 62 65 20 72 65 61 64 |and must| be read|
|00001290| 0a 75 73 69 6e 67 20 22 | 72 6f 22 20 61 6e 64 20 |.using "|ro" and |
|000012a0| 61 20 66 69 6c 74 65 72 | 20 70 72 6f 67 72 61 6d |a filter| program|
|000012b0| 2e 20 20 49 66 20 79 6f | 75 20 68 61 76 65 20 74 |. If yo|u have t|
|000012c0| 68 65 20 55 6e 69 78 20 | 6f 72 20 44 4f 53 20 0a |he Unix |or DOS .|
|000012d0| 70 61 67 65 72 20 22 6d | 6f 72 65 22 20 69 6e 73 |pager "m|ore" ins|
|000012e0| 74 61 6c 6c 65 64 20 69 | 6e 20 79 6f 75 72 20 70 |talled i|n your p|
|000012f0| 61 74 68 2c 20 79 6f 75 | 20 63 61 6e 20 72 65 61 |ath, you| can rea|
|00001300| 64 20 69 74 20 70 61 67 | 65 2d 62 79 2d 0a 70 61 |d it pag|e-by-.pa|
|00001310| 67 65 20 77 69 74 68 20 | 74 68 65 20 63 6f 6d 6d |ge with |the comm|
|00001320| 61 6e 64 0a 0a 09 72 6f | 20 72 6f 2e 64 6f 63 20 |and...ro| ro.doc |
|00001330| 7c 20 74 65 72 6d 6e 75 | 6c 6c 20 7c 20 6d 6f 72 || termnu|ll | mor|
|00001340| 65 0a 0a 49 66 20 79 6f | 75 72 20 44 4f 53 20 63 |e..If yo|ur DOS c|
|00001350| 6f 6d 70 75 74 65 72 20 | 68 61 73 20 41 4e 53 49 |omputer |has ANSI|
|00001360| 2e 53 59 53 20 69 6e 73 | 74 61 6c 6c 65 64 2c 20 |.SYS ins|talled, |
|00001370| 6f 72 20 79 6f 75 72 20 | 55 6e 69 78 20 74 65 72 |or your |Unix ter|
|00001380| 6d 69 6e 61 6c 0a 73 75 | 70 70 6f 72 74 73 20 41 |minal.su|pports A|
|00001390| 4e 53 49 20 65 73 63 61 | 70 65 20 73 65 71 75 65 |NSI esca|pe seque|
|000013a0| 6e 63 65 73 2c 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |nces, th|e follow|
|000013b0| 69 6e 67 20 63 6f 6d 6d | 61 6e 64 20 77 69 6c 6c |ing comm|and will|
|000013c0| 20 73 68 6f 77 20 0a 62 | 6f 6c 64 20 61 73 20 62 | show .b|old as b|
|000013d0| 6f 6c 64 20 61 6e 64 20 | 69 74 61 6c 69 63 73 20 |old and |italics |
|000013e0| 61 73 20 75 6e 64 65 72 | 6c 69 6e 65 3a 0a 0a 09 |as under|line:...|
|000013f0| 72 6f 20 72 6f 2e 64 6f | 63 20 7c 20 74 65 72 6d |ro ro.do|c | term|
|00001400| 61 6e 73 69 20 7c 20 6d | 6f 72 65 0a 0a 54 68 65 |ansi | m|ore..The|
|00001410| 20 6d 61 6e 75 61 6c 20 | 63 61 6e 20 62 72 20 70 | manual |can br p|
|00001420| 72 69 6e 74 65 64 20 74 | 6f 20 61 6e 79 20 70 72 |rinted t|o any pr|
|00001430| 69 6e 74 65 72 20 77 69 | 74 68 20 74 68 65 20 63 |inter wi|th the c|
|00001440| 6f 6d 6d 61 6e 64 28 73 | 29 3a 0a 0a 09 72 6f 20 |ommand(s|):...ro |
|00001450| 72 6f 2e 64 6f 63 20 7c | 20 74 65 72 6d 6e 75 6c |ro.doc || termnul|
|00001460| 6c 20 7c 20 6c 70 09 09 | 28 55 6e 69 78 29 0a 09 |l | lp..|(Unix)..|
|00001470| 72 6f 20 72 6f 2e 64 6f | 63 20 7c 20 74 65 72 6d |ro ro.do|c | term|
|00001480| 6e 75 6c 6c 20 3e 70 72 | 6e 09 09 28 44 4f 53 29 |null >pr|n..(DOS)|
|00001490| 0a 0a 57 69 74 68 20 74 | 68 65 20 53 74 61 72 20 |..With t|he Star |
|000014a0| 4d 69 63 72 6f 6e 69 63 | 73 20 4e 58 31 30 20 70 |Micronic|s NX10 p|
|000014b0| 72 69 6e 74 65 72 2c 20 | 79 6f 75 20 6d 61 79 20 |rinter, |you may |
|000014c0| 73 75 62 73 74 69 74 75 | 74 65 20 0a 22 74 65 72 |substitu|te ."ter|
|000014d0| 6d 6e 78 31 30 22 20 66 | 6f 72 20 22 74 65 72 6d |mnx10" f|or "term|
|000014e0| 6e 75 6c 6c 22 20 69 6e | 20 74 68 65 20 61 62 6f |null" in| the abo|
|000014f0| 76 65 20 63 6f 6d 6d 61 | 6e 64 20 6c 69 6e 65 73 |ve comma|nd lines|
|00001500| 2e 20 20 49 6e 73 74 72 | 75 63 74 69 6f 6e 73 0a |. Instr|uctions.|
|00001510| 66 6f 72 20 63 72 65 61 | 74 69 6e 67 20 66 69 6c |for crea|ting fil|
|00001520| 74 65 72 73 20 66 6f 72 | 20 6f 74 68 65 72 20 70 |ters for| other p|
|00001530| 72 69 6e 74 65 72 73 20 | 61 72 65 20 69 6e 63 6c |rinters |are incl|
|00001540| 75 64 65 64 20 69 6e 20 | 22 72 6f 2e 64 6f 63 22 |uded in |"ro.doc"|
|00001550| 2e 20 20 0a 0a 42 69 6e | 61 72 69 65 73 3a 0a 2d |. ..Bin|aries:.-|
|00001560| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 0a 50 43 2d 63 |--------|--..PC-c|
|00001570| 6f 6d 70 61 74 69 62 6c | 65 20 62 69 6e 61 72 69 |ompatibl|e binari|
|00001580| 65 73 20 68 61 76 65 20 | 62 65 65 6e 20 70 6f 73 |es have |been pos|
|00001590| 74 65 64 20 74 6f 20 63 | 6f 6d 70 2e 62 69 6e 61 |ted to c|omp.bina|
|000015a0| 72 69 65 73 2e 69 62 6d | 2e 70 63 2e 0a 0a 0a 43 |ries.ibm|.pc....C|
|000015b0| 6f 6d 6d 75 6e 69 63 61 | 74 69 6f 6e 73 3a 0a 2d |ommunica|tions:.-|
|000015c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0a 0a 54 |--------|-----..T|
|000015d0| 65 64 20 41 2e 20 43 61 | 6d 70 62 65 6c 6c 0a 42 |ed A. Ca|mpbell.B|
|000015e0| 79 77 61 74 65 72 20 53 | 6f 66 74 77 61 72 65 20 |ywater S|oftware |
|000015f0| 0a 42 6f 78 20 34 30 32 | 33 20 0a 44 75 6b 65 20 |.Box 402|3 .Duke |
|00001600| 53 74 61 74 69 6f 6e 0a | 44 75 72 68 61 6d 2c 20 |Station.|Durham, |
|00001610| 4e 43 20 20 32 37 37 30 | 36 0a 0a 49 6e 74 65 72 |NC 2770|6..Inter|
|00001620| 6e 65 74 3a 20 20 09 74 | 63 61 6d 70 40 64 75 6b |net: .t|camp@duk|
|00001630| 65 61 63 2e 61 63 2e 64 | 75 6b 65 2e 65 64 75 0a |eac.ac.d|uke.edu.|
|00001640| 47 45 4e 49 45 3a 09 09 | 54 2e 43 41 4d 50 42 45 |GENIE:..|T.CAMPBE|
|00001650| 4c 4c 31 0a 00 00 00 00 | 00 00 00 00 00 00 00 00 |LL1.....|........|
|00001660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001800| 72 6f 2f 72 6f 2e 68 00 | 00 00 00 00 00 00 00 00 |ro/ro.h.|........|
|00001810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001860| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 31 35 |.... 6|44 . 15|
|00001870| 32 34 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |24 . |13 . |
|00001880| 20 20 33 33 35 37 36 20 | 20 34 35 37 32 35 32 34 | 33576 | 4572524|
|00001890| 37 31 35 20 20 20 35 34 | 30 37 00 20 00 00 00 00 |715 54|07. ....|
|000018a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a00| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00001a10| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001a20| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001a30| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2f 0a 2f 2a 09 09 09 |********|*/./*...|
|00001a40| 09 09 09 09 2a 2f 0a 2f | 2a 09 72 6f 2e 68 09 09 |....*/./|*.ro.h..|
|00001a50| 47 65 6e 65 72 61 6c 20 | 68 65 61 64 65 72 20 66 |General |header f|
|00001a60| 69 6c 65 20 66 6f 72 20 | 72 6f 09 2a 2f 0a 2f 2a |ile for |ro.*/./*|
|00001a70| 09 09 09 09 09 09 09 2a | 2f 0a 2f 2a 09 72 6f 20 |.......*|/./*.ro |
|00001a80| 76 65 72 73 69 6f 6e 20 | 31 2e 30 30 09 09 09 09 |version |1.00....|
|00001a90| 09 2a 2f 0a 2f 2a 09 09 | 09 09 09 09 09 2a 2f 0a |.*/./*..|.....*/.|
|00001aa0| 2f 2a 09 50 6f 72 74 69 | 6f 6e 73 20 63 6f 70 79 |/*.Porti|ons copy|
|00001ab0| 72 69 67 68 74 20 28 63 | 29 20 31 39 38 39 20 62 |right (c|) 1989 b|
|00001ac0| 79 20 54 65 64 20 41 2e | 20 43 61 6d 70 62 65 6c |y Ted A.| Campbel|
|00001ad0| 6c 09 2a 2f 0a 2f 2a 09 | 09 42 79 77 61 74 65 72 |l.*/./*.|.Bywater|
|00001ae0| 20 53 6f 66 74 77 61 72 | 65 09 09 09 2a 2f 0a 2f | Softwar|e...*/./|
|00001af0| 2a 09 09 50 2e 20 4f 2e | 20 42 6f 78 20 34 30 32 |*..P. O.| Box 402|
|00001b00| 33 09 09 09 09 2a 2f 0a | 2f 2a 09 09 44 75 6b 65 |3....*/.|/*..Duke|
|00001b10| 20 53 74 61 74 69 6f 6e | 09 09 09 09 2a 2f 0a 2f | Station|....*/./|
|00001b20| 2a 09 09 44 75 72 68 61 | 6d 2c 20 4e 43 20 20 32 |*..Durha|m, NC 2|
|00001b30| 37 37 30 36 09 09 09 2a | 2f 0a 2f 2a 09 09 09 09 |7706...*|/./*....|
|00001b40| 09 09 09 2a 2f 0a 2f 2a | 09 43 6f 6e 74 61 69 6e |...*/./*|.Contain|
|00001b50| 73 20 70 6f 72 74 69 6f | 6e 73 20 6f 66 20 52 4f |s portio|ns of RO|
|00001b60| 46 46 34 2c 20 56 65 72 | 73 69 6f 6e 20 31 2e 36 |FF4, Ver|sion 1.6|
|00001b70| 30 09 2a 2f 0a 2f 2a 20 | 20 20 20 20 20 28 63 29 |0.*/./* | (c)|
|00001b80| 20 31 39 38 33 2c 20 34 | 20 62 79 20 45 72 6e 65 | 1983, 4| by Erne|
|00001b90| 73 74 20 45 2e 20 42 65 | 72 67 6d 61 6e 6e 20 20 |st E. Be|rgmann |
|00001ba0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 2f 0a | | */.|
|00001bb0| 2f 2a 09 09 50 68 79 73 | 69 63 73 2c 20 42 75 69 |/*..Phys|ics, Bui|
|00001bc0| 6c 64 69 6e 67 20 23 31 | 36 09 09 09 2a 2f 0a 2f |lding #1|6...*/./|
|00001bd0| 2a 09 09 4c 65 68 69 67 | 68 20 55 6e 69 76 65 72 |*..Lehig|h Univer|
|00001be0| 73 69 74 79 09 09 09 2a | 2f 0a 2f 2a 09 09 42 65 |sity...*|/./*..Be|
|00001bf0| 74 68 6c 65 68 65 6d 2c | 20 50 61 2e 20 31 38 30 |thlehem,| Pa. 180|
|00001c00| 31 35 09 09 09 2a 2f 0a | 2f 2a 09 09 09 09 09 09 |15...*/.|/*......|
|00001c10| 09 2a 2f 0a 2f 2a 09 43 | 6f 6e 74 61 69 6e 73 20 |.*/./*.C|ontains |
|00001c20| 70 6f 72 74 69 6f 6e 73 | 20 6f 66 20 52 4f 46 46 |portions| of ROFF|
|00001c30| 34 2c 20 56 65 72 73 69 | 6f 6e 20 31 2e 36 31 09 |4, Versi|on 1.61.|
|00001c40| 2a 2f 0a 2f 2a 20 20 20 | 20 20 20 28 63 29 20 31 |*/./* | (c) 1|
|00001c50| 39 38 35 20 62 79 20 4b | 6f 6e 72 61 64 20 4b 77 |985 by K|onrad Kw|
|00001c60| 6f 6b 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ok | |
|00001c70| 20 20 20 20 20 20 20 20 | 20 20 20 2a 2f 0a 2f 2a | | */./*|
|00001c80| 09 09 32 30 20 33 72 64 | 20 53 74 72 65 65 74 2c |..20 3rd| Street,|
|00001c90| 20 53 65 63 74 69 6f 6e | 20 4d 09 09 2a 2f 0a 2f | Section| M..*/./|
|00001ca0| 2a 09 09 46 61 72 69 76 | 69 65 77 20 50 61 72 6b |*..Fariv|iew Park|
|00001cb0| 2c 09 09 09 09 2a 2f 0a | 2f 2a 09 09 48 6f 6e 67 |,....*/.|/*..Hong|
|00001cc0| 20 4b 6f 6e 67 09 09 09 | 09 2a 2f 0a 2f 2a 09 09 | Kong...|.*/./*..|
|00001cd0| 09 09 09 09 09 2a 2f 0a | 2f 2a 09 72 6f 20 61 6e |.....*/.|/*.ro an|
|00001ce0| 64 20 69 74 73 20 70 72 | 65 64 65 63 65 73 73 6f |d its pr|edecesso|
|00001cf0| 72 20 52 4f 46 46 34 20 | 61 72 65 20 62 61 73 65 |r ROFF4 |are base|
|00001d00| 64 20 6f 6e 20 09 2a 2f | 0a 2f 2a 09 74 68 65 20 |d on .*/|./*.the |
|00001d10| 52 4f 46 46 20 74 65 78 | 74 20 70 72 6f 63 65 73 |ROFF tex|t proces|
|00001d20| 73 6f 72 20 64 65 73 63 | 72 69 62 65 64 20 69 6e |sor desc|ribed in|
|00001d30| 20 4b 65 72 6e 69 67 61 | 6e 09 2a 2f 0a 2f 2a 09 | Kerniga|n.*/./*.|
|00001d40| 61 6e 64 20 50 6c 61 75 | 67 65 72 27 73 20 6e 6f |and Plau|ger's no|
|00001d50| 77 2d 63 6c 61 73 73 69 | 63 20 74 65 78 74 20 3c |w-classi|c text <|
|00001d60| 53 6f 66 74 77 61 72 65 | 20 54 6f 6f 6c 73 3e 20 |Software| Tools> |
|00001d70| 2a 2f 0a 2f 2a 09 09 09 | 09 09 09 09 2a 2f 0a 2f |*/./*...|....*/./|
|00001d80| 2a 20 50 65 72 6d 69 73 | 73 69 6f 6e 20 69 73 20 |* Permis|sion is |
|00001d90| 68 65 72 65 62 79 20 67 | 72 61 6e 74 65 64 20 66 |hereby g|ranted f|
|00001da0| 6f 72 20 61 6c 6c 20 63 | 6f 6d 6d 65 72 63 69 61 |or all c|ommercia|
|00001db0| 6c 20 61 6e 64 09 2a 2f | 0a 2f 2a 20 6e 6f 6e 2d |l and.*/|./* non-|
|00001dc0| 63 6f 6d 6d 65 72 63 69 | 61 6c 20 72 65 70 72 6f |commerci|al repro|
|00001dd0| 64 75 63 74 69 6f 6e 20 | 61 6e 64 20 64 69 73 74 |duction |and dist|
|00001de0| 72 69 62 75 74 69 6f 6e | 20 6f 66 20 74 68 69 73 |ribution| of this|
|00001df0| 20 2a 2f 0a 2f 2a 20 6d | 61 74 65 72 69 61 6c 20 | */./* m|aterial |
|00001e00| 70 72 6f 76 69 64 65 64 | 20 74 68 69 73 20 6e 6f |provided| this no|
|00001e10| 74 69 63 65 20 69 73 20 | 69 6e 63 6c 75 64 65 64 |tice is |included|
|00001e20| 2e 09 09 2a 2f 0a 2f 2a | 09 09 09 09 09 09 09 2a |...*/./*|.......*|
|00001e30| 2f 0a 2f 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/./*****|********|
|00001e40| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001e50| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001e60| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2f 0a 0a 2f 2a |********|***/../*|
|00001e70| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 20 49 4e 43 |********|**** INC|
|00001e80| 4c 55 44 45 20 46 49 4c | 45 53 20 2a 2a 2a 2a 2a |LUDE FIL|ES *****|
|00001e90| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001ea0| 2a 2a 2a 2a 2a 2a 2a 2f | 0a 0a 23 69 6e 63 6c 75 |*******/|..#inclu|
|00001eb0| 64 65 20 22 73 74 64 69 | 6f 2e 68 22 0a 23 69 6e |de "stdi|o.h".#in|
|00001ec0| 63 6c 75 64 65 20 22 63 | 74 79 70 65 2e 68 22 0a |clude "c|type.h".|
|00001ed0| 23 69 6e 63 6c 75 64 65 | 20 22 74 69 6d 65 2e 68 |#include| "time.h|
|00001ee0| 22 0a 0a 23 69 66 64 65 | 66 20 5f 5f 53 54 44 43 |"..#ifde|f __STDC|
|00001ef0| 5f 5f 0a 23 69 6e 63 6c | 75 64 65 20 22 73 74 64 |__.#incl|ude "std|
|00001f00| 6c 69 62 2e 68 22 0a 23 | 69 6e 63 6c 75 64 65 20 |lib.h".#|include |
|00001f10| 22 6d 61 6c 6c 6f 63 2e | 68 22 0a 23 65 6c 73 65 |"malloc.|h".#else|
|00001f20| 0a 23 64 65 66 69 6e 65 | 20 73 69 7a 65 5f 74 20 |.#define| size_t |
|00001f30| 20 69 6e 74 0a 23 64 65 | 66 69 6e 65 20 74 69 6d | int.#de|fine tim|
|00001f40| 65 5f 74 20 20 6c 6f 6e | 67 0a 23 65 6e 64 69 66 |e_t lon|g.#endif|
|00001f50| 0a 0a 2f 2a 2a 2a 2a 2a | 2a 20 50 52 4f 47 52 41 |../*****|* PROGRA|
|00001f60| 4d 20 44 45 46 49 4e 49 | 54 49 4f 4e 53 20 2a 2a |M DEFINI|TIONS **|
|00001f70| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001f80| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2f 0a 0a 2f 2a |********|***/../*|
|00001f90| 2a 2a 09 55 73 65 72 2d | 44 65 66 69 6e 61 62 6c |**.User-|Definabl|
|00001fa0| 65 20 4f 70 74 69 6f 6e | 73 20 2a 2a 2a 2f 0a 0a |e Option|s ***/..|
|00001fb0| 23 64 65 66 69 6e 65 20 | 4e 4f 4e 52 4f 46 46 09 |#define |NONROFF.|
|00001fc0| 09 09 2f 2a 20 61 6c 6c | 6f 77 20 6e 6f 6e 2d 6e |../* all|ow non-n|
|00001fd0| 72 6f 66 66 2d 73 74 61 | 6e 64 61 72 64 20 66 65 |roff-sta|ndard fe|
|00001fe0| 61 74 75 72 65 73 20 2a | 2f 0a 0a 2f 2a 2a 2a 09 |atures *|/../***.|
|00001ff0| 45 6e 64 20 6f 66 20 55 | 73 65 72 2d 44 65 66 69 |End of U|ser-Defi|
|00002000| 6e 61 62 6c 65 20 4f 70 | 74 69 6f 6e 73 20 2a 2a |nable Op|tions **|
|00002010| 2a 2f 0a 0a 23 64 65 66 | 69 6e 65 09 72 6f 5f 09 |*/..#def|ine.ro_.|
|00002020| 58 09 09 2f 2a 20 73 68 | 6f 72 74 65 6e 20 6e 61 |X../* sh|orten na|
|00002030| 6d 65 73 20 66 6f 72 20 | 6c 69 6d 69 74 65 64 20 |mes for |limited |
|00002040| 63 6f 6d 70 69 6c 65 72 | 73 20 2a 2f 0a 0a 23 64 |compiler|s */..#d|
|00002050| 65 66 69 6e 65 20 4d 41 | 58 4c 49 4e 45 20 32 35 |efine MA|XLINE 25|
|00002060| 35 0a 23 64 65 66 69 6e | 65 20 54 52 55 45 20 31 |5.#defin|e TRUE 1|
|00002070| 0a 23 64 65 66 69 6e 65 | 20 46 41 4c 53 45 20 30 |.#define| FALSE 0|
|00002080| 0a 23 64 65 66 69 6e 65 | 20 45 52 52 4f 52 20 28 |.#define| ERROR (|
|00002090| 2d 31 29 0a 23 64 65 66 | 69 6e 65 20 4f 4b 20 30 |-1).#def|ine OK 0|
|000020a0| 0a 0a 23 64 65 66 69 6e | 65 09 54 42 55 46 53 49 |..#defin|e.TBUFSI|
|000020b0| 5a 45 09 34 30 39 36 09 | 2f 2a 20 53 69 7a 65 20 |ZE.4096.|/* Size |
|000020c0| 6f 66 20 74 65 6d 70 6f | 72 61 72 79 20 68 6f 6c |of tempo|rary hol|
|000020d0| 64 69 6e 67 20 62 75 66 | 66 65 72 20 2a 2f 0a 23 |ding buf|fer */.#|
|000020e0| 64 65 66 69 6e 65 20 42 | 41 43 4b 53 49 5a 45 20 |define B|ACKSIZE |
|000020f0| 20 20 20 20 20 20 20 34 | 30 39 36 20 20 20 20 2f | 4|096 /|
|00002100| 2a 20 53 69 7a 65 20 6f | 66 20 62 61 63 6b 75 70 |* Size o|f backup|
|00002110| 20 62 75 66 66 65 72 20 | 2a 2f 0a 23 64 65 66 69 | buffer |*/.#defi|
|00002120| 6e 65 20 53 54 4b 53 49 | 5a 20 20 20 20 20 20 20 |ne STKSI|Z |
|00002130| 20 20 20 34 0a 23 64 65 | 66 69 6e 65 20 44 45 42 | 4.#de|fine DEB|
|00002140| 55 47 20 20 20 20 20 20 | 20 20 20 20 20 28 20 64 |UG | ( d|
|00002150| 65 62 75 67 20 21 3d 20 | 30 20 29 0a 23 64 65 66 |ebug != |0 ).#def|
|00002160| 69 6e 65 20 48 55 47 45 | 20 20 20 20 20 20 20 20 |ine HUGE| |
|00002170| 20 20 20 20 31 33 35 20 | 20 20 20 20 2f 2a 20 67 | 135 | /* g|
|00002180| 65 6e 65 72 61 6c 6c 79 | 20 6c 61 72 67 65 20 6e |enerally| large n|
|00002190| 75 6d 62 65 72 20 2a 2f | 0a 23 64 65 66 69 6e 65 |umber */|.#define|
|000021a0| 20 4c 53 5a 20 20 20 20 | 20 20 20 20 20 20 20 20 | LSZ | |
|000021b0| 20 35 31 31 20 20 20 20 | 20 2f 2a 20 6c 69 6e 65 | 511 | /* line|
|000021c0| 20 62 75 66 66 65 72 20 | 73 69 7a 65 2a 2f 0a 23 | buffer |size*/.#|
|000021d0| 64 65 66 69 6e 65 20 43 | 4f 4d 4d 41 4e 44 20 20 |define C|OMMAND |
|000021e0| 20 20 20 20 20 20 20 27 | 2e 27 20 20 20 20 20 2f | '|.' /|
|000021f0| 2a 20 61 6c 6c 20 63 6f | 6d 6d 61 6e 64 73 20 73 |* all co|mmands s|
|00002200| 74 61 72 74 73 20 77 69 | 74 68 20 74 68 69 73 20 |tarts wi|th this |
|00002210| 2a 2f 0a 0a 23 64 65 66 | 69 6e 65 20 55 4e 4b 4e |*/..#def|ine UNKN|
|00002220| 4f 57 4e 20 20 20 20 20 | 20 20 20 20 2d 31 20 20 |OWN | -1 |
|00002230| 20 20 20 20 2f 2a 20 72 | 65 74 75 72 6e 65 64 20 | /* r|eturned |
|00002240| 69 66 20 64 6f 65 73 6e | 27 74 20 72 65 63 67 2e |if doesn|'t recg.|
|00002250| 20 63 6f 6d 6d 61 6e 64 | 20 2a 2f 0a 23 64 65 66 | command| */.#def|
|00002260| 69 6e 65 20 4e 4f 5f 56 | 41 4c 20 20 20 20 20 20 |ine NO_V|AL |
|00002270| 20 20 20 20 2d 33 32 37 | 36 30 20 20 2f 2a 20 72 | -327|60 /* r|
|00002280| 65 74 75 72 6e 65 64 20 | 77 68 65 6e 20 6e 6f 20 |eturned |when no |
|00002290| 61 72 67 75 6d 65 6e 74 | 20 77 2f 63 6f 6d 6d 61 |argument| w/comma|
|000022a0| 64 20 2a 2f 0a 23 64 65 | 66 69 6e 65 20 57 45 5f |d */.#de|fine WE_|
|000022b0| 48 41 56 45 5f 41 5f 57 | 4f 52 44 20 20 20 31 20 |HAVE_A_W|ORD 1 |
|000022c0| 20 20 20 20 20 20 2f 2a | 20 72 65 74 75 72 6e 65 | /*| returne|
|000022d0| 64 20 62 79 20 67 65 74 | 77 72 64 20 66 75 6e 63 |d by get|wrd func|
|000022e0| 2e 20 2a 2f 0a 23 64 65 | 66 69 6e 65 20 4e 4f 20 |. */.#de|fine NO |
|000022f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 30 0a 23 | | 0.#|
|00002300| 64 65 66 69 6e 65 20 59 | 45 53 20 20 20 20 20 20 |define Y|ES |
|00002310| 20 20 20 20 20 20 20 31 | 0a 23 64 65 66 69 6e 65 | 1|.#define|
|00002320| 20 55 4e 44 45 52 4c 49 | 4e 45 20 20 20 20 20 20 | UNDERLI|NE |
|00002330| 20 27 5c 31 33 37 27 0a | 0a 2f 2a 2a 2a 09 43 68 | '\137'.|./***.Ch|
|00002340| 61 72 61 63 74 65 72 20 | 44 65 66 69 6e 69 74 69 |aracter |Definiti|
|00002350| 6f 6e 73 20 2a 2f 0a 0a | 23 64 65 66 69 6e 65 20 |ons */..|#define |
|00002360| 43 52 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |CR | |
|00002370| 30 78 30 44 0a 23 64 65 | 66 69 6e 65 20 42 41 43 |0x0D.#de|fine BAC|
|00002380| 4b 53 50 41 43 45 20 20 | 20 20 20 20 20 27 5c 62 |KSPACE | '\b|
|00002390| 27 0a 23 64 65 66 69 6e | 65 20 42 45 4c 4c 20 20 |'.#defin|e BELL |
|000023a0| 20 20 09 27 5c 30 30 37 | 27 0a 23 64 65 66 69 6e | .'\007|'.#defin|
|000023b0| 65 20 4e 55 4d 53 49 47 | 4e 20 20 20 20 20 20 20 |e NUMSIG|N |
|000023c0| 20 20 27 23 27 20 20 20 | 20 20 2f 2a 20 66 6f 72 | '#' | /* for|
|000023d0| 20 74 69 74 6c 65 20 73 | 74 72 69 6e 67 73 20 2a | title s|trings *|
|000023e0| 2f 0a 23 64 65 66 69 6e | 65 20 4e 45 57 4c 49 4e |/.#defin|e NEWLIN|
|000023f0| 45 20 20 20 20 20 20 20 | 20 20 27 5c 6e 27 0a 23 |E | '\n'.#|
|00002400| 64 65 66 69 6e 65 20 54 | 41 42 20 20 20 20 20 20 |define T|AB |
|00002410| 20 20 20 20 20 20 20 27 | 5c 74 27 0a 23 64 65 66 | '|\t'.#def|
|00002420| 69 6e 65 20 42 4c 41 4e | 4b 20 20 20 20 20 20 20 |ine BLAN|K |
|00002430| 20 20 20 20 27 20 27 0a | 23 64 65 66 69 6e 65 20 | ' '.|#define |
|00002440| 46 4f 52 4d 46 20 20 20 | 20 20 20 20 20 20 20 20 |FORMF | |
|00002450| 30 78 30 43 20 20 20 20 | 2f 2a 20 66 6f 72 6d 66 |0x0C |/* formf|
|00002460| 65 65 64 20 66 6f 72 20 | 70 72 69 6e 74 65 72 20 |eed for |printer |
|00002470| 2a 2f 0a 23 64 65 66 69 | 6e 65 09 45 53 43 41 50 |*/.#defi|ne.ESCAP|
|00002480| 45 09 09 30 78 31 62 09 | 2f 2a 20 65 73 63 61 70 |E..0x1b.|/* escap|
|00002490| 65 20 63 68 61 72 61 63 | 74 65 72 20 2a 2f 0a 23 |e charac|ter */.#|
|000024a0| 64 65 66 69 6e 65 20 53 | 51 55 4f 54 45 20 20 20 |define S|QUOTE |
|000024b0| 20 20 20 20 20 20 20 30 | 78 32 37 20 20 20 20 2f | 0|x27 /|
|000024c0| 2a 20 73 69 6e 67 6c 65 | 20 71 75 6f 74 65 20 2a |* single| quote *|
|000024d0| 2f 0a 23 64 65 66 69 6e | 65 20 44 51 55 4f 54 45 |/.#defin|e DQUOTE|
|000024e0| 20 20 20 20 20 20 20 20 | 20 20 30 78 32 32 20 20 | | 0x22 |
|000024f0| 20 20 2f 2a 20 64 6f 75 | 62 6c 65 20 71 75 6f 74 | /* dou|ble quot|
|00002500| 65 20 2a 2f 0a 23 64 65 | 66 69 6e 65 09 42 41 43 |e */.#de|fine.BAC|
|00002510| 4b 53 4c 41 53 48 09 30 | 78 35 63 09 2f 2a 20 62 |KSLASH.0|x5c./* b|
|00002520| 61 63 6b 73 6c 61 73 68 | 20 2a 2f 0a 23 64 65 66 |ackslash| */.#def|
|00002530| 69 6e 65 09 50 41 53 53 | 42 41 43 4b 09 30 78 65 |ine.PASS|BACK.0xe|
|00002540| 65 65 09 2f 2a 20 61 20 | 72 61 6e 64 6f 6d 20 6c |ee./* a |random l|
|00002550| 61 72 67 65 20 6e 75 6d | 62 65 72 20 74 6f 20 70 |arge num|ber to p|
|00002560| 61 73 73 20 61 20 6c 69 | 74 65 72 61 6c 20 0a 09 |ass a li|teral ..|
|00002570| 09 09 09 20 20 20 62 61 | 63 6b 73 6c 61 73 68 20 |... ba|ckslash |
|00002580| 62 61 63 6b 20 69 6e 74 | 6f 20 74 68 65 20 69 6e |back int|o the in|
|00002590| 70 75 74 20 73 74 72 65 | 61 6d 20 2a 2f 0a 0a 2f |put stre|am */../|
|000025a0| 2a 2a 09 53 69 6e 67 6c | 65 2d 63 68 61 72 61 63 |**.Singl|e-charac|
|000025b0| 74 65 72 20 70 72 69 6e | 74 65 72 20 63 6f 64 65 |ter prin|ter code|
|000025c0| 20 64 65 73 69 67 6e 61 | 74 69 6f 6e 73 20 2a 2a | designa|tions **|
|000025d0| 2a 2f 0a 0a 23 64 65 66 | 69 6e 65 09 52 4f 4d 41 |*/..#def|ine.ROMA|
|000025e0| 4e 09 09 27 52 27 09 2f | 2a 20 52 65 73 74 6f 72 |N..'R'./|* Restor|
|000025f0| 65 20 22 72 6f 6d 61 6e | 22 20 6f 72 20 22 72 65 |e "roman|" or "re|
|00002600| 67 75 6c 61 72 22 20 66 | 6f 6e 74 20 2a 2f 0a 09 |gular" f|ont */..|
|00002610| 09 09 09 2f 2a 20 53 68 | 6f 75 6c 64 20 74 75 72 |.../* Sh|ould tur|
|00002620| 6e 20 6f 66 66 20 42 6f | 6c 64 20 61 6e 64 20 49 |n off Bo|ld and I|
|00002630| 74 61 6c 69 63 20 2a 2f | 0a 23 64 65 66 69 6e 65 |talic */|.#define|
|00002640| 09 49 54 41 4c 49 43 09 | 09 27 49 27 09 2f 2a 20 |.ITALIC.|.'I'./* |
|00002650| 53 77 69 74 63 68 20 74 | 6f 20 69 74 61 6c 69 63 |Switch t|o italic|
|00002660| 73 20 6f 72 20 75 6e 64 | 65 72 6c 69 6e 65 20 2a |s or und|erline *|
|00002670| 2f 0a 23 64 65 66 69 6e | 65 09 42 4f 4c 44 09 09 |/.#defin|e.BOLD..|
|00002680| 27 42 27 09 2f 2a 20 53 | 77 69 74 63 68 20 74 6f |'B'./* S|witch to|
|00002690| 20 62 6f 6c 64 20 2a 2f | 0a 23 64 65 66 69 6e 65 | bold */|.#define|
|000026a0| 09 48 41 4c 46 55 50 09 | 09 27 75 27 09 2f 2a 20 |.HALFUP.|.'u'./* |
|000026b0| 48 61 6c 66 2d 6c 69 6e | 65 20 75 70 20 2a 2f 0a |Half-lin|e up */.|
|000026c0| 23 64 65 66 69 6e 65 09 | 48 41 4c 46 44 4f 57 4e |#define.|HALFDOWN|
|000026d0| 09 27 64 27 09 2f 2a 20 | 48 61 6c 66 2d 6c 69 6e |.'d'./* |Half-lin|
|000026e0| 65 20 64 6f 77 6e 20 2a | 2f 0a 0a 23 64 65 66 69 |e down *|/..#defi|
|000026f0| 6e 65 20 54 52 41 4e 53 | 4c 41 54 45 20 09 32 20 |ne TRANS|LATE .2 |
|00002700| 20 20 20 20 2f 2a 20 4d | 61 79 20 32 33 2c 20 31 | /* M|ay 23, 1|
|00002710| 39 38 33 2a 2f 0a 23 64 | 65 66 69 6e 65 20 42 4c |983*/.#d|efine BL|
|00002720| 41 43 4b 20 09 09 31 0a | 23 64 65 66 69 6e 65 20 |ACK ..1.|#define |
|00002730| 57 48 49 54 45 20 09 09 | 30 0a 23 64 65 66 69 6e |WHITE ..|0.#defin|
|00002740| 65 20 43 4f 4e 54 52 4f | 4c 20 09 2d 31 0a 23 64 |e CONTRO|L .-1.#d|
|00002750| 65 66 69 6e 65 20 53 45 | 4e 54 49 4e 45 4c 20 09 |efine SE|NTINEL .|
|00002760| 2d 32 0a 23 64 65 66 69 | 6e 65 20 48 54 41 42 20 |-2.#defi|ne HTAB |
|00002770| 20 20 20 09 2d 33 0a 23 | 64 65 66 69 6e 65 20 4f | .-3.#|define O|
|00002780| 54 48 45 52 53 20 09 09 | 2d 34 0a 23 64 65 66 69 |THERS ..|-4.#defi|
|00002790| 6e 65 20 58 43 48 41 52 | 20 09 09 27 2d 27 0a 23 |ne XCHAR| ..'-'.#|
|000027a0| 64 65 66 69 6e 65 20 55 | 43 48 41 52 20 09 09 27 |define U|CHAR ..'|
|000027b0| 5f 27 0a 0a 2f 2a 20 64 | 65 66 61 75 6c 74 73 20 |_'../* d|efaults |
|000027c0| 66 6f 72 20 67 6c 6f 62 | 61 6c 20 70 61 72 61 6d |for glob|al param|
|000027d0| 65 74 65 72 73 20 2a 2f | 0a 0a 23 64 65 66 69 6e |eters */|..#defin|
|000027e0| 65 20 46 49 5f 44 45 46 | 20 20 20 20 20 20 20 20 |e FI_DEF| |
|000027f0| 20 20 31 0a 23 64 65 66 | 69 6e 65 20 4c 53 5f 44 | 1.#def|ine LS_D|
|00002800| 45 46 20 20 20 20 20 20 | 20 20 20 20 31 0a 23 64 |EF | 1.#d|
|00002810| 65 66 69 6e 65 20 49 4e | 5f 44 45 46 20 20 20 20 |efine IN|_DEF |
|00002820| 20 20 20 20 20 20 30 0a | 23 64 65 66 69 6e 65 20 | 0.|#define |
|00002830| 52 4d 5f 44 45 46 20 20 | 20 20 20 20 20 20 20 20 |RM_DEF | |
|00002840| 37 30 0a 23 64 65 66 69 | 6e 65 20 54 49 5f 44 45 |70.#defi|ne TI_DE|
|00002850| 46 20 20 20 20 20 20 20 | 20 20 20 30 0a 23 64 65 |F | 0.#de|
|00002860| 66 69 6e 65 20 43 45 5f | 44 45 46 20 20 20 20 20 |fine CE_|DEF |
|00002870| 20 20 20 20 20 31 0a 23 | 64 65 66 69 6e 65 20 55 | 1.#|define U|
|00002880| 4c 5f 44 45 46 20 20 20 | 20 20 20 20 20 20 20 2d |L_DEF | -|
|00002890| 31 0a 23 64 65 66 69 6e | 65 20 4d 31 5f 44 45 46 |1.#defin|e M1_DEF|
|000028a0| 20 20 20 20 20 20 20 20 | 20 20 32 0a 23 64 65 66 | | 2.#def|
|000028b0| 69 6e 65 20 4d 32 5f 44 | 45 46 20 20 20 20 20 20 |ine M2_D|EF |
|000028c0| 20 20 20 20 32 0a 23 64 | 65 66 69 6e 65 20 4d 33 | 2.#d|efine M3|
|000028d0| 5f 44 45 46 20 20 20 20 | 20 20 20 20 20 20 32 0a |_DEF | 2.|
|000028e0| 23 64 65 66 69 6e 65 20 | 4d 34 5f 44 45 46 20 20 |#define |M4_DEF |
|000028f0| 20 20 20 20 20 20 20 20 | 32 0a 23 64 65 66 69 6e | |2.#defin|
|00002900| 65 20 50 4c 5f 44 45 46 | 20 20 20 20 20 20 20 20 |e PL_DEF| |
|00002910| 20 20 36 36 0a 23 64 65 | 66 69 6e 65 20 46 46 5f | 66.#de|fine FF_|
|00002920| 44 45 46 20 20 20 20 20 | 20 20 20 20 20 59 45 53 |DEF | YES|
|00002930| 20 20 20 20 20 2f 2a 20 | 2e 66 66 20 64 65 66 61 | /* |.ff defa|
|00002940| 75 6c 74 73 20 74 6f 20 | 22 6f 6e 22 20 2a 2f 0a |ults to |"on" */.|
|00002950| 23 64 65 66 69 6e 65 20 | 46 46 5f 49 4e 49 20 20 |#define |FF_INI |
|00002960| 20 20 20 20 20 20 20 20 | 4e 4f 20 20 20 20 20 20 | |NO |
|00002970| 2f 2a 20 69 6e 69 74 69 | 61 6c 20 73 65 74 74 69 |/* initi|al setti|
|00002980| 6e 67 2a 2f 0a 23 64 65 | 66 69 6e 65 20 53 43 5f |ng*/.#de|fine SC_|
|00002990| 49 4e 49 20 20 20 20 20 | 20 20 20 20 20 42 4c 41 |INI | BLA|
|000029a0| 4e 4b 0a 23 64 65 66 69 | 6e 65 20 54 53 5f 44 45 |NK.#defi|ne TS_DE|
|000029b0| 46 20 20 20 20 20 20 20 | 20 20 20 38 20 20 20 20 |F | 8 |
|000029c0| 20 20 20 2f 2a 73 74 61 | 6e 64 61 72 64 20 74 61 | /*sta|ndard ta|
|000029d0| 62 73 69 7a 65 2a 2f 0a | 23 64 65 66 69 6e 65 20 |bsize*/.|#define |
|000029e0| 54 43 5f 44 45 46 20 20 | 20 20 20 20 20 20 20 20 |TC_DEF | |
|000029f0| 27 7e 27 20 20 20 20 20 | 2f 2a 74 72 61 6e 73 6c |'~' |/*transl|
|00002a00| 61 74 69 6f 6e 20 66 6c | 61 67 20 64 65 66 61 75 |ation fl|ag defau|
|00002a10| 6c 74 2a 2f 0a 23 64 65 | 66 69 6e 65 20 43 46 5f |lt*/.#de|fine CF_|
|00002a20| 44 45 46 20 20 20 20 20 | 20 20 20 20 20 27 5e 27 |DEF | '^'|
|00002a30| 20 20 20 20 20 2f 2a 44 | 65 63 20 34 2a 2f 0a 23 | /*D|ec 4*/.#|
|00002a40| 64 65 66 69 6e 65 20 49 | 43 5f 44 45 46 20 20 20 |define I|C_DEF |
|00002a50| 20 20 20 20 20 20 20 27 | 5c 5c 27 0a 23 64 65 66 | '|\\'.#def|
|00002a60| 69 6e 65 20 43 57 5f 44 | 45 46 20 20 20 20 20 20 |ine CW_D|EF |
|00002a70| 20 20 20 20 31 32 20 20 | 20 20 20 20 2f 2a 20 31 | 12 | /* 1|
|00002a80| 32 2f 31 32 30 22 20 2a | 2f 0a 23 64 65 66 69 6e |2/120" *|/.#defin|
|00002a90| 65 20 4a 55 5f 49 4e 49 | 20 20 20 20 20 20 20 20 |e JU_INI| |
|00002aa0| 20 20 59 45 53 20 20 20 | 20 20 2f 2a 20 72 69 67 | YES | /* rig|
|00002ab0| 68 74 20 61 64 6a 75 73 | 74 20 28 6a 75 73 74 69 |ht adjus|t (justi|
|00002ac0| 66 69 63 61 74 69 6f 6e | 29 20 2a 2f 0a 23 64 65 |fication|) */.#de|
|00002ad0| 66 69 6e 65 09 50 4f 5f | 44 45 46 09 09 30 09 2f |fine.PO_|DEF..0./|
|00002ae0| 2a 20 70 61 67 65 20 6f | 66 66 73 65 74 20 2a 2f |* page o|ffset */|
|00002af0| 0a 23 64 65 66 69 6e 65 | 20 52 45 47 44 45 46 20 |.#define| REGDEF |
|00002b00| 20 20 20 20 20 20 20 20 | 20 30 20 20 20 20 20 20 | | 0 |
|00002b10| 20 2f 2a 64 65 66 61 75 | 6c 74 20 66 6f 72 20 72 | /*defau|lt for r|
|00002b20| 65 67 69 73 74 65 72 20 | 76 61 72 2e 2a 2f 0a 20 |egister |var.*/. |
|00002b30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2f | | /|
|00002b50| 2a 77 68 65 6e 20 2e 72 | 67 20 68 61 73 20 6e 6f |*when .r|g has no|
|00002b60| 20 6e 75 6d 65 72 69 63 | 20 61 72 67 2a 2f 0a 0a | numeric| arg*/..|
|00002b70| 23 64 65 66 69 6e 65 20 | 52 45 56 53 43 52 4f 4c |#define |REVSCROL|
|00002b80| 4c 20 20 20 20 20 20 20 | 46 41 4c 53 45 0a 23 64 |L |FALSE.#d|
|00002b90| 65 66 69 6e 65 20 43 41 | 4e 42 53 20 20 20 20 20 |efine CA|NBS |
|00002ba0| 20 20 20 20 20 20 46 41 | 4c 53 45 0a 0a 23 64 65 | FA|LSE..#de|
|00002bb0| 66 69 6e 65 20 46 4d 41 | 58 20 20 20 20 20 20 20 |fine FMA|X |
|00002bc0| 20 20 20 20 20 38 20 20 | 20 20 20 20 20 2f 2a 20 | 8 | /* |
|00002bd0| 23 20 6f 66 20 61 64 64 | 69 74 69 6f 6e 61 6c 20 |# of add|itional |
|00002be0| 66 69 6c 65 73 20 6f 70 | 65 6e 2a 2f 0a 0a 2f 2a |files op|en*/../*|
|00002bf0| 20 64 65 66 61 75 6c 74 | 73 20 66 6f 72 20 67 6c | default|s for gl|
|00002c00| 6f 62 61 6c 20 70 61 72 | 61 6d 65 74 65 72 73 20 |obal par|ameters |
|00002c10| 2a 2f 0a 0a 23 64 65 66 | 69 6e 65 20 46 49 5f 44 |*/..#def|ine FI_D|
|00002c20| 45 46 20 20 20 20 20 20 | 20 20 20 20 31 0a 23 64 |EF | 1.#d|
|00002c30| 65 66 69 6e 65 20 4c 53 | 5f 44 45 46 20 20 20 20 |efine LS|_DEF |
|00002c40| 20 20 20 20 20 20 31 0a | 23 64 65 66 69 6e 65 20 | 1.|#define |
|00002c50| 49 4e 5f 44 45 46 20 20 | 20 20 20 20 20 20 20 20 |IN_DEF | |
|00002c60| 30 0a 23 64 65 66 69 6e | 65 20 52 4d 5f 44 45 46 |0.#defin|e RM_DEF|
|00002c70| 20 20 20 20 20 20 20 20 | 20 20 37 30 0a 23 64 65 | | 70.#de|
|00002c80| 66 69 6e 65 20 54 49 5f | 44 45 46 20 20 20 20 20 |fine TI_|DEF |
|00002c90| 20 20 20 20 20 30 0a 23 | 64 65 66 69 6e 65 20 43 | 0.#|define C|
|00002ca0| 45 5f 44 45 46 20 20 20 | 20 20 20 20 20 20 20 31 |E_DEF | 1|
|00002cb0| 0a 23 64 65 66 69 6e 65 | 20 55 4c 5f 44 45 46 20 |.#define| UL_DEF |
|00002cc0| 20 20 20 20 20 20 20 20 | 20 2d 31 0a 23 64 65 66 | | -1.#def|
|00002cd0| 69 6e 65 20 4d 31 5f 44 | 45 46 20 20 20 20 20 20 |ine M1_D|EF |
|00002ce0| 20 20 20 20 32 0a 23 64 | 65 66 69 6e 65 20 4d 32 | 2.#d|efine M2|
|00002cf0| 5f 44 45 46 20 20 20 20 | 20 20 20 20 20 20 32 0a |_DEF | 2.|
|00002d00| 23 64 65 66 69 6e 65 20 | 4d 33 5f 44 45 46 20 20 |#define |M3_DEF |
|00002d10| 20 20 20 20 20 20 20 20 | 32 0a 23 64 65 66 69 6e | |2.#defin|
|00002d20| 65 20 4d 34 5f 44 45 46 | 20 20 20 20 20 20 20 20 |e M4_DEF| |
|00002d30| 20 20 32 0a 23 64 65 66 | 69 6e 65 20 50 4c 5f 44 | 2.#def|ine PL_D|
|00002d40| 45 46 20 20 20 20 20 20 | 20 20 20 20 36 36 0a 23 |EF | 66.#|
|00002d50| 64 65 66 69 6e 65 20 46 | 46 5f 44 45 46 20 20 20 |define F|F_DEF |
|00002d60| 20 20 20 20 20 20 20 59 | 45 53 20 20 20 20 20 2f | Y|ES /|
|00002d70| 2a 20 2e 66 66 20 64 65 | 66 61 75 6c 74 73 20 74 |* .ff de|faults t|
|00002d80| 6f 20 22 6f 6e 22 20 2a | 2f 0a 23 64 65 66 69 6e |o "on" *|/.#defin|
|00002d90| 65 20 46 46 5f 49 4e 49 | 20 20 20 20 20 20 20 20 |e FF_INI| |
|00002da0| 20 20 4e 4f 20 20 20 20 | 20 20 2f 2a 20 69 6e 69 | NO | /* ini|
|00002db0| 74 69 61 6c 20 73 65 74 | 74 69 6e 67 2a 2f 0a 23 |tial set|ting*/.#|
|00002dc0| 64 65 66 69 6e 65 20 53 | 43 5f 49 4e 49 20 20 20 |define S|C_INI |
|00002dd0| 20 20 20 20 20 20 20 42 | 4c 41 4e 4b 0a 23 64 65 | B|LANK.#de|
|00002de0| 66 69 6e 65 20 54 53 5f | 44 45 46 20 20 20 20 20 |fine TS_|DEF |
|00002df0| 20 20 20 20 20 38 20 20 | 20 20 20 20 20 2f 2a 73 | 8 | /*s|
|00002e00| 74 61 6e 64 61 72 64 20 | 74 61 62 73 69 7a 65 2a |tandard |tabsize*|
|00002e10| 2f 0a 23 64 65 66 69 6e | 65 20 54 43 5f 44 45 46 |/.#defin|e TC_DEF|
|00002e20| 20 20 20 20 20 20 20 20 | 20 20 27 7e 27 20 20 20 | | '~' |
|00002e30| 20 20 2f 2a 74 72 61 6e | 73 6c 61 74 69 6f 6e 20 | /*tran|slation |
|00002e40| 66 6c 61 67 20 64 65 66 | 61 75 6c 74 2a 2f 0a 23 |flag def|ault*/.#|
|00002e50| 64 65 66 69 6e 65 20 43 | 46 5f 44 45 46 20 20 20 |define C|F_DEF |
|00002e60| 20 20 20 20 20 20 20 27 | 5e 27 20 20 20 20 20 2f | '|^' /|
|00002e70| 2a 44 65 63 20 34 2a 2f | 0a 23 64 65 66 69 6e 65 |*Dec 4*/|.#define|
|00002e80| 20 49 43 5f 44 45 46 20 | 20 20 20 20 20 20 20 20 | IC_DEF | |
|00002e90| 20 27 5c 5c 27 0a 23 64 | 65 66 69 6e 65 20 43 57 | '\\'.#d|efine CW|
|00002ea0| 5f 44 45 46 20 20 20 20 | 20 20 20 20 20 20 31 32 |_DEF | 12|
|00002eb0| 20 20 20 20 20 20 2f 2a | 20 31 32 2f 31 32 30 22 | /*| 12/120"|
|00002ec0| 20 2a 2f 0a 23 64 65 66 | 69 6e 65 20 4a 55 5f 49 | */.#def|ine JU_I|
|00002ed0| 4e 49 20 20 20 20 20 20 | 20 20 20 20 59 45 53 20 |NI | YES |
|00002ee0| 20 20 20 20 2f 2a 72 69 | 67 68 74 20 6a 75 73 74 | /*ri|ght just|
|00002ef0| 69 66 69 63 61 74 69 6f | 6e 2a 2f 0a 23 64 65 66 |ificatio|n*/.#def|
|00002f00| 69 6e 65 20 52 45 47 44 | 45 46 20 20 20 20 20 20 |ine REGD|EF |
|00002f10| 20 20 20 20 30 20 20 20 | 20 20 20 20 2f 2a 64 65 | 0 | /*de|
|00002f20| 66 61 75 6c 74 20 66 6f | 72 20 72 65 67 69 73 74 |fault fo|r regist|
|00002f30| 65 72 20 76 61 72 2e 2a | 2f 0a 20 20 20 20 20 20 |er var.*|/. |
|00002f40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002f50| 20 20 20 20 20 20 20 20 | 20 20 2f 2a 77 68 65 6e | | /*when|
|00002f60| 20 2e 72 67 20 68 61 73 | 20 6e 6f 20 6e 75 6d 65 | .rg has| no nume|
|00002f70| 72 69 63 20 61 72 67 2a | 2f 0a 0a 23 64 65 66 69 |ric arg*|/..#defi|
|00002f80| 6e 65 20 52 45 56 53 43 | 52 4f 4c 4c 20 20 20 20 |ne REVSC|ROLL |
|00002f90| 20 20 20 46 41 4c 53 45 | 0a 23 64 65 66 69 6e 65 | FALSE|.#define|
|00002fa0| 20 43 41 4e 42 53 20 20 | 20 20 20 20 20 20 20 20 | CANBS | |
|00002fb0| 20 46 41 4c 53 45 0a 0a | 23 64 65 66 69 6e 65 20 | FALSE..|#define |
|00002fc0| 46 4d 41 58 20 20 20 20 | 20 20 20 20 20 20 20 20 |FMAX | |
|00002fd0| 38 20 20 20 20 20 20 20 | 2f 2a 20 23 20 6f 66 20 |8 |/* # of |
|00002fe0| 61 64 64 69 74 69 6f 6e | 61 6c 20 66 69 6c 65 73 |addition|al files|
|00002ff0| 20 6f 70 65 6e 2a 2f 0a | 0a 23 64 65 66 69 6e 65 | open*/.|.#define|
|00003000| 20 46 49 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | FI | |
|00003010| 20 31 20 20 20 20 20 20 | 20 2f 2a 20 66 69 6c 6c | 1 | /* fill|
|00003020| 20 6c 69 6e 65 73 20 2a | 2f 0a 23 64 65 66 69 6e | lines *|/.#defin|
|00003030| 65 20 54 49 20 20 20 20 | 20 20 20 20 20 20 20 20 |e TI | |
|00003040| 20 20 32 20 20 20 20 20 | 20 20 2f 2a 20 74 65 6d | 2 | /* tem|
|00003050| 70 6f 72 61 72 79 20 69 | 6e 64 65 6e 74 20 2a 2f |porary i|ndent */|
|00003060| 0a 23 64 65 66 69 6e 65 | 20 42 50 20 20 20 20 20 |.#define| BP |
|00003070| 20 20 20 20 20 20 20 20 | 20 33 20 20 20 20 20 20 | | 3 |
|00003080| 20 2f 2a 20 62 65 67 69 | 6e 20 70 61 67 65 20 20 | /* begi|n page |
|00003090| 2a 2f 0a 23 64 65 66 69 | 6e 65 20 42 52 20 20 20 |*/.#defi|ne BR |
|000030a0| 20 20 20 20 20 20 20 20 | 20 20 20 34 20 20 20 20 | | 4 |
|000030b0| 20 20 20 2f 2a 20 63 61 | 75 73 65 73 20 62 72 65 | /* ca|uses bre|
|000030c0| 61 6b 20 2a 2f 0a 23 64 | 65 66 69 6e 65 20 43 45 |ak */.#d|efine CE|
|000030d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 35 20 | | 5 |
|000030e0| 20 20 20 20 20 20 2f 2a | 20 63 65 6e 74 65 72 20 | /*| center |
|000030f0| 6c 69 6e 65 28 73 29 20 | 2a 2f 0a 23 64 65 66 69 |line(s) |*/.#defi|
|00003100| 6e 65 20 49 4e 20 20 20 | 20 20 20 20 20 20 20 20 |ne IN | |
|00003110| 20 20 20 37 20 20 20 20 | 20 20 20 2f 2a 20 6c 65 | 7 | /* le|
|00003120| 66 74 20 69 6e 64 65 6e | 74 20 2a 2f 0a 23 64 65 |ft inden|t */.#de|
|00003130| 66 69 6e 65 20 4c 53 20 | 20 20 20 20 20 20 20 20 |fine LS | |
|00003140| 20 20 20 20 20 38 20 20 | 20 20 20 20 20 2f 2a 20 | 8 | /* |
|00003150| 6c 69 6e 65 20 73 70 61 | 63 69 6e 67 20 2a 2f 0a |line spa|cing */.|
|00003160| 23 64 65 66 69 6e 65 20 | 4e 46 20 20 20 20 20 20 |#define |NF |
|00003170| 20 20 20 20 20 20 20 20 | 39 20 20 20 20 20 20 20 | |9 |
|00003180| 2f 2a 20 6e 6f 20 66 69 | 6c 6c 20 2a 2f 0a 23 64 |/* no fi|ll */.#d|
|00003190| 65 66 69 6e 65 20 50 4c | 20 20 20 20 20 20 20 20 |efine PL| |
|000031a0| 20 20 20 20 20 20 31 30 | 20 20 20 20 20 20 2f 2a | 10| /*|
|000031b0| 20 73 65 74 20 70 61 67 | 65 20 6c 65 6e 67 74 68 | set pag|e length|
|000031c0| 20 2a 2f 0a 23 64 65 66 | 69 6e 65 20 4c 4c 20 20 | */.#def|ine LL |
|000031d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 31 31 20 20 | | 11 |
|000031e0| 20 20 20 20 2f 2a 20 73 | 65 74 20 6c 69 6e 65 20 | /* s|et line |
|000031f0| 6c 65 6e 67 74 68 20 28 | 72 69 67 68 74 20 6d 61 |length (|right ma|
|00003200| 72 67 69 6e 29 20 2a 2f | 0a 23 64 65 66 69 6e 65 |rgin) */|.#define|
|00003210| 20 53 50 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | SP | |
|00003220| 20 31 32 20 20 20 20 20 | 20 2f 2a 20 61 64 64 20 | 12 | /* add |
|00003230| 62 6c 61 6e 6b 20 6c 69 | 6e 65 28 73 29 20 2a 2f |blank li|ne(s) */|
|00003240| 0a 23 64 65 66 69 6e 65 | 20 53 54 20 20 20 20 20 |.#define| ST |
|00003250| 20 20 20 20 20 20 20 20 | 20 31 33 20 20 20 20 20 | | 13 |
|00003260| 20 2f 2a 20 73 74 6f 70 | 28 70 61 75 73 65 29 20 | /* stop|(pause) |
|00003270| 61 74 20 70 61 67 65 20 | 73 74 61 72 74 3f 2a 2f |at page |start?*/|
|00003280| 0a 23 64 65 66 69 6e 65 | 20 46 4f 20 20 20 20 20 |.#define| FO |
|00003290| 20 20 20 20 20 20 20 20 | 20 31 34 20 20 20 20 20 | | 14 |
|000032a0| 20 2f 2a 20 66 6f 6f 74 | 65 72 20 74 69 74 6c 65 | /* foot|er title|
|000032b0| 20 2a 2f 0a 23 64 65 66 | 69 6e 65 20 48 45 20 20 | */.#def|ine HE |
|000032c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 31 35 20 20 | | 15 |
|000032d0| 20 20 20 20 2f 2a 20 68 | 65 61 64 65 72 20 74 69 | /* h|eader ti|
|000032e0| 74 6c 65 20 2a 2f 0a 23 | 64 65 66 69 6e 65 20 4d |tle */.#|define M|
|000032f0| 31 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 31 |1 | 1|
|00003300| 36 20 20 20 20 20 20 2f | 2a 20 74 6f 70 20 6d 61 |6 /|* top ma|
|00003310| 72 67 69 6e 20 2a 2f 0a | 23 64 65 66 69 6e 65 20 |rgin */.|#define |
|00003320| 4d 32 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |M2 | |
|00003330| 31 37 20 20 20 20 20 20 | 2f 2a 20 73 65 63 6f 6e |17 |/* secon|
|00003340| 64 20 74 6f 70 20 6d 61 | 72 67 69 6e 20 2a 2f 0a |d top ma|rgin */.|
|00003350| 23 64 65 66 69 6e 65 20 | 4d 33 20 20 20 20 20 20 |#define |M3 |
|00003360| 20 20 20 20 20 20 20 20 | 31 38 20 20 20 20 20 20 | |18 |
|00003370| 2f 2a 20 66 69 72 73 74 | 20 62 6f 74 74 6f 6d 20 |/* first| bottom |
|00003380| 6d 61 72 67 69 6e 20 2a | 2f 0a 23 64 65 66 69 6e |margin *|/.#defin|
|00003390| 65 20 4d 34 20 20 20 20 | 20 20 20 20 20 20 20 20 |e M4 | |
|000033a0| 20 20 31 39 20 20 20 20 | 20 20 2f 2a 20 62 6f 74 | 19 | /* bot|
|000033b0| 74 6f 6d 2d 6d 6f 73 74 | 20 6d 61 72 67 69 6e 20 |tom-most| margin |
|000033c0| 20 20 20 20 20 20 2a 2f | 0a 23 64 65 66 69 6e 65 | */|.#define|
|000033d0| 20 49 47 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | IG | |
|000033e0| 20 32 30 20 20 20 20 20 | 20 2f 2a 20 22 69 67 6e | 20 | /* "ign|
|000033f0| 6f 72 65 22 3b 63 6f 6d | 6d 65 6e 74 73 2c 4e 6f |ore";com|ments,No|
|00003400| 76 20 36 2c 38 32 2a 2f | 0a 23 64 65 66 69 6e 65 |v 6,82*/|.#define|
|00003410| 20 4e 45 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | NE | |
|00003420| 20 32 31 20 20 20 20 20 | 20 2f 2a 20 22 6e 65 65 | 21 | /* "nee|
|00003430| 64 22 3b 4e 6f 76 20 37 | 2c 38 32 2a 2f 0a 23 64 |d";Nov 7|,82*/.#d|
|00003440| 65 66 69 6e 65 20 46 46 | 20 20 20 20 20 20 20 20 |efine FF| |
|00003450| 20 20 20 20 20 20 32 32 | 20 20 20 20 20 20 2f 2a | 22| /*|
|00003460| 20 22 66 6f 72 6d 66 65 | 65 64 22 3b 4e 6f 76 20 | "formfe|ed";Nov |
|00003470| 31 30 2a 2f 0a 23 64 65 | 66 69 6e 65 20 53 43 20 |10*/.#de|fine SC |
|00003480| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 32 33 20 | | 23 |
|00003490| 20 20 20 20 20 2f 2a 20 | 22 73 70 61 63 65 20 63 | /* |"space c|
|000034a0| 68 61 72 61 63 74 65 72 | 22 3b 4e 6f 76 31 33 2a |haracter|";Nov13*|
|000034b0| 2f 0a 23 64 65 66 69 6e | 65 20 54 41 20 20 20 20 |/.#defin|e TA |
|000034c0| 20 20 20 20 20 20 20 20 | 20 20 32 35 20 20 20 20 | | 25 |
|000034d0| 20 20 2f 2a 20 22 74 61 | 62 73 69 7a 65 22 3b 4e | /* "ta|bsize";N|
|000034e0| 6f 76 20 31 33 2a 2f 0a | 23 64 65 66 69 6e 65 20 |ov 13*/.|#define |
|000034f0| 45 48 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |EH | |
|00003500| 32 36 20 20 20 20 20 20 | 2f 2a 20 22 65 76 65 6e |26 |/* "even|
|00003510| 20 68 65 61 64 65 72 73 | 22 3b 4e 6f 76 20 31 34 | headers|";Nov 14|
|00003520| 2a 2f 0a 23 64 65 66 69 | 6e 65 20 4f 48 20 20 20 |*/.#defi|ne OH |
|00003530| 20 20 20 20 20 20 20 20 | 20 20 20 32 37 20 20 20 | | 27 |
|00003540| 20 20 20 2f 2a 20 22 6f | 64 64 20 68 65 61 64 65 | /* "o|dd heade|
|00003550| 72 73 22 2a 2f 0a 23 64 | 65 66 69 6e 65 20 45 46 |rs"*/.#d|efine EF|
|00003560| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 32 38 | | 28|
|00003570| 20 20 20 20 20 20 2f 2a | 20 22 65 76 65 6e 20 66 | /*| "even f|
|00003580| 6f 6f 74 65 72 73 22 2a | 2f 0a 23 64 65 66 69 6e |ooters"*|/.#defin|
|00003590| 65 20 4f 46 20 20 20 20 | 20 20 20 20 20 20 20 20 |e OF | |
|000035a0| 20 20 32 39 20 20 20 20 | 20 20 2f 2a 20 22 6f 64 | 29 | /* "od|
|000035b0| 64 20 66 6f 6f 74 65 72 | 73 22 2a 2f 0a 23 64 65 |d footer|s"*/.#de|
|000035c0| 66 69 6e 65 20 45 58 20 | 20 20 20 20 20 20 20 20 |fine EX | |
|000035d0| 20 20 20 20 20 33 30 20 | 20 20 20 20 20 2f 2a 20 | 30 | /* |
|000035e0| 65 78 69 74 20 28 22 61 | 62 6f 72 74 22 29 20 2a |exit ("a|bort") *|
|000035f0| 2f 0a 23 64 65 66 69 6e | 65 20 44 42 20 20 20 20 |/.#defin|e DB |
|00003600| 20 20 20 20 20 20 20 20 | 20 20 33 31 20 20 20 20 | | 31 |
|00003610| 20 20 2f 2a 20 22 64 65 | 62 75 67 22 2a 2f 0a 23 | /* "de|bug"*/.#|
|00003620| 64 65 66 69 6e 65 20 54 | 43 20 20 20 20 20 20 20 |define T|C |
|00003630| 20 20 20 20 20 20 20 33 | 32 20 20 20 20 20 20 2f | 3|2 /|
|00003640| 2a 20 22 74 72 61 6e 73 | 6c 61 74 69 6f 6e 20 66 |* "trans|lation f|
|00003650| 6c 61 67 20 63 68 61 72 | 22 2a 2f 0a 23 64 65 66 |lag char|"*/.#def|
|00003660| 69 6e 65 20 54 52 20 20 | 20 20 20 20 20 20 20 20 |ine TR | |
|00003670| 20 20 20 20 33 33 20 20 | 20 20 20 20 2f 2a 20 22 | 33 | /* "|
|00003680| 64 65 66 20 74 72 61 6e | 73 6c 61 74 69 6f 6e 20 |def tran|slation |
|00003690| 73 74 72 69 6e 67 22 2a | 2f 0a 23 64 65 66 69 6e |string"*|/.#defin|
|000036a0| 65 20 43 46 20 20 20 20 | 20 20 20 20 20 20 20 20 |e CF | |
|000036b0| 20 20 33 34 20 20 20 20 | 20 20 2f 2a 20 44 65 63 | 34 | /* Dec|
|000036c0| 20 34 3a 63 6f 6e 74 72 | 6f 6c 20 66 6c 61 67 20 | 4:contr|ol flag |
|000036d0| 63 68 61 72 2a 2f 0a 23 | 64 65 66 69 6e 65 20 49 |char*/.#|define I|
|000036e0| 43 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 33 |C | 3|
|000036f0| 35 20 20 20 20 20 20 2f | 2a 20 69 6e 73 65 72 74 |5 /|* insert|
|00003700| 20 63 68 61 72 61 63 74 | 65 72 20 2a 2f 0a 23 64 | charact|er */.#d|
|00003710| 65 66 69 6e 65 20 41 44 | 20 20 20 20 20 20 20 20 |efine AD| |
|00003720| 20 20 20 20 20 20 33 37 | 20 20 20 20 20 20 2f 2a | 37| /*|
|00003730| 20 61 64 6a 75 73 74 20 | 28 6a 75 73 74 69 66 79 | adjust |(justify|
|00003740| 29 20 6f 75 74 70 75 74 | 20 6c 69 6e 65 73 20 2a |) output| lines *|
|00003750| 2f 0a 23 64 65 66 69 6e | 65 20 4e 41 20 20 20 20 |/.#defin|e NA |
|00003760| 20 20 20 20 20 20 20 20 | 20 20 33 38 20 20 20 20 | | 38 |
|00003770| 20 20 2f 2a 20 6e 6f 20 | 61 64 6a 75 73 74 20 6f | /* no |adjust o|
|00003780| 66 20 6f 75 74 70 75 74 | 20 6c 69 6e 65 73 20 2a |f output| lines *|
|00003790| 2f 0a 23 64 65 66 69 6e | 65 20 57 48 20 20 20 20 |/.#defin|e WH |
|000037a0| 20 20 20 20 20 20 20 20 | 20 20 33 39 20 20 20 20 | | 39 |
|000037b0| 20 20 2f 2a 20 77 68 6f | 6c 65 20 6c 69 6e 65 20 | /* who|le line |
|000037c0| 73 70 61 63 69 6e 67 20 | 63 6f 64 65 20 2a 2f 0a |spacing |code */.|
|000037d0| 23 64 65 66 69 6e 65 20 | 46 52 20 20 20 20 20 20 |#define |FR |
|000037e0| 20 20 20 20 20 20 20 20 | 34 30 20 20 20 20 20 20 | |40 |
|000037f0| 2f 2a 20 66 72 61 63 74 | 69 6f 6e 61 6c 20 73 70 |/* fract|ional sp|
|00003800| 61 63 69 6e 67 2c 63 6f | 64 65 20 2a 2f 0a 23 64 |acing,co|de */.#d|
|00003810| 65 66 69 6e 65 20 44 53 | 20 20 20 20 20 20 20 20 |efine DS| |
|00003820| 20 20 20 20 20 20 34 31 | 20 20 20 20 20 20 2f 2a | 41| /*|
|00003830| 20 64 65 66 69 6e 65 20 | 73 74 72 69 6e 67 2a 2f | define |string*/|
|00003840| 0a 23 64 65 66 69 6e 65 | 20 44 45 20 20 20 20 20 |.#define| DE |
|00003850| 20 20 20 20 20 20 20 20 | 20 34 32 20 20 20 20 20 | | 42 |
|00003860| 20 2f 2a 20 64 65 66 69 | 6e 65 20 6d 61 63 72 6f | /* defi|ne macro|
|00003870| 2a 2f 0a 23 64 65 66 69 | 6e 65 20 45 4d 20 20 20 |*/.#defi|ne EM |
|00003880| 20 20 20 20 20 20 20 20 | 20 20 20 34 33 20 20 20 | | 43 |
|00003890| 20 20 20 2f 2a 20 65 6e | 64 20 6d 61 63 72 6f 2a | /* en|d macro*|
|000038a0| 2f 0a 23 64 65 66 69 6e | 65 20 4e 52 20 20 20 20 |/.#defin|e NR |
|000038b0| 20 20 20 20 20 20 20 20 | 20 20 34 34 20 20 20 20 | | 44 |
|000038c0| 20 20 2f 2a 20 72 65 67 | 69 73 74 65 72 20 76 61 | /* reg|ister va|
|000038d0| 72 69 61 62 6c 65 2a 2f | 0a 23 64 65 66 69 6e 65 |riable*/|.#define|
|000038e0| 20 44 49 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | DI | |
|000038f0| 20 34 35 20 20 20 20 20 | 20 2f 2a 20 64 69 76 65 | 45 | /* dive|
|00003900| 72 73 69 6f 6e 2a 2f 0a | 23 64 65 66 69 6e 65 20 |rsion*/.|#define |
|00003910| 53 4f 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |SO | |
|00003920| 34 37 20 20 20 20 20 20 | 2f 2a 20 22 73 6f 75 72 |47 |/* "sour|
|00003930| 63 65 22 2c 20 69 6e 63 | 6c 75 64 65 2a 2f 0a 23 |ce", inc|lude*/.#|
|00003940| 64 65 66 69 6e 65 20 50 | 43 20 20 20 20 20 20 20 |define P|C |
|00003950| 20 20 20 20 20 20 20 34 | 38 20 20 20 20 20 20 2f | 4|8 /|
|00003960| 2a 20 70 72 69 6e 74 65 | 72 20 63 6f 6e 74 72 6f |* printe|r contro|
|00003970| 6c 20 64 65 66 69 6e 69 | 74 69 6f 6e 2a 2f 0a 23 |l defini|tion*/.#|
|00003980| 64 65 66 69 6e 65 20 54 | 4d 20 20 20 20 20 20 20 |define T|M |
|00003990| 20 20 20 20 20 20 20 34 | 39 20 20 20 20 20 20 2f | 4|9 /|
|000039a0| 2a 20 73 65 6e 64 20 69 | 6e 6c 69 6e 65 20 6d 73 |* send i|nline ms|
|000039b0| 67 20 74 6f 20 74 65 72 | 6d 69 6e 61 6c 20 2a 2f |g to ter|minal */|
|000039c0| 0a 23 64 65 66 69 6e 65 | 20 42 4a 20 20 20 20 20 |.#define| BJ |
|000039d0| 20 20 20 20 20 20 20 20 | 20 35 30 20 20 20 20 20 | | 50 |
|000039e0| 20 2f 2a 20 62 72 65 61 | 6b 20 77 69 74 68 20 72 | /* brea|k with r|
|000039f0| 69 67 68 74 20 6a 75 73 | 74 69 66 69 63 61 74 69 |ight jus|tificati|
|00003a00| 6f 6e 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |on. | |
|00003a10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003a20| 20 20 20 20 20 20 6f 66 | 20 63 75 72 72 65 6e 74 | of| current|
|00003a30| 20 6c 69 6e 65 20 2a 2f | 0a 23 64 65 66 69 6e 65 | line */|.#define|
|00003a40| 09 50 4d 09 09 35 31 09 | 2f 2a 20 70 72 69 6e 74 |.PM..51.|/* print|
|00003a50| 20 6d 61 63 72 6f 20 6e | 61 6d 65 73 20 2a 2f 0a | macro n|ames */.|
|00003a60| 23 64 65 66 69 6e 65 09 | 46 54 09 09 35 32 09 2f |#define.|FT..52./|
|00003a70| 2a 20 73 65 74 20 66 6f | 6e 74 20 2a 2f 0a 23 64 |* set fo|nt */.#d|
|00003a80| 65 66 69 6e 65 09 50 4f | 09 09 35 33 09 2f 2a 20 |efine.PO|..53./* |
|00003a90| 70 61 67 65 20 6f 66 66 | 73 65 74 20 2a 2f 0a 23 |page off|set */.#|
|00003aa0| 64 65 66 69 6e 65 20 53 | 53 20 20 20 20 20 20 20 |define S|S |
|00003ab0| 20 20 20 20 20 20 20 35 | 34 20 20 20 20 20 20 2f | 5|4 /|
|00003ac0| 2a 20 73 68 6f 77 20 73 | 74 72 69 6e 67 73 20 2a |* show s|trings *|
|00003ad0| 2f 0a 23 64 65 66 69 6e | 65 20 53 52 20 20 20 20 |/.#defin|e SR |
|00003ae0| 20 20 20 20 20 20 20 20 | 20 20 35 35 20 20 20 20 | | 55 |
|00003af0| 20 20 2f 2a 20 73 68 6f | 77 20 72 65 67 69 73 74 | /* sho|w regist|
|00003b00| 65 72 73 20 2a 2f 0a 0a | 2f 2a 2a 2a 2a 2a 2a 20 |ers */..|/****** |
|00003b10| 47 4c 4f 42 41 4c 20 56 | 41 52 49 41 42 4c 45 53 |GLOBAL V|ARIABLES|
|00003b20| 20 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | *******|********|
|00003b30| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003b40| 2a 2f 0a 0a 46 49 4c 45 | 20 09 2a 5f 64 6f 62 75 |*/..FILE| .*_dobu|
|00003b50| 66 2c 20 2a 69 6e 73 74 | 72 65 61 6d 3b 09 2f 2a |f, *inst|ream;./*|
|00003b60| 20 69 2f 6f 20 62 75 66 | 66 65 72 20 75 73 65 64 | i/o buf|fer used|
|00003b70| 20 66 6f 72 20 64 69 72 | 65 63 74 69 6f 6e 20 20 | for dir|ection |
|00003b80| 2a 2f 0a 69 6e 74 20 09 | 64 65 62 75 67 3b 09 09 |*/.int .|debug;..|
|00003b90| 09 2f 2a 20 42 6f 6f 6c | 65 61 6e 3a 20 20 64 65 |./* Bool|ean: de|
|00003ba0| 62 75 67 20 6d 6f 64 65 | 20 6f 6e 2f 6f 66 66 20 |bug mode| on/off |
|00003bb0| 2a 2f 0a 69 6e 74 09 72 | 6f 5f 76 65 72 62 6f 73 |*/.int.r|o_verbos|
|00003bc0| 65 3b 09 09 2f 2a 20 42 | 6f 6f 6c 65 61 6e 3a 20 |e;../* B|oolean: |
|00003bd0| 20 76 65 72 62 6f 73 65 | 20 6d 6f 64 65 20 6f 6e | verbose| mode on|
|00003be0| 2f 6f 66 66 20 2a 2f 0a | 69 6e 74 20 09 72 6f 5f |/off */.|int .ro_|
|00003bf0| 70 61 67 65 73 74 6f 70 | 3b 0a 69 6e 74 20 09 72 |pagestop|;.int .r|
|00003c00| 6f 5f 61 64 6a 75 73 74 | 3b 0a 69 6e 74 20 09 72 |o_adjust|;.int .r|
|00003c10| 6f 5f 75 73 65 66 66 3b | 0a 69 6e 74 20 09 72 6f |o_useff;|.int .ro|
|00003c20| 5f 66 69 72 73 74 70 61 | 67 65 2c 20 72 6f 5f 6c |_firstpa|ge, ro_l|
|00003c30| 61 73 74 70 61 67 65 3b | 09 2f 2a 20 66 6f 72 20 |astpage;|./* for |
|00003c40| 73 65 6c 65 63 74 69 76 | 65 6c 79 20 70 72 69 6e |selectiv|ely prin|
|00003c50| 74 69 6e 67 20 6f 75 74 | 70 75 74 2a 2f 0a 69 6e |ting out|put*/.in|
|00003c60| 74 20 09 72 6f 5f 73 75 | 70 70 72 65 73 73 3b 09 |t .ro_su|ppress;.|
|00003c70| 09 2f 2a 20 69 66 20 74 | 72 75 65 2c 6e 6f 20 6f |./* if t|rue,no o|
|00003c80| 75 74 70 75 74 20 69 73 | 20 70 61 73 73 65 64 20 |utput is| passed |
|00003c90| 62 79 20 70 75 74 63 68 | 61 72 28 29 2a 2f 0a 69 |by putch|ar()*/.i|
|00003ca0| 6e 74 20 09 72 6f 5f 74 | 69 76 61 6c 3b 20 20 20 |nt .ro_t|ival; |
|00003cb0| 20 20 20 2f 2a 20 74 65 | 6d 70 6f 72 61 72 79 20 | /* te|mporary |
|00003cc0| 69 6e 64 65 6e 74 20 2d | 3e 20 64 65 66 61 75 6c |indent -|> defaul|
|00003cd0| 74 20 20 30 20 2a 2f 0a | 69 6e 74 20 09 72 6f 5f |t 0 */.|int .ro_|
|00003ce0| 63 65 76 61 6c 3b 20 20 | 20 20 20 20 2f 2a 20 73 |ceval; | /* s|
|00003cf0| 65 74 20 65 71 75 61 6c | 20 74 6f 20 6e 75 6d 62 |et equal| to numb|
|00003d00| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 74 6f 20 62 |er of li|nes to b|
|00003d10| 65 20 63 65 6e 74 65 72 | 65 64 20 20 2a 2f 0a 69 |e center|ed */.i|
|00003d20| 6e 74 20 09 72 6f 5f 73 | 70 76 61 6c 3b 20 20 20 |nt .ro_s|pval; |
|00003d30| 20 20 20 2f 2a 20 62 6c | 61 6e 6b 20 6c 69 6e 65 | /* bl|ank line|
|00003d40| 73 20 74 6f 20 62 65 20 | 73 70 61 63 65 64 20 64 |s to be |spaced d|
|00003d50| 6f 77 6e 20 2a 2f 0a 69 | 6e 74 20 09 72 6f 5f 63 |own */.i|nt .ro_c|
|00003d60| 75 72 70 61 67 3b 20 20 | 20 20 20 2f 2a 20 63 75 |urpag; | /* cu|
|00003d70| 72 72 65 6e 74 20 6f 75 | 74 70 75 74 20 70 61 67 |rrent ou|tput pag|
|00003d80| 65 20 6e 75 6d 62 65 72 | 3b 20 69 6e 69 74 20 3d |e number|; init =|
|00003d90| 20 30 20 2a 2f 0a 69 6e | 74 20 09 72 6f 5f 6e 65 | 0 */.in|t .ro_ne|
|00003da0| 77 70 61 67 3b 20 20 20 | 20 20 2f 2a 20 6e 65 78 |wpag; | /* nex|
|00003db0| 74 20 6f 75 74 70 75 74 | 20 70 61 67 65 20 6e 75 |t output| page nu|
|00003dc0| 6d 62 65 72 3b 20 69 6e | 69 74 20 3d 20 31 20 2a |mber; in|it = 1 *|
|00003dd0| 2f 0a 69 6e 74 20 09 72 | 6f 5f 76 6c 69 6e 65 6e |/.int .r|o_vlinen|
|00003de0| 6f 3b 20 20 20 20 2f 2a | 20 76 69 72 74 75 61 6c |o; /*| virtual|
|00003df0| 20 28 69 6e 74 65 6e 64 | 65 64 29 20 6c 69 6e 65 | (intend|ed) line|
|00003e00| 20 61 64 76 61 6e 63 65 | 73 20 6f 6e 20 70 61 67 | advance|s on pag|
|00003e10| 65 2c 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e,. | |
|00003e20| 20 20 20 20 20 20 20 20 | 20 20 20 73 65 65 20 76 | | see v|
|00003e30| 61 64 76 28 29 2a 2f 0a | 69 6e 74 20 09 72 6f 5f |adv()*/.|int .ro_|
|00003e40| 76 66 6c 69 6e 65 6e 6f | 3b 20 20 20 2f 2a 20 2b |vflineno|; /* +|
|00003e50| 20 6c 69 6e 65 20 66 72 | 61 63 74 69 6f 6e 20 2a | line fr|action *|
|00003e60| 2f 0a 69 6e 74 20 09 72 | 6f 5f 70 6c 69 6e 65 6e |/.int .r|o_plinen|
|00003e70| 6f 3b 20 20 20 20 2f 2a | 20 70 72 69 6e 74 65 72 |o; /*| printer|
|00003e80| 27 73 20 61 63 74 75 61 | 6c 20 6c 69 6e 65 20 61 |'s actua|l line a|
|00003e90| 64 76 61 6e 63 65 73 20 | 6f 6e 20 70 61 67 65 2c |dvances |on page,|
|00003ea0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00003eb0| 20 20 20 20 20 20 20 20 | 20 73 65 65 20 70 61 64 | | see pad|
|00003ec0| 76 28 29 2a 2f 0a 69 6e | 74 20 09 72 6f 5f 70 66 |v()*/.in|t .ro_pf|
|00003ed0| 6c 69 6e 65 6e 6f 3b 20 | 20 20 2f 2a 20 2b 20 6c |lineno; | /* + l|
|00003ee0| 69 6e 65 20 66 72 61 63 | 74 69 6f 6e 20 2a 2f 0a |ine frac|tion */.|
|00003ef0| 69 6e 74 20 09 72 6f 5f | 62 6f 74 74 6f 6d 3b 20 |int .ro_|bottom; |
|00003f00| 20 20 20 20 2f 2a 20 65 | 6e 64 20 6f 66 20 74 65 | /* e|nd of te|
|00003f10| 78 74 20 61 72 65 61 20 | 69 6e 20 6c 69 6e 65 73 |xt area |in lines|
|00003f20| 3b 73 74 61 72 74 20 6f | 66 20 4d 33 2b 4d 34 20 |;start o|f M3+M4 |
|00003f30| 2a 2f 0a 69 6e 74 20 09 | 72 6f 5f 73 65 6e 74 65 |*/.int .|ro_sente|
|00003f40| 6e 63 65 3b 20 20 20 2f | 2a 20 4e 6f 76 20 32 30 |nce; /|* Nov 20|
|00003f50| 2a 2f 0a 69 6e 74 09 72 | 6f 5f 70 6f 76 61 6c 3b |*/.int.r|o_poval;|
|00003f60| 09 2f 2a 20 70 61 67 65 | 20 6f 66 66 73 65 74 20 |./* page| offset |
|00003f70| 2a 2f 0a 0a 2f 2a 2a 2a | 09 53 74 61 63 6b 20 76 |*/../***|.Stack v|
|00003f80| 61 72 69 61 62 6c 65 73 | 0a 0a 09 54 68 65 20 66 |ariables|...The f|
|00003f90| 6f 6c 6c 6f 77 69 6e 67 | 20 76 61 72 69 61 62 6c |ollowing| variabl|
|00003fa0| 65 73 20 61 72 65 20 61 | 73 73 69 67 6e 65 64 20 |es are a|ssigned |
|00003fb0| 74 6f 20 61 20 73 74 61 | 63 6b 20 61 6e 64 20 77 |to a sta|ck and w|
|00003fc0| 68 65 6e 20 0a 09 61 20 | 6e 65 77 20 76 61 6c 75 |hen ..a |new valu|
|00003fd0| 65 20 69 73 20 61 73 73 | 69 67 6e 65 64 2c 20 69 |e is ass|igned, i|
|00003fe0| 74 20 69 73 20 22 70 75 | 73 68 65 64 22 20 6f 6e |t is "pu|shed" on|
|00003ff0| 74 6f 20 74 68 65 20 73 | 74 61 63 6b 2c 20 0a 09 |to the s|tack, ..|
|00004000| 61 6e 64 20 77 68 65 6e | 20 72 65 61 64 2c 20 22 |and when| read, "|
|00004010| 70 6f 70 70 65 64 22 20 | 6f 66 66 2e 20 20 54 68 |popped" |off. Th|
|00004020| 65 20 73 74 61 63 6b 20 | 69 73 20 72 65 61 64 20 |e stack |is read |
|00004030| 66 72 6f 6d 20 0a 09 74 | 68 65 20 62 6f 74 74 6f |from ..t|he botto|
|00004040| 6d 2e 20 20 09 09 09 09 | 09 09 2a 2a 2a 2f 0a 0a |m. ....|..***/..|
|00004050| 69 6e 74 20 09 72 6f 5f | 66 69 6c 6c 5b 53 54 4b |int .ro_|fill[STK|
|00004060| 53 49 5a 5d 3b 20 20 20 | 20 20 20 20 2f 2a 20 73 |SIZ]; | /* s|
|00004070| 65 74 20 74 6f 20 59 45 | 53 20 6f 72 20 4e 4f 20 |et to YE|S or NO |
|00004080| 20 2a 2f 0a 69 6e 74 20 | 09 72 6f 5f 6c 73 76 61 | */.int |.ro_lsva|
|00004090| 6c 5b 53 54 4b 53 49 5a | 5d 3b 20 20 20 20 20 20 |l[STKSIZ|]; |
|000040a0| 2f 2a 20 6c 69 6e 65 20 | 73 70 61 63 69 6e 67 20 |/* line |spacing |
|000040b0| 76 61 6c 75 65 20 2d 3e | 20 64 65 66 61 75 6c 74 |value ->| default|
|000040c0| 20 77 69 6c 6c 20 62 65 | 20 31 20 20 2a 2f 0a 69 | will be| 1 */.i|
|000040d0| 6e 74 20 09 72 6f 5f 69 | 6e 76 61 6c 5b 53 54 4b |nt .ro_i|nval[STK|
|000040e0| 53 49 5a 5d 3b 20 20 20 | 20 20 20 2f 2a 20 6c 65 |SIZ]; | /* le|
|000040f0| 66 74 20 69 6e 64 65 6e | 74 20 2d 3e 20 64 65 66 |ft inden|t -> def|
|00004100| 61 75 6c 74 20 20 30 20 | 20 2a 2f 0a 69 6e 74 20 |ault 0 | */.int |
|00004110| 09 72 6f 5f 72 6d 76 61 | 6c 5b 53 54 4b 53 49 5a |.ro_rmva|l[STKSIZ|
|00004120| 5d 3b 20 20 20 20 20 20 | 2f 2a 20 72 69 67 68 74 |]; |/* right|
|00004130| 20 6d 61 72 67 69 6e 20 | 2d 3e 20 64 65 66 61 75 | margin |-> defau|
|00004140| 6c 74 20 20 50 41 47 45 | 57 49 44 54 48 20 20 2a |lt PAGE|WIDTH *|
|00004150| 2f 0a 69 6e 74 20 09 72 | 6f 5f 74 63 76 61 6c 5b |/.int .r|o_tcval[|
|00004160| 53 54 4b 53 49 5a 5d 3b | 20 20 20 20 20 20 2f 2a |STKSIZ];| /*|
|00004170| 20 74 72 61 6e 73 6c 61 | 74 69 6f 6e 20 66 6c 61 | transla|tion fla|
|00004180| 67 20 63 68 61 72 20 20 | 2a 2f 0a 69 6e 74 20 09 |g char |*/.int .|
|00004190| 72 6f 5f 70 6c 76 61 6c | 5b 53 54 4b 53 49 5a 5d |ro_plval|[STKSIZ]|
|000041a0| 3b 20 20 20 20 20 20 2f | 2a 20 70 61 67 65 20 6c |; /|* page l|
|000041b0| 65 6e 67 74 68 20 69 6e | 20 6c 69 6e 65 73 20 20 |ength in| lines |
|000041c0| 2a 2f 0a 69 6e 74 20 09 | 72 6f 5f 6d 31 76 61 6c |*/.int .|ro_m1val|
|000041d0| 5b 53 54 4b 53 49 5a 5d | 3b 20 20 20 20 20 20 2f |[STKSIZ]|; /|
|000041e0| 2a 20 6d 61 72 67 69 6e | 20 62 65 66 6f 72 65 26 |* margin| before&|
|000041f0| 20 69 6e 63 6c 75 64 69 | 6e 67 20 68 65 61 64 65 | includi|ng heade|
|00004200| 72 20 69 6e 20 6c 69 6e | 65 73 20 2a 2f 0a 69 6e |r in lin|es */.in|
|00004210| 74 20 09 72 6f 5f 6d 32 | 76 61 6c 5b 53 54 4b 53 |t .ro_m2|val[STKS|
|00004220| 49 5a 5d 3b 20 20 20 20 | 20 20 2f 2a 20 6d 61 72 |IZ]; | /* mar|
|00004230| 67 69 6e 20 61 66 74 65 | 72 20 68 65 61 64 65 72 |gin afte|r header|
|00004240| 20 69 6e 20 6c 69 6e 65 | 73 20 2a 2f 0a 69 6e 74 | in line|s */.int|
|00004250| 20 09 72 6f 5f 6d 33 76 | 61 6c 5b 53 54 4b 53 49 | .ro_m3v|al[STKSI|
|00004260| 5a 5d 3b 20 20 20 20 20 | 20 2f 2a 20 6d 61 72 67 |Z]; | /* marg|
|00004270| 69 6e 20 61 66 74 65 72 | 20 6c 61 73 74 20 74 65 |in after| last te|
|00004280| 78 74 20 6c 69 6e 65 20 | 69 6e 20 6c 69 6e 65 73 |xt line |in lines|
|00004290| 20 2a 2f 0a 69 6e 74 20 | 09 72 6f 5f 6d 34 76 61 | */.int |.ro_m4va|
|000042a0| 6c 5b 53 54 4b 53 49 5a | 5d 3b 20 20 20 20 20 20 |l[STKSIZ|]; |
|000042b0| 2f 2a 20 62 6f 74 74 6f | 6d 20 6d 61 72 67 69 6e |/* botto|m margin|
|000042c0| 2c 20 69 6e 63 6c 75 64 | 69 6e 67 20 66 6f 6f 74 |, includ|ing foot|
|000042d0| 65 72 20 69 6e 20 6c 69 | 6e 65 73 20 2a 2f 0a 69 |er in li|nes */.i|
|000042e0| 6e 74 20 09 72 6f 5f 73 | 63 76 61 6c 5b 53 54 4b |nt .ro_s|cval[STK|
|000042f0| 53 49 5a 5d 3b 20 20 20 | 20 20 20 2f 2a 20 73 70 |SIZ]; | /* sp|
|00004300| 61 63 65 20 63 68 61 72 | 61 63 74 65 72 20 20 2a |ace char|acter *|
|00004310| 2f 0a 69 6e 74 20 09 72 | 6f 5f 74 61 62 73 69 7a |/.int .r|o_tabsiz|
|00004320| 5b 53 54 4b 53 49 5a 5d | 3b 20 20 20 20 20 2f 2a |[STKSIZ]|; /*|
|00004330| 20 73 70 61 63 69 6e 67 | 20 6f 66 20 74 61 62 73 | spacing| of tabs|
|00004340| 74 6f 70 73 20 20 2a 2f | 0a 69 6e 74 20 09 72 6f |tops */|.int .ro|
|00004350| 5f 63 66 76 61 6c 5b 53 | 54 4b 53 49 5a 5d 3b 20 |_cfval[S|TKSIZ]; |
|00004360| 20 20 20 20 20 2f 2a 20 | 44 65 63 20 34 3a 63 6f | /* |Dec 4:co|
|00004370| 6e 74 72 6f 6c 20 66 6c | 61 67 20 63 68 61 72 61 |ntrol fl|ag chara|
|00004380| 63 74 65 72 20 76 61 6c | 75 65 20 20 2a 2f 0a 69 |cter val|ue */.i|
|00004390| 6e 74 20 09 72 6f 5f 69 | 63 76 61 6c 5b 53 54 4b |nt .ro_i|cval[STK|
|000043a0| 53 49 5a 5d 3b 20 20 20 | 20 20 20 2f 2a 20 69 6e |SIZ]; | /* in|
|000043b0| 73 65 72 74 20 63 68 61 | 72 61 63 74 65 72 20 2a |sert cha|racter *|
|000043c0| 2f 0a 0a 63 68 61 72 20 | 09 72 6f 5f 63 75 72 6c |/..char |.ro_curl|
|000043d0| 69 6e 65 5b 20 4c 53 5a | 20 5d 3b 20 20 20 20 20 |ine[ LSZ| ]; |
|000043e0| 20 20 2f 2a 69 6e 70 75 | 74 20 6c 69 6e 65 20 62 | /*inpu|t line b|
|000043f0| 75 66 66 65 72 2c 20 4e | 6f 76 20 32 36 20 2a 2f |uffer, N|ov 26 */|
|00004400| 0a 63 68 61 72 20 09 72 | 6f 5f 65 68 65 61 64 5b |.char .r|o_ehead[|
|00004410| 20 4c 53 5a 20 5d 2c 20 | 72 6f 5f 65 68 32 5b 20 | LSZ ], |ro_eh2[ |
|00004420| 4c 53 5a 20 5d 2c 20 72 | 6f 5f 65 68 33 5b 20 4c |LSZ ], r|o_eh3[ L|
|00004430| 53 5a 20 5d 3b 20 20 20 | 20 2f 2a 20 65 76 65 6e |SZ ]; | /* even|
|00004440| 20 68 65 61 64 65 72 20 | 74 69 74 6c 65 20 20 2a | header |title *|
|00004450| 2f 0a 63 68 61 72 20 09 | 72 6f 5f 6f 68 65 61 64 |/.char .|ro_ohead|
|00004460| 5b 20 4c 53 5a 20 5d 2c | 20 72 6f 5f 6f 68 32 5b |[ LSZ ],| ro_oh2[|
|00004470| 20 4c 53 5a 20 5d 2c 20 | 72 6f 5f 6f 68 33 5b 20 | LSZ ], |ro_oh3[ |
|00004480| 4c 53 5a 20 5d 3b 20 20 | 20 20 2f 2a 20 6f 64 64 |LSZ ]; | /* odd|
|00004490| 20 68 65 61 64 65 72 20 | 74 69 74 6c 65 20 20 2a | header |title *|
|000044a0| 2f 0a 63 68 61 72 20 09 | 72 6f 5f 65 66 6f 6f 74 |/.char .|ro_efoot|
|000044b0| 5b 20 4c 53 5a 20 5d 2c | 20 72 6f 5f 65 66 32 5b |[ LSZ ],| ro_ef2[|
|000044c0| 20 4c 53 5a 20 5d 2c 20 | 72 6f 5f 65 66 33 5b 20 | LSZ ], |ro_ef3[ |
|000044d0| 4c 53 5a 20 5d 3b 20 20 | 20 20 2f 2a 20 65 76 65 |LSZ ]; | /* eve|
|000044e0| 6e 20 66 6f 6f 74 65 72 | 20 74 69 74 6c 65 20 20 |n footer| title |
|000044f0| 2a 2f 0a 63 68 61 72 20 | 09 72 6f 5f 6f 66 6f 6f |*/.char |.ro_ofoo|
|00004500| 74 5b 20 4c 53 5a 20 5d | 2c 20 72 6f 5f 6f 66 32 |t[ LSZ ]|, ro_of2|
|00004510| 5b 20 4c 53 5a 20 5d 2c | 20 72 6f 5f 6f 66 33 5b |[ LSZ ],| ro_of3[|
|00004520| 20 4c 53 5a 20 5d 3b 20 | 20 20 20 2f 2a 20 65 76 | LSZ ]; | /* ev|
|00004530| 65 6e 20 66 6f 6f 74 65 | 72 20 74 69 74 6c 65 20 |en foote|r title |
|00004540| 20 2a 2f 0a 0a 73 74 72 | 75 63 74 20 64 69 76 66 | */..str|uct divf|
|00004550| 64 09 09 2f 2a 20 64 69 | 76 65 72 73 69 6f 6e 20 |d../* di|version |
|00004560| 66 69 6c 65 20 64 65 73 | 63 72 69 70 74 6f 72 09 |file des|criptor.|
|00004570| 20 2a 2f 0a 09 7b 0a 09 | 63 68 61 72 20 6e 6d 5b | */..{..|char nm[|
|00004580| 20 33 36 20 5d 3b 09 2f | 2a 20 6e 61 6d 65 20 20 | 36 ];./|* name |
|00004590| 2a 2f 0a 09 63 68 61 72 | 20 66 6e 5b 20 36 34 20 |*/..char| fn[ 64 |
|000045a0| 5d 3b 09 2f 2a 20 6e 61 | 6d 65 20 6f 66 20 64 69 |];./* na|me of di|
|000045b0| 76 65 72 73 69 6f 6e 20 | 66 69 6c 65 20 28 6e 6f |version |file (no|
|000045c0| 74 20 73 6f 75 72 63 65 | 20 66 69 6c 65 29 20 2a |t source| file) *|
|000045d0| 2f 0a 20 20 20 20 20 20 | 20 20 69 6e 74 20 63 73 |/. | int cs|
|000045e0| 3b 09 09 2f 2a 20 63 68 | 61 72 61 63 74 65 72 20 |;../* ch|aracter |
|000045f0| 63 6f 75 6e 74 20 20 2a | 2f 0a 20 20 20 20 20 20 |count *|/. |
|00004600| 20 20 69 6e 74 20 6c 73 | 3b 09 09 2f 2a 20 6c 69 | int ls|;../* li|
|00004610| 6e 65 20 63 6f 75 6e 74 | 20 20 2a 2f 0a 09 69 6e |ne count| */..in|
|00004620| 74 20 76 61 6c 3b 09 2f | 2a 20 76 61 6c 75 65 20 |t val;./|* value |
|00004630| 66 6f 72 20 72 65 67 69 | 73 74 65 72 20 20 2a 2f |for regi|ster */|
|00004640| 0a 09 63 68 61 72 20 2a | 6d 73 74 72 3b 09 2f 2a |..char *|mstr;./*|
|00004650| 20 70 6f 69 6e 74 65 72 | 20 74 6f 20 6d 61 63 72 | pointer| to macr|
|00004660| 6f 20 63 68 61 72 61 63 | 74 65 72 20 73 74 72 69 |o charac|ter stri|
|00004670| 6e 67 20 20 2a 2f 0a 09 | 46 49 4c 45 20 2a 62 66 |ng */..|FILE *bf|
|00004680| 3b 09 2f 2a 20 74 6f 20 | 69 6e 73 74 72 65 61 6d |;./* to |instream|
|00004690| 20 69 66 20 6f 70 65 6e | 2c 20 46 41 4c 53 45 20 | if open|, FALSE |
|000046a0| 6f 74 68 65 72 77 69 73 | 65 20 20 2a 2f 0a 09 73 |otherwis|e */..s|
|000046b0| 74 72 75 63 74 20 64 69 | 76 66 64 20 2a 70 72 65 |truct di|vfd *pre|
|000046c0| 76 3b 0a 09 7d 3b 0a 0a | 63 68 61 72 20 09 74 62 |v;..};..|char .tb|
|000046d0| 75 66 5b 20 54 42 55 46 | 53 49 5a 45 20 5d 3b 09 |uf[ TBUF|SIZE ];.|
|000046e0| 2f 2a 20 61 20 74 65 6d | 70 6f 72 61 72 79 20 62 |/* a tem|porary b|
|000046f0| 75 66 66 65 72 20 2a 2f | 0a 69 6e 74 20 09 72 6f |uffer */|.int .ro|
|00004700| 5f 64 69 72 3b 20 20 20 | 20 20 20 20 20 2f 2a 20 |_dir; | /* |
|00004710| 66 6f 72 20 22 73 70 72 | 65 61 64 69 6e 67 22 20 |for "spr|eading" |
|00004720| 6f 66 20 6c 69 6e 65 73 | 20 20 20 20 20 2a 2f 0a |of lines| */.|
|00004730| 69 6e 74 20 09 72 6f 5f | 6f 75 74 77 72 64 73 3b |int .ro_|outwrds;|
|00004740| 20 20 20 20 2f 2a 20 6e | 6f 2e 20 77 6f 72 64 73 | /* n|o. words|
|00004750| 20 69 6e 20 72 6f 5f 6f | 75 74 62 75 66 3b 20 69 | in ro_o|utbuf; i|
|00004760| 6e 69 74 20 3d 20 30 20 | 20 2a 2f 0a 63 68 61 72 |nit = 0 | */.char|
|00004770| 20 09 72 6f 5f 6f 75 74 | 62 75 66 5b 20 4c 53 5a | .ro_out|buf[ LSZ|
|00004780| 20 5d 3b 20 20 20 20 20 | 2f 2a 6c 69 6e 65 73 20 | ]; |/*lines |
|00004790| 74 6f 20 62 65 20 66 69 | 6c 6c 65 64 20 63 6f 6c |to be fi|lled col|
|000047a0| 6c 65 63 74 65 64 20 68 | 65 72 65 20 20 2a 2f 0a |lected h|ere */.|
|000047b0| 69 6e 74 20 09 72 6f 5f | 6f 75 74 77 3b 20 20 20 |int .ro_|outw; |
|000047c0| 20 20 20 20 2f 2a 63 75 | 72 72 65 6e 74 20 64 69 | /*cu|rrent di|
|000047d0| 73 70 6c 61 79 20 77 69 | 64 74 68 20 6f 66 20 72 |splay wi|dth of r|
|000047e0| 6f 5f 6f 75 74 62 75 66 | 20 2a 2f 0a 69 6e 74 20 |o_outbuf| */.int |
|000047f0| 09 72 6f 5f 6f 75 74 70 | 6f 73 3b 20 20 20 20 20 |.ro_outp|os; |
|00004800| 2f 2a 20 3d 73 74 72 6c | 65 6e 28 72 6f 5f 6f 75 |/* =strl|en(ro_ou|
|00004810| 74 62 75 66 29 20 20 2a | 2f 0a 69 6e 74 20 09 72 |tbuf) *|/.int .r|
|00004820| 6f 5f 77 74 6f 70 2c 20 | 72 6f 5f 6c 74 6f 70 2c |o_wtop, |ro_ltop,|
|00004830| 20 72 6f 5f 6f 75 74 74 | 6f 70 3b 20 20 20 2f 2a | ro_outt|op; /*|
|00004840| 7a 65 72 6f 7c 6e 65 67 | 61 74 69 76 65 3b 6c 65 |zero|neg|ative;le|
|00004850| 76 65 6c 73 20 6f 66 20 | 73 75 62 73 63 72 69 70 |vels of |subscrip|
|00004860| 74 73 20 2a 2f 0a 69 6e | 74 20 09 72 6f 5f 77 62 |ts */.in|t .ro_wb|
|00004870| 6f 74 2c 20 72 6f 5f 6c | 62 6f 74 2c 20 72 6f 5f |ot, ro_l|bot, ro_|
|00004880| 6f 75 74 62 6f 74 3b 20 | 20 20 2f 2a 7a 65 72 6f |outbot; | /*zero|
|00004890| 7c 70 6f 73 69 74 69 76 | 65 3b 6c 65 76 65 6c 73 ||positiv|e;levels|
|000048a0| 20 6f 66 20 73 75 62 73 | 63 72 69 70 74 73 20 2a | of subs|cripts *|
|000048b0| 2f 0a 69 6e 74 20 09 72 | 6f 5f 6f 6c 64 6c 6e 3b |/.int .r|o_oldln;|
|000048c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 2a | | /*|
|000048d0| 70 6f 73 69 74 69 6f 6e | 20 6f 66 20 70 72 65 76 |position| of prev|
|000048e0| 69 6f 75 73 20 6d 61 69 | 6e 20 6c 69 6e 65 20 2a |ious mai|n line *|
|000048f0| 2f 0a 69 6e 74 20 09 72 | 6f 5f 6f 6c 64 62 6f 74 |/.int .r|o_oldbot|
|00004900| 3b 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 2a |; | /*|
|00004910| 72 6f 5f 6f 75 74 62 6f | 74 20 66 6f 72 20 70 72 |ro_outbo|t for pr|
|00004920| 65 76 69 6f 75 73 20 6c | 69 6e 65 3b 72 65 73 65 |evious l|ine;rese|
|00004930| 74 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t. | |
|00004940| 20 20 20 20 20 20 20 20 | 20 20 65 61 63 68 20 70 | | each p|
|00004950| 61 67 65 20 2a 2f 0a 69 | 6e 74 20 09 72 6f 5f 66 |age */.i|nt .ro_f|
|00004960| 72 71 2c 20 72 6f 5f 66 | 72 76 61 6c 3b 20 20 2f |rq, ro_f|rval; /|
|00004970| 2a 20 66 72 61 63 74 69 | 6f 6e 61 6c 20 6c 69 6e |* fracti|onal lin|
|00004980| 65 3f 2c 20 77 68 61 74 | 20 66 72 61 63 74 69 6f |e?, what| fractio|
|00004990| 6e 20 73 69 7a 65 20 2a | 2f 0a 63 68 61 72 20 09 |n size *|/.char .|
|000049a0| 2a 72 6f 5f 66 72 73 74 | 72 69 6e 67 3b 20 2f 2a |*ro_frst|ring; /*|
|000049b0| 20 5e 20 74 6f 20 63 6f | 64 65 20 66 6f 72 20 66 | ^ to co|de for f|
|000049c0| 72 61 63 74 69 6f 6e 61 | 6c 20 73 70 61 63 69 6e |ractiona|l spacin|
|000049d0| 67 20 2a 2f 0a 63 68 61 | 72 20 09 2a 72 6f 5f 77 |g */.cha|r .*ro_w|
|000049e0| 68 73 74 72 69 6e 67 3b | 20 2f 2a 20 5e 20 74 6f |hstring;| /* ^ to|
|000049f0| 20 63 6f 64 65 20 66 6f | 72 20 77 68 6f 6c 65 20 | code fo|r whole |
|00004a00| 6c 69 6e 65 20 73 70 61 | 63 69 6e 67 20 2a 2f 0a |line spa|cing */.|
|00004a10| 63 68 61 72 20 09 2a 72 | 6f 5f 63 70 74 72 5b 31 |char .*r|o_cptr[1|
|00004a20| 32 38 2d 27 20 27 5d 3b | 20 20 20 20 2f 2a 70 6f |28-' '];| /*po|
|00004a30| 69 6e 74 65 72 20 74 61 | 62 6c 65 20 66 6f 72 20 |inter ta|ble for |
|00004a40| 70 72 69 6e 74 20 63 6f | 6e 74 72 6f 6c 20 2a 2f |print co|ntrol */|
|00004a50| 0a 63 68 61 72 20 09 2a | 72 6f 5f 74 70 74 72 5b |.char .*|ro_tptr[|
|00004a60| 31 32 38 2d 27 20 27 5d | 3b 20 20 20 20 2f 2a 70 |128-' ']|; /*p|
|00004a70| 6f 69 6e 74 65 72 20 74 | 61 62 6c 65 20 66 6f 72 |ointer t|able for|
|00004a80| 20 74 72 61 6e 73 6c 61 | 74 69 6f 6e 20 73 74 72 | transla|tion str|
|00004a90| 69 6e 67 73 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ings. | |
|00004aa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 66 | | f|
|00004ab0| 6f 72 20 63 68 61 72 3b | 20 69 6e 69 74 69 61 6c |or char;| initial|
|00004ac0| 69 7a 65 20 74 6f 20 6e | 75 6c 6c 20 20 2a 2f 0a |ize to n|ull */.|
|00004ad0| 0a 73 74 72 75 63 74 20 | 09 64 69 76 66 64 20 2a |.struct |.divfd *|
|00004ae0| 64 6c 69 6e 6b 3b 09 2f | 2a 20 70 6f 69 6e 74 73 |dlink;./|* points|
|00004af0| 20 74 6f 20 68 65 61 64 | 20 6f 66 20 64 69 76 65 | to head| of dive|
|00004b00| 72 73 69 6f 6e 20 6c 69 | 73 74 20 20 2a 2f 0a 73 |rsion li|st */.s|
|00004b10| 74 72 75 63 74 20 09 64 | 69 76 66 64 20 2a 72 6c |truct .d|ivfd *rl|
|00004b20| 69 6e 6b 3b 09 2f 2a 20 | 70 6f 69 6e 74 73 20 74 |ink;./* |points t|
|00004b30| 6f 20 68 65 61 64 20 6f | 66 20 72 65 67 69 73 74 |o head o|f regist|
|00004b40| 65 72 20 76 61 72 69 61 | 62 6c 65 20 6c 69 73 74 |er varia|ble list|
|00004b50| 20 20 2a 2f 0a 73 74 72 | 75 63 74 20 09 64 69 76 | */.str|uct .div|
|00004b60| 66 64 20 2a 73 6c 69 6e | 6b 3b 09 2f 2a 20 70 6f |fd *slin|k;./* po|
|00004b70| 69 6e 74 73 20 74 6f 20 | 68 65 61 64 20 6f 66 20 |ints to |head of |
|00004b80| 6c 69 6e 6b 65 64 20 73 | 74 72 69 6e 67 20 6c 69 |linked s|tring li|
|00004b90| 73 74 20 20 2a 2f 0a 73 | 74 72 75 63 74 20 09 64 |st */.s|truct .d|
|00004ba0| 69 76 66 64 20 2a 6d 6c | 69 6e 6b 3b 09 2f 2a 20 |ivfd *ml|ink;./* |
|00004bb0| 70 6f 69 6e 74 73 20 74 | 6f 20 68 65 61 64 20 6f |points t|o head o|
|00004bc0| 66 20 6c 69 6e 6b 65 64 | 20 6d 61 63 72 6f 20 6c |f linked| macro l|
|00004bd0| 69 73 74 20 20 2a 2f 0a | 0a 2f 2a 66 6f 6c 6c 6f |ist */.|./*follo|
|00004be0| 77 69 6e 67 20 61 64 64 | 65 64 20 66 6f 72 20 62 |wing add|ed for b|
|00004bf0| 75 66 66 65 72 65 64 20 | 61 6e 64 20 66 6f 72 6d |uffered |and form|
|00004c00| 61 74 74 65 64 20 6f 75 | 74 70 75 74 3a 20 20 20 |atted ou|tput: |
|00004c10| 2a 2f 0a 0a 63 68 61 72 | 20 09 72 6f 5f 6f 75 74 |*/..char| .ro_out|
|00004c20| 32 62 75 66 5b 4c 53 5a | 5d 3b 20 20 20 20 20 20 |2buf[LSZ|]; |
|00004c30| 2f 2a 66 6f 72 20 6c 69 | 6e 65 20 74 6f 20 62 65 |/*for li|ne to be|
|00004c40| 20 6f 75 74 70 75 74 20 | 69 6e 20 66 61 6e 63 79 | output |in fancy|
|00004c50| 20 66 6d 74 20 2a 2f 0a | 69 6e 74 20 09 72 6f 5f | fmt */.|int .ro_|
|00004c60| 62 70 6f 73 2c 20 72 6f | 5f 63 70 2c 20 72 6f 5f |bpos, ro|_cp, ro_|
|00004c70| 70 70 3b 20 20 20 20 20 | 20 20 20 20 2f 2a 62 75 |pp; | /*bu|
|00004c80| 66 66 65 72 2c 63 6f 6c | 75 6d 6e 2c 70 72 69 6e |ffer,col|umn,prin|
|00004c90| 74 65 72 20 70 6f 73 69 | 74 69 6f 6e 73 20 2a 2f |ter posi|tions */|
|00004ca0| 0a 63 68 61 72 20 09 72 | 6f 5f 78 62 75 66 5b 4c |.char .r|o_xbuf[L|
|00004cb0| 53 5a 5d 3b 20 20 20 20 | 20 20 20 20 20 2f 2a 73 |SZ]; | /*s|
|00004cc0| 74 72 69 6b 6f 75 74 20 | 62 75 66 66 65 72 20 2a |trikout |buffer *|
|00004cd0| 2f 0a 69 6e 74 20 09 72 | 6f 5f 78 66 2c 20 72 6f |/.int .r|o_xf, ro|
|00004ce0| 5f 78 63 6f 6c 3b 20 20 | 20 20 20 20 20 20 20 20 |_xcol; | |
|00004cf0| 20 20 2f 2a 20 22 20 66 | 6c 61 67 20 61 6e 64 20 | /* " f|lag and |
|00004d00| 63 6f 6c 75 6d 6e 20 20 | 2a 2f 0a 63 68 61 72 20 |column |*/.char |
|00004d10| 09 72 6f 5f 75 62 75 66 | 5b 4c 53 5a 5d 3b 20 20 |.ro_ubuf|[LSZ]; |
|00004d20| 20 20 20 20 20 20 20 2f | 2a 75 6e 64 65 72 6c 69 | /|*underli|
|00004d30| 6e 65 20 62 75 66 66 65 | 72 20 2a 2f 0a 69 6e 74 |ne buffe|r */.int|
|00004d40| 20 09 72 6f 5f 75 66 2c | 20 72 6f 5f 75 63 6f 6c | .ro_uf,| ro_ucol|
|00004d50| 3b 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2a 20 |; | /* |
|00004d60| 22 20 66 6c 61 67 20 61 | 6e 64 20 63 6f 6c 75 6d |" flag a|nd colum|
|00004d70| 6e 20 20 2a 2f 0a 69 6e | 74 20 09 72 6f 5f 66 69 |n */.in|t .ro_fi|
|00004d80| 72 73 74 3b 20 20 20 20 | 20 20 20 20 20 20 20 20 |rst; | |
|00004d90| 20 20 2f 2a 66 6c 61 67 | 20 66 6f 72 20 66 69 72 | /*flag| for fir|
|00004da0| 73 74 20 70 61 73 73 20 | 2a 2f 0a 63 68 61 72 20 |st pass |*/.char |
|00004db0| 09 72 6f 5f 64 62 75 66 | 5b 4c 53 5a 5d 3b 20 20 |.ro_dbuf|[LSZ]; |
|00004dc0| 20 20 20 20 20 20 20 2f | 2a 64 6f 75 62 6c 65 20 | /|*double |
|00004dd0| 73 74 72 69 6b 65 20 62 | 75 66 66 65 72 20 2a 2f |strike b|uffer */|
|00004de0| 0a 69 6e 74 20 09 72 6f | 5f 64 70 6f 73 3b 0a 69 |.int .ro|_dpos;.i|
|00004df0| 6e 74 20 09 72 6f 5f 6f | 63 6e 74 3b 0a 69 6e 74 |nt .ro_o|cnt;.int|
|00004e00| 20 09 72 6f 5f 6d 63 6e | 74 3b 0a 69 6e 74 20 09 | .ro_mcn|t;.int .|
|00004e10| 72 6f 5f 62 6c 6b 63 6e | 74 3b 0a 0a 69 6e 74 20 |ro_blkcn|t;..int |
|00004e20| 09 72 6f 5f 6e 65 77 78 | 66 2c 20 72 6f 5f 6e 65 |.ro_newx|f, ro_ne|
|00004e30| 77 75 66 2c 20 72 6f 5f | 6e 65 77 6d 63 6e 74 3b |wuf, ro_|newmcnt;|
|00004e40| 20 2f 2a 20 33 72 64 20 | 4d 61 72 2c 38 35 20 3b | /* 3rd |Mar,85 ;|
|00004e50| 20 43 6f 6e 72 61 64 20 | 4b 77 6f 6b 20 20 2a 2f | Conrad |Kwok */|
|00004e60| 0a 63 68 61 72 20 09 72 | 6f 5f 6c 61 73 74 63 68 |.char .r|o_lastch|
|00004e70| 3b 20 20 20 20 2f 2a 20 | 35 74 68 20 4d 61 72 2c |; /* |5th Mar,|
|00004e80| 38 35 20 20 3b 20 20 43 | 6f 6e 72 61 64 20 4b 77 |85 ; C|onrad Kw|
|00004e90| 6f 6b 20 20 2a 2f 0a 0a | 63 68 61 72 20 09 72 6f |ok */..|char .ro|
|00004ea0| 5f 62 61 63 6b 62 75 66 | 5b 42 41 43 4b 53 49 5a |_backbuf|[BACKSIZ|
|00004eb0| 45 5d 3b 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |E]; | |
|00004ec0| 20 20 20 20 2f 2a 20 42 | 61 63 6b 75 70 20 62 75 | /* B|ackup bu|
|00004ed0| 66 66 65 72 20 20 2a 2f | 0a 69 6e 74 20 09 72 6f |ffer */|.int .ro|
|00004ee0| 5f 62 69 6e 70 3b 20 20 | 20 20 20 20 20 20 20 20 |_binp; | |
|00004ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004f00| 20 20 20 20 20 2f 2a 20 | 50 6f 73 69 74 69 6f 6e | /* |Position|
|00004f10| 20 69 6e 20 61 62 6f 76 | 65 3b 69 6e 69 74 20 74 | in abov|e;init t|
|00004f20| 6f 20 30 20 20 2a 2f 0a | 63 68 61 72 20 09 72 6f |o 0 */.|char .ro|
|00004f30| 5f 6b 65 79 62 64 3b 20 | 20 20 20 20 20 20 20 20 |_keybd; | |
|00004f40| 20 20 20 20 2f 2a 62 6f | 6f 6c 65 61 6e 20 26 20 | /*bo|olean & |
|00004f50| 70 72 6f 6d 70 74 20 66 | 6f 72 20 6b 65 79 62 6f |prompt f|or keybo|
|00004f60| 61 72 64 20 69 6e 70 75 | 74 20 2a 2f 0a 63 68 61 |ard inpu|t */.cha|
|00004f70| 72 20 09 72 6f 5f 6b 6c | 69 6e 65 5b 4d 41 58 4c |r .ro_kl|ine[MAXL|
|00004f80| 49 4e 45 5d 3b 20 20 20 | 20 2f 2a 6b 65 79 62 6f |INE]; | /*keybo|
|00004f90| 61 72 64 20 6c 69 6e 65 | 20 69 6e 70 75 74 20 62 |ard line| input b|
|00004fa0| 75 66 66 65 72 20 2a 2f | 0a 63 68 61 72 20 09 2a |uffer */|.char .*|
|00004fb0| 72 6f 5f 6b 70 74 72 3b | 20 20 20 20 20 20 20 20 |ro_kptr;| |
|00004fc0| 20 20 20 20 20 2f 2a 70 | 6f 69 6e 74 65 72 20 66 | /*p|ointer f|
|00004fd0| 6f 72 20 61 62 6f 76 65 | 20 2a 2f 0a 0a 69 6e 74 |or above| */..int|
|00004fe0| 20 20 20 20 20 09 72 6f | 5f 66 70 74 72 3b 0a 46 | .ro|_fptr;.F|
|00004ff0| 49 4c 45 20 09 2a 72 6f | 5f 66 73 74 61 63 6b 5b |ILE .*ro|_fstack[|
|00005000| 46 4d 41 58 5d 3b 0a 69 | 6e 74 09 72 6f 5f 74 66 |FMAX];.i|nt.ro_tf|
|00005010| 6c 61 67 3b 2f 2a 61 64 | 64 65 64 20 66 6f 72 20 |lag;/*ad|ded for |
|00005020| 73 74 61 72 74 28 29 2c | 20 63 6f 6d 70 6c 65 74 |start(),| complet|
|00005030| 65 28 29 20 2a 2f 0a 69 | 6e 74 20 09 72 6f 5f 78 |e() */.i|nt .ro_x|
|00005040| 66 32 2c 20 72 6f 5f 75 | 66 32 2c 20 72 6f 5f 6d |f2, ro_u|f2, ro_m|
|00005050| 63 6e 74 32 3b 0a 0a 2f | 2a 2a 2a 2a 2a 2a 20 44 |cnt2;../|****** D|
|00005060| 45 43 4c 41 52 41 54 49 | 4f 4e 53 20 46 4f 52 20 |ECLARATI|ONS FOR |
|00005070| 45 58 54 45 52 4e 41 4c | 20 46 55 4e 43 54 49 4f |EXTERNAL| FUNCTIO|
|00005080| 4e 53 20 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 20 |NS *****|******* |
|00005090| 2a 2f 0a 0a 2f 2a 20 20 | 20 20 20 20 44 65 63 6c |*/../* | Decl|
|000050a0| 61 72 61 74 69 6f 6e 73 | 20 6f 66 20 65 78 74 65 |arations| of exte|
|000050b0| 72 6e 61 6c 73 0a 20 2a | 0a 20 2a 0a 20 2a 2f 0a |rnals. *|. *. */.|
|000050c0| 0a 23 69 66 6e 64 65 66 | 20 5f 5f 53 54 44 43 5f |.#ifndef| __STDC_|
|000050d0| 5f 0a 65 78 74 65 72 6e | 20 20 63 68 61 72 20 2a |_.extern| char *|
|000050e0| 6d 61 6c 6c 6f 63 28 29 | 3b 0a 23 65 6e 64 69 66 |malloc()|;.#endif|
|000050f0| 0a 65 78 74 65 72 6e 20 | 20 63 68 61 72 20 2a 6d |.extern | char *m|
|00005100| 61 63 71 28 29 3b 0a 65 | 78 74 65 72 6e 20 09 73 |acq();.e|xtern .s|
|00005110| 74 72 75 63 74 20 64 69 | 76 66 64 20 2a 20 66 69 |truct di|vfd * fi|
|00005120| 6e 64 32 28 29 3b 0a 65 | 78 74 65 72 6e 20 20 63 |nd2();.e|xtern c|
|00005130| 68 61 72 20 72 6f 5f 67 | 65 74 63 68 28 29 3b 0a |har ro_g|etch();.|
|00005140| 0a 2f 2a 2a 2a 2a 2a 2a | 2a 2a 20 45 4e 44 20 4f |./******|** END O|
|00005150| 46 20 46 49 4c 45 20 2a | 2a 2a 2a 2a 2a 2a 2a 2a |F FILE *|********|
|00005160| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005170| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2f 0a 0a 0a 20 20 |********|**/... |
|00005180| 2f 2a 20 6e 6f 20 66 69 | 6c 6c 20 2a 2f 0a 23 64 |/* no fi|ll */.#d|
|00005190| 65 66 69 6e 65 20 50 4c | 20 20 20 20 20 20 20 20 |efine PL| |
|000051a0| 20 20 20 20 20 20 31 30 | 20 20 20 20 20 20 2f 2a | 10| /*|
|000051b0| 20 73 65 74 20 70 61 67 | 65 20 6c 65 6e 67 74 68 | set pag|e length|
|000051c0| 20 2a 2f 0a 23 64 65 66 | 69 6e 65 20 4c 4c 20 20 | */.#def|ine LL |
|000051d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 31 31 20 20 | | 11 |
|000051e0| 20 20 20 20 2f 2a 20 73 | 65 74 20 6c 69 6e 65 20 | /* s|et line |
|000051f0| 6c 65 6e 67 74 68 20 28 | 72 69 67 68 74 20 6d 61 |length (|right ma|
|00005200| 72 6f 2f 72 6f 2e 63 00 | 00 00 00 00 00 00 00 00 |ro/ro.c.|........|
|00005210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005260| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 31 35 |.... 6|44 . 15|
|00005270| 32 34 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |24 . |13 . |
|00005280| 20 20 33 35 32 34 37 20 | 20 34 35 37 32 35 32 34 | 35247 | 4572524|
|00005290| 37 31 36 20 20 20 35 34 | 30 30 00 20 00 00 00 00 |716 54|00. ....|
|000052a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005400| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00005410| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005420| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005430| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2f 0a 2f 2a 09 09 09 |********|*/./*...|
|00005440| 09 09 09 09 2a 2f 0a 2f | 2a 09 72 6f 2e 63 09 09 |....*/./|*.ro.c..|
|00005450| 6d 61 69 6e 20 70 72 6f | 67 72 61 6d 20 66 69 6c |main pro|gram fil|
|00005460| 65 20 66 6f 72 20 72 6f | 09 2a 2f 0a 2f 2a 09 09 |e for ro|.*/./*..|
|00005470| 09 09 09 09 09 2a 2f 0a | 2f 2a 09 72 6f 20 76 65 |.....*/.|/*.ro ve|
|00005480| 72 73 69 6f 6e 20 31 2e | 30 30 09 09 09 09 09 2a |rsion 1.|00.....*|
|00005490| 2f 0a 2f 2a 09 09 09 09 | 09 09 09 2a 2f 0a 2f 2a |/./*....|...*/./*|
|000054a0| 09 50 6f 72 74 69 6f 6e | 73 20 63 6f 70 79 72 69 |.Portion|s copyri|
|000054b0| 67 68 74 20 28 63 29 20 | 31 39 38 39 20 62 79 20 |ght (c) |1989 by |
|000054c0| 54 65 64 20 41 2e 20 43 | 61 6d 70 62 65 6c 6c 09 |Ted A. C|ampbell.|
|000054d0| 2a 2f 0a 2f 2a 09 09 42 | 79 77 61 74 65 72 20 53 |*/./*..B|ywater S|
|000054e0| 6f 66 74 77 61 72 65 09 | 09 09 2a 2f 0a 2f 2a 09 |oftware.|..*/./*.|
|000054f0| 09 50 2e 20 4f 2e 20 42 | 6f 78 20 34 30 32 33 09 |.P. O. B|ox 4023.|
|00005500| 09 09 09 2a 2f 0a 2f 2a | 09 09 44 75 6b 65 20 53 |...*/./*|..Duke S|
|00005510| 74 61 74 69 6f 6e 09 09 | 09 09 2a 2f 0a 2f 2a 09 |tation..|..*/./*.|
|00005520| 09 44 75 72 68 61 6d 2c | 20 4e 43 20 20 32 37 37 |.Durham,| NC 277|
|00005530| 30 36 09 09 09 2a 2f 0a | 2f 2a 09 09 09 09 09 09 |06...*/.|/*......|
|00005540| 09 2a 2f 0a 2f 2a 09 43 | 6f 6e 74 61 69 6e 73 20 |.*/./*.C|ontains |
|00005550| 70 6f 72 74 69 6f 6e 73 | 20 6f 66 20 52 4f 46 46 |portions| of ROFF|
|00005560| 34 2c 20 56 65 72 73 69 | 6f 6e 20 31 2e 36 30 09 |4, Versi|on 1.60.|
|00005570| 2a 2f 0a 2f 2a 20 20 20 | 20 20 20 28 63 29 20 31 |*/./* | (c) 1|
|00005580| 39 38 33 2c 20 34 20 62 | 79 20 45 72 6e 65 73 74 |983, 4 b|y Ernest|
|00005590| 20 45 2e 20 42 65 72 67 | 6d 61 6e 6e 20 20 20 20 | E. Berg|mann |
|000055a0| 20 20 20 20 20 20 20 20 | 20 20 20 2a 2f 0a 2f 2a | | */./*|
|000055b0| 09 09 50 68 79 73 69 63 | 73 2c 20 42 75 69 6c 64 |..Physic|s, Build|
|000055c0| 69 6e 67 20 23 31 36 09 | 09 09 2a 2f 0a 2f 2a 09 |ing #16.|..*/./*.|
|000055d0| 09 4c 65 68 69 67 68 20 | 55 6e 69 76 65 72 73 69 |.Lehigh |Universi|
|000055e0| 74 79 09 09 09 2a 2f 0a | 2f 2a 09 09 42 65 74 68 |ty...*/.|/*..Beth|
|000055f0| 6c 65 68 65 6d 2c 20 50 | 61 2e 20 31 38 30 31 35 |lehem, P|a. 18015|
|00005600| 09 09 09 2a 2f 0a 2f 2a | 09 09 09 09 09 09 09 2a |...*/./*|.......*|
|00005610| 2f 0a 2f 2a 09 43 6f 6e | 74 61 69 6e 73 20 70 6f |/./*.Con|tains po|
|00005620| 72 74 69 6f 6e 73 20 6f | 66 20 52 4f 46 46 34 2c |rtions o|f ROFF4,|
|00005630| 20 56 65 72 73 69 6f 6e | 20 31 2e 36 31 09 2a 2f | Version| 1.61.*/|
|00005640| 0a 2f 2a 20 20 20 20 20 | 20 28 63 29 20 31 39 38 |./* | (c) 198|
|00005650| 35 20 62 79 20 4b 6f 6e | 72 61 64 20 4b 77 6f 6b |5 by Kon|rad Kwok|
|00005660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005670| 20 20 20 20 20 20 20 20 | 20 2a 2f 0a 2f 2a 09 09 | | */./*..|
|00005680| 32 30 20 33 72 64 20 53 | 74 72 65 65 74 2c 20 53 |20 3rd S|treet, S|
|00005690| 65 63 74 69 6f 6e 20 4d | 09 09 2a 2f 0a 2f 2a 09 |ection M|..*/./*.|
|000056a0| 09 46 61 72 69 76 69 65 | 77 20 50 61 72 6b 2c 09 |.Farivie|w Park,.|
|000056b0| 09 09 09 2a 2f 0a 2f 2a | 09 09 48 6f 6e 67 20 4b |...*/./*|..Hong K|
|000056c0| 6f 6e 67 09 09 09 09 2a | 2f 0a 2f 2a 09 09 09 09 |ong....*|/./*....|
|000056d0| 09 09 09 2a 2f 0a 2f 2a | 09 72 6f 20 61 6e 64 20 |...*/./*|.ro and |
|000056e0| 69 74 73 20 70 72 65 64 | 65 63 65 73 73 6f 72 20 |its pred|ecessor |
|000056f0| 52 4f 46 46 34 20 61 72 | 65 20 62 61 73 65 64 20 |ROFF4 ar|e based |
|00005700| 6f 6e 20 09 2a 2f 0a 2f | 2a 09 74 68 65 20 52 4f |on .*/./|*.the RO|
|00005710| 46 46 20 74 65 78 74 20 | 70 72 6f 63 65 73 73 6f |FF text |processo|
|00005720| 72 20 64 65 73 63 72 69 | 62 65 64 20 69 6e 20 4b |r descri|bed in K|
|00005730| 65 72 6e 69 67 61 6e 09 | 2a 2f 0a 2f 2a 09 61 6e |ernigan.|*/./*.an|
|00005740| 64 20 50 6c 61 75 67 65 | 72 27 73 20 6e 6f 77 2d |d Plauge|r's now-|
|00005750| 63 6c 61 73 73 69 63 20 | 74 65 78 74 20 3c 53 6f |classic |text <So|
|00005760| 66 74 77 61 72 65 20 54 | 6f 6f 6c 73 3e 20 2a 2f |ftware T|ools> */|
|00005770| 0a 2f 2a 09 09 09 09 09 | 09 09 2a 2f 0a 2f 2a 20 |./*.....|..*/./* |
|00005780| 50 65 72 6d 69 73 73 69 | 6f 6e 20 69 73 20 68 65 |Permissi|on is he|
|00005790| 72 65 62 79 20 67 72 61 | 6e 74 65 64 20 66 6f 72 |reby gra|nted for|
|000057a0| 20 61 6c 6c 20 63 6f 6d | 6d 65 72 63 69 61 6c 20 | all com|mercial |
|000057b0| 61 6e 64 09 2a 2f 0a 2f | 2a 20 6e 6f 6e 2d 63 6f |and.*/./|* non-co|
|000057c0| 6d 6d 65 72 63 69 61 6c | 20 72 65 70 72 6f 64 75 |mmercial| reprodu|
|000057d0| 63 74 69 6f 6e 20 61 6e | 64 20 64 69 73 74 72 69 |ction an|d distri|
|000057e0| 62 75 74 69 6f 6e 20 6f | 66 20 74 68 69 73 20 2a |bution o|f this *|
|000057f0| 2f 0a 2f 2a 20 6d 61 74 | 65 72 69 61 6c 20 70 72 |/./* mat|erial pr|
|00005800| 6f 76 69 64 65 64 20 74 | 68 69 73 20 6e 6f 74 69 |ovided t|his noti|
|00005810| 63 65 20 69 73 20 69 6e | 63 6c 75 64 65 64 2e 09 |ce is in|cluded..|
|00005820| 09 2a 2f 0a 2f 2a 09 09 | 09 09 09 09 09 2a 2f 0a |.*/./*..|.....*/.|
|00005830| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00005840| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005850| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005860| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2f 0a 0a 23 69 6e 63 |********|*/..#inc|
|00005870| 6c 75 64 65 20 22 72 6f | 2e 68 22 0a 0a 65 78 74 |lude "ro|.h"..ext|
|00005880| 65 72 6e 20 20 63 68 61 | 72 20 2a 72 6f 5f 67 65 |ern cha|r *ro_ge|
|00005890| 74 73 28 29 3b 0a 0a 69 | 6e 74 20 72 6f 5f 69 6c |ts();..i|nt ro_il|
|000058a0| 69 6e 65 20 3d 20 30 3b | 0a 69 6e 74 20 72 6f 5f |ine = 0;|.int ro_|
|000058b0| 64 65 6e 6f 20 3d 20 30 | 3b 0a 0a 2f 2a 2a 2a 2a |deno = 0|;../****|
|000058c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 4d 41 49 |********|*****MAI|
|000058d0| 4e 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 4d 41 49 |N*******|*****MAI|
|000058e0| 4e 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2f 0a 0a 6d 61 69 |N*******|**/..mai|
|000058f0| 6e 28 20 61 72 67 63 2c | 20 61 72 67 76 20 29 0a |n( argc,| argv ).|
|00005900| 09 69 6e 74 20 61 72 67 | 63 3b 0a 09 63 68 61 72 |.int arg|c;..char|
|00005910| 20 2a 2a 61 72 67 76 3b | 0a 09 7b 0a 09 72 65 67 | **argv;|..{..reg|
|00005920| 69 73 74 65 72 20 69 6e | 74 20 6e 3b 0a 09 69 6e |ister in|t n;..in|
|00005930| 74 20 66 73 3b 0a 09 63 | 68 61 72 20 6f 70 74 69 |t fs;..c|har opti|
|00005940| 6f 6e 2c 20 2a 70 63 3b | 0a 09 63 68 61 72 20 66 |on, *pc;|..char f|
|00005950| 69 6c 65 6e 61 6d 65 5b | 32 30 5d 3b 0a 09 73 74 |ilename[|20];..st|
|00005960| 72 75 63 74 20 64 69 76 | 66 64 20 2a 70 64 3b 0a |ruct div|fd *pd;.|
|00005970| 0a 09 72 6f 5f 6c 61 73 | 74 63 68 20 3d 20 4e 55 |..ro_las|tch = NU|
|00005980| 4c 4c 3b 0a 09 64 65 62 | 75 67 20 3d 20 46 41 4c |LL;..deb|ug = FAL|
|00005990| 53 45 3b 0a 09 72 6f 5f | 76 65 72 62 6f 73 65 20 |SE;..ro_|verbose |
|000059a0| 3d 20 46 41 4c 53 45 3b | 0a 0a 09 69 6e 69 74 5f |= FALSE;|...init_|
|000059b0| 64 65 66 61 75 6c 74 73 | 28 29 3b 0a 0a 09 2f 2a |defaults|();.../*|
|000059c0| 2a 2a 20 20 20 20 46 69 | 72 73 74 20 70 72 6f 63 |** Fi|rst proc|
|000059d0| 65 73 73 20 61 6e 79 20 | 66 6c 61 67 73 20 20 20 |ess any |flags |
|000059e0| 20 20 20 20 20 20 2a 2a | 2a 2f 0a 0a 09 66 6f 72 | **|*/...for|
|000059f0| 20 28 20 6e 20 3d 20 31 | 3b 20 6e 20 3c 20 61 72 | ( n = 1|; n < ar|
|00005a00| 67 63 3b 20 2b 2b 6e 20 | 29 0a 09 09 7b 20 0a 09 |gc; ++n |)...{ ..|
|00005a10| 09 73 74 72 63 70 79 28 | 20 66 69 6c 65 6e 61 6d |.strcpy(| filenam|
|00005a20| 65 2c 20 61 72 67 76 5b | 20 6e 20 5d 20 29 3b 0a |e, argv[| n ] );.|
|00005a30| 0a 09 09 69 66 20 28 20 | 66 69 6c 65 6e 61 6d 65 |...if ( |filename|
|00005a40| 5b 30 5d 20 3d 3d 20 27 | 2d 27 20 29 0a 09 09 09 |[0] == '|-' )....|
|00005a50| 7b 0a 09 09 09 6f 70 74 | 69 6f 6e 20 3d 20 66 69 |{....opt|ion = fi|
|00005a60| 6c 65 6e 61 6d 65 5b 31 | 5d 3b 0a 09 09 09 69 66 |lename[1|];....if|
|00005a70| 20 20 20 20 20 20 28 20 | 6f 70 74 69 6f 6e 20 3d | ( |option =|
|00005a80| 3d 20 27 73 27 20 29 20 | 72 6f 5f 70 61 67 65 73 |= 's' ) |ro_pages|
|00005a90| 74 6f 70 20 3d 20 54 52 | 55 45 3b 0a 09 09 09 65 |top = TR|UE;....e|
|00005aa0| 6c 73 65 20 69 66 20 28 | 20 6f 70 74 69 6f 6e 20 |lse if (| option |
|00005ab0| 3d 3d 20 27 6f 27 20 29 | 20 72 61 6e 67 65 28 20 |== 'o' )| range( |
|00005ac0| 26 66 69 6c 65 6e 61 6d | 65 5b 32 5d 20 29 3b 0a |&filenam|e[2] );.|
|00005ad0| 09 09 09 65 6c 73 65 20 | 69 66 20 28 20 6f 70 74 |...else |if ( opt|
|00005ae0| 69 6f 6e 20 3d 3d 20 27 | 66 27 20 29 20 72 6f 5f |ion == '|f' ) ro_|
|00005af0| 75 73 65 66 66 20 3d 20 | 54 52 55 45 3b 0a 09 09 |useff = |TRUE;...|
|00005b00| 09 65 6c 73 65 20 69 66 | 20 28 20 6f 70 74 69 6f |.else if| ( optio|
|00005b10| 6e 20 3d 3d 20 27 78 27 | 20 29 20 0a 09 09 09 09 |n == 'x'| ) .....|
|00005b20| 7b 0a 09 09 09 09 64 65 | 62 75 67 20 3d 20 54 52 |{.....de|bug = TR|
|00005b30| 55 45 3b 0a 09 09 09 09 | 72 6f 5f 76 65 72 62 6f |UE;.....|ro_verbo|
|00005b40| 73 65 20 3d 20 54 52 55 | 45 3b 0a 09 09 09 09 7d |se = TRU|E;.....}|
|00005b50| 0a 09 09 09 65 6c 73 65 | 20 69 66 20 28 20 6f 70 |....else| if ( op|
|00005b60| 74 69 6f 6e 20 3d 3d 20 | 27 76 27 20 29 20 72 6f |tion == |'v' ) ro|
|00005b70| 5f 76 65 72 62 6f 73 65 | 20 3d 20 54 52 55 45 3b |_verbose| = TRUE;|
|00005b80| 0a 09 09 09 63 6f 6e 74 | 69 6e 75 65 3b 0a 09 09 |....cont|inue;...|
|00005b90| 09 7d 0a 09 09 7d 0a 0a | 09 69 66 20 28 20 72 6f |.}...}..|.if ( ro|
|00005ba0| 5f 76 65 72 62 6f 73 65 | 20 3d 3d 20 54 52 55 45 |_verbose| == TRUE|
|00005bb0| 20 29 0a 09 09 7b 0a 09 | 09 66 70 72 69 6e 74 66 | )...{..|.fprintf|
|00005bc0| 28 20 73 74 64 65 72 72 | 2c 20 22 72 6f 2c 20 76 |( stderr|, "ro, v|
|00005bd0| 65 72 73 69 6f 6e 20 31 | 2e 30 30 20 5c 6e 22 20 |ersion 1|.00 \n" |
|00005be0| 29 3b 0a 09 09 7d 0a 0a | 09 69 66 20 44 45 42 55 |);...}..|.if DEBU|
|00005bf0| 47 0a 09 09 7b 0a 09 09 | 66 70 72 69 6e 74 66 28 |G...{...|fprintf(|
|00005c00| 20 73 74 64 65 72 72 2c | 20 22 44 45 42 55 47 3a | stderr,| "DEBUG:|
|00005c10| 20 20 69 6e 69 74 69 61 | 6c 20 2e 6c 73 20 73 65 | initia|l .ls se|
|00005c20| 74 74 69 6e 67 20 69 73 | 20 25 64 2e 20 5c 6e 22 |tting is| %d. \n"|
|00005c30| 2c 0a 09 09 09 72 6f 5f | 6c 73 76 61 6c 5b 30 5d |,....ro_|lsval[0]|
|00005c40| 20 29 3b 0a 09 09 7d 0a | 0a 09 2f 2a 20 4e 6f 77 | );...}.|../* Now|
|00005c50| 20 70 72 6f 63 65 73 73 | 20 61 6c 6c 20 66 69 6c | process| all fil|
|00005c60| 65 73 20 6e 61 6d 65 64 | 20 2a 2f 0a 0a 09 66 73 |es named| */...fs|
|00005c70| 20 3d 20 30 3b 0a 0a 09 | 66 6f 72 20 28 20 6e 20 | = 0;...|for ( n |
|00005c80| 3d 20 31 3b 20 6e 20 3c | 20 61 72 67 63 3b 20 2b |= 1; n <| argc; +|
|00005c90| 2b 6e 20 29 0a 09 09 7b | 20 0a 09 09 73 74 72 63 |+n )...{| ...strc|
|00005ca0| 70 79 28 20 66 69 6c 65 | 6e 61 6d 65 2c 20 61 72 |py( file|name, ar|
|00005cb0| 67 76 5b 20 6e 20 5d 20 | 29 3b 0a 09 09 69 66 20 |gv[ n ] |);...if |
|00005cc0| 28 20 66 69 6c 65 6e 61 | 6d 65 5b 30 5d 20 21 3d |( filena|me[0] !=|
|00005cd0| 20 27 2d 27 20 29 0a 09 | 09 09 7b 0a 0a 09 09 09 | '-' )..|..{.....|
|00005ce0| 69 66 28 20 70 64 20 3d | 20 66 69 6e 64 32 28 20 |if( pd =| find2( |
|00005cf0| 66 69 6c 65 6e 61 6d 65 | 2c 20 64 6c 69 6e 6b 20 |filename|, dlink |
|00005d00| 29 29 0a 09 09 09 09 7b | 0a 09 09 09 09 64 63 6c |)).....{|.....dcl|
|00005d10| 6f 73 65 28 20 70 64 20 | 29 3b 0a 09 09 09 09 7d |ose( pd |);.....}|
|00005d20| 0a 0a 09 09 09 69 66 20 | 28 28 20 69 6e 73 74 72 |.....if |(( instr|
|00005d30| 65 61 6d 20 3d 20 66 6f | 70 65 6e 28 20 66 69 6c |eam = fo|pen( fil|
|00005d40| 65 6e 61 6d 65 2c 20 22 | 72 22 20 29 29 20 3d 3d |ename, "|r" )) ==|
|00005d50| 20 4e 55 4c 4c 20 29 0a | 09 09 09 09 7b 0a 09 09 | NULL ).|....{...|
|00005d60| 09 09 66 70 72 69 6e 74 | 66 28 20 73 74 64 65 72 |..fprint|f( stder|
|00005d70| 72 2c 20 22 43 61 6e 27 | 74 20 6f 70 65 6e 20 3c |r, "Can'|t open <|
|00005d80| 25 73 3e 20 66 6f 72 20 | 69 6e 70 75 74 2e 5c 6e |%s> for |input.\n|
|00005d90| 22 2c 20 66 69 6c 65 6e | 61 6d 65 20 29 3b 0a 20 |", filen|ame );. |
|00005da0| 09 09 09 09 7d 0a 09 09 | 09 65 6c 73 65 0a 09 09 |....}...|.else...|
|00005db0| 09 09 7b 0a 09 09 09 09 | 2b 2b 66 73 3b 09 09 2f |..{.....|++fs;../|
|00005dc0| 2a 20 69 6e 63 2e 20 6e | 75 6d 62 65 72 20 6f 66 |* inc. n|umber of|
|00005dd0| 20 66 69 6c 65 73 20 2a | 2f 0a 09 09 09 09 69 66 | files *|/.....if|
|00005de0| 20 28 20 72 6f 5f 76 65 | 72 62 6f 73 65 20 3d 3d | ( ro_ve|rbose ==|
|00005df0| 20 54 52 55 45 20 29 0a | 09 09 09 09 09 7b 0a 09 | TRUE ).|.....{..|
|00005e00| 09 09 09 09 66 70 72 69 | 6e 74 66 28 20 73 74 64 |....fpri|ntf( std|
|00005e10| 65 72 72 2c 20 22 50 72 | 6f 63 65 73 73 69 6e 67 |err, "Pr|ocessing|
|00005e20| 20 3c 25 73 3e 5c 6e 22 | 2c 20 66 69 6c 65 6e 61 | <%s>\n"|, filena|
|00005e30| 6d 65 20 29 3b 0a 09 09 | 09 09 09 7d 0a 09 09 09 |me );...|...}....|
|00005e40| 09 64 6f 6c 6e 73 28 29 | 3b 0a 09 09 09 09 7d 0a |.dolns()|;.....}.|
|00005e50| 09 09 09 7d 0a 09 09 7d | 0a 0a 09 2f 2a 20 4e 6f |...}...}|.../* No|
|00005e60| 20 66 69 6c 65 73 20 6f | 70 65 6e 65 64 3b 20 74 | files o|pened; t|
|00005e70| 61 6b 65 20 69 6e 70 75 | 74 20 66 72 6f 6d 20 73 |ake inpu|t from s|
|00005e80| 74 64 69 6e 20 2a 2f 0a | 0a 09 69 66 20 28 20 66 |tdin */.|..if ( f|
|00005e90| 73 20 3d 3d 20 30 20 29 | 0a 09 09 7b 0a 09 09 69 |s == 0 )|...{...i|
|00005ea0| 66 20 28 20 72 6f 5f 76 | 65 72 62 6f 73 65 20 26 |f ( ro_v|erbose &|
|00005eb0| 26 20 72 6f 5f 70 61 67 | 65 73 74 6f 70 20 29 0a |& ro_pag|estop ).|
|00005ec0| 09 09 09 7b 0a 09 09 09 | 66 70 72 69 6e 74 66 28 |...{....|fprintf(|
|00005ed0| 20 73 74 64 65 72 72 2c | 20 22 45 52 52 4f 52 3a | stderr,| "ERROR:|
|00005ee0| 20 20 6f 6e 65 20 63 61 | 6e 6e 6f 74 20 75 73 65 | one ca|nnot use|
|00005ef0| 20 2d 73 20 28 70 61 67 | 65 20 73 74 6f 70 29 20 | -s (pag|e stop) |
|00005f00| 77 69 74 68 20 73 74 61 | 6e 64 61 72 64 20 69 6e |with sta|ndard in|
|00005f10| 70 75 74 2e 20 5c 6e 22 | 20 29 3b 0a 09 09 09 7d |put. \n"| );....}|
|00005f20| 0a 09 09 72 6f 5f 70 61 | 67 65 73 74 6f 70 20 3d |...ro_pa|gestop =|
|00005f30| 20 46 41 4c 53 45 3b 09 | 2f 2a 20 43 61 6e 6e 6f | FALSE;.|/* Canno|
|00005f40| 74 20 75 73 65 20 70 61 | 67 65 20 73 74 6f 70 20 |t use pa|ge stop |
|00005f50| 69 66 20 73 74 64 69 6e | 20 2a 2f 0a 09 09 69 6e |if stdin| */...in|
|00005f60| 73 74 72 65 61 6d 20 3d | 20 73 74 64 69 6e 3b 0a |stream =| stdin;.|
|00005f70| 09 09 64 6f 6c 6e 73 28 | 29 3b 0a 09 09 7d 0a 0a |..dolns(|);...}..|
|00005f80| 09 72 6f 5f 62 72 6b 28 | 29 3b 0a 09 72 6f 5f 76 |.ro_brk(|);..ro_v|
|00005f90| 6c 69 6e 65 6e 6f 20 3d | 20 72 6f 5f 70 6c 76 61 |lineno =| ro_plva|
|00005fa0| 6c 5b 20 30 20 5d 3b 0a | 09 70 61 64 76 28 29 3b |l[ 0 ];.|.padv();|
|00005fb0| 0a 09 69 66 20 28 20 72 | 6f 5f 75 73 65 66 66 20 |..if ( r|o_useff |
|00005fc0| 29 20 70 75 74 63 68 61 | 72 28 20 46 4f 52 4d 46 |) putcha|r( FORMF|
|00005fd0| 20 29 3b 0a 09 64 73 63 | 6c 6f 73 65 28 29 3b 20 | );..dsc|lose(); |
|00005fe0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005ff0| 20 20 20 20 20 2f 2a 20 | 43 6c 6f 73 65 20 61 6c | /* |Close al|
|00006000| 6c 20 64 69 76 65 72 73 | 69 6f 6e 73 20 2a 2f 0a |l divers|ions */.|
|00006010| 09 7d 09 09 09 09 2f 2a | 20 65 6e 64 20 6d 61 69 |.}..../*| end mai|
|00006020| 6e 28 29 09 09 20 2a 2f | 0a 0a 2f 2a 2a 2a 2a 2a |n().. */|../*****|
|00006030| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00006040| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00006050| 2a 2a 2a 2f 0a 2f 2a 20 | 64 6f 20 70 72 6f 63 65 |***/./* |do proce|
|00006060| 73 73 69 6e 67 20 6f 66 | 20 6c 69 6e 65 73 20 09 |ssing of| lines .|
|00006070| 09 2a 2f 0a 2f 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |.*/./***|********|
|00006080| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00006090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2f 0a 0a |********|*****/..|
|000060a0| 64 6f 6c 6e 73 28 29 20 | 0a 09 7b 0a 09 63 68 61 |dolns() |..{..cha|
|000060b0| 72 20 2a 70 63 3b 0a 09 | 73 74 72 75 63 74 20 64 |r *pc;..|struct d|
|000060c0| 69 76 66 64 20 2a 73 70 | 74 72 3b 0a 09 73 74 61 |ivfd *sp|tr;..sta|
|000060d0| 74 69 63 20 63 68 61 72 | 20 6e 61 6d 65 5b 20 31 |tic char| name[ 1|
|000060e0| 32 20 5d 3b 0a 09 72 6f | 5f 62 69 6e 70 20 3d 20 |2 ];..ro|_binp = |
|000060f0| 30 3b 0a 0a 09 77 68 69 | 6c 65 20 28 20 21 66 65 |0;...whi|le ( !fe|
|00006100| 6f 66 28 20 69 6e 73 74 | 72 65 61 6d 20 29 20 7c |of( inst|ream ) ||
|00006110| 20 72 6f 5f 66 70 74 72 | 20 7c 20 72 6f 5f 62 69 | ro_fptr| | ro_bi|
|00006120| 6e 70 20 29 0a 09 09 7b | 0a 09 09 72 6f 5f 67 65 |np )...{|...ro_ge|
|00006130| 74 73 28 20 72 6f 5f 63 | 75 72 6c 69 6e 65 20 29 |ts( ro_c|urline )|
|00006140| 3b 0a 09 09 2b 2b 72 6f | 5f 69 6c 69 6e 65 3b 0a |;...++ro|_iline;.|
|00006150| 0a 09 09 69 66 20 44 45 | 42 55 47 0a 09 09 09 7b |...if DE|BUG....{|
|00006160| 0a 09 09 09 66 70 72 69 | 6e 74 66 28 20 73 74 64 |....fpri|ntf( std|
|00006170| 65 72 72 2c 20 22 44 45 | 42 55 47 3a 20 20 69 6e |err, "DE|BUG: in|
|00006180| 70 75 74 20 6c 69 6e 65 | 20 23 20 25 64 20 3c 25 |put line| # %d <%|
|00006190| 73 3e 20 5c 6e 22 2c 0a | 09 09 09 09 72 6f 5f 69 |s> \n",.|....ro_i|
|000061a0| 6c 69 6e 65 2c 20 72 6f | 5f 63 75 72 6c 69 6e 65 |line, ro|_curline|
|000061b0| 20 29 3b 0a 09 09 09 66 | 70 72 69 6e 74 66 28 20 | );....f|printf( |
|000061c0| 73 74 64 65 72 72 2c 20 | 22 44 45 42 55 47 3a 20 |stderr, |"DEBUG: |
|000061d0| 20 72 6f 5f 63 75 72 6c | 69 6e 65 5b 30 5d 20 69 | ro_curl|ine[0] i|
|000061e0| 73 20 3c 25 63 3e 20 28 | 30 78 25 78 29 5c 6e 22 |s <%c> (|0x%x)\n"|
|000061f0| 2c 20 0a 09 09 09 09 72 | 6f 5f 63 75 72 6c 69 6e |, .....r|o_curlin|
|00006200| 65 5b 30 5d 2c 20 72 6f | 5f 63 75 72 6c 69 6e 65 |e[0], ro|_curline|
|00006210| 5b 30 5d 20 29 3b 0a 09 | 09 09 7d 0a 0a 09 09 69 |[0] );..|..}....i|
|00006220| 66 20 28 20 72 6f 5f 63 | 75 72 6c 69 6e 65 5b 20 |f ( ro_c|urline[ |
|00006230| 30 20 5d 20 3d 3d 20 43 | 4f 4d 4d 41 4e 44 20 29 |0 ] == C|OMMAND )|
|00006240| 0a 09 09 09 7b 0a 09 09 | 09 6e 61 6d 65 5b 20 30 |....{...|.name[ 0|
|00006250| 20 5d 20 3d 20 72 6f 5f | 63 75 72 6c 69 6e 65 5b | ] = ro_|curline[|
|00006260| 20 31 20 5d 3b 0a 09 09 | 09 69 66 20 28 20 63 6c | 1 ];...|.if ( cl|
|00006270| 61 73 73 28 20 72 6f 5f | 63 75 72 6c 69 6e 65 5b |ass( ro_|curline[|
|00006280| 20 32 20 5d 20 29 20 3d | 3d 20 42 4c 41 43 4b 20 | 2 ] ) =|= BLACK |
|00006290| 29 0a 09 09 09 09 7b 0a | 09 09 09 09 6e 61 6d 65 |).....{.|....name|
|000062a0| 5b 20 31 20 5d 20 3d 20 | 72 6f 5f 63 75 72 6c 69 |[ 1 ] = |ro_curli|
|000062b0| 6e 65 5b 20 32 20 5d 3b | 0a 09 09 09 09 6e 61 6d |ne[ 2 ];|.....nam|
|000062c0| 65 5b 20 32 20 5d 20 3d | 20 27 5c 30 27 3b 0a 09 |e[ 2 ] =| '\0';..|
|000062d0| 09 09 09 7d 0a 09 09 09 | 65 6c 73 65 0a 09 09 09 |...}....|else....|
|000062e0| 09 7b 0a 09 09 09 09 6e | 61 6d 65 5b 20 31 20 5d |.{.....n|ame[ 1 ]|
|000062f0| 20 3d 20 27 5c 30 27 3b | 0a 09 09 09 09 7d 0a 09 | = '\0';|.....}..|
|00006300| 09 09 69 66 20 28 20 28 | 20 70 63 20 3d 20 6d 61 |..if ( (| pc = ma|
|00006310| 63 71 28 20 72 6f 5f 63 | 75 72 6c 69 6e 65 20 29 |cq( ro_c|urline )|
|00006320| 29 20 21 3d 20 4e 55 4c | 4c 20 29 0a 09 09 09 09 |) != NUL|L ).....|
|00006330| 7b 0a 09 09 09 09 70 62 | 6d 61 63 28 20 70 63 2c |{.....pb|mac( pc,|
|00006340| 20 72 6f 5f 63 75 72 6c | 69 6e 65 20 29 3b 0a 09 | ro_curl|ine );..|
|00006350| 09 09 09 7d 0a 09 09 09 | 65 6c 73 65 20 69 66 20 |...}....|else if |
|00006360| 28 20 28 20 73 70 74 72 | 20 3d 20 66 69 6e 64 32 |( ( sptr| = find2|
|00006370| 28 20 6e 61 6d 65 2c 20 | 64 6c 69 6e 6b 20 29 29 |( name, |dlink ))|
|00006380| 20 21 3d 20 4e 55 4c 4c | 20 29 0a 09 09 09 09 7b | != NULL| ).....{|
|00006390| 0a 09 09 09 09 72 65 61 | 64 5f 64 69 76 28 20 73 |.....rea|d_div( s|
|000063a0| 70 74 72 20 29 3b 0a 09 | 09 09 09 7d 0a 09 09 09 |ptr );..|...}....|
|000063b0| 65 6c 73 65 0a 09 09 09 | 09 7b 0a 09 09 09 09 63 |else....|.{.....c|
|000063c0| 6f 6d 6d 61 6e 64 28 20 | 72 6f 5f 63 75 72 6c 69 |ommand( |ro_curli|
|000063d0| 6e 65 20 29 3b 0a 09 09 | 09 09 7d 0a 09 09 09 7d |ne );...|..}....}|
|000063e0| 0a 09 09 65 6c 73 65 0a | 09 09 09 7b 0a 09 09 09 |...else.|...{....|
|000063f0| 74 65 78 74 28 20 72 6f | 5f 63 75 72 6c 69 6e 65 |text( ro|_curline|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.