home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news or mail, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/rfc822
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 53 75 62 6a 65 63 74 3a | 20 20 76 32 34 69 31 30 |Subject:| v24i10|
|00000010| 34 3a 20 20 70 73 72 6f | 66 66 2c 20 54 72 6f 66 |4: psro|ff, Trof|
|00000020| 66 20 74 6f 20 50 6f 73 | 74 53 63 72 69 70 74 20 |f to Pos|tScript |
|00000030| 66 69 6c 74 65 72 2c 20 | 50 61 72 74 30 39 2f 31 |filter, |Part09/1|
|00000040| 39 0a 4e 65 77 73 67 72 | 6f 75 70 73 3a 20 63 6f |9.Newsgr|oups: co|
|00000050| 6d 70 2e 73 6f 75 72 63 | 65 73 2e 75 6e 69 78 0a |mp.sourc|es.unix.|
|00000060| 41 70 70 72 6f 76 65 64 | 3a 20 72 73 61 6c 7a 40 |Approved|: rsalz@|
|00000070| 75 75 6e 65 74 2e 55 55 | 2e 4e 45 54 0a 0a 53 75 |uunet.UU|.NET..Su|
|00000080| 62 6d 69 74 74 65 64 2d | 62 79 3a 20 43 68 72 69 |bmitted-|by: Chri|
|00000090| 73 20 4c 65 77 69 73 20 | 3c 6c 61 74 6f 75 72 21 |s Lewis |<latour!|
|000000a0| 65 63 69 63 72 6c 21 63 | 6c 65 77 69 73 40 75 75 |ecicrl!c|lewis@uu|
|000000b0| 6e 65 74 2e 75 75 2e 6e | 65 74 3e 0a 50 6f 73 74 |net.uu.n|et>.Post|
|000000c0| 69 6e 67 2d 6e 75 6d 62 | 65 72 3a 20 56 6f 6c 75 |ing-numb|er: Volu|
|000000d0| 6d 65 20 32 34 2c 20 49 | 73 73 75 65 20 31 30 34 |me 24, I|ssue 104|
|000000e0| 0a 41 72 63 68 69 76 65 | 2d 6e 61 6d 65 3a 20 70 |.Archive|-name: p|
|000000f0| 73 72 6f 66 66 33 2e 6f | 2f 70 61 72 74 30 39 0a |sroff3.o|/part09.|
|00000100| 0a 23 21 20 2f 62 69 6e | 2f 73 68 0a 23 20 54 68 |.#! /bin|/sh.# Th|
|00000110| 69 73 20 69 73 20 61 20 | 73 68 65 6c 6c 20 61 72 |is is a |shell ar|
|00000120| 63 68 69 76 65 2e 20 20 | 52 65 6d 6f 76 65 20 61 |chive. |Remove a|
|00000130| 6e 79 74 68 69 6e 67 20 | 62 65 66 6f 72 65 20 74 |nything |before t|
|00000140| 68 69 73 20 6c 69 6e 65 | 2c 20 74 68 65 6e 20 66 |his line|, then f|
|00000150| 65 65 64 20 69 74 0a 23 | 20 69 6e 74 6f 20 61 20 |eed it.#| into a |
|00000160| 73 68 65 6c 6c 20 76 69 | 61 20 22 73 68 20 66 69 |shell vi|a "sh fi|
|00000170| 6c 65 22 20 6f 72 20 73 | 69 6d 69 6c 61 72 2e 20 |le" or s|imilar. |
|00000180| 20 54 6f 20 6f 76 65 72 | 77 72 69 74 65 20 65 78 | To over|write ex|
|00000190| 69 73 74 69 6e 67 20 66 | 69 6c 65 73 2c 0a 23 20 |isting f|iles,.# |
|000001a0| 74 79 70 65 20 22 73 68 | 20 66 69 6c 65 20 2d 63 |type "sh| file -c|
|000001b0| 22 2e 0a 23 20 54 68 65 | 20 74 6f 6f 6c 20 74 68 |"..# The| tool th|
|000001c0| 61 74 20 67 65 6e 65 72 | 61 74 65 64 20 74 68 69 |at gener|ated thi|
|000001d0| 73 20 61 70 70 65 61 72 | 65 64 20 69 6e 20 74 68 |s appear|ed in th|
|000001e0| 65 20 63 6f 6d 70 2e 73 | 6f 75 72 63 65 73 2e 75 |e comp.s|ources.u|
|000001f0| 6e 69 78 20 6e 65 77 73 | 67 72 6f 75 70 3b 0a 23 |nix news|group;.#|
|00000200| 20 73 65 6e 64 20 6d 61 | 69 6c 20 74 6f 20 63 6f | send ma|il to co|
|00000210| 6d 70 2d 73 6f 75 72 63 | 65 73 2d 75 6e 69 78 40 |mp-sourc|es-unix@|
|00000220| 75 75 6e 65 74 2e 75 75 | 2e 6e 65 74 20 69 66 20 |uunet.uu|.net if |
|00000230| 79 6f 75 20 77 61 6e 74 | 20 74 68 61 74 20 74 6f |you want| that to|
|00000240| 6f 6c 2e 0a 23 20 43 6f | 6e 74 65 6e 74 73 3a 20 |ol..# Co|ntents: |
|00000250| 20 4d 49 53 43 20 64 65 | 66 73 2e 68 20 6d 61 6e | MISC de|fs.h man|
|00000260| 2f 70 73 72 6f 66 66 2e | 31 2e 53 20 75 74 69 6c |/psroff.|1.S util|
|00000270| 73 2f 63 61 6c 63 66 6f | 6e 74 73 2e 53 0a 23 20 |s/calcfo|nts.S.# |
|00000280| 20 20 77 69 64 74 68 73 | 2f 64 69 74 32 63 61 74 | widths|/dit2cat|
|00000290| 77 69 64 2e 63 0a 23 20 | 57 72 61 70 70 65 64 20 |wid.c.# |Wrapped |
|000002a0| 62 79 20 63 6c 65 77 69 | 73 40 65 63 69 63 72 6c |by clewi|s@ecicrl|
|000002b0| 20 6f 6e 20 46 72 69 20 | 41 70 72 20 20 35 20 32 | on Fri |Apr 5 2|
|000002c0| 30 3a 35 36 3a 30 30 20 | 31 39 39 31 0a 50 41 54 |0:56:00 |1991.PAT|
|000002d0| 48 3d 2f 62 69 6e 3a 2f | 75 73 72 2f 62 69 6e 3a |H=/bin:/|usr/bin:|
|000002e0| 2f 75 73 72 2f 75 63 62 | 20 3b 20 65 78 70 6f 72 |/usr/ucb| ; expor|
|000002f0| 74 20 50 41 54 48 0a 65 | 63 68 6f 20 49 66 20 74 |t PATH.e|cho If t|
|00000300| 68 69 73 20 61 72 63 68 | 69 76 65 20 69 73 20 63 |his arch|ive is c|
|00000310| 6f 6d 70 6c 65 74 65 2c | 20 79 6f 75 20 77 69 6c |omplete,| you wil|
|00000320| 6c 20 73 65 65 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |l see th|e follow|
|00000330| 69 6e 67 20 6d 65 73 73 | 61 67 65 3a 0a 65 63 68 |ing mess|age:.ech|
|00000340| 6f 20 27 20 20 20 20 20 | 20 20 20 20 20 22 73 68 |o ' | "sh|
|00000350| 61 72 3a 20 45 6e 64 20 | 6f 66 20 61 72 63 68 69 |ar: End |of archi|
|00000360| 76 65 20 39 20 28 6f 66 | 20 31 39 29 2e 22 27 0a |ve 9 (of| 19)."'.|
|00000370| 69 66 20 74 65 73 74 20 | 2d 66 20 27 4d 49 53 43 |if test |-f 'MISC|
|00000380| 27 20 2d 61 20 22 24 7b | 31 7d 22 20 21 3d 20 22 |' -a "${|1}" != "|
|00000390| 2d 63 22 20 3b 20 74 68 | 65 6e 20 0a 20 20 65 63 |-c" ; th|en . ec|
|000003a0| 68 6f 20 73 68 61 72 3a | 20 57 69 6c 6c 20 6e 6f |ho shar:| Will no|
|000003b0| 74 20 63 6c 6f 62 62 65 | 72 20 65 78 69 73 74 69 |t clobbe|r existi|
|000003c0| 6e 67 20 66 69 6c 65 20 | 5c 22 27 4d 49 53 43 27 |ng file |\"'MISC'|
|000003d0| 5c 22 0a 65 6c 73 65 0a | 20 20 65 63 68 6f 20 73 |\".else.| echo s|
|000003e0| 68 61 72 3a 20 45 78 74 | 72 61 63 74 69 6e 67 20 |har: Ext|racting |
|000003f0| 5c 22 27 4d 49 53 43 27 | 5c 22 20 5c 28 31 30 30 |\"'MISC'|\" \(100|
|00000400| 38 34 20 63 68 61 72 61 | 63 74 65 72 73 5c 29 0a |84 chara|cters\).|
|00000410| 20 20 73 65 64 20 22 73 | 2f 5e 58 2f 2f 22 20 3e | sed "s|/^X//" >|
|00000420| 27 4d 49 53 43 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |'MISC' <|<'END_OF|
|00000430| 5f 46 49 4c 45 27 0a 58 | 09 09 4d 69 73 63 65 6c |_FILE'.X|..Miscel|
|00000440| 6c 61 6e 65 6f 75 73 20 | 54 75 6e 69 6e 67 2f 43 |laneous |Tuning/C|
|00000450| 75 73 74 6f 6d 69 7a 61 | 74 69 6f 6e 0a 58 09 09 |ustomiza|tion.X..|
|00000460| 09 32 2e 39 20 39 31 2f | 30 33 2f 32 36 0a 58 0a |.2.9 91/|03/26.X.|
|00000470| 58 20 20 20 20 2d 20 50 | 6f 73 74 73 63 72 69 70 |X - P|ostscrip|
|00000480| 74 20 73 70 6f 6f 6c 69 | 6e 67 3a 20 20 54 68 65 |t spooli|ng: The|
|00000490| 6f 72 65 74 69 63 61 6c | 6c 79 20 73 70 65 61 6b |oretical|ly speak|
|000004a0| 69 6e 67 2c 20 69 74 20 | 69 73 20 62 65 74 74 65 |ing, it |is bette|
|000004b0| 72 0a 58 20 20 20 20 20 | 20 74 6f 20 68 61 76 65 |r.X | to have|
|000004c0| 20 70 73 78 6c 61 74 65 | 20 69 6e 20 79 6f 75 72 | psxlate| in your|
|000004d0| 20 50 6f 73 74 73 63 72 | 69 70 74 20 70 72 69 6e | Postscr|ipt prin|
|000004e0| 74 65 72 20 73 70 6f 6f | 6c 65 72 20 69 6e 74 65 |ter spoo|ler inte|
|000004f0| 72 66 61 63 65 0a 58 20 | 20 20 20 20 20 74 68 61 |rface.X | tha|
|00000500| 6e 20 61 73 20 61 20 70 | 69 70 65 6c 69 6e 65 20 |n as a p|ipeline |
|00000510| 69 6e 20 70 73 72 6f 66 | 66 2e 20 20 46 6f 72 20 |in psrof|f. For |
|00000520| 53 79 73 74 65 6d 20 56 | 2c 20 79 6f 75 20 6d 69 |System V|, you mi|
|00000530| 67 68 74 20 77 61 6e 74 | 0a 58 20 20 20 20 20 20 |ght want|.X |
|00000540| 74 6f 20 69 6e 73 65 72 | 74 20 70 73 78 6c 61 74 |to inser|t psxlat|
|00000550| 65 20 61 73 20 74 68 65 | 20 66 69 6c 74 65 72 20 |e as the| filter |
|00000560| 28 69 6e 73 74 65 61 64 | 20 6f 66 20 74 68 65 20 |(instead| of the |
|00000570| 6d 6f 72 65 2d 75 73 75 | 61 6c 0a 58 20 20 20 20 |more-usu|al.X |
|00000580| 20 20 63 61 74 29 20 69 | 6e 20 74 68 65 20 69 6e | cat) i|n the in|
|00000590| 74 65 72 66 61 63 65 20 | 66 69 6c 65 20 77 68 65 |terface |file whe|
|000005a0| 6e 20 79 6f 75 27 72 65 | 20 70 61 73 73 69 6e 67 |n you're| passing|
|000005b0| 20 70 6f 73 74 73 63 72 | 69 70 74 20 74 68 72 6f | postscr|ipt thro|
|000005c0| 75 67 68 0a 58 20 20 20 | 20 20 20 74 6f 20 74 68 |ugh.X | to th|
|000005d0| 65 20 70 72 69 6e 74 65 | 72 2e 20 20 4f 6e 20 6c |e printe|r. On l|
|000005e0| 70 72 2d 74 79 70 65 20 | 73 70 6f 6f 6c 65 72 73 |pr-type |spoolers|
|000005f0| 2c 20 6d 61 6b 65 20 70 | 73 78 6c 61 74 65 20 74 |, make p|sxlate t|
|00000600| 68 65 20 66 69 6c 74 65 | 72 0a 58 20 20 20 20 20 |he filte|r.X |
|00000610| 20 70 72 6f 67 72 61 6d | 20 69 6e 20 2f 65 74 63 | program| in /etc|
|00000620| 2f 70 72 69 6e 74 63 61 | 70 2e 20 20 54 68 65 6e |/printca|p. Then|
|00000630| 20 79 6f 75 27 6c 6c 20 | 62 65 20 61 62 6c 65 20 | you'll |be able |
|00000640| 74 6f 20 75 73 65 20 70 | 73 78 6c 61 74 65 27 73 |to use p|sxlate's|
|00000650| 0a 58 20 20 20 20 20 20 | 70 72 6f 63 65 73 73 69 |.X |processi|
|00000660| 6e 67 20 6f 6e 20 61 6c | 6c 20 6f 66 20 79 6f 75 |ng on al|l of you|
|00000670| 72 20 70 6f 73 74 73 63 | 72 69 70 74 20 6f 75 74 |r postsc|ript out|
|00000680| 70 75 74 2e 0a 58 0a 58 | 20 20 20 20 20 20 4e 6f |put..X.X| No|
|00000690| 74 65 73 3a 20 70 73 78 | 6c 61 74 65 20 64 6f 65 |tes: psx|late doe|
|000006a0| 73 20 4e 4f 54 48 49 4e | 47 20 74 6f 20 66 69 6c |s NOTHIN|G to fil|
|000006b0| 65 73 20 77 69 74 68 6f | 75 74 20 61 20 22 25 21 |es witho|ut a "%!|
|000006c0| 50 53 2d 41 64 6f 62 65 | 2d 22 0a 58 20 20 20 20 |PS-Adobe|-".X |
|000006d0| 20 20 68 65 61 64 65 72 | 2e 20 20 49 6e 20 6f 74 | header|. In ot|
|000006e0| 68 65 72 20 77 6f 72 64 | 73 2c 20 70 73 78 6c 61 |her word|s, psxla|
|000006f0| 74 65 20 64 6f 65 73 6e | 27 74 20 64 6f 20 61 6e |te doesn|'t do an|
|00000700| 79 74 68 69 6e 67 20 74 | 6f 20 66 69 6c 65 73 0a |ything t|o files.|
|00000710| 58 20 20 20 20 20 20 74 | 68 61 74 20 64 6f 6e 27 |X t|hat don'|
|00000720| 74 20 63 6f 6e 66 6f 72 | 6d 20 74 6f 20 74 68 65 |t confor|m to the|
|00000730| 20 44 6f 63 75 6d 65 6e | 74 20 53 74 72 75 63 74 | Documen|t Struct|
|00000740| 75 72 69 6e 67 20 43 6f | 6e 76 65 6e 74 69 6f 6e |uring Co|nvention|
|00000750| 73 2e 0a 58 20 20 20 20 | 20 20 45 76 65 6e 74 75 |s..X | Eventu|
|00000760| 61 6c 6c 79 20 70 73 78 | 6c 61 74 65 20 77 69 6c |ally psx|late wil|
|00000770| 6c 20 70 72 6f 62 61 62 | 6c 79 20 70 65 72 6d 69 |l probab|ly permi|
|00000780| 74 20 79 6f 75 20 74 6f | 20 64 6f 20 6e 2d 75 70 |t you to| do n-up|
|00000790| 20 28 62 75 74 0a 58 20 | 20 20 20 20 20 6e 6f 74 | (but.X | not|
|000007a0| 20 70 61 67 65 20 66 6c | 69 70 70 69 6e 67 29 20 | page fl|ipping) |
|000007b0| 6f 6e 20 61 6e 79 20 66 | 69 6c 65 20 74 68 61 74 |on any f|ile that|
|000007c0| 20 68 61 73 20 61 20 22 | 25 21 22 20 61 74 20 74 | has a "|%!" at t|
|000007d0| 68 65 20 66 72 6f 6e 74 | 2c 0a 58 20 20 20 20 20 |he front|,.X |
|000007e0| 20 61 6e 64 20 64 6f 20 | 61 75 74 6f 6d 61 74 69 | and do |automati|
|000007f0| 63 20 41 53 43 49 49 20 | 74 6f 20 50 6f 73 74 73 |c ASCII |to Posts|
|00000800| 63 72 69 70 74 20 63 6f | 6e 76 65 72 73 69 6f 6e |cript co|nversion|
|00000810| 73 20 6f 6e 20 66 69 6c | 65 73 20 74 68 61 74 0a |s on fil|es that.|
|00000820| 58 20 20 20 20 20 20 64 | 6f 6e 27 74 20 68 61 76 |X d|on't hav|
|00000830| 65 20 22 25 21 22 2c 20 | 66 75 72 74 68 65 72 2c |e "%!", |further,|
|00000840| 20 70 61 67 65 20 66 6c | 69 70 70 69 6e 67 20 61 | page fl|ipping a|
|00000850| 6e 64 20 6e 2d 75 70 20 | 2a 77 69 6c 6c 2a 20 77 |nd n-up |*will* w|
|00000860| 6f 72 6b 2e 0a 58 0a 58 | 20 20 20 20 2d 20 70 73 |ork..X.X| - ps|
|00000870| 66 69 67 3a 20 49 66 20 | 79 6f 75 20 68 61 76 65 |fig: If |you have|
|00000880| 20 70 73 66 69 67 2c 20 | 63 6f 70 79 20 74 68 65 | psfig, |copy the|
|00000890| 20 70 73 66 69 67 20 50 | 6f 73 74 73 63 72 69 70 | psfig P|ostscrip|
|000008a0| 74 20 70 72 6f 6c 6f 67 | 0a 58 20 20 20 20 20 20 |t prolog|.X |
|000008b0| 74 6f 20 4c 49 42 44 49 | 52 2f 6c 69 62 2f 70 73 |to LIBDI|R/lib/ps|
|000008c0| 66 69 67 2e 70 73 2c 20 | 61 6e 64 20 69 6e 73 65 |fig.ps, |and inse|
|000008d0| 72 74 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |rt the f|ollowing|
|000008e0| 20 6c 69 6e 65 20 61 74 | 0a 58 20 20 20 20 20 20 | line at|.X |
|000008f0| 74 68 65 20 65 6e 64 20 | 6f 66 20 70 73 2e 6c 69 |the end |of ps.li|
|00000900| 62 3a 0a 58 09 25 25 25 | 69 6e 63 6c 75 64 65 20 |b:.X.%%%|include |
|00000910| 70 73 66 69 67 0a 58 20 | 20 20 20 20 20 28 70 73 |psfig.X | (ps|
|00000920| 66 69 67 2e 70 73 20 69 | 73 20 61 20 73 75 62 73 |fig.ps i|s a subs|
|00000930| 65 74 20 6f 66 20 74 68 | 65 20 70 73 64 69 74 20 |et of th|e psdit |
|00000940| 70 72 6f 6c 6f 67 20 66 | 72 61 67 6d 65 6e 74 20 |prolog f|ragment |
|00000950| 67 69 76 65 6e 20 69 6e | 20 74 68 65 0a 58 20 20 |given in| the.X |
|00000960| 20 20 20 20 22 70 61 74 | 63 68 22 20 73 75 62 64 | "pat|ch" subd|
|00000970| 69 72 65 63 74 6f 72 79 | 20 69 6e 20 74 68 65 20 |irectory| in the |
|00000980| 70 73 66 69 67 20 72 65 | 6c 65 61 73 65 20 2d 20 |psfig re|lease - |
|00000990| 74 68 65 20 52 45 41 44 | 4d 45 20 74 65 6c 6c 73 |the READ|ME tells|
|000009a0| 0a 58 20 20 20 20 20 20 | 79 6f 75 20 77 68 69 63 |.X |you whic|
|000009b0| 68 20 70 61 72 74 29 0a | 58 0a 58 20 20 20 20 20 |h part).|X.X |
|000009c0| 20 50 73 66 69 67 20 77 | 6f 72 6b 73 20 70 65 72 | Psfig w|orks per|
|000009d0| 66 65 63 74 6c 79 20 77 | 69 74 68 20 64 69 74 72 |fectly w|ith ditr|
|000009e0| 6f 66 66 2c 20 61 6e 64 | 20 73 68 6f 75 6c 64 20 |off, and| should |
|000009f0| 77 6f 72 6b 20 72 65 61 | 73 6f 6e 61 62 6c 79 0a |work rea|sonably.|
|00000a00| 58 20 20 20 20 20 20 77 | 65 6c 6c 20 77 69 74 68 |X w|ell with|
|00000a10| 20 43 41 54 20 74 72 6f | 66 66 2e 20 20 4e 6f 74 | CAT tro|ff. Not|
|00000a20| 65 3a 20 6d 6f 73 74 20 | 64 69 74 72 6f 66 66 27 |e: most |ditroff'|
|00000a30| 73 20 68 61 76 65 20 61 | 20 62 75 67 20 77 68 65 |s have a| bug whe|
|00000a40| 72 65 0a 58 20 20 20 20 | 20 20 74 68 65 20 68 6f |re.X | the ho|
|00000a50| 72 69 7a 6f 6e 74 61 6c | 20 70 6f 73 69 74 69 6f |rizontal| positio|
|00000a60| 6e 20 69 73 20 6e 6f 74 | 20 65 6d 69 74 74 65 64 |n is not| emitted|
|00000a70| 20 62 65 66 6f 72 65 20 | 61 20 5c 58 27 2e 2e 2e | before |a \X'...|
|00000a80| 27 0a 58 20 20 20 20 20 | 20 73 65 71 75 65 6e 63 |'.X | sequenc|
|00000a90| 65 2e 20 20 54 68 69 73 | 20 69 73 20 73 65 65 6e |e. This| is seen|
|00000aa0| 20 62 79 20 64 69 61 67 | 72 61 6d 73 20 74 68 61 | by diag|rams tha|
|00000ab0| 74 20 61 72 65 6e 27 74 | 20 71 75 69 74 65 20 77 |t aren't| quite w|
|00000ac0| 68 65 72 65 0a 58 20 20 | 20 20 20 20 74 68 65 79 |here.X | they|
|00000ad0| 20 73 68 6f 75 6c 64 20 | 62 65 20 68 6f 72 69 7a | should |be horiz|
|00000ae0| 6f 6e 74 61 6c 6c 79 20 | 2d 20 6f 66 74 65 6e 20 |ontally |- often |
|00000af0| 61 74 20 74 68 65 20 6c | 65 66 74 20 6d 61 72 67 |at the l|eft marg|
|00000b00| 69 6e 20 77 68 65 6e 0a | 58 20 20 20 20 20 20 74 |in when.|X t|
|00000b10| 68 65 79 20 73 68 6f 75 | 6c 64 20 72 65 61 6c 6c |hey shou|ld reall|
|00000b20| 79 20 62 65 20 63 65 6e | 74 65 72 65 64 2e 20 20 |y be cen|tered. |
|00000b30| 54 68 69 73 20 63 61 6e | 20 62 65 20 72 65 63 74 |This can| be rect|
|00000b40| 69 66 69 65 64 20 69 66 | 0a 58 20 20 20 20 20 20 |ified if|.X |
|00000b50| 79 6f 75 20 68 61 76 65 | 20 73 6f 75 72 63 65 20 |you have| source |
|00000b60| 77 69 74 68 20 61 20 70 | 61 74 63 68 20 66 6f 72 |with a p|atch for|
|00000b70| 20 64 69 74 72 6f 66 66 | 20 74 68 61 74 20 63 6f | ditroff| that co|
|00000b80| 6d 65 73 20 62 75 6e 64 | 6c 65 64 20 77 69 74 68 |mes bund|led with|
|00000b90| 0a 58 20 20 20 20 20 20 | 70 73 66 69 67 2e 20 20 |.X |psfig. |
|00000ba0| 49 66 20 79 6f 75 20 64 | 6f 20 6e 6f 74 20 68 61 |If you d|o not ha|
|00000bb0| 76 65 20 64 69 74 72 6f | 66 66 20 73 6f 75 72 63 |ve ditro|ff sourc|
|00000bc0| 65 2c 20 74 68 65 20 70 | 73 66 69 67 20 6f 70 74 |e, the p|sfig opt|
|00000bd0| 69 6f 6e 20 22 2d 66 74 | 73 22 0a 58 20 20 20 20 |ion "-ft|s".X |
|00000be0| 20 20 28 6e 6f 74 20 6d | 65 6e 74 69 6f 6e 65 64 | (not m|entioned|
|00000bf0| 20 69 6e 20 74 68 65 20 | 6d 61 6e 20 70 61 67 65 | in the |man page|
|00000c00| 20 66 6f 72 20 70 73 66 | 69 67 29 20 77 69 6c 6c | for psf|ig) will|
|00000c10| 20 63 6f 6d 70 65 6e 73 | 61 74 65 20 66 6f 72 20 | compens|ate for |
|00000c20| 74 68 65 0a 58 20 20 20 | 20 20 20 70 72 6f 62 6c |the.X | probl|
|00000c30| 65 6d 2c 20 61 74 20 74 | 68 65 20 65 78 70 65 6e |em, at t|he expen|
|00000c40| 73 65 20 6f 66 20 6c 6f | 73 69 6e 67 20 74 68 65 |se of lo|sing the|
|00000c50| 20 61 62 69 6c 69 74 79 | 20 74 6f 20 75 73 65 20 | ability| to use |
|00000c60| 74 68 65 20 5c 28 74 73 | 20 63 68 61 72 61 63 74 |the \(ts| charact|
|00000c70| 65 72 2e 0a 58 20 20 20 | 20 20 20 54 68 65 20 2d |er..X | The -|
|00000c80| 66 74 73 20 6f 70 74 69 | 6f 6e 20 69 73 20 41 4c |fts opti|on is AL|
|00000c90| 57 41 59 53 20 72 65 71 | 75 69 72 65 64 20 77 69 |WAYS req|uired wi|
|00000ca0| 74 68 20 43 41 54 20 74 | 72 6f 66 66 2e 20 20 53 |th CAT t|roff. S|
|00000cb0| 65 65 20 22 63 61 74 63 | 6f 6e 76 22 0a 58 20 20 |ee "catc|onv".X |
|00000cc0| 20 20 20 20 62 65 6c 6f | 77 2e 0a 58 0a 58 20 20 | belo|w..X.X |
|00000cd0| 20 20 20 20 28 4e 6f 74 | 65 3a 20 49 6e 20 74 68 | (Not|e: In th|
|00000ce0| 65 20 70 73 66 69 67 20 | 64 6f 63 75 6d 65 6e 74 |e psfig |document|
|00000cf0| 20 75 6e 64 65 72 20 74 | 68 65 20 22 64 6f 63 22 | under t|he "doc"|
|00000d00| 20 64 69 72 65 63 74 6f | 72 79 20 69 6e 20 74 68 | directo|ry in th|
|00000d10| 65 0a 58 20 20 20 20 20 | 20 70 73 66 69 67 20 72 |e.X | psfig r|
|00000d20| 65 6c 65 61 73 65 2c 20 | 70 61 67 65 20 31 30 20 |elease, |page 10 |
|00000d30| 63 6f 6e 74 61 69 6e 73 | 20 61 20 4d 41 43 57 72 |contains| a MACWr|
|00000d40| 69 74 65 20 67 65 6e 65 | 72 61 74 65 64 20 66 69 |ite gene|rated fi|
|00000d50| 67 75 72 65 2e 0a 58 20 | 20 20 20 20 20 4e 65 61 |gure..X | Nea|
|00000d60| 72 20 74 68 65 20 65 6e | 64 20 6f 66 20 70 61 67 |r the en|d of pag|
|00000d70| 65 20 31 30 20 74 68 65 | 72 65 20 69 73 20 61 20 |e 10 the|re is a |
|00000d80| 62 69 74 20 6f 66 20 70 | 6f 73 74 73 63 72 69 70 |bit of p|ostscrip|
|00000d90| 74 20 74 68 61 74 0a 58 | 20 20 20 20 20 20 6d 6f |t that.X| mo|
|00000da0| 73 74 20 70 6f 73 74 73 | 63 72 69 70 74 20 70 72 |st posts|cript pr|
|00000db0| 69 6e 74 65 72 73 20 64 | 6f 6e 27 74 20 6c 69 6b |inters d|on't lik|
|00000dc0| 65 20 28 61 20 66 69 6e | 64 66 6f 6e 74 29 20 2d |e (a fin|dfont) -|
|00000dd0| 20 70 72 69 6e 74 20 61 | 62 6f 72 74 73 0a 58 20 | print a|borts.X |
|00000de0| 20 20 20 20 20 61 74 20 | 74 68 69 73 20 70 6f 69 | at |this poi|
|00000df0| 6e 74 20 61 72 65 20 4e | 4f 54 20 74 68 65 20 66 |nt are N|OT the f|
|00000e00| 61 75 6c 74 20 6f 66 20 | 70 73 72 6f 66 66 2c 20 |ault of |psroff, |
|00000e10| 62 75 74 20 61 20 66 61 | 75 6c 74 20 69 6e 20 74 |but a fa|ult in t|
|00000e20| 68 65 0a 58 20 20 20 20 | 20 20 70 6f 73 74 73 63 |he.X | postsc|
|00000e30| 72 69 70 74 20 74 68 61 | 74 20 70 73 66 69 67 20 |ript tha|t psfig |
|00000e40| 68 61 73 20 69 6e 63 6c | 75 64 65 64 29 2e 0a 58 |has incl|uded)..X|
|00000e50| 0a 58 20 20 20 20 2d 20 | 63 61 74 63 6f 6e 76 3a |.X - |catconv:|
|00000e60| 20 63 61 74 63 6f 6e 76 | 20 63 6f 6e 76 65 72 74 | catconv| convert|
|00000e70| 73 20 64 69 74 72 6f 66 | 66 2d 6f 6e 6c 79 2d 69 |s ditrof|f-only-i|
|00000e80| 73 6d 73 20 69 6e 74 6f | 20 73 6f 6d 65 74 68 69 |sms into| somethi|
|00000e90| 6e 67 20 68 61 6e 64 6c | 65 64 0a 58 20 20 20 20 |ng handl|ed.X |
|00000ea0| 20 20 62 79 20 70 73 72 | 6f 66 66 2e 20 20 49 6e | by psr|off. In|
|00000eb0| 20 6f 72 64 65 72 20 66 | 6f 72 20 79 6f 75 20 74 | order f|or you t|
|00000ec0| 6f 20 75 73 65 20 74 68 | 69 73 2c 20 79 6f 75 20 |o use th|is, you |
|00000ed0| 68 61 76 65 20 74 6f 20 | 68 61 76 65 20 61 20 63 |have to |have a c|
|00000ee0| 6f 70 79 0a 58 20 20 20 | 20 20 20 6f 66 20 70 65 |opy.X | of pe|
|00000ef0| 72 6c 20 69 6e 73 74 61 | 6c 6c 65 64 20 6f 6e 20 |rl insta|lled on |
|00000f00| 79 6f 75 72 20 6d 61 63 | 68 69 6e 65 2e 20 20 54 |your mac|hine. T|
|00000f10| 68 69 73 20 69 73 6e 27 | 74 20 63 6f 6d 70 6c 65 |his isn'|t comple|
|00000f20| 74 65 6c 79 0a 58 20 20 | 20 20 20 20 69 6e 74 65 |tely.X | inte|
|00000f30| 67 72 61 74 65 64 20 69 | 6e 74 6f 20 70 73 72 6f |grated i|nto psro|
|00000f40| 66 66 2c 20 73 6f 20 68 | 65 72 65 20 61 72 65 20 |ff, so h|ere are |
|00000f50| 61 20 66 65 77 20 74 68 | 69 6e 67 73 20 74 6f 20 |a few th|ings to |
|00000f60| 63 6f 6e 73 69 64 65 72 | 3a 0a 58 09 2d 20 74 68 |consider|:.X.- th|
|00000f70| 65 20 63 61 74 63 6f 6e | 76 20 73 63 72 69 70 74 |e catcon|v script|
|00000f80| 27 73 20 73 74 61 72 74 | 75 70 20 28 74 68 65 20 |'s start|up (the |
|00000f90| 23 21 2f 75 73 72 2f 62 | 69 6e 2f 70 65 72 6c 20 |#!/usr/b|in/perl |
|00000fa0| 73 74 75 66 66 29 0a 58 | 09 20 20 6d 61 79 20 68 |stuff).X|. may h|
|00000fb0| 61 76 65 20 74 6f 20 62 | 65 20 63 68 61 6e 67 65 |ave to b|e change|
|00000fc0| 64 20 74 6f 20 72 65 66 | 6c 65 63 74 20 79 6f 75 |d to ref|lect you|
|00000fd0| 72 20 70 65 72 6c 20 69 | 6e 73 74 61 6c 6c 20 63 |r perl i|nstall c|
|00000fe0| 6f 6e 66 69 67 75 72 61 | 74 69 6f 6e 2e 0a 58 09 |onfigura|tion..X.|
|00000ff0| 2d 20 49 66 20 79 6f 75 | 20 73 70 65 63 69 66 79 |- If you| specify|
|00001000| 20 22 76 3d 31 22 20 69 | 6e 20 74 68 65 20 70 73 | "v=1" i|n the ps|
|00001010| 72 6f 66 66 6c 69 62 20 | 65 6e 74 72 79 2c 20 70 |rofflib |entry, p|
|00001020| 73 72 6f 66 66 20 77 69 | 6c 6c 0a 58 09 20 20 61 |sroff wi|ll.X. a|
|00001030| 72 72 61 6e 67 65 20 74 | 6f 20 69 6e 76 6f 6b 65 |rrange t|o invoke|
|00001040| 20 63 61 74 63 6f 6e 76 | 20 70 72 6f 70 65 72 6c | catconv| properl|
|00001050| 79 2c 20 73 6f 20 74 68 | 61 74 20 79 6f 75 20 64 |y, so th|at you d|
|00001060| 6f 6e 27 74 20 68 61 76 | 65 0a 58 09 20 20 74 6f |on't hav|e.X. to|
|00001070| 20 6d 61 6e 75 61 6c 6c | 79 20 69 6e 76 6f 6b 65 | manuall|y invoke|
|00001080| 20 63 61 74 63 6f 6e 76 | 20 2d 20 74 68 65 20 22 | catconv| - the "|
|00001090| 63 64 70 73 22 20 65 6e | 74 72 79 20 68 61 73 20 |cdps" en|try has |
|000010a0| 61 6e 20 65 78 61 6d 70 | 6c 65 2e 0a 58 20 20 20 |an examp|le..X |
|000010b0| 20 20 20 49 66 20 79 6f | 75 20 61 72 65 20 75 73 | If yo|u are us|
|000010c0| 69 6e 67 20 43 41 54 20 | 74 72 6f 66 66 2c 20 69 |ing CAT |troff, i|
|000010d0| 66 20 79 6f 75 20 63 61 | 6e 6e 6f 74 20 75 73 65 |f you ca|nnot use|
|000010e0| 20 63 61 74 63 6f 6e 76 | 2c 20 79 6f 75 20 77 69 | catconv|, you wi|
|000010f0| 6c 6c 0a 58 20 20 20 20 | 20 20 6e 6f 74 20 62 65 |ll.X | not be|
|00001100| 20 61 62 6c 65 20 74 6f | 20 75 73 65 20 70 73 66 | able to| use psf|
|00001110| 69 67 2c 20 5c 58 27 2e | 2e 2e 27 20 63 6f 6d 6d |ig, \X'.|..' comm|
|00001120| 61 6e 64 73 2c 20 5c 44 | 27 2e 2e 2e 2e 27 20 63 |ands, \D|'....' c|
|00001130| 6f 6d 6d 61 6e 64 73 0a | 58 20 20 20 20 20 20 28 |ommands.|X (|
|00001140| 50 49 43 29 20 6f 72 20 | 74 68 65 20 65 78 74 65 |PIC) or |the exte|
|00001150| 6e 64 65 64 20 63 68 61 | 72 61 63 74 65 72 20 73 |nded cha|racter s|
|00001160| 65 74 2e 0a 58 0a 58 20 | 20 20 20 2d 20 48 50 4c |et..X.X | - HPL|
|00001170| 4a 20 74 75 6e 69 6e 67 | 3a 0a 58 09 62 65 73 74 |J tuning|:.X.best|
|00001180| 6d 61 74 63 68 3a 20 69 | 6e 20 6c 6a 2e 63 27 73 |match: i|n lj.c's|
|00001190| 20 62 65 73 74 6d 61 74 | 63 68 20 66 75 6e 63 74 | bestmat|ch funct|
|000011a0| 69 6f 6e 20 74 68 65 72 | 65 20 69 73 20 61 72 65 |ion ther|e is are|
|000011b0| 20 61 72 72 61 79 73 0a | 58 09 20 20 20 20 22 62 | arrays.|X. "b|
|000011c0| 69 67 74 72 79 22 20 61 | 6e 64 20 22 73 6d 61 6c |igtry" a|nd "smal|
|000011d0| 6c 74 72 79 22 2e 20 20 | 54 68 65 73 65 20 61 72 |ltry". |These ar|
|000011e0| 72 61 79 73 20 70 72 6f | 76 69 64 65 20 61 20 73 |rays pro|vide a s|
|000011f0| 63 61 6e 0a 58 09 20 20 | 20 20 73 65 71 75 65 6e |can.X. | sequen|
|00001200| 63 65 20 66 69 6e 64 69 | 6e 67 20 61 20 66 6f 6e |ce findi|ng a fon|
|00001210| 74 20 73 69 7a 65 20 22 | 63 6c 6f 73 65 22 20 74 |t size "|close" t|
|00001220| 6f 20 61 20 72 65 71 75 | 65 73 74 65 64 20 66 6f |o a requ|ested fo|
|00001230| 6e 74 0a 58 09 20 20 20 | 20 73 69 7a 65 20 74 68 |nt.X. | size th|
|00001240| 61 74 20 6c 6a 2e 66 6f | 6e 74 73 20 69 6e 64 69 |at lj.fo|nts indi|
|00001250| 63 61 74 65 73 20 69 73 | 6e 27 74 20 70 72 65 73 |cates is|n't pres|
|00001260| 65 6e 74 2e 20 20 49 66 | 20 74 68 65 72 65 0a 58 |ent. If| there.X|
|00001270| 09 20 20 20 20 61 72 65 | 20 68 6f 6c 65 73 20 69 |. are| holes i|
|00001280| 6e 20 79 6f 75 72 20 66 | 6f 6e 74 73 2c 20 79 6f |n your f|onts, yo|
|00001290| 75 20 6d 61 79 20 77 61 | 6e 74 20 74 6f 20 65 78 |u may wa|nt to ex|
|000012a0| 70 65 72 69 6d 65 6e 74 | 20 77 69 74 68 0a 58 09 |periment| with.X.|
|000012b0| 20 20 20 20 74 68 65 73 | 65 20 61 72 72 61 79 73 | thes|e arrays|
|000012c0| 2e 0a 58 09 74 62 6c 20 | 62 6f 78 20 63 6f 72 6e |..X.tbl |box corn|
|000012d0| 65 72 73 3a 20 64 65 70 | 65 6e 64 69 6e 67 20 6f |ers: dep|ending o|
|000012e0| 6e 20 77 68 65 72 65 20 | 79 6f 75 20 67 6f 74 20 |n where |you got |
|000012f0| 79 6f 75 72 20 66 6f 6e | 74 73 20 66 72 6f 6d 2c |your fon|ts from,|
|00001300| 0a 58 09 20 20 20 20 79 | 6f 75 20 6d 61 79 20 68 |.X. y|ou may h|
|00001310| 61 76 65 20 74 6f 20 73 | 6c 69 67 68 74 6c 79 20 |ave to s|lightly |
|00001320| 61 64 6a 75 73 74 20 74 | 68 65 20 62 6f 78 20 64 |adjust t|he box d|
|00001330| 72 61 77 69 6e 67 20 63 | 68 61 72 61 63 74 65 72 |rawing c|haracter|
|00001340| 73 0a 58 09 20 20 20 20 | 74 6f 20 6d 61 74 63 68 |s.X. |to match|
|00001350| 20 75 70 20 61 74 20 74 | 68 65 20 63 6f 72 6e 65 | up at t|he corne|
|00001360| 72 73 20 6f 66 20 74 62 | 6c 20 62 6f 78 65 73 2e |rs of tb|l boxes.|
|00001370| 20 20 54 6f 20 64 6f 20 | 74 68 69 73 2c 0a 58 09 | To do |this,.X.|
|00001380| 20 20 20 20 61 70 70 65 | 6e 64 20 74 6f 20 6c 6a | appe|nd to lj|
|00001390| 2e 66 6f 6e 74 73 3a 0a | 58 0a 58 09 09 6e 6f 72 |.fonts:.|X.X..nor|
|000013a0| 6d 61 6c 0a 58 09 09 72 | 75 20 4e 20 5f 20 30 20 |mal.X..r|u N _ 0 |
|000013b0| 2d 32 30 30 0a 58 09 09 | 73 79 6d 62 6f 6c 0a 58 |-200.X..|symbol.X|
|000013c0| 09 09 62 72 20 4e 20 7c | 20 2d 32 32 30 20 30 0a |..br N || -220 0.|
|000013d0| 58 0a 58 09 20 20 20 20 | 54 68 65 20 74 77 6f 20 |X.X. |The two |
|000013e0| 6e 75 6d 62 65 72 73 20 | 61 72 65 20 74 68 65 20 |numbers |are the |
|000013f0| 58 20 61 6e 64 20 59 20 | 73 68 69 66 74 73 20 6f |X and Y |shifts o|
|00001400| 66 20 74 68 65 20 63 6f | 72 72 65 73 70 6f 6e 64 |f the co|rrespond|
|00001410| 69 6e 67 0a 58 09 20 20 | 20 20 63 68 61 72 61 63 |ing.X. | charac|
|00001420| 74 65 72 73 2c 20 77 68 | 65 72 65 20 74 68 65 20 |ters, wh|ere the |
|00001430| 6e 75 6d 62 65 72 73 20 | 61 72 65 20 73 63 61 6c |numbers |are scal|
|00001440| 65 64 20 62 79 20 28 2e | 30 31 20 2a 20 70 6f 69 |ed by (.|01 * poi|
|00001450| 6e 74 73 69 7a 65 29 0a | 58 09 20 20 20 20 74 6f |ntsize).|X. to|
|00001460| 20 67 65 74 20 61 20 73 | 68 69 66 74 20 69 6e 20 | get a s|hift in |
|00001470| 31 2f 37 32 30 27 64 73 | 2e 20 20 41 64 6a 75 73 |1/720'ds|. Adjus|
|00001480| 74 20 74 68 65 73 65 20 | 28 63 61 72 65 66 75 6c |t these |(careful|
|00001490| 6c 79 20 65 78 61 6d 69 | 6e 65 0a 58 09 20 20 20 |ly exami|ne.X. |
|000014a0| 20 74 62 6c 20 6f 75 74 | 70 75 74 20 74 6f 20 64 | tbl out|put to d|
|000014b0| 65 63 69 64 65 20 77 68 | 65 74 68 65 72 20 79 6f |ecide wh|ether yo|
|000014c0| 75 20 77 61 6e 74 20 74 | 6f 20 6d 6f 76 65 20 72 |u want t|o move r|
|000014d0| 75 20 6f 72 20 62 72 29 | 2e 0a 58 0a 58 09 20 20 |u or br)|..X.X. |
|000014e0| 20 20 54 68 65 20 64 69 | 73 74 72 69 62 75 74 65 | The di|stribute|
|000014f0| 64 20 64 65 66 61 75 6c | 74 73 20 28 77 68 69 63 |d defaul|ts (whic|
|00001500| 68 20 61 72 65 20 73 68 | 6f 77 6e 20 68 65 72 65 |h are sh|own here|
|00001510| 29 20 61 72 65 20 73 75 | 69 74 61 62 6c 65 0a 58 |) are su|itable.X|
|00001520| 09 20 20 20 20 66 6f 72 | 20 48 50 20 54 69 6d 65 |. for| HP Time|
|00001530| 73 2d 52 6f 6d 61 6e 20 | 66 6f 6e 74 20 66 6c 6f |s-Roman |font flo|
|00001540| 70 70 69 65 73 2e 0a 58 | 0a 58 09 2d 20 70 65 72 |ppies..X|.X.- per|
|00001550| 66 6f 72 6d 61 6e 63 65 | 3a 20 79 6f 75 20 63 61 |formance|: you ca|
|00001560| 6e 20 70 72 65 6c 6f 61 | 64 20 63 6f 6d 6d 6f 6e |n preloa|d common|
|00001570| 6c 79 20 75 73 65 64 20 | 66 6f 6e 74 73 20 69 6e |ly used |fonts in|
|00001580| 74 6f 20 79 6f 75 72 0a | 58 09 20 20 6c 61 73 65 |to your.|X. lase|
|00001590| 72 6a 65 74 20 61 6e 64 | 20 74 68 65 72 65 62 79 |rjet and| thereby|
|000015a0| 20 67 72 65 61 74 6c 79 | 20 72 65 64 75 63 65 20 | greatly| reduce |
|000015b0| 74 72 61 6e 73 6d 69 73 | 73 69 6f 6e 20 74 69 6d |transmis|sion tim|
|000015c0| 65 2e 0a 58 09 20 20 43 | 6f 6e 73 75 6c 74 20 74 |e..X. C|onsult t|
|000015d0| 68 65 20 6d 61 6e 75 61 | 6c 20 70 61 67 65 20 66 |he manua|l page f|
|000015e0| 6f 72 20 70 6b 32 73 66 | 70 20 61 62 6f 75 74 20 |or pk2sf|p about |
|000015f0| 74 68 65 20 2d 50 2c 20 | 2d 69 2c 20 2d 53 20 61 |the -P, |-i, -S a|
|00001600| 6e 64 20 2d 70 0a 58 09 | 20 20 6f 70 74 69 6f 6e |nd -p.X.| option|
|00001610| 73 20 28 64 6f 6e 27 74 | 20 66 6f 72 67 65 74 20 |s (don't| forget |
|00001620| 74 6f 20 6d 61 72 6b 20 | 74 68 65 20 70 6f 69 6e |to mark |the poin|
|00001630| 74 73 69 7a 65 73 20 79 | 6f 75 27 76 65 20 64 6f |tsizes y|ou've do|
|00001640| 77 6e 6c 6f 61 64 65 64 | 0a 58 09 20 20 61 73 20 |wnloaded|.X. as |
|00001650| 22 62 22 20 69 6e 20 74 | 68 65 20 6c 6a 2e 66 6f |"b" in t|he lj.fo|
|00001660| 6e 74 73 20 66 69 6c 65 | 29 2e 0a 58 0a 58 09 2d |nts file|)..X.X.-|
|00001670| 20 64 69 74 72 6f 66 66 | 20 74 75 6e 69 6e 67 3a | ditroff| tuning:|
|00001680| 20 4d 61 6e 79 20 6f 66 | 20 74 68 65 20 64 69 74 | Many of| the dit|
|00001690| 72 6f 66 66 20 63 6f 6e | 76 65 72 74 65 72 73 20 |roff con|verters |
|000016a0| 68 61 76 65 20 73 6c 69 | 67 68 74 6c 79 0a 58 09 |have sli|ghtly.X.|
|000016b0| 20 20 64 69 66 66 65 72 | 65 6e 74 20 63 6f 72 72 | differ|ent corr|
|000016c0| 65 73 70 6f 6e 64 65 6e | 63 65 73 20 62 65 74 77 |esponden|ces betw|
|000016d0| 65 65 6e 20 77 68 61 74 | 20 63 68 61 72 61 63 74 |een what| charact|
|000016e0| 65 72 20 69 73 20 69 6e | 20 77 68 61 74 0a 58 09 |er is in| what.X.|
|000016f0| 20 20 66 6f 6e 74 2e 20 | 20 59 6f 75 20 6d 61 79 | font. | You may|
|00001700| 20 77 61 6e 74 20 74 6f | 20 6d 6f 64 69 66 79 20 | want to| modify |
|00001710| 74 68 65 20 2a 2e 66 6f | 6e 74 73 20 66 69 6c 65 |the *.fo|nts file|
|00001720| 20 74 68 61 74 20 79 6f | 75 27 72 65 0a 58 09 20 | that yo|u're.X. |
|00001730| 20 75 73 69 6e 67 20 74 | 6f 20 6d 61 6b 65 20 73 | using t|o make s|
|00001740| 75 72 65 20 74 68 61 74 | 20 65 76 65 72 79 20 63 |ure that| every c|
|00001750| 68 61 72 61 63 74 65 72 | 20 79 6f 75 20 77 61 6e |haracter| you wan|
|00001760| 74 20 69 73 20 62 65 69 | 6e 67 0a 58 09 20 20 70 |t is bei|ng.X. p|
|00001770| 72 69 6e 74 65 64 20 63 | 6f 72 72 65 63 74 6c 79 |rinted c|orrectly|
|00001780| 2e 20 20 41 73 20 61 6e | 20 65 78 61 6d 70 6c 65 |. As an| example|
|00001790| 2c 20 77 69 74 68 20 74 | 70 73 63 72 69 70 74 20 |, with t|pscript |
|000017a0| 22 40 22 20 61 6e 64 0a | 58 09 20 20 22 5e 22 20 |"@" and.|X. "^" |
|000017b0| 61 72 65 6e 27 74 20 53 | 20 66 6f 6e 74 20 63 68 |aren't S| font ch|
|000017c0| 61 72 61 63 74 65 72 73 | 20 2d 20 74 68 65 79 27 |aracters| - they'|
|000017d0| 72 65 20 69 6e 20 74 68 | 65 20 6e 6f 72 6d 61 6c |re in th|e normal|
|000017e0| 20 66 6f 6e 74 73 2c 0a | 58 09 20 20 62 75 74 20 | fonts,.|X. but |
|000017f0| 74 68 65 20 64 74 2e 63 | 20 74 61 62 6c 65 20 73 |the dt.c| table s|
|00001800| 61 79 73 20 74 68 65 79 | 27 72 65 20 22 73 79 6d |ays they|'re "sym|
|00001810| 62 6f 6c 22 2e 20 20 54 | 6f 20 74 75 6e 65 20 66 |bol". T|o tune f|
|00001820| 6f 72 0a 58 09 20 20 74 | 70 73 63 72 69 70 74 3a |or.X. t|pscript:|
|00001830| 0a 58 0a 58 09 20 20 20 | 20 2d 20 6d 6f 64 69 66 |.X.X. | - modif|
|00001840| 79 20 70 73 72 6f 66 66 | 6c 69 62 20 74 6f 20 68 |y psroff|lib to h|
|00001850| 61 76 65 20 22 2d 70 74 | 70 22 20 6f 70 74 69 6f |ave "-pt|p" optio|
|00001860| 6e 20 74 6f 20 74 72 6f | 66 66 32 70 73 20 28 74 |n to tro|ff2ps (t|
|00001870| 32 61 72 67 29 2e 0a 58 | 09 20 20 20 20 2d 20 63 |2arg)..X|. - c|
|00001880| 6f 70 79 20 64 74 2e 66 | 6f 6e 74 73 20 74 6f 20 |opy dt.f|onts to |
|00001890| 74 70 2e 66 6f 6e 74 73 | 20 28 69 6e 20 4c 49 42 |tp.fonts| (in LIB|
|000018a0| 44 49 52 2f 6c 69 62 29 | 2e 0a 58 09 20 20 20 20 |DIR/lib)|..X. |
|000018b0| 2d 20 61 70 70 65 6e 64 | 20 74 6f 20 74 70 2e 66 |- append| to tp.f|
|000018c0| 6f 6e 74 73 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |onts the| followi|
|000018d0| 6e 67 20 66 6f 6e 74 20 | 6f 76 65 72 72 69 64 65 |ng font |override|
|000018e0| 20 73 65 71 75 65 6e 63 | 65 3a 0a 58 0a 58 09 09 | sequenc|e:.X.X..|
|000018f0| 73 79 6d 62 6f 6c 0a 58 | 09 09 5e 09 4e 0a 58 09 |symbol.X|..^.N.X.|
|00001900| 09 40 09 4e 0a 58 0a 58 | 09 20 20 70 73 64 69 74 |.@.N.X.X|. psdit|
|00001910| 20 61 6e 64 20 78 74 72 | 6f 66 66 20 61 70 70 65 | and xtr|off appe|
|00001920| 61 72 20 74 6f 20 72 65 | 71 75 69 72 65 20 74 68 |ar to re|quire th|
|00001930| 65 20 73 61 6d 65 20 74 | 68 69 6e 67 73 20 74 6f |e same t|hings to|
|00001940| 20 62 65 20 64 6f 6e 65 | 0a 58 09 20 20 66 6f 72 | be done|.X. for|
|00001950| 20 22 5e 22 20 61 6e 64 | 20 22 40 22 20 28 70 73 | "^" and| "@" (ps|
|00001960| 64 69 74 20 70 72 69 6e | 74 73 20 6e 6f 74 68 69 |dit prin|ts nothi|
|00001970| 6e 67 20 77 69 74 68 6f | 75 74 20 74 68 65 73 65 |ng witho|ut these|
|00001980| 2c 20 61 6e 64 20 78 74 | 72 6f 66 66 0a 58 09 20 |, and xt|roff.X. |
|00001990| 20 70 72 69 6e 74 73 20 | 73 6f 6d 65 20 6f 74 68 | prints |some oth|
|000019a0| 65 72 20 63 68 61 72 61 | 63 74 65 72 73 20 69 6e |er chara|cters in|
|000019b0| 73 74 65 61 64 29 2e 0a | 58 0a 58 09 20 20 4a 65 |stead)..|X.X. Je|
|000019c0| 74 72 6f 66 66 20 72 65 | 71 75 69 72 65 73 20 73 |troff re|quires s|
|000019d0| 69 6d 69 6c 61 72 20 74 | 68 69 6e 67 73 2c 20 61 |imilar t|hings, a|
|000019e0| 6e 64 20 6a 74 2e 66 6f | 6e 74 73 20 68 61 73 20 |nd jt.fo|nts has |
|000019f0| 61 20 6d 6f 72 65 0a 58 | 09 20 20 65 78 74 65 6e |a more.X|. exten|
|00001a00| 73 69 76 65 20 65 78 61 | 6d 70 6c 65 20 6f 66 20 |sive exa|mple of |
|00001a10| 74 68 69 73 2e 20 20 46 | 6f 6e 74 20 6f 76 65 72 |this. F|ont over|
|00001a20| 72 69 64 65 73 20 61 72 | 65 20 64 6f 63 75 6d 65 |rides ar|e docume|
|00001a30| 6e 74 65 64 0a 58 09 20 | 20 6d 6f 72 65 20 63 6f |nted.X. | more co|
|00001a40| 6d 70 6c 65 74 65 6c 79 | 20 6e 65 78 74 3a 0a 58 |mpletely| next:.X|
|00001a50| 0a 58 09 2d 20 49 66 20 | 79 6f 75 20 77 61 6e 74 |.X.- If |you want|
|00001a60| 20 74 6f 20 70 6c 61 79 | 20 61 72 6f 75 6e 64 20 | to play| around |
|00001a70| 77 69 74 68 20 63 68 61 | 72 61 63 74 65 72 20 6d |with cha|racter m|
|00001a80| 61 70 70 69 6e 67 73 2e | 2e 2e 2e 2e 0a 58 09 20 |appings.|.....X. |
|00001a90| 20 45 67 3a 20 61 64 64 | 69 6e 67 20 61 63 63 65 | Eg: add|ing acce|
|00001aa0| 6e 74 73 20 66 6f 72 20 | 79 6f 75 72 20 6f 77 6e |nts for |your own|
|00001ab0| 20 6c 61 6e 67 75 61 67 | 65 20 28 69 65 3a 20 47 | languag|e (ie: G|
|00001ac0| 65 72 6d 61 6e 29 0a 58 | 09 20 20 54 68 65 20 6d |erman).X|. The m|
|00001ad0| 6f 73 74 20 69 6d 70 6f | 72 74 61 6e 74 20 74 68 |ost impo|rtant th|
|00001ae0| 69 6e 67 20 74 6f 20 72 | 65 6d 65 6d 62 65 72 20 |ing to r|emember |
|00001af0| 69 73 20 74 68 61 74 20 | 79 6f 75 20 63 61 6e 6e |is that |you cann|
|00001b00| 6f 74 20 65 78 74 65 6e | 64 0a 58 09 20 20 74 68 |ot exten|d.X. th|
|00001b10| 65 20 43 41 54 27 73 20 | 63 68 61 72 61 63 74 65 |e CAT's |characte|
|00001b20| 72 20 73 65 74 73 20 77 | 69 74 68 6f 75 74 20 6d |r sets w|ithout m|
|00001b30| 6f 64 69 66 79 69 6e 67 | 20 74 72 6f 66 66 20 2d |odifying| troff -|
|00001b40| 20 75 6e 6c 69 6b 65 20 | 64 69 74 72 6f 66 66 0a | unlike |ditroff.|
|00001b50| 58 09 20 20 77 68 65 72 | 65 20 79 6f 75 20 63 61 |X. wher|e you ca|
|00001b60| 6e 20 61 64 64 20 74 68 | 65 6d 20 62 79 20 63 68 |n add th|em by ch|
|00001b70| 61 6e 67 69 6e 67 20 74 | 68 65 20 6d 61 6b 65 64 |anging t|he maked|
|00001b80| 65 76 20 66 69 6c 65 73 | 2e 20 20 54 68 69 73 0a |ev files|. This.|
|00001b90| 58 09 20 20 69 73 20 68 | 6f 77 20 79 6f 75 20 64 |X. is h|ow you d|
|00001ba0| 6f 20 6f 76 65 72 72 69 | 64 65 73 20 28 73 65 65 |o overri|des (see|
|00001bb0| 20 74 72 6f 66 66 32 70 | 73 28 31 29 20 66 6f 72 | troff2p|s(1) for|
|00001bc0| 20 6d 6f 72 65 20 64 65 | 74 61 69 6c 73 29 3a 0a | more de|tails):.|
|00001bd0| 58 0a 58 09 20 20 20 20 | 2d 20 50 75 74 20 69 6e |X.X. |- Put in|
|00001be0| 20 61 20 6d 61 70 20 6f | 76 65 72 72 69 64 65 20 | a map o|verride |
|00001bf0| 69 6e 20 74 68 65 20 61 | 70 70 72 6f 70 72 69 61 |in the a|ppropria|
|00001c00| 74 65 20 2a 2e 66 6f 6e | 74 73 20 66 69 6c 65 20 |te *.fon|ts file |
|00001c10| 74 68 61 74 0a 58 09 20 | 20 20 20 20 20 65 6d 69 |that.X. | emi|
|00001c20| 74 73 20 74 68 65 20 63 | 68 61 72 61 63 74 65 72 |ts the c|haracter|
|00001c30| 20 79 6f 75 20 77 61 6e | 74 20 69 6e 20 70 6c 61 | you wan|t in pla|
|00001c40| 63 65 20 6f 66 20 61 20 | 63 68 61 72 61 63 74 65 |ce of a |characte|
|00001c50| 72 20 79 6f 75 0a 58 09 | 20 20 20 20 20 20 64 6f |r you.X.| do|
|00001c60| 6e 27 74 20 6e 65 65 64 | 20 69 6e 20 74 68 65 20 |n't need| in the |
|00001c70| 61 70 70 72 6f 70 72 69 | 61 74 65 20 2a 2e 66 6f |appropri|ate *.fo|
|00001c80| 6e 74 73 20 66 69 6c 65 | 2e 20 20 45 67 3a 20 66 |nts file|. Eg: f|
|00001c90| 6f 72 0a 58 09 20 20 20 | 20 20 20 22 67 65 72 6d |or.X. | "germ|
|00001ca0| 61 6e 64 62 6c 73 22 20 | 69 6e 20 64 69 74 72 6f |andbls" |in ditro|
|00001cb0| 66 66 2c 20 65 6d 69 74 | 20 22 73 73 22 20 69 6e |ff, emit| "ss" in|
|00001cc0| 73 74 65 61 64 20 6f 66 | 20 22 63 74 22 20 66 6f |stead of| "ct" fo|
|00001cd0| 72 0a 58 09 20 20 20 20 | 20 20 74 68 65 20 63 65 |r.X. | the ce|
|00001ce0| 6e 74 20 63 68 61 72 61 | 63 74 65 72 2e 20 20 59 |nt chara|cter. Y|
|00001cf0| 6f 75 72 20 6f 76 65 72 | 72 69 64 65 20 28 69 6e |our over|ride (in|
|00001d00| 20 64 74 2e 66 6f 6e 74 | 73 29 20 77 6f 75 6c 64 | dt.font|s) would|
|00001d10| 0a 58 09 20 20 20 20 20 | 20 6c 6f 6f 6b 20 6c 69 |.X. | look li|
|00001d20| 6b 65 3a 0a 58 0a 58 09 | 09 63 74 20 4e 20 73 73 |ke:.X.X.|.ct N ss|
|00001d30| 0a 58 0a 58 09 20 20 20 | 20 20 20 54 68 65 20 63 |.X.X. | The c|
|00001d40| 6f 6d 70 6c 65 74 65 20 | 6f 76 65 72 72 69 64 65 |omplete |override|
|00001d50| 20 66 6f 72 6d 61 74 20 | 69 73 3a 0a 58 0a 58 09 | format |is:.X.X.|
|00001d60| 09 3c 74 72 6f 66 66 63 | 68 61 72 3e 20 4e 7c 53 |.<troffc|har> N|S|
|00001d70| 7c 6e 20 3c 73 65 71 75 | 65 6e 63 65 3e 20 3c 78 ||n <sequ|ence> <x|
|00001d80| 20 61 64 6a 75 73 74 3e | 20 3c 79 20 61 64 6a 75 | adjust>| <y adju|
|00001d90| 73 74 3e 20 3c 73 63 61 | 6c 65 3e 0a 58 0a 58 09 |st> <sca|le>.X.X.|
|00001da0| 20 20 20 20 20 20 78 20 | 61 64 6a 75 73 74 2c 20 | x |adjust, |
|00001db0| 79 20 61 64 6a 75 73 74 | 2c 20 73 63 61 6c 65 20 |y adjust|, scale |
|00001dc0| 64 65 66 61 75 6c 74 20 | 74 6f 20 30 2c 20 30 20 |default |to 0, 0 |
|00001dd0| 61 6e 64 20 31 30 30 20 | 72 65 73 70 65 63 74 69 |and 100 |respecti|
|00001de0| 76 65 6c 79 2e 0a 58 09 | 20 20 20 20 20 20 78 20 |vely..X.| x |
|00001df0| 61 6e 64 20 79 20 61 64 | 6a 75 73 74 20 61 72 65 |and y ad|just are|
|00001e00| 20 6d 75 6c 74 69 70 6c | 69 65 64 20 62 79 20 2e | multipl|ied by .|
|00001e10| 30 31 2c 20 74 68 65 6e | 20 74 68 65 20 70 6f 69 |01, then| the poi|
|00001e20| 6e 74 73 69 7a 65 0a 58 | 09 20 20 20 20 20 20 61 |ntsize.X|. a|
|00001e30| 6e 64 20 6f 66 20 74 68 | 65 20 6f 75 74 70 75 74 |nd of th|e output|
|00001e40| 20 64 72 69 76 65 72 20 | 74 6f 20 67 69 76 65 20 | driver |to give |
|00001e50| 74 68 65 20 73 68 69 66 | 74 20 66 61 63 74 6f 72 |the shif|t factor|
|00001e60| 20 69 6e 0a 58 09 20 20 | 20 20 20 20 31 2f 72 65 | in.X. | 1/re|
|00001e70| 73 6f 6c 75 74 69 6f 6e | 20 75 6e 69 74 73 2e 20 |solution| units. |
|00001e80| 20 53 63 61 6c 65 20 61 | 6c 6c 6f 77 73 20 79 6f | Scale a|llows yo|
|00001e90| 75 20 74 6f 20 63 68 61 | 6e 67 65 20 74 68 65 20 |u to cha|nge the |
|00001ea0| 73 69 7a 65 0a 58 09 20 | 20 20 20 20 20 6f 66 20 |size.X. | of |
|00001eb0| 74 68 61 74 20 6f 6e 65 | 20 63 68 61 72 61 63 74 |that one| charact|
|00001ec0| 65 72 20 28 65 67 3a 20 | 79 6f 75 20 74 68 69 6e |er (eg: |you thin|
|00001ed0| 6b 20 62 75 6c 6c 65 74 | 20 69 73 20 74 6f 6f 20 |k bullet| is too |
|00001ee0| 73 6d 61 6c 6c 29 2c 20 | 62 75 74 0a 58 09 20 20 |small), |but.X. |
|00001ef0| 20 20 20 20 69 74 20 69 | 73 6e 27 74 20 72 65 63 | it i|sn't rec|
|00001f00| 6f 6d 6d 65 6e 64 65 64 | 20 74 6f 6f 20 6d 75 63 |ommended| too muc|
|00001f10| 68 20 28 69 74 20 6d 61 | 79 20 6e 6f 74 20 77 6f |h (it ma|y not wo|
|00001f20| 72 6b 20 72 65 61 73 6f | 6e 61 62 6c 79 0a 58 09 |rk reaso|nably.X.|
|00001f30| 20 20 20 20 20 20 6f 6e | 20 6e 6f 6e 2d 70 6f 73 | on| non-pos|
|00001f40| 74 73 63 72 69 70 74 20 | 64 72 69 76 65 72 73 29 |tscript |drivers)|
|00001f50| 2e 20 20 41 67 61 69 6e | 2c 20 73 63 61 6c 65 20 |. Again|, scale |
|00001f60| 69 73 20 70 72 65 73 63 | 61 6c 65 64 20 62 79 0a |is presc|aled by.|
|00001f70| 58 09 20 20 20 20 20 20 | 2e 30 31 20 66 69 72 73 |X. |.01 firs|
|00001f80| 74 2c 20 73 6f 20 31 30 | 30 20 69 73 20 31 2d 31 |t, so 10|0 is 1-1|
|00001f90| 2e 0a 58 0a 58 09 20 20 | 20 20 20 20 3c 73 65 71 |..X.X. | <seq|
|00001fa0| 75 65 6e 63 65 3e 20 64 | 65 66 61 75 6c 74 73 20 |uence> d|efaults |
|00001fb0| 74 6f 20 3c 74 72 6f 66 | 66 63 68 61 72 3e 2e 20 |to <trof|fchar>. |
|00001fc0| 20 4e 20 6d 65 61 6e 73 | 20 6e 6f 72 6d 61 6c 20 | N means| normal |
|00001fd0| 6d 61 70 70 69 6e 67 0a | 58 09 20 20 20 20 20 20 |mapping.|X. |
|00001fe0| 28 65 67 3a 20 66 6f 72 | 20 66 6f 6e 74 73 20 6f |(eg: for| fonts o|
|00001ff0| 74 68 65 72 20 74 68 61 | 6e 20 53 20 77 69 74 68 |ther tha|n S with|
|00002000| 20 6e 6f 20 63 72 6f 73 | 73 20 66 6f 6e 74 20 6a | no cros|s font j|
|00002010| 75 6d 70 69 6e 67 29 2c | 0a 58 09 20 20 20 20 20 |umping),|.X. |
|00002020| 20 53 20 6d 65 61 6e 73 | 20 73 79 6d 62 6f 6c 20 | S means| symbol |
|00002030| 66 6f 6e 74 2c 20 61 6e | 64 20 22 6e 22 20 6d 65 |font, an|d "n" me|
|00002040| 61 6e 73 20 73 70 65 63 | 69 66 69 63 20 66 6f 6e |ans spec|ific fon|
|00002050| 74 20 28 75 73 75 61 6c | 6c 79 20 3e 33 20 2d 0a |t (usual|ly >3 -.|
|00002060| 58 09 20 20 20 20 20 20 | 65 67 3a 20 73 70 65 63 |X. |eg: spec|
|00002070| 69 61 6c 20 62 72 61 63 | 6b 65 74 20 66 6f 6e 74 |ial brac|ket font|
|00002080| 73 29 2e 0a 58 0a 58 09 | 20 20 20 20 2d 20 4d 6f |s)..X.X.| - Mo|
|00002090| 64 69 66 79 20 74 68 65 | 20 77 69 64 74 68 20 74 |dify the| width t|
|000020a0| 61 62 6c 65 20 66 6f 72 | 20 74 68 65 20 63 68 61 |able for| the cha|
|000020b0| 72 61 63 74 65 72 20 79 | 6f 75 27 72 65 20 72 65 |racter y|ou're re|
|000020c0| 70 6c 61 63 69 6e 67 0a | 58 09 20 20 20 20 20 20 |placing.|X. |
|000020d0| 74 6f 20 68 61 76 65 20 | 74 68 65 20 77 69 64 74 |to have |the widt|
|000020e0| 68 20 66 6f 72 20 74 68 | 65 20 63 68 61 72 61 63 |h for th|e charac|
|000020f0| 74 65 72 20 79 6f 75 27 | 72 65 20 65 6d 69 74 74 |ter you'|re emitt|
|00002100| 69 6e 67 2e 0a 58 09 20 | 20 20 20 20 20 45 67 3a |ing..X. | Eg:|
|00002110| 20 66 6f 72 20 67 65 72 | 6d 61 6e 64 62 6c 73 20 | for ger|mandbls |
|00002120| 69 6e 20 64 69 74 72 6f | 66 66 2c 20 72 65 70 6c |in ditro|ff, repl|
|00002130| 61 63 65 20 74 68 65 20 | 22 63 74 22 20 65 6e 74 |ace the |"ct" ent|
|00002140| 72 79 27 73 0a 58 09 20 | 20 20 20 20 20 77 69 64 |ry's.X. | wid|
|00002150| 74 68 20 69 6e 20 77 69 | 64 74 68 73 2f 77 69 64 |th in wi|dths/wid|
|00002160| 74 68 70 73 2f 52 20 77 | 69 74 68 20 74 68 65 20 |thps/R w|ith the |
|00002170| 77 69 64 74 68 20 66 6f | 72 20 22 73 73 22 2e 20 |width fo|r "ss". |
|00002180| 20 54 68 69 73 0a 58 09 | 20 20 20 20 20 20 6c 61 | This.X.| la|
|00002190| 74 74 65 72 20 73 74 65 | 70 20 69 73 20 6e 6f 74 |tter ste|p is not|
|000021a0| 20 6e 65 63 65 73 73 61 | 72 79 20 77 69 74 68 20 | necessa|ry with |
|000021b0| 6c 61 73 65 72 6a 65 74 | 73 20 62 65 63 61 75 73 |laserjet|s becaus|
|000021c0| 65 20 74 68 65 0a 58 09 | 20 20 20 20 20 20 62 75 |e the.X.| bu|
|000021d0| 69 6c 64 20 70 72 6f 63 | 65 64 75 72 65 20 62 75 |ild proc|edure bu|
|000021e0| 69 6c 64 73 20 61 20 6e | 65 77 20 77 69 64 74 68 |ilds a n|ew width|
|000021f0| 20 74 61 62 6c 65 20 75 | 73 69 6e 67 20 74 68 65 | table u|sing the|
|00002200| 0a 58 09 20 20 20 20 20 | 20 72 65 6d 61 70 70 69 |.X. | remappi|
|00002210| 6e 67 2e 0a 58 0a 58 09 | 20 20 57 69 74 68 20 64 |ng..X.X.| With d|
|00002220| 69 74 72 6f 66 66 20 69 | 6e 70 75 74 20 28 6f 72 |itroff i|nput (or|
|00002230| 20 74 68 65 20 75 73 65 | 20 6f 66 20 74 68 65 20 | the use| of the |
|00002240| 22 43 22 20 73 70 65 63 | 69 61 6c 20 64 69 72 65 |"C" spec|ial dire|
|00002250| 63 74 69 76 65 73 20 2d | 20 73 65 65 0a 58 09 20 |ctives -| see.X. |
|00002260| 20 74 72 6f 66 66 32 70 | 73 28 31 29 29 2c 20 79 | troff2p|s(1)), y|
|00002270| 6f 75 20 63 61 6e 20 65 | 78 74 65 6e 64 20 74 68 |ou can e|xtend th|
|00002280| 65 20 63 68 61 72 61 63 | 74 65 72 20 73 65 74 20 |e charac|ter set |
|00002290| 61 73 20 6d 75 63 68 20 | 61 73 20 79 6f 75 20 77 |as much |as you w|
|000022a0| 61 6e 74 2e 0a 58 09 20 | 20 59 6f 75 20 66 69 6e |ant..X. | You fin|
|000022b0| 64 20 74 68 65 20 65 6e | 74 72 79 20 69 6e 20 74 |d the en|try in t|
|000022c0| 68 65 20 61 70 70 72 6f | 70 72 69 61 74 65 20 77 |he appro|priate w|
|000022d0| 69 64 74 68 20 66 69 6c | 65 73 20 61 6e 64 20 61 |idth fil|es and a|
|000022e0| 64 64 20 69 6e 20 74 68 | 65 0a 58 09 20 20 77 69 |dd in th|e.X. wi|
|000022f0| 64 74 68 20 65 6e 74 72 | 69 65 73 20 66 6f 72 20 |dth entr|ies for |
|00002300| 79 6f 75 72 20 63 68 61 | 72 61 63 74 65 72 2c 20 |your cha|racter, |
|00002310| 61 6e 64 20 74 68 65 6e | 20 61 64 64 20 74 68 65 |and then| add the|
|00002320| 6d 20 74 6f 20 74 68 65 | 0a 58 09 20 20 22 65 78 |m to the|.X. "ex|
|00002330| 74 65 6e 73 69 6f 6e 73 | 22 20 73 65 63 74 69 6f |tensions|" sectio|
|00002340| 6e 20 6f 66 20 74 68 65 | 20 3f 3f 2e 66 6f 6e 74 |n of the| ??.font|
|00002350| 73 20 66 69 6c 65 2e 20 | 20 53 65 65 20 70 73 2e |s file. | See ps.|
|00002360| 66 6f 6e 74 73 20 66 6f | 72 0a 58 09 20 20 61 6e |fonts fo|r.X. an|
|00002370| 20 65 78 61 6d 70 6c 65 | 2e 20 20 41 74 20 70 72 | example|. At pr|
|00002380| 65 73 65 6e 74 20 74 68 | 65 72 65 27 73 20 6e 6f |esent th|ere's no|
|00002390| 20 77 61 79 20 6f 66 20 | 67 65 74 74 69 6e 67 20 | way of |getting |
|000023a0| 74 68 65 20 77 69 64 74 | 68 0a 58 09 20 20 69 6e |the widt|h.X. in|
|000023b0| 66 6f 72 6d 61 74 69 6f | 6e 20 69 6e 74 6f 20 43 |formatio|n into C|
|000023c0| 41 54 20 74 72 6f 66 66 | 2c 20 62 75 74 20 77 69 |AT troff|, but wi|
|000023d0| 74 68 20 64 69 74 72 6f | 66 66 20 65 76 65 72 79 |th ditro|ff every|
|000023e0| 74 68 69 6e 67 20 77 6f | 72 6b 73 20 77 65 6c 6c |thing wo|rks well|
|000023f0| 2e 0a 58 09 20 20 42 79 | 20 61 64 64 69 6e 67 20 |..X. By| adding |
|00002400| 74 68 65 20 65 6e 74 72 | 79 20 69 6e 74 6f 20 74 |the entr|y into t|
|00002410| 68 65 20 77 69 64 74 68 | 20 66 69 6c 65 2c 20 74 |he width| file, t|
|00002420| 68 65 20 77 69 64 74 68 | 73 2f 4d 61 6b 65 66 69 |he width|s/Makefi|
|00002430| 6c 65 0a 58 09 20 20 77 | 69 6c 6c 20 67 65 6e 65 |le.X. w|ill gene|
|00002440| 72 61 74 65 20 61 20 63 | 6f 6d 70 6c 65 74 65 20 |rate a c|omplete |
|00002450| 73 65 74 20 6f 66 20 65 | 78 74 65 6e 73 69 6f 6e |set of e|xtension|
|00002460| 20 63 68 61 72 61 63 74 | 65 72 73 20 69 6e 0a 58 | charact|ers in.X|
|00002470| 09 20 20 77 69 64 74 68 | 3f 3f 2f 3f 3f 2e 65 78 |. width|??/??.ex|
|00002480| 74 2c 20 77 68 69 63 68 | 20 63 61 6e 20 62 65 20 |t, which| can be |
|00002490| 61 70 70 65 6e 64 65 64 | 20 6f 6e 74 6f 20 74 68 |appended| onto th|
|000024a0| 65 20 2a 2e 66 6f 6e 74 | 73 20 66 69 6c 65 2e 0a |e *.font|s file..|
|000024b0| 58 0a 58 20 20 20 20 2d | 20 41 64 64 69 6e 67 20 |X.X -| Adding |
|000024c0| 66 6f 6e 74 73 20 61 66 | 74 65 72 20 69 6e 73 74 |fonts af|ter inst|
|000024d0| 61 6c 6c 61 74 69 6f 6e | 3a 0a 58 09 2d 20 4e 65 |allation|:.X.- Ne|
|000024e0| 77 20 4c 61 73 65 72 6a | 65 74 20 66 6f 6e 74 73 |w Laserj|et fonts|
|000024f0| 20 73 68 6f 75 6c 64 20 | 62 65 20 69 6e 73 74 61 | should |be insta|
|00002500| 6c 6c 65 64 20 69 6e 20 | 74 68 65 20 24 4c 4a 46 |lled in |the $LJF|
|00002510| 20 64 69 72 65 63 74 6f | 72 79 2e 0a 58 09 2d 20 | directo|ry..X.- |
|00002520| 4e 6f 6e 2d 6c 61 73 65 | 72 6a 65 74 20 66 6f 6e |Non-lase|rjet fon|
|00002530| 74 73 20 73 68 6f 75 6c | 64 20 68 61 76 65 20 74 |ts shoul|d have t|
|00002540| 68 65 69 72 20 64 69 74 | 72 6f 66 66 20 77 69 64 |heir dit|roff wid|
|00002550| 74 68 20 74 61 62 6c 65 | 20 70 6c 61 63 65 64 0a |th table| placed.|
|00002560| 58 09 20 20 69 6e 20 74 | 68 65 20 70 72 6f 70 65 |X. in t|he prope|
|00002570| 72 20 77 69 64 74 68 73 | 2f 77 69 64 74 68 3f 3f |r widths|/width??|
|00002580| 20 64 69 72 65 63 74 6f | 72 79 2e 0a 58 09 2d 20 | directo|ry..X.- |
|00002590| 45 6e 73 75 72 65 20 74 | 68 61 74 20 74 68 65 20 |Ensure t|hat the |
|000025a0| 61 70 70 72 6f 70 72 69 | 61 74 65 20 6c 69 62 2f |appropri|ate lib/|
|000025b0| 2a 2e 66 6f 6e 74 73 20 | 66 69 6c 65 20 63 6f 6e |*.fonts |file con|
|000025c0| 74 61 69 6e 73 20 74 68 | 65 20 66 6f 6e 74 73 0a |tains th|e fonts.|
|000025d0| 58 09 20 20 79 6f 75 27 | 72 65 20 61 64 64 69 6e |X. you'|re addin|
|000025e0| 67 2e 0a 58 09 2d 20 61 | 74 20 74 68 65 20 74 6f |g..X.- a|t the to|
|000025f0| 70 20 6c 65 76 65 6c 2c | 20 74 79 70 65 3a 0a 58 |p level,| type:.X|
|00002600| 09 20 20 20 20 6d 61 6b | 65 20 72 65 67 69 73 74 |. mak|e regist|
|00002610| 65 72 0a 58 09 2d 20 74 | 68 65 6e 0a 58 09 20 20 |er.X.- t|hen.X. |
|00002620| 20 20 73 75 20 72 6f 6f | 74 0a 58 09 20 20 20 20 | su roo|t.X. |
|00002630| 6d 61 6b 65 20 69 6e 73 | 74 61 6c 6c 77 69 64 74 |make ins|tallwidt|
|00002640| 68 73 0a 58 0a 58 20 20 | 20 20 2d 20 44 69 73 70 |hs.X.X | - Disp|
|00002650| 6c 61 79 20 50 6f 73 74 | 73 63 72 69 70 74 3a 20 |lay Post|script: |
|00002660| 4d 79 20 64 69 73 70 6c | 61 79 20 70 6f 73 74 73 |My displ|ay posts|
|00002670| 63 72 69 70 74 20 63 61 | 6d 65 20 77 69 74 68 20 |cript ca|me with |
|00002680| 74 68 65 20 73 6f 75 72 | 63 65 20 66 6f 72 0a 58 |the sour|ce for.X|
|00002690| 20 20 20 20 20 20 61 20 | 75 74 69 6c 69 74 79 20 | a |utility |
|000026a0| 63 61 6c 6c 65 64 20 22 | 64 70 73 65 78 65 63 22 |called "|dpsexec"|
|000026b0| 2c 20 77 68 69 63 68 20 | 69 73 20 61 20 73 69 6d |, which |is a sim|
|000026c0| 70 6c 65 20 50 6f 73 74 | 73 63 72 69 70 74 20 70 |ple Post|script p|
|000026d0| 72 65 76 69 65 77 65 72 | 0a 58 20 20 20 20 20 20 |reviewer|.X |
|000026e0| 66 72 6f 6e 74 20 65 6e | 64 2e 20 20 54 68 65 20 |front en|d. The |
|000026f0| 73 6f 75 72 63 65 20 6f | 6e 20 61 20 49 42 4d 20 |source o|n a IBM |
|00002700| 52 53 2f 36 30 30 30 20 | 77 61 73 20 69 6e 3a 0a |RS/6000 |was in:.|
|00002710| 58 09 2f 75 73 72 2f 6c | 70 70 2f 44 50 53 2f 65 |X./usr/l|pp/DPS/e|
|00002720| 78 61 6d 70 6c 65 73 2f | 64 70 73 65 78 65 63 2f |xamples/|dpsexec/|
|00002730| 64 70 73 65 78 65 63 2e | 63 0a 58 20 20 20 20 20 |dpsexec.|c.X |
|00002740| 20 46 6f 72 20 62 65 73 | 74 20 72 65 73 75 6c 74 | For bes|t result|
|00002750| 73 2c 20 79 6f 75 20 6d | 61 79 20 77 61 6e 74 20 |s, you m|ay want |
|00002760| 74 6f 20 61 70 70 6c 79 | 20 74 68 65 20 66 6f 6c |to apply| the fol|
|00002770| 6c 6f 77 69 6e 67 20 70 | 61 74 63 68 0a 58 20 20 |lowing p|atch.X |
|00002780| 20 20 20 20 74 6f 20 69 | 74 20 28 69 74 20 72 65 | to i|t (it re|
|00002790| 64 65 66 69 6e 65 73 20 | 74 68 65 20 69 6e 69 74 |defines |the init|
|000027a0| 69 61 6c 20 77 69 6e 64 | 6f 77 20 74 6f 20 62 65 |ial wind|ow to be|
|000027b0| 20 62 69 67 20 65 6e 6f | 75 67 68 0a 58 20 20 20 | big eno|ugh.X |
|000027c0| 20 20 20 74 6f 20 63 6f | 6e 74 61 69 6e 20 61 20 | to co|ntain a |
|000027d0| 73 74 61 6e 64 61 72 64 | 20 70 61 67 65 2c 20 61 |standard| page, a|
|000027e0| 73 20 77 65 6c 6c 20 61 | 73 20 61 64 64 69 6e 67 |s well a|s adding|
|000027f0| 20 61 20 22 21 22 20 65 | 73 63 61 70 65 20 74 6f | a "!" e|scape to|
|00002800| 0a 58 20 20 20 20 20 20 | 73 68 65 6c 6c 20 69 6e |.X |shell in|
|00002810| 20 74 68 65 20 69 6e 74 | 65 72 72 75 70 74 20 68 | the int|errupt h|
|00002820| 61 6e 64 6c 65 72 29 3a | 0a 58 0a 58 3d 3d 3d 3d |andler):|.X.X====|
|00002830| 3d 3d 3d 3d 3d 3d 3d 20 | 44 50 53 45 58 45 43 2e |======= |DPSEXEC.|
|00002840| 43 20 50 41 54 43 48 20 | 53 54 41 52 54 20 3d 3d |C PATCH |START ==|
|00002850| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 0a 58 2a 2a |========|====.X**|
|00002860| 2a 20 64 70 73 65 78 65 | 63 2e 63 2e 6f 72 69 67 |* dpsexe|c.c.orig|
|00002870| 09 53 61 74 20 4d 61 72 | 20 20 39 20 30 32 3a 30 |.Sat Mar| 9 02:0|
|00002880| 30 3a 34 35 20 31 39 39 | 31 0a 58 2d 2d 2d 20 64 |0:45 199|1.X--- d|
|00002890| 70 73 65 78 65 63 2e 63 | 09 4d 6f 6e 20 4d 61 72 |psexec.c|.Mon Mar|
|000028a0| 20 31 31 20 32 33 3a 32 | 37 3a 33 32 20 31 39 39 | 11 23:2|7:32 199|
|000028b0| 31 0a 58 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |1.X*****|********|
|000028c0| 2a 2a 0a 58 2a 2a 2a 20 | 36 35 2c 37 32 20 2a 2a |**.X*** |65,72 **|
|000028d0| 2a 2a 0a 58 20 20 23 69 | 6e 63 6c 75 64 65 20 3c |**.X #i|nclude <|
|000028e0| 44 50 53 2f 58 44 50 53 | 6c 69 62 2e 68 3e 0a 58 |DPS/XDPS|lib.h>.X|
|000028f0| 20 20 23 69 6e 63 6c 75 | 64 65 20 3c 44 50 53 2f | #inclu|de <DPS/|
|00002900| 64 70 73 58 63 6c 69 65 | 6e 74 2e 68 3e 0a 58 0a |dpsXclie|nt.h>.X.|
|00002910| 58 21 20 23 64 65 66 69 | 6e 65 20 57 5f 48 45 49 |X! #defi|ne W_HEI|
|00002920| 47 48 54 09 35 31 32 0a | 58 21 20 23 64 65 66 69 |GHT.512.|X! #defi|
|00002930| 6e 65 20 57 5f 57 49 44 | 54 48 09 09 35 31 32 0a |ne W_WID|TH..512.|
|00002940| 58 0a 58 20 20 73 74 61 | 74 69 63 20 69 6e 74 20 |X.X sta|tic int |
|00002950| 71 75 69 74 46 6c 61 67 | 20 3d 20 30 3b 0a 58 20 |quitFlag| = 0;.X |
|00002960| 20 73 74 61 74 69 63 20 | 75 6e 73 69 67 6e 65 64 | static |unsigned|
|00002970| 20 6c 6f 6e 67 20 69 6e | 74 20 65 6e 61 62 6c 65 | long in|t enable|
|00002980| 2c 20 6e 65 78 74 2c 20 | 64 69 73 61 62 6c 65 3b |, next, |disable;|
|00002990| 0a 58 2d 2d 2d 20 36 35 | 2c 37 32 20 2d 2d 2d 2d |.X--- 65|,72 ----|
|000029a0| 0a 58 20 20 23 69 6e 63 | 6c 75 64 65 20 3c 44 50 |.X #inc|lude <DP|
|000029b0| 53 2f 58 44 50 53 6c 69 | 62 2e 68 3e 0a 58 20 20 |S/XDPSli|b.h>.X |
|000029c0| 23 69 6e 63 6c 75 64 65 | 20 3c 44 50 53 2f 64 70 |#include| <DPS/dp|
|000029d0| 73 58 63 6c 69 65 6e 74 | 2e 68 3e 0a 58 0a 58 21 |sXclient|.h>.X.X!|
|000029e0| 20 23 64 65 66 69 6e 65 | 20 57 5f 48 45 49 47 48 | #define| W_HEIGH|
|000029f0| 54 09 28 31 31 2a 37 32 | 29 0a 58 21 20 23 64 65 |T.(11*72|).X! #de|
|00002a00| 66 69 6e 65 20 57 5f 57 | 49 44 54 48 09 09 28 39 |fine W_W|IDTH..(9|
|00002a10| 2a 37 32 29 0a 58 0a 58 | 20 20 73 74 61 74 69 63 |*72).X.X| static|
|00002a20| 20 69 6e 74 20 71 75 69 | 74 46 6c 61 67 20 3d 20 | int qui|tFlag = |
|00002a30| 30 3b 0a 58 20 20 73 74 | 61 74 69 63 20 75 6e 73 |0;.X st|atic uns|
|00002a40| 69 67 6e 65 64 20 6c 6f | 6e 67 20 69 6e 74 20 65 |igned lo|ng int e|
|00002a50| 6e 61 62 6c 65 2c 20 6e | 65 78 74 2c 20 64 69 73 |nable, n|ext, dis|
|00002a60| 61 62 6c 65 3b 0a 58 2a | 2a 2a 2a 2a 2a 2a 2a 2a |able;.X*|********|
|00002a70| 2a 2a 2a 2a 2a 2a 0a 58 | 2a 2a 2a 20 31 39 35 2c |******.X|*** 195,|
|00002a80| 32 30 30 20 2a 2a 2a 2a | 0a 58 2d 2d 2d 20 31 39 |200 ****|.X--- 19|
|00002a90| 35 2c 32 30 31 20 2d 2d | 2d 2d 0a 58 20 20 20 20 |5,201 --|--.X |
|00002aa0| 20 20 70 72 69 6e 74 66 | 28 22 5c 74 71 5c 74 71 | printf|("\tq\tq|
|00002ab0| 75 69 74 5c 6e 22 29 3b | 0a 58 20 20 20 20 20 20 |uit\n");|.X |
|00002ac0| 70 72 69 6e 74 66 28 22 | 5c 74 69 5c 74 69 6e 74 |printf("|\ti\tint|
|00002ad0| 65 72 72 75 70 74 5c 6e | 22 29 3b 0a 58 20 20 20 |errupt\n|");.X |
|00002ae0| 20 20 20 70 72 69 6e 74 | 66 28 22 5c 74 6b 5c 74 | print|f("\tk\t|
|00002af0| 6b 69 6c 6c 5c 6e 22 29 | 3b 0a 58 2b 20 20 20 20 |kill\n")|;.X+ |
|00002b00| 20 70 72 69 6e 74 66 28 | 22 5c 74 21 5c 74 73 68 | printf(|"\t!\tsh|
|00002b10| 65 6c 6c 5c 6e 22 29 3b | 0a 58 20 20 20 20 20 20 |ell\n");|.X |
|00002b20| 70 72 69 6e 74 66 28 22 | 43 6f 6d 6d 61 6e 64 3a |printf("|Command:|
|00002b30| 20 22 29 3b 0a 58 20 20 | 20 20 20 20 63 20 3d 20 | ");.X | c = |
|00002b40| 67 65 74 63 68 61 72 28 | 29 3b 20 67 65 74 63 68 |getchar(|); getch|
|00002b50| 61 72 28 29 3b 20 2f 2a | 20 65 61 74 20 74 68 65 |ar(); /*| eat the|
|00002b60| 20 6e 65 77 6c 69 6e 65 | 20 2a 2f 0a 58 20 20 20 | newline| */.X |
|00002b70| 20 20 20 73 77 69 74 63 | 68 20 28 63 29 0a 58 2a | switc|h (c).X*|
|00002b80| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 0a 58 |********|******.X|
|00002b90| 2a 2a 2a 20 32 31 35 2c | 32 32 30 20 2a 2a 2a 2a |*** 215,|220 ****|
|00002ba0| 0a 58 2d 2d 2d 20 32 31 | 36 2c 32 32 34 20 2d 2d |.X--- 21|6,224 --|
|00002bb0| 2d 2d 0a 58 20 20 20 20 | 20 20 20 20 20 20 63 61 |--.X | ca|
|00002bc0| 73 65 20 27 6b 27 3a 0a | 58 20 20 20 20 20 20 20 |se 'k':.|X |
|00002bd0| 20 20 20 20 20 20 20 63 | 6f 6d 6d 61 6e 64 20 3d | c|ommand =|
|00002be0| 20 36 3b 0a 58 20 20 20 | 20 20 20 20 20 20 20 20 | 6;.X | |
|00002bf0| 20 20 20 62 72 65 61 6b | 3b 0a 58 2b 20 09 63 61 | break|;.X+ .ca|
|00002c00| 73 65 20 27 21 27 3a 0a | 58 2b 20 09 20 20 20 20 |se '!':.|X+ . |
|00002c10| 73 79 73 74 65 6d 28 22 | 2f 62 69 6e 2f 73 68 22 |system("|/bin/sh"|
|00002c20| 29 3b 0a 58 2b 20 09 20 | 20 20 20 62 72 65 61 6b |);.X+ . | break|
|00002c30| 3b 0a 58 20 20 09 64 65 | 66 61 75 6c 74 3a 3b 0a |;.X .de|fault:;.|
|00002c40| 58 20 20 20 20 20 20 20 | 20 20 20 7d 0a 58 0a 58 |X | }.X.X|
|00002c50| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 20 44 50 53 45 |========|=== DPSE|
|00002c60| 58 45 43 2e 43 20 50 41 | 54 43 48 20 45 4e 44 20 |XEC.C PA|TCH END |
|00002c70| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002c80| 3d 3d 3d 3d 3d 3d 0a 45 | 4e 44 5f 4f 46 5f 46 49 |======.E|ND_OF_FI|
|00002c90| 4c 45 0a 20 20 69 66 20 | 74 65 73 74 20 31 30 30 |LE. if |test 100|
|00002ca0| 38 34 20 2d 6e 65 20 60 | 77 63 20 2d 63 20 3c 27 |84 -ne `|wc -c <'|
|00002cb0| 4d 49 53 43 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |MISC'`; |then. |
|00002cc0| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 4d | echo sh|ar: \"'M|
|00002cd0| 49 53 43 27 5c 22 20 75 | 6e 70 61 63 6b 65 64 20 |ISC'\" u|npacked |
|00002ce0| 77 69 74 68 20 77 72 6f | 6e 67 20 73 69 7a 65 21 |with wro|ng size!|
|00002cf0| 0a 20 20 66 69 0a 20 20 | 23 20 65 6e 64 20 6f 66 |. fi. |# end of|
|00002d00| 20 27 4d 49 53 43 27 0a | 66 69 0a 69 66 20 74 65 | 'MISC'.|fi.if te|
|00002d10| 73 74 20 2d 66 20 27 64 | 65 66 73 2e 68 27 20 2d |st -f 'd|efs.h' -|
|00002d20| 61 20 22 24 7b 31 7d 22 | 20 21 3d 20 22 2d 63 22 |a "${1}"| != "-c"|
|00002d30| 20 3b 20 74 68 65 6e 20 | 0a 20 20 65 63 68 6f 20 | ; then |. echo |
|00002d40| 73 68 61 72 3a 20 57 69 | 6c 6c 20 6e 6f 74 20 63 |shar: Wi|ll not c|
|00002d50| 6c 6f 62 62 65 72 20 65 | 78 69 73 74 69 6e 67 20 |lobber e|xisting |
|00002d60| 66 69 6c 65 20 5c 22 27 | 64 65 66 73 2e 68 27 5c |file \"'|defs.h'\|
|00002d70| 22 0a 65 6c 73 65 0a 20 | 20 65 63 68 6f 20 73 68 |".else. | echo sh|
|00002d80| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|00002d90| 22 27 64 65 66 73 2e 68 | 27 5c 22 20 5c 28 31 31 |"'defs.h|'\" \(11|
|00002da0| 35 33 37 20 63 68 61 72 | 61 63 74 65 72 73 5c 29 |537 char|acters\)|
|00002db0| 0a 20 20 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |. sed "|s/^X//" |
|00002dc0| 3e 27 64 65 66 73 2e 68 | 27 20 3c 3c 27 45 4e 44 |>'defs.h|' <<'END|
|00002dd0| 5f 4f 46 5f 46 49 4c 45 | 27 0a 58 2f 2a 0a 58 09 |_OF_FILE|'.X/*.X.|
|00002de0| 43 6f 70 79 72 69 67 68 | 74 20 31 39 38 35 2c 20 |Copyrigh|t 1985, |
|00002df0| 31 39 38 36 2c 20 31 39 | 38 37 2c 20 31 39 38 38 |1986, 19|87, 1988|
|00002e00| 2c 20 31 39 38 39 2c 20 | 31 39 39 30 2c 20 31 39 |, 1989, |1990, 19|
|00002e10| 39 31 20 43 68 72 69 73 | 20 4c 65 77 69 73 0a 58 |91 Chris| Lewis.X|
|00002e20| 09 09 41 6c 6c 20 52 69 | 67 68 74 73 20 52 65 73 |..All Ri|ghts Res|
|00002e30| 65 72 76 65 64 0a 58 0a | 58 20 20 20 20 53 65 65 |erved.X.|X See|
|00002e40| 20 74 68 65 20 4c 49 43 | 45 4e 53 45 20 66 69 6c | the LIC|ENSE fil|
|00002e50| 65 20 66 6f 72 20 61 20 | 66 75 6c 6c 20 64 65 73 |e for a |full des|
|00002e60| 63 72 69 70 74 69 6f 6e | 20 6f 66 20 72 65 73 74 |cription| of rest|
|00002e70| 72 69 63 74 69 6f 6e 73 | 20 75 6e 64 65 72 20 77 |rictions| under w|
|00002e80| 68 69 63 68 0a 58 20 20 | 20 20 74 68 69 73 20 73 |hich.X | this s|
|00002e90| 6f 66 74 77 61 72 65 20 | 69 73 20 70 72 6f 76 69 |oftware |is provi|
|00002ea0| 64 65 64 2e 0a 58 0a 58 | 09 46 75 6e 63 74 69 6f |ded..X.X|.Functio|
|00002eb0| 6e 3a 09 4d 61 69 6e 20 | 68 65 61 64 65 72 20 66 |n:.Main |header f|
|00002ec0| 69 6c 65 20 2d 20 63 6f | 6e 74 61 69 6e 73 20 73 |ile - co|ntains s|
|00002ed0| 6f 6d 65 20 63 75 73 74 | 6f 6d 69 7a 61 74 69 6f |ome cust|omizatio|
|00002ee0| 6e 0a 58 20 2a 2f 0a 58 | 0a 58 2f 2a 09 4f 66 66 |n.X */.X|.X/*.Off|
|00002ef0| 69 63 69 61 6c 20 52 65 | 6c 65 61 73 65 20 61 6e |icial Re|lease an|
|00002f00| 64 20 50 61 74 63 68 20 | 6c 65 76 65 6c 3a 09 2a |d Patch |level:.*|
|00002f10| 2f 0a 58 23 64 65 66 69 | 6e 65 09 54 32 56 45 52 |/.X#defi|ne.T2VER|
|00002f20| 53 49 4f 4e 09 22 40 28 | 23 29 50 53 52 4f 46 46 |SION."@(|#)PSROFF|
|00002f30| 20 43 6f 70 79 72 69 67 | 68 74 20 39 31 2f 30 33 | Copyrig|ht 91/03|
|00002f40| 2f 32 35 20 43 68 72 69 | 73 20 4c 65 77 69 73 20 |/25 Chri|s Lewis |
|00002f50| 2d 20 52 33 20 50 4c 30 | 22 0a 58 0a 58 2f 2a 09 |- R3 PL0|".X.X/*.|
|00002f60| 43 6f 6e 66 69 67 75 72 | 61 74 69 6f 6e 20 70 61 |Configur|ation pa|
|00002f70| 72 61 6d 65 74 65 72 73 | 3a 0a 58 20 2a 2f 0a 58 |rameters|:.X */.X|
|00002f80| 0a 58 23 75 6e 64 65 66 | 09 42 53 44 09 09 2f 2a |.X#undef|.BSD../*|
|00002f90| 20 44 65 66 69 6e 65 20 | 69 66 20 79 6f 75 20 61 | Define |if you a|
|00002fa0| 72 65 20 61 20 56 37 20 | 6f 72 20 42 53 44 20 6d |re a V7 |or BSD m|
|00002fb0| 61 63 68 69 6e 65 20 2a | 2f 0a 58 09 09 09 2f 2a |achine *|/.X.../*|
|00002fc0| 20 73 74 72 63 68 72 20 | 76 73 2e 20 69 6e 64 65 | strchr |vs. inde|
|00002fd0| 78 20 65 74 63 2e 2e 2e | 2e 20 2a 2f 0a 58 0a 58 |x etc...|. */.X.X|
|00002fe0| 23 64 65 66 69 6e 65 09 | 41 54 54 09 09 2f 2a 20 |#define.|ATT../* |
|00002ff0| 44 65 66 69 6e 65 20 69 | 66 20 79 6f 75 20 61 72 |Define i|f you ar|
|00003000| 65 20 73 6f 6d 65 20 73 | 6f 72 74 20 6f 66 20 53 |e some s|ort of S|
|00003010| 49 49 49 20 6f 72 20 53 | 56 20 73 79 73 74 65 6d |III or S|V system|
|00003020| 20 2a 2f 0a 58 0a 58 23 | 75 6e 64 65 66 09 42 43 | */.X.X#|undef.BC|
|00003030| 4f 50 59 09 09 2f 2a 20 | 44 65 66 69 6e 65 20 69 |OPY../* |Define i|
|00003040| 66 20 79 6f 75 20 64 6f | 6e 27 74 20 68 61 76 65 |f you do|n't have|
|00003050| 20 6d 65 6d 63 70 79 20 | 61 6e 64 20 66 72 69 65 | memcpy |and frie|
|00003060| 6e 64 73 20 2d 20 65 67 | 3a 0a 58 09 09 09 20 20 |nds - eg|:.X... |
|00003070| 20 6f 6c 64 69 73 68 20 | 42 53 44 20 73 79 73 74 | oldish |BSD syst|
|00003080| 65 6d 73 20 2a 2f 0a 58 | 0a 58 23 75 6e 64 65 66 |ems */.X|.X#undef|
|00003090| 20 20 42 43 4f 50 59 4c | 49 42 09 2f 2a 20 44 65 | BCOPYL|IB./* De|
|000030a0| 66 69 6e 65 20 69 66 20 | 42 43 4f 50 59 20 69 73 |fine if |BCOPY is|
|000030b0| 20 64 65 66 69 6e 65 64 | 20 61 6e 64 20 79 6f 75 | defined| and you|
|000030c0| 20 68 61 76 65 20 2a 2f | 0a 58 09 09 09 2f 2a 20 | have */|.X.../* |
|000030d0| 61 20 62 63 6f 70 79 20 | 69 6e 20 79 6f 75 72 20 |a bcopy |in your |
|000030e0| 6c 69 62 72 61 72 79 20 | 2a 2f 0a 58 0a 58 2f 2a |library |*/.X.X/*|
|000030f0| 09 54 68 65 20 6e 61 6d | 65 20 6f 66 20 61 20 72 |.The nam|e of a r|
|00003100| 6f 75 74 69 6e 65 20 74 | 68 61 74 20 63 61 6e 20 |outine t|hat can |
|00003110| 62 65 20 63 61 6c 6c 65 | 64 20 74 68 75 73 6c 79 |be calle|d thusly|
|00003120| 3a 0a 58 09 56 46 50 52 | 49 4e 54 46 28 73 74 72 |:.X.VFPR|INTF(str|
|00003130| 65 61 6d 2c 20 66 6f 72 | 6d 61 74 2c 20 61 70 29 |eam, for|mat, ap)|
|00003140| 0a 58 09 46 49 4c 45 20 | 2a 73 74 72 65 61 6d 3b |.X.FILE |*stream;|
|00003150| 0a 58 09 63 68 61 72 20 | 2a 66 6f 72 6d 61 74 3b |.X.char |*format;|
|00003160| 0a 58 09 76 61 5f 6c 69 | 73 74 20 61 70 3b 0a 58 |.X.va_li|st ap;.X|
|00003170| 20 20 20 20 28 65 67 3a | 20 79 6f 75 20 68 61 76 | (eg:| you hav|
|00003180| 65 20 76 61 72 61 72 67 | 73 2e 68 20 61 6e 64 20 |e vararg|s.h and |
|00003190| 79 6f 75 20 68 61 76 65 | 20 61 20 72 6f 75 74 69 |you have| a routi|
|000031a0| 6e 65 20 66 75 6e 63 74 | 69 6f 6e 61 6c 6c 79 20 |ne funct|ionally |
|000031b0| 63 6f 6d 70 61 74 69 62 | 6c 65 0a 58 20 20 20 20 |compatib|le.X |
|000031c0| 77 69 74 68 20 53 79 73 | 74 65 6d 20 56 20 76 66 |with Sys|tem V vf|
|000031d0| 70 72 69 6e 74 66 2e 20 | 20 49 20 74 68 69 6e 6b |printf. | I think|
|000031e0| 20 42 53 44 20 68 61 73 | 20 6f 6e 65 20 74 6f 6f | BSD has| one too|
|000031f0| 29 0a 58 0a 58 20 20 20 | 20 75 6e 64 65 66 20 69 |).X.X | undef i|
|00003200| 66 20 79 6f 75 20 64 6f | 6e 27 74 20 67 6f 74 2c |f you do|n't got,|
|00003210| 20 61 6e 64 20 6d 61 79 | 62 65 20 6d 79 20 66 61 | and may|be my fa|
|00003220| 6b 65 6f 75 74 20 77 69 | 6c 6c 20 77 6f 72 6b 2e |keout wi|ll work.|
|00003230| 0a 58 20 2a 2f 0a 58 0a | 58 23 64 65 66 69 6e 65 |.X */.X.|X#define|
|00003240| 20 56 46 50 52 49 4e 54 | 46 09 76 66 70 72 69 6e | VFPRINT|F.vfprin|
|00003250| 74 66 0a 58 0a 58 2f 2a | 20 49 66 20 79 6f 75 20 |tf.X.X/*| If you |
|00003260| 68 61 76 65 20 74 68 65 | 20 73 74 61 6e 64 2d 61 |have the| stand-a|
|00003270| 6c 6f 6e 65 20 70 6b 32 | 73 66 70 20 64 69 73 74 |lone pk2|sfp dist|
|00003280| 72 69 62 75 74 69 6f 6e | 2c 20 64 6f 20 6e 6f 74 |ribution|, do not|
|00003290| 20 74 6f 75 63 68 0a 58 | 20 20 20 61 6e 79 74 68 | touch.X| anyth|
|000032a0| 69 6e 67 20 66 72 6f 6d | 20 68 65 72 65 20 6f 6e |ing from| here on|
|000032b0| 20 2a 2f 0a 58 0a 58 2f | 2a 09 46 6f 6e 74 20 77 | */.X.X/|*.Font w|
|000032c0| 69 64 74 68 20 66 69 6c | 65 20 63 6f 6e 66 69 67 |idth fil|e config|
|000032d0| 75 72 61 74 69 6f 6e 3a | 0a 58 0a 58 09 2d 20 49 |uration:|.X.X.- I|
|000032e0| 66 20 48 45 41 44 45 52 | 53 49 5a 45 20 64 65 66 |f HEADER|SIZE def|
|000032f0| 69 6e 65 64 2c 20 75 73 | 65 20 74 68 61 74 20 6d |ined, us|e that m|
|00003300| 61 6e 79 20 62 79 74 65 | 73 20 61 73 20 61 20 70 |any byte|s as a p|
|00003310| 72 65 66 69 78 20 74 6f | 20 74 68 65 0a 58 09 20 |refix to| the.X. |
|00003320| 20 63 6f 6d 70 69 6c 65 | 64 20 66 6f 6e 74 20 77 | compile|d font w|
|00003330| 69 64 74 68 20 74 61 62 | 6c 65 2e 20 20 48 45 41 |idth tab|le. HEA|
|00003340| 44 45 52 53 49 5a 45 20 | 30 20 69 73 20 74 68 65 |DERSIZE |0 is the|
|00003350| 20 63 6f 72 72 65 63 74 | 20 64 65 66 69 6e 69 74 | correct| definit|
|00003360| 69 6f 6e 0a 58 09 20 20 | 66 6f 72 20 58 65 6e 69 |ion.X. |for Xeni|
|00003370| 78 20 61 6e 64 20 6d 6f | 73 74 20 53 79 73 74 65 |x and mo|st Syste|
|00003380| 6d 20 56 20 5b 6f 5d 74 | 72 6f 66 66 73 2e 20 20 |m V [o]t|roffs. |
|00003390| 48 45 41 44 45 52 53 49 | 5a 45 3d 33 32 20 77 6f |HEADERSI|ZE=32 wo|
|000033a0| 72 6b 73 20 66 6f 72 20 | 55 6c 74 72 69 78 0a 58 |rks for |Ultrix.X|
|000033b0| 09 20 20 28 65 78 63 65 | 70 74 20 52 49 53 43 2c |. (exce|pt RISC,|
|000033c0| 20 73 65 65 20 62 65 6c | 6f 77 29 2e 20 20 48 45 | see bel|ow). HE|
|000033d0| 41 44 45 52 53 49 5a 45 | 3d 33 32 20 77 6f 72 6b |ADERSIZE|=32 work|
|000033e0| 73 20 70 72 6f 70 65 72 | 6c 79 20 66 6f 72 20 6d |s proper|ly for m|
|000033f0| 6f 73 74 20 53 75 6e 73 | 2e 0a 58 09 2d 20 49 66 |ost Suns|..X.- If|
|00003400| 20 43 4f 46 46 20 69 73 | 20 64 65 66 69 6e 65 64 | COFF is| defined|
|00003410| 20 69 6e 73 74 65 61 64 | 2c 20 75 73 65 20 61 20 | instead|, use a |
|00003420| 43 4f 46 46 20 68 65 61 | 64 65 72 20 6f 6e 20 74 |COFF hea|der on t|
|00003430| 68 65 20 62 65 67 69 6e | 6e 69 6e 67 20 6f 66 0a |he begin|ning of.|
|00003440| 58 09 20 20 74 68 65 20 | 66 69 6c 65 2e 20 20 49 |X. the |file. I|
|00003450| 20 70 65 72 73 6f 6e 61 | 6c 6c 79 20 6b 6e 6f 77 | persona|lly know|
|00003460| 20 6f 66 20 6e 6f 20 6d | 61 63 68 69 6e 65 20 74 | of no m|achine t|
|00003470| 68 61 74 20 73 75 70 70 | 6f 72 74 73 20 74 68 65 |hat supp|orts the|
|00003480| 73 65 2c 20 74 68 6f 2c | 0a 58 09 20 20 74 68 65 |se, tho,|.X. the|
|00003490| 72 65 27 73 20 75 6e 63 | 6f 6e 66 69 72 6d 65 64 |re's unc|onfirmed|
|000034a0| 20 72 75 6d 6f 75 72 73 | 20 74 68 61 74 20 41 70 | rumours| that Ap|
|000034b0| 6f 6c 6c 6f 20 73 79 73 | 74 65 6d 73 20 6d 69 67 |ollo sys|tems mig|
|000034c0| 68 74 2e 0a 58 09 2d 20 | 49 66 20 6e 65 69 74 68 |ht..X.- |If neith|
|000034d0| 65 72 20 61 72 65 20 64 | 65 66 69 6e 65 64 2c 20 |er are d|efined, |
|000034e0| 75 73 65 20 61 20 42 53 | 44 2f 56 37 20 73 74 79 |use a BS|D/V7 sty|
|000034f0| 6c 65 20 61 2e 6f 75 74 | 2e 68 20 68 65 61 64 65 |le a.out|.h heade|
|00003500| 72 2c 20 74 68 69 73 0a | 58 09 20 20 69 73 20 61 |r, this.|X. is a|
|00003510| 70 70 72 6f 70 72 69 61 | 74 65 20 66 6f 72 20 56 |ppropria|te for V|
|00003520| 37 20 61 6e 64 20 42 53 | 44 20 74 72 6f 66 66 73 |7 and BS|D troffs|
|00003530| 0a 58 09 2d 20 49 66 20 | 79 6f 75 20 61 72 65 20 |.X.- If |you are |
|00003540| 72 75 6e 6e 69 6e 67 20 | 52 49 53 43 2f 55 6c 74 |running |RISC/Ult|
|00003550| 72 69 78 20 28 4d 69 70 | 73 20 62 6f 78 3f 20 66 |rix (Mip|s box? f|
|00003560| 72 6f 6d 20 44 45 43 29 | 20 64 65 66 69 6e 65 0a |rom DEC)| define.|
|00003570| 58 09 20 20 41 53 43 49 | 49 57 49 44 54 48 53 2c |X. ASCI|IWIDTHS,|
|00003580| 20 61 6e 64 20 74 68 65 | 20 72 65 73 74 20 6f 66 | and the| rest of|
|00003590| 20 74 68 69 73 20 73 74 | 75 66 66 20 77 69 6c 6c | this st|uff will|
|000035a0| 20 62 65 20 69 67 6e 6f | 72 65 64 20 2d 20 4d 69 | be igno|red - Mi|
|000035b0| 70 73 0a 58 09 20 20 61 | 70 70 61 72 65 6e 74 6c |ps.X. a|pparentl|
|000035c0| 79 20 63 68 61 6e 67 65 | 64 20 74 68 65 69 72 20 |y change|d their |
|000035d0| 77 69 64 74 68 20 74 61 | 62 6c 65 20 66 6f 72 6d |width ta|ble form|
|000035e0| 61 74 20 74 6f 20 61 6e | 20 41 53 43 49 49 20 66 |at to an| ASCII f|
|000035f0| 6f 72 6d 2c 0a 58 09 20 | 20 61 6e 64 20 44 45 43 |orm,.X. | and DEC|
|00003600| 20 70 69 63 6b 65 64 20 | 69 74 20 75 70 2e 20 20 | picked |it up. |
|00003610| 49 6e 20 74 68 69 73 20 | 63 61 73 65 20 49 47 4e |In this |case IGN|
|00003620| 4f 52 45 20 61 6e 79 20 | 6d 65 73 73 61 67 65 73 |ORE any |messages|
|00003630| 20 61 62 6f 75 74 0a 58 | 09 20 20 48 45 41 44 45 | about.X|. HEADE|
|00003640| 52 53 49 5a 45 20 66 72 | 6f 6d 20 22 6d 61 6b 65 |RSIZE fr|om "make|
|00003650| 20 63 68 65 63 6b 22 2e | 0a 58 0a 58 20 20 20 20 | check".|.X.X |
|00003660| 54 68 65 20 68 65 61 64 | 65 72 73 20 49 20 77 72 |The head|ers I wr|
|00003670| 69 74 65 20 77 69 6c 6c | 20 68 61 76 65 20 73 6f |ite will| have so|
|00003680| 6d 65 74 68 69 6e 67 20 | 69 6e 20 74 68 65 6d 20 |mething |in them |
|00003690| 69 66 20 48 45 41 44 45 | 52 53 49 5a 45 20 3e 20 |if HEADE|RSIZE > |
|000036a0| 30 0a 58 20 20 20 20 61 | 6e 64 20 74 68 65 72 65 |0.X a|nd there|
|000036b0| 27 73 20 61 20 66 6f 6e | 74 20 66 69 6c 65 20 66 |'s a fon|t file f|
|000036c0| 72 6f 6d 20 79 6f 75 72 | 20 6f 72 69 67 69 6e 61 |rom your| origina|
|000036d0| 6c 20 74 72 6f 66 66 20 | 64 69 73 74 72 69 62 75 |l troff |distribu|
|000036e0| 74 69 6f 6e 20 69 6e 0a | 58 20 20 20 20 2f 75 73 |tion in.|X /us|
|000036f0| 72 2f 6c 69 62 2f 66 6f | 6e 74 2f 66 74 52 20 28 |r/lib/fo|nt/ftR (|
|00003700| 74 68 65 20 68 65 61 64 | 65 72 20 61 6e 64 20 74 |the head|er and t|
|00003710| 72 61 69 6c 65 72 20 77 | 69 6c 6c 20 62 65 20 63 |railer w|ill be c|
|00003720| 6f 70 69 65 64 20 6f 76 | 65 72 29 2e 0a 58 0a 58 |opied ov|er)..X.X|
|00003730| 20 2a 2f 0a 58 0a 58 23 | 64 65 66 69 6e 65 09 48 | */.X.X#|define.H|
|00003740| 45 41 44 45 52 53 49 5a | 45 20 30 09 2f 2a 20 73 |EADERSIZ|E 0./* s|
|00003750| 69 7a 65 20 6f 66 20 68 | 65 61 64 65 72 20 69 6e |ize of h|eader in|
|00003760| 20 62 79 74 65 73 20 2a | 2f 0a 58 23 75 6e 64 65 | bytes *|/.X#unde|
|00003770| 66 09 43 4f 46 46 09 09 | 2f 2a 20 73 79 73 74 65 |f.COFF..|/* syste|
|00003780| 6d 73 20 75 73 69 6e 67 | 20 43 4f 46 46 20 68 65 |ms using| COFF he|
|00003790| 61 64 65 72 73 20 2d 20 | 53 65 65 20 54 52 4f 55 |aders - |See TROU|
|000037a0| 42 4c 45 20 66 69 6c 65 | 0a 58 09 09 09 20 20 20 |BLE file|.X... |
|000037b0| 61 62 6f 75 74 20 41 70 | 6f 6c 6c 6f 73 20 2a 2f |about Ap|ollos */|
|000037c0| 0a 58 23 75 6e 64 65 66 | 09 41 53 43 49 49 57 49 |.X#undef|.ASCIIWI|
|000037d0| 44 54 48 53 09 2f 2a 20 | 46 6f 72 20 52 49 53 43 |DTHS./* |For RISC|
|000037e0| 2f 55 6c 74 72 69 78 20 | 2a 2f 0a 58 0a 58 2f 2a |/Ultrix |*/.X.X/*|
|000037f0| 20 57 68 61 74 20 64 6f | 20 79 6f 75 72 20 43 41 | What do| your CA|
|00003800| 54 20 63 6f 64 65 73 20 | 6c 6f 6f 6b 20 6c 69 6b |T codes |look lik|
|00003810| 65 3f 0a 58 0a 58 20 20 | 20 49 66 20 42 53 44 48 |e?.X.X | If BSDH|
|00003820| 41 43 4b 20 64 65 66 69 | 6e 65 64 2c 20 74 68 65 |ACK defi|ned, the|
|00003830| 20 63 6f 64 65 20 74 6f | 20 6d 61 67 6e 69 66 79 | code to| magnify|
|00003840| 20 74 68 65 20 6e 65 78 | 74 20 6c 65 61 64 20 62 | the nex|t lead b|
|00003850| 79 20 36 34 20 72 65 70 | 6c 61 63 65 73 20 74 68 |y 64 rep|laces th|
|00003860| 65 0a 58 20 20 20 63 6f | 64 65 73 20 74 6f 20 73 |e.X co|des to s|
|00003870| 65 74 20 74 68 65 20 74 | 69 6c 74 20 28 74 69 6c |et the t|ilt (til|
|00003880| 74 20 75 73 65 64 20 6f | 6e 6c 79 20 6f 6e 20 38 |t used o|nly on 8|
|00003890| 2d 66 6f 6e 74 20 43 41 | 54 73 2c 20 77 68 69 63 |-font CA|Ts, whic|
|000038a0| 68 20 6d 6f 73 74 20 43 | 41 54 20 74 72 6f 66 66 |h most C|AT troff|
|000038b0| 0a 58 20 20 20 70 72 6f | 67 72 61 6d 73 20 64 6f |.X pro|grams do|
|000038c0| 6e 27 74 20 73 75 70 70 | 6f 72 74 29 2e 0a 58 0a |n't supp|ort)..X.|
|000038d0| 58 20 20 20 42 6f 74 68 | 20 46 4f 4e 54 38 20 61 |X Both| FONT8 a|
|000038e0| 6e 64 20 42 53 44 48 41 | 43 4b 20 63 6f 64 65 20 |nd BSDHA|CK code |
|000038f0| 61 72 65 20 2a 75 6e 74 | 65 73 74 65 64 2a 2e 20 |are *unt|ested*. |
|00003900| 20 46 4f 4e 54 38 20 70 | 72 6f 62 61 62 6c 79 20 | FONT8 p|robably |
|00003910| 64 6f 65 73 20 2a 6e 6f | 74 2a 0a 58 20 20 20 77 |does *no|t*.X w|
|00003920| 6f 72 6b 2e 0a 58 20 2a | 2f 0a 58 0a 58 23 75 6e |ork..X *|/.X.X#un|
|00003930| 64 65 66 09 42 53 44 48 | 41 43 4b 09 09 2f 2a 20 |def.BSDH|ACK../* |
|00003940| 48 61 73 20 6d 61 67 6e | 69 66 79 20 6c 65 61 64 |Has magn|ify lead|
|00003950| 20 6f 70 63 6f 64 65 20 | 2d 20 75 6e 74 65 73 74 | opcode |- untest|
|00003960| 65 64 20 2a 2f 0a 58 23 | 75 6e 64 65 66 09 46 4f |ed */.X#|undef.FO|
|00003970| 4e 54 38 09 09 2f 2a 20 | 38 20 46 6f 6e 74 20 64 |NT8../* |8 Font d|
|00003980| 65 76 69 63 65 20 2d 20 | 75 6e 74 65 73 74 65 64 |evice - |untested|
|00003990| 20 2a 2f 0a 58 23 64 65 | 66 69 6e 65 20 46 4f 4e | */.X#de|fine FON|
|000039a0| 54 34 09 09 2f 2a 20 4e | 6f 72 6d 61 6c 20 34 20 |T4../* N|ormal 4 |
|000039b0| 66 6f 6e 74 20 64 65 76 | 69 63 65 20 2a 2f 0a 58 |font dev|ice */.X|
|000039c0| 0a 58 09 09 09 2f 2a 20 | 64 65 66 69 6e 65 20 61 |.X.../* |define a|
|000039d0| 20 63 6f 6d 6d 61 6e 64 | 20 66 6f 72 20 64 65 63 | command| for dec|
|000039e0| 6f 6d 70 72 65 73 73 69 | 6e 67 20 61 6e 20 61 72 |ompressi|ng an ar|
|000039f0| 67 75 6d 65 6e 74 0a 58 | 09 09 09 20 20 20 66 69 |gument.X|... fi|
|00003a00| 6c 65 20 74 6f 20 73 74 | 64 6f 75 74 20 2d 20 61 |le to st|dout - a|
|00003a10| 6c 6c 6f 77 73 20 79 6f | 75 20 74 6f 20 63 6f 6d |llows yo|u to com|
|00003a20| 70 72 65 73 73 20 53 46 | 50 27 73 2e 0a 58 09 09 |press SF|P's..X..|
|00003a30| 09 20 20 20 75 6e 64 65 | 66 20 69 66 20 79 6f 75 |. unde|f if you|
|00003a40| 20 64 6f 6e 27 74 20 67 | 6f 74 2e 20 20 54 68 65 | don't g|ot. The|
|00003a50| 20 2d 64 20 6f 70 74 69 | 6f 6e 20 6d 61 79 20 62 | -d opti|on may b|
|00003a60| 65 0a 58 09 09 09 20 20 | 20 75 6e 64 6f 63 75 6d |e.X... | undocum|
|00003a70| 65 6e 74 65 64 2c 20 62 | 75 74 20 6d 65 61 6e 73 |ented, b|ut means|
|00003a80| 20 64 65 63 6f 6d 70 72 | 65 73 73 2e 20 20 22 2d | decompr|ess. "-|
|00003a90| 64 63 22 0a 58 09 09 09 | 20 20 20 69 73 20 65 71 |dc".X...| is eq|
|00003aa0| 75 69 76 61 6c 65 6e 74 | 20 74 6f 20 7a 63 61 74 |uivalent| to zcat|
|00003ab0| 2e 20 20 2d 64 63 20 61 | 70 70 65 61 72 73 20 74 |. -dc a|ppears t|
|00003ac0| 6f 20 62 65 0a 58 09 09 | 09 20 20 20 69 6e 20 6d |o be.X..|. in m|
|00003ad0| 6f 73 74 20 76 65 72 73 | 69 6f 6e 73 20 6f 66 20 |ost vers|ions of |
|00003ae0| 63 6f 6d 70 72 65 73 73 | 20 28 65 67 3a 20 76 33 |compress| (eg: v3|
|00003af0| 20 26 20 76 34 29 20 2a | 2f 0a 58 23 64 65 66 69 | & v4) *|/.X#defi|
|00003b00| 6e 65 09 43 4f 4d 50 52 | 45 53 53 09 22 2f 75 73 |ne.COMPR|ESS."/us|
|00003b10| 72 2f 6c 62 69 6e 2f 63 | 6f 6d 70 72 65 73 73 20 |r/lbin/c|ompress |
|00003b20| 2d 64 63 22 0a 58 0a 58 | 2f 2a 09 53 6f 6d 65 20 |-dc".X.X|/*.Some |
|00003b30| 70 6f 73 74 73 63 72 69 | 70 74 20 70 72 69 6e 74 |postscri|pt print|
|00003b40| 65 72 73 20 64 6f 6e 27 | 74 20 61 63 63 65 70 74 |ers don'|t accept|
|00003b50| 20 63 6f 6e 74 72 6f 6c | 2d 44 20 61 73 20 6a 6f | control|-D as jo|
|00003b60| 62 20 74 65 72 6d 69 6e | 61 74 69 6f 6e 0a 58 09 |b termin|ation.X.|
|00003b70| 28 44 45 43 20 73 63 72 | 69 70 74 77 72 69 74 65 |(DEC scr|iptwrite|
|00003b80| 72 73 20 66 6f 72 20 69 | 6e 73 74 61 6e 63 65 2c |rs for i|nstance,|
|00003b90| 20 6f 72 20 4c 41 4e 2d | 63 6f 6e 6e 65 63 74 65 | or LAN-|connecte|
|00003ba0| 64 20 70 72 69 6e 74 65 | 72 73 29 2e 20 20 49 6e |d printe|rs). In|
|00003bb0| 20 74 68 61 74 0a 58 09 | 63 61 73 65 2c 20 64 65 | that.X.|case, de|
|00003bc0| 66 69 6e 65 20 74 68 69 | 73 20 6d 61 63 72 6f 2e |fine thi|s macro.|
|00003bd0| 20 20 41 6c 74 65 72 6e | 61 74 65 6c 79 2c 20 69 | Altern|ately, i|
|00003be0| 66 20 79 6f 75 20 68 61 | 76 65 20 61 20 70 72 6f |f you ha|ve a pro|
|00003bf0| 70 65 72 20 70 72 69 6e | 74 65 72 0a 58 09 6d 61 |per prin|ter.X.ma|
|00003c00| 6e 61 67 65 72 20 74 68 | 61 74 20 64 6f 65 73 20 |nager th|at does |
|00003c10| 74 68 69 73 20 73 6f 72 | 74 20 6f 66 20 73 74 75 |this sor|t of stu|
|00003c20| 66 66 2c 20 64 65 66 69 | 6e 65 20 69 74 20 74 6f |ff, defi|ne it to|
|00003c30| 6f 2e 0a 58 09 49 66 20 | 79 6f 75 72 20 70 72 69 |o..X.If |your pri|
|00003c40| 6e 74 65 72 20 77 69 6c | 6c 20 74 61 6b 65 20 22 |nter wil|l take "|
|00003c50| 73 74 6f 70 22 2c 20 73 | 70 65 63 69 66 79 20 22 |stop", s|pecify "|
|00003c60| 2d 53 22 20 69 6e 20 70 | 73 72 6f 66 66 6c 69 62 |-S" in p|srofflib|
|00003c70| 27 73 0a 58 09 74 32 61 | 72 67 2c 20 61 6e 64 20 |'s.X.t2a|rg, and |
|00003c80| 6c 65 61 76 65 20 74 68 | 69 73 20 75 6e 64 65 66 |leave th|is undef|
|00003c90| 69 6e 65 64 2e 0a 58 20 | 2a 2f 0a 58 23 75 6e 64 |ined..X |*/.X#und|
|00003ca0| 65 66 09 4e 4f 43 4f 4e | 54 52 4f 4c 44 0a 58 0a |ef.NOCON|TROLD.X.|
|00003cb0| 58 2f 2a 09 64 65 66 69 | 6e 65 20 69 66 20 79 6f |X/*.defi|ne if yo|
|00003cc0| 75 20 64 6f 6e 27 74 20 | 77 61 6e 74 20 79 6f 75 |u don't |want you|
|00003cd0| 72 20 50 6f 73 74 73 63 | 72 69 70 74 20 70 72 69 |r Postsc|ript pri|
|00003ce0| 6e 74 65 72 20 74 61 6c | 6b 69 6e 67 20 74 6f 20 |nter tal|king to |
|00003cf0| 79 6f 75 20 2a 2f 0a 58 | 23 75 6e 64 65 66 09 4e |you */.X|#undef.N|
|00003d00| 4f 43 48 41 54 54 45 52 | 0a 58 0a 58 2f 2a 09 54 |OCHATTER|.X.X/*.T|
|00003d10| 68 65 20 6f 6e 6c 79 20 | 61 64 76 61 6e 74 61 67 |he only |advantag|
|00003d20| 65 20 74 6f 20 63 6f 6d | 6d 65 6e 74 69 6e 67 2d |e to com|menting-|
|00003d30| 6f 75 74 20 6f 6e 65 20 | 6f 66 20 74 68 65 73 65 |out one |of these|
|00003d40| 20 69 73 20 74 6f 20 6d | 61 6b 65 20 74 68 65 0a | is to m|ake the.|
|00003d50| 58 09 62 69 6e 61 72 79 | 20 65 78 65 63 75 74 61 |X.binary| executa|
|00003d60| 62 6c 65 20 6f 66 20 74 | 72 6f 66 66 32 3f 3f 20 |ble of t|roff2?? |
|00003d70| 73 6d 61 6c 6c 65 72 2e | 0a 58 20 2a 2f 0a 58 0a |smaller.|.X */.X.|
|00003d80| 58 2f 2a 09 42 61 73 69 | 63 20 64 72 69 76 65 72 |X/*.Basi|c driver|
|00003d90| 73 3a 20 2a 2f 0a 58 23 | 64 65 66 69 6e 65 09 50 |s: */.X#|define.P|
|00003da0| 53 09 2f 2a 20 50 6f 73 | 74 73 63 72 69 70 74 20 |S./* Pos|tscript |
|00003db0| 2a 2f 0a 58 23 64 65 66 | 69 6e 65 09 4c 4a 09 2f |*/.X#def|ine.LJ./|
|00003dc0| 2a 20 4c 61 73 65 72 6a | 65 74 20 2d 20 75 74 69 |* Laserj|et - uti|
|00003dd0| 6c 73 20 70 72 6f 67 72 | 61 6d 73 20 77 69 6c 6c |ls progr|ams will|
|00003de0| 20 6e 6f 74 20 62 75 69 | 6c 64 20 77 69 74 68 20 | not bui|ld with |
|00003df0| 74 68 69 73 20 75 6e 64 | 65 66 27 64 20 2a 2f 0a |this und|ef'd */.|
|00003e00| 58 23 64 65 66 69 6e 65 | 09 44 54 09 2f 2a 20 64 |X#define|.DT./* d|
|00003e10| 69 74 72 6f 66 66 20 2a | 2f 0a 58 23 64 65 66 69 |itroff *|/.X#defi|
|00003e20| 6e 65 09 44 49 54 09 2f | 2a 20 64 69 74 72 6f 66 |ne.DIT./|* ditrof|
|00003e30| 66 20 2a 66 72 6f 6e 74 | 2d 65 6e 64 2a 20 2a 2f |f *front|-end* */|
|00003e40| 0a 58 0a 58 2f 2a 09 4c | 61 73 65 72 6a 65 74 20 |.X.X/*.L|aserjet |
|00003e50| 64 72 69 76 65 72 20 63 | 6f 6e 66 69 67 3a 20 2a |driver c|onfig: *|
|00003e60| 2f 0a 58 23 64 65 66 69 | 6e 65 09 50 4b 09 2f 2a |/.X#defi|ne.PK./*|
|00003e70| 20 65 6e 61 62 6c 65 20 | 50 4b 20 66 6f 6e 74 20 | enable |PK font |
|00003e80| 64 6f 77 6e 6c 6f 61 64 | 69 6e 67 20 28 6e 65 65 |download|ing (nee|
|00003e90| 64 73 20 4c 4a 29 20 2a | 2f 0a 58 0a 58 23 64 65 |ds LJ) *|/.X.X#de|
|00003ea0| 66 69 6e 65 09 53 46 50 | 09 2f 2a 20 65 6e 61 62 |fine.SFP|./* enab|
|00003eb0| 6c 65 20 53 46 50 20 69 | 6e 63 72 65 6d 65 6e 74 |le SFP i|ncrement|
|00003ec0| 61 6c 20 66 6f 6e 74 20 | 64 6f 77 6e 6c 6f 61 64 |al font |download|
|00003ed0| 69 6e 67 20 28 6e 65 65 | 64 73 20 50 4b 29 2e 0a |ing (nee|ds PK)..|
|00003ee0| 58 09 09 20 20 20 59 6f | 75 20 63 61 6e 20 73 74 |X.. Yo|u can st|
|00003ef0| 69 6c 6c 20 75 73 65 20 | 53 46 50 27 73 20 77 69 |ill use |SFP's wi|
|00003f00| 74 68 6f 75 74 20 74 68 | 69 73 20 74 75 72 6e 65 |thout th|is turne|
|00003f10| 64 20 6f 6e 2c 20 62 75 | 74 0a 58 09 09 20 20 20 |d on, bu|t.X.. |
|00003f20| 79 6f 75 20 77 6f 6e 27 | 74 20 67 65 74 20 69 6e |you won'|t get in|
|00003f30| 63 72 65 6d 65 6e 74 61 | 6c 20 64 6f 77 6e 6c 6f |crementa|l downlo|
|00003f40| 61 64 69 6e 67 20 2a 2f | 0a 58 0a 58 23 64 65 66 |ading */|.X.X#def|
|00003f50| 69 6e 65 09 50 41 52 54 | 49 41 4c 09 2f 2a 20 70 |ine.PART|IAL./* p|
|00003f60| 61 72 74 69 61 6c 20 28 | 6e 6f 74 20 69 6e 63 72 |artial (|not incr|
|00003f70| 65 6d 65 6e 74 61 6c 29 | 20 66 6f 6e 74 20 64 6f |emental)| font do|
|00003f80| 77 6e 6c 6f 61 64 69 6e | 67 20 2a 2f 0a 58 0a 58 |wnloadin|g */.X.X|
|00003f90| 23 64 65 66 69 6e 65 09 | 49 4e 43 52 09 2f 2a 20 |#define.|INCR./* |
|00003fa0| 65 6e 61 62 6c 65 20 69 | 6e 63 72 65 6d 65 6e 74 |enable i|ncrement|
|00003fb0| 61 6c 20 66 6f 6e 74 20 | 64 6f 77 6e 6c 6f 61 64 |al font |download|
|00003fc0| 69 6e 67 20 28 6e 65 65 | 64 73 20 50 41 52 54 49 |ing (nee|ds PARTI|
|00003fd0| 41 4c 29 20 2a 2f 0a 58 | 0a 58 23 64 65 66 69 6e |AL) */.X|.X#defin|
|00003fe0| 65 09 4d 44 4c 46 09 31 | 36 09 2f 2a 20 4d 61 78 |e.MDLF.1|6./* Max|
|00003ff0| 20 23 20 64 6f 77 6e 6c | 6f 61 64 65 64 20 66 6f | # downl|oaded fo|
|00004000| 6e 74 73 20 70 65 72 6d | 69 74 74 65 64 20 62 79 |nts perm|itted by|
|00004010| 20 79 6f 75 72 20 6c 61 | 73 65 72 6a 65 74 0a 58 | your la|serjet.X|
|00004020| 09 09 09 20 20 20 70 65 | 72 20 2a 70 61 67 65 2a |... pe|r *page*|
|00004030| 2e 20 20 31 36 20 69 73 | 20 63 6f 72 72 65 63 74 |. 16 is| correct|
|00004040| 20 66 6f 72 20 48 50 4c | 4a 2b 20 61 6e 64 20 6d | for HPL|J+ and m|
|00004050| 6f 73 74 20 49 49 27 73 | 2e 0a 58 09 09 09 20 20 |ost II's|..X... |
|00004060| 20 49 49 50 27 73 20 61 | 72 65 20 33 32 20 49 20 | IIP's a|re 32 I |
|00004070| 74 68 69 6e 6b 2e 20 20 | 53 6f 6d 65 20 6e 65 77 |think. |Some new|
|00004080| 65 72 20 6f 6e 65 73 20 | 68 61 76 65 20 68 69 67 |er ones |have hig|
|00004090| 68 65 72 0a 58 09 09 09 | 20 20 20 72 65 73 74 72 |her.X...| restr|
|000040a0| 69 63 74 69 6f 6e 73 20 | 28 64 6f 6e 27 74 20 70 |ictions |(don't p|
|000040b0| 75 74 20 74 68 69 73 20 | 74 6f 6f 20 68 69 67 68 |ut this |too high|
|000040c0| 20 65 76 65 6e 20 69 66 | 0a 58 09 09 09 20 20 20 | even if|.X... |
|000040d0| 79 6f 75 72 20 70 72 69 | 6e 74 65 72 20 73 75 70 |your pri|nter sup|
|000040e0| 70 6f 72 74 73 20 69 74 | 2c 20 79 6f 75 20 6d 61 |ports it|, you ma|
|000040f0| 79 20 72 75 6e 20 6f 75 | 74 20 6f 66 0a 58 09 09 |y run ou|t of.X..|
|00004100| 09 20 20 20 6d 65 6d 6f | 72 79 29 20 2a 2f 0a 58 |. memo|ry) */.X|
|00004110| 0a 58 23 64 65 66 69 6e | 65 09 50 52 45 4c 4f 41 |.X#defin|e.PRELOA|
|00004120| 44 09 30 09 2f 2a 20 73 | 65 74 20 74 6f 20 6e 75 |D.0./* s|et to nu|
|00004130| 6d 62 65 72 20 6f 66 20 | 4c 4a 20 66 6f 6e 74 73 |mber of |LJ fonts|
|00004140| 20 70 65 72 6d 61 6e 65 | 6e 74 6c 79 0a 58 09 09 | permane|ntly.X..|
|00004150| 09 20 20 20 64 6f 77 6e | 6c 6f 61 64 65 64 20 74 |. down|loaded t|
|00004160| 6f 20 70 72 69 6e 74 65 | 72 2e 20 20 54 68 65 20 |o printe|r. The |
|00004170| 62 61 63 6b 65 6e 64 20 | 77 69 6c 6c 0a 58 09 09 |backend |will.X..|
|00004180| 09 20 20 20 6d 61 6b 65 | 20 73 75 72 65 20 74 68 |. make| sure th|
|00004190| 61 74 20 79 6f 75 20 64 | 6f 6e 27 74 20 67 6f 20 |at you d|on't go |
|000041a0| 6f 76 65 72 20 74 68 65 | 20 6e 75 6d 62 65 72 0a |over the| number.|
|000041b0| 58 09 09 09 20 20 20 6f | 66 20 66 6f 6e 74 73 20 |X... o|f fonts |
|000041c0| 70 65 72 6d 69 74 74 65 | 64 20 62 79 20 74 68 65 |permitte|d by the|
|000041d0| 20 70 72 69 6e 74 65 72 | 20 2a 2f 0a 58 0a 58 23 | printer| */.X.X#|
|000041e0| 64 65 66 69 6e 65 09 44 | 45 42 55 47 09 09 2f 2a |define.D|EBUG../*|
|000041f0| 20 44 6f 20 79 6f 75 20 | 77 61 6e 74 20 74 68 65 | Do you |want the|
|00004200| 20 64 65 62 75 67 67 65 | 72 20 69 6e 3f 20 20 49 | debugge|r in? I|
|00004210| 66 20 79 6f 75 20 65 6e | 63 6f 75 6e 74 65 72 0a |f you en|counter.|
|00004220| 58 09 09 09 20 20 20 70 | 72 6f 62 6c 65 6d 73 20 |X... p|roblems |
|00004230| 61 6e 64 20 79 6f 75 20 | 77 61 6e 74 20 68 65 6c |and you |want hel|
|00004240| 70 20 66 72 6f 6d 20 6d | 65 2c 20 79 6f 75 27 6c |p from m|e, you'l|
|00004250| 6c 20 68 61 76 65 0a 58 | 09 09 09 20 20 20 74 6f |l have.X|... to|
|00004260| 20 68 61 76 65 20 74 68 | 69 73 20 74 75 72 6e 65 | have th|is turne|
|00004270| 64 20 6f 6e 20 2a 2f 0a | 58 0a 58 23 64 65 66 69 |d on */.|X.X#defi|
|00004280| 6e 65 09 4f 50 54 09 09 | 2f 2a 20 43 41 54 20 63 |ne.OPT..|/* CAT c|
|00004290| 6f 64 65 20 72 65 6f 72 | 64 65 72 20 61 6e 64 20 |ode reor|der and |
|000042a0| 6f 70 74 69 6d 69 7a 65 | 72 20 2a 2f 0a 58 0a 58 |optimize|r */.X.X|
|000042b0| 23 64 65 66 69 6e 65 09 | 44 45 46 50 4c 20 20 31 |#define.|DEFPL 1|
|000042c0| 31 09 2f 2a 20 44 65 66 | 61 75 6c 74 20 70 61 67 |1./* Def|ault pag|
|000042d0| 65 20 6c 65 6e 67 74 68 | 20 28 31 31 20 69 6e 63 |e length| (11 inc|
|000042e0| 68 65 73 29 2e 0a 58 09 | 09 09 20 20 20 44 4f 20 |hes)..X.|.. DO |
|000042f0| 4e 4f 54 20 63 68 61 6e | 67 65 20 75 6e 6c 65 73 |NOT chan|ge unles|
|00004300| 73 20 79 6f 75 20 61 62 | 73 6f 6c 75 74 65 6c 79 |s you ab|solutely|
|00004310| 20 48 41 56 45 20 74 6f | 2e 0a 58 09 09 09 20 20 | HAVE to|..X... |
|00004320| 20 59 6f 75 20 73 68 6f | 75 6c 64 20 6f 6e 6c 79 | You sho|uld only|
|00004330| 20 6e 65 65 64 20 74 6f | 20 63 68 61 6e 67 65 20 | need to| change |
|00004340| 74 68 69 73 20 69 66 20 | 79 6f 75 0a 58 09 09 09 |this if |you.X...|
|00004350| 20 20 20 64 65 73 69 72 | 65 20 79 6f 75 72 20 70 | desir|e your p|
|00004360| 72 69 6e 74 65 72 20 74 | 6f 20 75 73 65 20 73 6f |rinter t|o use so|
|00004370| 6d 65 74 68 69 6e 67 20 | 64 69 66 66 65 72 65 6e |mething |differen|
|00004380| 74 0a 58 09 09 09 20 20 | 20 61 73 20 64 65 66 61 |t.X... | as defa|
|00004390| 75 6c 74 2e 20 20 49 66 | 20 73 6f 2c 20 79 6f 75 |ult. If| so, you|
|000043a0| 27 6c 6c 20 48 41 56 45 | 20 74 6f 20 63 68 61 6e |'ll HAVE| to chan|
|000043b0| 67 65 0a 58 09 09 09 20 | 20 20 79 6f 75 72 20 6d |ge.X... | your m|
|000043c0| 61 63 72 6f 20 70 61 63 | 6b 61 67 65 20 74 6f 20 |acro pac|kage to |
|000043d0| 61 67 72 65 65 20 6f 6e | 20 74 68 65 20 64 65 66 |agree on| the def|
|000043e0| 61 75 6c 74 20 2d 20 52 | 54 0a 58 09 09 09 20 20 |ault - R|T.X... |
|000043f0| 20 6f 77 6e 65 72 73 20 | 74 61 6b 65 20 6e 6f 74 | owners |take not|
|00004400| 65 21 20 28 74 68 65 20 | 6d 61 6e 20 6d 61 63 72 |e! (the |man macr|
|00004410| 6f 73 20 61 72 65 20 77 | 72 6f 6e 67 29 20 2a 2f |os are w|rong) */|
|00004420| 0a 58 0a 58 23 64 65 66 | 69 6e 65 09 44 45 46 4f |.X.X#def|ine.DEFO|
|00004430| 46 46 20 30 2e 35 09 2f | 2a 20 44 65 66 61 75 6c |FF 0.5./|* Defaul|
|00004440| 74 20 70 61 67 65 20 6f | 66 66 73 65 74 2e 20 20 |t page o|ffset. |
|00004450| 44 4f 20 4e 4f 54 20 63 | 68 61 6e 67 65 20 75 6e |DO NOT c|hange un|
|00004460| 6c 65 73 73 20 79 6f 75 | 0a 58 09 09 09 20 20 20 |less you|.X... |
|00004470| 61 62 73 6f 6c 75 74 65 | 6c 79 20 48 41 56 45 20 |absolute|ly HAVE |
|00004480| 74 6f 2e 20 20 59 6f 75 | 20 73 68 6f 75 6c 64 20 |to. You| should |
|00004490| 6f 6e 6c 79 20 6e 65 65 | 64 20 74 68 69 73 0a 58 |only nee|d this.X|
|000044a0| 09 09 09 20 20 20 69 66 | 3a 20 79 6f 75 72 20 76 |... if|: your v|
|000044b0| 65 6e 64 6f 72 20 68 61 | 73 20 62 75 67 67 65 72 |endor ha|s bugger|
|000044c0| 65 64 20 79 6f 75 72 20 | 6d 61 63 72 6f 73 20 74 |ed your |macros t|
|000044d0| 6f 0a 58 09 09 09 20 20 | 20 68 61 76 65 20 61 20 |o.X... | have a |
|000044e0| 64 69 66 66 65 72 65 6e | 74 20 64 65 66 61 75 6c |differen|t defaul|
|000044f0| 74 20 2e 70 6f 20 6f 66 | 66 73 65 74 20 28 58 65 |t .po of|fset (Xe|
|00004500| 6e 69 78 29 2c 0a 58 09 | 09 09 20 20 20 61 6e 64 |nix),.X.|.. and|
|00004510| 20 79 6f 75 20 61 72 65 | 6e 27 74 20 75 73 69 6e | you are|n't usin|
|00004520| 67 20 74 68 65 20 6d 61 | 63 72 6f 20 61 64 61 70 |g the ma|cro adap|
|00004530| 74 65 72 0a 58 09 09 09 | 20 20 20 6c 69 62 72 61 |ter.X...| libra|
|00004540| 72 69 65 73 20 74 68 61 | 74 20 63 6f 6d 65 20 77 |ries tha|t come w|
|00004550| 69 74 68 20 70 73 72 6f | 66 66 20 28 65 67 3a 20 |ith psro|ff (eg: |
|00004560| 79 6f 75 27 72 65 0a 58 | 09 09 09 20 20 20 75 73 |you're.X|... us|
|00004570| 69 6e 67 20 74 72 6f 66 | 66 32 70 73 20 64 69 72 |ing trof|f2ps dir|
|00004580| 65 63 74 6c 79 29 2e 20 | 20 53 65 65 20 52 45 41 |ectly). | See REA|
|00004590| 44 4d 45 2f 54 52 4f 55 | 42 4c 45 2f 0a 58 09 09 |DME/TROU|BLE/.X..|
|000045a0| 09 20 20 20 70 73 72 6f | 66 66 28 31 29 20 28 2d |. psro|ff(1) (-|
|000045b0| 4f 20 76 73 2e 20 2d 72 | 4f 20 6f 70 74 69 6f 6e |O vs. -r|O option|
|000045c0| 73 29 20 2a 2f 0a 58 0a | 58 23 64 65 66 69 6e 65 |s) */.X.|X#define|
|000045d0| 09 44 45 46 59 4f 46 46 | 20 20 20 30 09 2f 2a 20 |.DEFYOFF| 0./* |
|000045e0| 44 65 66 61 75 6c 74 20 | 70 61 67 65 20 76 65 72 |Default |page ver|
|000045f0| 74 69 63 61 6c 20 6f 66 | 66 73 65 74 2e 20 20 53 |tical of|fset. S|
|00004600| 65 65 20 52 45 41 44 4d | 45 2f 54 52 4f 55 42 4c |ee READM|E/TROUBL|
|00004610| 45 2f 0a 58 09 09 09 20 | 20 20 70 73 72 6f 66 66 |E/.X... | psroff|
|00004620| 28 31 29 20 2d 59 20 6f | 70 74 69 6f 6e 73 20 74 |(1) -Y o|ptions t|
|00004630| 6f 6f 20 2a 2f 0a 58 0a | 58 23 64 65 66 69 6e 65 |oo */.X.|X#define|
|00004640| 09 49 4e 53 50 45 43 49 | 41 4c 09 2f 2a 20 65 6e |.INSPECI|AL./* en|
|00004650| 61 62 6c 65 73 20 64 69 | 74 72 6f 66 66 20 67 72 |ables di|troff gr|
|00004660| 61 70 68 69 63 73 20 63 | 61 70 61 62 69 6c 69 74 |aphics c|apabilit|
|00004670| 79 20 2a 2f 0a 58 0a 58 | 23 64 65 66 69 6e 65 09 |y */.X.X|#define.|
|00004680| 4e 53 50 09 32 35 36 09 | 2f 2a 20 6e 75 6d 62 65 |NSP.256.|/* numbe|
|00004690| 72 20 6f 66 20 5c 28 78 | 78 20 63 68 61 72 61 63 |r of \(x|x charac|
|000046a0| 74 65 72 73 2e 20 2a 2f | 0a 58 0a 58 23 64 65 66 |ters. */|.X.X#def|
|000046b0| 69 6e 65 09 4e 4f 44 45 | 43 4d 44 09 22 75 75 6e |ine.NODE|CMD."uun|
|000046c0| 61 6d 65 20 2d 6c 22 20 | 2f 2a 20 63 6f 6d 6d 61 |ame -l" |/* comma|
|000046d0| 6e 64 20 74 6f 20 70 72 | 69 6e 74 20 6f 6e 20 73 |nd to pr|int on s|
|000046e0| 74 64 6f 75 74 20 74 68 | 65 20 6e 6f 64 65 20 6e |tdout th|e node n|
|000046f0| 61 6d 65 0a 58 09 09 09 | 20 20 20 6f 66 20 79 6f |ame.X...| of yo|
|00004700| 75 72 20 6d 61 63 68 69 | 6e 65 2e 20 20 55 73 65 |ur machi|ne. Use|
|00004710| 20 68 6f 73 74 6e 61 6d | 65 20 6f 6e 20 42 53 44 | hostnam|e on BSD|
|00004720| 2d 64 65 72 69 76 65 64 | 0a 58 09 09 09 20 20 20 |-derived|.X... |
|00004730| 73 79 73 74 65 6d 73 20 | 74 68 61 74 20 64 6f 6e |systems |that don|
|00004740| 27 74 20 68 61 76 65 20 | 55 55 43 50 2e 20 20 59 |'t have |UUCP. Y|
|00004750| 6f 75 20 63 61 6e 20 61 | 6c 77 61 79 73 0a 58 09 |ou can a|lways.X.|
|00004760| 09 09 20 20 20 75 73 65 | 20 22 65 63 68 6f 20 3c |.. use| "echo <|
|00004770| 6e 6f 64 65 6e 61 6d 65 | 3e 22 20 69 66 20 6e 65 |nodename|>" if ne|
|00004780| 63 65 73 73 61 72 79 20 | 2a 2f 0a 58 0a 58 2f 2a |cessary |*/.X.X/*|
|00004790| 09 45 64 69 74 20 6e 6f | 20 6d 6f 72 65 20 2e 2e |.Edit no| more ..|
|000047a0| 2e 2e 20 2a 2f 0a 58 0a | 58 23 64 65 66 69 6e 65 |.. */.X.|X#define|
|000047b0| 09 4d 41 58 44 4c 46 4f | 4e 54 53 20 28 4d 44 4c |.MAXDLFO|NTS (MDL|
|000047c0| 46 20 2d 20 50 52 45 4c | 4f 41 44 29 09 2f 2a 20 |F - PREL|OAD)./* |
|000047d0| 23 20 66 6f 6e 74 73 20 | 74 72 6f 66 66 32 70 73 |# fonts |troff2ps|
|000047e0| 20 63 61 6e 20 64 6f 77 | 6e 6c 6f 61 64 20 2a 2f | can dow|nload */|
|000047f0| 0a 58 0a 58 2f 2a 09 63 | 6f 6e 66 69 67 75 72 61 |.X.X/*.c|onfigura|
|00004800| 74 69 6f 6e 20 76 65 72 | 69 66 69 63 61 74 69 6f |tion ver|ificatio|
|00004810| 6e 20 2a 2f 0a 58 0a 58 | 23 69 66 09 64 65 66 69 |n */.X.X|#if.defi|
|00004820| 6e 65 64 28 42 53 44 48 | 41 43 4b 29 20 26 26 20 |ned(BSDH|ACK) && |
|00004830| 64 65 66 69 6e 65 64 28 | 46 4f 4e 54 38 29 0a 58 |defined(|FONT8).X|
|00004840| 23 69 6e 63 6c 75 64 65 | 09 22 42 53 44 48 41 43 |#include|."BSDHAC|
|00004850| 4b 20 61 6e 64 20 46 4f | 4e 54 38 20 63 61 6e 6e |K and FO|NT8 cann|
|00004860| 6f 74 20 62 65 20 64 65 | 66 69 6e 65 64 20 61 74 |ot be de|fined at|
|00004870| 20 74 68 65 20 73 61 6d | 65 20 74 69 6d 65 22 0a | the sam|e time".|
|00004880| 58 23 65 6e 64 69 66 0a | 58 23 69 66 09 64 65 66 |X#endif.|X#if.def|
|00004890| 69 6e 65 64 28 46 4f 4e | 54 34 29 20 26 26 20 64 |ined(FON|T4) && d|
|000048a0| 65 66 69 6e 65 64 28 46 | 4f 4e 54 38 29 0a 58 23 |efined(F|ONT8).X#|
|000048b0| 69 6e 63 6c 75 64 65 09 | 22 46 4f 4e 54 34 20 61 |include.|"FONT4 a|
|000048c0| 6e 64 20 46 4f 4e 54 38 | 20 63 61 6e 6e 6f 74 20 |nd FONT8| cannot |
|000048d0| 62 65 20 64 65 66 69 6e | 65 64 20 61 74 20 74 68 |be defin|ed at th|
|000048e0| 65 20 73 61 6d 65 20 74 | 69 6d 65 22 0a 58 23 65 |e same t|ime".X#e|
|000048f0| 6e 64 69 66 0a 58 0a 58 | 23 69 66 09 21 64 65 66 |ndif.X.X|#if.!def|
|00004900| 69 6e 65 64 28 4c 4a 29 | 20 26 26 20 64 65 66 69 |ined(LJ)| && defi|
|00004910| 6e 65 64 28 50 4b 29 0a | 58 23 69 6e 63 6c 75 64 |ned(PK).|X#includ|
|00004920| 65 09 22 50 6f 69 6e 74 | 6c 65 73 73 20 74 6f 20 |e."Point|less to |
|00004930| 64 65 66 69 6e 65 20 50 | 4b 20 77 69 74 68 6f 75 |define P|K withou|
|00004940| 74 20 4c 4a 22 0a 58 23 | 65 6e 64 69 66 0a 58 0a |t LJ".X#|endif.X.|
|00004950| 58 23 69 66 09 21 64 65 | 66 69 6e 65 64 28 50 4b |X#if.!de|fined(PK|
|00004960| 29 20 26 26 20 28 64 65 | 66 69 6e 65 64 28 49 4e |) && (de|fined(IN|
|00004970| 43 52 29 20 7c 7c 20 64 | 65 66 69 6e 65 64 28 50 |CR) || d|efined(P|
|00004980| 41 52 54 49 41 4c 29 29 | 0a 58 23 69 6e 63 6c 75 |ARTIAL))|.X#inclu|
|00004990| 64 65 09 22 50 6f 69 6e | 74 6c 65 73 73 20 74 6f |de."Poin|tless to|
|000049a0| 20 64 65 66 69 6e 65 20 | 49 4e 43 52 20 6f 72 20 | define |INCR or |
|000049b0| 50 41 52 54 49 41 4c 20 | 77 69 74 68 6f 75 74 20 |PARTIAL |without |
|000049c0| 50 4b 22 0a 58 23 65 6e | 64 69 66 0a 58 0a 58 23 |PK".X#en|dif.X.X#|
|000049d0| 69 66 09 64 65 66 69 6e | 65 64 28 49 4e 43 52 29 |if.defin|ed(INCR)|
|000049e0| 20 26 26 20 21 64 65 66 | 69 6e 65 64 28 50 41 52 | && !def|ined(PAR|
|000049f0| 54 49 41 4c 29 0a 58 23 | 69 6e 63 6c 75 64 65 09 |TIAL).X#|include.|
|00004a00| 22 44 6f 6e 27 74 20 73 | 75 70 70 6f 72 74 20 49 |"Don't s|upport I|
|00004a10| 4e 43 52 20 77 69 74 68 | 6f 75 74 20 50 41 52 54 |NCR with|out PART|
|00004a20| 49 41 4c 22 0a 58 23 65 | 6e 64 69 66 0a 58 0a 58 |IAL".X#e|ndif.X.X|
|00004a30| 23 69 66 09 64 65 66 69 | 6e 65 64 28 53 46 50 29 |#if.defi|ned(SFP)|
|00004a40| 20 26 26 20 21 64 65 66 | 69 6e 65 64 28 50 4b 29 | && !def|ined(PK)|
|00004a50| 0a 58 23 69 6e 63 6c 75 | 64 65 09 22 43 61 6e 27 |.X#inclu|de."Can'|
|00004a60| 74 20 64 65 66 69 6e 65 | 20 53 46 50 20 77 69 74 |t define| SFP wit|
|00004a70| 68 6f 75 74 20 50 4b 22 | 0a 58 23 65 6e 64 69 66 |hout PK"|.X#endif|
|00004a80| 0a 58 0a 58 23 69 6e 63 | 6c 75 64 65 20 3c 73 74 |.X.X#inc|lude <st|
|00004a90| 64 69 6f 2e 68 3e 0a 58 | 23 69 6e 63 6c 75 64 65 |dio.h>.X|#include|
|00004aa0| 20 3c 63 74 79 70 65 2e | 68 3e 0a 58 0a 58 23 69 | <ctype.|h>.X.X#i|
|00004ab0| 66 64 65 66 20 42 53 44 | 0a 58 23 69 6e 63 6c 75 |fdef BSD|.X#inclu|
|00004ac0| 64 65 20 3c 73 74 72 69 | 6e 67 73 2e 68 3e 0a 58 |de <stri|ngs.h>.X|
|00004ad0| 23 64 65 66 69 6e 65 09 | 73 74 72 63 68 72 09 69 |#define.|strchr.i|
|00004ae0| 6e 64 65 78 0a 58 23 64 | 65 66 69 6e 65 09 73 74 |ndex.X#d|efine.st|
|00004af0| 72 72 63 68 72 09 72 69 | 6e 64 65 78 0a 58 23 65 |rrchr.ri|ndex.X#e|
|00004b00| 6c 73 65 0a 58 23 69 6e | 63 6c 75 64 65 20 3c 73 |lse.X#in|clude <s|
|00004b10| 74 72 69 6e 67 2e 68 3e | 0a 58 23 65 6e 64 69 66 |tring.h>|.X#endif|
|00004b20| 0a 58 0a 58 23 69 66 64 | 65 66 09 42 43 4f 50 59 |.X.X#ifd|ef.BCOPY|
|00004b30| 0a 58 23 64 65 66 69 6e | 65 09 6d 65 6d 63 70 79 |.X#defin|e.memcpy|
|00004b40| 28 74 6f 2c 20 66 72 6f | 6d 2c 20 6c 65 6e 29 09 |(to, fro|m, len).|
|00004b50| 62 63 6f 70 79 28 66 72 | 6f 6d 2c 20 74 6f 2c 20 |bcopy(fr|om, to, |
|00004b60| 6c 65 6e 29 0a 58 23 64 | 65 66 69 6e 65 09 63 6c |len).X#d|efine.cl|
|00004b70| 72 61 72 72 61 79 28 61 | 72 72 61 79 2c 20 6c 65 |rarray(a|rray, le|
|00004b80| 6e 29 09 62 7a 65 72 6f | 28 61 72 72 61 79 2c 20 |n).bzero|(array, |
|00004b90| 6c 65 6e 29 0a 58 23 65 | 6c 73 65 0a 58 23 64 65 |len).X#e|lse.X#de|
|00004ba0| 66 69 6e 65 09 63 6c 72 | 61 72 72 61 79 28 61 72 |fine.clr|array(ar|
|00004bb0| 72 61 79 2c 20 6c 65 6e | 29 09 6d 65 6d 73 65 74 |ray, len|).memset|
|00004bc0| 28 61 72 72 61 79 2c 20 | 27 5c 30 27 2c 20 6c 65 |(array, |'\0', le|
|00004bd0| 6e 29 0a 58 23 65 6e 64 | 69 66 0a 58 0a 58 23 64 |n).X#end|if.X.X#d|
|00004be0| 65 66 69 6e 65 09 45 53 | 43 09 30 78 38 30 0a 58 |efine.ES|C.0x80.X|
|00004bf0| 23 64 65 66 69 6e 65 09 | 46 4c 41 53 48 09 30 78 |#define.|FLASH.0x|
|00004c00| 30 30 0a 58 23 64 65 66 | 69 6e 65 09 43 4f 4e 54 |00.X#def|ine.CONT|
|00004c10| 52 4f 4c 09 30 78 34 30 | 0a 58 23 64 65 66 69 6e |ROL.0x40|.X#defin|
|00004c20| 65 09 4c 45 41 44 09 30 | 78 36 30 0a 58 23 64 65 |e.LEAD.0|x60.X#de|
|00004c30| 66 69 6e 65 09 53 49 5a | 45 09 30 78 35 30 0a 58 |fine.SIZ|E.0x50.X|
|00004c40| 0a 58 23 64 65 66 69 6e | 65 09 44 4f 57 4e 09 30 |.X#defin|e.DOWN.0|
|00004c50| 0a 58 23 64 65 66 69 6e | 65 09 55 50 09 31 0a 58 |.X#defin|e.UP.1.X|
|00004c60| 23 64 65 66 69 6e 65 09 | 4c 4f 57 45 52 09 32 0a |#define.|LOWER.2.|
|00004c70| 58 23 64 65 66 69 6e 65 | 09 55 50 50 45 52 09 33 |X#define|.UPPER.3|
|00004c80| 0a 58 23 64 65 66 69 6e | 65 09 46 4f 52 57 41 52 |.X#defin|e.FORWAR|
|00004c90| 44 09 34 0a 58 23 64 65 | 66 69 6e 65 09 42 41 43 |D.4.X#de|fine.BAC|
|00004ca0| 4b 57 41 52 44 20 35 0a | 58 0a 58 23 64 65 66 69 |KWARD 5.|X.X#defi|
|00004cb0| 6e 65 09 54 52 4f 46 46 | 52 45 53 4f 4c 55 54 49 |ne.TROFF|RESOLUTI|
|00004cc0| 4f 4e 09 34 33 32 0a 58 | 0a 58 23 64 65 66 69 6e |ON.432.X|.X#defin|
|00004cd0| 65 09 53 50 45 43 49 41 | 4c 09 09 2f 2a 20 64 65 |e.SPECIA|L../* de|
|00004ce0| 66 69 6e 65 20 69 66 20 | 79 6f 75 20 77 61 6e 74 |fine if |you want|
|00004cf0| 20 74 6f 20 73 75 70 70 | 6f 72 74 20 73 70 65 63 | to supp|ort spec|
|00004d00| 69 61 6c 20 64 69 72 65 | 63 74 69 76 65 73 20 2a |ial dire|ctives *|
|00004d10| 2f 0a 58 23 64 65 66 69 | 6e 65 09 46 4f 52 4d 09 |/.X#defi|ne.FORM.|
|00004d20| 09 2f 2a 20 64 65 66 69 | 6e 65 20 69 66 20 79 6f |./* defi|ne if yo|
|00004d30| 75 20 77 61 6e 74 20 74 | 68 65 20 66 6f 72 6d 73 |u want t|he forms|
|00004d40| 20 66 61 63 69 6c 69 74 | 79 20 2a 2f 0a 58 0a 58 | facilit|y */.X.X|
|00004d50| 46 49 4c 45 09 2a 64 69 | 61 67 46 69 6c 65 3b 0a |FILE.*di|agFile;.|
|00004d60| 58 0a 58 23 69 66 64 65 | 66 20 44 45 42 55 47 0a |X.X#ifde|f DEBUG.|
|00004d70| 58 23 64 65 66 69 6e 65 | 09 44 42 50 28 78 29 09 |X#define|.DBP(x).|
|00004d80| 69 66 20 28 64 69 61 67 | 46 69 6c 65 29 20 64 70 |if (diag|File) dp|
|00004d90| 72 69 6e 74 66 20 78 0a | 58 65 78 74 65 72 6e 20 |rintf x.|Xextern |
|00004da0| 64 70 72 69 6e 74 66 28 | 29 3b 0a 58 23 65 6c 73 |dprintf(|);.X#els|
|00004db0| 65 0a 58 23 64 65 66 69 | 6e 65 09 44 42 50 28 78 |e.X#defi|ne.DBP(x|
|00004dc0| 29 0a 58 23 65 6e 64 69 | 66 0a 58 0a 58 74 79 70 |).X#endi|f.X.Xtyp|
|00004dd0| 65 64 65 66 20 69 6e 74 | 28 2a 46 55 4e 43 29 28 |edef int|(*FUNC)(|
|00004de0| 29 3b 0a 58 0a 58 23 64 | 65 66 69 6e 65 09 46 4e |);.X.X#d|efine.FN|
|00004df0| 55 4c 4c 09 28 46 55 4e | 43 29 20 4e 55 4c 4c 0a |ULL.(FUN|C) NULL.|
|00004e00| 58 0a 58 73 74 72 75 63 | 74 09 74 72 6f 66 66 32 |X.Xstruc|t.troff2|
|00004e10| 62 65 66 6f 6e 74 20 7b | 0a 58 09 73 68 6f 72 74 |befont {|.X.short|
|00004e20| 09 74 32 62 5f 66 6f 6e | 74 3b 09 2f 2a 20 66 6f |.t2b_fon|t;./* fo|
|00004e30| 6e 74 20 28 74 72 6f 66 | 66 20 6e 6f 6d 65 6e 63 |nt (trof|f nomenc|
|00004e40| 6c 61 74 75 72 65 29 20 | 53 3d 64 6f 6e 27 74 20 |lature) |S=don't |
|00004e50| 63 68 61 6e 67 65 20 2a | 2f 0a 58 09 73 68 6f 72 |change *|/.X.shor|
|00004e60| 74 09 74 32 62 5f 78 63 | 3b 09 09 2f 2a 20 58 2d |t.t2b_xc|;../* X-|
|00004e70| 73 68 69 66 74 20 2a 2f | 0a 58 09 73 68 6f 72 74 |shift */|.X.short|
|00004e80| 09 74 32 62 5f 79 63 3b | 09 09 2f 2a 20 59 2d 73 |.t2b_yc;|../* Y-s|
|00004e90| 68 69 66 74 20 2a 2f 0a | 58 09 73 68 6f 72 74 09 |hift */.|X.short.|
|00004ea0| 74 32 62 5f 73 63 61 6c | 65 3b 09 2f 2a 20 70 6f |t2b_scal|e;./* po|
|00004eb0| 69 6e 74 20 73 69 7a 65 | 20 73 63 61 6c 65 20 61 |int size| scale a|
|00004ec0| 64 6a 75 73 74 20 2a 2f | 0a 58 09 63 68 61 72 20 |djust */|.X.char |
|00004ed0| 09 2a 74 32 62 5f 63 68 | 61 72 73 65 71 3b 09 2f |.*t2b_ch|arseq;./|
|00004ee0| 2a 20 63 68 61 72 61 63 | 74 65 72 20 73 65 71 75 |* charac|ter sequ|
|00004ef0| 65 6e 63 65 20 2d 20 6d | 61 79 20 69 6e 63 6c 75 |ence - m|ay inclu|
|00004f00| 64 65 20 50 53 20 2a 2f | 0a 58 7d 3b 0a 58 0a 58 |de PS */|.X};.X.X|
|00004f10| 73 74 72 75 63 74 20 63 | 61 74 74 61 62 20 7b 0a |struct c|attab {.|
|00004f20| 58 20 20 20 20 63 68 61 | 72 20 2a 63 68 5f 6e 61 |X cha|r *ch_na|
|00004f30| 6d 65 3b 0a 58 20 20 20 | 20 63 68 61 72 20 63 68 |me;.X | char ch|
|00004f40| 5f 73 65 74 3b 0a 58 20 | 20 20 20 75 6e 73 69 67 |_set;.X | unsig|
|00004f50| 6e 65 64 20 63 68 61 72 | 20 63 68 5f 63 61 74 69 |ned char| ch_cati|
|00004f60| 64 78 3b 0a 58 20 20 20 | 20 75 6e 73 69 67 6e 65 |dx;.X | unsigne|
|00004f70| 64 20 63 68 61 72 20 63 | 68 5f 77 69 64 69 64 78 |d char c|h_wididx|
|00004f80| 3b 0a 58 20 20 20 20 75 | 6e 73 69 67 6e 65 64 20 |;.X u|nsigned |
|00004f90| 63 68 61 72 20 63 68 5f | 69 6e 66 6f 3b 09 2f 2a |char ch_|info;./*|
|00004fa0| 20 75 73 65 64 20 62 79 | 20 73 6f 6d 65 20 61 75 | used by| some au|
|00004fb0| 78 69 6c 69 61 72 79 20 | 70 72 6f 67 72 61 6d 73 |xiliary |programs|
|00004fc0| 20 2a 2f 0a 58 20 20 20 | 20 63 68 61 72 20 2a 63 | */.X | char *c|
|00004fd0| 68 5f 64 65 73 63 3b 0a | 58 7d 3b 0a 58 0a 58 73 |h_desc;.|X};.X.Xs|
|00004fe0| 74 72 75 63 74 20 62 61 | 63 6b 65 6e 64 20 7b 0a |truct ba|ckend {.|
|00004ff0| 58 20 20 20 20 63 68 61 | 72 09 2a 62 65 6e 61 6d |X cha|r.*benam|
|00005000| 65 3b 0a 58 20 20 20 20 | 46 55 4e 43 09 62 65 70 |e;.X |FUNC.bep|
|00005010| 72 6f 6c 6f 67 2c 0a 58 | 09 09 62 65 65 70 69 6c |rolog,.X|..beepil|
|00005020| 6f 67 2c 0a 58 09 09 62 | 65 70 75 74 63 68 61 72 |og,.X..b|eputchar|
|00005030| 2c 0a 58 09 09 62 65 70 | 61 67 65 2c 0a 58 09 09 |,.X..bep|age,.X..|
|00005040| 62 65 66 6f 6e 74 73 65 | 6c 2c 09 2f 2a 20 73 70 |befontse|l,./* sp|
|00005050| 65 63 69 61 6c 20 66 75 | 6e 63 74 69 6f 6e 20 46 |ecial fu|nction F|
|00005060| 20 2a 2f 0a 58 09 09 62 | 65 6f 76 65 72 6c 61 79 | */.X..b|eoverlay|
|00005070| 2c 09 2f 2a 20 73 70 65 | 63 69 61 6c 20 66 75 6e |,./* spe|cial fun|
|00005080| 63 74 69 6f 6e 20 4f 20 | 2a 2f 0a 58 09 09 62 65 |ction O |*/.X..be|
|00005090| 70 61 73 73 74 68 72 75 | 2c 09 2f 2a 20 73 70 65 |passthru|,./* spe|
|000050a0| 63 69 61 6c 20 66 75 6e | 63 74 69 6f 6e 20 50 20 |cial fun|ction P |
|000050b0| 2a 2f 0a 58 09 09 62 65 | 78 6c 61 74 2c 09 09 2f |*/.X..be|xlat,../|
|000050c0| 2a 20 58 6c 61 74 65 20 | 66 75 6e 63 74 69 6f 6e |* Xlate |function|
|000050d0| 20 2a 2f 0a 58 09 09 62 | 65 64 72 61 77 3b 09 09 | */.X..b|edraw;..|
|000050e0| 2f 2a 20 44 69 74 72 6f | 66 66 20 64 72 61 77 20 |/* Ditro|ff draw |
|000050f0| 65 6d 75 6c 61 74 69 6f | 6e 20 72 6f 75 74 69 6e |emulatio|n routin|
|00005100| 65 20 2a 2f 0a 58 20 20 | 20 20 73 74 72 75 63 74 |e */.X | struct|
|00005110| 20 74 72 6f 66 66 32 62 | 65 66 6f 6e 74 0a 58 09 | troff2b|efont.X.|
|00005120| 09 2a 62 65 73 74 64 66 | 6f 6e 74 2c 09 2f 2a 20 |.*bestdf|ont,./* |
|00005130| 73 74 61 6e 64 61 72 64 | 20 66 6f 6e 74 20 74 72 |standard| font tr|
|00005140| 61 6e 73 6c 61 74 65 20 | 74 61 62 6c 65 20 2a 2f |anslate |table */|
|00005150| 0a 58 09 09 2a 62 65 73 | 79 6d 66 6f 6e 74 3b 09 |.X..*bes|ymfont;.|
|00005160| 2f 2a 20 73 79 6d 62 6f | 6c 20 66 6f 6e 74 20 74 |/* symbo|l font t|
|00005170| 72 61 6e 73 6c 61 74 65 | 20 74 61 62 6c 65 20 2a |ranslate| table *|
|00005180| 2f 0a 58 7d 3b 0a 58 0a | 58 23 64 65 66 69 6e 65 |/.X};.X.|X#define|
|00005190| 09 4d 41 58 46 4f 4e 54 | 53 09 35 30 0a 58 0a 58 |.MAXFONT|S.50.X.X|
|000051a0| 73 74 72 75 63 74 20 66 | 6f 6e 74 74 61 62 6c 65 |struct f|onttable|
|000051b0| 20 7b 0a 58 20 20 20 20 | 63 68 61 72 20 2a 74 61 | {.X |char *ta|
|000051c0| 62 5b 34 5d 3b 0a 58 20 | 20 20 20 6c 6f 6e 67 20 |b[4];.X | long |
|000051d0| 66 6c 61 67 73 3b 0a 58 | 23 69 66 64 65 66 09 49 |flags;.X|#ifdef.I|
|000051e0| 4e 43 52 0a 58 20 20 20 | 20 73 74 72 75 63 74 20 |NCR.X | struct |
|000051f0| 64 6f 77 6e 6d 61 70 73 | 20 2a 6d 61 70 3b 0a 58 |downmaps| *map;.X|
|00005200| 23 65 6e 64 69 66 0a 58 | 23 69 66 64 65 66 09 4f |#endif.X|#ifdef.O|
|00005210| 50 54 0a 58 20 20 20 20 | 63 68 61 72 20 2a 77 69 |PT.X |char *wi|
|00005220| 64 74 68 74 61 62 6c 65 | 3b 0a 58 23 65 6e 64 69 |dthtable|;.X#endi|
|00005230| 66 0a 58 7d 3b 0a 58 0a | 58 2f 2a 09 53 79 6d 62 |f.X};.X.|X/*.Symb|
|00005240| 6f 6c 69 63 20 6e 61 6d | 65 73 20 66 6f 72 20 74 |olic nam|es for t|
|00005250| 61 62 20 65 6e 74 72 69 | 65 73 20 69 6e 20 66 6f |ab entri|es in fo|
|00005260| 6e 74 74 61 62 6c 65 09 | 2a 2f 0a 58 23 64 65 66 |nttable.|*/.X#def|
|00005270| 69 6e 65 09 74 72 6f 66 | 66 4e 61 6d 65 09 74 61 |ine.trof|fName.ta|
|00005280| 62 5b 30 5d 09 2f 2a 20 | 74 72 6f 66 66 20 6e 61 |b[0]./* |troff na|
|00005290| 6d 65 20 2a 2f 0a 58 23 | 64 65 66 69 6e 65 09 66 |me */.X#|define.f|
|000052a0| 6f 6e 74 4e 61 6d 65 09 | 74 61 62 5b 31 5d 09 2f |ontName.|tab[1]./|
|000052b0| 2a 20 62 61 63 6b 2d 65 | 6e 64 20 6e 61 6d 65 20 |* back-e|nd name |
|000052c0| 28 69 66 20 75 73 65 64 | 29 20 2a 2f 0a 58 23 64 |(if used|) */.X#d|
|000052d0| 65 66 69 6e 65 09 66 6f | 6e 74 53 65 71 09 09 74 |efine.fo|ntSeq..t|
|000052e0| 61 62 5b 32 5d 09 2f 2a | 20 73 65 71 75 65 6e 63 |ab[2]./*| sequenc|
|000052f0| 65 20 74 6f 20 65 6d 69 | 74 20 74 6f 20 73 68 69 |e to emi|t to shi|
|00005300| 66 74 20 74 6f 20 69 74 | 0a 58 09 09 09 09 20 20 |ft to it|.X.... |
|00005310| 20 6c 6a 20 62 75 69 6c | 74 69 6e 27 73 20 6d 6f | lj buil|tin's mo|
|00005320| 73 74 6c 79 20 2a 2f 0a | 58 0a 58 2f 2a 09 66 6f |stly */.|X.X/*.fo|
|00005330| 6e 74 46 6c 61 67 73 20 | 69 73 20 31 36 20 63 68 |ntFlags |is 16 ch|
|00005340| 61 72 61 63 74 65 72 73 | 20 74 68 61 74 20 72 65 |aracters| that re|
|00005350| 66 6c 65 63 74 20 74 68 | 65 20 73 74 61 74 65 20 |flect th|e state |
|00005360| 6f 66 20 74 68 65 20 66 | 6f 6e 74 0a 58 09 61 74 |of the f|ont.X.at|
|00005370| 20 61 20 70 61 72 74 69 | 63 75 6c 61 72 20 70 6f | a parti|cular po|
|00005380| 69 6e 74 73 69 7a 65 20 | 2d 20 6d 61 69 6e 6c 79 |intsize |- mainly|
|00005390| 20 66 6f 72 20 6c 6a 20 | 2a 2f 0a 58 0a 58 2f 2a | for lj |*/.X.X/*|
|000053a0| 09 55 73 65 20 6f 66 20 | 66 6c 61 67 73 3a 0a 58 |.Use of |flags:.X|
|000053b0| 09 73 3a 09 75 6e 6c 6f | 61 64 65 64 20 53 46 50 |.s:.unlo|aded SFP|
|000053c0| 0a 58 09 53 3a 09 6c 6f | 61 64 65 64 20 53 46 50 |.X.S:.lo|aded SFP|
|000053d0| 0a 58 09 70 3a 09 75 6e | 6c 6f 61 64 65 64 20 50 |.X.p:.un|loaded P|
|000053e0| 4b 0a 58 09 50 3a 09 6c | 6f 61 64 65 64 20 50 4b |K.X.P:.l|oaded PK|
|000053f0| 0a 58 09 6e 3a 09 6e 6f | 6e 2d 65 78 69 73 74 61 |.X.n:.no|n-exista|
|00005400| 6e 74 0a 58 09 62 3a 09 | 62 75 69 6c 74 69 6e 2e |nt.X.b:.|builtin.|
|00005410| 0a 58 20 2a 2f 0a 58 23 | 64 65 66 69 6e 65 09 66 |.X */.X#|define.f|
|00005420| 6f 6e 74 46 6c 61 67 73 | 09 74 61 62 5b 33 5d 0a |ontFlags|.tab[3].|
|00005430| 58 0a 58 65 78 74 65 72 | 6e 20 69 6e 74 20 73 79 |X.Xexter|n int sy|
|00005440| 6d 69 64 78 3b 09 09 2f | 2a 20 69 6e 64 65 78 20 |midx;../|* index |
|00005450| 6f 66 20 73 79 6d 62 6f | 6c 20 66 6f 6e 74 20 2a |of symbo|l font *|
|00005460| 2f 0a 58 0a 58 23 64 65 | 66 69 6e 65 09 49 4e 54 |/.X.X#de|fine.INT|
|00005470| 46 4f 4e 54 53 09 31 30 | 09 2f 2a 20 6d 61 78 69 |FONTS.10|./* maxi|
|00005480| 6d 75 6d 20 6e 75 6d 62 | 65 72 20 6f 66 20 62 75 |mum numb|er of bu|
|00005490| 69 6c 74 69 6e 20 66 6f | 6e 74 73 20 2a 2f 0a 58 |iltin fo|nts */.X|
|000054a0| 0a 58 65 78 74 65 72 6e | 20 73 74 72 75 63 74 20 |.Xextern| struct |
|000054b0| 66 6f 6e 74 74 61 62 6c | 65 20 66 6f 6e 74 74 61 |fonttabl|e fontta|
|000054c0| 62 6c 65 5b 4d 41 58 46 | 4f 4e 54 53 2b 31 5d 3b |ble[MAXF|ONTS+1];|
|000054d0| 0a 58 65 78 74 65 72 6e | 20 73 74 72 75 63 74 20 |.Xextern| struct |
|000054e0| 66 6f 6e 74 74 61 62 6c | 65 20 2a 78 6c 61 74 65 |fonttabl|e *xlate|
|000054f0| 74 61 62 6c 65 5b 49 4e | 54 46 4f 4e 54 53 5d 3b |table[IN|TFONTS];|
|00005500| 0a 58 23 64 65 66 69 6e | 65 09 45 58 54 43 48 55 |.X#defin|e.EXTCHU|
|00005510| 4e 4b 09 31 30 0a 58 65 | 78 74 65 72 6e 20 73 74 |NK.10.Xe|xtern st|
|00005520| 72 75 63 74 20 74 72 6f | 66 66 32 62 65 66 6f 6e |ruct tro|ff2befon|
|00005530| 74 20 2a 65 78 74 63 68 | 61 72 73 3b 0a 58 65 78 |t *extch|ars;.Xex|
|00005540| 74 65 72 6e 20 73 74 72 | 75 63 74 20 63 61 74 74 |tern str|uct catt|
|00005550| 61 62 20 2a 2a 73 70 63 | 74 61 62 2c 20 2a 2a 64 |ab **spc|tab, **d|
|00005560| 69 74 74 61 62 3b 0a 58 | 65 78 74 65 72 6e 20 73 |ittab;.X|extern s|
|00005570| 74 72 75 63 74 20 63 61 | 74 74 61 62 20 2a 65 78 |truct ca|ttab *ex|
|00005580| 74 69 64 78 3b 0a 58 65 | 78 74 65 72 6e 20 69 6e |tidx;.Xe|xtern in|
|00005590| 74 20 65 78 74 63 6f 75 | 6e 74 3b 0a 58 65 78 74 |t extcou|nt;.Xext|
|000055a0| 65 72 6e 20 63 68 61 72 | 20 2a 70 73 74 72 61 69 |ern char| *pstrai|
|000055b0| 6c 65 72 3b 0a 58 0a 58 | 73 74 72 75 63 74 20 62 |ler;.X.X|struct b|
|000055c0| 61 63 6b 65 6e 64 20 2a | 62 65 3b 0a 58 23 64 65 |ackend *|be;.X#de|
|000055d0| 66 69 6e 65 09 42 4e 55 | 4c 4c 09 28 73 74 72 75 |fine.BNU|LL.(stru|
|000055e0| 63 74 20 62 61 63 6b 65 | 6e 64 20 2a 29 20 4e 55 |ct backe|nd *) NU|
|000055f0| 4c 4c 0a 58 0a 58 65 78 | 74 65 72 6e 20 63 68 61 |LL.X.Xex|tern cha|
|00005600| 72 20 2a 73 6b 69 70 62 | 6c 61 6e 6b 73 28 29 3b |r *skipb|lanks();|
|00005610| 0a 58 0a 58 2f 2a 09 43 | 6f 6d 6d 6f 6e 20 42 61 |.X.X/*.C|ommon Ba|
|00005620| 63 6b 2d 65 6e 64 20 64 | 65 66 69 6e 69 74 69 6f |ck-end d|efinitio|
|00005630| 6e 73 20 2a 2f 0a 58 0a | 58 23 64 65 66 69 6e 65 |ns */.X.|X#define|
|00005640| 09 4e 09 28 75 6e 73 69 | 67 6e 65 64 20 63 68 61 |.N.(unsi|gned cha|
|00005650| 72 29 20 28 30 78 66 66 | 29 09 2f 2a 20 55 73 65 |r) (0xff|)./* Use|
|00005660| 20 73 74 61 6e 64 61 72 | 64 20 66 6f 6e 74 20 2a | standar|d font *|
|00005670| 2f 0a 58 23 64 65 66 69 | 6e 65 09 53 09 28 75 6e |/.X#defi|ne.S.(un|
|00005680| 73 69 67 6e 65 64 20 63 | 68 61 72 29 20 28 30 78 |signed c|har) (0x|
|00005690| 66 65 29 09 2f 2a 20 55 | 73 65 20 73 79 6d 62 6f |fe)./* U|se symbo|
|000056a0| 6c 20 66 6f 6e 74 20 2a | 2f 0a 58 23 64 65 66 69 |l font *|/.X#defi|
|000056b0| 6e 65 09 44 09 28 75 6e | 73 69 67 6e 65 64 20 63 |ne.D.(un|signed c|
|000056c0| 68 61 72 29 20 28 30 78 | 66 64 29 09 2f 2a 20 44 |har) (0x|fd)./* D|
|000056d0| 72 61 77 20 6d 61 63 72 | 6f 20 65 78 69 73 74 73 |raw macr|o exists|
|000056e0| 20 2d 20 75 73 65 20 73 | 74 72 69 6e 67 20 64 69 | - use s|tring di|
|000056f0| 72 65 63 74 6c 79 20 2a | 2f 0a 58 23 64 65 66 69 |rectly *|/.X#defi|
|00005700| 6e 65 09 4e 54 43 09 28 | 75 6e 73 69 67 6e 65 64 |ne.NTC.(|unsigned|
|00005710| 20 63 68 61 72 29 20 28 | 30 78 66 63 29 09 2f 2a | char) (|0xfc)./*|
|00005720| 20 4e 6f 20 66 6f 6e 74 | 2f 53 70 65 63 69 61 6c | No font|/Special|
|00005730| 20 66 6c 61 67 20 2a 2f | 0a 58 0a 58 23 64 65 66 | flag */|.X.X#def|
|00005740| 69 6e 65 09 4e 4f 43 09 | 4e 55 4c 4c 0a 58 0a 58 |ine.NOC.|NULL.X.X|
|00005750| 65 78 74 65 72 6e 20 69 | 6e 74 20 63 75 72 72 65 |extern i|nt curre|
|00005760| 6e 74 50 61 67 65 3b 0a | 58 65 78 74 65 72 6e 20 |ntPage;.|Xextern |
|00005770| 69 6e 74 20 70 61 67 65 | 6f 66 66 73 65 74 3b 0a |int page|offset;.|
|00005780| 58 65 78 74 65 72 6e 20 | 69 6e 74 20 70 61 67 65 |Xextern |int page|
|00005790| 79 6f 66 66 73 65 74 3b | 0a 58 65 78 74 65 72 6e |yoffset;|.Xextern|
|000057a0| 20 69 6e 74 20 70 61 67 | 65 6c 65 6e 67 74 68 3b | int pag|elength;|
|000057b0| 0a 58 65 78 74 65 72 6e | 20 69 6e 74 20 70 61 67 |.Xextern| int pag|
|000057c0| 65 50 65 6e 64 69 6e 67 | 3b 0a 58 0a 58 23 69 66 |ePending|;.X.X#if|
|000057d0| 64 65 66 09 4f 50 54 0a | 58 65 78 74 65 72 6e 20 |def.OPT.|Xextern |
|000057e0| 63 68 61 72 20 2a 77 69 | 64 74 68 74 61 62 6c 65 |char *wi|dthtable|
|000057f0| 73 3b 0a 58 65 78 74 65 | 72 6e 20 63 68 61 72 20 |s;.Xexte|rn char |
|00005800| 2a 77 69 64 74 68 70 74 | 72 3b 0a 58 65 78 74 65 |*widthpt|r;.Xexte|
|00005810| 72 6e 20 69 6e 74 20 6f | 70 74 69 6d 69 7a 65 3b |rn int o|ptimize;|
|00005820| 0a 58 23 65 6e 64 69 66 | 0a 58 0a 58 65 78 74 65 |.X#endif|.X.Xexte|
|00005830| 72 6e 20 69 6e 74 20 6c | 61 73 74 46 6f 6e 74 2c |rn int l|astFont,|
|00005840| 20 6c 61 73 74 50 6f 69 | 6e 74 73 3b 0a 58 65 78 | lastPoi|nts;.Xex|
|00005850| 74 65 72 6e 20 69 6e 74 | 20 6c 61 73 74 59 50 6f |tern int| lastYPo|
|00005860| 73 2c 20 6c 61 73 74 58 | 50 6f 73 2c 20 73 70 65 |s, lastX|Pos, spe|
|00005870| 63 58 50 6f 73 2c 20 73 | 70 65 63 59 50 6f 73 3b |cXPos, s|pecYPos;|
|00005880| 0a 58 65 78 74 65 72 6e | 20 63 68 61 72 20 2a 70 |.Xextern| char *p|
|00005890| 72 6f 67 6e 61 6d 65 2c | 20 2a 70 72 69 6e 74 65 |rogname,| *printe|
|000058a0| 72 2c 20 2a 64 65 76 69 | 63 65 3b 0a 58 65 78 74 |r, *devi|ce;.Xext|
|000058b0| 65 72 6e 20 63 68 61 72 | 20 2a 2a 70 72 6f 6c 6f |ern char| **prolo|
|000058c0| 67 73 3b 0a 58 0a 58 69 | 6e 74 20 6d 65 74 72 69 |gs;.X.Xi|nt metri|
|000058d0| 63 73 3b 0a 58 23 69 66 | 64 65 66 09 44 49 54 0a |cs;.X#if|def.DIT.|
|000058e0| 58 69 6e 74 20 64 69 74 | 72 6f 66 66 3b 0a 58 23 |Xint dit|roff;.X#|
|000058f0| 65 6e 64 69 66 0a 58 0a | 58 46 49 4c 45 20 2a 6c |endif.X.|XFILE *l|
|00005900| 69 62 6f 70 65 6e 28 29 | 3b 0a 58 0a 58 2f 2a 09 |ibopen()|;.X.X/*.|
|00005910| 45 6e 63 6f 64 69 6e 67 | 20 66 6f 72 6d 61 74 20 |Encoding| format |
|00005920| 66 6f 72 20 67 65 6e 65 | 72 61 74 69 6e 67 20 77 |for gene|rating w|
|00005930| 69 64 74 68 20 74 61 62 | 6c 65 73 20 66 72 6f 6d |idth tab|les from|
|00005940| 20 66 6f 6e 74 20 66 69 | 6c 65 73 20 2a 2f 0a 58 | font fi|les */.X|
|00005950| 2f 2a 09 55 73 65 64 20 | 62 79 20 70 6b 32 64 69 |/*.Used |by pk2di|
|00005960| 74 77 69 64 20 61 6e 64 | 20 66 72 69 65 6e 64 73 |twid and| friends|
|00005970| 20 2a 2f 0a 58 73 74 72 | 75 63 74 20 65 6e 63 74 | */.Xstr|uct enct|
|00005980| 61 62 20 7b 0a 58 20 20 | 20 20 63 68 61 72 20 2a |ab {.X | char *|
|00005990| 65 5f 6e 61 6d 65 3b 0a | 58 20 20 20 20 63 68 61 |e_name;.|X cha|
|000059a0| 72 20 2a 65 5f 73 65 71 | 3b 0a 58 20 20 20 20 63 |r *e_seq|;.X c|
|000059b0| 68 61 72 20 65 5f 77 69 | 64 3b 0a 58 7d 3b 0a 58 |har e_wi|d;.X};.X|
|000059c0| 0a 58 2f 2a 09 50 6f 69 | 6e 74 73 20 69 6e 20 61 |.X/*.Poi|nts in a|
|000059d0| 6e 20 69 6e 63 68 20 2a | 2f 0a 58 23 64 65 66 69 |n inch *|/.X#defi|
|000059e0| 6e 65 09 50 4f 49 4e 54 | 09 37 32 2e 32 37 0a 58 |ne.POINT|.72.27.X|
|000059f0| 0a 58 23 64 65 66 69 6e | 65 09 6d 69 6e 28 61 2c |.X#defin|e.min(a,|
|00005a00| 62 29 09 28 28 61 29 20 | 3c 20 28 62 29 20 3f 20 |b).((a) |< (b) ? |
|00005a10| 28 61 29 20 3a 20 28 62 | 29 29 0a 58 23 64 65 66 |(a) : (b|)).X#def|
|00005a20| 69 6e 65 09 6d 61 78 28 | 61 2c 62 29 09 28 28 61 |ine.max(|a,b).((a|
|00005a30| 29 20 3e 20 28 62 29 20 | 3f 20 28 61 29 20 3a 20 |) > (b) |? (a) : |
|00005a40| 28 62 29 29 0a 58 0a 58 | 2f 2a 20 64 65 62 75 67 |(b)).X.X|/* debug|
|00005a50| 20 66 6c 61 67 73 20 2a | 2f 0a 58 23 64 65 66 69 | flags *|/.X#defi|
|00005a60| 6e 65 09 44 5f 43 41 54 | 09 31 09 2f 2a 20 73 68 |ne.D_CAT|.1./* sh|
|00005a70| 6f 77 20 63 61 74 20 69 | 6e 74 65 72 70 72 65 74 |ow cat i|nterpret|
|00005a80| 61 74 69 6f 6e 20 6d 61 | 63 68 69 6e 65 72 79 20 |ation ma|chinery |
|00005a90| 2a 2f 0a 58 23 64 65 66 | 69 6e 65 09 44 5f 53 50 |*/.X#def|ine.D_SP|
|00005aa0| 45 43 09 32 09 2f 2a 20 | 73 68 6f 77 20 73 70 65 |EC.2./* |show spe|
|00005ab0| 63 69 61 6c 20 64 69 72 | 65 63 74 69 76 65 73 20 |cial dir|ectives |
|00005ac0| 2a 2f 0a 58 23 64 65 66 | 69 6e 65 09 44 5f 43 48 |*/.X#def|ine.D_CH|
|00005ad0| 41 52 09 34 09 2f 2a 20 | 6f 70 74 69 6d 69 7a 65 |AR.4./* |optimize|
|00005ae0| 72 20 6d 61 63 68 69 6e | 65 72 79 20 2a 2f 0a 58 |r machin|ery */.X|
|00005af0| 23 64 65 66 69 6e 65 09 | 44 5f 46 4f 4e 54 09 38 |#define.|D_FONT.8|
|00005b00| 09 2f 2a 20 66 6f 6e 74 | 20 68 61 6e 64 6c 69 6e |./* font| handlin|
|00005b10| 67 20 2a 2f 0a 58 23 64 | 65 66 69 6e 65 09 44 5f |g */.X#d|efine.D_|
|00005b20| 42 45 4e 44 09 30 78 31 | 30 09 2f 2a 20 62 61 63 |BEND.0x1|0./* bac|
|00005b30| 6b 65 6e 64 20 2a 2f 0a | 58 23 64 65 66 69 6e 65 |kend */.|X#define|
|00005b40| 09 44 5f 50 4b 09 30 78 | 32 30 09 2f 2a 20 50 4b |.D_PK.0x|20./* PK|
|00005b50| 20 66 6f 6e 74 20 68 61 | 6e 64 6c 69 6e 67 20 2a | font ha|ndling *|
|00005b60| 2f 0a 58 23 64 65 66 69 | 6e 65 09 44 5f 56 45 52 |/.X#defi|ne.D_VER|
|00005b70| 42 09 30 78 34 30 09 2f | 2a 20 76 65 72 79 20 76 |B.0x40./|* very v|
|00005b80| 65 72 62 6f 73 65 20 2a | 2f 0a 58 23 64 65 66 69 |erbose *|/.X#defi|
|00005b90| 6e 65 09 44 5f 46 4c 53 | 48 09 30 78 38 30 09 2f |ne.D_FLS|H.0x80./|
|00005ba0| 2a 20 66 6c 75 73 68 20 | 61 66 74 65 72 20 65 61 |* flush |after ea|
|00005bb0| 63 68 20 66 70 72 69 6e | 74 66 20 2a 2f 0a 58 0a |ch fprin|tf */.X.|
|00005bc0| 58 65 78 74 65 72 6e 20 | 69 6e 74 20 64 65 62 75 |Xextern |int debu|
|00005bd0| 67 3b 0a 58 0a 58 65 78 | 74 65 72 6e 20 63 68 61 |g;.X.Xex|tern cha|
|00005be0| 72 20 75 73 65 72 6e 61 | 6d 65 5b 5d 3b 0a 58 0a |r userna|me[];.X.|
|00005bf0| 58 65 78 74 65 72 6e 20 | 63 68 61 72 20 2a 6d 75 |Xextern |char *mu|
|00005c00| 73 74 6d 61 6c 6c 6f 63 | 28 29 3b 0a 58 0a 58 65 |stmalloc|();.X.Xe|
|00005c10| 78 74 65 72 6e 20 63 68 | 61 72 20 2a 76 65 72 73 |xtern ch|ar *vers|
|00005c20| 69 6f 6e 2c 20 2a 73 68 | 6f 72 74 76 65 72 73 69 |ion, *sh|ortversi|
|00005c30| 6f 6e 3b 0a 58 0a 58 23 | 64 65 66 69 6e 65 09 4d |on;.X.X#|define.M|
|00005c40| 41 58 50 41 47 45 09 32 | 30 30 30 0a 58 23 69 66 |AXPAGE.2|000.X#if|
|00005c50| 64 65 66 09 41 4c 4f 4e | 45 0a 58 23 75 6e 64 65 |def.ALON|E.X#unde|
|00005c60| 66 09 50 41 52 54 49 41 | 4c 0a 58 23 75 6e 64 65 |f.PARTIA|L.X#unde|
|00005c70| 66 09 49 4e 43 52 0a 58 | 23 65 6e 64 69 66 0a 45 |f.INCR.X|#endif.E|
|00005c80| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 20 20 69 66 20 |ND_OF_FI|LE. if |
|00005c90| 74 65 73 74 20 31 31 35 | 33 37 20 2d 6e 65 20 60 |test 115|37 -ne `|
|00005ca0| 77 63 20 2d 63 20 3c 27 | 64 65 66 73 2e 68 27 60 |wc -c <'|defs.h'`|
|00005cb0| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00005cc0| 73 68 61 72 3a 20 5c 22 | 27 64 65 66 73 2e 68 27 |shar: \"|'defs.h'|
|00005cd0| 5c 22 20 75 6e 70 61 63 | 6b 65 64 20 77 69 74 68 |\" unpac|ked with|
|00005ce0| 20 77 72 6f 6e 67 20 73 | 69 7a 65 21 0a 20 20 66 | wrong s|ize!. f|
|00005cf0| 69 0a 20 20 23 20 65 6e | 64 20 6f 66 20 27 64 65 |i. # en|d of 'de|
|00005d00| 66 73 2e 68 27 0a 66 69 | 0a 69 66 20 74 65 73 74 |fs.h'.fi|.if test|
|00005d10| 20 2d 66 20 27 6d 61 6e | 2f 70 73 72 6f 66 66 2e | -f 'man|/psroff.|
|00005d20| 31 2e 53 27 20 2d 61 20 | 22 24 7b 31 7d 22 20 21 |1.S' -a |"${1}" !|
|00005d30| 3d 20 22 2d 63 22 20 3b | 20 74 68 65 6e 20 0a 20 |= "-c" ;| then . |
|00005d40| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 57 69 6c 6c | echo sh|ar: Will|
|00005d50| 20 6e 6f 74 20 63 6c 6f | 62 62 65 72 20 65 78 69 | not clo|bber exi|
|00005d60| 73 74 69 6e 67 20 66 69 | 6c 65 20 5c 22 27 6d 61 |sting fi|le \"'ma|
|00005d70| 6e 2f 70 73 72 6f 66 66 | 2e 31 2e 53 27 5c 22 0a |n/psroff|.1.S'\".|
|00005d80| 65 6c 73 65 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |else. e|cho shar|
|00005d90| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|00005da0| 6d 61 6e 2f 70 73 72 6f | 66 66 2e 31 2e 53 27 5c |man/psro|ff.1.S'\|
|00005db0| 22 20 5c 28 39 34 30 37 | 20 63 68 61 72 61 63 74 |" \(9407| charact|
|00005dc0| 65 72 73 5c 29 0a 20 20 | 73 65 64 20 22 73 2f 5e |ers\). |sed "s/^|
|00005dd0| 58 2f 2f 22 20 3e 27 6d | 61 6e 2f 70 73 72 6f 66 |X//" >'m|an/psrof|
|00005de0| 66 2e 31 2e 53 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |f.1.S' <|<'END_OF|
|00005df0| 5f 46 49 4c 45 27 0a 58 | 2e 5c 22 43 6f 70 79 72 |_FILE'.X|.\"Copyr|
|00005e00| 69 67 68 74 20 31 39 38 | 38 20 62 79 20 43 68 72 |ight 198|8 by Chr|
|00005e10| 69 73 20 4c 65 77 69 73 | 20 32 2e 37 20 39 31 2f |is Lewis| 2.7 91/|
|00005e20| 30 33 2f 32 36 0a 58 2e | 54 48 20 50 53 52 4f 46 |03/26.X.|TH PSROF|
|00005e30| 46 20 25 25 4d 41 4e 45 | 58 54 25 25 20 22 50 73 |F %%MANE|XT%% "Ps|
|00005e40| 72 6f 66 66 20 25 25 54 | 32 56 45 52 53 49 4f 4e |roff %%T|2VERSION|
|00005e50| 25 25 22 0a 58 2e 53 48 | 20 4e 41 4d 45 0a 58 70 |%%".X.SH| NAME.Xp|
|00005e60| 73 72 6f 66 66 2c 6c 6a | 72 6f 66 66 2c 78 78 72 |sroff,lj|roff,xxr|
|00005e70| 6f 66 66 2c 63 61 74 63 | 6f 6e 76 20 5c 2d 20 74 |off,catc|onv \- t|
|00005e80| 72 6f 66 66 20 74 6f 20 | 50 6f 73 74 53 63 72 69 |roff to |PostScri|
|00005e90| 70 74 20 6f 72 20 6f 74 | 68 65 72 20 70 72 69 6e |pt or ot|her prin|
|00005ea0| 74 65 72 73 0a 58 2e 53 | 48 20 53 59 4e 4f 50 53 |ters.X.S|H SYNOPS|
|00005eb0| 49 53 0a 58 2e 49 42 20 | 78 78 20 72 6f 66 66 0a |IS.X.IB |xx roff.|
|00005ec0| 58 2e 42 49 20 22 5b 5c | 2d 54 22 20 78 78 20 22 |X.BI "[\|-T" xx "|
|00005ed0| 5d 22 0a 58 2e 42 49 20 | 22 5b 5c 2d 64 22 20 70 |]".X.BI |"[\-d" p|
|00005ee0| 74 72 20 22 5d 22 0a 58 | 2e 42 49 20 22 5b 5c 2d |tr "]".X|.BI "[\-|
|00005ef0| 72 4c 22 20 6c 65 6e 67 | 74 68 20 22 5d 22 0a 58 |rL" leng|th "]".X|
|00005f00| 2e 42 49 20 22 5b 5c 2d | 50 22 20 70 72 6f 6c 6f |.BI "[\-|P" prolo|
|00005f10| 67 73 20 22 5d 22 0a 58 | 2e 42 49 20 22 5b 5c 2d |gs "]".X|.BI "[\-|
|00005f20| 44 22 20 64 65 62 20 22 | 5d 22 0a 58 5b 5c 2d 58 |D" deb "|]".X[\-X|
|00005f30| 5d 20 5b 5c 2d 4d 5d 20 | 5b 5c 2d 46 5d 0a 58 2e |] [\-M] |[\-F].X.|
|00005f40| 42 49 20 22 5b 5c 2d 52 | 22 20 6e 6e 20 22 5d 22 |BI "[\-R|" nn "]"|
|00005f50| 0a 58 2e 42 49 20 22 5b | 5c 2d 4f 22 20 6f 66 66 |.X.BI "[|\-O" off|
|00005f60| 20 22 5d 22 0a 58 2e 42 | 49 20 22 5b 5c 2d 59 22 | "]".X.B|I "[\-Y"|
|00005f70| 20 6f 66 66 20 22 5d 22 | 0a 58 2e 42 49 20 5b 20 | off "]"|.X.BI [ |
|00005f80| 74 72 6f 66 66 6f 70 74 | 73 20 5d 0a 58 66 69 6c |troffopt|s ].Xfil|
|00005f90| 65 73 20 2e 2e 2e 0a 58 | 2e 73 70 0a 58 2e 49 20 |es ....X|.sp.X.I |
|00005fa0| 22 74 72 6f 66 66 20 66 | 69 6c 74 65 72 73 22 0a |"troff f|ilters".|
|00005fb0| 58 7c 0a 58 2e 42 20 25 | 25 4c 49 42 44 49 52 25 |X|.X.B %|%LIBDIR%|
|00005fc0| 25 2f 63 61 74 63 6f 6e | 76 0a 58 7c 20 70 73 72 |%/catcon|v.X| psr|
|00005fd0| 6f 66 66 20 2e 2e 2e 0a | 58 2e 53 48 20 44 45 53 |off ....|X.SH DES|
|00005fe0| 43 52 49 50 54 49 4f 4e | 0a 58 2e 49 20 50 73 72 |CRIPTION|.X.I Psr|
|00005ff0| 6f 66 66 0a 58 69 73 20 | 66 75 6e 63 74 69 6f 6e |off.Xis |function|
|00006000| 61 6c 6c 79 20 65 71 75 | 69 76 61 6c 65 6e 74 20 |ally equ|ivalent |
|00006010| 66 6f 72 0a 58 2e 49 20 | 74 72 6f 66 66 0a 58 66 |for.X.I |troff.Xf|
|00006020| 6f 72 20 70 72 69 6e 74 | 69 6e 67 20 6f 6e 20 50 |or print|ing on P|
|00006030| 6f 73 74 53 63 72 69 70 | 74 20 6f 72 20 48 50 20 |ostScrip|t or HP |
|00006040| 4c 61 73 65 72 6a 65 74 | 20 70 72 69 6e 74 65 72 |Laserjet| printer|
|00006050| 73 20 6f 72 20 76 69 61 | 20 64 69 74 72 6f 66 66 |s or via| ditroff|
|00006060| 20 62 61 63 6b 2d 65 6e | 64 73 2e 0a 58 2e 49 20 | back-en|ds..X.I |
|00006070| 54 72 6f 66 66 6f 70 74 | 73 0a 58 63 61 6e 20 62 |Troffopt|s.Xcan b|
|00006080| 65 20 61 6e 79 20 6f 66 | 20 74 68 65 20 6e 6f 72 |e any of| the nor|
|00006090| 6d 61 6c 0a 58 2e 49 20 | 74 72 6f 66 66 0a 58 61 |mal.X.I |troff.Xa|
|000060a0| 72 67 75 6d 65 6e 74 73 | 2c 20 69 6e 20 70 61 72 |rguments|, in par|
|000060b0| 74 69 63 75 6c 61 72 20 | 5c 2d 6d 20 64 69 72 65 |ticular |\-m dire|
|000060c0| 63 74 69 76 65 73 20 66 | 6f 72 20 73 70 65 63 69 |ctives f|or speci|
|000060d0| 66 79 69 6e 67 20 6d 61 | 63 72 6f 20 70 61 63 6b |fying ma|cro pack|
|000060e0| 61 67 65 2e 0a 58 4e 6f | 74 65 20 74 68 61 74 20 |age..XNo|te that |
|000060f0| 74 68 65 20 73 65 6d 61 | 6e 74 69 63 73 20 6f 66 |the sema|ntics of|
|00006100| 20 22 5c 2d 74 22 20 61 | 72 65 20 63 68 61 6e 67 | "\-t" a|re chang|
|00006110| 65 64 20 2d 20 69 74 20 | 6d 65 61 6e 73 20 73 65 |ed - it |means se|
|00006120| 6e 64 20 74 68 65 20 50 | 6f 73 74 73 63 72 69 70 |nd the P|ostscrip|
|00006130| 74 0a 58 28 6f 72 20 48 | 50 20 4c 61 73 65 72 6a |t.X(or H|P Laserj|
|00006140| 65 74 29 20 6f 75 74 70 | 75 74 20 74 6f 20 73 74 |et) outp|ut to st|
|00006150| 64 6f 75 74 20 72 61 74 | 68 65 72 20 74 68 61 6e |dout rat|her than|
|00006160| 20 74 68 65 20 70 72 69 | 6e 74 65 72 2e 0a 58 2e | the pri|nter..X.|
|00006170| 50 50 0a 58 4d 6f 73 74 | 20 6f 66 20 74 68 65 20 |PP.XMost| of the |
|00006180| 6f 70 74 69 6f 6e 73 20 | 79 6f 75 20 73 68 6f 75 |options |you shou|
|00006190| 6c 64 6e 27 74 20 6e 65 | 65 64 20 74 6f 20 75 73 |ldn't ne|ed to us|
|000061a0| 65 2c 20 65 78 63 65 70 | 74 20 66 6f 72 0a 58 2e |e, excep|t for.X.|
|000061b0| 49 52 20 74 72 6f 66 66 | 6f 70 74 73 20 2c 0a 58 |IR troff|opts ,.X|
|000061c0| 61 6e 64 20 61 72 65 20 | 66 6f 72 20 73 70 65 63 |and are |for spec|
|000061d0| 69 61 6c 20 28 6e 6f 6e | 2d 64 65 66 61 75 6c 74 |ial (non|-default|
|000061e0| 29 0a 58 62 65 68 61 76 | 69 6f 75 72 73 3a 0a 58 |).Xbehav|iours:.X|
|000061f0| 2e 50 50 0a 58 54 68 65 | 20 60 60 5c 2d 58 27 27 |.PP.XThe| ``\-X''|
|00006200| 20 6f 70 74 69 6f 6e 20 | 64 6f 65 73 20 61 20 60 | option |does a `|
|00006210| 60 73 65 74 20 5c 2d 78 | 27 27 20 66 6f 72 20 64 |`set \-x|'' for d|
|00006220| 65 62 75 67 67 69 6e 67 | 20 74 68 65 0a 58 2e 49 |ebugging| the.X.I|
|00006230| 20 70 73 72 6f 66 66 0a | 58 73 68 65 6c 6c 20 73 | psroff.|Xshell s|
|00006240| 63 72 69 70 74 2e 0a 58 | 54 68 65 20 60 60 5c 2d |cript..X|The ``\-|
|00006250| 44 6f 70 74 73 27 27 20 | 6f 70 74 69 6f 6e 20 70 |Dopts'' |option p|
|00006260| 61 73 73 65 73 20 74 68 | 65 20 60 60 5c 2d 44 6f |asses th|e ``\-Do|
|00006270| 70 74 73 27 27 20 64 65 | 62 75 67 67 69 6e 67 20 |pts'' de|bugging |
|00006280| 6f 70 74 69 6f 6e 20 74 | 68 72 6f 75 67 68 20 74 |option t|hrough t|
|00006290| 6f 0a 58 2e 49 52 20 74 | 72 6f 66 66 32 70 73 20 |o.X.IR t|roff2ps |
|000062a0| 2e 0a 58 54 68 65 20 60 | 60 5c 2d 4d 27 27 20 6f |..XThe `|`\-M'' o|
|000062b0| 70 74 69 6f 6e 20 74 75 | 72 6e 73 20 6f 6e 20 70 |ption tu|rns on p|
|000062c0| 72 69 6e 74 65 72 20 6d | 65 74 72 69 63 73 20 28 |rinter m|etrics (|
|000062d0| 69 66 20 73 75 70 70 6f | 72 74 65 64 20 62 79 20 |if suppo|rted by |
|000062e0| 74 68 65 20 64 72 69 76 | 65 72 29 2e 0a 58 54 68 |the driv|er)..XTh|
|000062f0| 65 20 60 60 5c 2d 50 27 | 27 20 6f 70 74 69 6f 6e |e ``\-P'|' option|
|00006300| 73 20 63 61 6e 20 62 65 | 20 73 70 65 63 69 66 69 |s can be| specifi|
|00006310| 65 64 20 61 73 20 6d 61 | 6e 79 20 74 69 6d 65 73 |ed as ma|ny times|
|00006320| 20 61 73 20 79 6f 75 20 | 77 61 6e 74 20 61 6e 64 | as you |want and|
|00006330| 20 61 72 65 0a 58 70 61 | 73 73 65 64 20 74 68 72 | are.Xpa|ssed thr|
|00006340| 6f 75 67 68 20 61 73 20 | 73 70 65 63 69 61 6c 20 |ough as |special |
|00006350| 64 69 72 65 63 74 69 76 | 65 73 20 74 6f 20 74 68 |directiv|es to th|
|00006360| 65 20 62 61 63 6b 65 6e | 64 20 62 65 66 6f 72 65 |e backen|d before|
|00006370| 20 74 68 65 20 6f 75 74 | 70 75 74 0a 58 70 61 67 | the out|put.Xpag|
|00006380| 65 73 20 73 74 61 72 74 | 20 28 73 65 65 0a 58 2e |es start| (see.X.|
|00006390| 49 52 20 74 72 6f 66 66 | 32 70 73 20 28 25 25 4d |IR troff|2ps (%%M|
|000063a0| 41 4e 45 58 54 25 25 29 | 29 2e 0a 58 54 68 65 20 |ANEXT%%)|)..XThe |
|000063b0| 60 60 5c 2d 64 70 74 72 | 27 27 20 6f 70 74 69 6f |``\-dptr|'' optio|
|000063c0| 6e 20 73 75 70 70 6c 69 | 65 73 20 60 60 70 74 72 |n suppli|es ``ptr|
|000063d0| 27 27 20 61 73 20 74 68 | 65 20 70 68 79 73 69 63 |'' as th|e physic|
|000063e0| 61 6c 20 70 72 69 6e 74 | 65 72 20 64 65 73 74 69 |al print|er desti|
|000063f0| 6e 61 74 69 6f 6e 2e 0a | 58 28 61 6e 61 6c 6f 67 |nation..|X(analog|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.