home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume16 / plp / part02 < prev    next >
SHell self-extracting ARchive  |  1988-09-22  |  57.9 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was processed as: SHell self-extracting ARchive (archive/shar).

You can browse this item here: part02

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK 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/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 75 75 | 6e 65 74 21 62 62 6e 2e |Path: uu|net!bbn.|
|00000010| 63 6f 6d 21 72 73 61 6c | 7a 0a 46 72 6f 6d 3a 20 |com!rsal|z.From: |
|00000020| 72 73 61 6c 7a 40 75 75 | 6e 65 74 2e 75 75 2e 6e |rsalz@uu|net.uu.n|
|00000030| 65 74 20 28 52 69 63 68 | 20 53 61 6c 7a 29 0a 4e |et (Rich| Salz).N|
|00000040| 65 77 73 67 72 6f 75 70 | 73 3a 20 63 6f 6d 70 2e |ewsgroup|s: comp.|
|00000050| 73 6f 75 72 63 65 73 2e | 75 6e 69 78 0a 53 75 62 |sources.|unix.Sub|
|00000060| 6a 65 63 74 3a 20 76 31 | 36 69 30 31 35 3a 20 20 |ject: v1|6i015: |
|00000070| 50 75 62 6c 69 63 20 6c | 69 6e 65 70 72 69 6e 74 |Public l|ineprint|
|00000080| 65 72 20 73 70 6f 6f 6c | 65 72 20 70 61 63 6b 61 |er spool|er packa|
|00000090| 67 65 2c 20 50 61 72 74 | 30 32 2f 31 36 0a 4d 65 |ge, Part|02/16.Me|
|000000a0| 73 73 61 67 65 2d 49 44 | 3a 20 3c 31 30 36 38 40 |ssage-ID|: <1068@|
|000000b0| 66 69 67 2e 62 62 6e 2e | 63 6f 6d 3e 0a 44 61 74 |fig.bbn.|com>.Dat|
|000000c0| 65 3a 20 31 34 20 53 65 | 70 20 38 38 20 32 30 3a |e: 14 Se|p 88 20:|
|000000d0| 31 33 3a 33 32 20 47 4d | 54 0a 4c 69 6e 65 73 3a |13:32 GM|T.Lines:|
|000000e0| 20 31 39 39 34 0a 41 70 | 70 72 6f 76 65 64 3a 20 | 1994.Ap|proved: |
|000000f0| 72 73 61 6c 7a 40 75 75 | 6e 65 74 2e 55 55 2e 4e |rsalz@uu|net.UU.N|
|00000100| 45 54 0a 0a 53 75 62 6d | 69 74 74 65 64 2d 62 79 |ET..Subm|itted-by|
|00000110| 3a 20 70 61 70 6f 77 65 | 6c 6c 40 6a 75 6c 69 75 |: papowe|ll@juliu|
|00000120| 73 2e 63 73 2e 75 6d 6e | 2e 65 64 75 0a 50 6f 73 |s.cs.umn|.edu.Pos|
|00000130| 74 69 6e 67 2d 6e 75 6d | 62 65 72 3a 20 56 6f 6c |ting-num|ber: Vol|
|00000140| 75 6d 65 20 31 36 2c 20 | 49 73 73 75 65 20 31 35 |ume 16, |Issue 15|
|00000150| 0a 41 72 63 68 69 76 65 | 2d 6e 61 6d 65 3a 20 70 |.Archive|-name: p|
|00000160| 6c 70 2f 70 61 72 74 30 | 32 0a 0a 0a 0a 23 21 20 |lp/part0|2....#! |
|00000170| 2f 62 69 6e 2f 73 68 0a | 23 20 54 68 69 73 20 69 |/bin/sh.|# This i|
|00000180| 73 20 61 20 73 68 65 6c | 6c 20 61 72 63 68 69 76 |s a shel|l archiv|
|00000190| 65 2e 20 20 52 65 6d 6f | 76 65 20 61 6e 79 74 68 |e. Remo|ve anyth|
|000001a0| 69 6e 67 20 62 65 66 6f | 72 65 20 74 68 69 73 20 |ing befo|re this |
|000001b0| 6c 69 6e 65 2c 20 74 68 | 65 6e 20 75 6e 70 61 63 |line, th|en unpac|
|000001c0| 6b 0a 23 20 69 74 20 62 | 79 20 73 61 76 69 6e 67 |k.# it b|y saving|
|000001d0| 20 69 74 20 69 6e 74 6f | 20 61 20 66 69 6c 65 20 | it into| a file |
|000001e0| 61 6e 64 20 74 79 70 69 | 6e 67 20 22 73 68 20 66 |and typi|ng "sh f|
|000001f0| 69 6c 65 22 2e 20 20 54 | 6f 20 6f 76 65 72 77 72 |ile". T|o overwr|
|00000200| 69 74 65 20 65 78 69 73 | 74 69 6e 67 0a 23 20 66 |ite exis|ting.# f|
|00000210| 69 6c 65 73 2c 20 74 79 | 70 65 20 22 73 68 20 66 |iles, ty|pe "sh f|
|00000220| 69 6c 65 20 2d 63 22 2e | 20 20 59 6f 75 20 63 61 |ile -c".| You ca|
|00000230| 6e 20 61 6c 73 6f 20 66 | 65 65 64 20 74 68 69 73 |n also f|eed this|
|00000240| 20 61 73 20 73 74 61 6e | 64 61 72 64 20 69 6e 70 | as stan|dard inp|
|00000250| 75 74 20 76 69 61 0a 23 | 20 75 6e 73 68 61 72 2c |ut via.#| unshar,|
|00000260| 20 6f 72 20 62 79 20 74 | 79 70 69 6e 67 20 22 73 | or by t|yping "s|
|00000270| 68 20 3c 66 69 6c 65 22 | 2c 20 65 2e 67 2e 2e 20 |h <file"|, e.g.. |
|00000280| 20 49 66 20 74 68 69 73 | 20 61 72 63 68 69 76 65 | If this| archive|
|00000290| 20 69 73 20 63 6f 6d 70 | 6c 65 74 65 2c 20 79 6f | is comp|lete, yo|
|000002a0| 75 0a 23 20 77 69 6c 6c | 20 73 65 65 20 74 68 65 |u.# will| see the|
|000002b0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 6d 65 73 73 61 | followi|ng messa|
|000002c0| 67 65 20 61 74 20 74 68 | 65 20 65 6e 64 3a 0a 23 |ge at th|e end:.#|
|000002d0| 09 09 22 45 6e 64 20 6f | 66 20 61 72 63 68 69 76 |.."End o|f archiv|
|000002e0| 65 20 32 20 28 6f 66 20 | 31 36 29 2e 22 0a 23 20 |e 2 (of |16).".# |
|000002f0| 43 6f 6e 74 65 6e 74 73 | 3a 20 20 41 4e 4e 4f 55 |Contents|: ANNOU|
|00000300| 4e 43 45 20 46 49 4c 45 | 53 20 64 6f 63 2f 50 4c |NCE FILE|S doc/PL|
|00000310| 50 2f 30 30 2e 74 20 64 | 6f 63 2f 50 4c 50 2f 30 |P/00.t d|oc/PLP/0|
|00000320| 33 2e 74 20 64 6f 63 2f | 50 4c 50 2f 31 30 2e 74 |3.t doc/|PLP/10.t|
|00000330| 0a 23 20 20 20 64 6f 63 | 2f 50 4c 50 2f 31 32 2e |.# doc|/PLP/12.|
|00000340| 74 20 64 6f 63 2f 50 4c | 50 2f 61 6e 6e 6f 75 6e |t doc/PL|P/announ|
|00000350| 63 65 20 66 69 6c 74 65 | 72 73 2f 63 6f 6d 70 61 |ce filte|rs/compa|
|00000360| 74 2e 63 20 6d 61 6e 2f | 63 68 65 63 6b 70 63 2e |t.c man/|checkpc.|
|00000370| 31 0a 23 20 20 20 6d 61 | 6e 2f 70 61 63 2e 38 20 |1.# ma|n/pac.8 |
|00000380| 6d 61 6e 2f 70 72 69 6e | 74 65 72 2e 31 20 6d 61 |man/prin|ter.1 ma|
|00000390| 6e 2f 70 72 69 6e 74 65 | 72 73 2e 31 20 73 72 63 |n/printe|rs.1 src|
|000003a0| 2f 66 69 6e 64 5f 6e 61 | 6d 65 2e 63 0a 23 20 20 |/find_na|me.c.# |
|000003b0| 20 73 72 63 2f 67 65 74 | 70 72 69 6e 74 65 72 2e | src/get|printer.|
|000003c0| 63 20 73 72 63 2f 6c 70 | 72 2e 68 20 73 72 63 2f |c src/lp|r.h src/|
|000003d0| 6c 70 72 5f 67 6c 6f 62 | 61 6c 2e 63 20 73 72 63 |lpr_glob|al.c src|
|000003e0| 2f 73 74 61 72 74 73 65 | 72 76 65 72 2e 63 0a 23 |/startse|rver.c.#|
|000003f0| 20 20 20 73 72 63 2f 74 | 65 72 6d 63 6c 65 61 72 | src/t|ermclear|
|00000400| 2e 63 20 75 74 69 6c 69 | 74 69 65 73 2f 63 70 72 |.c utili|ties/cpr|
|00000410| 2f 63 70 72 2e 31 0a 23 | 20 57 72 61 70 70 65 64 |/cpr.1.#| Wrapped|
|00000420| 20 62 79 20 70 61 70 6f | 77 65 6c 6c 40 61 74 74 | by papo|well@att|
|00000430| 69 6c 61 20 6f 6e 20 57 | 65 64 20 41 75 67 20 31 |ila on W|ed Aug 1|
|00000440| 30 20 31 30 3a 34 34 3a | 34 36 20 31 39 38 38 0a |0 10:44:|46 1988.|
|00000450| 50 41 54 48 3d 2f 62 69 | 6e 3a 2f 75 73 72 2f 62 |PATH=/bi|n:/usr/b|
|00000460| 69 6e 3a 2f 75 73 72 2f | 75 63 62 20 3b 20 65 78 |in:/usr/|ucb ; ex|
|00000470| 70 6f 72 74 20 50 41 54 | 48 0a 69 66 20 74 65 73 |port PAT|H.if tes|
|00000480| 74 20 2d 66 20 27 41 4e | 4e 4f 55 4e 43 45 27 20 |t -f 'AN|NOUNCE' |
|00000490| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|000004a0| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|000004b0| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|000004c0| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|000004d0| 20 66 69 6c 65 20 5c 22 | 27 41 4e 4e 4f 55 4e 43 | file \"|'ANNOUNC|
|000004e0| 45 27 5c 22 0a 65 6c 73 | 65 0a 65 63 68 6f 20 73 |E'\".els|e.echo s|
|000004f0| 68 61 72 3a 20 45 78 74 | 72 61 63 74 69 6e 67 20 |har: Ext|racting |
|00000500| 5c 22 27 41 4e 4e 4f 55 | 4e 43 45 27 5c 22 20 5c |\"'ANNOU|NCE'\" \|
|00000510| 28 32 35 34 30 20 63 68 | 61 72 61 63 74 65 72 73 |(2540 ch|aracters|
|00000520| 5c 29 0a 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |\).sed "|s/^X//" |
|00000530| 3e 27 41 4e 4e 4f 55 4e | 43 45 27 20 3c 3c 27 45 |>'ANNOUN|CE' <<'E|
|00000540| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 20 20 20 |ND_OF_FI|LE'.X |
|00000550| 20 20 20 20 20 20 20 20 | 20 20 20 50 4c 50 20 2d | | PLP -|
|00000560| 20 54 68 65 20 50 75 62 | 6c 69 63 20 4c 69 6e 65 | The Pub|lic Line|
|00000570| 20 50 72 69 6e 74 65 72 | 20 53 70 6f 6f 6c 65 72 | Printer| Spooler|
|00000580| 0a 58 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.X | |
|00000590| 20 41 20 50 6f 72 74 61 | 62 6c 65 20 55 4e 49 58 | A Porta|ble UNIX|
|000005a0| 20 4c 69 6e 65 20 50 72 | 69 6e 74 65 72 20 53 70 | Line Pr|inter Sp|
|000005b0| 6f 6f 6c 65 72 0a 58 20 | 20 20 20 20 20 20 20 20 |ooler.X | |
|000005c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 52 65 6c 65 | | Rele|
|000005d0| 61 73 65 20 32 2e 30 2c | 20 31 20 4a 75 6e 65 20 |ase 2.0,| 1 June |
|000005e0| 31 39 38 38 0a 58 20 20 | 20 20 20 20 20 20 20 20 |1988.X | |
|000005f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 50 72 6f | | Pro|
|00000600| 66 2e 20 50 61 74 72 69 | 63 6b 20 50 6f 77 65 6c |f. Patri|ck Powel|
|00000610| 6c 0a 58 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |l.X | |
|00000620| 20 20 20 20 20 20 20 44 | 65 70 74 2e 20 6f 66 20 | D|ept. of |
|00000630| 43 6f 6d 70 75 74 65 72 | 20 53 63 69 65 6e 63 65 |Computer| Science|
|00000640| 0a 58 20 20 20 20 20 20 | 20 20 20 55 6e 69 76 65 |.X | Unive|
|00000650| 72 73 69 74 79 20 6f 66 | 20 4d 69 6e 6e 65 73 6f |rsity of| Minneso|
|00000660| 74 61 2c 20 4d 69 6e 6e | 65 61 70 6f 6c 69 73 2c |ta, Minn|eapolis,|
|00000670| 20 4d 69 6e 6e 65 73 6f | 74 61 0a 58 20 20 20 20 | Minneso|ta.X |
|00000680| 20 50 4c 50 20 69 73 20 | 61 20 70 75 62 6c 69 63 | PLP is |a public|
|00000690| 20 64 6f 6d 61 69 6e 20 | 76 65 72 73 69 6f 6e 20 | domain |version |
|000006a0| 6f 66 20 74 68 65 20 42 | 65 72 6b 65 6c 65 79 20 |of the B|erkeley |
|000006b0| 4c 50 44 20 73 6f 66 74 | 77 61 72 65 2e 0a 54 68 |LPD soft|ware..Th|
|000006c0| 65 20 20 66 75 6e 63 74 | 69 6f 6e 61 6c 20 20 72 |e funct|ional r|
|000006d0| 65 73 65 6d 62 6c 61 6e | 63 65 20 20 62 65 74 77 |esemblan|ce betw|
|000006e0| 65 65 6e 20 20 50 4c 50 | 20 20 61 6e 64 20 74 68 |een PLP| and th|
|000006f0| 65 20 42 65 72 6b 65 6c | 65 79 20 4c 69 6e 65 0a |e Berkel|ey Line.|
|00000700| 50 72 69 6e 74 65 72 20 | 53 70 6f 6f 6c 65 72 20 |Printer |Spooler |
|00000710| 28 4c 50 44 29 20 69 73 | 20 69 6e 74 65 6e 74 69 |(LPD) is| intenti|
|00000720| 6f 6e 61 6c 3b 20 74 68 | 65 20 73 6f 75 72 63 65 |onal; th|e source|
|00000730| 20 63 6f 64 65 20 77 61 | 73 20 77 72 69 74 74 65 | code wa|s writte|
|00000740| 6e 0a 77 69 74 68 6f 75 | 74 20 20 72 65 66 65 72 |n.withou|t refer|
|00000750| 65 6e 63 65 20 20 74 6f | 20 74 68 65 20 6f 72 69 |ence to| the ori|
|00000760| 67 69 6e 61 6c 20 42 65 | 72 6b 65 6c 65 79 20 4c |ginal Be|rkeley L|
|00000770| 50 44 20 73 6f 66 74 77 | 61 72 65 2c 20 65 78 63 |PD softw|are, exc|
|00000780| 65 70 74 0a 66 6f 72 20 | 20 73 6f 6d 65 20 20 76 |ept.for | some v|
|00000790| 65 72 79 20 20 73 6d 61 | 6c 6c 20 73 65 63 74 69 |ery sma|ll secti|
|000007a0| 6f 6e 73 20 63 6f 6e 63 | 65 72 6e 65 64 20 77 69 |ons conc|erned wi|
|000007b0| 74 68 20 6e 65 74 77 6f | 72 6b 69 6e 67 20 61 6e |th netwo|rking an|
|000007c0| 64 20 74 68 65 0a 6c 61 | 72 67 65 20 20 63 68 61 |d the.la|rge cha|
|000007d0| 72 61 63 74 65 72 73 20 | 75 73 65 64 20 66 6f 72 |racters |used for|
|000007e0| 20 62 61 6e 6e 65 72 20 | 70 72 69 6e 74 69 6e 67 | banner |printing|
|000007f0| 2e 20 20 54 68 65 20 50 | 4c 50 20 73 6f 66 74 77 |. The P|LP softw|
|00000800| 61 72 65 20 68 61 73 0a | 74 68 65 20 66 6f 6c 6c |are has.|the foll|
|00000810| 6f 77 69 6e 67 20 66 65 | 61 74 75 72 65 73 3a 0a |owing fe|atures:.|
|00000820| 58 31 29 2e 54 68 65 20 | 20 50 4c 50 20 20 73 6f |X1).The | PLP so|
|00000830| 66 74 77 61 72 65 20 69 | 73 20 69 6e 74 65 6e 64 |ftware i|s intend|
|00000840| 65 64 20 74 6f 20 62 65 | 20 20 75 73 65 64 20 69 |ed to be| used i|
|00000850| 6e 20 61 20 4e 65 74 77 | 6f 72 6b 65 64 20 46 69 |n a Netw|orked Fi|
|00000860| 6c 65 0a 58 20 20 20 53 | 79 73 74 65 6d 20 20 28 |le.X S|ystem (|
|00000870| 4e 46 53 29 20 20 65 6e | 76 69 72 6f 6e 6d 65 6e |NFS) en|vironmen|
|00000880| 74 2c 20 20 69 6e 20 77 | 68 69 63 68 20 74 68 65 |t, in w|hich the|
|00000890| 72 65 20 69 73 20 61 20 | 63 6f 6d 6d 6f 6e 20 73 |re is a |common s|
|000008a0| 65 74 20 6f 66 0a 58 20 | 20 20 73 70 6f 6f 6c 20 |et of.X | spool |
|000008b0| 20 71 75 65 75 65 73 2c | 20 20 61 73 20 77 65 6c | queues,| as wel|
|000008c0| 6c 20 61 73 20 69 6e 20 | 61 20 6c 6f 6f 73 65 6c |l as in |a loosel|
|000008d0| 79 20 63 6f 75 70 6c 65 | 64 20 65 6e 76 69 72 6f |y couple|d enviro|
|000008e0| 6e 6d 65 6e 74 20 69 6e | 0a 58 20 20 20 77 68 69 |nment in|.X whi|
|000008f0| 63 68 20 20 65 61 63 68 | 20 20 68 6f 73 74 20 74 |ch each| host t|
|00000900| 72 61 6e 73 66 65 72 73 | 20 70 72 69 6e 74 20 6a |ransfers| print j|
|00000910| 6f 62 73 20 74 6f 20 61 | 20 68 6f 73 74 20 77 68 |obs to a| host wh|
|00000920| 69 63 68 20 68 61 73 20 | 74 68 65 0a 58 20 20 20 |ich has |the.X |
|00000930| 70 72 69 6e 74 65 72 2e | 0a 58 32 29 2e 41 63 63 |printer.|.X2).Acc|
|00000940| 65 73 73 20 20 61 6e 64 | 20 20 70 65 72 6d 69 73 |ess and| permis|
|00000950| 73 69 6f 6e 20 20 74 6f | 20 75 73 65 20 50 4c 50 |sion to| use PLP|
|00000960| 20 66 75 6e 63 74 69 6f | 6e 73 20 69 73 20 63 6f | functio|ns is co|
|00000970| 6e 74 72 6f 6c 6c 65 64 | 20 62 79 0a 58 20 20 20 |ntrolled| by.X |
|00000980| 65 6e 74 72 69 65 73 20 | 20 20 20 20 20 69 6e 20 |entries | in |
|00000990| 20 20 20 20 20 61 20 20 | 20 20 20 20 70 72 69 6e | a | prin|
|000009a0| 74 65 72 20 20 20 20 20 | 20 70 65 72 6d 69 73 73 |ter | permiss|
|000009b0| 69 6f 6e 73 20 20 20 20 | 20 20 66 69 6c 65 0a 58 |ions | file.X|
|000009c0| 20 20 20 28 2f 75 73 72 | 2f 73 70 6f 6f 6c 2f 6c | (/usr|/spool/l|
|000009d0| 70 64 2f 70 72 69 6e 74 | 65 72 5f 70 65 72 6d 73 |pd/print|er_perms|
|000009e0| 2e 3c 68 6f 73 74 6e 61 | 6d 65 3e 29 20 20 77 68 |.<hostna|me>) wh|
|000009f0| 69 63 68 20 20 63 61 6e | 20 72 65 73 74 72 69 63 |ich can| restric|
|00000a00| 74 0a 58 20 20 20 75 73 | 65 20 20 62 79 20 20 75 |t.X us|e by u|
|00000a10| 73 65 72 20 20 6e 61 6d | 65 2c 20 68 6f 73 74 2c |ser nam|e, host,|
|00000a20| 20 73 70 6f 6f 6c 65 72 | 2c 20 70 61 67 65 20 75 | spooler|, page u|
|00000a30| 73 65 61 67 65 2c 20 61 | 6e 64 20 61 20 68 6f 73 |seage, a|nd a hos|
|00000a40| 74 20 6f 66 0a 58 20 20 | 20 6f 74 68 65 72 20 20 |t of.X | other |
|00000a50| 20 20 20 20 20 20 20 66 | 61 63 74 6f 72 73 2e 20 | f|actors. |
|00000a60| 20 20 20 20 20 20 20 20 | 54 68 65 20 20 20 20 20 | |The |
|00000a70| 20 20 20 70 72 69 6e 74 | 63 61 70 20 20 20 20 20 | print|cap |
|00000a80| 20 20 20 66 69 6c 65 0a | 58 20 20 20 28 2f 75 73 | file.|X (/us|
|00000a90| 72 2f 73 70 6f 6f 6c 2f | 6c 70 64 2f 70 72 69 6e |r/spool/|lpd/prin|
|00000aa0| 74 63 61 70 2e 3c 68 6f | 73 74 6e 61 6d 65 3e 29 |tcap.<ho|stname>)|
|00000ab0| 20 20 69 73 20 20 75 73 | 65 64 20 20 74 6f 20 73 | is us|ed to s|
|00000ac0| 70 65 63 69 66 79 20 74 | 68 65 0a 58 20 20 20 70 |pecify t|he.X p|
|00000ad0| 72 69 6e 74 65 72 20 71 | 75 65 75 65 73 20 61 6e |rinter q|ueues an|
|00000ae0| 64 20 74 68 65 69 72 20 | 6f 70 65 72 61 74 69 6f |d their |operatio|
|00000af0| 6e 2e 0a 58 33 29 2e 4a | 6f 62 73 20 20 63 61 6e |n..X3).J|obs can|
|00000b00| 20 6e 6f 77 20 62 65 20 | 70 72 69 6f 72 69 74 69 | now be |prioriti|
|00000b10| 7a 65 64 2e 20 20 54 68 | 65 20 6d 61 78 69 6d 75 |zed. Th|e maximu|
|00000b20| 6d 20 70 72 69 6f 72 69 | 74 79 20 61 20 75 73 65 |m priori|ty a use|
|00000b30| 72 20 63 61 6e 0a 58 20 | 20 20 73 70 65 63 69 66 |r can.X | specif|
|00000b40| 79 20 69 73 20 73 65 74 | 20 69 6e 20 74 68 65 20 |y is set| in the |
|00000b50| 70 72 69 6e 74 65 72 20 | 70 65 72 6d 69 73 73 69 |printer |permissi|
|00000b60| 6f 6e 73 20 66 69 6c 65 | 2e 0a 58 34 29 2e 49 6e |ons file|..X4).In|
|00000b70| 20 20 61 64 64 69 74 69 | 6f 6e 20 20 74 6f 20 20 | additi|on to |
|00000b80| 74 68 65 20 20 67 65 6e | 65 72 61 6c 20 20 70 72 |the gen|eral pr|
|00000b90| 69 6e 74 65 72 20 70 65 | 72 6d 69 73 73 69 6f 6e |inter pe|rmission|
|00000ba0| 73 20 66 69 6c 65 2c 20 | 65 61 63 68 0a 58 20 20 |s file, |each.X |
|00000bb0| 20 73 70 6f 6f 6c 20 20 | 71 75 65 75 65 20 20 63 | spool |queue c|
|00000bc0| 61 6e 20 20 68 61 76 65 | 20 20 69 74 73 20 20 6f |an have| its o|
|00000bd0| 77 6e 20 61 64 64 69 74 | 69 6f 6e 20 70 72 69 6e |wn addit|ion prin|
|00000be0| 74 65 72 20 70 65 72 6d | 69 73 73 69 6f 6e 73 0a |ter perm|issions.|
|00000bf0| 58 20 20 20 66 69 6c 65 | 2e 0a 58 35 29 2e 4c 69 |X file|..X5).Li|
|00000c00| 6e 65 20 20 70 72 69 6e | 74 65 72 20 63 6f 6e 74 |ne prin|ter cont|
|00000c10| 72 6f 6c 20 66 75 6e 63 | 74 69 6f 6e 73 20 63 61 |rol func|tions ca|
|00000c20| 6e 20 62 65 20 65 78 65 | 72 63 69 73 65 64 20 66 |n be exe|rcised f|
|00000c30| 72 6f 6d 20 61 20 72 65 | 6d 6f 74 65 0a 58 20 20 |rom a re|mote.X |
|00000c40| 20 68 6f 73 74 2e 20 20 | 20 48 6f 73 74 73 20 20 | host. | Hosts |
|00000c50| 61 6e 64 20 20 75 73 65 | 72 73 20 20 77 69 74 68 |and use|rs with|
|00000c60| 20 20 72 65 6d 6f 74 65 | 20 63 6f 6e 74 72 6f 6c | remote| control|
|00000c70| 20 70 65 72 6d 69 73 73 | 69 6f 6e 20 61 72 65 0a | permiss|ion are.|
|00000c80| 58 20 20 20 73 70 65 63 | 69 66 69 65 64 20 62 79 |X spec|ified by|
|00000c90| 20 65 6e 74 72 69 65 73 | 20 69 6e 20 74 68 65 20 | entries| in the |
|00000ca0| 70 72 69 6e 74 65 72 20 | 70 65 72 6d 69 73 73 69 |printer |permissi|
|00000cb0| 6f 6e 73 20 66 69 6c 65 | 2e 0a 58 36 29 2e 55 6e |ons file|..X6).Un|
|00000cc0| 73 70 6f 6f 6c 69 6e 67 | 20 20 6f 66 20 20 6a 6f |spooling| of jo|
|00000cd0| 62 73 20 20 63 61 6e 20 | 62 65 20 70 65 72 66 6f |bs can |be perfo|
|00000ce0| 72 6d 65 64 20 62 79 20 | 61 20 70 72 69 6e 74 63 |rmed by |a printc|
|00000cf0| 61 70 20 73 70 65 63 69 | 66 69 65 64 0a 58 20 20 |ap speci|fied.X |
|00000d00| 20 70 72 6f 67 72 61 6d | 2c 20 72 61 74 68 65 72 | program|, rather|
|00000d10| 20 74 68 61 6e 20 62 79 | 20 74 68 65 20 50 4c 50 | than by| the PLP|
|00000d20| 20 75 6e 73 70 6f 6f 6c | 65 72 2e 20 20 54 68 69 | unspool|er. Thi|
|00000d30| 73 20 61 6c 6c 6f 77 73 | 20 50 4c 50 20 74 6f 0a |s allows| PLP to.|
|00000d40| 58 20 20 20 62 65 20 75 | 73 65 64 20 61 73 20 61 |X be u|sed as a|
|00000d50| 20 73 70 6f 6f 6c 65 72 | 20 61 6e 64 20 74 6f 20 | spooler| and to |
|00000d60| 68 61 76 65 20 73 70 6f | 6f 6c 20 71 75 65 75 65 |have spo|ol queue|
|00000d70| 73 20 75 73 65 64 20 66 | 6f 72 20 76 61 72 69 6f |s used f|or vario|
|00000d80| 75 73 0a 58 20 20 20 70 | 75 72 70 6f 73 65 73 2e |us.X p|urposes.|
|00000d90| 0a 58 37 29 2e 45 78 74 | 72 65 6d 65 6c 79 20 20 |.X7).Ext|remely |
|00000da0| 76 65 72 62 6f 73 65 20 | 20 61 6e 64 20 63 68 61 |verbose | and cha|
|00000db0| 74 74 79 20 65 72 72 6f | 72 20 6d 65 73 73 61 67 |tty erro|r messag|
|00000dc0| 65 73 20 68 61 76 65 20 | 62 65 65 6e 20 61 64 64 |es have |been add|
|00000dd0| 65 64 2e 0a 58 20 20 20 | 54 68 65 73 65 20 20 67 |ed..X |These g|
|00000de0| 72 65 61 74 6c 79 20 20 | 65 61 73 65 20 64 65 62 |reatly |ease deb|
|00000df0| 75 67 67 69 6e 67 20 61 | 6e 64 20 69 6e 73 74 61 |ugging a|nd insta|
|00000e00| 6c 6c 61 74 69 6f 6e 2e | 20 20 49 6e 20 61 64 64 |llation.| In add|
|00000e10| 69 74 69 6f 6e 2c 0a 58 | 20 20 20 74 68 65 20 20 |ition,.X| the |
|00000e20| 63 68 65 63 6b 70 63 20 | 20 75 74 69 6c 69 74 79 |checkpc | utility|
|00000e30| 20 20 63 61 6e 20 62 65 | 20 75 73 65 64 20 74 6f | can be| used to|
|00000e40| 20 73 65 74 20 66 69 6c | 65 20 70 65 72 6d 69 73 | set fil|e permis|
|00000e50| 73 69 6f 6e 73 20 61 6e | 64 0a 58 20 20 20 6f 74 |sions an|d.X ot|
|00000e60| 68 65 72 20 69 74 65 6d | 73 20 66 6f 72 20 75 73 |her item|s for us|
|00000e70| 65 20 62 79 20 74 68 65 | 20 50 4c 50 20 73 6f 66 |e by the| PLP sof|
|00000e80| 74 77 61 72 65 2e 0a 58 | 38 29 2e 54 68 65 20 63 |tware..X|8).The c|
|00000e90| 6f 64 65 20 69 73 20 71 | 75 69 74 65 20 70 6f 72 |ode is q|uite por|
|00000ea0| 74 61 62 6c 65 2c 20 77 | 69 74 68 20 61 73 20 66 |table, w|ith as f|
|00000eb0| 65 77 20 73 79 73 74 65 | 6d 20 64 65 70 65 6e 64 |ew syste|m depend|
|00000ec0| 65 6e 63 69 65 73 20 69 | 6e 0a 58 20 20 20 69 74 |encies i|n.X it|
|00000ed0| 20 61 73 20 70 6f 73 73 | 69 62 6c 65 2e 20 20 49 | as poss|ible. I|
|00000ee0| 74 20 68 61 73 20 72 75 | 6e 20 6f 6e 20 61 20 56 |t has ru|n on a V|
|00000ef0| 41 58 20 34 2e 32 2c 20 | 34 2e 33 2c 20 61 6e 64 |AX 4.2, |4.3, and|
|00000f00| 20 55 4c 54 52 49 58 2c | 20 53 55 4e 0a 58 20 20 | ULTRIX,| SUN.X |
|00000f10| 20 33 2e 30 2c 20 61 6e | 64 20 44 47 2d 55 58 2e | 3.0, an|d DG-UX.|
|00000f20| 0a 58 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 0a 58 |.X______|______.X|
|00000f30| 2a 20 55 4e 49 58 20 69 | 73 20 61 20 74 72 61 64 |* UNIX i|s a trad|
|00000f40| 65 6d 61 72 6b 20 6f 66 | 20 41 54 54 20 42 65 6c |emark of| ATT Bel|
|00000f50| 6c 20 4c 61 62 6f 72 61 | 74 6f 72 69 65 73 2e 0a |l Labora|tories..|
|00000f60| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 0a 69 66 20 74 |END_OF_F|ILE.if t|
|00000f70| 65 73 74 20 32 35 34 30 | 20 2d 6e 65 20 60 77 63 |est 2540| -ne `wc|
|00000f80| 20 2d 63 20 3c 27 41 4e | 4e 4f 55 4e 43 45 27 60 | -c <'AN|NOUNCE'`|
|00000f90| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00000fa0| 73 68 61 72 3a 20 5c 22 | 27 41 4e 4e 4f 55 4e 43 |shar: \"|'ANNOUNC|
|00000fb0| 45 27 5c 22 20 75 6e 70 | 61 63 6b 65 64 20 77 69 |E'\" unp|acked wi|
|00000fc0| 74 68 20 77 72 6f 6e 67 | 20 73 69 7a 65 21 0a 66 |th wrong| size!.f|
|00000fd0| 69 0a 23 20 65 6e 64 20 | 6f 66 20 27 41 4e 4e 4f |i.# end |of 'ANNO|
|00000fe0| 55 4e 43 45 27 0a 66 69 | 0a 69 66 20 74 65 73 74 |UNCE'.fi|.if test|
|00000ff0| 20 2d 66 20 27 46 49 4c | 45 53 27 20 2d 61 20 22 | -f 'FIL|ES' -a "|
|00001000| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|00001010| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|00001020| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|00001030| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|00001040| 65 20 5c 22 27 46 49 4c | 45 53 27 5c 22 0a 65 6c |e \"'FIL|ES'\".el|
|00001050| 73 65 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |se.echo |shar: Ex|
|00001060| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 46 49 4c 45 |tracting| \"'FILE|
|00001070| 53 27 5c 22 20 5c 28 32 | 37 31 33 20 63 68 61 72 |S'\" \(2|713 char|
|00001080| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|00001090| 5e 58 2f 2f 22 20 3e 27 | 46 49 4c 45 53 27 20 3c |^X//" >'|FILES' <|
|000010a0| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 41 |<'END_OF|_FILE'.A|
|000010b0| 4e 4e 4f 55 4e 43 45 0a | 43 6f 70 79 72 69 67 68 |NNOUNCE.|Copyrigh|
|000010c0| 74 0a 58 46 49 4c 45 53 | 0a 4d 41 4e 49 46 45 53 |t.XFILES|.MANIFES|
|000010d0| 54 0a 4c 49 43 45 4e 53 | 45 0a 4d 61 6b 65 66 69 |T.LICENS|E.Makefi|
|000010e0| 6c 65 0a 52 45 41 44 4d | 45 0a 62 61 63 6b 75 70 |le.READM|E.backup|
|000010f0| 0a 62 61 63 6b 75 70 2f | 6c 70 72 2e 72 65 6d 6f |.backup/|lpr.remo|
|00001100| 76 65 0a 62 61 63 6b 75 | 70 2f 73 61 76 65 2e 6c |ve.backu|p/save.l|
|00001110| 70 72 0a 62 61 63 6b 75 | 70 2f 72 65 73 74 6f 72 |pr.backu|p/restor|
|00001120| 65 2e 6c 70 72 0a 62 61 | 63 6b 75 70 2f 4d 61 6b |e.lpr.ba|ckup/Mak|
|00001130| 65 66 69 6c 65 0a 62 61 | 63 6b 75 70 2f 6c 70 72 |efile.ba|ckup/lpr|
|00001140| 2e 73 61 76 65 0a 64 6f | 63 0a 64 6f 63 2f 50 4c |.save.do|c.doc/PL|
|00001150| 50 0a 64 6f 63 2f 50 4c | 50 2f 31 32 2e 74 0a 64 |P.doc/PL|P/12.t.d|
|00001160| 6f 63 2f 50 4c 50 2f 64 | 69 63 74 0a 64 6f 63 2f |oc/PLP/d|ict.doc/|
|00001170| 50 4c 50 2f 30 32 2e 74 | 0a 64 6f 63 2f 50 4c 50 |PLP/02.t|.doc/PLP|
|00001180| 2f 30 33 2e 74 0a 64 6f | 63 2f 50 4c 50 2f 30 34 |/03.t.do|c/PLP/04|
|00001190| 2e 74 0a 64 6f 63 2f 50 | 4c 50 2f 30 35 2e 74 0a |.t.doc/P|LP/05.t.|
|000011a0| 64 6f 63 2f 50 4c 50 2f | 30 36 2e 74 0a 64 6f 63 |doc/PLP/|06.t.doc|
|000011b0| 2f 50 4c 50 2f 31 31 2e | 74 0a 64 6f 63 2f 50 4c |/PLP/11.|t.doc/PL|
|000011c0| 50 2f 30 37 2e 74 0a 64 | 6f 63 2f 50 4c 50 2f 4d |P/07.t.d|oc/PLP/M|
|000011d0| 61 6b 65 66 69 6c 65 0a | 64 6f 63 2f 50 4c 50 2f |akefile.|doc/PLP/|
|000011e0| 52 45 41 44 4d 45 0a 64 | 6f 63 2f 50 4c 50 2f 6d |README.d|oc/PLP/m|
|000011f0| 61 63 72 6f 73 0a 64 6f | 63 2f 50 4c 50 2f 30 39 |acros.do|c/PLP/09|
|00001200| 2e 74 0a 64 6f 63 2f 50 | 4c 50 2f 31 30 2e 74 0a |.t.doc/P|LP/10.t.|
|00001210| 64 6f 63 2f 50 4c 50 2f | 30 30 2e 74 0a 64 6f 63 |doc/PLP/|00.t.doc|
|00001220| 2f 50 4c 50 2f 61 6e 6e | 6f 75 6e 63 65 0a 64 6f |/PLP/ann|ounce.do|
|00001230| 63 2f 50 4c 50 2f 30 31 | 2e 74 0a 64 6f 63 2f 50 |c/PLP/01|.t.doc/P|
|00001240| 4c 50 2f 30 38 2e 74 0a | 64 6f 63 2f 50 4c 50 2f |LP/08.t.|doc/PLP/|
|00001250| 4c 49 43 45 4e 53 45 0a | 66 69 6c 74 65 72 73 0a |LICENSE.|filters.|
|00001260| 66 69 6c 74 65 72 73 2f | 63 6f 6d 70 61 74 2e 63 |filters/|compat.c|
|00001270| 0a 66 69 6c 74 65 72 73 | 2f 4d 61 6b 65 66 69 6c |.filters|/Makefil|
|00001280| 65 0a 66 69 6c 74 65 72 | 73 2f 6c 70 66 2e 63 0a |e.filter|s/lpf.c.|
|00001290| 66 69 6c 74 65 72 73 2f | 6d 61 69 6e 2e 63 0a 66 |filters/|main.c.f|
|000012a0| 69 6c 74 65 72 73 2f 70 | 66 5f 6d 61 69 6e 2e 63 |ilters/p|f_main.c|
|000012b0| 0a 66 69 6c 74 65 72 73 | 2f 70 72 65 66 5f 6d 61 |.filters|/pref_ma|
|000012c0| 69 6e 2e 63 0a 66 69 6c | 74 65 72 73 2f 76 64 6d |in.c.fil|ters/vdm|
|000012d0| 70 2e 63 0a 6d 61 6e 0a | 6d 61 6e 2f 6c 70 71 2e |p.c.man.|man/lpq.|
|000012e0| 31 0a 6d 61 6e 2f 6c 70 | 72 2e 31 0a 6d 61 6e 2f |1.man/lp|r.1.man/|
|000012f0| 6c 70 72 6d 2e 31 0a 6d | 61 6e 2f 4d 61 6b 65 66 |lprm.1.m|an/Makef|
|00001300| 69 6c 65 0a 6d 61 6e 2f | 70 61 63 2e 38 0a 6d 61 |ile.man/|pac.8.ma|
|00001310| 6e 2f 52 45 41 44 4d 45 | 0a 6d 61 6e 2f 6c 70 64 |n/README|.man/lpd|
|00001320| 2e 38 0a 6d 61 6e 2f 70 | 72 69 6e 74 63 61 70 2e |.8.man/p|rintcap.|
|00001330| 35 0a 6d 61 6e 2f 70 72 | 69 6e 74 65 72 2e 31 0a |5.man/pr|inter.1.|
|00001340| 6d 61 6e 2f 70 72 69 6e | 74 65 72 73 2e 31 0a 6d |man/prin|ters.1.m|
|00001350| 61 6e 2f 6c 70 63 2e 31 | 0a 6d 61 6e 2f 63 68 65 |an/lpc.1|.man/che|
|00001360| 63 6b 70 63 2e 31 0a 70 | 72 69 6e 74 63 61 70 0a |ckpc.1.p|rintcap.|
|00001370| 70 72 69 6e 74 63 61 70 | 2f 68 6f 73 74 73 0a 70 |printcap|/hosts.p|
|00001380| 72 69 6e 74 63 61 70 2f | 68 6f 73 74 73 2f 64 67 |rintcap/|hosts/dg|
|00001390| 0a 70 72 69 6e 74 63 61 | 70 2f 68 6f 73 74 73 2f |.printca|p/hosts/|
|000013a0| 6a 75 6c 69 75 73 0a 70 | 72 69 6e 74 63 61 70 2f |julius.p|rintcap/|
|000013b0| 68 6f 73 74 73 2f 75 6d | 6e 2d 63 73 0a 70 72 69 |hosts/um|n-cs.pri|
|000013c0| 6e 74 63 61 70 2f 70 72 | 69 6e 74 65 72 73 0a 70 |ntcap/pr|inters.p|
|000013d0| 72 69 6e 74 63 61 70 2f | 70 72 69 6e 74 65 72 73 |rintcap/|printers|
|000013e0| 2f 64 69 61 62 6c 6f 5f | 6c 69 6e 64 31 33 36 2e |/diablo_|lind136.|
|000013f0| 72 65 6d 6f 74 65 0a 70 | 72 69 6e 74 63 61 70 2f |remote.p|rintcap/|
|00001400| 70 72 69 6e 74 65 72 73 | 2f 64 67 32 5f 6c 69 6e |printers|/dg2_lin|
|00001410| 64 32 35 2e 72 65 6d 6f | 74 65 0a 70 72 69 6e 74 |d25.remo|te.print|
|00001420| 63 61 70 2f 70 72 69 6e | 74 65 72 73 2f 64 67 33 |cap/prin|ters/dg3|
|00001430| 5f 6c 69 6e 64 32 35 2e | 72 65 6d 6f 74 65 0a 70 |_lind25.|remote.p|
|00001440| 72 69 6e 74 63 61 70 2f | 70 72 69 6e 74 65 72 73 |rintcap/|printers|
|00001450| 2f 68 70 32 35 36 33 5f | 6c 69 6e 64 32 35 2e 72 |/hp2563_|lind25.r|
|00001460| 65 6d 6f 74 65 0a 70 72 | 69 6e 74 63 61 70 2f 70 |emote.pr|intcap/p|
|00001470| 72 69 6e 74 65 72 73 2f | 68 70 5f 6c 69 6e 64 35 |rinters/|hp_lind5|
|00001480| 34 2e 72 65 6d 6f 74 65 | 0a 70 72 69 6e 74 63 61 |4.remote|.printca|
|00001490| 70 2f 70 72 69 6e 74 65 | 72 73 2f 65 70 73 6f 6e |p/printe|rs/epson|
|000014a0| 5f 6c 69 6e 64 32 37 2e | 72 65 6d 6f 74 65 0a 70 |_lind27.|remote.p|
|000014b0| 72 69 6e 74 63 61 70 2f | 70 72 69 6e 74 65 72 73 |rintcap/|printers|
|000014c0| 2f 64 67 74 5f 6c 69 6e | 64 32 37 2e 72 65 6d 6f |/dgt_lin|d27.remo|
|000014d0| 74 65 0a 70 72 69 6e 74 | 63 61 70 2f 70 72 69 6e |te.print|cap/prin|
|000014e0| 74 65 72 73 2f 61 70 70 | 6c 65 5f 6c 69 6e 64 32 |ters/app|le_lind2|
|000014f0| 36 61 2e 72 65 6d 6f 74 | 65 0a 70 72 69 6e 74 63 |6a.remot|e.printc|
|00001500| 61 70 2f 70 72 69 6e 74 | 65 72 73 2f 61 70 70 6c |ap/print|ers/appl|
|00001510| 65 5f 6c 69 6e 64 32 36 | 61 2e 6c 6f 63 61 6c 0a |e_lind26|a.local.|
|00001520| 70 72 69 6e 74 63 61 70 | 2f 70 72 69 6e 74 65 72 |printcap|/printer|
|00001530| 73 2f 69 6d 61 67 65 6e | 5f 6c 69 6e 64 32 37 2e |s/imagen|_lind27.|
|00001540| 6c 6f 63 61 6c 0a 70 72 | 69 6e 74 63 61 70 2f 70 |local.pr|intcap/p|
|00001550| 72 69 6e 74 65 72 73 2f | 69 6d 61 67 65 6e 5f 6c |rinters/|imagen_l|
|00001560| 69 6e 64 32 37 2e 72 65 | 6d 6f 74 65 0a 70 72 69 |ind27.re|mote.pri|
|00001570| 6e 74 63 61 70 2f 70 72 | 69 6e 74 65 72 73 2f 64 |ntcap/pr|inters/d|
|00001580| 69 61 62 6c 6f 5f 6c 69 | 6e 64 31 33 36 2e 6c 6f |iablo_li|nd136.lo|
|00001590| 63 61 6c 0a 70 72 69 6e | 74 63 61 70 2f 70 72 69 |cal.prin|tcap/pri|
|000015a0| 6e 74 65 72 73 2f 64 67 | 31 5f 6c 69 6e 64 31 2e |nters/dg|1_lind1.|
|000015b0| 72 65 6d 6f 74 65 0a 70 | 72 69 6e 74 63 61 70 2f |remote.p|rintcap/|
|000015c0| 70 72 69 6e 74 65 72 73 | 2f 6c 61 73 65 72 6a 65 |printers|/laserje|
|000015d0| 74 70 6c 75 73 5f 6c 69 | 6e 64 32 35 2e 72 65 6d |tplus_li|nd25.rem|
|000015e0| 6f 74 65 0a 70 72 69 6e | 74 63 61 70 2f 70 72 69 |ote.prin|tcap/pri|
|000015f0| 6e 74 65 72 73 2f 64 67 | 32 5f 6c 69 6e 64 32 35 |nters/dg|2_lind25|
|00001600| 2e 66 6f 72 77 61 72 64 | 0a 70 72 69 6e 74 63 61 |.forward|.printca|
|00001610| 70 2f 70 72 69 6e 74 65 | 72 73 2f 64 67 33 5f 6c |p/printe|rs/dg3_l|
|00001620| 69 6e 64 32 35 2e 66 6f | 72 77 61 72 64 0a 70 72 |ind25.fo|rward.pr|
|00001630| 69 6e 74 63 61 70 2f 70 | 72 69 6e 74 65 72 73 2f |intcap/p|rinters/|
|00001640| 64 67 74 5f 6c 69 6e 64 | 32 37 2e 66 6f 72 77 61 |dgt_lind|27.forwa|
|00001650| 72 64 0a 70 72 69 6e 74 | 63 61 70 2f 70 72 69 6e |rd.print|cap/prin|
|00001660| 74 65 72 73 2f 68 70 32 | 35 36 33 5f 6c 69 6e 64 |ters/hp2|563_lind|
|00001670| 32 35 2e 66 6f 72 77 61 | 72 64 0a 70 72 69 6e 74 |25.forwa|rd.print|
|00001680| 63 61 70 2f 70 72 69 6e | 74 65 72 73 2f 68 70 5f |cap/prin|ters/hp_|
|00001690| 6c 69 6e 64 35 34 2e 66 | 6f 72 77 61 72 64 0a 70 |lind54.f|orward.p|
|000016a0| 72 69 6e 74 63 61 70 2f | 70 72 69 6e 74 65 72 73 |rintcap/|printers|
|000016b0| 2f 6c 61 73 65 72 6a 65 | 74 70 6c 75 73 5f 6c 69 |/laserje|tplus_li|
|000016c0| 6e 64 32 35 2e 66 6f 72 | 77 61 72 64 0a 70 72 69 |nd25.for|ward.pri|
|000016d0| 6e 74 63 61 70 2f 70 72 | 69 6e 74 65 72 73 2f 64 |ntcap/pr|inters/d|
|000016e0| 67 31 5f 6c 69 6e 64 31 | 2e 66 6f 72 77 61 72 64 |g1_lind1|.forward|
|000016f0| 0a 70 72 69 6e 74 63 61 | 70 2f 70 72 69 6e 74 63 |.printca|p/printc|
|00001700| 61 70 0a 70 72 69 6e 74 | 63 61 70 2f 52 45 41 44 |ap.print|cap/READ|
|00001710| 4d 45 0a 70 72 69 6e 74 | 63 61 70 2f 4d 61 6b 65 |ME.print|cap/Make|
|00001720| 66 69 6c 65 0a 70 72 69 | 6e 74 63 61 70 2f 67 65 |file.pri|ntcap/ge|
|00001730| 6e 70 63 0a 73 72 63 0a | 73 72 63 2f 62 61 6e 6e |npc.src.|src/bann|
|00001740| 65 72 2e 63 0a 73 72 63 | 2f 63 68 61 72 74 61 62 |er.c.src|/chartab|
|00001750| 6c 65 2e 63 0a 73 72 63 | 2f 63 68 65 63 6b 70 63 |le.c.src|/checkpc|
|00001760| 2e 63 0a 73 72 63 2f 63 | 68 65 63 6b 70 65 72 6d |.c.src/c|heckperm|
|00001770| 2e 63 0a 73 72 63 2f 64 | 69 73 70 6c 61 79 71 2e |.c.src/d|isplayq.|
|00001780| 63 0a 73 72 63 2f 65 72 | 72 6f 72 6d 73 67 2e 63 |c.src/er|rormsg.c|
|00001790| 0a 73 72 63 2f 67 65 74 | 6f 70 74 2e 63 0a 73 72 |.src/get|opt.c.sr|
|000017a0| 63 2f 67 65 74 70 72 69 | 6e 74 65 72 2e 63 0a 73 |c/getpri|nter.c.s|
|000017b0| 72 63 2f 67 6c 6f 62 61 | 6c 2e 63 0a 73 72 63 2f |rc/globa|l.c.src/|
|000017c0| 6c 69 6e 6b 5f 73 75 70 | 70 6f 72 74 2e 63 0a 73 |link_sup|port.c.s|
|000017d0| 72 63 2f 6c 6f 63 61 6c | 70 72 69 6e 74 65 72 2e |rc/local|printer.|
|000017e0| 63 0a 73 72 63 2f 6c 6f | 63 6b 66 69 6c 65 2e 63 |c.src/lo|ckfile.c|
|000017f0| 0a 73 72 63 2f 6c 70 63 | 2e 63 0a 73 72 63 2f 6c |.src/lpc|.c.src/l|
|00001800| 70 64 2e 63 0a 73 72 63 | 2f 6c 70 71 2e 63 0a 73 |pd.c.src|/lpq.c.s|
|00001810| 72 63 2f 63 6f 6e 74 72 | 6f 6c 5f 6f 70 73 2e 63 |rc/contr|ol_ops.c|
|00001820| 0a 73 72 63 2f 6c 70 2e | 68 0a 73 72 63 2f 6c 70 |.src/lp.|h.src/lp|
|00001830| 72 5f 66 69 6c 74 65 72 | 73 2e 63 0a 73 72 63 2f |r_filter|s.c.src/|
|00001840| 6c 70 72 5f 67 6c 6f 62 | 61 6c 2e 63 0a 73 72 63 |lpr_glob|al.c.src|
|00001850| 2f 75 74 69 6c 73 2e 63 | 0a 73 72 63 2f 6c 70 72 |/utils.c|.src/lpr|
|00001860| 5f 70 61 72 6d 73 2e 63 | 0a 73 72 63 2f 6c 70 72 |_parms.c|.src/lpr|
|00001870| 5f 74 65 6d 70 2e 63 0a | 73 72 63 2f 6c 70 72 6d |_temp.c.|src/lprm|
|00001880| 2e 63 0a 73 72 63 2f 70 | 61 63 2e 63 0a 73 72 63 |.c.src/p|ac.c.src|
|00001890| 2f 6d 65 78 65 63 76 2e | 63 0a 73 72 63 2f 70 72 |/mexecv.|c.src/pr|
|000018a0| 69 6e 74 5f 73 75 70 70 | 6f 72 74 2e 63 0a 73 72 |int_supp|ort.c.sr|
|000018b0| 63 2f 70 72 69 6e 74 63 | 61 70 2e 63 0a 73 72 63 |c/printc|ap.c.src|
|000018c0| 2f 72 65 63 76 66 69 6c | 65 73 2e 63 0a 73 72 63 |/recvfil|es.c.src|
|000018d0| 2f 72 65 6d 6f 74 65 70 | 72 69 6e 74 65 72 2e 63 |/remotep|rinter.c|
|000018e0| 0a 73 72 63 2f 72 6d 6a | 6f 62 2e 63 0a 73 72 63 |.src/rmj|ob.c.src|
|000018f0| 2f 73 65 6e 64 6d 61 69 | 6c 2e 63 0a 73 72 63 2f |/sendmai|l.c.src/|
|00001900| 73 65 72 76 69 63 65 72 | 65 71 2e 63 0a 73 72 63 |servicer|eq.c.src|
|00001910| 2f 73 65 74 73 74 61 74 | 75 73 2e 63 0a 73 72 63 |/setstat|us.c.src|
|00001920| 2f 73 65 74 75 70 5f 66 | 69 6c 74 65 72 2e 63 0a |/setup_f|ilter.c.|
|00001930| 73 72 63 2f 73 65 74 75 | 70 5f 74 65 73 74 2e 63 |src/setu|p_test.c|
|00001940| 0a 73 72 63 2f 73 74 61 | 72 74 70 72 69 6e 74 65 |.src/sta|rtprinte|
|00001950| 72 2e 63 0a 73 72 63 2f | 6c 70 72 2e 63 0a 73 72 |r.c.src/|lpr.c.sr|
|00001960| 63 2f 4d 61 6b 65 66 69 | 6c 65 0a 73 72 63 2f 6c |c/Makefi|le.src/l|
|00001970| 70 72 2e 68 0a 73 72 63 | 2f 52 45 41 44 4d 45 0a |pr.h.src|/README.|
|00001980| 73 72 63 2f 49 44 45 4e | 54 0a 73 72 63 2f 72 65 |src/IDEN|T.src/re|
|00001990| 6d 6f 74 65 5f 6f 70 73 | 2e 63 0a 73 72 63 2f 66 |mote_ops|.c.src/f|
|000019a0| 69 6e 64 5f 6e 61 6d 65 | 2e 63 0a 73 72 63 2f 73 |ind_name|.c.src/s|
|000019b0| 74 61 72 74 73 65 72 76 | 65 72 2e 63 0a 73 72 63 |tartserv|er.c.src|
|000019c0| 2f 74 65 72 6d 63 6c 65 | 61 72 2e 63 0a 73 72 63 |/termcle|ar.c.src|
|000019d0| 2f 6c 70 72 5f 6a 6f 62 | 2e 63 0a 73 72 63 2f 6c |/lpr_job|.c.src/l|
|000019e0| 70 72 5f 63 61 6e 70 72 | 69 6e 74 2e 63 0a 73 72 |pr_canpr|int.c.sr|
|000019f0| 63 2f 70 61 74 63 68 6c | 65 76 65 6c 2e 68 0a 74 |c/patchl|evel.h.t|
|00001a00| 65 73 74 0a 74 65 73 74 | 2f 66 69 6c 74 65 72 2e |est.test|/filter.|
|00001a10| 73 68 0a 74 65 73 74 2f | 70 72 69 6e 74 63 61 70 |sh.test/|printcap|
|00001a20| 2e 70 72 6f 74 6f 0a 74 | 65 73 74 2f 71 68 2e 73 |.proto.t|est/qh.s|
|00001a30| 68 0a 74 65 73 74 2f 6c | 69 6e 65 74 65 73 74 2e |h.test/l|inetest.|
|00001a40| 63 0a 74 65 73 74 2f 52 | 45 41 44 4d 45 0a 74 65 |c.test/R|EADME.te|
|00001a50| 73 74 2f 4d 61 6b 65 66 | 69 6c 65 0a 74 65 73 74 |st/Makef|ile.test|
|00001a60| 2f 70 72 69 6e 74 65 72 | 5f 70 65 72 6d 73 2e 70 |/printer|_perms.p|
|00001a70| 72 6f 74 6f 0a 75 74 69 | 6c 69 74 69 65 73 0a 75 |roto.uti|lities.u|
|00001a80| 74 69 6c 69 74 69 65 73 | 2f 63 70 72 0a 75 74 69 |tilities|/cpr.uti|
|00001a90| 6c 69 74 69 65 73 2f 63 | 70 72 2f 63 70 72 2e 63 |lities/c|pr/cpr.c|
|00001aa0| 0a 75 74 69 6c 69 74 69 | 65 73 2f 63 70 72 2f 4d |.utiliti|es/cpr/M|
|00001ab0| 61 6b 65 66 69 6c 65 0a | 75 74 69 6c 69 74 69 65 |akefile.|utilitie|
|00001ac0| 73 2f 63 70 72 2f 63 70 | 72 2e 31 0a 75 74 69 6c |s/cpr/cp|r.1.util|
|00001ad0| 69 74 69 65 73 2f 70 72 | 69 6e 74 0a 75 74 69 6c |ities/pr|int.util|
|00001ae0| 69 74 69 65 73 2f 70 72 | 69 6e 74 2f 70 72 69 6e |ities/pr|int/prin|
|00001af0| 74 2e 73 68 0a 75 74 69 | 6c 69 74 69 65 73 2f 70 |t.sh.uti|lities/p|
|00001b00| 72 69 6e 74 2f 70 72 69 | 6e 74 2e 31 0a 75 74 69 |rint/pri|nt.1.uti|
|00001b10| 6c 69 74 69 65 73 2f 70 | 72 69 6e 74 2f 4d 61 6b |lities/p|rint/Mak|
|00001b20| 65 66 69 6c 65 0a 75 74 | 69 6c 69 74 69 65 73 2f |efile.ut|ilities/|
|00001b30| 4d 61 6b 65 66 69 6c 65 | 0a 75 74 69 6c 69 74 69 |Makefile|.utiliti|
|00001b40| 65 73 2f 49 44 45 4e 54 | 0a 45 4e 44 5f 4f 46 5f |es/IDENT|.END_OF_|
|00001b50| 46 49 4c 45 0a 69 66 20 | 74 65 73 74 20 32 37 31 |FILE.if |test 271|
|00001b60| 33 20 2d 6e 65 20 60 77 | 63 20 2d 63 20 3c 27 46 |3 -ne `w|c -c <'F|
|00001b70| 49 4c 45 53 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |ILES'`; |then. |
|00001b80| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 46 | echo sh|ar: \"'F|
|00001b90| 49 4c 45 53 27 5c 22 20 | 75 6e 70 61 63 6b 65 64 |ILES'\" |unpacked|
|00001ba0| 20 77 69 74 68 20 77 72 | 6f 6e 67 20 73 69 7a 65 | with wr|ong size|
|00001bb0| 21 0a 66 69 0a 23 20 65 | 6e 64 20 6f 66 20 27 46 |!.fi.# e|nd of 'F|
|00001bc0| 49 4c 45 53 27 0a 66 69 | 0a 69 66 20 74 65 73 74 |ILES'.fi|.if test|
|00001bd0| 20 2d 66 20 27 64 6f 63 | 2f 50 4c 50 2f 30 30 2e | -f 'doc|/PLP/00.|
|00001be0| 74 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |t' -a "$|{1}" != |
|00001bf0| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00001c00| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00001c10| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00001c20| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 64 6f 63 2f |ing file| \"'doc/|
|00001c30| 50 4c 50 2f 30 30 2e 74 | 27 5c 22 0a 65 6c 73 65 |PLP/00.t|'\".else|
|00001c40| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 |.echo sh|ar: Extr|
|00001c50| 61 63 74 69 6e 67 20 5c | 22 27 64 6f 63 2f 50 4c |acting \|"'doc/PL|
|00001c60| 50 2f 30 30 2e 74 27 5c | 22 20 5c 28 32 35 33 36 |P/00.t'\|" \(2536|
|00001c70| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|00001c80| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 64 6f 63 |d "s/^X/|/" >'doc|
|00001c90| 2f 50 4c 50 2f 30 30 2e | 74 27 20 3c 3c 27 45 4e |/PLP/00.|t' <<'EN|
|00001ca0| 44 5f 4f 46 5f 46 49 4c | 45 27 0a 58 2e 69 67 0a |D_OF_FIL|E'.X.ig.|
|00001cb0| 58 24 48 65 61 64 65 72 | 3a 20 30 30 2e 74 2c 76 |X$Header|: 00.t,v|
|00001cc0| 20 31 2e 31 20 38 38 2f | 30 35 2f 32 31 20 31 38 | 1.1 88/|05/21 18|
|00001cd0| 3a 33 39 3a 32 39 20 70 | 61 70 6f 77 65 6c 6c 20 |:39:29 p|apowell |
|00001ce0| 4c 6f 63 6b 65 64 20 24 | 0a 58 24 6c 6f 67 24 0a |Locked $|.X$log$.|
|00001cf0| 58 2e 2e 0a 58 2e 52 50 | 0a 58 2e 45 48 20 27 50 |X...X.RP|.X.EH 'P|
|00001d00| 4c 50 2d 25 27 27 50 4c | 50 20 4d 61 6e 75 61 6c |LP-%''PL|P Manual|
|00001d10| 27 0a 58 2e 4f 48 20 27 | 50 4c 50 20 4d 61 6e 75 |'.X.OH '|PLP Manu|
|00001d20| 61 6c 27 27 50 4c 50 2d | 25 27 0a 58 2e 6e 72 20 |al''PLP-|%'.X.nr |
|00001d30| 43 57 20 32 2e 38 35 69 | 0a 58 2e 6e 72 20 47 57 |CW 2.85i|.X.nr GW|
|00001d40| 20 2e 33 69 0a 58 2e 54 | 4c 0a 50 4c 50 20 5c 2d | .3i.X.T|L.PLP \-|
|00001d50| 20 54 68 65 20 50 75 62 | 6c 69 63 20 4c 69 6e 65 | The Pub|lic Line|
|00001d60| 20 50 72 69 6e 74 65 72 | 20 53 70 6f 6f 6c 65 72 | Printer| Spooler|
|00001d70| 0a 58 2e 62 72 0a 41 20 | 50 6f 72 74 61 62 6c 65 |.X.br.A |Portable|
|00001d80| 20 55 4e 49 58 20 4c 69 | 6e 65 20 50 72 69 6e 74 | UNIX Li|ne Print|
|00001d90| 65 72 20 53 70 6f 6f 6c | 65 72 0a 58 2e 62 72 0a |er Spool|er.X.br.|
|00001da0| 52 65 6c 65 61 73 65 20 | 32 2e 30 2c 20 31 20 4a |Release |2.0, 1 J|
|00001db0| 75 6e 65 20 31 39 38 38 | 0a 58 2e 41 55 0a 50 72 |une 1988|.X.AU.Pr|
|00001dc0| 6f 66 2e 20 50 61 74 72 | 69 63 6b 20 50 6f 77 65 |of. Patr|ick Powe|
|00001dd0| 6c 6c 0a 58 2e 41 49 0a | 44 65 70 74 2e 20 6f 66 |ll.X.AI.|Dept. of|
|00001de0| 20 43 6f 6d 70 75 74 65 | 72 20 53 63 69 65 6e 63 | Compute|r Scienc|
|00001df0| 65 0a 55 6e 69 76 65 72 | 73 69 74 79 20 6f 66 20 |e.Univer|sity of |
|00001e00| 4d 69 6e 6e 65 73 6f 74 | 61 2c 20 4d 69 6e 6e 65 |Minnesot|a, Minne|
|00001e10| 61 70 6f 6c 69 73 2c 20 | 4d 69 6e 6e 65 73 6f 74 |apolis, |Minnesot|
|00001e20| 61 0a 58 2e 41 42 0a 58 | 2e 46 53 0a 58 2a 20 55 |a.X.AB.X|.FS.X* U|
|00001e30| 4e 49 58 20 69 73 20 61 | 20 74 72 61 64 65 6d 61 |NIX is a| tradema|
|00001e40| 72 6b 20 6f 66 20 41 54 | 54 20 42 65 6c 6c 20 4c |rk of AT|T Bell L|
|00001e50| 61 62 6f 72 61 74 6f 72 | 69 65 73 2e 0a 58 2e 46 |aborator|ies..X.F|
|00001e60| 45 0a 54 68 69 73 20 64 | 6f 63 75 6d 65 6e 74 20 |E.This d|ocument |
|00001e70| 64 65 73 63 72 69 62 65 | 73 20 74 68 65 20 50 75 |describe|s the Pu|
|00001e80| 62 6c 69 63 20 4c 69 6e | 65 20 50 72 69 6e 74 65 |blic Lin|e Printe|
|00001e90| 72 20 53 70 6f 6f 6c 65 | 72 20 28 50 4c 50 29 2e |r Spoole|r (PLP).|
|00001ea0| 0a 54 68 65 20 66 75 6e | 63 74 69 6f 6e 61 6c 20 |.The fun|ctional |
|00001eb0| 72 65 73 65 6d 62 6c 61 | 6e 63 65 20 62 65 74 77 |resembla|nce betw|
|00001ec0| 65 65 6e 20 74 68 69 73 | 20 73 6f 66 74 77 61 72 |een this| softwar|
|00001ed0| 65 20 61 6e 64 20 74 68 | 65 0a 42 65 72 6b 65 6c |e and th|e.Berkel|
|00001ee0| 65 79 20 4c 69 6e 65 20 | 50 72 69 6e 74 65 72 20 |ey Line |Printer |
|00001ef0| 53 70 6f 6f 6c 65 72 20 | 28 4c 50 44 29 20 69 73 |Spooler |(LPD) is|
|00001f00| 20 69 6e 74 65 6e 74 69 | 6f 6e 61 6c 2e 0a 54 68 | intenti|onal..Th|
|00001f10| 65 20 50 4c 50 20 73 6f | 66 74 77 61 72 65 20 68 |e PLP so|ftware h|
|00001f20| 61 73 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |as the f|ollowing|
|00001f30| 20 66 65 61 74 75 72 65 | 73 3a 0a 58 2e 49 50 20 | feature|s:.X.IP |
|00001f40| 31 29 2e 20 35 0a 54 68 | 65 20 50 4c 50 20 73 6f |1). 5.Th|e PLP so|
|00001f50| 66 74 77 61 72 65 20 69 | 73 20 69 6e 74 65 6e 64 |ftware i|s intend|
|00001f60| 65 64 20 74 6f 20 62 65 | 20 20 75 73 65 64 20 69 |ed to be| used i|
|00001f70| 6e 20 61 20 4e 65 74 77 | 6f 72 6b 65 64 20 46 69 |n a Netw|orked Fi|
|00001f80| 6c 65 20 53 79 73 74 65 | 6d 0a 58 28 4e 46 53 29 |le Syste|m.X(NFS)|
|00001f90| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 2c 0a 69 6e | environ|ment,.in|
|00001fa0| 20 77 68 69 63 68 20 74 | 68 65 72 65 20 69 73 20 | which t|here is |
|00001fb0| 61 20 63 6f 6d 6d 6f 6e | 20 73 65 74 20 6f 66 20 |a common| set of |
|00001fc0| 73 70 6f 6f 6c 20 71 75 | 65 75 65 73 2c 0a 61 73 |spool qu|eues,.as|
|00001fd0| 20 77 65 6c 6c 20 61 73 | 20 69 6e 20 61 20 6c 6f | well as| in a lo|
|00001fe0| 6f 73 65 6c 79 20 63 6f | 75 70 6c 65 64 20 65 6e |osely co|upled en|
|00001ff0| 76 69 72 6f 6e 6d 65 6e | 74 20 69 6e 20 77 68 69 |vironmen|t in whi|
|00002000| 63 68 20 65 61 63 68 20 | 68 6f 73 74 0a 74 72 61 |ch each |host.tra|
|00002010| 6e 73 66 65 72 73 20 70 | 72 69 6e 74 20 6a 6f 62 |nsfers p|rint job|
|00002020| 73 20 74 6f 20 61 20 63 | 6f 6d 6d 6f 6e 20 68 6f |s to a c|ommon ho|
|00002030| 73 74 2e 0a 58 2e 49 50 | 20 32 29 2e 20 35 0a 41 |st..X.IP| 2). 5.A|
|00002040| 63 63 65 73 73 20 61 6e | 64 20 70 65 72 6d 69 73 |ccess an|d permis|
|00002050| 73 69 6f 6e 20 74 6f 20 | 75 73 65 0a 50 4c 50 20 |sion to |use.PLP |
|00002060| 66 75 6e 63 74 69 6f 6e | 73 20 69 73 20 63 6f 6e |function|s is con|
|00002070| 74 72 6f 6c 6c 65 64 20 | 62 79 20 65 6e 74 72 69 |trolled |by entri|
|00002080| 65 73 20 69 6e 20 61 20 | 70 72 69 6e 74 65 72 20 |es in a |printer |
|00002090| 70 65 72 6d 69 73 73 69 | 6f 6e 73 20 66 69 6c 65 |permissi|ons file|
|000020a0| 0a 58 2e 49 20 28 2f 75 | 73 72 2f 73 70 6f 6f 6c |.X.I (/u|sr/spool|
|000020b0| 2f 6c 70 64 2f 70 72 69 | 6e 74 65 72 5f 70 65 72 |/lpd/pri|nter_per|
|000020c0| 6d 73 2e 3c 68 6f 73 74 | 6e 61 6d 65 3e 29 0a 77 |ms.<host|name>).w|
|000020d0| 68 69 63 68 20 63 61 6e | 20 72 65 73 74 72 69 63 |hich can| restric|
|000020e0| 74 20 75 73 65 20 62 79 | 20 75 73 65 72 20 6e 61 |t use by| user na|
|000020f0| 6d 65 2c 0a 68 6f 73 74 | 2c 0a 73 70 6f 6f 6c 65 |me,.host|,.spoole|
|00002100| 72 2c 0a 70 61 67 65 20 | 75 73 65 61 67 65 2c 0a |r,.page |useage,.|
|00002110| 61 6e 64 20 61 20 68 6f | 73 74 20 6f 66 20 6f 74 |and a ho|st of ot|
|00002120| 68 65 72 20 66 61 63 74 | 6f 72 73 2e 0a 54 68 65 |her fact|ors..The|
|00002130| 20 70 72 69 6e 74 63 61 | 70 20 66 69 6c 65 0a 58 | printca|p file.X|
|00002140| 2e 49 20 28 2f 75 73 72 | 2f 73 70 6f 6f 6c 2f 6c |.I (/usr|/spool/l|
|00002150| 70 64 2f 70 72 69 6e 74 | 63 61 70 2e 3c 68 6f 73 |pd/print|cap.<hos|
|00002160| 74 6e 61 6d 65 3e 29 0a | 69 73 20 75 73 65 64 20 |tname>).|is used |
|00002170| 74 6f 20 73 70 65 63 69 | 66 79 20 74 68 65 20 70 |to speci|fy the p|
|00002180| 72 69 6e 74 65 72 20 71 | 75 65 75 65 73 20 61 6e |rinter q|ueues an|
|00002190| 64 20 74 68 65 69 72 20 | 6f 70 65 72 61 74 69 6f |d their |operatio|
|000021a0| 6e 2e 0a 58 2e 49 50 20 | 33 29 2e 20 35 0a 4a 6f |n..X.IP |3). 5.Jo|
|000021b0| 62 73 20 63 61 6e 20 6e | 6f 77 20 62 65 20 70 72 |bs can n|ow be pr|
|000021c0| 69 6f 72 69 74 69 7a 65 | 64 2e 0a 54 68 65 20 6d |ioritize|d..The m|
|000021d0| 61 78 69 6d 75 6d 20 70 | 72 69 6f 72 69 74 79 20 |aximum p|riority |
|000021e0| 61 20 75 73 65 72 20 63 | 61 6e 20 73 70 65 63 69 |a user c|an speci|
|000021f0| 66 79 20 69 73 20 73 65 | 74 20 69 6e 20 74 68 65 |fy is se|t in the|
|00002200| 0a 70 72 69 6e 74 65 72 | 20 70 65 72 6d 69 73 73 |.printer| permiss|
|00002210| 69 6f 6e 73 20 66 69 6c | 65 2e 0a 58 2e 49 50 20 |ions fil|e..X.IP |
|00002220| 34 29 2e 20 35 0a 49 6e | 20 61 64 64 69 74 69 6f |4). 5.In| additio|
|00002230| 6e 20 74 6f 20 74 68 65 | 20 67 65 6e 65 72 61 6c |n to the| general|
|00002240| 20 70 72 69 6e 74 65 72 | 20 70 65 72 6d 69 73 73 | printer| permiss|
|00002250| 69 6f 6e 73 20 66 69 6c | 65 2c 0a 65 61 63 68 20 |ions fil|e,.each |
|00002260| 73 70 6f 6f 6c 20 71 75 | 65 75 65 20 63 61 6e 20 |spool qu|eue can |
|00002270| 68 61 76 65 20 69 74 73 | 20 6f 77 6e 20 61 64 64 |have its| own add|
|00002280| 69 74 69 6f 6e 20 70 72 | 69 6e 74 65 72 20 70 65 |ition pr|inter pe|
|00002290| 72 6d 69 73 73 69 6f 6e | 73 20 66 69 6c 65 2e 0a |rmission|s file..|
|000022a0| 58 2e 49 50 20 35 29 2e | 20 35 0a 4c 69 6e 65 20 |X.IP 5).| 5.Line |
|000022b0| 70 72 69 6e 74 65 72 20 | 63 6f 6e 74 72 6f 6c 20 |printer |control |
|000022c0| 66 75 6e 63 74 69 6f 6e | 73 20 63 61 6e 20 62 65 |function|s can be|
|000022d0| 20 65 78 65 72 63 69 73 | 65 64 20 66 72 6f 6d 20 | exercis|ed from |
|000022e0| 61 20 72 65 6d 6f 74 65 | 20 68 6f 73 74 2e 0a 48 |a remote| host..H|
|000022f0| 6f 73 74 73 20 61 6e 64 | 20 75 73 65 72 73 20 77 |osts and| users w|
|00002300| 69 74 68 0a 72 65 6d 6f | 74 65 20 63 6f 6e 74 72 |ith.remo|te contr|
|00002310| 6f 6c 20 70 65 72 6d 69 | 73 73 69 6f 6e 73 20 61 |ol permi|ssions a|
|00002320| 72 65 20 73 70 65 63 69 | 66 69 65 64 0a 62 79 20 |re speci|fied.by |
|00002330| 65 6e 74 72 69 65 73 20 | 69 6e 20 74 68 65 20 70 |entries |in the p|
|00002340| 72 69 6e 74 65 72 20 70 | 65 72 6d 69 73 73 69 6f |rinter p|ermissio|
|00002350| 6e 73 20 66 69 6c 65 2e | 0a 58 2e 49 50 20 36 29 |ns file.|.X.IP 6)|
|00002360| 2e 20 35 0a 54 68 65 20 | 75 6e 73 70 6f 6f 6c 69 |. 5.The |unspooli|
|00002370| 6e 67 20 6f 66 20 6a 6f | 62 73 20 63 61 6e 20 62 |ng of jo|bs can b|
|00002380| 65 20 70 65 72 66 6f 72 | 6d 65 64 20 62 79 20 61 |e perfor|med by a|
|00002390| 20 75 73 65 72 20 64 65 | 66 69 6e 65 64 20 70 72 | user de|fined pr|
|000023a0| 6f 67 72 61 6d 2c 0a 72 | 61 74 68 65 72 20 74 68 |ogram,.r|ather th|
|000023b0| 61 6e 20 74 68 65 20 73 | 70 6f 6f 6c 65 72 2e 0a |an the s|pooler..|
|000023c0| 54 68 69 73 20 61 6c 6c | 6f 77 73 20 74 68 65 20 |This all|ows the |
|000023d0| 73 70 6f 6f 6c 65 72 20 | 74 6f 20 62 65 20 75 73 |spooler |to be us|
|000023e0| 65 64 20 74 6f 20 73 65 | 6e 64 20 6a 6f 62 73 20 |ed to se|nd jobs |
|000023f0| 74 6f 20 72 65 6d 6f 74 | 65 20 73 69 74 65 73 0a |to remot|e sites.|
|00002400| 75 73 69 6e 67 20 76 61 | 72 69 6f 75 73 20 66 69 |using va|rious fi|
|00002410| 6c 65 20 74 72 61 6e 73 | 66 65 72 20 70 72 6f 74 |le trans|fer prot|
|00002420| 6f 63 6f 6c 73 2e 0a 58 | 2e 49 50 20 37 29 2e 20 |ocols..X|.IP 7). |
|00002430| 35 0a 58 45 78 74 72 65 | 6d 65 6c 79 20 76 65 72 |5.XExtre|mely ver|
|00002440| 62 6f 73 65 20 61 6e 64 | 20 63 68 61 74 74 79 20 |bose and| chatty |
|00002450| 65 72 72 6f 72 20 6d 65 | 73 73 61 67 65 73 20 68 |error me|ssages h|
|00002460| 61 76 65 20 62 65 65 6e | 20 61 64 64 65 64 2e 0a |ave been| added..|
|00002470| 54 68 65 73 65 20 67 72 | 65 61 74 6c 79 20 65 61 |These gr|eatly ea|
|00002480| 73 65 20 64 65 62 75 67 | 67 69 6e 67 20 61 6e 64 |se debug|ging and|
|00002490| 20 69 6e 73 74 61 6c 6c | 61 74 69 6f 6e 2e 0a 49 | install|ation..I|
|000024a0| 6e 20 61 64 64 69 74 69 | 6f 6e 2c 0a 74 68 65 0a |n additi|on,.the.|
|000024b0| 58 2e 49 20 63 68 65 63 | 6b 70 63 0a 75 74 69 6c |X.I chec|kpc.util|
|000024c0| 69 74 79 20 63 61 6e 20 | 62 65 20 75 73 65 64 20 |ity can |be used |
|000024d0| 74 6f 20 73 65 74 20 66 | 69 6c 65 20 70 65 72 6d |to set f|ile perm|
|000024e0| 69 73 73 69 6f 6e 73 20 | 61 6e 64 20 6f 74 68 65 |issions |and othe|
|000024f0| 72 20 69 74 65 6d 73 20 | 66 6f 72 0a 75 73 65 20 |r items |for.use |
|00002500| 62 79 20 74 68 65 20 50 | 4c 50 20 73 6f 66 74 77 |by the P|LP softw|
|00002510| 61 72 65 2e 0a 58 2e 50 | 50 0a 58 46 6f 72 20 63 |are..X.P|P.XFor c|
|00002520| 6f 6d 70 6c 65 78 20 6c | 65 67 61 6c 20 72 65 61 |omplex l|egal rea|
|00002530| 73 6f 6e 73 2c 0a 50 4c | 50 20 69 73 20 4e 4f 54 |sons,.PL|P is NOT|
|00002540| 20 70 75 62 6c 69 63 20 | 64 6f 6d 61 69 6e 20 73 | public |domain s|
|00002550| 6f 66 74 77 61 72 65 2c | 0a 62 75 74 20 6d 61 79 |oftware,|.but may|
|00002560| 20 62 65 20 63 6f 70 69 | 65 64 20 61 6e 64 2f 6f | be copi|ed and/o|
|00002570| 72 20 6d 6f 64 69 66 69 | 65 64 20 61 73 20 6c 6f |r modifi|ed as lo|
|00002580| 6e 67 20 61 73 20 74 68 | 65 20 6f 72 69 67 69 6e |ng as th|e origin|
|00002590| 61 6c 20 63 6f 70 79 72 | 69 67 68 74 0a 6e 6f 74 |al copyr|ight.not|
|000025a0| 69 66 69 63 61 74 69 6f | 6e 20 69 73 20 72 65 74 |ificatio|n is ret|
|000025b0| 61 69 6e 65 64 2e 0a 58 | 2e 41 45 0a 58 2e 64 65 |ained..X|.AE.X.de|
|000025c0| 20 49 52 0a 58 5c 66 49 | 5c 5c 24 31 5c 66 50 5c | IR.X\fI|\\$1\fP\|
|000025d0| 5c 24 32 0a 58 2e 2e 0a | 58 2e 64 65 20 42 52 0a |\$2.X...|X.de BR.|
|000025e0| 58 5c 66 42 5c 5c 24 31 | 5c 66 50 5c 5c 24 32 0a |X\fB\\$1|\fP\\$2.|
|000025f0| 58 2e 2e 0a 58 2e 64 65 | 20 44 54 0a 58 2e 74 61 |X...X.de| DT.X.ta|
|00002600| 20 34 6e 20 2b 34 6e 20 | 2b 34 6e 20 2b 34 6e 20 | 4n +4n |+4n +4n |
|00002610| 2b 34 6e 20 2b 34 6e 20 | 2b 34 6e 20 2b 34 6e 20 |+4n +4n |+4n +4n |
|00002620| 2b 34 6e 20 2b 34 6e 20 | 2b 34 6e 20 38 69 0a 58 |+4n +4n |+4n 8i.X|
|00002630| 2e 2e 0a 58 2e 09 5c 22 | 20 43 57 20 2d 20 48 20 |...X..\"| CW - H |
|00002640| 2d 20 48 65 6c 76 65 74 | 69 63 61 0a 58 2e 64 65 |- Helvet|ica.X.de|
|00002650| 20 4c 0a 58 2e 6e 72 20 | 70 71 20 5c 5c 6e 28 2e | L.X.nr |pq \\n(.|
|00002660| 66 0a 58 2e 69 66 20 74 | 20 2e 66 74 20 43 57 0a |f.X.if t| .ft CW.|
|00002670| 58 2e 69 66 20 6e 20 2e | 66 74 20 31 0a 58 2e 69 |X.if n .|ft 1.X.i|
|00002680| 66 20 21 5c 65 5c 5c 24 | 31 5c 65 5c 65 20 5c 26 |f !\e\\$|1\e\e \&|
|00002690| 5c 5c 73 2d 5c 5c 6e 28 | 4c 73 5c 5c 24 31 5c 7c |\\s-\\n(|Ls\\$1\||
|000026a0| 5c 5c 73 2b 5c 5c 6e 28 | 4c 73 5c 66 5c 5c 6e 28 |\\s+\\n(|Ls\f\\n(|
|000026b0| 70 71 5c 5c 24 32 0a 58 | 2e 2e 0a 58 2e 6e 72 20 |pq\\$2.X|...X.nr |
|000026c0| 4c 73 20 32 0a 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |Ls 2.END|_OF_FILE|
|000026d0| 0a 69 66 20 74 65 73 74 | 20 32 35 33 36 20 2d 6e |.if test| 2536 -n|
|000026e0| 65 20 60 77 63 20 2d 63 | 20 3c 27 64 6f 63 2f 50 |e `wc -c| <'doc/P|
|000026f0| 4c 50 2f 30 30 2e 74 27 | 60 3b 20 74 68 65 6e 0a |LP/00.t'|`; then.|
|00002700| 20 20 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 5c | echo| shar: \|
|00002710| 22 27 64 6f 63 2f 50 4c | 50 2f 30 30 2e 74 27 5c |"'doc/PL|P/00.t'\|
|00002720| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|00002730| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 66 69 0a 23 |wrong si|ze!.fi.#|
|00002740| 20 65 6e 64 20 6f 66 20 | 27 64 6f 63 2f 50 4c 50 | end of |'doc/PLP|
|00002750| 2f 30 30 2e 74 27 0a 66 | 69 0a 69 66 20 74 65 73 |/00.t'.f|i.if tes|
|00002760| 74 20 2d 66 20 27 64 6f | 63 2f 50 4c 50 2f 30 33 |t -f 'do|c/PLP/03|
|00002770| 2e 74 27 20 2d 61 20 22 | 24 7b 31 7d 22 20 21 3d |.t' -a "|${1}" !=|
|00002780| 20 22 2d 63 22 20 3b 20 | 74 68 65 6e 20 0a 20 20 | "-c" ; |then . |
|00002790| 65 63 68 6f 20 73 68 61 | 72 3a 20 57 69 6c 6c 20 |echo sha|r: Will |
|000027a0| 6e 6f 74 20 63 6c 6f 62 | 62 65 72 20 65 78 69 73 |not clob|ber exis|
|000027b0| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 27 64 6f 63 |ting fil|e \"'doc|
|000027c0| 2f 50 4c 50 2f 30 33 2e | 74 27 5c 22 0a 65 6c 73 |/PLP/03.|t'\".els|
|000027d0| 65 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 |e.echo s|har: Ext|
|000027e0| 72 61 63 74 69 6e 67 20 | 5c 22 27 64 6f 63 2f 50 |racting |\"'doc/P|
|000027f0| 4c 50 2f 30 33 2e 74 27 | 5c 22 20 5c 28 32 39 33 |LP/03.t'|\" \(293|
|00002800| 30 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |0 charac|ters\).s|
|00002810| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 27 64 6f |ed "s/^X|//" >'do|
|00002820| 63 2f 50 4c 50 2f 30 33 | 2e 74 27 20 3c 3c 27 45 |c/PLP/03|.t' <<'E|
|00002830| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 2e 69 67 |ND_OF_FI|LE'.X.ig|
|00002840| 0a 58 24 48 65 61 64 65 | 72 3a 20 30 33 2e 74 2c |.X$Heade|r: 03.t,|
|00002850| 76 20 31 2e 31 20 38 38 | 2f 30 35 2f 32 31 20 31 |v 1.1 88|/05/21 1|
|00002860| 38 3a 33 39 3a 33 36 20 | 70 61 70 6f 77 65 6c 6c |8:39:36 |papowell|
|00002870| 20 4c 6f 63 6b 65 64 20 | 24 0a 58 24 6c 6f 67 24 | Locked |$.X$log$|
|00002880| 0a 58 2e 2e 0a 58 2e 4e | 48 20 31 0a 53 70 6f 6f |.X...X.N|H 1.Spoo|
|00002890| 6c 20 44 69 72 65 63 74 | 6f 72 69 65 73 2c 20 50 |l Direct|ories, P|
|000028a0| 72 6f 67 72 61 6d 73 2c | 20 61 6e 64 20 50 65 72 |rograms,| and Per|
|000028b0| 6d 69 73 73 69 6f 6e 73 | 0a 58 2e 50 50 0a 58 45 |missions|.X.PP.XE|
|000028c0| 61 63 68 20 73 70 6f 6f | 6c 20 71 75 65 75 65 20 |ach spoo|l queue |
|000028d0| 68 61 73 20 61 20 73 70 | 6f 6f 6c 20 64 69 72 65 |has a sp|ool dire|
|000028e0| 63 74 6f 72 79 20 74 68 | 61 74 20 63 6f 6e 74 61 |ctory th|at conta|
|000028f0| 69 6e 73 20 74 68 65 0a | 63 6f 6e 74 72 6f 6c 20 |ins the.|control |
|00002900| 61 6e 64 20 64 61 74 61 | 20 66 69 6c 65 73 20 61 |and data| files a|
|00002910| 73 73 6f 63 69 61 74 65 | 64 20 77 69 74 68 20 61 |ssociate|d with a|
|00002920| 20 6a 6f 62 2e 0a 54 68 | 65 20 70 65 72 6d 69 73 | job..Th|e permis|
|00002930| 73 69 6f 6e 73 20 61 6e | 64 20 6f 77 6e 65 72 73 |sions an|d owners|
|00002940| 68 69 70 73 20 6f 66 0a | 73 70 6f 6f 6c 20 64 69 |hips of.|spool di|
|00002950| 72 65 63 74 6f 72 69 65 | 73 20 61 6e 64 20 50 4c |rectorie|s and PL|
|00002960| 50 20 73 6f 66 74 77 61 | 72 65 20 61 72 65 20 69 |P softwa|re are i|
|00002970| 6e 74 65 6e 64 65 64 20 | 74 6f 20 61 6c 6c 6f 77 |ntended |to allow|
|00002980| 20 6f 6e 6c 79 20 50 4c | 50 20 70 72 6f 67 72 61 | only PL|P progra|
|00002990| 6d 73 0a 74 6f 20 72 65 | 61 64 2c 0a 77 72 69 74 |ms.to re|ad,.writ|
|000029a0| 65 2c 0a 6f 72 20 72 65 | 6d 6f 76 65 20 6a 6f 62 |e,.or re|move job|
|000029b0| 73 20 66 72 6f 6d 20 74 | 68 65 20 73 70 6f 6f 6c |s from t|he spool|
|000029c0| 20 64 69 72 65 63 74 6f | 72 79 2e 0a 54 68 65 20 | directo|ry..The |
|000029d0| 73 74 72 61 74 65 67 79 | 20 75 73 65 64 20 74 6f |strategy| used to|
|000029e0| 20 70 72 6f 74 65 63 74 | 0a 73 70 6f 6f 6c 69 6e | protect|.spoolin|
|000029f0| 67 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 69 73 |g inform|ation is|
|00002a00| 20 61 73 20 66 6f 6c 6c | 6f 77 73 3a 0a 58 2e 49 | as foll|ows:.X.I|
|00002a10| 50 20 31 29 2e 20 34 0a | 58 45 61 63 68 20 73 70 |P 1). 4.|XEach sp|
|00002a20| 6f 6f 6c 20 71 75 65 75 | 65 20 64 69 72 65 63 74 |ool queu|e direct|
|00002a30| 6f 72 79 20 69 73 20 6f | 77 6e 65 64 20 62 79 20 |ory is o|wned by |
|00002a40| 75 73 65 72 0a 58 2e 49 | 20 64 61 65 6d 6f 6e 0a |user.X.I| daemon.|
|00002a50| 61 6e 64 20 67 72 6f 75 | 70 0a 58 2e 49 20 64 65 |and grou|p.X.I de|
|00002a60| 61 6d 6f 6e 20 2e 0a 54 | 68 65 20 73 70 6f 6f 6c |amon ..T|he spool|
|00002a70| 20 71 75 65 75 65 20 64 | 69 72 65 63 74 6f 72 79 | queue d|irectory|
|00002a80| 20 70 65 72 6d 69 73 73 | 69 6f 6e 73 20 61 72 65 | permiss|ions are|
|00002a90| 20 30 37 35 35 2c 20 69 | 2e 65 2e 2d 0a 75 73 65 | 0755, i|.e.-.use|
|00002aa0| 72 20 28 64 61 65 6d 6f | 6e 29 20 72 77 78 2c 0a |r (daemo|n) rwx,.|
|00002ab0| 67 72 6f 75 70 20 28 64 | 61 65 6d 6f 6e 29 20 72 |group (d|aemon) r|
|00002ac0| 78 2c 0a 61 6e 64 20 6f | 74 68 65 72 20 72 78 2e |x,.and o|ther rx.|
|00002ad0| 0a 58 2e 46 53 0a 54 68 | 65 73 65 20 63 6f 75 6c |.X.FS.Th|ese coul|
|00002ae0| 64 20 62 65 20 72 65 73 | 74 72 69 63 74 65 64 20 |d be res|tricted |
|00002af0| 74 6f 20 30 36 30 30 2c | 0a 75 73 65 72 20 28 64 |to 0600,|.user (d|
|00002b00| 61 65 6d 6f 6e 29 20 72 | 77 20 6f 6e 6c 79 2c 0a |aemon) r|w only,.|
|00002b10| 61 73 20 50 4c 50 20 70 | 72 6f 67 72 61 6d 73 20 |as PLP p|rograms |
|00002b20| 72 75 6e 20 53 55 49 44 | 0a 58 2e 49 52 20 72 6f |run SUID|.X.IR ro|
|00002b30| 6f 74 20 2e 0a 58 2e 46 | 45 0a 58 2e 49 50 20 32 |ot ..X.F|E.X.IP 2|
|00002b40| 29 2e 20 34 0a 41 6c 6c | 20 74 68 65 20 50 4c 50 |). 4.All| the PLP|
|00002b50| 20 70 72 6f 67 72 61 6d | 73 20 77 68 69 63 68 20 | program|s which |
|00002b60| 6d 6f 64 69 66 79 20 6f | 72 20 72 65 61 64 20 74 |modify o|r read t|
|00002b70| 68 65 20 65 6e 74 72 69 | 65 73 20 69 6e 20 74 68 |he entri|es in th|
|00002b80| 65 0a 73 70 6f 6f 6c 20 | 71 75 65 75 65 20 64 69 |e.spool |queue di|
|00002b90| 72 65 63 74 6f 72 69 65 | 73 20 72 75 6e 20 53 55 |rectorie|s run SU|
|00002ba0| 49 44 0a 58 2e 49 52 20 | 72 6f 6f 74 20 2e 0a 54 |ID.X.IR |root ..T|
|00002bb0| 68 65 20 53 55 49 44 0a | 58 2e 49 20 72 6f 6f 74 |he SUID.|X.I root|
|00002bc0| 0a 69 73 20 6e 65 65 64 | 65 64 20 6f 6e 20 73 65 |.is need|ed on se|
|00002bd0| 76 65 72 61 6c 20 55 4e | 49 58 20 69 6d 70 6c 65 |veral UN|IX imple|
|00002be0| 6d 65 6e 74 61 74 69 6f | 6e 73 20 69 6e 0a 6f 72 |mentatio|ns in.or|
|00002bf0| 64 65 72 20 74 6f 20 63 | 68 61 6e 67 65 20 74 68 |der to c|hange th|
|00002c00| 65 20 66 69 6c 65 20 6f | 77 6e 65 72 73 68 69 70 |e file o|wnership|
|00002c10| 20 61 6e 64 20 67 72 6f | 75 70 20 69 6e 66 6f 72 | and gro|up infor|
|00002c20| 6d 61 74 69 6f 6e 2e 0a | 58 2e 49 50 20 33 29 2e |mation..|X.IP 3).|
|00002c30| 20 34 0a 43 6f 6e 74 72 | 6f 6c 20 61 6e 64 20 64 | 4.Contr|ol and d|
|00002c40| 61 74 61 20 66 69 6c 65 | 73 20 69 6e 20 74 68 65 |ata file|s in the|
|00002c50| 20 73 70 6f 6f 6c 69 6e | 67 20 64 69 72 65 63 74 | spoolin|g direct|
|00002c60| 6f 72 69 65 73 20 68 61 | 76 65 20 6f 77 6e 65 72 |ories ha|ve owner|
|00002c70| 0a 58 2e 49 20 64 61 65 | 6d 6f 6e 20 0a 61 6e 64 |.X.I dae|mon .and|
|00002c80| 0a 67 72 6f 75 70 0a 58 | 2e 49 52 20 64 61 65 6d |.group.X|.IR daem|
|00002c90| 6f 6e 20 2e 0a 54 68 69 | 73 20 69 6e 73 75 72 65 |on ..Thi|s insure|
|00002ca0| 73 20 63 6f 6e 74 72 6f | 6c 20 61 6e 64 20 64 61 |s contro|l and da|
|00002cb0| 74 61 20 66 69 6c 65 73 | 20 61 72 65 20 6e 6f 74 |ta files| are not|
|00002cc0| 20 72 65 61 64 61 62 6c | 65 20 6f 72 20 6d 6f 64 | readabl|e or mod|
|00002cd0| 69 66 69 61 62 6c 65 20 | 62 79 20 61 0a 61 6e 64 |ifiable |by a.and|
|00002ce0| 20 6f 72 64 69 6e 61 72 | 79 20 75 73 65 72 20 61 | ordinar|y user a|
|00002cf0| 6e 64 20 74 68 61 74 20 | 6e 6f 20 6f 72 64 69 6e |nd that |no ordin|
|00002d00| 61 72 79 20 75 73 65 72 | 20 63 61 6e 20 72 65 6d |ary user| can rem|
|00002d10| 6f 76 65 20 66 69 6c 65 | 73 20 65 78 63 65 70 74 |ove file|s except|
|00002d20| 20 74 68 72 6f 75 67 68 | 0a 58 2e 49 52 20 6c 70 | through|.X.IR lp|
|00002d30| 72 6d 20 2e 0a 58 2e 49 | 50 20 34 29 2e 20 34 0a |rm ..X.I|P 4). 4.|
|00002d40| 58 45 61 63 68 20 73 70 | 6f 6f 6c 20 71 75 65 75 |XEach sp|ool queu|
|00002d50| 65 20 68 61 73 20 61 0a | 58 2e 49 20 6c 6f 63 6b |e has a.|X.I lock|
|00002d60| 0a 66 69 6c 65 20 77 68 | 69 63 68 20 63 6f 6e 74 |.file wh|ich cont|
|00002d70| 72 6f 6c 73 20 71 75 65 | 75 65 69 6e 67 20 61 6e |rols que|ueing an|
|00002d80| 64 20 70 72 69 6e 74 69 | 6e 67 2e 0a 49 66 20 74 |d printi|ng..If t|
|00002d90| 68 65 0a 58 2e 49 20 6c | 6f 63 6b 0a 68 61 73 0a |he.X.I l|ock.has.|
|00002da0| 58 2e 49 20 22 6f 77 6e | 65 72 20 65 78 65 63 75 |X.I "own|er execu|
|00002db0| 74 65 22 0a 70 65 72 6d | 69 73 73 69 6f 6e 20 73 |te".perm|ission s|
|00002dc0| 65 74 20 74 68 65 6e 20 | 75 6e 73 70 6f 6f 6c 69 |et then |unspooli|
|00002dd0| 6e 67 20 69 73 20 64 69 | 73 61 62 6c 65 64 3b 0a |ng is di|sabled;.|
|00002de0| 69 66 20 69 74 20 68 61 | 73 0a 58 2e 49 20 22 67 |if it ha|s.X.I "g|
|00002df0| 72 6f 75 70 20 65 78 65 | 63 75 74 65 22 0a 70 65 |roup exe|cute".pe|
|00002e00| 72 6d 69 73 73 69 6f 6e | 73 20 73 65 74 20 74 68 |rmission|s set th|
|00002e10| 65 6e 20 73 70 6f 6f 6c | 69 6e 67 20 69 73 20 64 |en spool|ing is d|
|00002e20| 69 73 61 62 6c 65 64 3b | 0a 69 66 20 69 74 20 68 |isabled;|.if it h|
|00002e30| 61 73 0a 58 2e 49 20 22 | 6f 74 68 65 72 20 65 78 |as.X.I "|other ex|
|00002e40| 65 63 75 74 65 22 0a 70 | 65 72 6d 69 73 73 69 6f |ecute".p|ermissio|
|00002e50| 6e 73 20 73 65 74 20 74 | 68 65 6e 20 74 68 65 20 |ns set t|hen the |
|00002e60| 73 70 6f 6f 6c 20 71 75 | 65 75 65 20 73 68 6f 75 |spool qu|eue shou|
|00002e70| 6c 64 20 62 65 20 72 65 | 6f 72 64 65 72 65 64 20 |ld be re|ordered |
|00002e80| 66 6f 72 0a 75 6e 73 70 | 6f 6f 6c 69 6e 67 20 70 |for.unsp|ooling p|
|00002e90| 75 72 70 6f 73 65 73 2e | 0a 58 2e 49 50 20 35 29 |urposes.|.X.IP 5)|
|00002ea0| 2e 20 34 0a 50 72 65 76 | 65 6e 74 69 6f 6e 20 6f |. 4.Prev|ention o|
|00002eb0| 66 20 6d 75 6c 74 69 70 | 6c 65 20 69 6e 73 74 61 |f multip|le insta|
|00002ec0| 6e 63 65 73 20 6f 66 20 | 61 20 73 70 6f 6f 6c 20 |nces of |a spool |
|00002ed0| 71 75 65 75 65 20 73 65 | 72 76 65 72 20 69 73 20 |queue se|rver is |
|00002ee0| 64 6f 6e 65 20 62 79 0a | 75 73 69 6e 67 20 74 68 |done by.|using th|
|00002ef0| 65 0a 58 2e 49 52 20 66 | 6c 6f 63 6b 20 28 32 29 |e.X.IR f|lock (2)|
|00002f00| 2c 0a 6f 72 0a 58 2e 49 | 52 20 6c 6f 63 6b 66 20 |,.or.X.I|R lockf |
|00002f10| 28 33 29 0a 66 61 63 69 | 6c 69 74 79 2e 0a 57 68 |(3).faci|lity..Wh|
|00002f20| 65 6e 20 61 20 73 65 72 | 76 65 72 20 73 74 61 72 |en a ser|ver star|
|00002f30| 74 73 2c 0a 69 74 20 77 | 69 6c 6c 20 74 72 79 20 |ts,.it w|ill try |
|00002f40| 61 6e 64 20 6c 6f 63 6b | 20 74 68 65 0a 58 2e 49 |and lock| the.X.I|
|00002f50| 20 6c 6f 63 6b 0a 66 69 | 6c 65 20 75 73 69 6e 67 | lock.fi|le using|
|00002f60| 0a 58 2e 49 52 20 66 6c | 6f 63 6b 20 3b 0a 69 66 |.X.IR fl|ock ;.if|
|00002f70| 20 74 68 65 20 6c 6f 63 | 6b 20 66 61 69 6c 73 20 | the loc|k fails |
|00002f80| 74 68 65 6e 20 61 6e 6f | 74 68 65 72 20 73 65 72 |then ano|ther ser|
|00002f90| 76 65 72 20 69 73 20 61 | 63 74 69 76 65 2e 0a 58 |ver is a|ctive..X|
|00002fa0| 2e 49 50 20 36 29 2e 20 | 34 0a 54 68 65 20 61 63 |.IP 6). |4.The ac|
|00002fb0| 74 69 76 65 20 73 65 72 | 76 65 72 20 70 72 6f 63 |tive ser|ver proc|
|00002fc0| 65 73 73 20 72 65 63 6f | 72 64 73 20 69 74 73 0a |ess reco|rds its.|
|00002fd0| 58 2e 49 20 22 70 72 6f | 63 65 73 73 20 69 64 22 |X.I "pro|cess id"|
|00002fe0| 0a 61 6e 64 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |.and the| name of|
|00002ff0| 20 74 68 65 20 63 6f 6e | 74 72 6f 6c 20 66 69 6c | the con|trol fil|
|00003000| 65 20 62 65 69 6e 67 20 | 70 72 6f 63 65 73 73 65 |e being |processe|
|00003010| 64 20 69 6e 20 74 68 65 | 0a 58 2e 49 20 6c 6f 63 |d in the|.X.I loc|
|00003020| 6b 0a 66 69 6c 65 2e 0a | 54 68 69 73 20 69 6e 66 |k.file..|This inf|
|00003030| 6f 72 6d 61 74 69 6f 6e | 20 69 73 20 75 73 65 64 |ormation| is used|
|00003040| 20 62 79 0a 58 2e 49 20 | 6c 70 71 0a 74 6f 20 72 | by.X.I |lpq.to r|
|00003050| 65 70 6f 72 74 20 74 68 | 65 20 71 75 65 75 65 20 |eport th|e queue |
|00003060| 61 63 74 69 76 69 74 79 | 2e 0a 58 2e 49 50 20 37 |activity|..X.IP 7|
|00003070| 29 2e 20 34 0a 42 65 66 | 6f 72 65 20 70 72 6f 63 |). 4.Bef|ore proc|
|00003080| 65 73 73 69 6e 67 20 61 | 20 6a 6f 62 2c 0a 74 68 |essing a| job,.th|
|00003090| 65 20 73 65 72 76 65 72 | 20 70 72 6f 63 65 73 73 |e server| process|
|000030a0| 20 77 69 6c 6c 20 6c 6f | 63 6b 20 74 68 65 20 6a | will lo|ck the j|
|000030b0| 6f 62 27 73 20 63 6f 6e | 74 72 6f 6c 20 66 69 6c |ob's con|trol fil|
|000030c0| 65 2e 0a 54 68 69 73 20 | 70 72 65 76 65 6e 74 73 |e..This |prevents|
|000030d0| 20 6d 75 6c 74 69 70 6c | 65 20 50 4c 50 20 70 72 | multipl|e PLP pr|
|000030e0| 6f 67 72 61 6d 73 20 73 | 75 63 68 20 61 73 20 0a |ograms s|uch as .|
|000030f0| 58 2e 49 20 6c 70 72 6d | 0a 61 6e 64 0a 58 2e 49 |X.I lprm|.and.X.I|
|00003100| 20 6c 70 64 0a 66 72 6f | 6d 20 6f 70 65 72 61 74 | lpd.fro|m operat|
|00003110| 69 6e 67 20 6f 6e 20 74 | 68 65 20 73 61 6d 65 20 |ing on t|he same |
|00003120| 6a 6f 62 20 73 69 6d 75 | 6c 74 61 6e 65 6f 75 73 |job simu|ltaneous|
|00003130| 6c 79 2e 0a 58 2e 49 50 | 20 38 29 2e 20 34 0a 49 |ly..X.IP| 8). 4.I|
|00003140| 66 20 74 68 65 72 65 20 | 61 72 65 20 6d 75 6c 74 |f there |are mult|
|00003150| 69 70 6c 65 20 73 65 72 | 76 65 72 73 20 66 6f 72 |iple ser|vers for|
|00003160| 20 61 20 73 69 6e 67 6c | 65 20 71 75 65 75 65 2c | a singl|e queue,|
|00003170| 0a 74 68 65 20 73 70 6f | 6f 6c 20 71 75 65 75 65 |.the spo|ol queue|
|00003180| 20 6c 6f 63 6b 20 66 69 | 6c 65 20 69 73 20 75 73 | lock fi|le is us|
|00003190| 65 64 20 74 6f 20 63 6f | 6e 74 72 6f 6c 20 73 70 |ed to co|ntrol sp|
|000031a0| 6f 6f 6c 20 61 63 74 69 | 76 69 74 69 65 73 2c 0a |ool acti|vities,.|
|000031b0| 61 6e 64 20 69 6e 64 69 | 76 69 64 75 61 6c 20 70 |and indi|vidual p|
|000031c0| 72 69 6e 74 65 72 20 73 | 65 72 76 65 72 20 6c 6f |rinter s|erver lo|
|000031d0| 63 6b 20 66 69 6c 65 73 | 20 61 72 65 20 75 73 65 |ck files| are use|
|000031e0| 64 20 74 6f 20 63 6f 6e | 74 72 6f 6c 20 74 68 65 |d to con|trol the|
|000031f0| 20 70 72 69 6e 74 65 72 | 73 2e 0a 58 2e 49 50 20 | printer|s..X.IP |
|00003200| 39 29 2e 20 34 0a 58 45 | 61 63 68 20 73 70 6f 6f |9). 4.XE|ach spoo|
|00003210| 6c 20 71 75 65 75 65 20 | 0a 58 2e 49 20 73 74 61 |l queue |.X.I sta|
|00003220| 74 75 73 0a 66 69 6c 65 | 20 77 68 69 63 68 20 69 |tus.file| which i|
|00003230| 73 20 75 73 65 64 20 74 | 6f 20 72 65 63 6f 72 64 |s used t|o record|
|00003240| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 73 74 61 | the cur|rent sta|
|00003250| 74 75 73 20 6f 66 20 74 | 68 65 20 73 65 72 76 65 |tus of t|he serve|
|00003260| 72 20 70 72 6f 63 65 73 | 73 2e 0a 54 68 69 73 20 |r proces|s..This |
|00003270| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 69 73 20 64 |informat|ion is d|
|00003280| 69 73 70 6c 61 79 65 64 | 20 62 79 0a 58 2e 49 20 |isplayed| by.X.I |
|00003290| 6c 70 71 0a 61 6e 64 0a | 58 2e 49 52 20 6c 70 63 |lpq.and.|X.IR lpc|
|000032a0| 20 2e 0a 58 2e 49 50 20 | 31 30 29 2e 20 34 0a 41 | ..X.IP |10). 4.A|
|000032b0| 20 73 65 72 76 65 72 20 | 70 72 6f 63 65 73 73 20 | server |process |
|000032c0| 69 73 20 73 65 74 75 69 | 64 0a 58 2e 49 20 72 6f |is setui|d.X.I ro|
|000032d0| 6f 74 0a 61 6e 64 20 69 | 74 73 20 70 72 6f 63 65 |ot.and i|ts proce|
|000032e0| 73 73 20 67 72 6f 75 70 | 20 69 74 73 0a 58 2e 49 |ss group| its.X.I|
|000032f0| 20 70 72 6f 63 65 73 73 | 0a 69 64 2e 0a 41 6e 79 | process|.id..Any|
|00003300| 20 73 75 62 70 72 6f 63 | 65 73 73 65 73 20 74 68 | subproc|esses th|
|00003310| 61 74 20 69 74 20 66 6f | 72 6b 73 20 77 69 6c 6c |at it fo|rks will|
|00003320| 20 62 65 20 69 6e 20 74 | 68 65 20 73 61 6d 65 20 | be in t|he same |
|00003330| 70 72 6f 63 65 73 73 20 | 67 72 6f 75 70 2e 0a 54 |process |group..T|
|00003340| 68 65 0a 58 2e 49 20 6c | 70 72 6d 0a 70 72 6f 67 |he.X.I l|prm.prog|
|00003350| 72 61 6d 20 75 73 65 73 | 20 0a 58 2e 49 52 20 6b |ram uses| .X.IR k|
|00003360| 69 6c 6c 70 67 20 5c 7c | 28 32 29 0a 74 6f 20 73 |illpg \||(2).to s|
|00003370| 69 67 6e 61 6c 20 61 6e | 20 61 63 74 69 76 65 20 |ignal an| active |
|00003380| 73 65 72 76 65 72 20 70 | 72 6f 63 65 73 73 2e 0a |server p|rocess..|
|00003390| 54 68 65 0a 58 2e 49 20 | 6b 69 6c 6c 70 67 0a 77 |The.X.I |killpg.w|
|000033a0| 69 6c 6c 20 65 66 66 65 | 63 74 20 74 68 65 20 73 |ill effe|ct the s|
|000033b0| 75 62 70 72 6f 63 65 73 | 73 20 61 73 20 77 65 6c |ubproces|s as wel|
|000033c0| 6c 20 61 73 20 74 68 65 | 20 6f 72 69 67 69 6e 61 |l as the| origina|
|000033d0| 6c 20 73 65 72 76 65 72 | 20 70 72 6f 63 65 73 73 |l server| process|
|000033e0| 2e 0a 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 0a 69 66 |..END_OF|_FILE.if|
|000033f0| 20 74 65 73 74 20 32 39 | 33 30 20 2d 6e 65 20 60 | test 29|30 -ne `|
|00003400| 77 63 20 2d 63 20 3c 27 | 64 6f 63 2f 50 4c 50 2f |wc -c <'|doc/PLP/|
|00003410| 30 33 2e 74 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |03.t'`; |then. |
|00003420| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 64 | echo sh|ar: \"'d|
|00003430| 6f 63 2f 50 4c 50 2f 30 | 33 2e 74 27 5c 22 20 75 |oc/PLP/0|3.t'\" u|
|00003440| 6e 70 61 63 6b 65 64 20 | 77 69 74 68 20 77 72 6f |npacked |with wro|
|00003450| 6e 67 20 73 69 7a 65 21 | 0a 66 69 0a 23 20 65 6e |ng size!|.fi.# en|
|00003460| 64 20 6f 66 20 27 64 6f | 63 2f 50 4c 50 2f 30 33 |d of 'do|c/PLP/03|
|00003470| 2e 74 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |.t'.fi.i|f test -|
|00003480| 66 20 27 64 6f 63 2f 50 | 4c 50 2f 31 30 2e 74 27 |f 'doc/P|LP/10.t'|
|00003490| 20 2d 61 20 22 24 7b 31 | 7d 22 20 21 3d 20 22 2d | -a "${1|}" != "-|
|000034a0| 63 22 20 3b 20 74 68 65 | 6e 20 0a 20 20 65 63 68 |c" ; the|n . ech|
|000034b0| 6f 20 73 68 61 72 3a 20 | 57 69 6c 6c 20 6e 6f 74 |o shar: |Will not|
|000034c0| 20 63 6c 6f 62 62 65 72 | 20 65 78 69 73 74 69 6e | clobber| existin|
|000034d0| 67 20 66 69 6c 65 20 5c | 22 27 64 6f 63 2f 50 4c |g file \|"'doc/PL|
|000034e0| 50 2f 31 30 2e 74 27 5c | 22 0a 65 6c 73 65 0a 65 |P/10.t'\|".else.e|
|000034f0| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|00003500| 74 69 6e 67 20 5c 22 27 | 64 6f 63 2f 50 4c 50 2f |ting \"'|doc/PLP/|
|00003510| 31 30 2e 74 27 5c 22 20 | 5c 28 33 32 34 38 20 63 |10.t'\" |\(3248 c|
|00003520| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 73 65 64 20 |haracter|s\).sed |
|00003530| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 64 6f 63 2f 50 |"s/^X//"| >'doc/P|
|00003540| 4c 50 2f 31 30 2e 74 27 | 20 3c 3c 27 45 4e 44 5f |LP/10.t'| <<'END_|
|00003550| 4f 46 5f 46 49 4c 45 27 | 0a 58 2e 69 67 0a 58 24 |OF_FILE'|.X.ig.X$|
|00003560| 48 65 61 64 65 72 3a 20 | 31 30 2e 74 2c 76 20 31 |Header: |10.t,v 1|
|00003570| 2e 31 20 38 38 2f 30 35 | 2f 32 31 20 31 38 3a 33 |.1 88/05|/21 18:3|
|00003580| 39 3a 35 31 20 70 61 70 | 6f 77 65 6c 6c 20 4c 6f |9:51 pap|owell Lo|
|00003590| 63 6b 65 64 20 24 0a 58 | 24 6c 6f 67 24 0a 58 2e |cked $.X|$log$.X.|
|000035a0| 2e 0a 58 2e 4e 48 20 31 | 0a 54 72 6f 75 62 6c 65 |..X.NH 1|.Trouble|
|000035b0| 73 68 6f 6f 74 69 6e 67 | 0a 58 2e 50 50 0a 54 68 |shooting|.X.PP.Th|
|000035c0| 65 20 64 69 61 67 6e 6f | 73 74 69 63 20 6d 65 73 |e diagno|stic mes|
|000035d0| 73 61 67 65 73 20 69 73 | 73 75 65 64 20 62 79 20 |sages is|sued by |
|000035e0| 74 68 65 20 50 4c 50 20 | 73 6f 66 74 77 61 72 65 |the PLP |software|
|000035f0| 0a 61 72 65 20 76 65 72 | 62 6f 73 65 20 74 6f 20 |.are ver|bose to |
|00003600| 74 68 65 20 70 6f 69 6e | 74 20 6f 66 20 62 65 69 |the poin|t of bei|
|00003610| 6e 67 20 6f 62 6e 6f 78 | 69 6f 75 73 2e 0a 55 73 |ng obnox|ious..Us|
|00003620| 75 61 6c 6c 79 20 74 68 | 65 72 65 20 69 73 20 65 |ually th|ere is e|
|00003630| 6e 6f 75 67 68 20 69 6e | 66 6f 72 6d 61 74 69 6f |nough in|formatio|
|00003640| 6e 20 61 76 61 69 6c 61 | 62 6c 65 20 74 6f 20 64 |n availa|ble to d|
|00003650| 65 74 65 72 6d 69 6e 65 | 20 74 68 65 20 65 78 61 |etermine| the exa|
|00003660| 63 74 20 63 61 75 73 65 | 0a 6f 66 20 70 72 6f 62 |ct cause|.of prob|
|00003670| 6c 65 6d 73 2e 0a 48 6f | 77 65 76 65 72 2c 0a 74 |lems..Ho|wever,.t|
|00003680| 68 65 72 65 20 61 72 65 | 20 74 69 6d 65 73 20 77 |here are| times w|
|00003690| 68 65 6e 20 61 20 62 69 | 74 20 6f 66 20 65 78 70 |hen a bi|t of exp|
|000036a0| 6c 61 6e 61 74 69 6f 6e | 73 20 64 6f 20 68 65 6c |lanation|s do hel|
|000036b0| 70 2e 0a 58 2e 50 50 0a | 49 6e 20 6f 72 64 65 72 |p..X.PP.|In order|
|000036c0| 20 74 6f 20 67 65 74 20 | 64 65 74 61 69 6c 65 64 | to get |detailed|
|000036d0| 20 64 69 61 67 6e 6f 73 | 74 69 63 20 69 6e 66 6f | diagnos|tic info|
|000036e0| 72 6d 61 74 69 6f 6e 20 | 66 72 6f 6d 20 61 6e 79 |rmation |from any|
|000036f0| 20 6f 66 20 74 68 65 0a | 50 4c 50 20 73 6f 66 74 | of the.|PLP soft|
|00003700| 77 61 72 65 2c 0a 79 6f | 75 20 63 61 6e 20 65 6e |ware,.yo|u can en|
|00003710| 61 62 6c 65 20 64 69 61 | 67 6e 6f 73 74 69 63 20 |able dia|gnostic |
|00003720| 6d 65 73 73 61 67 65 73 | 20 75 73 69 6e 67 20 74 |messages| using t|
|00003730| 68 65 0a 58 2e 42 20 2d | 44 6e 0a 6f 70 74 69 6f |he.X.B -|Dn.optio|
|00003740| 6e 20 74 6f 20 73 65 74 | 20 64 65 62 75 67 67 69 |n to set| debuggi|
|00003750| 6e 67 20 74 6f 20 6c 65 | 76 65 6c 0a 58 2e 49 52 |ng to le|vel.X.IR|
|00003760| 20 6e 20 2e 0a 4c 65 76 | 65 6c 20 30 20 64 69 73 | n ..Lev|el 0 dis|
|00003770| 61 62 6c 65 73 20 64 69 | 61 67 6e 6f 73 74 69 63 |ables di|agnostic|
|00003780| 73 2c 0a 6c 65 76 65 6c | 20 33 20 69 73 20 63 68 |s,.level| 3 is ch|
|00003790| 61 74 74 79 2c 0a 6c 65 | 76 65 6c 20 35 20 69 73 |atty,.le|vel 5 is|
|000037a0| 20 70 72 65 74 74 79 20 | 76 65 72 62 6f 73 65 2c | pretty |verbose,|
|000037b0| 0a 61 6e 64 20 6c 65 76 | 65 6c 20 39 20 69 73 20 |.and lev|el 9 is |
|000037c0| 61 62 73 6f 6c 75 74 65 | 6c 79 20 65 76 65 72 74 |absolute|ly evert|
|000037d0| 68 69 6e 67 2e 0a 58 2e | 4e 48 20 32 0a 4c 50 44 |hing..X.|NH 2.LPD|
|000037e0| 0a 58 2e 50 50 0a 57 68 | 65 6e 20 6c 70 64 20 69 |.X.PP.Wh|en lpd i|
|000037f0| 73 20 73 74 61 72 74 65 | 64 2c 0a 69 74 20 77 69 |s starte|d,.it wi|
|00003800| 6c 6c 20 74 72 79 20 61 | 6e 64 20 6f 70 65 6e 20 |ll try a|nd open |
|00003810| 61 20 6c 6f 67 20 66 69 | 6c 65 2e 0a 49 66 20 69 |a log fi|le..If i|
|00003820| 74 20 63 61 6e 6e 6f 74 | 2c 0a 69 74 20 77 69 6c |t cannot|,.it wil|
|00003830| 6c 20 6c 6f 67 20 74 6f | 20 2f 64 65 76 2f 6e 75 |l log to| /dev/nu|
|00003840| 6c 6c 2e 0a 48 6f 77 65 | 76 65 72 2c 0a 69 6d 70 |ll..Howe|ver,.imp|
|00003850| 6f 72 74 61 6e 74 20 65 | 72 72 6f 72 73 20 61 72 |ortant e|rrors ar|
|00003860| 65 20 6c 6f 67 67 65 64 | 20 75 73 69 6e 67 20 74 |e logged| using t|
|00003870| 68 65 0a 58 2e 49 52 20 | 73 79 73 6c 6f 67 20 28 |he.X.IR |syslog (|
|00003880| 38 29 0a 66 61 63 69 6c | 69 74 79 2e 0a 59 6f 75 |8).facil|ity..You|
|00003890| 20 63 61 6e 20 73 70 65 | 63 69 66 79 20 61 20 6c | can spe|cify a l|
|000038a0| 6f 67 20 66 69 6c 65 20 | 75 73 69 6e 67 20 74 68 |og file |using th|
|000038b0| 65 0a 58 2e 42 20 22 2d | 4c 20 66 69 6c 65 6e 61 |e.X.B "-|L filena|
|000038c0| 6d 65 22 0a 6f 70 74 69 | 6f 6e 20 74 6f 20 6c 70 |me".opti|on to lp|
|000038d0| 64 3b 0a 58 2e 42 20 22 | 2d 4c 20 2d 22 0a 77 69 |d;.X.B "|-L -".wi|
|000038e0| 6c 6c 20 63 61 75 73 65 | 20 69 74 20 74 6f 20 6c |ll cause| it to l|
|000038f0| 6f 67 20 65 72 72 6f 72 | 20 6d 65 73 73 61 67 65 |og error| message|
|00003900| 73 20 74 6f 20 73 74 61 | 6e 64 61 72 64 20 6f 75 |s to sta|ndard ou|
|00003910| 74 70 75 74 2e 0a 58 2e | 50 50 0a 58 45 61 63 68 |tput..X.|PP.XEach|
|00003920| 20 73 70 6f 6f 6c 20 71 | 75 65 75 65 20 68 61 73 | spool q|ueue has|
|00003930| 20 61 6e 20 61 73 73 6f | 63 69 61 74 65 64 20 6c | an asso|ciated l|
|00003940| 6f 67 20 66 69 6c 65 20 | 61 73 20 77 65 6c 6c 2c |og file |as well,|
|00003950| 0a 61 73 20 64 6f 65 73 | 20 65 61 63 68 20 73 65 |.as does| each se|
|00003960| 72 76 65 72 20 66 6f 72 | 20 61 20 73 70 6f 6f 6c |rver for| a spool|
|00003970| 20 71 75 65 75 65 2e 0a | 4d 6f 73 74 20 6f 66 20 | queue..|Most of |
|00003980| 74 68 65 20 50 4c 50 20 | 73 6f 66 74 77 61 72 65 |the PLP |software|
|00003990| 20 77 69 6c 6c 20 61 6c | 73 6f 20 75 73 65 0a 58 | will al|so use.X|
|000039a0| 2e 49 52 20 73 79 73 6c | 6f 67 20 28 38 29 0a 66 |.IR sysl|og (8).f|
|000039b0| 6f 72 20 69 6d 70 6f 72 | 74 61 6e 74 20 6d 65 73 |or impor|tant mes|
|000039c0| 73 61 67 65 73 2c 0a 6f | 72 20 6c 6f 67 20 74 68 |sages,.o|r log th|
|000039d0| 65 6d 20 74 6f 0a 58 2e | 4c 20 2f 64 65 76 2f 63 |em to.X.|L /dev/c|
|000039e0| 6f 6e 73 6f 6c 65 0a 69 | 66 20 73 79 73 6c 6f 67 |onsole.i|f syslog|
|000039f0| 20 69 73 20 6e 6f 74 20 | 61 76 61 69 6c 61 62 6c | is not |availabl|
|00003a00| 65 2e 0a 58 2e 4e 48 20 | 32 0a 4c 50 52 0a 58 2e |e..X.NH |2.LPR.X.|
|00003a10| 53 48 0a 6c 70 72 3a 20 | 5c 66 49 70 72 69 6e 74 |SH.lpr: |\fIprint|
|00003a20| 65 72 5c 66 50 5c 7c 3a | 20 75 6e 6b 6e 6f 77 6e |er\fP\|:| unknown|
|00003a30| 20 70 72 69 6e 74 65 72 | 0a 58 2e 49 50 0a 54 68 | printer|.X.IP.Th|
|00003a40| 65 0a 58 2e 49 20 70 72 | 69 6e 74 65 72 0a 77 61 |e.X.I pr|inter.wa|
|00003a50| 73 20 6e 6f 74 20 66 6f | 75 6e 64 20 69 6e 20 74 |s not fo|und in t|
|00003a60| 68 65 0a 58 2e 49 20 70 | 72 69 6e 74 63 61 70 0a |he.X.I p|rintcap.|
|00003a70| 64 61 74 61 62 61 73 65 | 2e 0a 55 73 75 61 6c 6c |database|..Usuall|
|00003a80| 79 20 74 68 69 73 20 69 | 73 20 61 20 74 79 70 69 |y this i|s a typi|
|00003a90| 6e 67 20 6d 69 73 74 61 | 6b 65 3b 0a 68 6f 77 65 |ng mista|ke;.howe|
|00003aa0| 76 65 72 2c 0a 69 74 20 | 6d 61 79 20 69 6e 64 69 |ver,.it |may indi|
|00003ab0| 63 61 74 65 20 61 20 6d | 69 73 73 69 6e 67 20 6f |cate a m|issing o|
|00003ac0| 72 20 69 6e 63 6f 72 72 | 65 63 74 20 65 6e 74 72 |r incorr|ect entr|
|00003ad0| 79 20 69 6e 20 74 68 65 | 20 70 72 69 6e 74 63 61 |y in the| printca|
|00003ae0| 70 20 66 69 6c 65 2e 0a | 58 2e 53 48 0a 6c 70 72 |p file..|X.SH.lpr|
|00003af0| 3a 20 5c 66 49 70 72 69 | 6e 74 65 72 5c 66 50 5c |: \fIpri|nter\fP\|
|00003b00| 7c 3a 20 6a 6f 62 73 20 | 71 75 65 75 65 64 2c 20 ||: jobs |queued, |
|00003b10| 62 75 74 20 63 61 6e 6e | 6f 74 20 73 74 61 72 74 |but cann|ot start|
|00003b20| 20 73 65 72 76 65 72 2e | 0a 58 2e 49 50 0a 54 68 | server.|.X.IP.Th|
|00003b30| 65 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 20 74 6f 20 |e connec|tion to |
|00003b40| 0a 58 2e 49 20 6c 70 64 | 0a 6f 6e 20 74 68 65 20 |.X.I lpd|.on the |
|00003b50| 6c 6f 63 61 6c 20 6d 61 | 63 68 69 6e 65 20 66 61 |local ma|chine fa|
|00003b60| 69 6c 65 64 2e 20 0a 54 | 68 69 73 20 75 73 75 61 |iled. .T|his usua|
|00003b70| 6c 6c 79 20 6d 65 61 6e | 73 20 74 68 65 20 6c 70 |lly mean|s the lp|
|00003b80| 64 20 70 72 6f 63 65 73 | 73 20 73 74 61 72 74 65 |d proces|s starte|
|00003b90| 64 20 61 74 0a 62 6f 6f | 74 20 74 69 6d 65 20 68 |d at.boo|t time h|
|00003ba0| 61 73 20 64 69 65 64 20 | 6f 72 20 69 73 20 68 75 |as died |or is hu|
|00003bb0| 6e 67 2e 0a 55 73 65 20 | 74 68 65 0a 58 2e 4c 20 |ng..Use |the.X.L |
|00003bc0| 22 6c 70 63 20 6c 70 64 | 22 0a 63 6f 6d 6d 61 6e |"lpc lpd|".comman|
|00003bd0| 64 20 74 6f 20 63 68 65 | 63 6b 20 74 68 61 74 20 |d to che|ck that |
|00003be0| 74 68 65 0a 58 2e 49 20 | 6c 70 64 0a 70 72 6f 63 |the.X.I |lpd.proc|
|00003bf0| 65 73 73 20 69 73 20 72 | 75 6e 6e 69 6e 67 2e 0a |ess is r|unning..|
|00003c00| 49 66 20 69 74 20 61 70 | 70 65 61 72 73 20 74 6f |If it ap|pears to|
|00003c10| 20 62 65 20 61 62 73 65 | 6e 74 20 6f 72 20 6e 6f | be abse|nt or no|
|00003c20| 74 20 72 65 73 70 6f 6e | 64 69 6e 67 2c 0a 79 6f |t respon|ding,.yo|
|00003c30| 75 20 72 65 73 74 61 72 | 74 20 74 68 65 20 6c 70 |u restar|t the lp|
|00003c40| 64 20 70 72 6f 63 65 73 | 73 20 75 73 69 6e 67 20 |d proces|s using |
|00003c50| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 63 6f |the foll|owing co|
|00003c60| 6d 6d 61 6e 64 73 2e 0a | 58 2e 44 53 0a 58 2e 4c |mmands..|X.DS.X.L|
|00003c70| 0a 58 2e 53 4d 0a 58 25 | 20 2f 75 73 72 2f 6c 69 |.X.SM.X%| /usr/li|
|00003c80| 62 2f 6c 70 64 0a 58 2e | 44 45 0a 58 2e 4e 48 20 |b/lpd.X.|DE.X.NH |
|00003c90| 32 0a 4c 50 51 0a 58 2e | 53 48 0a 77 61 69 74 69 |2.LPQ.X.|SH.waiti|
|00003ca0| 6e 67 20 66 6f 72 20 5c | 66 49 70 72 69 6e 74 65 |ng for \|fIprinte|
|00003cb0| 72 5c 66 50 20 74 6f 20 | 62 65 63 6f 6d 65 20 72 |r\fP to |become r|
|00003cc0| 65 61 64 79 20 28 74 72 | 79 69 6e 67 20 73 69 6e |eady (tr|ying sin|
|00003cd0| 63 65 20 3f 3f 3f 3f 29 | 0a 58 2e 49 50 0a 54 68 |ce ????)|.X.IP.Th|
|00003ce0| 65 20 70 72 69 6e 74 65 | 72 20 64 65 76 69 63 65 |e printe|r device|
|00003cf0| 20 63 6f 75 6c 64 20 6e | 6f 74 20 62 65 20 6f 70 | could n|ot be op|
|00003d00| 65 6e 65 64 20 62 79 20 | 74 68 65 20 73 65 72 76 |ened by |the serv|
|00003d10| 65 72 2e 20 0a 54 68 69 | 73 20 63 61 6e 20 68 61 |er. .Thi|s can ha|
|00003d20| 70 70 65 6e 20 66 6f 72 | 20 61 20 6e 75 6d 62 65 |ppen for| a numbe|
|00003d30| 72 20 6f 66 20 72 65 61 | 73 6f 6e 73 2c 0a 74 68 |r of rea|sons,.th|
|00003d40| 65 20 6d 6f 73 74 20 63 | 6f 6d 6d 6f 6e 20 62 65 |e most c|ommon be|
|00003d50| 69 6e 67 20 74 68 61 74 | 20 74 68 65 20 70 72 69 |ing that| the pri|
|00003d60| 6e 74 65 72 20 69 73 20 | 74 75 72 6e 65 64 20 6f |nter is |turned o|
|00003d70| 66 66 2d 6c 69 6e 65 2e | 0a 54 68 69 73 20 6d 65 |ff-line.|.This me|
|00003d80| 73 73 61 67 65 20 63 61 | 6e 20 61 6c 73 6f 20 62 |ssage ca|n also b|
|00003d90| 65 20 67 65 6e 65 72 61 | 74 65 64 20 69 66 20 74 |e genera|ted if t|
|00003da0| 68 65 20 70 72 69 6e 74 | 65 72 20 69 73 20 6f 75 |he print|er is ou|
|00003db0| 74 0a 6f 66 20 70 61 70 | 65 72 2c 20 74 68 65 20 |t.of pap|er, the |
|00003dc0| 70 61 70 65 72 20 69 73 | 20 6a 61 6d 6d 65 64 2c |paper is| jammed,|
|00003dd0| 20 65 74 63 2e 0a 54 68 | 65 20 61 63 74 75 61 6c | etc..Th|e actual|
|00003de0| 20 72 65 61 73 6f 6e 20 | 69 73 20 64 65 70 65 6e | reason |is depen|
|00003df0| 64 65 6e 74 20 6f 6e 20 | 74 68 65 20 6d 65 61 6e |dent on |the mean|
|00003e00| 69 6e 67 0a 6f 66 20 65 | 72 72 6f 72 20 63 6f 64 |ing.of e|rror cod|
|00003e10| 65 73 20 72 65 74 75 72 | 6e 65 64 20 62 79 20 73 |es retur|ned by s|
|00003e20| 79 73 74 65 6d 20 64 65 | 76 69 63 65 20 64 72 69 |ystem de|vice dri|
|00003e30| 76 65 72 2e 20 0a 4e 6f | 74 20 61 6c 6c 20 70 72 |ver. .No|t all pr|
|00003e40| 69 6e 74 65 72 73 20 73 | 75 70 70 6c 79 20 73 75 |inters s|upply su|
|00003e50| 66 66 69 63 69 65 6e 74 | 20 69 6e 66 6f 72 6d 61 |fficient| informa|
|00003e60| 74 69 6f 6e 20 0a 74 6f | 20 64 69 73 74 69 6e 67 |tion .to| disting|
|00003e70| 75 69 73 68 20 77 68 65 | 6e 20 61 20 70 72 69 6e |uish whe|n a prin|
|00003e80| 74 65 72 20 69 73 20 6f | 66 66 2d 6c 69 6e 65 20 |ter is o|ff-line |
|00003e90| 6f 72 20 68 61 76 69 6e | 67 0a 74 72 6f 75 62 6c |or havin|g.troubl|
|00003ea0| 65 20 28 65 2e 67 2e 20 | 61 20 70 72 69 6e 74 65 |e (e.g. |a printe|
|00003eb0| 72 20 63 6f 6e 6e 65 63 | 74 65 64 20 74 68 72 6f |r connec|ted thro|
|00003ec0| 75 67 68 20 61 20 73 65 | 72 69 61 6c 20 6c 69 6e |ugh a se|rial lin|
|00003ed0| 65 29 2e 20 0a 41 6e 6f | 74 68 65 72 20 70 6f 73 |e). .Ano|ther pos|
|00003ee0| 73 69 62 6c 65 20 63 61 | 75 73 65 20 6f 66 20 74 |sible ca|use of t|
|00003ef0| 68 69 73 20 6d 65 73 73 | 61 67 65 20 69 73 0a 73 |his mess|age is.s|
|00003f00| 6f 6d 65 20 6f 74 68 65 | 72 20 70 72 6f 63 65 73 |ome othe|r proces|
|00003f10| 73 2c 20 73 75 63 68 20 | 61 73 20 61 6e 20 6f 75 |s, such |as an ou|
|00003f20| 74 70 75 74 20 66 69 6c | 74 65 72 2c 0a 68 61 73 |tput fil|ter,.has|
|00003f30| 20 61 6e 20 65 78 63 6c | 75 73 69 76 65 20 6f 70 | an excl|usive op|
|00003f40| 65 6e 20 6f 6e 20 74 68 | 65 20 64 65 76 69 63 65 |en on th|e device|
|00003f50| 2e 20 20 59 6f 75 72 20 | 6f 6e 6c 79 20 72 65 63 |. Your |only rec|
|00003f60| 6f 75 72 73 65 0a 68 65 | 72 65 20 69 73 20 74 6f |ourse.he|re is to|
|00003f70| 20 6b 69 6c 6c 20 6f 66 | 66 20 74 68 65 20 6f 66 | kill of|f the of|
|00003f80| 66 65 6e 64 69 6e 67 20 | 70 72 6f 67 72 61 6d 28 |fending |program(|
|00003f90| 73 29 20 61 6e 64 0a 72 | 65 73 74 61 72 74 20 74 |s) and.r|estart t|
|00003fa0| 68 65 20 70 72 69 6e 74 | 65 72 20 77 69 74 68 0a |he print|er with.|
|00003fb0| 58 2e 49 52 20 6c 70 63 | 20 2e 0a 58 2e 53 48 0a |X.IR lpc| ..X.SH.|
|00003fc0| 63 6f 6e 6e 65 63 74 69 | 6e 67 20 74 6f 20 3c 68 |connecti|ng to <h|
|00003fd0| 6f 73 74 3e 20 28 74 72 | 79 69 6e 67 20 73 69 6e |ost> (tr|ying sin|
|00003fe0| 63 65 20 3f 3f 3f 3f 29 | 0a 58 2e 49 50 0a 54 68 |ce ????)|.X.IP.Th|
|00003ff0| 65 20 73 65 72 76 65 72 | 20 69 73 20 74 72 79 69 |e server| is tryi|
|00004000| 6e 67 20 74 6f 20 63 6f | 6e 6e 65 63 74 20 74 6f |ng to co|nnect to|
|00004010| 20 74 68 65 20 72 65 6d | 6f 74 65 20 73 69 74 65 | the rem|ote site|
|00004020| 20 61 6e 64 20 6e 6f 74 | 68 69 6e 67 20 68 61 73 | and not|hing has|
|00004030| 20 68 61 70 70 65 6e 65 | 64 2e 0a 58 46 69 72 73 | happene|d..XFirs|
|00004040| 74 20 69 6e 64 69 63 61 | 74 69 6f 6e 20 74 68 61 |t indica|tion tha|
|00004050| 74 20 74 68 65 20 6e 65 | 74 77 6f 72 6b 20 69 73 |t the ne|twork is|
|00004060| 20 64 65 61 64 2c 0a 6f | 72 20 74 68 65 20 68 6f | dead,.o|r the ho|
|00004070| 73 74 20 79 6f 75 20 61 | 72 65 20 74 72 79 69 6e |st you a|re tryin|
|00004080| 67 20 74 6f 20 72 65 61 | 63 68 20 69 73 20 64 6f |g to rea|ch is do|
|00004090| 77 6e 2e 0a 49 66 20 74 | 68 65 20 72 65 6d 6f 74 |wn..If t|he remot|
|000040a0| 65 20 68 6f 73 74 20 69 | 73 20 75 70 2c 0a 58 2e |e host i|s up,.X.|
|000040b0| 49 20 6c 70 64 0a 6f 6e | 20 74 68 65 20 72 65 6d |I lpd.on| the rem|
|000040c0| 6f 74 65 20 6d 61 63 68 | 69 6e 65 20 69 73 20 70 |ote mach|ine is p|
|000040d0| 72 6f 62 61 62 6c 79 20 | 64 65 61 64 20 6f 72 0a |robably |dead or.|
|000040e0| 68 75 6e 67 20 61 6e 64 | 20 73 68 6f 75 6c 64 20 |hung and| should |
|000040f0| 62 65 20 72 65 73 74 61 | 72 74 65 64 2e 0a 58 2e |be resta|rted..X.|
|00004100| 53 48 0a 77 61 72 6e 69 | 6e 67 3a 20 6e 6f 20 73 |SH.warni|ng: no s|
|00004110| 65 72 76 65 72 20 70 72 | 65 73 65 6e 74 0a 58 2e |erver pr|esent.X.|
|00004120| 49 50 0a 54 68 65 72 65 | 20 61 72 65 20 65 6e 74 |IP.There| are ent|
|00004130| 72 69 65 73 20 69 6e 20 | 74 68 65 20 73 70 6f 6f |ries in |the spoo|
|00004140| 6c 20 71 75 65 75 65 2c | 0a 62 75 74 20 6e 6f 20 |l queue,|.but no |
|00004150| 73 65 72 76 65 72 20 65 | 78 69 73 74 73 2e 0a 54 |server e|xists..T|
|00004160| 68 69 73 20 6e 6f 72 6d | 61 6c 6c 79 20 6f 63 63 |his norm|ally occ|
|00004170| 75 72 73 20 6f 6e 6c 79 | 20 77 68 65 6e 20 74 68 |urs only| when th|
|00004180| 65 20 73 65 72 76 65 72 | 20 68 61 73 20 75 6e 65 |e server| has une|
|00004190| 78 70 65 63 74 65 64 6c | 79 20 64 69 65 64 2e 0a |xpectedl|y died..|
|000041a0| 54 68 65 20 65 72 72 6f | 72 20 6c 6f 67 20 66 69 |The erro|r log fi|
|000041b0| 6c 65 20 66 6f 72 20 74 | 68 65 20 73 70 6f 6f 6c |le for t|he spool|
|000041c0| 20 71 75 65 75 65 20 73 | 68 6f 75 6c 64 20 62 65 | queue s|hould be|
|000041d0| 20 63 68 65 63 6b 65 64 | 20 66 6f 72 20 61 0a 64 | checked| for a.d|
|000041e0| 69 61 67 6e 6f 73 74 69 | 63 20 66 72 6f 6d 20 74 |iagnosti|c from t|
|000041f0| 68 65 20 64 65 63 65 61 | 73 65 64 20 70 72 6f 63 |he decea|sed proc|
|00004200| 65 73 73 2e 0a 55 73 65 | 20 74 68 65 20 6c 70 63 |ess..Use| the lpc|
|00004210| 20 72 65 73 74 61 72 74 | 20 63 6f 6d 6d 61 6e 64 | restart| command|
|00004220| 20 74 6f 20 73 74 61 72 | 74 20 61 20 73 65 72 76 | to star|t a serv|
|00004230| 65 72 2e 0a 45 4e 44 5f | 4f 46 5f 46 49 4c 45 0a |er..END_|OF_FILE.|
|00004240| 69 66 20 74 65 73 74 20 | 33 32 34 38 20 2d 6e 65 |if test |3248 -ne|
|00004250| 20 60 77 63 20 2d 63 20 | 3c 27 64 6f 63 2f 50 4c | `wc -c |<'doc/PL|
|00004260| 50 2f 31 30 2e 74 27 60 | 3b 20 74 68 65 6e 0a 20 |P/10.t'`|; then. |
|00004270| 20 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 5c 22 | echo |shar: \"|
|00004280| 27 64 6f 63 2f 50 4c 50 | 2f 31 30 2e 74 27 5c 22 |'doc/PLP|/10.t'\"|
|00004290| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|000042a0| 72 6f 6e 67 20 73 69 7a | 65 21 0a 66 69 0a 23 20 |rong siz|e!.fi.# |
|000042b0| 65 6e 64 20 6f 66 20 27 | 64 6f 63 2f 50 4c 50 2f |end of '|doc/PLP/|
|000042c0| 31 30 2e 74 27 0a 66 69 | 0a 69 66 20 74 65 73 74 |10.t'.fi|.if test|
|000042d0| 20 2d 66 20 27 64 6f 63 | 2f 50 4c 50 2f 31 32 2e | -f 'doc|/PLP/12.|
|000042e0| 74 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |t' -a "$|{1}" != |
|000042f0| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00004300| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00004310| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00004320| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 64 6f 63 2f |ing file| \"'doc/|
|00004330| 50 4c 50 2f 31 32 2e 74 | 27 5c 22 0a 65 6c 73 65 |PLP/12.t|'\".else|
|00004340| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 |.echo sh|ar: Extr|
|00004350| 61 63 74 69 6e 67 20 5c | 22 27 64 6f 63 2f 50 4c |acting \|"'doc/PL|
|00004360| 50 2f 31 32 2e 74 27 5c | 22 20 5c 28 32 31 31 39 |P/12.t'\|" \(2119|
|00004370| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|00004380| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 64 6f 63 |d "s/^X/|/" >'doc|
|00004390| 2f 50 4c 50 2f 31 32 2e | 74 27 20 3c 3c 27 45 4e |/PLP/12.|t' <<'EN|
|000043a0| 44 5f 4f 46 5f 46 49 4c | 45 27 0a 58 2e 69 67 0a |D_OF_FIL|E'.X.ig.|
|000043b0| 58 24 48 65 61 64 65 72 | 3a 20 31 32 2e 74 2c 76 |X$Header|: 12.t,v|
|000043c0| 20 31 2e 31 20 38 38 2f | 30 35 2f 32 31 20 31 38 | 1.1 88/|05/21 18|
|000043d0| 3a 33 39 3a 35 34 20 70 | 61 70 6f 77 65 6c 6c 20 |:39:54 p|apowell |
|000043e0| 4c 6f 63 6b 65 64 20 24 | 0a 58 24 6c 6f 67 24 0a |Locked $|.X$log$.|
|000043f0| 58 2e 2e 0a 58 2e 62 70 | 0a 58 2e 4e 48 20 31 0a |X...X.bp|.X.NH 1.|
|00004400| 43 68 61 6e 67 65 73 20 | 61 6e 64 20 4d 6f 64 69 |Changes |and Modi|
|00004410| 66 69 63 61 74 69 6f 6e | 73 0a 58 2e 50 50 0a 54 |fication|s.X.PP.T|
|00004420| 68 69 73 20 69 73 20 61 | 20 73 75 6d 6d 61 72 79 |his is a| summary|
|00004430| 20 6f 66 20 74 68 65 20 | 6d 61 6a 6f 72 20 64 69 | of the |major di|
|00004440| 66 66 65 72 65 6e 63 65 | 73 20 62 65 74 77 65 65 |fference|s betwee|
|00004450| 6e 0a 74 68 65 20 6e 65 | 77 20 4c 69 6e 65 20 50 |n.the ne|w Line P|
|00004460| 72 69 6e 74 65 72 20 53 | 70 6f 6f 6c 65 72 20 61 |rinter S|pooler a|
|00004470| 6e 64 20 6f 6c 64 65 72 | 20 42 65 72 6b 65 6c 65 |nd older| Berkele|
|00004480| 79 20 65 64 69 74 69 6f | 6e 73 2e 0a 58 2e 4e 48 |y editio|ns..X.NH|
|00004490| 20 32 0a 41 63 63 65 73 | 73 20 50 65 72 6d 69 73 | 2.Acces|s Permis|
|000044a0| 73 69 6f 6e 73 0a 58 2e | 50 50 0a 41 6c 6c 20 61 |sions.X.|PP.All a|
|000044b0| 63 63 65 73 73 20 69 73 | 20 64 6f 6e 65 20 75 73 |ccess is| done us|
|000044c0| 69 6e 67 20 74 68 65 20 | 70 72 69 6e 74 65 72 5f |ing the |printer_|
|000044d0| 70 65 72 6d 73 20 66 69 | 6c 65 2e 0a 54 68 69 73 |perms fi|le..This|
|000044e0| 20 63 68 65 63 6b 73 20 | 66 6f 72 20 62 6f 74 68 | checks |for both|
|000044f0| 20 72 65 6d 6f 74 65 20 | 68 6f 73 74 73 20 61 6e | remote |hosts an|
|00004500| 64 20 75 73 65 72 73 20 | 6f 6e 20 72 65 6d 6f 74 |d users |on remot|
|00004510| 65 20 68 6f 73 74 73 2e | 0a 41 63 63 65 73 73 20 |e hosts.|.Access |
|00004520| 70 65 72 6d 69 73 73 69 | 6f 6e 73 20 61 72 65 20 |permissi|ons are |
|00004530| 64 69 76 69 64 65 64 20 | 69 6e 20 43 6f 6e 74 72 |divided |in Contr|
|00004540| 6f 6c 20 61 6e 64 20 50 | 72 69 6e 74 69 6e 67 2e |ol and P|rinting.|
|00004550| 0a 52 65 6d 6f 74 65 20 | 75 73 65 72 73 20 77 69 |.Remote |users wi|
|00004560| 74 68 20 63 6f 6e 74 72 | 6f 6c 20 70 65 72 6d 69 |th contr|ol permi|
|00004570| 73 73 69 6f 6e 73 20 6f | 6e 20 61 20 71 75 65 75 |ssions o|n a queu|
|00004580| 65 20 63 61 6e 20 64 6f | 20 6a 75 73 74 20 61 62 |e can do| just ab|
|00004590| 6f 75 74 0a 61 6e 79 74 | 68 69 6e 67 20 74 6f 20 |out.anyt|hing to |
|000045a0| 74 68 65 20 71 75 65 75 | 65 2e 0a 58 45 6c 69 6d |the queu|e..XElim|
|000045b0| 69 6e 61 74 65 73 20 74 | 68 65 20 6e 65 65 64 20 |inates t|he need |
|000045c0| 66 6f 72 20 52 4f 4f 54 | 20 74 6f 20 64 6f 20 61 |for ROOT| to do a|
|000045d0| 6c 6c 20 74 68 65 20 71 | 75 65 75 65 20 6d 61 6e |ll the q|ueue man|
|000045e0| 61 67 65 6d 65 6e 74 2e | 0a 58 2e 4e 48 20 32 0a |agement.|.X.NH 2.|
|000045f0| 50 72 69 6e 74 63 61 70 | 20 45 78 74 65 6e 73 69 |Printcap| Extensi|
|00004600| 6f 6e 73 0a 58 2e 50 50 | 0a 54 68 65 0a 58 2e 42 |ons.X.PP|.The.X.B|
|00004610| 20 66 78 0a 58 28 66 6f | 72 6d 61 74 20 63 68 65 | fx.X(fo|rmat che|
|00004620| 63 6b 29 0a 73 74 72 69 | 6e 67 20 61 6c 6c 6f 77 |ck).stri|ng allow|
|00004630| 73 20 61 20 73 69 74 65 | 20 74 6f 20 64 6f 20 63 |s a site| to do c|
|00004640| 68 65 63 6b 69 6e 67 20 | 74 6f 20 73 65 65 20 69 |hecking |to see i|
|00004650| 66 20 66 6f 72 6d 61 74 | 73 0a 61 72 65 20 61 6c |f format|s.are al|
|00004660| 6c 6f 77 65 64 20 6f 6e | 20 61 20 70 72 69 6e 74 |lowed on| a print|
|00004670| 65 72 2e 20 54 68 69 73 | 20 63 61 6e 20 62 65 20 |er. This| can be |
|00004680| 73 70 65 63 69 61 6c 6c | 79 20 75 73 65 66 75 6c |speciall|y useful|
|00004690| 20 66 6f 72 20 72 65 6d | 6f 74 65 20 70 72 69 6e | for rem|ote prin|
|000046a0| 74 65 72 73 0a 62 79 20 | 72 65 73 74 72 69 63 74 |ters.by |restrict|
|000046b0| 69 6e 67 20 63 65 72 74 | 61 69 6e 20 63 65 72 74 |ing cert|ain cert|
|000046c0| 61 69 6e 20 66 6f 72 6d | 61 74 73 2e 0a 58 2e 4e |ain form|ats..X.N|
|000046d0| 48 20 32 0a 50 72 65 66 | 69 6c 74 65 72 73 0a 58 |H 2.Pref|ilters.X|
|000046e0| 2e 50 50 0a 54 68 69 73 | 20 61 6c 6c 6f 77 73 20 |.PP.This| allows |
|000046f0| 61 20 6c 6f 63 61 6c 20 | 73 69 74 65 20 74 6f 20 |a local |site to |
|00004700| 70 72 65 70 72 6f 63 65 | 73 73 20 61 6c 6c 20 74 |preproce|ss all t|
|00004710| 68 65 20 66 69 6c 65 73 | 20 61 74 20 74 68 65 20 |he files| at the |
|00004720| 6c 6f 63 61 6c 20 73 69 | 74 65 2c 0a 61 6e 64 20 |local si|te,.and |
|00004730| 70 72 6f 64 75 63 65 20 | 61 20 73 69 6e 67 6c 65 |produce |a single|
|00004740| 20 73 70 6f 6f 6c 20 66 | 69 6c 65 20 66 6f 72 20 | spool f|ile for |
|00004750| 6c 61 74 65 72 20 75 73 | 65 2e 0a 54 68 69 73 20 |later us|e..This |
|00004760| 69 73 20 68 61 6e 64 79 | 20 77 68 65 6e 20 75 73 |is handy| when us|
|00004770| 69 6e 67 20 61 20 72 65 | 6d 6f 74 65 20 70 72 69 |ing a re|mote pri|
|00004780| 6e 74 65 72 2e 0a 41 73 | 20 61 20 73 70 65 63 69 |nter..As| a speci|
|00004790| 61 6c 20 63 61 73 65 2c | 0a 74 68 65 20 5c 2d 70 |al case,|.the \-p|
|000047a0| 20 6f 70 74 69 6f 6e 20 | 6f 66 20 4c 50 52 20 69 | option |of LPR i|
|000047b0| 73 20 70 72 6f 63 65 73 | 73 65 64 20 61 74 20 74 |s proces|sed at t|
|000047c0| 68 65 20 6c 6f 63 61 6c | 20 73 69 74 65 2e 0a 58 |he local| site..X|
|000047d0| 2e 4e 48 20 32 0a 58 46 | 69 6c 74 65 72 20 50 61 |.NH 2.XF|ilter Pa|
|000047e0| 72 61 6d 65 74 65 72 73 | 0a 58 2e 50 50 0a 54 68 |rameters|.X.PP.Th|
|000047f0| 65 20 66 69 6c 74 65 72 | 20 70 61 72 61 6d 65 74 |e filter| paramet|
|00004800| 65 72 73 20 68 61 76 65 | 20 62 65 65 6e 20 72 61 |ers have| been ra|
|00004810| 74 69 6f 6e 61 6c 69 7a | 65 64 20 69 6e 74 6f 20 |tionaliz|ed into |
|00004820| 61 20 73 69 6e 67 6c 65 | 20 73 65 74 2e 0a 41 6c |a single| set..Al|
|00004830| 6c 20 6f 70 74 69 6f 6e | 73 20 6e 6f 77 20 68 61 |l option|s now ha|
|00004840| 76 65 20 74 68 65 20 66 | 6f 72 6d 0a 58 2e 49 52 |ve the f|orm.X.IR|
|00004850| 20 2d 46 76 61 6c 75 65 | 20 2c 0a 6d 61 6b 69 6e | -Fvalue| ,.makin|
|00004860| 67 20 6c 69 66 65 20 61 | 20 6c 69 74 74 6c 65 20 |g life a| little |
|00004870| 65 61 73 69 65 72 20 66 | 6f 72 20 74 68 65 20 66 |easier f|or the f|
|00004880| 69 6c 74 65 72 20 77 72 | 69 74 65 72 2e 0a 41 6c |ilter wr|iter..Al|
|00004890| 73 6f 2c 20 61 64 64 69 | 74 69 6f 6e 61 6c 20 70 |so, addi|tional p|
|000048a0| 61 72 61 6d 74 65 72 73 | 0a 58 2e 4c 20 22 5c 2d |aramters|.X.L "\-|
|000048b0| 4a 6a 6f 62 6e 61 6d 65 | 22 20 2c 0a 58 2e 4c 20 |Jjobname|" ,.X.L |
|000048c0| 22 5c 2d 43 63 6c 61 73 | 73 22 20 2c 0a 58 2e 4c |"\-Cclas|s" ,.X.L|
|000048d0| 20 22 5c 2d 46 66 6f 72 | 6d 61 74 22 20 2c 0a 58 | "\-Ffor|mat" ,.X|
|000048e0| 2e 4c 20 22 5c 2d 5a 7a | 6f 70 74 73 22 20 2c 0a |.L "\-Zz|opts" ,.|
|000048f0| 65 74 63 2c 0a 61 72 65 | 20 70 61 73 73 65 64 20 |etc,.are| passed |
|00004900| 74 6f 20 66 69 6c 74 65 | 72 73 2e 0a 58 2e 4e 48 |to filte|rs..X.NH|
|00004910| 20 32 0a 4c 50 51 20 49 | 6e 66 6f 72 6d 61 74 69 | 2.LPQ I|nformati|
|00004920| 6f 6e 0a 58 2e 50 50 0a | 47 72 65 61 74 6c 79 20 |on.X.PP.|Greatly |
|00004930| 65 6e 68 61 6e 63 65 64 | 20 69 6e 66 6f 72 6d 61 |enhanced| informa|
|00004940| 74 69 6f 6e 2e 0a 54 68 | 65 20 74 69 6d 65 20 61 |tion..Th|e time a|
|00004950| 20 6a 6f 62 20 68 61 73 | 20 73 74 61 72 74 65 64 | job has| started|
|00004960| 20 68 61 73 20 62 65 65 | 6e 20 61 64 64 65 64 20 | has bee|n added |
|00004970| 74 6f 20 74 68 65 20 73 | 74 61 74 75 73 20 69 6e |to the s|tatus in|
|00004980| 66 6f 72 6d 61 74 69 6f | 6e 2e 0a 54 68 69 73 20 |formatio|n..This |
|00004990| 69 73 20 72 61 74 68 65 | 72 20 75 73 65 66 75 6c |is rathe|r useful|
|000049a0| 20 74 6f 20 6b 6e 6f 77 | 2e 0a 58 2e 4e 48 20 32 | to know|..X.NH 2|
|000049b0| 0a 58 46 69 6c 74 65 72 | 20 54 69 6d 65 6f 75 74 |.XFilter| Timeout|
|000049c0| 73 0a 58 2e 50 50 0a 41 | 20 74 69 6d 65 6f 75 74 |s.X.PP.A| timeout|
|000049d0| 20 66 61 63 69 6c 69 74 | 79 20 68 61 73 20 62 65 | facilit|y has be|
|000049e0| 65 6e 20 61 64 64 65 64 | 20 74 6f 20 73 6f 6d 65 |en added| to some|
|000049f0| 20 66 69 6c 74 65 72 73 | 2e 0a 54 68 69 73 20 68 | filters|..This h|
|00004a00| 65 6c 70 73 20 77 68 65 | 6e 20 61 74 74 65 6d 70 |elps whe|n attemp|
|00004a10| 74 69 6e 67 20 74 6f 20 | 66 69 6e 64 20 6f 75 74 |ting to |find out|
|00004a20| 20 69 66 20 61 20 64 65 | 76 69 63 65 20 68 61 73 | if a de|vice has|
|00004a30| 20 67 6f 6e 65 20 6f 66 | 66 0a 6c 69 6e 65 2c 20 | gone of|f.line, |
|00004a40| 69 73 20 6f 75 74 20 6f | 66 20 70 61 70 65 72 2c |is out o|f paper,|
|00004a50| 20 65 74 63 2e 0a 58 2e | 4e 48 20 32 0a 53 70 65 | etc..X.|NH 2.Spe|
|00004a60| 63 69 61 6c 20 51 75 65 | 75 65 20 48 61 6e 64 6c |cial Que|ue Handl|
|00004a70| 69 6e 67 0a 58 2e 50 50 | 0a 54 68 65 0a 58 2e 42 |ing.X.PP|.The.X.B|
|00004a80| 20 71 68 0a 58 28 71 75 | 65 75 65 20 68 61 6e 64 | qh.X(qu|eue hand|
|00004a90| 6c 65 72 29 0a 65 6e 74 | 72 79 20 69 6e 20 74 68 |ler).ent|ry in th|
|00004aa0| 65 20 70 72 69 6e 74 63 | 61 70 20 6e 6f 77 20 61 |e printc|ap now a|
|00004ab0| 6c 6c 6f 77 73 20 73 70 | 65 63 69 66 69 63 61 74 |llows sp|ecificat|
|00004ac0| 69 6f 6e 20 6f 66 20 61 | 20 68 61 6e 64 6c 65 72 |ion of a| handler|
|00004ad0| 0a 74 6f 20 62 65 20 69 | 6e 76 6f 6b 65 64 20 66 |.to be i|nvoked f|
|00004ae0| 6f 72 20 65 76 65 72 79 | 20 6a 6f 62 20 74 61 6b |or every| job tak|
|00004af0| 65 6e 20 66 72 6f 6d 20 | 74 68 65 20 71 75 65 75 |en from |the queu|
|00004b00| 65 2e 0a 54 68 69 73 20 | 69 73 20 6e 69 63 65 20 |e..This |is nice |
|00004b10| 66 6f 72 20 73 79 73 74 | 65 6d 73 20 77 68 69 63 |for syst|ems whic|
|00004b20| 68 20 77 69 73 68 20 74 | 6f 20 75 73 65 20 74 68 |h wish t|o use th|
|00004b30| 65 20 73 70 6f 6f 6c 65 | 72 0a 66 61 63 69 6c 69 |e spoole|r.facili|
|00004b40| 74 69 65 73 20 66 6f 72 | 20 68 61 6e 64 6c 69 6e |ties for| handlin|
|00004b50| 67 20 6a 6f 62 73 2c 0a | 62 75 74 20 6e 6f 74 20 |g jobs,.|but not |
|00004b60| 66 6f 72 20 64 6f 69 6e | 67 20 74 68 65 20 61 63 |for doin|g the ac|
|00004b70| 74 75 61 6c 20 64 61 74 | 61 20 74 72 61 6e 73 66 |tual dat|a transf|
|00004b80| 65 72 2e 0a 58 2e 4e 48 | 20 32 0a 41 63 63 6f 75 |er..X.NH| 2.Accou|
|00004b90| 6e 74 69 6e 67 0a 58 2e | 50 50 0a 41 63 63 6f 75 |nting.X.|PP.Accou|
|00004ba0| 6e 74 69 6e 67 20 69 6e | 66 6f 72 6d 61 74 69 6f |nting in|formatio|
|00004bb0| 6e 20 77 61 73 20 72 65 | 66 6f 72 6d 61 74 74 65 |n was re|formatte|
|00004bc0| 64 2c 0a 74 6f 20 6d 61 | 6b 65 20 69 74 20 61 20 |d,.to ma|ke it a |
|00004bd0| 6c 69 74 74 6c 65 20 65 | 61 73 69 65 72 20 66 6f |little e|asier fo|
|00004be0| 72 20 6f 74 68 65 72 20 | 70 72 6f 67 72 61 6d 73 |r other |programs|
|00004bf0| 20 6c 69 6b 65 0a 58 2e | 49 20 61 77 6b 0a 61 6e | like.X.|I awk.an|
|00004c00| 64 0a 58 2e 49 20 73 6f | 72 74 0a 74 6f 20 62 65 |d.X.I so|rt.to be|
|00004c10| 20 75 73 65 64 2e 0a 45 | 4e 44 5f 4f 46 5f 46 49 | used..E|ND_OF_FI|
|00004c20| 4c 45 0a 69 66 20 74 65 | 73 74 20 32 31 31 39 20 |LE.if te|st 2119 |
|00004c30| 2d 6e 65 20 60 77 63 20 | 2d 63 20 3c 27 64 6f 63 |-ne `wc |-c <'doc|
|00004c40| 2f 50 4c 50 2f 31 32 2e | 74 27 60 3b 20 74 68 65 |/PLP/12.|t'`; the|
|00004c50| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|00004c60| 20 5c 22 27 64 6f 63 2f | 50 4c 50 2f 31 32 2e 74 | \"'doc/|PLP/12.t|
|00004c70| 27 5c 22 20 75 6e 70 61 | 63 6b 65 64 20 77 69 74 |'\" unpa|cked wit|
|00004c80| 68 20 77 72 6f 6e 67 20 | 73 69 7a 65 21 0a 66 69 |h wrong |size!.fi|
|00004c90| 0a 23 20 65 6e 64 20 6f | 66 20 27 64 6f 63 2f 50 |.# end o|f 'doc/P|
|00004ca0| 4c 50 2f 31 32 2e 74 27 | 0a 66 69 0a 69 66 20 74 |LP/12.t'|.fi.if t|
|00004cb0| 65 73 74 20 2d 66 20 27 | 64 6f 63 2f 50 4c 50 2f |est -f '|doc/PLP/|
|00004cc0| 61 6e 6e 6f 75 6e 63 65 | 27 20 2d 61 20 22 24 7b |announce|' -a "${|
|00004cd0| 31 7d 22 20 21 3d 20 22 | 2d 63 22 20 3b 20 74 68 |1}" != "|-c" ; th|
|00004ce0| 65 6e 20 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |en . ec|ho shar:|
|00004cf0| 20 57 69 6c 6c 20 6e 6f | 74 20 63 6c 6f 62 62 65 | Will no|t clobbe|
|00004d00| 72 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |r existi|ng file |
|00004d10| 5c 22 27 64 6f 63 2f 50 | 4c 50 2f 61 6e 6e 6f 75 |\"'doc/P|LP/annou|
|00004d20| 6e 63 65 27 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |nce'\".e|lse.echo|
|00004d30| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00004d40| 67 20 5c 22 27 64 6f 63 | 2f 50 4c 50 2f 61 6e 6e |g \"'doc|/PLP/ann|
|00004d50| 6f 75 6e 63 65 27 5c 22 | 20 5c 28 32 34 39 30 20 |ounce'\"| \(2490 |
|00004d60| 63 68 61 72 61 63 74 65 | 72 73 5c 29 0a 73 65 64 |characte|rs\).sed|
|00004d70| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 27 64 6f 63 2f | "s/^X//|" >'doc/|
|00004d80| 50 4c 50 2f 61 6e 6e 6f | 75 6e 63 65 27 20 3c 3c |PLP/anno|unce' <<|
|00004d90| 27 45 4e 44 5f 4f 46 5f | 46 49 4c 45 27 0a 58 2e |'END_OF_|FILE'.X.|
|00004da0| 69 67 0a 58 24 48 65 61 | 64 65 72 3a 20 30 30 2e |ig.X$Hea|der: 00.|
|00004db0| 74 2c 76 20 31 2e 31 20 | 38 38 2f 30 35 2f 32 31 |t,v 1.1 |88/05/21|
|00004dc0| 20 31 38 3a 33 39 3a 32 | 39 20 70 61 70 6f 77 65 | 18:39:2|9 papowe|
|00004dd0| 6c 6c 20 4c 6f 63 6b 65 | 64 20 24 0a 58 24 6c 6f |ll Locke|d $.X$lo|
|00004de0| 67 24 0a 58 2e 2e 0a 58 | 2e 52 50 0a 58 2e 45 48 |g$.X...X|.RP.X.EH|
|00004df0| 20 27 50 4c 50 2d 25 27 | 27 50 4c 50 20 4d 61 6e | 'PLP-%'|'PLP Man|
|00004e00| 75 61 6c 27 0a 58 2e 4f | 48 20 27 50 4c 50 20 4d |ual'.X.O|H 'PLP M|
|00004e10| 61 6e 75 61 6c 27 27 50 | 4c 50 2d 25 27 0a 58 2e |anual''P|LP-%'.X.|
|00004e20| 6e 72 20 43 57 20 32 2e | 38 35 69 0a 58 2e 6e 72 |nr CW 2.|85i.X.nr|
|00004e30| 20 47 57 20 2e 33 69 0a | 58 2e 54 4c 0a 50 4c 50 | GW .3i.|X.TL.PLP|
|00004e40| 20 5c 2d 20 54 68 65 20 | 50 75 62 6c 69 63 20 4c | \- The |Public L|
|00004e50| 69 6e 65 20 50 72 69 6e | 74 65 72 20 53 70 6f 6f |ine Prin|ter Spoo|
|00004e60| 6c 65 72 0a 58 2e 62 72 | 0a 41 20 50 6f 72 74 61 |ler.X.br|.A Porta|
|00004e70| 62 6c 65 20 55 4e 49 58 | 20 4c 69 6e 65 20 50 72 |ble UNIX| Line Pr|
|00004e80| 69 6e 74 65 72 20 53 70 | 6f 6f 6c 65 72 0a 58 2e |inter Sp|ooler.X.|
|00004e90| 62 72 0a 52 65 6c 65 61 | 73 65 20 32 2e 30 2c 20 |br.Relea|se 2.0, |
|00004ea0| 31 20 4a 75 6e 65 20 31 | 39 38 38 0a 58 2e 41 55 |1 June 1|988.X.AU|
|00004eb0| 0a 50 72 6f 66 2e 20 50 | 61 74 72 69 63 6b 20 50 |.Prof. P|atrick P|
|00004ec0| 6f 77 65 6c 6c 0a 58 2e | 41 49 0a 44 65 70 74 2e |owell.X.|AI.Dept.|
|00004ed0| 20 6f 66 20 43 6f 6d 70 | 75 74 65 72 20 53 63 69 | of Comp|uter Sci|
|00004ee0| 65 6e 63 65 0a 55 6e 69 | 76 65 72 73 69 74 79 20 |ence.Uni|versity |
|00004ef0| 6f 66 20 4d 69 6e 6e 65 | 73 6f 74 61 2c 20 4d 69 |of Minne|sota, Mi|
|00004f00| 6e 6e 65 61 70 6f 6c 69 | 73 2c 20 4d 69 6e 6e 65 |nneapoli|s, Minne|
|00004f10| 73 6f 74 61 0a 58 2e 50 | 50 0a 58 2e 46 53 0a 58 |sota.X.P|P.X.FS.X|
|00004f20| 2a 20 55 4e 49 58 20 69 | 73 20 61 20 74 72 61 64 |* UNIX i|s a trad|
|00004f30| 65 6d 61 72 6b 20 6f 66 | 20 41 54 54 20 42 65 6c |emark of| ATT Bel|
|00004f40| 6c 20 4c 61 62 6f 72 61 | 74 6f 72 69 65 73 2e 0a |l Labora|tories..|
|00004f50| 58 2e 46 45 0a 58 2e 50 | 50 0a 50 4c 50 20 69 73 |X.FE.X.P|P.PLP is|
|00004f60| 20 61 20 72 65 76 65 72 | 73 65 20 65 6e 67 69 6e | a rever|se engin|
|00004f70| 65 65 72 65 64 20 76 65 | 72 73 69 6f 6e 20 6f 66 |eered ve|rsion of|
|00004f80| 20 74 68 65 20 42 65 72 | 6b 65 6c 65 79 20 4c 50 | the Ber|keley LP|
|00004f90| 44 20 73 6f 66 74 77 61 | 72 65 2e 0a 54 68 65 20 |D softwa|re..The |
|00004fa0| 66 75 6e 63 74 69 6f 6e | 61 6c 20 72 65 73 65 6d |function|al resem|
|00004fb0| 62 6c 61 6e 63 65 20 62 | 65 74 77 65 65 6e 20 50 |blance b|etween P|
|00004fc0| 4c 50 20 61 6e 64 20 74 | 68 65 0a 42 65 72 6b 65 |LP and t|he.Berke|
|00004fd0| 6c 65 79 20 4c 69 6e 65 | 20 50 72 69 6e 74 65 72 |ley Line| Printer|
|00004fe0| 20 53 70 6f 6f 6c 65 72 | 20 28 4c 50 44 29 20 69 | Spooler| (LPD) i|
|00004ff0| 73 20 69 6e 74 65 6e 74 | 69 6f 6e 61 6c 3b 0a 74 |s intent|ional;.t|
|00005000| 68 65 20 73 6f 75 72 63 | 65 20 63 6f 64 65 20 77 |he sourc|e code w|
|00005010| 61 73 20 77 72 69 74 74 | 65 6e 20 77 69 74 68 6f |as writt|en witho|
|00005020| 75 74 20 72 65 66 65 72 | 65 6e 63 65 20 74 6f 20 |ut refer|ence to |
|00005030| 74 68 65 0a 6f 72 69 67 | 69 6e 61 6c 20 42 65 72 |the.orig|inal Ber|
|00005040| 6b 65 6c 65 79 20 4c 50 | 44 20 73 6f 66 74 77 61 |keley LP|D softwa|
|00005050| 72 65 2c 0a 65 78 63 65 | 70 74 20 66 6f 72 20 73 |re,.exce|pt for s|
|00005060| 6f 6d 65 20 76 65 72 79 | 20 73 6d 61 6c 6c 20 73 |ome very| small s|
|00005070| 65 63 74 69 6f 6e 73 20 | 63 6f 6e 63 65 72 6e 65 |ections |concerne|
|00005080| 64 20 77 69 74 68 20 6e | 65 74 77 6f 72 6b 69 6e |d with n|etworkin|
|00005090| 67 20 61 6e 64 20 74 68 | 65 0a 6c 61 72 67 65 20 |g and th|e.large |
|000050a0| 63 68 61 72 61 63 74 65 | 72 73 20 75 73 65 64 20 |characte|rs used |
|000050b0| 66 6f 72 20 62 61 6e 6e | 65 72 20 70 72 69 6e 74 |for bann|er print|
|000050c0| 69 6e 67 2e 0a 54 68 65 | 20 50 4c 50 20 73 6f 66 |ing..The| PLP sof|
|000050d0| 74 77 61 72 65 20 68 61 | 73 20 74 68 65 20 66 6f |tware ha|s the fo|
|000050e0| 6c 6c 6f 77 69 6e 67 20 | 66 65 61 74 75 72 65 73 |llowing |features|
|000050f0| 3a 0a 58 2e 49 50 20 31 | 29 2e 20 35 0a 54 68 65 |:.X.IP 1|). 5.The|
|00005100| 20 50 4c 50 20 73 6f 66 | 74 77 61 72 65 20 69 73 | PLP sof|tware is|
|00005110| 20 69 6e 74 65 6e 64 65 | 64 20 74 6f 20 62 65 20 | intende|d to be |
|00005120| 20 75 73 65 64 20 69 6e | 20 61 20 4e 65 74 77 6f | used in| a Netwo|
|00005130| 72 6b 65 64 20 46 69 6c | 65 20 53 79 73 74 65 6d |rked Fil|e System|
|00005140| 0a 58 28 4e 46 53 29 20 | 65 6e 76 69 72 6f 6e 6d |.X(NFS) |environm|
|00005150| 65 6e 74 2c 0a 69 6e 20 | 77 68 69 63 68 20 74 68 |ent,.in |which th|
|00005160| 65 72 65 20 69 73 20 61 | 20 63 6f 6d 6d 6f 6e 20 |ere is a| common |
|00005170| 73 65 74 20 6f 66 20 73 | 70 6f 6f 6c 20 71 75 65 |set of s|pool que|
|00005180| 75 65 73 2c 0a 61 73 20 | 77 65 6c 6c 20 61 73 20 |ues,.as |well as |
|00005190| 69 6e 20 61 20 6c 6f 6f | 73 65 6c 79 20 63 6f 75 |in a loo|sely cou|
|000051a0| 70 6c 65 64 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |pled env|ironment|
|000051b0| 20 69 6e 20 77 68 69 63 | 68 20 65 61 63 68 20 68 | in whic|h each h|
|000051c0| 6f 73 74 0a 74 72 61 6e | 73 66 65 72 73 20 70 72 |ost.tran|sfers pr|
|000051d0| 69 6e 74 20 6a 6f 62 73 | 20 74 6f 20 61 20 68 6f |int jobs| to a ho|
|000051e0| 73 74 20 77 68 69 63 68 | 20 68 61 73 20 74 68 65 |st which| has the|
|000051f0| 20 70 72 69 6e 74 65 72 | 2e 0a 58 2e 49 50 20 32 | printer|..X.IP 2|
|00005200| 29 2e 20 35 0a 41 63 63 | 65 73 73 20 61 6e 64 20 |). 5.Acc|ess and |
|00005210| 70 65 72 6d 69 73 73 69 | 6f 6e 20 74 6f 20 75 73 |permissi|on to us|
|00005220| 65 0a 50 4c 50 20 66 75 | 6e 63 74 69 6f 6e 73 20 |e.PLP fu|nctions |
|00005230| 69 73 20 63 6f 6e 74 72 | 6f 6c 6c 65 64 20 62 79 |is contr|olled by|
|00005240| 20 65 6e 74 72 69 65 73 | 20 69 6e 20 61 20 70 72 | entries| in a pr|
|00005250| 69 6e 74 65 72 20 70 65 | 72 6d 69 73 73 69 6f 6e |inter pe|rmission|
|00005260| 73 20 66 69 6c 65 0a 58 | 2e 49 20 28 2f 75 73 72 |s file.X|.I (/usr|
|00005270| 2f 73 70 6f 6f 6c 2f 6c | 70 64 2f 70 72 69 6e 74 |/spool/l|pd/print|
|00005280| 65 72 5f 70 65 72 6d 73 | 2e 3c 68 6f 73 74 6e 61 |er_perms|.<hostna|
|00005290| 6d 65 3e 29 0a 77 68 69 | 63 68 20 63 61 6e 20 72 |me>).whi|ch can r|
|000052a0| 65 73 74 72 69 63 74 20 | 75 73 65 20 62 79 20 75 |estrict |use by u|
|000052b0| 73 65 72 20 6e 61 6d 65 | 2c 0a 68 6f 73 74 2c 0a |ser name|,.host,.|
|000052c0| 73 70 6f 6f 6c 65 72 2c | 0a 70 61 67 65 20 75 73 |spooler,|.page us|
|000052d0| 65 61 67 65 2c 0a 61 6e | 64 20 61 20 68 6f 73 74 |eage,.an|d a host|
|000052e0| 20 6f 66 20 6f 74 68 65 | 72 20 66 61 63 74 6f 72 | of othe|r factor|
|000052f0| 73 2e 0a 54 68 65 20 70 | 72 69 6e 74 63 61 70 20 |s..The p|rintcap |
|00005300| 66 69 6c 65 0a 58 2e 49 | 20 28 2f 75 73 72 2f 73 |file.X.I| (/usr/s|
|00005310| 70 6f 6f 6c 2f 6c 70 64 | 2f 70 72 69 6e 74 63 61 |pool/lpd|/printca|
|00005320| 70 2e 3c 68 6f 73 74 6e | 61 6d 65 3e 29 0a 69 73 |p.<hostn|ame>).is|
|00005330| 20 75 73 65 64 20 74 6f | 20 73 70 65 63 69 66 79 | used to| specify|
|00005340| 20 74 68 65 20 70 72 69 | 6e 74 65 72 20 71 75 65 | the pri|nter que|
|00005350| 75 65 73 20 61 6e 64 20 | 74 68 65 69 72 20 6f 70 |ues and |their op|
|00005360| 65 72 61 74 69 6f 6e 2e | 0a 58 2e 49 50 20 33 29 |eration.|.X.IP 3)|
|00005370| 2e 20 35 0a 4a 6f 62 73 | 20 63 61 6e 20 6e 6f 77 |. 5.Jobs| can now|
|00005380| 20 62 65 20 70 72 69 6f | 72 69 74 69 7a 65 64 2e | be prio|ritized.|
|00005390| 0a 54 68 65 20 6d 61 78 | 69 6d 75 6d 20 70 72 69 |.The max|imum pri|
|000053a0| 6f 72 69 74 79 20 61 20 | 75 73 65 72 20 63 61 6e |ority a |user can|
|000053b0| 20 73 70 65 63 69 66 79 | 20 69 73 20 73 65 74 20 | specify| is set |
|000053c0| 69 6e 20 74 68 65 0a 70 | 72 69 6e 74 65 72 20 70 |in the.p|rinter p|
|000053d0| 65 72 6d 69 73 73 69 6f | 6e 73 20 66 69 6c 65 2e |ermissio|ns file.|
|000053e0| 0a 58 2e 49 50 20 34 29 | 2e 20 35 0a 49 6e 20 61 |.X.IP 4)|. 5.In a|
|000053f0| 64 64 69 74 69 6f 6e 20 | 74 6f 20 74 68 65 20 67 |ddition |to the g|
|00005400| 65 6e 65 72 61 6c 20 70 | 72 69 6e 74 65 72 20 70 |eneral p|rinter p|
|00005410| 65 72 6d 69 73 73 69 6f | 6e 73 20 66 69 6c 65 2c |ermissio|ns file,|
|00005420| 0a 65 61 63 68 20 73 70 | 6f 6f 6c 20 71 75 65 75 |.each sp|ool queu|
|00005430| 65 20 63 61 6e 20 68 61 | 76 65 20 69 74 73 20 6f |e can ha|ve its o|
|00005440| 77 6e 20 61 64 64 69 74 | 69 6f 6e 20 70 72 69 6e |wn addit|ion prin|
|00005450| 74 65 72 20 70 65 72 6d | 69 73 73 69 6f 6e 73 20 |ter perm|issions |
|00005460| 66 69 6c 65 2e 0a 58 2e | 49 50 20 35 29 2e 20 35 |file..X.|IP 5). 5|
|00005470| 0a 4c 69 6e 65 20 70 72 | 69 6e 74 65 72 20 63 6f |.Line pr|inter co|
|00005480| 6e 74 72 6f 6c 20 66 75 | 6e 63 74 69 6f 6e 73 20 |ntrol fu|nctions |
|00005490| 63 61 6e 20 62 65 20 65 | 78 65 72 63 69 73 65 64 |can be e|xercised|
|000054a0| 20 66 72 6f 6d 20 61 20 | 72 65 6d 6f 74 65 20 68 | from a |remote h|
|000054b0| 6f 73 74 2e 0a 48 6f 73 | 74 73 20 61 6e 64 20 75 |ost..Hos|ts and u|
|000054c0| 73 65 72 73 20 77 69 74 | 68 20 0a 58 2e 49 20 22 |sers wit|h .X.I "|
|000054d0| 72 65 6d 6f 74 65 20 63 | 6f 6e 74 72 6f 6c 20 70 |remote c|ontrol p|
|000054e0| 65 72 6d 69 73 73 69 6f | 6e 22 0a 61 72 65 20 73 |ermissio|n".are s|
|000054f0| 70 65 63 69 66 69 65 64 | 20 62 79 20 65 6e 74 72 |pecified| by entr|
|00005500| 69 65 73 20 69 6e 20 74 | 68 65 20 70 72 69 6e 74 |ies in t|he print|
|00005510| 65 72 20 70 65 72 6d 69 | 73 73 69 6f 6e 73 20 66 |er permi|ssions f|
|00005520| 69 6c 65 2e 0a 58 2e 49 | 50 20 36 29 2e 20 35 0a |ile..X.I|P 6). 5.|
|00005530| 55 6e 73 70 6f 6f 6c 69 | 6e 67 20 6f 66 20 6a 6f |Unspooli|ng of jo|
|00005540| 62 73 20 63 61 6e 20 62 | 65 20 70 65 72 66 6f 72 |bs can b|e perfor|
|00005550| 6d 65 64 20 62 79 20 61 | 20 70 72 69 6e 74 63 61 |med by a| printca|
|00005560| 70 20 73 70 65 63 69 66 | 69 65 64 20 70 72 6f 67 |p specif|ied prog|
|00005570| 72 61 6d 2c 0a 72 61 74 | 68 65 72 20 74 68 61 6e |ram,.rat|her than|
|00005580| 20 62 79 20 74 68 65 20 | 50 4c 50 20 75 6e 73 70 | by the |PLP unsp|
|00005590| 6f 6f 6c 65 72 2e 0a 54 | 68 69 73 20 61 6c 6c 6f |ooler..T|his allo|
|000055a0| 77 73 20 50 4c 50 20 74 | 6f 20 62 65 20 75 73 65 |ws PLP t|o be use|
|000055b0| 64 20 61 73 20 61 20 73 | 70 6f 6f 6c 65 72 0a 61 |d as a s|pooler.a|
|000055c0| 6e 64 20 74 6f 20 68 61 | 76 65 20 73 70 6f 6f 6c |nd to ha|ve spool|
|000055d0| 20 71 75 65 75 65 73 20 | 75 73 65 64 20 66 6f 72 | queues |used for|
|000055e0| 20 76 61 72 69 6f 75 73 | 20 70 75 72 70 6f 73 65 | various| purpose|
|000055f0| 73 2e 0a 58 2e 49 50 20 | 37 29 2e 20 35 0a 58 45 |s..X.IP |7). 5.XE|
|00005600| 78 74 72 65 6d 65 6c 79 | 20 76 65 72 62 6f 73 65 |xtremely| verbose|
|00005610| 20 61 6e 64 20 63 68 61 | 74 74 79 20 65 72 72 6f | and cha|tty erro|
|00005620| 72 20 6d 65 73 73 61 67 | 65 73 20 68 61 76 65 20 |r messag|es have |
|00005630| 62 65 65 6e 20 61 64 64 | 65 64 2e 0a 54 68 65 73 |been add|ed..Thes|
|00005640| 65 20 67 72 65 61 74 6c | 79 20 65 61 73 65 20 64 |e greatl|y ease d|
|00005650| 65 62 75 67 67 69 6e 67 | 20 61 6e 64 20 69 6e 73 |ebugging| and ins|
|00005660| 74 61 6c 6c 61 74 69 6f | 6e 2e 0a 49 6e 20 61 64 |tallatio|n..In ad|
|00005670| 64 69 74 69 6f 6e 2c 0a | 74 68 65 0a 58 2e 49 20 |dition,.|the.X.I |
|00005680| 63 68 65 63 6b 70 63 0a | 75 74 69 6c 69 74 79 20 |checkpc.|utility |
|00005690| 63 61 6e 20 62 65 20 75 | 73 65 64 20 74 6f 20 73 |can be u|sed to s|
|000056a0| 65 74 20 66 69 6c 65 20 | 70 65 72 6d 69 73 73 69 |et file |permissi|
|000056b0| 6f 6e 73 20 61 6e 64 20 | 6f 74 68 65 72 20 69 74 |ons and |other it|
|000056c0| 65 6d 73 20 66 6f 72 0a | 75 73 65 20 62 79 20 74 |ems for.|use by t|
|000056d0| 68 65 20 50 4c 50 20 73 | 6f 66 74 77 61 72 65 2e |he PLP s|oftware.|
|000056e0| 0a 58 2e 49 50 20 38 29 | 2e 20 35 0a 54 68 65 20 |.X.IP 8)|. 5.The |
|000056f0| 63 6f 64 65 20 69 73 20 | 71 75 69 74 65 20 70 6f |code is |quite po|
|00005700| 72 74 61 62 6c 65 2c 0a | 77 69 74 68 20 61 73 20 |rtable,.|with as |
|00005710| 66 65 77 20 73 79 73 74 | 65 6d 20 64 65 70 65 6e |few syst|em depen|
|00005720| 64 65 6e 63 69 65 73 20 | 69 6e 20 69 74 20 61 73 |dencies |in it as|
|00005730| 20 70 6f 73 73 69 62 6c | 65 2e 0a 49 74 20 68 61 | possibl|e..It ha|
|00005740| 73 20 72 75 6e 20 6f 6e | 20 61 20 56 41 58 20 34 |s run on| a VAX 4|
|00005750| 2e 32 2c 20 34 2e 33 2c | 20 61 6e 64 20 55 4c 54 |.2, 4.3,| and ULT|
|00005760| 52 49 58 2c 0a 53 55 4e | 20 33 2e 30 2c 0a 61 6e |RIX,.SUN| 3.0,.an|
|00005770| 64 0a 44 47 2d 55 58 2e | 0a 45 4e 44 5f 4f 46 5f |d.DG-UX.|.END_OF_|
|00005780| 46 49 4c 45 0a 69 66 20 | 74 65 73 74 20 32 34 39 |FILE.if |test 249|
|00005790| 30 20 2d 6e 65 20 60 77 | 63 20 2d 63 20 3c 27 64 |0 -ne `w|c -c <'d|
|000057a0| 6f 63 2f 50 4c 50 2f 61 | 6e 6e 6f 75 6e 63 65 27 |oc/PLP/a|nnounce'|
|000057b0| 60 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |`; then.| echo|
|000057c0| 20 73 68 61 72 3a 20 5c | 22 27 64 6f 63 2f 50 4c | shar: \|"'doc/PL|
|000057d0| 50 2f 61 6e 6e 6f 75 6e | 63 65 27 5c 22 20 75 6e |P/announ|ce'\" un|
|000057e0| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|000057f0| 67 20 73 69 7a 65 21 0a | 66 69 0a 23 20 65 6e 64 |g size!.|fi.# end|
|00005800| 20 6f 66 20 27 64 6f 63 | 2f 50 4c 50 2f 61 6e 6e | of 'doc|/PLP/ann|
|00005810| 6f 75 6e 63 65 27 0a 66 | 69 0a 69 66 20 74 65 73 |ounce'.f|i.if tes|
|00005820| 74 20 2d 66 20 27 66 69 | 6c 74 65 72 73 2f 63 6f |t -f 'fi|lters/co|
|00005830| 6d 70 61 74 2e 63 27 20 | 2d 61 20 22 24 7b 31 7d |mpat.c' |-a "${1}|
|00005840| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|00005850| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|00005860| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|00005870| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00005880| 27 66 69 6c 74 65 72 73 | 2f 63 6f 6d 70 61 74 2e |'filters|/compat.|
|00005890| 63 27 5c 22 0a 65 6c 73 | 65 0a 65 63 68 6f 20 73 |c'\".els|e.echo s|
|000058a0| 68 61 72 3a 20 45 78 74 | 72 61 63 74 69 6e 67 20 |har: Ext|racting |
|000058b0| 5c 22 27 66 69 6c 74 65 | 72 73 2f 63 6f 6d 70 61 |\"'filte|rs/compa|
|000058c0| 74 2e 63 27 5c 22 20 5c | 28 32 36 38 38 20 63 68 |t.c'\" \|(2688 ch|
|000058d0| 61 72 61 63 74 65 72 73 | 5c 29 0a 73 65 64 20 22 |aracters|\).sed "|
|000058e0| 73 2f 5e 58 2f 2f 22 20 | 3e 27 66 69 6c 74 65 72 |s/^X//" |>'filter|
|000058f0| 73 2f 63 6f 6d 70 61 74 | 2e 63 27 20 3c 3c 27 45 |s/compat|.c' <<'E|
|00005900| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 2f 2a 0a |ND_OF_FI|LE'.X/*.|
|00005910| 58 20 2a 20 43 4f 4d 50 | 41 54 3a 20 61 20 73 65 |X * COMP|AT: a se|
|00005920| 6c 65 63 74 65 64 20 73 | 65 74 20 6f 66 20 70 61 |lected s|et of pa|
|00005930| 72 61 6d 65 74 65 72 73 | 20 61 72 65 20 70 61 73 |rameters| are pas|
|00005940| 73 65 64 20 74 6f 20 74 | 68 65 20 73 70 65 63 69 |sed to t|he speci|
|00005950| 66 69 65 64 20 66 69 6c | 65 0a 58 20 2a 20 69 6e |fied fil|e.X * in|
|00005960| 20 6f 72 64 65 72 20 74 | 6f 20 62 65 20 63 6f 6d | order t|o be com|
|00005970| 70 61 74 69 62 6c 65 2e | 20 20 54 68 69 73 20 66 |patible.| This f|
|00005980| 69 6c 74 65 72 20 69 73 | 20 63 61 6c 6c 65 64 20 |ilter is| called |
|00005990| 77 69 74 68 20 74 68 65 | 20 72 65 67 75 6c 61 72 |with the| regular|
|000059a0| 0a 58 20 2a 20 70 61 72 | 61 6d 65 74 65 72 73 2c |.X * par|ameters,|
|000059b0| 20 62 75 74 20 77 69 6c | 6c 20 6f 6e 6c 79 20 70 | but wil|l only p|
|000059c0| 61 73 73 20 74 68 65 20 | 73 70 65 63 69 66 69 65 |ass the |specifie|
|000059d0| 64 20 73 75 62 73 65 74 | 2e 0a 58 20 2a 20 43 6f |d subset|..X * Co|
|000059e0| 6d 70 61 74 20 69 73 20 | 63 61 6c 6c 65 64 20 77 |mpat is |called w|
|000059f0| 69 74 68 3a 0a 58 20 2a | 20 2e 2e 2e 2e 2f 63 6f |ith:.X *| ..../co|
|00005a00| 6d 70 61 74 20 2f 2e 2e | 2e 2f 66 69 6c 74 65 72 |mpat /..|./filter|
|00005a10| 20 5b 75 73 75 61 6c 20 | 6f 70 74 69 6f 6e 73 5d | [usual |options]|
|00005a20| 0a 58 20 2a 20 20 4f 46 | 3a 20 66 69 6c 74 65 72 |.X * OF|: filter|
|00005a30| 20 20 20 20 20 20 2d 77 | 77 69 64 74 68 20 2d 6c | -w|width -l|
|00005a40| 6c 65 6e 67 74 68 0a 58 | 20 2a 20 20 49 46 3a 20 |length.X| * IF: |
|00005a50| 66 69 6c 74 65 72 20 5b | 2d 63 5d 20 2d 77 77 69 |filter [|-c] -wwi|
|00005a60| 64 74 68 20 2d 6c 6c 65 | 6e 67 74 68 20 2d 69 69 |dth -lle|ngth -ii|
|00005a70| 6e 64 65 6e 74 20 2d 6e | 20 6c 6f 67 69 6e 20 2d |ndent -n| login -|
|00005a80| 68 20 68 6f 73 74 20 61 | 63 63 6f 75 6e 74 69 6e |h host a|ccountin|
|00005a90| 67 5f 66 69 6c 65 0a 58 | 20 2a 20 20 3f 46 3a 20 |g_file.X| * ?F: |
|00005aa0| 66 69 6c 74 65 72 20 20 | 20 20 20 20 2d 78 77 69 |filter | -xwi|
|00005ab0| 64 74 68 20 2d 79 6c 65 | 6e 67 74 68 20 20 20 20 |dth -yle|ngth |
|00005ac0| 20 20 20 20 20 20 2d 6e | 20 6c 6f 67 69 6e 20 2d | -n| login -|
|00005ad0| 68 20 68 6f 73 74 20 61 | 63 63 6f 75 6e 74 69 6e |h host a|ccountin|
|00005ae0| 67 5f 66 69 6c 65 0a 58 | 20 2a 2f 0a 58 0a 58 23 |g_file.X| */.X.X#|
|00005af0| 69 6e 63 6c 75 64 65 20 | 3c 73 74 64 69 6f 2e 68 |include |<stdio.h|
|00005b00| 3e 0a 65 78 74 65 72 6e | 20 65 72 72 6e 6f 3b 0a |>.extern| errno;.|
|00005b10| 63 68 61 72 20 2a 77 69 | 64 74 68 2c 20 2a 6c 65 |char *wi|dth, *le|
|00005b20| 6e 67 74 68 2c 20 2a 78 | 77 69 64 74 68 2c 20 2a |ngth, *x|width, *|
|00005b30| 79 6c 65 6e 67 74 68 2c | 20 2a 69 6e 64 65 6e 74 |ylength,| *indent|
|00005b40| 2c 20 2a 6c 6f 67 69 6e | 2c 20 2a 68 6f 73 74 2c |, *login|, *host,|
|00005b50| 20 2a 61 66 2c 20 2a 63 | 66 6c 61 67 3b 0a 63 68 | *af, *c|flag;.ch|
|00005b60| 61 72 20 2a 64 65 62 75 | 67 3b 0a 69 6e 74 20 66 |ar *debu|g;.int f|
|00005b70| 6f 72 6d 61 74 3b 0a 63 | 68 61 72 20 2a 66 69 6c |ormat;.c|har *fil|
|00005b80| 65 3b 0a 63 68 61 72 20 | 2a 6e 65 77 76 65 63 5b |e;.char |*newvec[|
|00005b90| 32 30 5d 3b 0a 58 0a 6d | 61 69 6e 28 20 61 72 67 |20];.X.m|ain( arg|
|00005ba0| 63 2c 20 61 72 67 76 20 | 29 0a 58 09 69 6e 74 20 |c, argv |).X.int |
|00005bb0| 61 72 67 63 3b 0a 58 09 | 63 68 61 72 20 2a 2a 61 |argc;.X.|char **a|
|00005bc0| 72 67 76 3b 0a 58 7b 0a | 58 09 69 6e 74 20 69 3b |rgv;.X{.|X.int i;|
|00005bd0| 0a 58 09 63 68 61 72 20 | 2a 61 72 67 3b 0a 58 0a |.X.char |*arg;.X.|
|00005be0| 58 09 6e 65 77 76 65 63 | 5b 30 5d 20 3d 20 61 72 |X.newvec|[0] = ar|
|00005bf0| 67 76 5b 31 5d 3b 0a 58 | 09 66 6f 72 28 20 69 20 |gv[1];.X|.for( i |
|00005c00| 3d 20 32 3b 20 69 20 3c | 20 61 72 67 63 3b 20 2b |= 2; i <| argc; +|
|00005c10| 2b 69 20 29 7b 0a 58 09 | 09 61 72 67 20 3d 20 61 |+i ){.X.|.arg = a|
|00005c20| 72 67 76 5b 69 5d 3b 0a | 58 09 09 69 66 28 20 61 |rgv[i];.|X..if( a|
|00005c30| 72 67 5b 30 5d 20 3d 3d | 20 27 2d 27 20 29 7b 0a |rg[0] ==| '-' ){.|
|00005c40| 58 09 09 09 73 77 69 74 | 63 68 28 20 61 72 67 5b |X...swit|ch( arg[|
|00005c50| 31 5d 20 29 7b 0a 58 09 | 09 09 63 61 73 65 20 27 |1] ){.X.|..case '|
|00005c60| 77 27 3a 20 77 69 64 74 | 68 20 3d 20 61 72 67 3b |w': widt|h = arg;|
|00005c70| 20 62 72 65 61 6b 3b 0a | 58 09 09 09 63 61 73 65 | break;.|X...case|
|00005c80| 20 27 6c 27 3a 20 6c 65 | 6e 67 74 68 20 3d 20 61 | 'l': le|ngth = a|
|00005c90| 72 67 3b 20 62 72 65 61 | 6b 3b 0a 58 09 09 09 63 |rg; brea|k;.X...c|
|00005ca0| 61 73 65 20 27 78 27 3a | 20 78 77 69 64 74 68 20 |ase 'x':| xwidth |
|00005cb0| 3d 20 61 72 67 3b 20 62 | 72 65 61 6b 3b 0a 58 09 |= arg; b|reak;.X.|
|00005cc0| 09 09 63 61 73 65 20 27 | 79 27 3a 20 79 6c 65 6e |..case '|y': ylen|
|00005cd0| 67 74 68 20 3d 20 61 72 | 67 3b 20 62 72 65 61 6b |gth = ar|g; break|
|00005ce0| 3b 0a 58 09 09 09 63 61 | 73 65 20 27 69 27 3a 20 |;.X...ca|se 'i': |
|00005cf0| 69 6e 64 65 6e 74 20 3d | 20 61 72 67 3b 20 62 72 |indent =| arg; br|
|00005d00| 65 61 6b 3b 0a 58 09 09 | 09 63 61 73 65 20 27 63 |eak;.X..|.case 'c|
|00005d10| 27 3a 20 63 66 6c 61 67 | 20 3d 20 61 72 67 3b 20 |': cflag| = arg; |
|00005d20| 62 72 65 61 6b 3b 0a 58 | 09 09 09 63 61 73 65 20 |break;.X|...case |
|00005d30| 27 46 27 3a 20 66 6f 72 | 6d 61 74 20 3d 20 61 72 |'F': for|mat = ar|
|00005d40| 67 5b 32 5d 3b 20 62 72 | 65 61 6b 3b 0a 58 09 09 |g[2]; br|eak;.X..|
|00005d50| 09 63 61 73 65 20 27 68 | 27 3a 20 68 6f 73 74 20 |.case 'h|': host |
|00005d60| 3d 20 61 72 67 2b 32 3b | 20 62 72 65 61 6b 3b 0a |= arg+2;| break;.|
|00005d70| 58 09 09 09 63 61 73 65 | 20 27 6e 27 3a 20 6c 6f |X...case| 'n': lo|
|00005d80| 67 69 6e 20 3d 20 61 72 | 67 2b 32 3b 20 62 72 65 |gin = ar|g+2; bre|
|00005d90| 61 6b 3b 0a 58 09 09 09 | 63 61 73 65 20 27 44 27 |ak;.X...|case 'D'|
|00005da0| 3a 20 64 65 62 75 67 20 | 3d 20 61 72 67 2b 32 3b |: debug |= arg+2;|
|00005db0| 20 62 72 65 61 6b 3b 0a | 58 09 09 09 7d 0a 58 09 | break;.|X...}.X.|
|00005dc0| 09 7d 20 65 6c 73 65 20 | 7b 0a 58 09 09 09 61 66 |.} else |{.X...af|
|00005dd0| 20 3d 20 61 72 67 3b 0a | 58 09 09 7d 0a 58 09 7d | = arg;.|X..}.X.}|
|00005de0| 0a 58 09 73 77 69 74 63 | 68 28 20 66 6f 72 6d 61 |.X.switc|h( forma|
|00005df0| 74 20 29 7b 0a 58 09 2f | 2a 0a 58 09 20 2a 20 20 |t ){.X./|*.X. * |
|00005e00| 4f 46 3a 20 66 69 6c 74 | 65 72 20 20 20 20 20 20 |OF: filt|er |
|00005e10| 2d 77 77 69 64 74 68 20 | 2d 6c 6c 65 6e 67 74 68 |-wwidth |-llength|
|00005e20| 0a 58 09 20 2a 2f 0a 58 | 09 63 61 73 65 20 27 6f |.X. */.X|.case 'o|
|00005e30| 27 3a 0a 58 09 09 69 66 | 28 20 77 69 64 74 68 20 |':.X..if|( width |
|00005e40| 3d 3d 20 30 20 7c 7c 20 | 6c 65 6e 67 74 68 20 3d |== 0 || |length =|
|00005e50| 3d 20 30 20 29 7b 0a 58 | 09 09 09 66 70 72 69 6e |= 0 ){.X|...fprin|
|00005e60| 74 66 28 20 73 74 64 65 | 72 72 2c 20 22 25 73 3a |tf( stde|rr, "%s:|
|00005e70| 20 4f 46 2d 20 6d 69 73 | 73 69 6e 67 20 6f 6e 65 | OF- mis|sing one|
|00005e80| 20 6f 66 20 2d 77 2c 20 | 2d 6c 5c 6e 22 2c 20 61 | of -w, |-l\n", a|
|00005e90| 72 67 76 5b 30 5d 20 29 | 3b 0a 58 09 09 09 65 78 |rgv[0] )|;.X...ex|
|00005ea0| 69 74 28 20 32 20 29 3b | 0a 58 09 09 7d 0a 58 09 |it( 2 );|.X..}.X.|
|00005eb0| 09 69 20 3d 20 31 3b 0a | 58 09 09 6e 65 77 76 65 |.i = 1;.|X..newve|
|00005ec0| 63 5b 69 2b 2b 5d 20 3d | 20 77 69 64 74 68 3b 0a |c[i++] =| width;.|
|00005ed0| 58 09 09 6e 65 77 76 65 | 63 5b 69 2b 2b 5d 20 3d |X..newve|c[i++] =|
|00005ee0| 20 6c 65 6e 67 74 68 3b | 0a 58 09 09 62 72 65 61 | length;|.X..brea|
|00005ef0| 6b 3b 0a 58 09 2f 2a 0a | 58 09 20 2a 20 20 49 46 |k;.X./*.|X. * IF|
|00005f00| 3a 20 66 69 6c 74 65 72 | 20 5b 2d 63 5d 20 2d 77 |: filter| [-c] -w|
|00005f10| 77 69 64 74 68 20 2d 6c | 6c 65 6e 67 74 68 20 2d |width -l|length -|
|00005f20| 69 69 6e 64 65 6e 74 20 | 2d 6e 20 6c 6f 67 69 6e |iindent |-n login|
|00005f30| 20 2d 68 20 68 6f 73 74 | 20 61 66 0a 58 09 20 2a | -h host| af.X. *|
|00005f40| 2f 0a 58 09 63 61 73 65 | 20 27 69 27 3a 0a 58 09 |/.X.case| 'i':.X.|
|00005f50| 09 69 66 28 20 77 69 64 | 74 68 20 3d 3d 20 30 20 |.if( wid|th == 0 |
|00005f60| 7c 7c 20 6c 65 6e 67 74 | 68 20 3d 3d 20 30 0a 58 ||| lengt|h == 0.X|
|00005f70| 09 09 09 7c 7c 20 6c 6f | 67 69 6e 20 3d 3d 20 30 |...|| lo|gin == 0|
|00005f80| 20 7c 7c 20 68 6f 73 74 | 20 3d 3d 20 30 20 29 7b | || host| == 0 ){|
|00005f90| 0a 58 09 09 09 66 70 72 | 69 6e 74 66 28 73 74 64 |.X...fpr|intf(std|
|00005fa0| 65 72 72 2c 22 25 73 3a | 20 49 46 2d 20 6d 69 73 |err,"%s:| IF- mis|
|00005fb0| 73 69 6e 67 20 6f 6e 65 | 20 6f 66 20 2d 77 2c 20 |sing one| of -w, |
|00005fc0| 2d 6c 2c 20 2d 6e 2c 20 | 2d 68 5c 6e 22 2c 61 72 |-l, -n, |-h\n",ar|
|00005fd0| 67 76 5b 30 5d 29 3b 0a | 58 09 09 09 65 78 69 74 |gv[0]);.|X...exit|
|00005fe0| 28 20 32 20 29 3b 0a 58 | 09 09 7d 0a 58 09 09 69 |( 2 );.X|..}.X..i|
|00005ff0| 66 28 20 69 6e 64 65 6e | 74 20 3d 3d 20 30 20 29 |f( inden|t == 0 )|
|00006000| 7b 0a 58 09 09 09 69 6e | 64 65 6e 74 20 3d 20 22 |{.X...in|dent = "|
|00006010| 2d 69 30 22 3b 0a 58 09 | 09 7d 0a 58 09 09 69 20 |-i0";.X.|.}.X..i |
|00006020| 3d 20 31 3b 0a 58 09 09 | 69 66 28 20 63 66 6c 61 |= 1;.X..|if( cfla|
|00006030| 67 20 29 7b 0a 58 09 09 | 09 6e 65 77 76 65 63 5b |g ){.X..|.newvec[|
|00006040| 69 2b 2b 5d 20 3d 20 63 | 66 6c 61 67 3b 0a 58 09 |i++] = c|flag;.X.|
|00006050| 09 7d 0a 58 09 09 6e 65 | 77 76 65 63 5b 69 2b 2b |.}.X..ne|wvec[i++|
|00006060| 5d 20 3d 20 77 69 64 74 | 68 3b 0a 58 09 09 6e 65 |] = widt|h;.X..ne|
|00006070| 77 76 65 63 5b 69 2b 2b | 5d 20 3d 20 6c 65 6e 67 |wvec[i++|] = leng|
|00006080| 74 68 3b 0a 58 09 09 6e | 65 77 76 65 63 5b 69 2b |th;.X..n|ewvec[i+|
|00006090| 2b 5d 20 3d 20 69 6e 64 | 65 6e 74 3b 0a 58 09 09 |+] = ind|ent;.X..|
|000060a0| 6e 65 77 76 65 63 5b 69 | 2b 2b 5d 20 3d 20 22 2d |newvec[i|++] = "-|
|000060b0| 6e 22 3b 0a 58 09 09 6e | 65 77 76 65 63 5b 69 2b |n";.X..n|ewvec[i+|
|000060c0| 2b 5d 20 3d 20 6c 6f 67 | 69 6e 3b 0a 58 09 09 6e |+] = log|in;.X..n|
|000060d0| 65 77 76 65 63 5b 69 2b | 2b 5d 20 3d 20 22 2d 68 |ewvec[i+|+] = "-h|
|000060e0| 22 3b 0a 58 09 09 6e 65 | 77 76 65 63 5b 69 2b 2b |";.X..ne|wvec[i++|
|000060f0| 5d 20 3d 20 68 6f 73 74 | 3b 0a 58 09 09 6e 65 77 |] = host|;.X..new|
|00006100| 76 65 63 5b 69 2b 2b 5d | 20 3d 20 61 66 3b 0a 58 |vec[i++]| = af;.X|
|00006110| 09 09 62 72 65 61 6b 3b | 0a 58 09 2f 2a 0a 58 09 |..break;|.X./*.X.|
|00006120| 20 2a 20 20 3f 46 3a 20 | 66 69 6c 74 65 72 20 20 | * ?F: |filter |
|00006130| 20 20 20 20 2d 78 77 69 | 64 74 68 20 2d 79 6c 65 | -xwi|dth -yle|
|00006140| 6e 67 74 68 20 20 20 20 | 20 20 20 20 20 20 2d 6e |ngth | -n|
|00006150| 20 6c 6f 67 69 6e 20 2d | 68 20 68 6f 73 74 20 61 | login -|h host a|
|00006160| 66 0a 58 09 20 2a 2f 0a | 58 09 64 65 66 61 75 6c |f.X. */.|X.defaul|
|00006170| 74 3a 0a 58 09 09 69 66 | 28 20 78 77 69 64 74 68 |t:.X..if|( xwidth|
|00006180| 20 3d 3d 20 30 20 7c 7c | 20 79 6c 65 6e 67 74 68 | == 0 ||| ylength|
|00006190| 20 3d 3d 20 30 0a 58 09 | 09 09 7c 7c 20 6c 6f 67 | == 0.X.|..|| log|
|000061a0| 69 6e 20 3d 3d 20 30 20 | 7c 7c 20 68 6f 73 74 20 |in == 0 ||| host |
|000061b0| 3d 3d 20 30 20 29 7b 0a | 58 09 09 09 66 70 72 69 |== 0 ){.|X...fpri|
|000061c0| 6e 74 66 28 73 74 64 65 | 72 72 2c 22 25 73 3a 20 |ntf(stde|rr,"%s: |
|000061d0| 25 63 46 2d 20 6d 69 73 | 73 69 6e 67 20 6f 6e 65 |%cF- mis|sing one|
|000061e0| 20 6f 66 20 2d 78 2c 20 | 2d 79 2c 20 2d 6e 2c 20 | of -x, |-y, -n, |
|000061f0| 2d 68 5c 6e 22 2c 20 61 | 72 67 76 5b 30 5d 2c 0a |-h\n", a|rgv[0],.|
|00006200| 58 09 09 09 09 66 6f 72 | 6d 61 74 29 3b 0a 58 09 |X....for|mat);.X.|
|00006210| 09 09 65 78 69 74 28 20 | 32 20 29 3b 0a 58 09 09 |..exit( |2 );.X..|
|00006220| 7d 0a 58 09 09 69 20 3d | 20 31 3b 0a 58 09 09 6e |}.X..i =| 1;.X..n|
|00006230| 65 77 76 65 63 5b 69 2b | 2b 5d 20 3d 20 78 77 69 |ewvec[i+|+] = xwi|
|00006240| 64 74 68 3b 0a 58 09 09 | 6e 65 77 76 65 63 5b 69 |dth;.X..|newvec[i|
|00006250| 2b 2b 5d 20 3d 20 79 6c | 65 6e 67 74 68 3b 0a 58 |++] = yl|ength;.X|
|00006260| 09 09 6e 65 77 76 65 63 | 5b 69 2b 2b 5d 20 3d 20 |..newvec|[i++] = |
|00006270| 22 2d 6e 22 3b 0a 58 09 | 09 6e 65 77 76 65 63 5b |"-n";.X.|.newvec[|
|00006280| 69 2b 2b 5d 20 3d 20 6c | 6f 67 69 6e 3b 0a 58 09 |i++] = l|ogin;.X.|
|00006290| 09 6e 65 77 76 65 63 5b | 69 2b 2b 5d 20 3d 20 22 |.newvec[|i++] = "|
|000062a0| 2d 68 22 3b 0a 58 09 09 | 6e 65 77 76 65 63 5b 69 |-h";.X..|newvec[i|
|000062b0| 2b 2b 5d 20 3d 20 68 6f | 73 74 3b 0a 58 09 09 6e |++] = ho|st;.X..n|
|000062c0| 65 77 76 65 63 5b 69 2b | 2b 5d 20 3d 20 61 66 3b |ewvec[i+|+] = af;|
|000062d0| 0a 58 09 09 62 72 65 61 | 6b 3b 0a 58 09 7d 0a 58 |.X..brea|k;.X.}.X|
|000062e0| 09 69 66 28 20 64 65 62 | 75 67 20 29 7b 0a 58 09 |.if( deb|ug ){.X.|
|000062f0| 09 66 6f 72 28 69 20 3d | 20 30 3b 20 6e 65 77 76 |.for(i =| 0; newv|
|00006300| 65 63 5b 69 5d 3b 20 2b | 2b 69 20 29 7b 0a 58 09 |ec[i]; +|+i ){.X.|
|00006310| 09 09 66 70 72 69 6e 74 | 66 28 73 74 64 65 72 72 |..fprint|f(stderr|
|00006320| 2c 20 22 25 73 20 22 2c | 20 6e 65 77 76 65 63 5b |, "%s ",| newvec[|
|00006330| 69 5d 20 29 3b 0a 58 09 | 09 7d 0a 58 09 09 70 75 |i] );.X.|.}.X..pu|
|00006340| 74 63 28 20 27 5c 6e 27 | 2c 20 73 74 64 65 72 72 |tc( '\n'|, stderr|
|00006350| 20 29 3b 0a 58 09 09 66 | 66 6c 75 73 68 28 73 74 | );.X..f|flush(st|
|00006360| 64 65 72 72 29 3b 0a 58 | 09 7d 0a 58 09 65 78 65 |derr);.X|.}.X.exe|
|00006370| 63 76 28 20 6e 65 77 76 | 65 63 5b 30 5d 2c 20 6e |cv( newv|ec[0], n|
|00006380| 65 77 76 65 63 20 29 3b | 0a 58 09 69 20 3d 20 65 |ewvec );|.X.i = e|
|00006390| 72 72 6e 6f 3b 0a 58 09 | 66 70 72 69 6e 74 66 28 |rrno;.X.|fprintf(|
|000063a0| 20 73 74 64 65 72 72 2c | 20 22 25 73 3a 20 65 78 | stderr,| "%s: ex|
|000063b0| 65 63 76 20 66 61 69 6c | 65 64 20 28 65 72 72 6e |ecv fail|ed (errn|
|000063c0| 6f 20 25 64 29 22 2c 20 | 61 72 67 76 5b 30 5d 2c |o %d)", |argv[0],|
|000063d0| 20 65 72 72 6e 6f 29 3b | 0a 58 09 65 72 72 6e 6f | errno);|.X.errno|
|000063e0| 20 3d 20 69 3b 0a 58 09 | 70 65 72 72 6f 72 28 20 | = i;.X.|perror( |
|000063f0| 22 20 22 20 29 3b 0a 58 | 7d 0a 45 4e 44 5f 4f 46 |" " );.X|}.END_OF|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.