home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume8 / servercomm2 < prev    next >
SHell self-extracting ARchive  |  1989-08-23  |  39.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


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

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/329 Shell Archive Format default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 73 6f 75 72 63 65 73 | 2e 6d 69 73 63 0a 73 75 |.sources|.misc.su|
|00000020| 62 6a 65 63 74 3a 20 76 | 30 38 69 30 31 33 3a 20 |bject: v|08i013: |
|00000030| 55 70 64 61 74 65 64 20 | 73 65 72 76 65 72 63 6f |Updated |serverco|
|00000040| 6d 6d 0a 46 72 6f 6d 3a | 20 61 6c 6c 62 65 72 79 |mm.From:| allbery|
|00000050| 40 75 75 6e 65 74 2e 55 | 55 2e 4e 45 54 20 28 42 |@uunet.U|U.NET (B|
|00000060| 72 61 6e 64 6f 6e 20 53 | 2e 20 41 6c 6c 62 65 72 |randon S|. Allber|
|00000070| 79 20 2d 20 63 6f 6d 70 | 2e 73 6f 75 72 63 65 73 |y - comp|.sources|
|00000080| 2e 6d 69 73 63 29 0a 52 | 65 70 6c 79 2d 54 6f 3a |.misc).R|eply-To:|
|00000090| 20 64 69 6e 61 68 40 6b | 72 65 62 73 2e 62 63 6d | dinah@k|rebs.bcm|
|000000a0| 2e 74 6d 63 2e 65 64 75 | 20 28 44 69 6e 61 68 20 |.tmc.edu| (Dinah |
|000000b0| 41 6e 64 65 72 73 6f 6e | 29 0a 0a 50 6f 73 74 69 |Anderson|)..Posti|
|000000c0| 6e 67 2d 6e 75 6d 62 65 | 72 3a 20 56 6f 6c 75 6d |ng-numbe|r: Volum|
|000000d0| 65 20 38 2c 20 49 73 73 | 75 65 20 31 33 0a 53 75 |e 8, Iss|ue 13.Su|
|000000e0| 62 6d 69 74 74 65 64 2d | 62 79 3a 20 64 69 6e 61 |bmitted-|by: dina|
|000000f0| 68 40 6b 72 65 62 73 2e | 62 63 6d 2e 74 6d 63 2e |h@krebs.|bcm.tmc.|
|00000100| 65 64 75 20 28 44 69 6e | 61 68 20 41 6e 64 65 72 |edu (Din|ah Ander|
|00000110| 73 6f 6e 29 0a 41 72 63 | 68 69 76 65 2d 6e 61 6d |son).Arc|hive-nam|
|00000120| 65 3a 20 73 65 72 76 65 | 72 63 6f 6d 6d 32 0a 0a |e: serve|rcomm2..|
|00000130| 48 65 72 65 20 69 73 20 | 61 6e 20 75 70 64 61 74 |Here is |an updat|
|00000140| 65 64 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 73 65 |ed versi|on of se|
|00000150| 72 76 65 72 63 6f 6d 6d | 2e 20 49 20 6d 6f 64 69 |rvercomm|. I modi|
|00000160| 66 69 65 64 20 74 68 65 | 20 6d 61 6b 65 20 66 69 |fied the| make fi|
|00000170| 6c 65 0a 74 6f 20 6e 6f | 74 20 6d 61 6b 65 20 74 |le.to no|t make t|
|00000180| 68 65 20 73 70 6f 6f 6c | 20 64 69 72 65 63 74 6f |he spool| directo|
|00000190| 72 69 65 73 20 61 6e 64 | 20 6d 6f 64 69 66 79 20 |ries and| modify |
|000001a0| 74 68 65 20 70 72 69 6e | 74 63 61 70 20 73 69 6e |the prin|tcap sin|
|000001b0| 63 65 20 74 68 65 0a 6d | 61 6b 65 20 66 69 6c 65 |ce the.m|ake file|
|000001c0| 20 77 61 6e 74 65 64 20 | 74 6f 20 64 6f 20 74 68 | wanted |to do th|
|000001d0| 69 73 20 65 76 65 72 79 | 74 69 6d 65 20 79 6f 75 |is every|time you|
|000001e0| 20 69 6e 73 74 61 6c 6c | 65 64 20 74 68 65 20 73 | install|ed the s|
|000001f0| 6f 66 74 77 61 72 65 2e | 20 49 0a 61 6c 73 6f 20 |oftware.| I.also |
|00000200| 66 69 78 65 64 20 74 68 | 65 20 70 72 6f 67 72 61 |fixed th|e progra|
|00000210| 6d 20 74 6f 20 77 6f 72 | 6b 20 63 6f 72 72 65 63 |m to wor|k correc|
|00000220| 74 6c 79 20 77 69 74 68 | 20 74 68 65 20 53 75 6e |tly with| the Sun|
|00000230| 20 70 74 79 27 73 20 61 | 6e 64 20 61 20 62 72 69 | pty's a|nd a bri|
|00000240| 64 67 65 0a 63 6f 6d 6d | 2e 20 74 65 72 6d 69 6e |dge.comm|. termin|
|00000250| 61 6c 20 73 65 72 76 65 | 72 2e 20 54 68 65 20 70 |al serve|r. The p|
|00000260| 72 65 76 69 6f 75 73 20 | 76 65 72 73 69 6f 6e 20 |revious |version |
|00000270| 64 69 64 20 6e 6f 74 20 | 77 6f 72 6b 20 77 69 74 |did not |work wit|
|00000280| 68 20 53 75 6e 4f 53 20 | 34 2e 30 20 61 6e 64 0a |h SunOS |4.0 and.|
|00000290| 70 6f 73 74 73 63 72 69 | 70 74 20 66 69 6c 65 73 |postscri|pt files|
|000002a0| 20 70 72 6f 70 65 72 6c | 79 2e 0a 0a 0a 23 21 20 | properl|y....#! |
|000002b0| 2f 62 69 6e 2f 73 68 0a | 23 20 54 68 69 73 20 69 |/bin/sh.|# This i|
|000002c0| 73 20 61 20 73 68 65 6c | 6c 20 61 72 63 68 69 76 |s a shel|l archiv|
|000002d0| 65 2c 20 6d 65 61 6e 69 | 6e 67 3a 0a 23 20 31 2e |e, meani|ng:.# 1.|
|000002e0| 20 52 65 6d 6f 76 65 20 | 65 76 65 72 79 74 68 69 | Remove |everythi|
|000002f0| 6e 67 20 61 62 6f 76 65 | 20 74 68 65 20 23 21 20 |ng above| the #! |
|00000300| 2f 62 69 6e 2f 73 68 20 | 6c 69 6e 65 2e 0a 23 20 |/bin/sh |line..# |
|00000310| 32 2e 20 53 61 76 65 20 | 74 68 65 20 72 65 73 75 |2. Save |the resu|
|00000320| 6c 74 69 6e 67 20 74 65 | 78 74 20 69 6e 20 61 20 |lting te|xt in a |
|00000330| 66 69 6c 65 2e 0a 23 20 | 33 2e 20 45 78 65 63 75 |file..# |3. Execu|
|00000340| 74 65 20 74 68 65 20 66 | 69 6c 65 20 77 69 74 68 |te the f|ile with|
|00000350| 20 2f 62 69 6e 2f 73 68 | 20 28 6e 6f 74 20 63 73 | /bin/sh| (not cs|
|00000360| 68 29 20 74 6f 20 63 72 | 65 61 74 65 20 74 68 65 |h) to cr|eate the|
|00000370| 20 66 69 6c 65 73 3a 0a | 23 09 4d 61 6b 65 66 69 | files:.|#.Makefi|
|00000380| 6c 65 0a 23 09 52 45 41 | 44 4d 45 0a 23 09 65 78 |le.#.REA|DME.#.ex|
|00000390| 61 6d 70 6c 65 0a 23 09 | 68 65 6c 6c 6f 2e 70 73 |ample.#.|hello.ps|
|000003a0| 0a 23 09 73 65 72 76 65 | 72 63 6f 6d 6d 2e 38 6c |.#.serve|rcomm.8l|
|000003b0| 0a 23 09 73 65 72 76 65 | 72 63 6f 6d 6d 2e 63 0a |.#.serve|rcomm.c.|
|000003c0| 23 20 54 68 69 73 20 61 | 72 63 68 69 76 65 20 63 |# This a|rchive c|
|000003d0| 72 65 61 74 65 64 3a 20 | 57 65 64 20 41 75 67 20 |reated: |Wed Aug |
|000003e0| 32 33 20 31 32 3a 30 34 | 3a 32 33 20 31 39 38 39 |23 12:04|:23 1989|
|000003f0| 0a 65 78 70 6f 72 74 20 | 50 41 54 48 3b 20 50 41 |.export |PATH; PA|
|00000400| 54 48 3d 2f 62 69 6e 3a | 24 50 41 54 48 0a 65 63 |TH=/bin:|$PATH.ec|
|00000410| 68 6f 20 73 68 61 72 3a | 20 65 78 74 72 61 63 74 |ho shar:| extract|
|00000420| 69 6e 67 20 22 27 4d 61 | 6b 65 66 69 6c 65 27 22 |ing "'Ma|kefile'"|
|00000430| 20 27 28 34 34 32 32 20 | 63 68 61 72 61 63 74 65 | '(4422 |characte|
|00000440| 72 73 29 27 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |rs)'.if |test -f |
|00000450| 27 4d 61 6b 65 66 69 6c | 65 27 0a 74 68 65 6e 0a |'Makefil|e'.then.|
|00000460| 09 65 63 68 6f 20 73 68 | 61 72 3a 20 77 69 6c 6c |.echo sh|ar: will|
|00000470| 20 6e 6f 74 20 6f 76 65 | 72 2d 77 72 69 74 65 20 | not ove|r-write |
|00000480| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 22 27 |existing| file "'|
|00000490| 4d 61 6b 65 66 69 6c 65 | 27 22 0a 65 6c 73 65 0a |Makefile|'".else.|
|000004a0| 73 65 64 20 27 73 2f 5e | 09 58 2f 2f 27 20 3c 3c |sed 's/^|.X//' <<|
|000004b0| 20 5c 53 48 41 52 5f 45 | 4f 46 20 3e 20 27 4d 61 | \SHAR_E|OF > 'Ma|
|000004c0| 6b 65 66 69 6c 65 27 0a | 09 58 23 0a 09 58 23 20 |kefile'.|.X#..X# |
|000004d0| 57 72 69 67 68 74 20 53 | 74 61 74 65 20 55 6e 69 |Wright S|tate Uni|
|000004e0| 76 65 72 73 69 74 79 20 | 52 65 6d 6f 74 65 20 4c |versity |Remote L|
|000004f0| 61 73 65 72 57 72 69 74 | 65 72 20 4b 69 74 0a 09 |aserWrit|er Kit..|
|00000500| 58 23 20 4a 6f 68 6e 20 | 53 6c 6f 61 6e 20 3c 6a |X# John |Sloan <j|
|00000510| 73 6c 6f 61 6e 25 53 50 | 4f 54 53 2e 57 72 69 67 |sloan%SP|OTS.Wrig|
|00000520| 68 74 2e 45 44 55 40 40 | 52 65 6c 61 79 2e 43 53 |ht.EDU@@|Relay.CS|
|00000530| 2e 4e 45 54 3e 0a 09 58 | 23 20 24 52 65 76 69 73 |.NET>..X|# $Revis|
|00000540| 69 6f 6e 3a 20 31 2e 33 | 20 24 0a 09 58 23 20 24 |ion: 1.3| $..X# $|
|00000550| 44 61 74 65 3a 20 38 39 | 2f 30 38 2f 30 36 20 30 |Date: 89|/08/06 0|
|00000560| 32 3a 32 37 3a 31 35 20 | 24 0a 09 58 23 0a 09 58 |2:27:15 |$..X#..X|
|00000570| 23 20 4d 6f 64 69 66 69 | 65 64 20 62 79 20 44 69 |# Modifi|ed by Di|
|00000580| 6e 61 68 20 41 6e 64 65 | 72 73 6f 6e 20 3c 64 69 |nah Ande|rson <di|
|00000590| 6e 61 68 40 62 63 6d 2e | 74 6d 63 2e 65 64 75 3e |nah@bcm.|tmc.edu>|
|000005a0| 0a 09 58 23 20 42 61 79 | 6c 6f 72 20 43 6f 6c 6c |..X# Bay|lor Coll|
|000005b0| 65 67 65 20 6f 66 20 4d | 65 64 69 63 69 6e 65 0a |ege of M|edicine.|
|000005c0| 09 58 23 20 38 39 2f 38 | 2f 32 33 0a 09 58 23 0a |.X# 89/8|/23..X#.|
|000005d0| 09 58 0a 09 58 23 20 43 | 20 43 6f 6d 70 69 6c 65 |.X..X# C| Compile|
|000005e0| 72 20 66 6c 61 67 73 20 | 28 69 66 20 61 6e 79 29 |r flags |(if any)|
|000005f0| 0a 09 58 43 46 4c 41 47 | 53 3d 2d 44 42 52 49 44 |..XCFLAG|S=-DBRID|
|00000600| 47 45 0a 09 58 0a 09 58 | 23 20 50 72 69 6e 74 63 |GE..X..X|# Printc|
|00000610| 61 70 20 6e 61 6d 65 20 | 6f 66 20 72 65 6d 6f 74 |ap name |of remot|
|00000620| 65 20 4c 61 73 65 72 57 | 72 69 74 65 72 0a 09 58 |e LaserW|riter..X|
|00000630| 50 52 49 4e 54 45 52 3d | 6d 6f 74 63 0a 09 58 0a |PRINTER=|motc..X.|
|00000640| 09 58 23 20 4c 6f 63 61 | 6c 20 4c 61 73 65 72 57 |.X# Loca|l LaserW|
|00000650| 72 69 74 65 72 20 73 70 | 6f 6f 6c 20 64 69 72 65 |riter sp|ool dire|
|00000660| 63 74 6f 72 79 20 28 6d | 75 73 74 20 64 69 66 66 |ctory (m|ust diff|
|00000670| 65 72 20 66 72 6f 6d 20 | 4e 45 57 53 50 4f 4f 4c |er from |NEWSPOOL|
|00000680| 44 49 52 29 0a 09 58 50 | 53 53 50 4f 4f 4c 44 49 |DIR)..XP|SSPOOLDI|
|00000690| 52 3d 2f 75 73 72 2f 73 | 70 6f 6f 6c 2f 6c 70 64 |R=/usr/s|pool/lpd|
|000006a0| 2f 6c 6f 63 61 6c 0a 09 | 58 0a 09 58 23 20 4e 65 |/local..|X..X# Ne|
|000006b0| 77 20 72 65 6d 6f 74 65 | 20 4c 61 73 65 72 57 72 |w remote| LaserWr|
|000006c0| 69 74 65 72 20 73 70 6f | 6f 6c 20 64 69 72 65 63 |iter spo|ol direc|
|000006d0| 74 6f 72 79 20 28 6d 75 | 73 74 20 64 69 66 66 65 |tory (mu|st diffe|
|000006e0| 72 20 66 72 6f 6d 20 50 | 53 53 50 4f 4f 4c 44 49 |r from P|SSPOOLDI|
|000006f0| 52 29 0a 09 58 4e 45 57 | 53 50 4f 4f 4c 44 49 52 |R)..XNEW|SPOOLDIR|
|00000700| 3d 2f 75 73 72 2f 73 70 | 6f 6f 6c 2f 6c 70 64 2f |=/usr/sp|ool/lpd/|
|00000710| 6d 6f 74 63 0a 09 58 0a | 09 58 23 20 4f 72 69 67 |motc..X.|.X# Orig|
|00000720| 69 6e 61 6c 20 54 72 61 | 6e 73 63 72 69 70 74 20 |inal Tra|nscript |
|00000730| 73 6f 66 74 77 61 72 65 | 20 64 69 72 65 63 74 6f |software| directo|
|00000740| 72 79 20 28 6d 75 73 74 | 20 64 69 66 66 65 72 20 |ry (must| differ |
|00000750| 66 72 6f 6d 20 4e 45 57 | 4c 49 42 44 49 52 29 0a |from NEW|LIBDIR).|
|00000760| 09 58 50 53 4c 49 42 44 | 49 52 3d 2f 75 73 72 2f |.XPSLIBD|IR=/usr/|
|00000770| 6c 6f 63 61 6c 2f 6c 69 | 62 2f 70 73 0a 09 58 0a |local/li|b/ps..X.|
|00000780| 09 58 23 20 4e 65 77 20 | 72 65 6d 6f 74 65 20 54 |.X# New |remote T|
|00000790| 72 61 6e 73 63 72 69 70 | 74 20 66 69 6c 74 65 72 |ranscrip|t filter|
|000007a0| 73 20 64 69 72 65 63 74 | 6f 72 79 20 28 6d 75 73 |s direct|ory (mus|
|000007b0| 74 20 64 69 66 66 65 72 | 20 66 72 6f 6d 20 50 53 |t differ| from PS|
|000007c0| 4c 49 42 44 49 52 29 0a | 09 58 4e 45 57 4c 49 42 |LIBDIR).|.XNEWLIB|
|000007d0| 44 49 52 3d 2f 75 73 72 | 2f 6d 6f 74 63 0a 09 58 |DIR=/usr|/motc..X|
|000007e0| 0a 09 58 23 20 4e 65 74 | 77 6f 72 6b 20 6e 61 6d |..X# Net|work nam|
|000007f0| 65 20 6f 66 20 68 6f 73 | 74 20 63 6f 6d 70 75 74 |e of hos|t comput|
|00000800| 65 72 20 68 61 6e 64 6c | 69 6e 67 20 73 70 6f 6f |er handl|ing spoo|
|00000810| 6c 69 6e 67 20 74 6f 20 | 63 6f 6d 6d 75 6e 69 63 |ling to |communic|
|00000820| 61 74 69 6f 6e 20 73 65 | 72 76 65 72 0a 09 58 23 |ation se|rver..X#|
|00000830| 20 54 68 69 73 20 69 73 | 20 74 68 65 20 63 6f 6d | This is| the com|
|00000840| 70 75 74 65 72 20 6f 6e | 20 77 68 69 63 68 20 79 |puter on| which y|
|00000850| 6f 75 20 61 72 65 20 69 | 6e 73 74 61 6c 6c 69 6e |ou are i|nstallin|
|00000860| 67 20 74 68 69 73 20 73 | 6f 66 74 77 61 72 65 0a |g this s|oftware.|
|00000870| 09 58 48 4f 53 54 3d 22 | 60 68 6f 73 74 6e 61 6d |.XHOST="|`hostnam|
|00000880| 65 60 22 0a 09 58 0a 09 | 58 23 20 4e 65 74 77 6f |e`"..X..|X# Netwo|
|00000890| 72 6b 20 6e 61 6d 65 20 | 6f 66 20 68 6f 73 74 20 |rk name |of host |
|000008a0| 63 6f 6d 6d 75 6e 69 63 | 61 74 69 6f 6e 73 20 73 |communic|ations s|
|000008b0| 65 72 76 65 72 0a 09 58 | 53 45 52 56 45 52 3d 31 |erver..X|SERVER=1|
|000008c0| 32 38 2e 32 34 39 2e 34 | 2e 34 30 0a 09 58 0a 09 |28.249.4|.40..X..|
|000008d0| 58 23 20 50 6f 72 74 20 | 6e 75 6d 62 65 72 20 66 |X# Port |number f|
|000008e0| 6f 72 20 4c 61 73 65 72 | 57 72 69 74 65 72 20 6f |or Laser|Writer o|
|000008f0| 6e 20 68 6f 73 74 0a 09 | 58 50 4f 52 54 3d 32 33 |n host..|XPORT=23|
|00000900| 0a 09 58 0a 09 58 23 20 | 4d 61 73 74 65 72 20 70 |..X..X# |Master p|
|00000910| 73 65 75 64 6f 2d 74 65 | 72 6d 69 6e 61 6c 20 28 |seudo-te|rminal (|
|00000920| 74 79 70 69 63 61 6c 6c | 79 20 2f 64 65 76 2f 70 |typicall|y /dev/p|
|00000930| 74 79 58 58 2c 20 77 68 | 65 72 65 20 58 58 3d 5b |tyXX, wh|ere XX=[|
|00000940| 70 71 72 73 5d 5b 30 2d | 66 5d 29 0a 09 58 23 20 |pqrs][0-|f])..X# |
|00000950| 59 6f 75 20 6d 61 79 20 | 72 6f 6c 6c 20 79 6f 75 |You may |roll you|
|00000960| 72 20 6f 77 6e 20 28 61 | 73 20 77 65 20 64 6f 29 |r own (a|s we do)|
|00000970| 20 77 69 74 68 20 2f 65 | 74 63 2f 6d 6b 6e 6f 64 | with /e|tc/mknod|
|00000980| 0a 09 58 23 20 4f 77 6e | 65 72 20 73 68 6f 75 6c |..X# Own|er shoul|
|00000990| 64 20 62 65 20 64 61 65 | 6d 6f 6e 20 61 6e 64 20 |d be dae|mon and |
|000009a0| 6d 6f 64 65 20 73 68 6f | 75 6c 64 20 62 65 20 36 |mode sho|uld be 6|
|000009b0| 36 36 0a 09 58 23 20 44 | 65 76 69 63 65 20 73 68 |66..X# D|evice sh|
|000009c0| 6f 75 6c 64 20 6e 6f 74 | 20 61 70 70 65 61 72 20 |ould not| appear |
|000009d0| 69 6e 20 2f 65 74 63 2f | 74 74 79 73 20 61 73 20 |in /etc/|ttys as |
|000009e0| 6c 6f 67 69 6e 20 65 6e | 61 62 6c 65 64 20 28 77 |login en|abled (w|
|000009f0| 69 74 68 20 67 65 74 74 | 79 29 0a 09 58 50 54 59 |ith gett|y)..XPTY|
|00000a00| 3d 2f 64 65 76 2f 70 74 | 79 72 34 0a 09 58 0a 09 |=/dev/pt|yr4..X..|
|00000a10| 58 23 20 53 6c 61 76 65 | 20 70 73 65 75 64 6f 2d |X# Slave| pseudo-|
|00000a20| 74 65 72 6d 69 6e 61 6c | 20 28 74 79 70 69 63 61 |terminal| (typica|
|00000a30| 6c 6c 79 20 2f 64 65 76 | 2f 74 74 79 58 58 29 0a |lly /dev|/ttyXX).|
|00000a40| 09 58 23 20 59 6f 75 20 | 6d 61 79 20 72 6f 6c 6c |.X# You |may roll|
|00000a50| 20 79 6f 75 72 20 6f 77 | 6e 20 28 61 73 20 77 65 | your ow|n (as we|
|00000a60| 20 64 6f 29 20 77 69 74 | 68 20 2f 65 74 63 2f 6d | do) wit|h /etc/m|
|00000a70| 6b 6e 6f 64 0a 09 58 23 | 20 4f 77 6e 65 72 20 73 |knod..X#| Owner s|
|00000a80| 68 6f 75 6c 64 20 62 65 | 20 64 61 65 6d 6f 6e 20 |hould be| daemon |
|00000a90| 61 6e 64 20 6d 6f 64 65 | 20 73 68 6f 75 6c 64 20 |and mode| should |
|00000aa0| 62 65 20 36 36 36 0a 09 | 58 23 20 44 65 76 69 63 |be 666..|X# Devic|
|00000ab0| 65 20 73 68 6f 75 6c 64 | 20 6e 6f 74 20 61 70 70 |e should| not app|
|00000ac0| 65 61 72 20 69 6e 20 2f | 65 74 63 2f 74 74 79 73 |ear in /|etc/ttys|
|00000ad0| 20 61 73 20 6c 6f 67 69 | 6e 20 65 6e 61 62 6c 65 | as logi|n enable|
|00000ae0| 64 20 28 77 69 74 68 20 | 67 65 74 74 79 29 0a 09 |d (with |getty)..|
|00000af0| 58 54 54 59 3d 2f 64 65 | 76 2f 74 74 79 72 34 0a |XTTY=/de|v/ttyr4.|
|00000b00| 09 58 0a 09 58 23 20 4c | 6f 63 61 74 69 6f 6e 20 |.X..X# L|ocation |
|00000b10| 6f 66 20 73 65 72 76 65 | 72 63 6f 6d 6d 28 38 6c |of serve|rcomm(8l|
|00000b20| 29 20 6d 61 6e 20 70 61 | 67 65 0a 09 58 4d 41 4e |) man pa|ge..XMAN|
|00000b30| 44 49 52 3d 2f 75 73 72 | 2f 6d 61 6e 2f 6d 61 6e |DIR=/usr|/man/man|
|00000b40| 6c 0a 09 58 0a 09 58 23 | 23 23 23 23 23 23 23 23 |l..X..X#|########|
|00000b50| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000b60| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000b70| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000b80| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000b90| 0a 09 58 0a 09 58 61 6c | 6c 3a 09 73 65 72 76 65 |..X..Xal|l:.serve|
|00000ba0| 72 63 6f 6d 6d 20 66 69 | 6c 74 65 72 73 20 70 72 |rcomm fi|lters pr|
|00000bb0| 69 6e 74 63 61 70 20 70 | 72 69 6e 74 63 61 70 2e |intcap p|rintcap.|
|00000bc0| 72 65 6d 6f 74 65 20 0a | 09 58 0a 09 58 69 6e 73 |remote .|.X..Xins|
|00000bd0| 74 61 6c 6c 3a 20 61 6c | 6c 20 24 7b 4e 45 57 4c |tall: al|l ${NEWL|
|00000be0| 49 42 44 49 52 7d 2f 73 | 65 72 76 65 72 63 6f 6d |IBDIR}/s|ervercom|
|00000bf0| 6d 20 24 7b 4d 41 4e 44 | 49 52 7d 20 73 65 72 76 |m ${MAND|IR} serv|
|00000c00| 65 72 63 6f 6d 6d 2e 38 | 6c 0a 09 58 09 63 70 20 |ercomm.8|l..X.cp |
|00000c10| 2f 64 65 76 2f 6e 75 6c | 6c 20 24 7b 4e 45 57 4c |/dev/nul|l ${NEWL|
|00000c20| 49 42 44 49 52 7d 2f 24 | 7b 50 52 49 4e 54 45 52 |IBDIR}/$|{PRINTER|
|00000c30| 7d 0a 09 58 09 63 70 20 | 73 65 72 76 65 72 63 6f |}..X.cp |serverco|
|00000c40| 6d 6d 2e 38 6c 20 24 7b | 4d 41 4e 44 49 52 7d 0a |mm.8l ${|MANDIR}.|
|00000c50| 09 58 09 63 68 6d 6f 64 | 20 36 34 34 20 24 7b 4d |.X.chmod| 644 ${M|
|00000c60| 41 4e 44 49 52 7d 2f 73 | 65 72 76 65 72 63 6f 6d |ANDIR}/s|ervercom|
|00000c70| 6d 2e 38 6c 0a 09 58 0a | 09 58 63 6c 65 61 6e 3a |m.8l..X.|.Xclean:|
|00000c80| 0a 09 58 09 72 6d 20 2d | 69 66 20 64 69 66 66 73 |..X.rm -|if diffs|
|00000c90| 20 70 72 69 6e 74 63 61 | 70 20 70 72 69 6e 74 63 | printca|p printc|
|00000ca0| 61 70 2e 72 65 6d 6f 74 | 65 20 0a 09 58 0a 09 58 |ap.remot|e ..X..X|
|00000cb0| 62 61 63 6b 6f 75 74 3a | 20 63 6c 65 61 6e 0a 09 |backout:| clean..|
|00000cc0| 58 09 72 6d 20 2d 72 69 | 66 20 24 7b 4e 45 57 53 |X.rm -ri|f ${NEWS|
|00000cd0| 50 4f 4f 4c 44 49 52 7d | 20 24 7b 4e 45 57 4c 49 |POOLDIR}| ${NEWLI|
|00000ce0| 42 44 49 52 7d 0a 09 58 | 0a 09 58 73 65 72 76 65 |BDIR}..X|..Xserve|
|00000cf0| 72 63 6f 6d 6d 3a 09 73 | 65 72 76 65 72 63 6f 6d |rcomm:.s|ervercom|
|00000d00| 6d 2e 63 0a 09 58 09 63 | 63 20 24 7b 43 46 4c 41 |m.c..X.c|c ${CFLA|
|00000d10| 47 53 7d 20 2d 4f 20 2d | 6f 20 73 65 72 76 65 72 |GS} -O -|o server|
|00000d20| 63 6f 6d 6d 20 73 65 72 | 76 65 72 63 6f 6d 6d 2e |comm ser|vercomm.|
|00000d30| 63 0a 09 58 0a 09 58 24 | 7b 4e 45 57 4c 49 42 44 |c..X..X$|{NEWLIBD|
|00000d40| 49 52 7d 2f 73 65 72 76 | 65 72 63 6f 6d 6d 3a 20 |IR}/serv|ercomm: |
|00000d50| 73 65 72 76 65 72 63 6f | 6d 6d 0a 09 58 09 73 74 |serverco|mm..X.st|
|00000d60| 72 69 70 20 73 65 72 76 | 65 72 63 6f 6d 6d 0a 09 |rip serv|ercomm..|
|00000d70| 58 09 6d 76 20 73 65 72 | 76 65 72 63 6f 6d 6d 20 |X.mv ser|vercomm |
|00000d80| 24 7b 4e 45 57 4c 49 42 | 44 49 52 7d 0a 09 58 09 |${NEWLIB|DIR}..X.|
|00000d90| 63 68 6d 6f 64 20 37 35 | 35 20 24 7b 4e 45 57 4c |chmod 75|5 ${NEWL|
|00000da0| 49 42 44 49 52 7d 2f 73 | 65 72 76 65 72 63 6f 6d |IBDIR}/s|ervercom|
|00000db0| 6d 0a 09 58 0a 09 58 74 | 65 73 74 3a 09 64 65 62 |m..X..Xt|est:.deb|
|00000dc0| 75 67 20 68 65 6c 6c 6f | 2e 70 73 0a 09 58 09 64 |ug hello|.ps..X.d|
|00000dd0| 65 62 75 67 20 2d 76 20 | 2d 78 20 2d 68 20 24 7b |ebug -v |-x -h ${|
|00000de0| 53 45 52 56 45 52 7d 20 | 2d 70 20 24 7b 50 4f 52 |SERVER} |-p ${POR|
|00000df0| 54 7d 20 2d 74 20 24 7b | 50 54 59 7d 20 24 7b 54 |T} -t ${|PTY} ${T|
|00000e00| 54 59 7d 20 2d 66 20 24 | 7b 4e 45 57 4c 49 42 44 |TY} -f $|{NEWLIBD|
|00000e10| 49 52 7d 2f 70 73 63 6f | 6d 6d 20 2d 50 20 24 7b |IR}/psco|mm -P ${|
|00000e20| 50 52 49 4e 54 45 52 7d | 20 2d 70 20 70 73 69 66 |PRINTER}| -p psif|
|00000e30| 20 2f 64 65 76 2f 74 74 | 79 20 3c 20 68 65 6c 6c | /dev/tt|y < hell|
|00000e40| 6f 2e 70 73 0a 09 58 23 | 64 65 62 75 67 20 2d 76 |o.ps..X#|debug -v|
|00000e50| 20 2d 78 20 2d 68 20 24 | 7b 53 45 52 56 45 52 7d | -x -h $|{SERVER}|
|00000e60| 20 2d 70 20 24 7b 50 4f | 52 54 7d 20 2d 74 20 24 | -p ${PO|RT} -t $|
|00000e70| 7b 50 54 59 7d 20 24 7b | 54 54 59 7d 20 2d 66 20 |{PTY} ${|TTY} -f |
|00000e80| 24 7b 50 53 4c 49 42 44 | 49 52 7d 2f 70 73 63 6f |${PSLIBD|IR}/psco|
|00000e90| 6d 6d 20 2d 50 20 24 7b | 50 52 49 4e 54 45 52 7d |mm -P ${|PRINTER}|
|00000ea0| 20 2d 70 20 70 73 69 66 | 20 2f 64 65 76 2f 74 74 | -p psif| /dev/tt|
|00000eb0| 79 20 3c 20 68 65 6c 6c | 6f 2e 70 73 0a 09 58 09 |y < hell|o.ps..X.|
|00000ec0| 0a 09 58 64 65 62 75 67 | 3a 09 73 65 72 76 65 72 |..Xdebug|:.server|
|00000ed0| 63 6f 6d 6d 2e 63 0a 09 | 58 09 63 63 20 24 7b 43 |comm.c..|X.cc ${C|
|00000ee0| 46 4c 41 47 53 7d 20 2d | 67 20 2d 44 44 45 42 55 |FLAGS} -|g -DDEBU|
|00000ef0| 47 20 2d 44 44 55 4d 50 | 20 2d 6f 20 64 65 62 75 |G -DDUMP| -o debu|
|00000f00| 67 20 73 65 72 76 65 72 | 63 6f 6d 6d 2e 63 0a 09 |g server|comm.c..|
|00000f10| 58 0a 09 58 66 69 6c 74 | 65 72 73 3a 20 24 7b 4e |X..Xfilt|ers: ${N|
|00000f20| 45 57 4c 49 42 44 49 52 | 7d 20 24 7b 4e 45 57 4c |EWLIBDIR|} ${NEWL|
|00000f30| 49 42 44 49 52 7d 2f 70 | 73 69 6e 74 2e 73 68 0a |IBDIR}/p|sint.sh.|
|00000f40| 09 58 09 6c 6e 20 24 7b | 4e 45 57 4c 49 42 44 49 |.X.ln ${|NEWLIBDI|
|00000f50| 52 7d 2f 70 73 69 6e 74 | 2e 73 68 20 24 7b 4e 45 |R}/psint|.sh ${NE|
|00000f60| 57 4c 49 42 44 49 52 7d | 2f 70 73 6f 66 0a 09 58 |WLIBDIR}|/psof..X|
|00000f70| 09 6c 6e 20 24 7b 4e 45 | 57 4c 49 42 44 49 52 7d |.ln ${NE|WLIBDIR}|
|00000f80| 2f 70 73 69 6e 74 2e 73 | 68 20 24 7b 4e 45 57 4c |/psint.s|h ${NEWL|
|00000f90| 49 42 44 49 52 7d 2f 70 | 73 69 66 0a 09 58 09 6c |IBDIR}/p|sif..X.l|
|00000fa0| 6e 20 24 7b 4e 45 57 4c | 49 42 44 49 52 7d 2f 70 |n ${NEWL|IBDIR}/p|
|00000fb0| 73 69 6e 74 2e 73 68 20 | 24 7b 4e 45 57 4c 49 42 |sint.sh |${NEWLIB|
|00000fc0| 44 49 52 7d 2f 70 73 67 | 66 0a 09 58 09 6c 6e 20 |DIR}/psg|f..X.ln |
|00000fd0| 24 7b 4e 45 57 4c 49 42 | 44 49 52 7d 2f 70 73 69 |${NEWLIB|DIR}/psi|
|00000fe0| 6e 74 2e 73 68 20 24 7b | 4e 45 57 4c 49 42 44 49 |nt.sh ${|NEWLIBDI|
|00000ff0| 52 7d 2f 70 73 6e 66 0a | 09 58 09 6c 6e 20 24 7b |R}/psnf.|.X.ln ${|
|00001000| 4e 45 57 4c 49 42 44 49 | 52 7d 2f 70 73 69 6e 74 |NEWLIBDI|R}/psint|
|00001010| 2e 73 68 20 24 7b 4e 45 | 57 4c 49 42 44 49 52 7d |.sh ${NE|WLIBDIR}|
|00001020| 2f 70 73 74 66 0a 09 58 | 09 6c 6e 20 24 7b 4e 45 |/pstf..X|.ln ${NE|
|00001030| 57 4c 49 42 44 49 52 7d | 2f 70 73 69 6e 74 2e 73 |WLIBDIR}|/psint.s|
|00001040| 68 20 24 7b 4e 45 57 4c | 49 42 44 49 52 7d 2f 70 |h ${NEWL|IBDIR}/p|
|00001050| 73 72 66 0a 09 58 09 6c | 6e 20 24 7b 4e 45 57 4c |srf..X.l|n ${NEWL|
|00001060| 49 42 44 49 52 7d 2f 70 | 73 69 6e 74 2e 73 68 20 |IBDIR}/p|sint.sh |
|00001070| 24 7b 4e 45 57 4c 49 42 | 44 49 52 7d 2f 70 73 76 |${NEWLIB|DIR}/psv|
|00001080| 66 0a 09 58 09 6c 6e 20 | 24 7b 4e 45 57 4c 49 42 |f..X.ln |${NEWLIB|
|00001090| 44 49 52 7d 2f 70 73 69 | 6e 74 2e 73 68 20 24 7b |DIR}/psi|nt.sh ${|
|000010a0| 4e 45 57 4c 49 42 44 49 | 52 7d 2f 70 73 63 66 0a |NEWLIBDI|R}/pscf.|
|000010b0| 09 58 09 6c 6e 20 24 7b | 4e 45 57 4c 49 42 44 49 |.X.ln ${|NEWLIBDI|
|000010c0| 52 7d 2f 70 73 69 6e 74 | 2e 73 68 20 24 7b 4e 45 |R}/psint|.sh ${NE|
|000010d0| 57 4c 49 42 44 49 52 7d | 2f 70 73 64 66 0a 09 58 |WLIBDIR}|/psdf..X|
|000010e0| 0a 09 58 24 7b 4e 45 57 | 4c 49 42 44 49 52 7d 2f |..X${NEW|LIBDIR}/|
|000010f0| 70 73 69 6e 74 2e 73 68 | 3a 20 24 7b 50 53 4c 49 |psint.sh|: ${PSLI|
|00001100| 42 44 49 52 7d 2f 70 73 | 69 6e 74 2e 73 68 20 24 |BDIR}/ps|int.sh $|
|00001110| 7b 4e 45 57 4c 49 42 44 | 49 52 7d 20 64 69 66 66 |{NEWLIBD|IR} diff|
|00001120| 73 0a 09 58 09 63 70 20 | 24 7b 50 53 4c 49 42 44 |s..X.cp |${PSLIBD|
|00001130| 49 52 7d 2f 70 73 69 6e | 74 2e 73 68 20 24 7b 4e |IR}/psin|t.sh ${N|
|00001140| 45 57 4c 49 42 44 49 52 | 7d 0a 09 58 09 63 68 6d |EWLIBDIR|}..X.chm|
|00001150| 6f 64 20 37 35 35 20 24 | 7b 4e 45 57 4c 49 42 44 |od 755 $|{NEWLIBD|
|00001160| 49 52 7d 2f 70 73 69 6e | 74 2e 73 68 0a 09 58 09 |IR}/psin|t.sh..X.|
|00001170| 70 61 74 63 68 20 24 7b | 4e 45 57 4c 49 42 44 49 |patch ${|NEWLIBDI|
|00001180| 52 7d 2f 70 73 69 6e 74 | 2e 73 68 20 64 69 66 66 |R}/psint|.sh diff|
|00001190| 73 0a 09 58 0a 09 58 24 | 7b 4e 45 57 4c 49 42 44 |s..X..X$|{NEWLIBD|
|000011a0| 49 52 7d 3a 0a 09 58 09 | 6d 6b 64 69 72 20 24 7b |IR}:..X.|mkdir ${|
|000011b0| 4e 45 57 4c 49 42 44 49 | 52 7d 0a 09 58 09 63 68 |NEWLIBDI|R}..X.ch|
|000011c0| 6d 6f 64 20 37 35 35 20 | 24 7b 4e 45 57 4c 49 42 |mod 755 |${NEWLIB|
|000011d0| 44 49 52 7d 0a 09 58 0a | 09 58 64 69 66 66 73 3a |DIR}..X.|.Xdiffs:|
|000011e0| 0a 09 58 09 65 63 68 6f | 20 22 36 37 63 36 37 2c |..X.echo| "67c67,|
|000011f0| 36 38 22 20 3e 20 64 69 | 66 66 73 0a 09 58 09 65 |68" > di|ffs..X.e|
|00001200| 63 68 6f 20 22 3c 20 63 | 6f 6d 6d 3d 5c 22 5c 24 |cho "< c|omm=\"\$|
|00001210| 24 50 53 43 4f 4d 4d 20 | 2d 50 20 5c 24 24 70 6e |$PSCOMM |-P \$$pn|
|00001220| 61 6d 65 20 2d 70 20 5c | 24 24 70 72 6f 67 20 2d |ame -p \|$$prog -|
|00001230| 6e 20 5c 24 24 75 73 65 | 72 20 2d 68 20 5c 24 24 |n \$$use|r -h \$$|
|00001240| 68 6f 73 74 20 5c 24 24 | 61 66 69 6c 65 5c 22 22 |host \$$|afile\""|
|00001250| 20 3e 3e 20 64 69 66 66 | 73 0a 09 58 09 65 63 68 | >> diff|s..X.ech|
|00001260| 6f 20 22 2d 2d 2d 22 20 | 3e 3e 20 64 69 66 66 73 |o "---" |>> diffs|
|00001270| 0a 09 58 09 65 63 68 6f | 20 22 3e 20 66 69 6c 74 |..X.echo| "> filt|
|00001280| 65 72 3d 5c 22 5c 24 24 | 50 53 43 4f 4d 4d 20 2d |er=\"\$$|PSCOMM -|
|00001290| 50 20 5c 24 24 70 6e 61 | 6d 65 20 2d 70 20 5c 24 |P \$$pna|me -p \$|
|000012a0| 24 70 72 6f 67 20 2d 6e | 20 5c 24 24 75 73 65 72 |$prog -n| \$$user|
|000012b0| 20 2d 68 20 5c 24 24 68 | 6f 73 74 20 5c 24 24 61 | -h \$$h|ost \$$a|
|000012c0| 66 69 6c 65 5c 22 22 20 | 3e 3e 20 64 69 66 66 73 |file\"" |>> diffs|
|000012d0| 0a 09 58 09 65 63 68 6f | 20 22 3e 20 63 6f 6d 6d |..X.echo| "> comm|
|000012e0| 3d 5c 22 73 65 72 76 65 | 72 63 6f 6d 6d 20 2d 68 |=\"serve|rcomm -h|
|000012f0| 20 24 7b 53 45 52 56 45 | 52 7d 20 2d 70 20 24 7b | ${SERVE|R} -p ${|
|00001300| 50 4f 52 54 7d 20 2d 74 | 20 24 7b 50 54 59 7d 20 |PORT} -t| ${PTY} |
|00001310| 24 7b 54 54 59 7d 20 2d | 66 20 5c 24 24 66 69 6c |${TTY} -|f \$$fil|
|00001320| 74 65 72 5c 22 22 20 3e | 3e 20 64 69 66 66 73 0a |ter\"" >|> diffs.|
|00001330| 09 58 0a 09 58 70 72 69 | 6e 74 63 61 70 3a 0a 09 |.X..Xpri|ntcap:..|
|00001340| 58 09 65 63 68 6f 20 22 | 24 7b 50 52 49 4e 54 45 |X.echo "|${PRINTE|
|00001350| 52 7d 7c 4c 61 73 65 72 | 57 72 69 74 65 72 20 6f |R}|Laser|Writer o|
|00001360| 6e 20 63 6f 6d 6d 75 6e | 69 63 61 74 69 6f 6e 20 |n commun|ication |
|00001370| 73 65 72 76 65 72 20 24 | 7b 53 45 52 56 45 52 7d |server $|{SERVER}|
|00001380| 20 50 6f 72 74 20 24 7b | 50 4f 52 54 7d 3a 5c 5c | Port ${|PORT}:\\|
|00001390| 22 20 3e 20 70 72 69 6e | 74 63 61 70 0a 09 58 09 |" > prin|tcap..X.|
|000013a0| 65 63 68 6f 20 22 09 3a | 6c 70 3d 24 7b 4e 45 57 |echo ".:|lp=${NEW|
|000013b0| 4c 49 42 44 49 52 7d 2f | 24 7b 50 52 49 4e 54 45 |LIBDIR}/|${PRINTE|
|000013c0| 52 7d 3a 73 64 3d 24 7b | 4e 45 57 53 50 4f 4f 4c |R}:sd=${|NEWSPOOL|
|000013d0| 44 49 52 7d 3a 5c 5c 22 | 20 3e 3e 20 70 72 69 6e |DIR}:\\"| >> prin|
|000013e0| 74 63 61 70 0a 09 58 09 | 65 63 68 6f 20 22 09 3a |tcap..X.|echo ".:|
|000013f0| 6c 66 3d 24 7b 4e 45 57 | 53 50 4f 4f 4c 44 49 52 |lf=${NEW|SPOOLDIR|
|00001400| 7d 2f 6c 77 2d 6c 6f 67 | 3a 61 66 3d 2f 75 73 72 |}/lw-log|:af=/usr|
|00001410| 2f 61 64 6d 2f 6c 77 2e | 61 63 63 74 3a 5c 5c 22 |/adm/lw.|acct:\\"|
|00001420| 20 3e 3e 20 70 72 69 6e | 74 63 61 70 0a 09 58 09 | >> prin|tcap..X.|
|00001430| 65 63 68 6f 20 22 09 3a | 6d 78 23 30 3a 73 66 3a |echo ".:|mx#0:sf:|
|00001440| 73 62 3a 5c 5c 22 20 3e | 3e 20 70 72 69 6e 74 63 |sb:\\" >|> printc|
|00001450| 61 70 0a 09 58 09 65 63 | 68 6f 20 22 09 3a 69 66 |ap..X.ec|ho ".:if|
|00001460| 3d 24 7b 4e 45 57 4c 49 | 42 44 49 52 7d 2f 70 73 |=${NEWLI|BDIR}/ps|
|00001470| 69 66 3a 5c 5c 22 20 3e | 3e 20 70 72 69 6e 74 63 |if:\\" >|> printc|
|00001480| 61 70 0a 09 58 09 65 63 | 68 6f 20 22 09 3a 6f 66 |ap..X.ec|ho ".:of|
|00001490| 3d 24 7b 4e 45 57 4c 49 | 42 44 49 52 7d 2f 70 73 |=${NEWLI|BDIR}/ps|
|000014a0| 6f 66 3a 67 66 3d 24 7b | 4e 45 57 4c 49 42 44 49 |of:gf=${|NEWLIBDI|
|000014b0| 52 7d 2f 70 73 67 66 3a | 5c 5c 22 20 3e 3e 20 70 |R}/psgf:|\\" >> p|
|000014c0| 72 69 6e 74 63 61 70 0a | 09 58 09 65 63 68 6f 20 |rintcap.|.X.echo |
|000014d0| 22 09 3a 6e 66 3d 24 7b | 4e 45 57 4c 49 42 44 49 |".:nf=${|NEWLIBDI|
|000014e0| 52 7d 2f 70 73 6e 66 3a | 74 66 3d 24 7b 4e 45 57 |R}/psnf:|tf=${NEW|
|000014f0| 4c 49 42 44 49 52 7d 2f | 70 73 74 66 3a 5c 5c 22 |LIBDIR}/|pstf:\\"|
|00001500| 20 3e 3e 20 70 72 69 6e | 74 63 61 70 0a 09 58 09 | >> prin|tcap..X.|
|00001510| 65 63 68 6f 20 22 09 3a | 72 66 3d 24 7b 4e 45 57 |echo ".:|rf=${NEW|
|00001520| 4c 49 42 44 49 52 7d 2f | 70 73 72 66 3a 76 66 3d |LIBDIR}/|psrf:vf=|
|00001530| 24 7b 4e 45 57 4c 49 42 | 44 49 52 7d 2f 70 73 76 |${NEWLIB|DIR}/psv|
|00001540| 66 3a 5c 5c 22 20 3e 3e | 20 70 72 69 6e 74 63 61 |f:\\" >>| printca|
|00001550| 70 0a 09 58 09 65 63 68 | 6f 20 22 09 3a 63 66 3d |p..X.ech|o ".:cf=|
|00001560| 24 7b 4e 45 57 4c 49 42 | 44 49 52 7d 2f 70 73 63 |${NEWLIB|DIR}/psc|
|00001570| 66 3a 64 66 3d 24 7b 4e | 45 57 4c 49 42 44 49 52 |f:df=${N|EWLIBDIR|
|00001580| 7d 2f 70 73 64 66 3a 22 | 20 3e 3e 20 70 72 69 6e |}/psdf:"| >> prin|
|00001590| 74 63 61 70 0a 09 58 0a | 09 58 0a 09 58 70 72 69 |tcap..X.|.X..Xpri|
|000015a0| 6e 74 63 61 70 2e 72 65 | 6d 6f 74 65 3a 0a 09 58 |ntcap.re|mote:..X|
|000015b0| 09 65 63 68 6f 20 22 24 | 7b 50 52 49 4e 54 45 52 |.echo "$|{PRINTER|
|000015c0| 7d 7c 52 65 6d 6f 74 65 | 20 4c 61 73 65 72 57 72 |}|Remote| LaserWr|
|000015d0| 69 74 65 72 20 6f 6e 20 | 48 6f 73 74 20 24 7b 48 |iter on |Host ${H|
|000015e0| 4f 53 54 7d 20 63 6f 6d | 6d 75 6e 69 63 61 74 69 |OST} com|municati|
|000015f0| 6f 6e 20 73 65 72 76 65 | 72 20 24 7b 53 45 52 56 |on serve|r ${SERV|
|00001600| 45 52 7d 20 50 6f 72 74 | 20 24 7b 50 4f 52 54 7d |ER} Port| ${PORT}|
|00001610| 3a 5c 5c 22 20 3e 20 70 | 72 69 6e 74 63 61 70 2e |:\\" > p|rintcap.|
|00001620| 72 65 6d 6f 74 65 0a 09 | 58 09 65 63 68 6f 20 22 |remote..|X.echo "|
|00001630| 09 3a 6c 70 3d 3a 72 6d | 3d 24 7b 48 4f 53 54 7d |.:lp=:rm|=${HOST}|
|00001640| 3a 72 70 3d 24 7b 50 52 | 49 4e 54 45 52 7d 3a 73 |:rp=${PR|INTER}:s|
|00001650| 64 3d 24 7b 4e 45 57 53 | 50 4f 4f 4c 44 49 52 7d |d=${NEWS|POOLDIR}|
|00001660| 3a 22 20 3e 3e 20 70 72 | 69 6e 74 63 61 70 2e 72 |:" >> pr|intcap.r|
|00001670| 65 6d 6f 74 65 0a 09 58 | 0a 09 58 73 68 61 72 66 |emote..X|..Xsharf|
|00001680| 69 6c 65 3a 09 52 45 41 | 44 4d 45 20 4d 61 6b 65 |ile:.REA|DME Make|
|00001690| 66 69 6c 65 20 73 65 72 | 76 65 72 63 6f 6d 6d 2e |file ser|vercomm.|
|000016a0| 38 6c 20 73 65 72 76 65 | 72 63 6f 6d 6d 2e 63 20 |8l serve|rcomm.c |
|000016b0| 68 65 6c 6c 6f 2e 70 73 | 20 65 78 61 6d 70 6c 65 |hello.ps| example|
|000016c0| 0a 09 58 09 73 68 61 72 | 20 52 45 41 44 4d 45 20 |..X.shar| README |
|000016d0| 4d 61 6b 65 66 69 6c 65 | 20 73 65 72 76 65 72 63 |Makefile| serverc|
|000016e0| 6f 6d 6d 2e 38 6c 20 73 | 65 72 76 65 72 63 6f 6d |omm.8l s|ervercom|
|000016f0| 6d 2e 63 20 68 65 6c 6c | 6f 2e 70 73 20 65 78 61 |m.c hell|o.ps exa|
|00001700| 6d 70 6c 65 20 3e 20 73 | 68 61 72 66 69 6c 65 0a |mple > s|harfile.|
|00001710| 53 48 41 52 5f 45 4f 46 | 0a 69 66 20 74 65 73 74 |SHAR_EOF|.if test|
|00001720| 20 34 34 32 32 20 2d 6e | 65 20 22 60 77 63 20 2d | 4422 -n|e "`wc -|
|00001730| 63 20 3c 20 27 4d 61 6b | 65 66 69 6c 65 27 60 22 |c < 'Mak|efile'`"|
|00001740| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00001750| 3a 20 65 72 72 6f 72 20 | 74 72 61 6e 73 6d 69 74 |: error |transmit|
|00001760| 74 69 6e 67 20 22 27 4d | 61 6b 65 66 69 6c 65 27 |ting "'M|akefile'|
|00001770| 22 20 27 28 73 68 6f 75 | 6c 64 20 68 61 76 65 20 |" '(shou|ld have |
|00001780| 62 65 65 6e 20 34 34 32 | 32 20 63 68 61 72 61 63 |been 442|2 charac|
|00001790| 74 65 72 73 29 27 0a 66 | 69 0a 66 69 20 23 20 65 |ters)'.f|i.fi # e|
|000017a0| 6e 64 20 6f 66 20 6f 76 | 65 72 77 72 69 74 69 6e |nd of ov|erwritin|
|000017b0| 67 20 63 68 65 63 6b 0a | 65 63 68 6f 20 73 68 61 |g check.|echo sha|
|000017c0| 72 3a 20 65 78 74 72 61 | 63 74 69 6e 67 20 22 27 |r: extra|cting "'|
|000017d0| 52 45 41 44 4d 45 27 22 | 20 27 28 33 33 39 30 20 |README'"| '(3390 |
|000017e0| 63 68 61 72 61 63 74 65 | 72 73 29 27 0a 69 66 20 |characte|rs)'.if |
|000017f0| 74 65 73 74 20 2d 66 20 | 27 52 45 41 44 4d 45 27 |test -f |'README'|
|00001800| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00001810| 3a 20 77 69 6c 6c 20 6e | 6f 74 20 6f 76 65 72 2d |: will n|ot over-|
|00001820| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 20 66 |write ex|isting f|
|00001830| 69 6c 65 20 22 27 52 45 | 41 44 4d 45 27 22 0a 65 |ile "'RE|ADME'".e|
|00001840| 6c 73 65 0a 73 65 64 20 | 27 73 2f 5e 09 58 2f 2f |lse.sed |'s/^.X//|
|00001850| 27 20 3c 3c 20 5c 53 48 | 41 52 5f 45 4f 46 20 3e |' << \SH|AR_EOF >|
|00001860| 20 27 52 45 41 44 4d 45 | 27 0a 09 58 4d 61 6e 69 | 'README|'..XMani|
|00001870| 66 65 73 74 0a 09 58 2d | 2d 2d 2d 2d 2d 2d 2d 0a |fest..X-|-------.|
|00001880| 09 58 0a 09 58 4d 61 6b | 65 66 69 6c 65 09 09 69 |.X..XMak|efile..i|
|00001890| 6e 73 74 61 6c 6c 61 74 | 69 6f 6e 20 6d 61 6b 65 |nstallat|ion make|
|000018a0| 66 69 6c 65 0a 09 58 73 | 65 72 76 65 72 63 6f 6d |file..Xs|ervercom|
|000018b0| 6d 2e 38 6c 09 09 6d 61 | 6e 75 61 6c 20 70 61 67 |m.8l..ma|nual pag|
|000018c0| 65 0a 09 58 73 65 72 76 | 65 72 63 6f 6d 6d 2e 63 |e..Xserv|ercomm.c|
|000018d0| 09 09 73 6f 75 72 63 65 | 20 63 6f 64 65 0a 09 58 |..source| code..X|
|000018e0| 68 65 6c 6c 6f 2e 70 73 | 09 09 50 6f 73 74 73 63 |hello.ps|..Postsc|
|000018f0| 72 69 70 74 20 22 48 65 | 6c 6c 6f 2c 20 57 6f 72 |ript "He|llo, Wor|
|00001900| 6c 64 22 20 74 65 73 74 | 20 66 69 6c 65 0a 09 58 |ld" test| file..X|
|00001910| 65 78 61 6d 70 6c 65 09 | 09 09 53 61 6d 70 6c 65 |example.|..Sample|
|00001920| 20 6f 75 74 70 75 74 20 | 66 72 6f 6d 20 63 6f 6e | output |from con|
|00001930| 66 69 67 75 72 61 74 69 | 6f 6e 20 6f 66 20 33 63 |figurati|on of 3c|
|00001940| 6f 6d 20 43 6f 6d 6d 20 | 53 65 72 76 65 72 0a 09 |om Comm |Server..|
|00001950| 58 52 45 41 44 4d 45 09 | 09 09 54 68 69 73 20 66 |XREADME.|..This f|
|00001960| 69 6c 65 0a 09 58 0a 09 | 58 54 72 6f 75 62 6c 65 |ile..X..|XTrouble|
|00001970| 73 68 6f 6f 74 69 6e 67 | 20 74 68 65 20 63 6f 6e |shooting| the con|
|00001980| 6e 65 63 74 69 6f 6e 20 | 74 6f 20 74 68 65 20 73 |nection |to the s|
|00001990| 65 72 76 65 72 0a 09 58 | 2d 2d 2d 2d 2d 2d 2d 2d |erver..X|--------|
|000019a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000019b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000019c0| 2d 2d 2d 2d 0a 09 58 0a | 09 58 30 29 20 59 6f 75 |----..X.|.X0) You|
|000019d0| 20 6d 61 79 20 77 61 6e | 74 20 74 6f 20 64 6f 20 | may wan|t to do |
|000019e0| 74 68 69 73 20 66 69 72 | 73 74 2c 20 62 65 66 6f |this fir|st, befo|
|000019f0| 72 65 20 64 6f 69 6e 67 | 20 74 68 65 20 73 6f 66 |re doing| the sof|
|00001a00| 74 77 61 72 65 20 69 6e | 73 74 61 6c 6c 61 74 69 |tware in|stallati|
|00001a10| 6f 6e 2e 0a 09 58 0a 09 | 58 31 29 20 4b 69 6c 6c |on...X..|X1) Kill|
|00001a20| 20 74 68 65 20 6c 70 64 | 20 64 61 65 6d 6f 6e 20 | the lpd| daemon |
|00001a30| 73 65 72 76 69 63 69 6e | 67 20 79 6f 75 72 20 4c |servicin|g your L|
|00001a40| 61 73 65 72 77 72 69 74 | 65 72 20 6f 6e 20 74 68 |aserwrit|er on th|
|00001a50| 65 20 73 65 72 76 65 72 | 2c 20 69 66 0a 09 58 79 |e server|, if..Xy|
|00001a60| 6f 75 27 72 65 20 74 72 | 6f 75 62 6c 65 73 68 6f |ou're tr|oublesho|
|00001a70| 6f 74 69 6e 67 20 61 66 | 74 65 72 20 69 6e 73 74 |oting af|ter inst|
|00001a80| 61 6c 6c 69 6e 67 20 74 | 68 69 73 20 6b 69 74 2e |alling t|his kit.|
|00001a90| 0a 09 58 0a 09 58 32 29 | 20 50 72 6f 76 69 64 65 |..X..X2)| Provide|
|00001aa0| 64 20 79 6f 75 27 76 65 | 20 61 6c 72 65 61 64 79 |d you've| already|
|00001ab0| 20 73 65 74 75 70 20 74 | 68 65 20 70 6f 72 74 20 | setup t|he port |
|00001ac0| 6f 6e 20 74 68 65 20 63 | 6f 6d 6d 75 6e 69 63 61 |on the c|ommunica|
|00001ad0| 74 69 6f 6e 73 20 73 65 | 72 76 65 72 0a 09 58 66 |tions se|rver..Xf|
|00001ae0| 6f 72 20 79 6f 75 72 20 | 4c 61 73 65 72 77 72 69 |or your |Laserwri|
|00001af0| 74 65 72 2c 20 74 65 6c | 6e 65 74 20 74 6f 20 74 |ter, tel|net to t|
|00001b00| 68 65 20 70 6f 72 74 2e | 0a 09 58 0a 09 58 33 29 |he port.|..X..X3)|
|00001b10| 20 49 66 20 79 6f 75 20 | 67 65 74 20 74 68 72 6f | If you |get thro|
|00001b20| 75 67 68 20 74 68 65 20 | 70 6f 72 74 20 74 6f 20 |ugh the |port to |
|00001b30| 74 68 65 20 4c 61 73 65 | 72 77 72 69 74 65 72 2c |the Lase|rwriter,|
|00001b40| 20 74 79 70 65 20 74 68 | 65 20 50 6f 73 74 73 63 | type th|e Postsc|
|00001b50| 72 69 70 74 0a 09 58 63 | 6f 6d 6d 61 6e 64 20 22 |ript..Xc|ommand "|
|00001b60| 65 78 65 63 75 74 69 76 | 65 22 20 61 6e 64 20 73 |executiv|e" and s|
|00001b70| 65 65 20 77 68 61 74 20 | 74 68 65 20 4c 61 73 65 |ee what |the Lase|
|00001b80| 72 77 72 69 74 65 72 20 | 73 61 79 73 2e 20 59 6f |rwriter |says. Yo|
|00001b90| 75 20 73 68 6f 75 6c 64 | 20 73 65 65 20 61 0a 09 |u should| see a..|
|00001ba0| 58 22 50 53 3e 22 20 70 | 72 6f 6d 70 74 2e 20 20 |X"PS>" p|rompt. |
|00001bb0| 49 66 20 74 68 65 20 4c | 61 73 65 72 77 72 69 74 |If the L|aserwrit|
|00001bc0| 65 72 20 72 65 73 70 6f | 6e 64 73 2c 20 74 68 65 |er respo|nds, the|
|00001bd0| 6e 20 74 68 65 20 70 68 | 79 73 69 63 61 6c 0a 09 |n the ph|ysical..|
|00001be0| 58 63 6f 6e 6e 65 63 74 | 69 6f 6e 20 61 74 20 6c |Xconnect|ion at l|
|00001bf0| 65 61 73 74 20 69 73 20 | 67 6f 6f 64 2e 20 54 79 |east is |good. Ty|
|00001c00| 70 65 20 22 71 75 69 74 | 22 20 74 6f 20 67 65 74 |pe "quit|" to get|
|00001c10| 20 6f 75 74 20 6f 66 20 | 65 78 65 63 75 74 69 76 | out of |executiv|
|00001c20| 65 20 6d 6f 64 65 0a 09 | 58 6f 6e 20 74 68 65 20 |e mode..|Xon the |
|00001c30| 4c 61 73 65 72 77 72 69 | 74 65 72 2e 0a 09 58 0a |Laserwri|ter...X.|
|00001c40| 09 58 34 29 20 41 73 20 | 75 73 75 61 6c 2c 20 63 |.X4) As |usual, c|
|00001c50| 68 65 63 6b 20 74 68 65 | 20 6d 6f 64 65 73 20 61 |heck the| modes a|
|00001c60| 6e 64 20 6f 77 6e 65 72 | 73 68 69 70 73 20 6f 66 |nd owner|ships of|
|00001c70| 20 74 68 65 20 64 69 72 | 65 63 74 6f 72 69 65 73 | the dir|ectories|
|00001c80| 20 61 6e 64 0a 09 58 65 | 73 70 65 63 69 61 6c 6c | and..Xe|speciall|
|00001c90| 79 20 74 68 65 20 70 73 | 65 75 64 6f 20 6d 61 73 |y the ps|eudo mas|
|00001ca0| 74 65 72 20 61 6e 64 20 | 73 6c 61 76 65 20 74 65 |ter and |slave te|
|00001cb0| 72 6d 69 6e 61 6c 73 20 | 69 6e 20 2f 64 65 76 2e |rminals |in /dev.|
|00001cc0| 0a 09 58 0a 09 58 35 29 | 20 45 64 69 74 20 74 68 |..X..X5)| Edit th|
|00001cd0| 65 20 4d 61 6b 65 66 69 | 6c 65 2c 20 73 65 74 74 |e Makefi|le, sett|
|00001ce0| 69 6e 67 20 74 68 65 20 | 76 61 72 69 6f 75 73 20 |ing the |various |
|00001cf0| 76 61 72 69 61 62 6c 65 | 73 20 74 6f 20 6d 65 61 |variable|s to mea|
|00001d00| 6e 69 6e 67 66 75 6c 0a | 09 58 76 61 6c 75 65 73 |ningful.|.Xvalues|
|00001d10| 2e 20 54 68 65 6e 2c 20 | 22 6d 61 6b 65 20 74 65 |. Then, |"make te|
|00001d20| 73 74 22 2c 20 61 6e 64 | 20 74 68 65 20 4d 61 6b |st", and| the Mak|
|00001d30| 65 66 69 6c 65 20 77 69 | 6c 6c 20 63 6f 6d 70 69 |efile wi|ll compi|
|00001d40| 6c 65 20 61 20 76 65 72 | 73 69 6f 6e 20 6f 66 0a |le a ver|sion of.|
|00001d50| 09 58 73 65 72 76 65 72 | 63 6f 6d 6d 20 69 6e 20 |.Xserver|comm in |
|00001d60| 74 68 65 20 63 75 72 72 | 65 6e 74 20 64 69 72 65 |the curr|ent dire|
|00001d70| 63 74 6f 72 79 20 77 69 | 74 68 20 74 68 65 20 64 |ctory wi|th the d|
|00001d80| 65 62 75 67 67 69 6e 67 | 20 63 6f 64 65 20 69 6e |ebugging| code in|
|00001d90| 2c 20 61 6e 64 20 74 68 | 65 6e 0a 09 58 72 75 6e |, and th|en..Xrun|
|00001da0| 20 74 68 65 20 64 65 62 | 75 67 20 76 65 72 73 69 | the deb|ug versi|
|00001db0| 6f 6e 20 69 6e 20 76 65 | 72 62 6f 73 65 20 6d 6f |on in ve|rbose mo|
|00001dc0| 64 65 2e 20 57 61 74 63 | 68 20 74 68 65 20 6f 75 |de. Watc|h the ou|
|00001dd0| 74 70 75 74 20 63 61 72 | 65 66 75 6c 6c 79 20 61 |tput car|efully a|
|00001de0| 6e 64 0a 09 58 6c 6f 6f | 6b 20 66 6f 72 20 63 6f |nd..Xloo|k for co|
|00001df0| 6d 70 6c 61 69 6e 74 73 | 20 66 72 6f 6d 20 73 65 |mplaints| from se|
|00001e00| 72 76 65 72 63 6f 6d 6d | 2e 20 59 6f 75 20 64 6f |rvercomm|. You do|
|00001e10| 20 6e 6f 74 20 68 61 76 | 65 20 74 6f 20 68 61 76 | not hav|e to hav|
|00001e20| 65 20 74 68 65 20 73 70 | 6f 6f 6c 0a 09 58 64 69 |e the sp|ool..Xdi|
|00001e30| 72 65 63 74 6f 72 79 2c | 20 6e 65 77 20 70 72 69 |rectory,| new pri|
|00001e40| 6e 74 20 66 69 6c 74 65 | 72 73 2c 20 6f 72 20 70 |nt filte|rs, or p|
|00001e50| 72 69 6e 74 63 61 70 20 | 62 75 69 6c 74 20 74 6f |rintcap |built to|
|00001e60| 20 64 6f 20 74 68 69 73 | 20 73 74 65 70 2e 20 59 | do this| step. Y|
|00001e70| 6f 75 20 44 4f 0a 09 58 | 68 61 76 65 20 74 6f 20 |ou DO..X|have to |
|00001e80| 68 61 76 65 20 74 68 65 | 20 76 61 72 69 61 62 6c |have the| variabl|
|00001e90| 65 73 20 69 6e 20 74 68 | 65 20 4d 61 6b 65 66 69 |es in th|e Makefi|
|00001ea0| 6c 65 20 73 65 74 20 61 | 70 70 72 6f 70 72 69 61 |le set a|ppropria|
|00001eb0| 74 65 6c 79 20 66 6f 72 | 20 79 6f 75 72 0a 09 58 |tely for| your..X|
|00001ec0| 73 69 74 65 2e 0a 09 58 | 0a 09 58 49 6e 73 74 61 |site...X|..XInsta|
|00001ed0| 6c 6c 61 74 69 6f 6e 20 | 53 74 65 70 73 20 66 6f |llation |Steps fo|
|00001ee0| 72 20 42 72 69 64 67 65 | 20 53 65 72 76 65 72 20 |r Bridge| Server |
|00001ef0| 61 6e 64 20 54 52 41 4e | 53 43 52 49 50 54 0a 09 |and TRAN|SCRIPT..|
|00001f00| 58 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |X-------|--------|
|00001f10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001f20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001f30| 2d 2d 2d 2d 0a 09 58 30 | 29 20 55 73 65 20 74 68 |----..X0|) Use th|
|00001f40| 65 20 4d 61 6b 65 66 69 | 6c 65 20 61 73 20 61 20 |e Makefi|le as a |
|00001f50| 6d 6f 64 65 6c 20 6f 66 | 20 77 68 61 74 20 74 6f |model of| what to|
|00001f60| 20 64 6f 2e 20 54 68 65 | 20 65 61 73 69 65 73 74 | do. The| easiest|
|00001f70| 20 74 68 69 6e 67 20 69 | 73 20 74 6f 0a 09 58 73 | thing i|s to..Xs|
|00001f80| 65 74 20 74 68 65 20 4d | 61 6b 65 66 69 6c 65 20 |et the M|akefile |
|00001f90| 76 61 72 69 61 62 6c 65 | 73 20 74 6f 20 6d 65 61 |variable|s to mea|
|00001fa0| 6e 69 6e 67 66 75 6c 20 | 76 61 6c 75 65 73 2c 20 |ningful |values, |
|00001fb0| 61 6e 64 20 74 68 65 6e | 20 75 73 65 20 74 68 65 |and then| use the|
|00001fc0| 0a 09 58 4d 61 6b 65 66 | 69 6c 65 20 6a 75 73 74 |..XMakef|ile just|
|00001fd0| 20 74 6f 20 6d 61 6b 65 | 20 73 6f 6d 65 20 61 6e | to make| some an|
|00001fe0| 63 69 6c 6c 61 72 79 20 | 66 69 6c 65 73 20 74 68 |cillary |files th|
|00001ff0| 61 74 20 79 6f 75 20 77 | 69 6c 6c 20 66 69 6e 64 |at you w|ill find|
|00002000| 20 75 73 65 66 75 6c 20 | 69 6e 0a 09 58 61 20 6d | useful |in..Xa m|
|00002010| 6f 6d 65 6e 74 2e 20 22 | 6d 61 6b 65 20 70 72 69 |oment. "|make pri|
|00002020| 6e 74 63 61 70 22 20 61 | 6e 64 20 20 22 6d 61 6b |ntcap" a|nd "mak|
|00002030| 65 20 64 69 66 66 73 22 | 20 77 69 6c 6c 20 6e 6f |e diffs"| will no|
|00002040| 74 20 63 68 61 6e 67 65 | 0a 09 58 61 6e 79 74 68 |t change|..Xanyth|
|00002050| 69 6e 67 20 69 6e 20 79 | 6f 75 72 20 73 79 73 74 |ing in y|our syst|
|00002060| 65 6d 2c 20 6a 75 73 74 | 20 6d 61 6b 65 20 73 6f |em, just| make so|
|00002070| 6d 65 20 66 69 6c 65 73 | 20 69 6e 20 74 68 65 20 |me files| in the |
|00002080| 63 75 72 72 65 6e 74 0a | 09 58 64 69 72 65 63 74 |current.|.Xdirect|
|00002090| 6f 72 79 2e 0a 09 58 0a | 09 58 31 29 20 43 6f 6d |ory...X.|.X1) Com|
|000020a0| 70 69 6c 65 20 73 65 72 | 76 65 72 63 6f 6d 6d 2e |pile ser|vercomm.|
|000020b0| 20 28 54 79 70 65 20 22 | 6d 61 6b 65 22 29 0a 09 | (Type "|make")..|
|000020c0| 58 0a 09 58 32 29 20 43 | 72 65 61 74 65 20 61 20 |X..X2) C|reate a |
|000020d0| 73 70 6f 6f 6c 20 64 69 | 72 65 63 74 6f 72 79 20 |spool di|rectory |
|000020e0| 66 6f 72 20 74 68 65 20 | 72 65 6d 6f 74 65 20 70 |for the |remote p|
|000020f0| 72 69 6e 74 65 72 2e 20 | 0a 09 58 0a 09 58 33 29 |rinter. |..X..X3)|
|00002100| 20 43 72 65 61 74 65 20 | 61 20 6e 65 77 20 64 69 | Create |a new di|
|00002110| 72 65 63 74 6f 72 79 20 | 74 6f 20 68 6f 6c 64 20 |rectory |to hold |
|00002120| 74 68 65 20 6d 6f 64 69 | 66 69 65 64 20 54 72 61 |the modi|fied Tra|
|00002130| 6e 73 63 72 69 70 74 20 | 66 69 6c 74 65 72 2e 0a |nscript |filter..|
|00002140| 09 58 41 6c 74 68 6f 75 | 67 68 20 74 68 65 72 65 |.XAlthou|gh there|
|00002150| 20 61 70 70 65 61 72 73 | 20 74 6f 20 62 65 20 73 | appears| to be s|
|00002160| 65 76 65 72 61 6c 20 66 | 69 6c 74 65 72 73 2c 20 |everal f|ilters, |
|00002170| 74 68 65 79 20 61 72 65 | 20 69 6e 20 66 61 63 74 |they are| in fact|
|00002180| 20 61 6c 6c 20 68 61 72 | 64 0a 09 58 6c 69 6e 6b | all har|d..Xlink|
|00002190| 73 20 74 6f 20 74 68 65 | 20 73 61 6d 65 20 73 68 |s to the| same sh|
|000021a0| 65 6c 6c 20 73 63 72 69 | 70 74 2e 20 43 6f 70 79 |ell scri|pt. Copy|
|000021b0| 20 74 68 65 20 54 72 61 | 6e 73 63 72 69 70 74 20 | the Tra|nscript |
|000021c0| 66 69 6c 74 65 72 20 70 | 73 69 6e 74 2e 73 68 20 |filter p|sint.sh |
|000021d0| 69 6e 74 6f 0a 09 58 74 | 68 69 73 20 64 69 72 65 |into..Xt|his dire|
|000021e0| 63 74 6f 72 79 2c 20 6d | 61 6b 65 20 74 68 65 20 |ctory, m|ake the |
|000021f0| 69 6e 64 69 63 61 74 65 | 64 20 63 68 61 6e 67 65 |indicate|d change|
|00002200| 73 20 69 6e 20 22 64 69 | 66 66 73 22 20 28 74 68 |s in "di|ffs" (th|
|00002210| 65 79 20 61 72 65 20 71 | 75 69 74 65 0a 09 58 73 |ey are q|uite..Xs|
|00002220| 6d 61 6c 6c 29 2c 20 61 | 6e 64 20 65 73 74 61 62 |mall), a|nd estab|
|00002230| 6c 69 73 68 20 61 6c 6c | 20 74 68 65 20 72 65 71 |lish all| the req|
|00002240| 75 69 73 69 74 65 20 68 | 61 72 64 20 6c 69 6e 6b |uisite h|ard link|
|00002250| 73 2e 20 53 69 6e 63 65 | 20 74 68 65 20 66 69 6c |s. Since| the fil|
|00002260| 74 65 72 73 0a 09 58 61 | 72 65 20 61 6c 6c 20 69 |ters..Xa|re all i|
|00002270| 6e 20 66 61 63 74 20 73 | 79 62 6f 6c 69 63 20 6c |n fact s|ybolic l|
|00002280| 69 6e 6b 73 20 74 6f 20 | 61 20 73 69 6e 67 6c 65 |inks to |a single|
|00002290| 20 66 69 6c 65 2c 20 74 | 68 65 20 6f 76 65 72 68 | file, t|he overh|
|000022a0| 65 61 64 20 69 6e 20 6d | 61 69 6e 74 61 69 6e 69 |ead in m|aintaini|
|000022b0| 6e 67 0a 09 58 61 20 73 | 65 70 61 72 61 74 65 20 |ng..Xa s|eparate |
|000022c0| 64 69 72 65 63 74 6f 72 | 79 20 66 6f 72 20 65 76 |director|y for ev|
|000022d0| 65 72 79 20 73 75 63 68 | 20 72 65 6d 6f 74 65 20 |ery such| remote |
|000022e0| 70 72 69 6e 74 65 72 20 | 69 73 20 6e 6f 74 20 68 |printer |is not h|
|000022f0| 69 67 68 2e 20 43 6f 70 | 79 20 73 65 72 76 65 72 |igh. Cop|y server|
|00002300| 63 6f 6d 6d 0a 09 58 74 | 6f 20 74 68 69 73 20 6e |comm..Xt|o this n|
|00002310| 65 77 20 64 69 72 65 63 | 74 6f 72 79 2e 20 28 54 |ew direc|tory. (T|
|00002320| 79 70 65 20 22 6d 61 6b | 65 20 66 69 6c 74 65 72 |ype "mak|e filter|
|00002330| 73 22 29 0a 09 58 0a 09 | 58 34 29 20 4d 61 6b 65 |s")..X..|X4) Make|
|00002340| 20 75 70 20 61 20 70 72 | 69 6e 74 63 61 70 20 65 | up a pr|intcap e|
|00002350| 6e 74 72 79 20 66 6f 72 | 20 74 68 65 20 72 65 6d |ntry for| the rem|
|00002360| 6f 74 65 20 70 72 69 6e | 74 65 72 20 61 6e 64 20 |ote prin|ter and |
|00002370| 69 6e 73 74 61 6c 6c 20 | 69 74 20 69 6e 0a 09 58 |install |it in..X|
|00002380| 74 68 65 20 2f 65 74 63 | 2f 70 72 69 6e 74 63 61 |the /etc|/printca|
|00002390| 70 20 66 69 6c 65 2e 20 | 55 73 65 20 22 70 72 69 |p file. |Use "pri|
|000023a0| 6e 74 63 61 70 22 2c 20 | 70 72 6f 64 75 63 65 64 |ntcap", |produced|
|000023b0| 20 62 79 20 74 68 65 20 | 4d 61 6b 65 66 69 6c 65 | by the |Makefile|
|000023c0| 2c 20 61 73 20 61 6e 0a | 09 58 65 78 61 6d 70 6c |, as an.|.Xexampl|
|000023d0| 65 2e 20 54 68 65 20 66 | 69 6c 74 65 72 73 20 73 |e. The f|ilters s|
|000023e0| 68 6f 75 6c 64 20 70 6f | 69 6e 74 20 74 6f 20 79 |hould po|int to y|
|000023f0| 6f 75 72 20 6e 65 77 20 | 6d 6f 64 69 66 69 65 64 |our new |modified|
|00002400| 20 66 69 6c 74 65 72 73 | 2e 20 54 68 65 0a 09 58 | filters|. The..X|
|00002410| 73 70 6f 6f 6c 20 61 72 | 65 61 20 73 68 6f 75 6c |spool ar|ea shoul|
|00002420| 64 20 70 6f 69 6e 74 20 | 74 6f 20 79 6f 75 72 20 |d point |to your |
|00002430| 6e 65 77 20 73 70 6f 6f | 6c 20 64 69 72 65 63 74 |new spoo|l direct|
|00002440| 6f 72 79 2e 20 54 68 65 | 20 64 65 76 69 63 65 20 |ory. The| device |
|00002450| 73 68 6f 75 6c 64 0a 09 | 58 70 6f 69 6e 74 20 74 |should..|Xpoint t|
|00002460| 6f 20 61 20 6e 75 6c 6c | 20 66 69 6c 65 20 28 61 |o a null| file (a|
|00002470| 6e 64 20 6e 6f 74 20 61 | 20 72 65 61 6c 20 64 65 |nd not a| real de|
|00002480| 76 69 63 65 29 2c 20 73 | 69 6e 63 65 20 73 65 72 |vice), s|ince ser|
|00002490| 76 65 72 63 6f 6d 6d 20 | 68 61 6e 64 6c 65 73 0a |vercomm |handles.|
|000024a0| 09 58 61 6c 6c 20 74 68 | 65 20 49 2f 4f 2e 0a 09 |.Xall th|e I/O...|
|000024b0| 58 0a 09 58 35 29 20 53 | 65 74 20 75 70 20 74 68 |X..X5) S|et up th|
|000024c0| 65 20 42 72 69 64 67 65 | 20 73 65 72 76 65 72 20 |e Bridge| server |
|000024d0| 62 79 20 61 73 73 69 67 | 6e 69 6e 67 20 61 6e 20 |by assig|ning an |
|000024e0| 49 50 20 61 64 64 72 65 | 73 73 20 74 6f 20 61 20 |IP addre|ss to a |
|000024f0| 70 6f 72 74 20 61 6e 64 | 0a 09 58 73 65 74 74 69 |port and|..Xsetti|
|00002500| 6e 67 20 74 68 65 20 70 | 6f 72 74 20 70 61 72 61 |ng the p|ort para|
|00002510| 6d 65 74 65 72 73 20 74 | 6f 20 74 68 6f 73 65 20 |meters t|o those |
|00002520| 69 6e 20 74 68 65 20 22 | 65 78 61 6d 70 6c 65 22 |in the "|example"|
|00002530| 20 66 69 6c 65 2e 0a 09 | 58 0a 09 58 36 29 20 48 | file...|X..X6) H|
|00002540| 6f 6f 6b 20 79 6f 75 72 | 20 4c 61 73 65 72 77 72 |ook your| Laserwr|
|00002550| 69 74 65 72 20 75 70 20 | 74 6f 20 74 68 65 20 42 |iter up |to the B|
|00002560| 72 69 64 67 65 20 73 65 | 72 76 65 72 20 74 6f 20 |ridge se|rver to |
|00002570| 74 68 65 20 70 6f 72 74 | 20 79 6f 75 20 6a 75 73 |the port| you jus|
|00002580| 74 20 0a 09 58 73 65 74 | 75 70 2e 0a 09 58 0a 09 |t ..Xset|up...X..|
|00002590| 58 37 29 20 54 72 79 20 | 70 72 69 6e 74 69 6e 67 |X7) Try |printing|
|000025a0| 20 75 73 69 6e 67 20 74 | 68 65 20 75 73 75 61 6c | using t|he usual|
|000025b0| 20 42 65 72 6b 65 6c 65 | 79 20 6c 70 72 20 63 6f | Berkele|y lpr co|
|000025c0| 6d 6d 61 6e 64 73 2e 20 | 20 4c 6f 6f 6b 20 69 6e |mmands. | Look in|
|000025d0| 20 6c 77 2d 6c 6f 67 0a | 09 58 69 6e 20 74 68 65 | lw-log.|.Xin the|
|000025e0| 20 73 70 6f 6f 6c 20 64 | 69 72 65 63 74 6f 72 79 | spool d|irectory|
|000025f0| 20 66 6f 72 20 65 72 72 | 6f 72 73 2e 20 55 6e 64 | for err|ors. Und|
|00002600| 65 72 20 53 75 6e 4f 53 | 20 34 2e 30 2c 20 79 6f |er SunOS| 4.0, yo|
|00002610| 75 20 6d 61 79 20 66 69 | 6e 64 20 74 68 65 73 65 |u may fi|nd these|
|00002620| 0a 09 58 65 72 72 6f 72 | 73 20 69 6e 20 2f 75 73 |..Xerror|s in /us|
|00002630| 72 2f 61 64 6d 2f 6c 70 | 64 2d 65 72 72 6f 72 73 |r/adm/lp|d-errors|
|00002640| 2e 0a 53 48 41 52 5f 45 | 4f 46 0a 69 66 20 74 65 |..SHAR_E|OF.if te|
|00002650| 73 74 20 33 33 39 30 20 | 2d 6e 65 20 22 60 77 63 |st 3390 |-ne "`wc|
|00002660| 20 2d 63 20 3c 20 27 52 | 45 41 44 4d 45 27 60 22 | -c < 'R|EADME'`"|
|00002670| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00002680| 3a 20 65 72 72 6f 72 20 | 74 72 61 6e 73 6d 69 74 |: error |transmit|
|00002690| 74 69 6e 67 20 22 27 52 | 45 41 44 4d 45 27 22 20 |ting "'R|EADME'" |
|000026a0| 27 28 73 68 6f 75 6c 64 | 20 68 61 76 65 20 62 65 |'(should| have be|
|000026b0| 65 6e 20 33 33 39 30 20 | 63 68 61 72 61 63 74 65 |en 3390 |characte|
|000026c0| 72 73 29 27 0a 66 69 0a | 66 69 20 23 20 65 6e 64 |rs)'.fi.|fi # end|
|000026d0| 20 6f 66 20 6f 76 65 72 | 77 72 69 74 69 6e 67 20 | of over|writing |
|000026e0| 63 68 65 63 6b 0a 65 63 | 68 6f 20 73 68 61 72 3a |check.ec|ho shar:|
|000026f0| 20 65 78 74 72 61 63 74 | 69 6e 67 20 22 27 65 78 | extract|ing "'ex|
|00002700| 61 6d 70 6c 65 27 22 20 | 27 28 31 30 32 36 20 63 |ample'" |'(1026 c|
|00002710| 68 61 72 61 63 74 65 72 | 73 29 27 0a 69 66 20 74 |haracter|s)'.if t|
|00002720| 65 73 74 20 2d 66 20 27 | 65 78 61 6d 70 6c 65 27 |est -f '|example'|
|00002730| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00002740| 3a 20 77 69 6c 6c 20 6e | 6f 74 20 6f 76 65 72 2d |: will n|ot over-|
|00002750| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 20 66 |write ex|isting f|
|00002760| 69 6c 65 20 22 27 65 78 | 61 6d 70 6c 65 27 22 0a |ile "'ex|ample'".|
|00002770| 65 6c 73 65 0a 73 65 64 | 20 27 73 2f 5e 09 58 2f |else.sed| 's/^.X/|
|00002780| 2f 27 20 3c 3c 20 5c 53 | 48 41 52 5f 45 4f 46 20 |/' << \S|HAR_EOF |
|00002790| 3e 20 27 65 78 61 6d 70 | 6c 65 27 0a 09 58 20 0a |> 'examp|le'..X .|
|000027a0| 09 58 63 73 2f 31 74 23 | 20 73 68 20 28 21 36 33 |.Xcs/1t#| sh (!63|
|000027b0| 29 20 64 70 0a 09 58 44 | 65 66 61 75 6c 74 50 61 |) dp..XD|efaultPa|
|000027c0| 72 61 6d 65 74 65 72 73 | 20 20 66 6f 72 20 50 6f |rameters| for Po|
|000027d0| 72 74 49 64 20 21 36 33 | 0a 09 58 2e 2e 2e 2e 2e |rtId !63|..X.....|
|000027e0| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 50 6f |........|......Po|
|000027f0| 72 74 20 54 72 61 6e 73 | 6d 69 73 73 69 6f 6e 20 |rt Trans|mission |
|00002800| 61 6e 64 20 56 54 50 20 | 43 68 61 72 61 63 74 65 |and VTP |Characte|
|00002810| 72 69 73 74 69 63 73 2e | 2e 2e 2e 2e 2e 2e 2e 2e |ristics.|........|
|00002820| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 0a 09 58 41 55 54 |........|....XAUT|
|00002830| 6f 44 69 73 63 6f 6e 6e | 65 63 74 20 3d 20 36 30 |oDisconn|ect = 60|
|00002840| 20 41 55 74 6f 4c 6f 67 | 6f 66 66 20 3d 20 4f 46 | AUtoLog|off = OF|
|00002850| 46 20 20 20 20 42 55 66 | 66 65 72 73 69 7a 65 20 |F BUf|fersize |
|00002860| 3d 20 38 32 0a 09 58 44 | 65 56 69 63 65 20 3d 20 |= 82..XD|eVice = |
|00002870| 28 20 48 6f 73 74 2c 20 | 47 6c 61 73 73 2c 20 44 |( Host, |Glass, D|
|00002880| 65 46 61 75 6c 74 20 29 | 20 20 20 20 20 20 20 50 |eFault )| P|
|00002890| 65 72 6d 61 6e 65 6e 74 | 56 43 20 3d 20 22 22 0a |ermanent|VC = "".|
|000028a0| 09 58 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |.X......|........|
|000028b0| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 50 6f 72 74 20 |........|...Port |
|000028c0| 50 68 79 73 69 63 61 6c | 20 43 68 61 72 61 63 74 |Physical| Charact|
|000028d0| 65 72 69 73 74 69 63 73 | 2e 2e 2e 2e 2e 2e 2e 2e |eristics|........|
|000028e0| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|000028f0| 2e 0a 09 58 42 41 75 64 | 20 3d 20 39 36 30 30 20 |...XBAud| = 9600 |
|00002900| 20 20 20 20 20 20 20 20 | 42 53 50 61 64 20 3d 20 | |BSPad = |
|00002910| 4e 6f 6e 65 20 20 20 20 | 20 20 20 20 43 52 50 61 |None | CRPa|
|00002920| 64 20 3d 20 4e 6f 6e 65 | 20 20 20 20 20 20 20 20 |d = None| |
|00002930| 46 46 50 61 64 20 3d 20 | 4e 6f 6e 65 0a 09 58 4c |FFPad = |None..XL|
|00002940| 46 50 61 64 20 3d 20 4e | 6f 6e 65 20 20 20 20 20 |FPad = N|one |
|00002950| 20 20 20 54 61 62 50 61 | 64 20 3d 20 4e 6f 6e 65 | TabPa|d = None|
|00002960| 20 20 20 20 20 20 20 44 | 61 74 61 42 69 74 73 20 | D|ataBits |
|00002970| 3d 20 37 20 20 20 20 20 | 20 20 20 44 55 70 6c 65 |= 7 | DUple|
|00002980| 78 20 3d 20 46 75 6c 6c | 0a 09 58 4c 69 6e 65 50 |x = Full|..XLineP|
|00002990| 52 6f 74 6f 63 6f 6c 20 | 3d 20 41 53 79 6e 63 68 |Rotocol |= ASynch|
|000029a0| 72 6f 6e 6f 75 73 20 20 | 20 20 20 20 20 20 20 20 |ronous | |
|000029b0| 20 20 20 50 41 52 49 74 | 79 20 3d 20 41 75 74 6f | PARIt|y = Auto|
|000029c0| 50 61 72 69 74 79 20 53 | 74 6f 70 42 69 74 73 20 |Parity S|topBits |
|000029d0| 3d 20 31 0a 09 58 55 73 | 65 44 43 44 6f 75 74 20 |= 1..XUs|eDCDout |
|000029e0| 3d 20 28 20 41 6c 77 61 | 79 73 41 73 73 65 72 74 |= ( Alwa|ysAssert|
|000029f0| 2c 20 4e 6f 54 6f 67 67 | 6c 65 20 29 20 20 55 73 |, NoTogg|le ) Us|
|00002a00| 65 44 54 52 69 6e 20 3d | 20 41 73 44 54 52 20 28 |eDTRin =| AsDTR (|
|00002a10| 62 79 20 44 54 45 29 0a | 09 58 2e 2e 2e 2e 2e 2e |by DTE).|.X......|
|00002a20| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 53 65 73 73 69 |........|...Sessi|
|00002a30| 6f 6e 20 54 72 61 6e 73 | 6d 69 73 73 69 6f 6e 20 |on Trans|mission |
|00002a40| 61 6e 64 20 56 54 50 20 | 43 68 61 72 61 63 74 65 |and VTP |Characte|
|00002a50| 72 69 73 74 69 63 73 2e | 2e 2e 2e 2e 2e 2e 2e 2e |ristics.|........|
|00002a60| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 0a 09 58 42 52 65 61 |........|...XBRea|
|00002a70| 6b 41 63 74 69 6f 6e 20 | 3d 20 49 47 6e 6f 72 65 |kAction |= IGnore|
|00002a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a90| 20 20 20 20 44 49 73 63 | 6f 6e 6e 65 63 74 41 63 | DIsc|onnectAc|
|00002aa0| 74 69 6f 6e 20 3d 20 4e | 6f 6e 65 0a 09 58 44 61 |tion = N|one..XDa|
|00002ab0| 74 61 46 6f 72 77 61 72 | 64 20 3d 20 4e 6f 6e 65 |taForwar|d = None|
|00002ac0| 20 20 45 43 48 4f 44 61 | 74 61 20 3d 20 4f 46 46 | ECHODa|ta = OFF|
|00002ad0| 0a 09 58 45 43 48 4f 4d | 61 73 6b 20 3d 20 28 20 |..XECHOM|ask = ( |
|00002ae0| 41 6c 70 68 61 4e 75 6d | 2c 20 43 52 2c 20 54 65 |AlphaNum|, CR, Te|
|00002af0| 72 6d 2c 20 50 75 6e 63 | 74 20 29 20 20 20 20 20 |rm, Punc|t ) |
|00002b00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4e | | N|
|00002b10| 65 74 41 53 63 69 69 20 | 3d 20 55 73 65 4c 46 0a |etAScii |= UseLF.|
|00002b20| 09 58 46 6c 6f 77 43 6f | 6e 74 72 6f 6c 46 72 6f |.XFlowCo|ntrolFro|
|00002b30| 6d 20 3d 20 28 20 58 6f | 6e 5f 58 6f 66 66 20 29 |m = ( Xo|n_Xoff )|
|00002b40| 20 20 20 20 20 20 20 20 | 20 20 46 6c 6f 77 43 6f | | FlowCo|
|00002b50| 6e 74 72 6f 6c 54 6f 20 | 3d 20 28 20 58 6f 6e 5f |ntrolTo |= ( Xon_|
|00002b60| 58 6f 66 66 20 29 0a 09 | 58 49 64 6c 65 54 69 6d |Xoff )..|XIdleTim|
|00002b70| 65 72 20 3d 20 32 20 20 | 20 20 20 20 20 4c 6f 6e |er = 2 | Lon|
|00002b80| 67 42 52 65 61 6b 41 63 | 74 69 6f 6e 20 3d 20 49 |gBReakAc|tion = I|
|00002b90| 47 6e 6f 72 65 20 20 20 | 20 20 20 20 20 20 20 20 |Gnore | |
|00002ba0| 20 20 20 20 20 58 4f 46 | 46 20 3d 20 5e 53 0a 09 | XOF|F = ^S..|
|00002bb0| 58 58 4f 4e 20 3d 20 5e | 51 0a 09 58 63 73 2f 31 |XXON = ^|Q..Xcs/1|
|00002bc0| 74 23 20 0a 53 48 41 52 | 5f 45 4f 46 0a 69 66 20 |t# .SHAR|_EOF.if |
|00002bd0| 74 65 73 74 20 31 30 32 | 36 20 2d 6e 65 20 22 60 |test 102|6 -ne "`|
|00002be0| 77 63 20 2d 63 20 3c 20 | 27 65 78 61 6d 70 6c 65 |wc -c < |'example|
|00002bf0| 27 60 22 0a 74 68 65 6e | 0a 09 65 63 68 6f 20 73 |'`".then|..echo s|
|00002c00| 68 61 72 3a 20 65 72 72 | 6f 72 20 74 72 61 6e 73 |har: err|or trans|
|00002c10| 6d 69 74 74 69 6e 67 20 | 22 27 65 78 61 6d 70 6c |mitting |"'exampl|
|00002c20| 65 27 22 20 27 28 73 68 | 6f 75 6c 64 20 68 61 76 |e'" '(sh|ould hav|
|00002c30| 65 20 62 65 65 6e 20 31 | 30 32 36 20 63 68 61 72 |e been 1|026 char|
|00002c40| 61 63 74 65 72 73 29 27 | 0a 66 69 0a 66 69 20 23 |acters)'|.fi.fi #|
|00002c50| 20 65 6e 64 20 6f 66 20 | 6f 76 65 72 77 72 69 74 | end of |overwrit|
|00002c60| 69 6e 67 20 63 68 65 63 | 6b 0a 65 63 68 6f 20 73 |ing chec|k.echo s|
|00002c70| 68 61 72 3a 20 65 78 74 | 72 61 63 74 69 6e 67 20 |har: ext|racting |
|00002c80| 22 27 68 65 6c 6c 6f 2e | 70 73 27 22 20 27 28 34 |"'hello.|ps'" '(4|
|00002c90| 39 36 37 20 63 68 61 72 | 61 63 74 65 72 73 29 27 |967 char|acters)'|
|00002ca0| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 68 65 6c |.if test| -f 'hel|
|00002cb0| 6c 6f 2e 70 73 27 0a 74 | 68 65 6e 0a 09 65 63 68 |lo.ps'.t|hen..ech|
|00002cc0| 6f 20 73 68 61 72 3a 20 | 77 69 6c 6c 20 6e 6f 74 |o shar: |will not|
|00002cd0| 20 6f 76 65 72 2d 77 72 | 69 74 65 20 65 78 69 73 | over-wr|ite exis|
|00002ce0| 74 69 6e 67 20 66 69 6c | 65 20 22 27 68 65 6c 6c |ting fil|e "'hell|
|00002cf0| 6f 2e 70 73 27 22 0a 65 | 6c 73 65 0a 73 65 64 20 |o.ps'".e|lse.sed |
|00002d00| 27 73 2f 5e 09 58 2f 2f | 27 20 3c 3c 20 5c 53 48 |'s/^.X//|' << \SH|
|00002d10| 41 52 5f 45 4f 46 20 3e | 20 27 68 65 6c 6c 6f 2e |AR_EOF >| 'hello.|
|00002d20| 70 73 27 0a 09 58 25 21 | 50 53 2d 41 64 6f 62 65 |ps'..X%!|PS-Adobe|
|00002d30| 2d 31 2e 30 0a 09 58 25 | 25 43 72 65 61 74 6f 72 |-1.0..X%|%Creator|
|00002d40| 3a 20 6f 64 69 6e 3a 6a | 73 6c 6f 61 6e 20 28 4a |: odin:j|sloan (J|
|00002d50| 6f 68 6e 20 53 6c 6f 61 | 6e 2c 34 30 37 20 46 61 |ohn Sloa|n,407 Fa|
|00002d60| 77 63 65 74 74 2c 32 39 | 38 37 2c 35 31 33 34 32 |wcett,29|87,51342|
|00002d70| 36 38 30 38 32 29 0a 09 | 58 25 25 54 69 74 6c 65 |68082)..|X%%Title|
|00002d80| 3a 20 73 74 64 69 6e 0a | 09 58 25 25 43 72 65 61 |: stdin.|.X%%Crea|
|00002d90| 74 69 6f 6e 44 61 74 65 | 3a 20 54 75 65 20 4a 75 |tionDate|: Tue Ju|
|00002da0| 6e 20 32 31 20 31 31 3a | 34 31 3a 32 38 20 31 39 |n 21 11:|41:28 19|
|00002db0| 38 38 0a 09 58 25 25 44 | 6f 63 75 6d 65 6e 74 46 |88..X%%D|ocumentF|
|00002dc0| 6f 6e 74 73 3a 20 54 69 | 6d 65 73 2d 52 6f 6d 61 |onts: Ti|mes-Roma|
|00002dd0| 6e 20 54 69 6d 65 73 2d | 49 74 61 6c 69 63 20 54 |n Times-|Italic T|
|00002de0| 69 6d 65 73 2d 42 6f 6c | 64 20 53 79 6d 62 6f 6c |imes-Bol|d Symbol|
|00002df0| 20 54 69 6d 65 73 2d 52 | 6f 6d 61 6e 0a 09 58 25 | Times-R|oman..X%|
|00002e00| 25 50 61 67 65 73 3a 20 | 28 61 74 65 6e 64 29 0a |%Pages: |(atend).|
|00002e10| 09 58 25 25 45 6e 64 43 | 6f 6d 6d 65 6e 74 73 0a |.X%%EndC|omments.|
|00002e20| 09 58 25 20 6c 69 62 2f | 70 73 63 61 74 2e 70 72 |.X% lib/|pscat.pr|
|00002e30| 6f 20 2d 2d 20 70 72 6f | 6c 6f 67 20 66 6f 72 20 |o -- pro|log for |
|00002e40| 70 73 63 61 74 20 28 74 | 72 6f 66 66 29 20 66 69 |pscat (t|roff) fi|
|00002e50| 6c 65 73 0a 09 58 25 20 | 43 6f 70 79 72 69 67 68 |les..X% |Copyrigh|
|00002e60| 74 20 28 43 29 20 31 39 | 38 35 20 41 64 6f 62 65 |t (C) 19|85 Adobe|
|00002e70| 20 53 79 73 74 65 6d 73 | 2c 20 49 6e 63 2e 0a 09 | Systems|, Inc...|
|00002e80| 58 25 20 41 64 64 65 64 | 20 64 65 66 73 20 66 6f |X% Added| defs fo|
|00002e90| 72 20 4d 61 6e 75 61 6c | 20 46 65 65 64 20 0a 09 |r Manual| Feed ..|
|00002ea0| 58 73 61 76 65 20 2f 70 | 73 63 61 74 73 61 76 65 |Xsave /p|scatsave|
|00002eb0| 20 65 78 63 68 20 64 65 | 66 0a 09 58 2f 24 70 73 | exch de|f..X/$ps|
|00002ec0| 63 61 74 20 35 30 20 64 | 69 63 74 20 64 65 66 0a |cat 50 d|ict def.|
|00002ed0| 09 58 24 70 73 63 61 74 | 20 62 65 67 69 6e 0a 09 |.X$pscat| begin..|
|00002ee0| 58 2f 66 6d 20 5b 31 20 | 30 20 30 20 31 20 30 20 |X/fm [1 |0 0 1 0 |
|00002ef0| 30 5d 20 64 65 66 0a 09 | 58 2f 78 6f 20 30 20 64 |0] def..|X/xo 0 d|
|00002f00| 65 66 20 2f 79 6f 20 30 | 20 64 65 66 0a 09 58 2f |ef /yo 0| def..X/|
|00002f10| 4d 20 2f 6d 6f 76 65 74 | 6f 20 6c 6f 61 64 20 64 |M /movet|o load d|
|00002f20| 65 66 0a 09 58 2f 52 20 | 2f 73 68 6f 77 20 6c 6f |ef..X/R |/show lo|
|00002f30| 61 64 20 64 65 66 0a 09 | 58 2f 53 20 7b 65 78 63 |ad def..|X/S {exc|
|00002f40| 68 20 63 75 72 72 65 6e | 74 70 6f 69 6e 74 20 65 |h curren|tpoint e|
|00002f50| 78 63 68 20 70 6f 70 20 | 6d 6f 76 65 74 6f 20 73 |xch pop |moveto s|
|00002f60| 68 6f 77 7d 64 65 66 0a | 09 58 2f 54 20 7b 65 78 |how}def.|.X/T {ex|
|00002f70| 63 68 20 63 75 72 72 65 | 6e 74 70 6f 69 6e 74 20 |ch curre|ntpoint |
|00002f80| 70 6f 70 20 65 78 63 68 | 20 6d 6f 76 65 74 6f 20 |pop exch| moveto |
|00002f90| 73 68 6f 77 7d 64 65 66 | 0a 09 58 2f 55 20 7b 33 |show}def|..X/U {3|
|00002fa0| 20 31 20 72 6f 6c 6c 20 | 6d 6f 76 65 74 6f 20 73 | 1 roll |moveto s|
|00002fb0| 68 6f 77 7d 64 65 66 0a | 09 58 2f 73 69 7a 20 30 |how}def.|.X/siz 0|
|00002fc0| 20 64 65 66 0a 09 58 2f | 66 6f 6e 74 20 30 20 64 | def..X/|font 0 d|
|00002fd0| 65 66 0a 09 58 2f 5a 20 | 7b 2f 73 69 7a 20 65 78 |ef..X/Z |{/siz ex|
|00002fe0| 63 68 20 64 65 66 20 53 | 46 7d 64 65 66 0a 09 58 |ch def S|F}def..X|
|00002ff0| 2f 46 20 7b 2f 66 6f 6e | 74 20 65 78 63 68 20 64 |/F {/fon|t exch d|
|00003000| 65 66 20 53 46 7d 64 65 | 66 0a 09 58 2f 53 46 7b |ef SF}de|f..X/SF{|
|00003010| 66 6f 6e 74 20 30 20 6e | 65 0a 09 58 20 20 20 20 |font 0 n|e..X |
|00003020| 7b 63 61 74 66 6f 6e 74 | 73 20 66 6f 6e 74 20 31 |{catfont|s font 1|
|00003030| 20 73 75 62 20 67 65 74 | 20 66 6d 20 30 20 73 69 | sub get| fm 0 si|
|00003040| 7a 20 70 75 74 20 66 6d | 20 33 20 73 69 7a 20 6e |z put fm| 3 siz n|
|00003050| 65 67 20 70 75 74 20 0a | 09 58 20 20 20 20 20 66 |eg put .|.X f|
|00003060| 6d 20 6d 61 6b 65 66 6f | 6e 74 20 73 65 74 66 6f |m makefo|nt setfo|
|00003070| 6e 74 7d 69 66 7d 64 65 | 66 0a 09 58 2f 42 50 7b |nt}if}de|f..X/BP{|
|00003080| 73 61 76 65 2f 63 61 74 | 73 76 20 65 78 63 68 20 |save/cat|sv exch |
|00003090| 64 65 66 20 30 20 37 39 | 32 20 74 72 61 6e 73 6c |def 0 79|2 transl|
|000030a0| 61 74 65 20 37 32 20 34 | 33 32 20 64 69 76 20 64 |ate 72 4|32 div d|
|000030b0| 75 70 20 6e 65 67 20 73 | 63 61 6c 65 20 0a 09 58 |up neg s|cale ..X|
|000030c0| 20 20 78 6f 20 79 6f 20 | 74 72 61 6e 73 6c 61 74 | xo yo |translat|
|000030d0| 65 20 30 20 30 20 6d 6f | 76 65 74 6f 7d 64 65 66 |e 0 0 mo|veto}def|
|000030e0| 0a 09 58 2f 42 50 4c 7b | 73 61 76 65 2f 63 61 74 |..X/BPL{|save/cat|
|000030f0| 73 76 20 65 78 63 68 20 | 64 65 66 20 37 32 20 38 |sv exch |def 72 8|
|00003100| 2e 32 35 20 6d 75 6c 20 | 37 39 32 20 74 72 61 6e |.25 mul |792 tran|
|00003110| 73 6c 61 74 65 20 2d 39 | 30 20 72 6f 74 61 74 65 |slate -9|0 rotate|
|00003120| 0a 09 58 20 20 37 32 20 | 34 33 32 20 64 69 76 20 |..X 72 |432 div |
|00003130| 64 75 70 20 6e 65 67 20 | 73 63 61 6c 65 20 78 6f |dup neg |scale xo|
|00003140| 20 79 6f 20 74 72 61 6e | 73 6c 61 74 65 20 30 20 | yo tran|slate 0 |
|00003150| 30 20 6d 6f 76 65 74 6f | 7d 64 65 66 0a 09 58 2f |0 moveto|}def..X/|
|00003160| 45 50 7b 63 61 74 73 76 | 20 72 65 73 74 6f 72 65 |EP{catsv| restore|
|00003170| 20 73 68 6f 77 70 61 67 | 65 7d 64 65 66 0a 09 58 | showpag|e}def..X|
|00003180| 2f 53 65 74 53 74 54 69 | 6d 65 7b 73 74 61 74 75 |/SetStTi|me{statu|
|00003190| 73 64 69 63 74 20 2f 6d | 61 6e 75 61 6c 66 65 65 |sdict /m|anualfee|
|000031a0| 64 74 69 6d 65 6f 75 74 | 20 31 32 30 20 70 75 74 |dtimeout| 120 put|
|000031b0| 7d 20 64 65 66 0a 09 58 | 2f 53 65 74 53 74 61 74 |} def..X|/SetStat|
|000031c0| 75 73 7b 73 74 61 74 75 | 73 64 69 63 74 20 2f 6d |us{statu|sdict /m|
|000031d0| 61 6e 75 61 6c 66 65 65 | 64 20 74 72 75 65 20 70 |anualfee|d true p|
|000031e0| 75 74 0a 09 58 20 20 20 | 73 74 61 74 75 73 64 69 |ut..X |statusdi|
|000031f0| 63 74 20 2f 70 72 6f 64 | 75 63 74 20 67 65 74 20 |ct /prod|uct get |
|00003200| 28 4c 61 73 65 72 57 72 | 69 74 65 72 29 20 65 71 |(LaserWr|iter) eq|
|00003210| 20 0a 09 58 20 20 20 7b | 76 65 72 73 69 6f 6e 20 | ..X {|version |
|00003220| 28 32 33 2e 30 29 20 65 | 71 20 20 25 20 44 6f 6e |(23.0) e|q % Don|
|00003230| 27 74 20 72 65 64 65 66 | 69 6e 65 20 45 50 20 69 |'t redef|ine EP i|
|00003240| 66 20 70 72 69 6e 74 65 | 72 20 69 73 20 6e 6f 74 |f printe|r is not|
|00003250| 20 22 43 6c 61 73 73 69 | 63 20 4c 57 22 0a 09 58 | "Classi|c LW"..X|
|00003260| 20 20 20 20 20 7b 2f 45 | 50 20 7b 63 61 74 73 76 | {/E|P {catsv|
|00003270| 20 72 65 73 74 6f 72 65 | 0a 09 58 09 20 7b 73 74 | restore|..X. {st|
|00003280| 61 74 75 73 64 69 63 74 | 20 2f 70 72 69 6e 74 65 |atusdict| /printe|
|00003290| 72 73 74 61 74 75 73 20 | 67 65 74 20 65 78 65 63 |rstatus |get exec|
|000032a0| 20 31 36 23 32 32 30 30 | 30 30 30 30 20 61 6e 64 | 16#2200|0000 and|
|000032b0| 20 30 20 65 71 7b 65 78 | 69 74 7d 69 66 7d 6c 6f | 0 eq{ex|it}if}lo|
|000032c0| 6f 70 0a 09 58 09 20 73 | 68 6f 77 70 61 67 65 7d |op..X. s|howpage}|
|000032d0| 64 65 66 7d 69 66 20 7d | 69 66 7d 64 65 66 0a 09 |def}if }|if}def..|
|000032e0| 58 25 20 64 65 66 69 6e | 69 74 69 6f 6e 73 20 66 |X% defin|itions f|
|000032f0| 6f 72 20 50 50 52 4f 43 | 20 63 61 6c 6c 62 61 63 |or PPROC| callbac|
|00003300| 6b 20 66 75 6e 63 74 69 | 6f 6e 73 0a 09 58 25 20 |k functi|ons..X% |
|00003310| 65 61 63 68 20 50 50 52 | 4f 43 20 69 73 20 63 61 |each PPR|OC is ca|
|00003320| 6c 6c 65 64 20 77 69 74 | 68 20 74 68 65 20 66 6f |lled wit|h the fo|
|00003330| 6c 6c 6f 77 69 6e 67 20 | 6e 75 6d 62 65 72 20 6f |llowing |number o|
|00003340| 6e 20 74 68 65 20 73 74 | 61 63 6b 3a 0a 09 58 25 |n the st|ack:..X%|
|00003350| 20 70 6f 69 6e 74 73 69 | 7a 65 20 63 68 61 72 63 | pointsi|ze charc|
|00003360| 6f 64 65 20 72 61 69 6c | 6d 61 67 20 70 73 77 69 |ode rail|mag pswi|
|00003370| 64 74 68 20 70 73 63 68 | 61 72 20 78 20 79 20 77 |dth psch|ar x y w|
|00003380| 69 64 0a 09 58 2f 24 70 | 70 72 6f 63 73 20 35 30 |id..X/$p|procs 50|
|00003390| 20 64 69 63 74 20 64 65 | 66 0a 09 58 2f 66 72 61 | dict de|f..X/fra|
|000033a0| 63 74 6d 20 5b 2e 36 35 | 20 30 20 30 20 2e 36 20 |ctm [.65| 0 0 .6 |
|000033b0| 30 20 30 5d 20 64 65 66 | 0a 09 58 25 20 66 72 61 |0 0] def|..X% fra|
|000033c0| 63 74 69 6f 6e 73 0a 09 | 58 2f 50 53 31 7b 67 73 |ctions..|X/PS1{gs|
|000033d0| 61 76 65 20 24 70 70 72 | 6f 63 73 20 62 65 67 69 |ave $ppr|ocs begi|
|000033e0| 6e 0a 09 58 20 20 20 20 | 2f 77 69 64 20 65 78 63 |n..X |/wid exc|
|000033f0| 68 20 64 65 66 20 70 6f | 70 20 70 6f 70 20 70 6f |h def po|p pop po|
|00003400| 70 20 70 6f 70 20 70 6f | 70 20 2f 63 68 20 65 78 |p pop po|p /ch ex|
|00003410| 63 68 20 64 65 66 20 2f | 73 69 7a 65 20 65 78 63 |ch def /|size exc|
|00003420| 68 20 64 65 66 0a 09 58 | 20 20 20 20 2f 70 61 69 |h def..X| /pai|
|00003430| 72 20 24 70 70 72 6f 63 | 73 20 63 68 20 67 65 74 |r $pproc|s ch get|
|00003440| 20 64 65 66 20 2f 63 66 | 20 63 75 72 72 65 6e 74 | def /cf| current|
|00003450| 66 6f 6e 74 20 64 65 66 | 0a 09 58 20 20 20 20 63 |font def|..X c|
|00003460| 66 20 66 72 61 63 74 6d | 20 6d 61 6b 65 66 6f 6e |f fractm| makefon|
|00003470| 74 20 73 65 74 66 6f 6e | 74 0a 09 58 20 20 20 20 |t setfon|t..X |
|00003480| 30 20 2e 33 20 73 69 7a | 65 20 6d 75 6c 20 36 20 |0 .3 siz|e mul 6 |
|00003490| 6d 75 6c 20 32 20 63 6f | 70 79 20 6e 65 67 20 72 |mul 2 co|py neg r|
|000034a0| 6d 6f 76 65 74 6f 20 70 | 61 69 72 20 30 20 67 65 |moveto p|air 0 ge|
|000034b0| 74 20 73 68 6f 77 20 72 | 6d 6f 76 65 74 6f 0a 09 |t show r|moveto..|
|000034c0| 58 20 20 20 20 63 75 72 | 72 65 6e 74 66 6f 6e 74 |X cur|rentfont|
|000034d0| 20 63 66 20 73 65 74 66 | 6f 6e 74 20 28 5c 32 34 | cf setf|ont (\24|
|000034e0| 34 29 20 73 68 6f 77 20 | 73 65 74 66 6f 6e 74 0a |4) show |setfont.|
|000034f0| 09 58 20 20 20 20 70 61 | 69 72 20 31 20 67 65 74 |.X pa|ir 1 get|
|00003500| 20 73 68 6f 77 20 67 72 | 65 73 74 6f 72 65 20 77 | show gr|estore w|
|00003510| 69 64 20 2e 30 36 20 64 | 69 76 20 30 20 72 6d 6f |id .06 d|iv 0 rmo|
|00003520| 76 65 74 6f 20 65 6e 64 | 7d 64 65 66 0a 09 58 24 |veto end|}def..X$|
|00003530| 70 70 72 6f 63 73 20 62 | 65 67 69 6e 0a 09 58 38 |pprocs b|egin..X8|
|00003540| 23 33 34 20 5b 28 31 29 | 28 34 29 5d 20 64 65 66 |#34 [(1)|(4)] def|
|00003550| 0a 09 58 38 23 33 36 20 | 5b 28 31 29 28 32 29 5d |..X8#36 |[(1)(2)]|
|00003560| 20 64 65 66 0a 09 58 38 | 23 34 36 20 5b 28 33 29 | def..X8|#46 [(3)|
|00003570| 28 34 29 5d 20 64 65 66 | 0a 09 58 65 6e 64 0a 09 |(4)] def|..Xend..|
|00003580| 58 25 20 62 6f 78 65 73 | 0a 09 58 2f 50 53 32 7b |X% boxes|..X/PS2{|
|00003590| 67 73 61 76 65 20 2f 77 | 69 64 20 65 78 63 68 20 |gsave /w|id exch |
|000035a0| 64 65 66 20 70 6f 70 20 | 70 6f 70 20 2f 63 68 61 |def pop |pop /cha|
|000035b0| 72 20 65 78 63 68 20 64 | 65 66 20 70 6f 70 20 70 |r exch d|ef pop p|
|000035c0| 6f 70 20 70 6f 70 20 2f | 73 69 7a 65 20 65 78 63 |op pop /|size exc|
|000035d0| 68 20 64 65 66 0a 09 58 | 20 20 20 20 2f 6c 65 6e |h def..X| /len|
|000035e0| 20 73 69 7a 65 20 33 2e | 35 20 6d 75 6c 20 64 65 | size 3.|5 mul de|
|000035f0| 66 20 25 20 6c 65 6e 67 | 74 68 20 6f 66 20 61 20 |f % leng|th of a |
|00003600| 73 69 64 65 0a 09 58 20 | 20 20 20 6c 65 6e 20 30 |side..X | len 0|
|00003610| 20 72 6c 69 6e 65 74 6f | 20 30 20 6c 65 6e 20 6e | rlineto| 0 len n|
|00003620| 65 67 20 72 6c 69 6e 65 | 74 6f 20 6c 65 6e 20 6e |eg rline|to len n|
|00003630| 65 67 20 30 20 72 6c 69 | 6e 65 74 6f 20 63 6c 6f |eg 0 rli|neto clo|
|00003640| 73 65 70 61 74 68 0a 09 | 58 20 20 20 20 63 68 61 |sepath..|X cha|
|00003650| 72 20 33 20 65 71 20 7b | 66 69 6c 6c 7d 7b 73 69 |r 3 eq {|fill}{si|
|00003660| 7a 65 20 35 20 6d 75 6c | 20 2e 30 37 20 6d 75 6c |ze 5 mul| .07 mul|
|00003670| 20 73 65 74 6c 69 6e 65 | 77 69 64 74 68 20 73 74 | setline|width st|
|00003680| 72 6f 6b 65 7d 69 66 65 | 6c 73 65 0a 09 58 20 20 |roke}ife|lse..X |
|00003690| 20 20 67 72 65 73 74 6f | 72 65 20 77 69 64 20 2e | gresto|re wid .|
|000036a0| 30 36 20 64 69 76 20 30 | 20 72 6d 6f 76 65 74 6f |06 div 0| rmoveto|
|000036b0| 7d 64 65 66 0a 09 58 2f | 50 53 33 2f 50 53 32 20 |}def..X/|PS3/PS2 |
|000036c0| 6c 6f 61 64 20 64 65 66 | 09 09 25 20 62 6f 78 65 |load def|..% boxe|
|000036d0| 73 20 61 72 65 20 74 68 | 65 20 73 61 6d 65 2e 2e |s are th|e same..|
|000036e0| 2e 0a 09 58 25 20 63 69 | 72 63 6c 65 0a 09 58 2f |...X% ci|rcle..X/|
|000036f0| 50 53 34 7b 67 73 61 76 | 65 20 2f 77 69 64 20 65 |PS4{gsav|e /wid e|
|00003700| 78 63 68 20 64 65 66 20 | 70 6f 70 20 70 6f 70 20 |xch def |pop pop |
|00003710| 70 6f 70 20 70 6f 70 20 | 70 6f 70 20 70 6f 70 20 |pop pop |pop pop |
|00003720| 2f 73 69 7a 65 20 65 78 | 63 68 20 64 65 66 0a 09 |/size ex|ch def..|
|00003730| 58 20 20 20 20 77 69 64 | 20 2e 38 33 33 33 20 6d |X wid| .8333 m|
|00003740| 75 6c 20 73 69 7a 65 20 | 32 2e 35 20 6d 75 6c 20 |ul size |2.5 mul |
|00003750| 6e 65 67 20 72 6d 6f 76 | 65 74 6f 20 63 75 72 72 |neg rmov|eto curr|
|00003760| 65 6e 74 70 6f 69 6e 74 | 09 25 20 63 65 6e 74 65 |entpoint|.% cente|
|00003770| 72 0a 09 58 20 20 20 20 | 6e 65 77 70 61 74 68 20 |r..X |newpath |
|00003780| 73 69 7a 65 20 31 2e 38 | 20 6d 75 6c 20 30 20 33 |size 1.8| mul 0 3|
|00003790| 36 30 20 61 72 63 20 73 | 69 7a 65 20 2e 32 20 6d |60 arc s|ize .2 m|
|000037a0| 75 6c 20 73 65 74 6c 69 | 6e 65 77 69 64 74 68 20 |ul setli|newidth |
|000037b0| 73 74 72 6f 6b 65 0a 09 | 58 20 20 20 20 67 72 65 |stroke..|X gre|
|000037c0| 73 74 6f 72 65 20 77 69 | 64 20 2e 30 36 20 64 69 |store wi|d .06 di|
|000037d0| 76 20 30 20 72 6d 6f 76 | 65 74 6f 7d 64 65 66 0a |v 0 rmov|eto}def.|
|000037e0| 09 58 2f 62 62 7b 24 70 | 70 72 6f 63 73 20 62 65 |.X/bb{$p|procs be|
|000037f0| 67 69 6e 20 2f 77 69 64 | 20 65 78 63 68 20 64 65 |gin /wid| exch de|
|00003800| 66 20 70 6f 70 20 70 6f | 70 20 70 6f 70 20 70 6f |f pop po|p pop po|
|00003810| 70 20 70 6f 70 20 70 6f | 70 20 2f 73 69 7a 65 20 |p pop po|p /size |
|00003820| 65 78 63 68 20 36 20 6d | 75 6c 20 64 65 66 0a 09 |exch 6 m|ul def..|
|00003830| 58 20 20 20 20 2f 73 32 | 20 73 69 7a 65 20 32 20 |X /s2| size 2 |
|00003840| 64 69 76 20 64 65 66 20 | 2f 73 34 20 73 69 7a 65 |div def |/s4 size|
|00003850| 20 34 20 64 69 76 20 64 | 65 66 20 67 73 61 76 65 | 4 div d|ef gsave|
|00003860| 20 0a 09 58 20 20 20 20 | 63 75 72 72 65 6e 74 70 | ..X |currentp|
|00003870| 6f 69 6e 74 20 6e 65 77 | 70 61 74 68 20 74 72 61 |oint new|path tra|
|00003880| 6e 73 66 6f 72 6d 20 72 | 6f 75 6e 64 20 65 78 63 |nsform r|ound exc|
|00003890| 68 20 72 6f 75 6e 64 20 | 65 78 63 68 20 69 74 72 |h round |exch itr|
|000038a0| 61 6e 73 66 6f 72 6d 20 | 74 72 61 6e 73 6c 61 74 |ansform |translat|
|000038b0| 65 0a 09 58 20 20 20 20 | 73 69 7a 65 20 31 36 20 |e..X |size 16 |
|000038c0| 64 69 76 20 73 65 74 6c | 69 6e 65 77 69 64 74 68 |div setl|inewidth|
|000038d0| 20 32 20 73 65 74 6c 69 | 6e 65 6a 6f 69 6e 20 30 | 2 setli|nejoin 0|
|000038e0| 20 73 65 74 67 72 61 79 | 7d 64 65 66 0a 09 58 24 | setgray|}def..X$|
|000038f0| 70 70 72 6f 63 73 20 62 | 65 67 69 6e 0a 09 58 2f |pprocs b|egin..X/|
|00003900| 6d 72 72 7b 6d 6f 76 65 | 74 6f 20 72 6c 69 6e 65 |mrr{move|to rline|
|00003910| 74 6f 20 72 6c 69 6e 65 | 74 6f 7d 64 65 66 0a 09 |to rline|to}def..|
|00003920| 58 2f 62 65 7b 73 74 72 | 6f 6b 65 20 67 72 65 73 |X/be{str|oke gres|
|00003930| 74 6f 72 65 20 77 69 64 | 20 2e 30 36 20 64 69 76 |tore wid| .06 div|
|00003940| 20 30 20 72 6d 6f 76 65 | 74 6f 20 65 6e 64 7d 64 | 0 rmove|to end}d|
|00003950| 65 66 0a 09 58 65 6e 64 | 0a 09 58 25 20 6c 65 66 |ef..Xend|..X% lef|
|00003960| 74 66 6c 6f 6f 72 0a 09 | 58 2f 50 53 36 20 7b 62 |tfloor..|X/PS6 {b|
|00003970| 62 20 73 34 20 30 20 30 | 20 73 69 7a 65 20 73 34 |b s4 0 0| size s4|
|00003980| 20 73 69 7a 65 20 2d 2e | 38 20 6d 75 6c 20 6d 72 | size -.|8 mul mr|
|00003990| 72 20 62 65 7d 64 65 66 | 0a 09 58 25 20 72 69 67 |r be}def|..X% rig|
|000039a0| 68 74 66 6c 6f 6f 72 0a | 09 58 2f 50 53 37 20 7b |htfloor.|.X/PS7 {|
|000039b0| 62 62 20 73 34 20 6e 65 | 67 20 30 20 30 20 73 69 |bb s4 ne|g 0 0 si|
|000039c0| 7a 65 20 73 34 20 73 69 | 7a 65 20 2d 2e 38 20 6d |ze s4 si|ze -.8 m|
|000039d0| 75 6c 20 6d 72 72 20 62 | 65 7d 64 65 66 0a 09 58 |ul mrr b|e}def..X|
|000039e0| 25 20 6c 65 66 74 63 65 | 69 6c 0a 09 58 2f 50 53 |% leftce|il..X/PS|
|000039f0| 38 20 7b 62 62 20 73 34 | 20 30 20 30 20 73 69 7a |8 {bb s4| 0 0 siz|
|00003a00| 65 20 6e 65 67 20 73 34 | 20 73 69 7a 65 20 2e 32 |e neg s4| size .2|
|00003a10| 20 6d 75 6c 20 6d 72 72 | 20 62 65 7d 64 65 66 0a | mul mrr| be}def.|
|00003a20| 09 58 25 20 72 69 67 68 | 74 63 65 69 6c 0a 09 58 |.X% righ|tceil..X|
|00003a30| 2f 50 53 39 20 7b 62 62 | 20 73 34 20 6e 65 67 20 |/PS9 {bb| s4 neg |
|00003a40| 30 20 30 20 73 69 7a 65 | 20 6e 65 67 20 73 34 20 |0 0 size| neg s4 |
|00003a50| 73 69 7a 65 20 2e 32 20 | 6d 75 6c 20 6d 72 72 20 |size .2 |mul mrr |
|00003a60| 62 65 7d 64 65 66 0a 09 | 58 25 20 62 6f 6c 64 76 |be}def..|X% boldv|
|00003a70| 65 72 74 0a 09 58 2f 50 | 53 35 20 7b 62 62 20 30 |ert..X/P|S5 {bb 0|
|00003a80| 20 30 20 30 20 73 69 7a | 65 20 6e 65 67 20 73 34 | 0 0 siz|e neg s4|
|00003a90| 20 73 69 7a 65 20 2e 32 | 20 6d 75 6c 20 6d 72 72 | size .2| mul mrr|
|00003aa0| 20 62 65 7d 64 65 66 0a | 09 58 25 20 62 6f 78 20 | be}def.|.X% box |
|00003ab0| 72 75 6c 65 0a 09 58 2f | 50 53 33 32 20 7b 62 62 |rule..X/|PS32 {bb|
|00003ac0| 20 2f 73 77 20 73 69 7a | 65 20 32 34 20 64 69 76 | /sw siz|e 24 div|
|00003ad0| 20 64 65 66 20 73 77 20 | 32 20 64 69 76 20 73 69 | def sw |2 div si|
|00003ae0| 7a 65 20 34 2e 35 20 64 | 69 76 20 6d 6f 76 65 74 |ze 4.5 d|iv movet|
|00003af0| 6f 0a 09 58 20 20 20 20 | 20 20 20 30 20 73 69 7a |o..X | 0 siz|
|00003b00| 65 20 6e 65 67 20 72 6c | 69 6e 65 74 6f 20 73 77 |e neg rl|ineto sw|
|00003b10| 20 73 65 74 6c 69 6e 65 | 77 69 64 74 68 20 62 65 | setline|width be|
|00003b20| 7d 64 65 66 0a 09 58 25 | 20 72 75 6c 65 20 28 72 |}def..X%| rule (r|
|00003b30| 6f 6d 61 6e 2c 20 62 6f | 6c 64 20 61 6e 64 20 69 |oman, bo|ld and i|
|00003b40| 74 61 6c 69 63 29 0a 09 | 58 2f 50 53 31 36 20 7b |talic)..|X/PS16 {|
|00003b50| 67 73 61 76 65 20 24 70 | 70 72 6f 63 73 20 62 65 |gsave $p|procs be|
|00003b60| 67 69 6e 0a 09 58 20 20 | 20 20 2f 77 69 64 20 65 |gin..X | /wid e|
|00003b70| 78 63 68 20 64 65 66 20 | 70 6f 70 20 70 6f 70 20 |xch def |pop pop |
|00003b80| 70 6f 70 20 70 6f 70 20 | 70 6f 70 20 70 6f 70 20 |pop pop |pop pop |
|00003b90| 2f 73 69 7a 65 20 65 78 | 63 68 20 36 20 6d 75 6c |/size ex|ch 6 mul|
|00003ba0| 20 64 65 66 0a 09 58 20 | 20 20 20 2f 73 77 20 73 | def..X | /sw s|
|00003bb0| 69 7a 65 20 31 34 20 64 | 69 76 20 64 65 66 20 63 |ize 14 d|iv def c|
|00003bc0| 75 72 72 65 6e 74 70 6f | 69 6e 74 20 65 78 63 68 |urrentpo|int exch|
|00003bd0| 20 73 77 20 32 20 64 69 | 76 20 73 75 62 20 65 78 | sw 2 di|v sub ex|
|00003be0| 63 68 0a 09 58 20 20 20 | 20 6e 65 77 70 61 74 68 |ch..X | newpath|
|00003bf0| 20 74 72 61 6e 73 66 6f | 72 6d 20 72 6f 75 6e 64 | transfo|rm round|
|00003c00| 20 65 78 63 68 20 72 6f | 75 6e 64 20 65 78 63 68 | exch ro|und exch|
|00003c10| 20 69 74 72 61 6e 73 66 | 6f 72 6d 20 74 72 61 6e | itransf|orm tran|
|00003c20| 73 6c 61 74 65 0a 09 58 | 20 20 20 20 30 20 30 20 |slate..X| 0 0 |
|00003c30| 6d 6f 76 65 74 6f 20 73 | 69 7a 65 20 32 20 64 69 |moveto s|ize 2 di|
|00003c40| 76 20 30 20 72 6c 69 6e | 65 74 6f 20 73 77 20 73 |v 0 rlin|eto sw s|
|00003c50| 65 74 6c 69 6e 65 77 69 | 64 74 68 20 62 65 7d 64 |etlinewi|dth be}d|
|00003c60| 65 66 0a 09 58 25 20 6c | 65 66 74 74 6f 70 63 75 |ef..X% l|efttopcu|
|00003c70| 72 6c 20 20 20 20 0a 09 | 58 2f 50 53 32 30 20 7b |rl ..|X/PS20 {|
|00003c80| 62 62 20 73 34 20 73 69 | 7a 65 20 2e 32 20 6d 75 |bb s4 si|ze .2 mu|
|00003c90| 6c 20 6d 6f 76 65 74 6f | 20 30 20 73 69 7a 65 20 |l moveto| 0 size |
|00003ca0| 2d 2e 35 35 20 6d 75 6c | 20 72 6c 69 6e 65 74 6f |-.55 mul| rlineto|
|00003cb0| 20 63 75 72 72 65 6e 74 | 70 6f 69 6e 74 20 0a 09 | current|point ..|
|00003cc0| 58 20 20 20 20 70 6f 70 | 20 73 69 7a 65 20 2d 2e |X pop| size -.|
|00003cd0| 38 20 6d 75 6c 20 32 20 | 63 6f 70 79 20 65 78 63 |8 mul 2 |copy exc|
|00003ce0| 68 20 73 34 20 61 64 64 | 20 65 78 63 68 20 73 34 |h s4 add| exch s4|
|00003cf0| 20 61 72 63 74 6f 20 70 | 6f 70 20 70 6f 70 20 70 | arcto p|op pop p|
|00003d00| 6f 70 20 70 6f 70 20 62 | 65 7d 64 65 66 0a 09 58 |op pop b|e}def..X|
|00003d10| 25 20 6c 65 66 74 62 6f | 74 63 75 72 6c 0a 09 58 |% leftbo|tcurl..X|
|00003d20| 2f 50 53 32 31 20 7b 62 | 62 20 73 34 20 73 69 7a |/PS21 {b|b s4 siz|
|00003d30| 65 20 2d 2e 38 20 6d 75 | 6c 20 6d 6f 76 65 74 6f |e -.8 mu|l moveto|
|00003d40| 20 30 20 73 69 7a 65 20 | 2e 35 35 20 6d 75 6c 20 | 0 size |.55 mul |
|00003d50| 72 6c 69 6e 65 74 6f 20 | 63 75 72 72 65 6e 74 70 |rlineto |currentp|
|00003d60| 6f 69 6e 74 20 0a 09 58 | 20 20 20 20 70 6f 70 20 |oint ..X| pop |
|00003d70| 73 69 7a 65 20 2e 32 20 | 6d 75 6c 20 32 20 63 6f |size .2 |mul 2 co|
|00003d80| 70 79 20 65 78 63 68 20 | 73 34 20 61 64 64 20 65 |py exch |s4 add e|
|00003d90| 78 63 68 20 73 34 20 61 | 72 63 74 6f 20 70 6f 70 |xch s4 a|rcto pop|
|00003da0| 20 70 6f 70 20 70 6f 70 | 20 70 6f 70 20 62 65 7d | pop pop| pop be}|
|00003db0| 64 65 66 0a 09 58 25 20 | 72 69 67 68 74 74 6f 70 |def..X% |righttop|
|00003dc0| 63 75 72 6c 0a 09 58 2f | 50 53 32 32 20 7b 62 62 |curl..X/|PS22 {bb|
|00003dd0| 20 73 34 20 73 69 7a 65 | 20 2e 32 20 6d 75 6c 20 | s4 size| .2 mul |
|00003de0| 6d 6f 76 65 74 6f 20 30 | 20 73 69 7a 65 20 2d 2e |moveto 0| size -.|
|00003df0| 35 35 20 6d 75 6c 20 72 | 6c 69 6e 65 74 6f 20 63 |55 mul r|lineto c|
|00003e00| 75 72 72 65 6e 74 70 6f | 69 6e 74 0a 09 58 20 20 |urrentpo|int..X |
|00003e10| 20 20 20 70 6f 70 20 73 | 69 7a 65 20 2d 2e 38 20 | pop s|ize -.8 |
|00003e20| 6d 75 6c 20 32 20 63 6f | 70 79 20 65 78 63 68 20 |mul 2 co|py exch |
|00003e30| 73 34 20 73 75 62 20 65 | 78 63 68 20 73 34 20 61 |s4 sub e|xch s4 a|
|00003e40| 72 63 74 6f 20 70 6f 70 | 20 70 6f 70 20 70 6f 70 |rcto pop| pop pop|
|00003e50| 20 70 6f 70 20 62 65 7d | 64 65 66 0a 09 58 25 20 | pop be}|def..X% |
|00003e60| 72 69 67 68 74 62 6f 74 | 63 75 72 6c 0a 09 58 2f |rightbot|curl..X/|
|00003e70| 50 53 32 33 20 7b 62 62 | 20 73 34 20 73 69 7a 65 |PS23 {bb| s4 size|
|00003e80| 20 2d 2e 38 20 6d 75 6c | 20 6d 6f 76 65 74 6f 20 | -.8 mul| moveto |
|00003e90| 30 20 73 69 7a 65 20 2e | 35 35 20 6d 75 6c 20 72 |0 size .|55 mul r|
|00003ea0| 6c 69 6e 65 74 6f 20 63 | 75 72 72 65 6e 74 70 6f |lineto c|urrentpo|
|00003eb0| 69 6e 74 0a 09 58 20 20 | 20 20 20 70 6f 70 20 73 |int..X | pop s|
|00003ec0| 69 7a 65 20 2e 32 20 6d | 75 6c 20 32 20 63 6f 70 |ize .2 m|ul 2 cop|
|00003ed0| 79 20 65 78 63 68 20 73 | 34 20 73 75 62 20 65 78 |y exch s|4 sub ex|
|00003ee0| 63 68 20 73 34 20 61 72 | 63 74 6f 20 70 6f 70 20 |ch s4 ar|cto pop |
|00003ef0| 70 6f 70 20 70 6f 70 20 | 70 6f 70 20 62 65 7d 64 |pop pop |pop be}d|
|00003f00| 65 66 0a 09 58 25 20 72 | 69 67 68 74 6d 69 64 63 |ef..X% r|ightmidc|
|00003f10| 75 72 6c 0a 09 58 2f 50 | 53 32 35 20 7b 62 62 20 |url..X/P|S25 {bb |
|00003f20| 2f 73 33 20 73 69 7a 65 | 20 2d 2e 33 20 6d 75 6c |/s3 size| -.3 mul|
|00003f30| 20 64 65 66 20 73 34 20 | 73 69 7a 65 20 2d 2e 38 | def s4 |size -.8|
|00003f40| 20 6d 75 6c 20 6d 6f 76 | 65 74 6f 20 73 34 20 73 | mul mov|eto s4 s|
|00003f50| 33 20 73 32 20 73 33 0a | 09 58 20 20 20 20 73 34 |3 s2 s3.|.X s4|
|00003f60| 20 61 72 63 74 6f 20 70 | 6f 70 20 70 6f 70 20 73 | arcto p|op pop s|
|00003f70| 69 7a 65 20 61 64 64 20 | 73 34 20 73 33 20 34 20 |ize add |s4 s3 4 |
|00003f80| 32 20 72 6f 6c 6c 0a 09 | 58 20 20 20 20 73 34 20 |2 roll..|X s4 |
|00003f90| 61 72 63 74 6f 20 70 6f | 70 20 70 6f 70 20 70 6f |arcto po|p pop po|
|00003fa0| 70 20 70 6f 70 20 73 34 | 20 73 69 7a 65 20 2e 32 |p pop s4| size .2|
|00003fb0| 20 6d 75 6c 20 6c 69 6e | 65 74 6f 20 62 65 7d 64 | mul lin|eto be}d|
|00003fc0| 65 66 0a 09 58 25 20 6c | 65 66 74 6d 69 64 63 75 |ef..X% l|eftmidcu|
|00003fd0| 72 6c 0a 09 58 2f 50 53 | 32 34 20 7b 62 62 20 2f |rl..X/PS|24 {bb /|
|00003fe0| 73 33 20 73 69 7a 65 20 | 2d 2e 33 20 6d 75 6c 20 |s3 size |-.3 mul |
|00003ff0| 64 65 66 20 73 34 20 73 | 69 7a 65 20 2d 2e 38 20 |def s4 s|ize -.8 |
|00004000| 6d 75 6c 20 6d 6f 76 65 | 74 6f 20 73 34 20 73 33 |mul move|to s4 s3|
|00004010| 20 30 20 73 33 0a 09 58 | 20 20 20 20 73 34 20 61 | 0 s3..X| s4 a|
|00004020| 72 63 74 6f 20 70 6f 70 | 20 70 6f 70 20 73 69 7a |rcto pop| pop siz|
|00004030| 65 20 61 64 64 20 73 34 | 20 73 33 20 34 20 32 20 |e add s4| s3 4 2 |
|00004040| 72 6f 6c 6c 20 73 34 20 | 61 72 63 74 6f 20 70 6f |roll s4 |arcto po|
|00004050| 70 20 70 6f 70 20 70 6f | 70 20 70 6f 70 20 0a 09 |p pop po|p pop ..|
|00004060| 58 20 20 20 20 73 34 20 | 73 69 7a 65 20 2e 32 20 |X s4 |size .2 |
|00004070| 6d 75 6c 20 6c 69 6e 65 | 74 6f 20 62 65 7d 64 65 |mul line|to be}de|
|00004080| 66 0a 09 58 2f 63 61 74 | 66 6f 6e 74 73 20 5b 0a |f..X/cat|fonts [.|
|00004090| 09 58 09 2f 54 69 6d 65 | 73 2d 52 6f 6d 61 6e 20 |.X./Time|s-Roman |
|000040a0| 66 69 6e 64 66 6f 6e 74 | 0a 09 58 09 2f 54 69 6d |findfont|..X./Tim|
|000040b0| 65 73 2d 49 74 61 6c 69 | 63 20 66 69 6e 64 66 6f |es-Itali|c findfo|
|000040c0| 6e 74 0a 09 58 09 2f 54 | 69 6d 65 73 2d 42 6f 6c |nt..X./T|imes-Bol|
|000040d0| 64 20 66 69 6e 64 66 6f | 6e 74 0a 09 58 09 2f 53 |d findfo|nt..X./S|
|000040e0| 79 6d 62 6f 6c 20 66 69 | 6e 64 66 6f 6e 74 0a 09 |ymbol fi|ndfont..|
|000040f0| 58 09 2f 54 69 6d 65 73 | 2d 52 6f 6d 61 6e 20 66 |X./Times|-Roman f|
|00004100| 69 6e 64 66 6f 6e 74 0a | 09 58 09 5d 20 64 65 66 |indfont.|.X.] def|
|00004110| 0a 09 58 25 25 45 6e 64 | 50 72 6f 6c 6f 67 0a 09 |..X%%End|Prolog..|
|00004120| 58 25 25 50 61 67 65 3a | 20 3f 20 31 0a 09 58 42 |X%%Page:| ? 1..XB|
|00004130| 50 0a 09 58 31 20 46 0a | 09 58 36 30 20 5a 0a 09 |P..X1 F.|.X60 Z..|
|00004140| 58 34 33 32 20 31 36 35 | 28 48 65 6c 6c 6f 2c 29 |X432 165|(Hello,)|
|00004150| 55 0a 09 58 36 30 31 28 | 57 6f 72 6c 64 21 29 53 |U..X601(|World!)S|
|00004160| 0a 09 58 45 50 0a 09 58 | 25 25 54 72 61 69 6c 65 |..XEP..X|%%Traile|
|00004170| 72 0a 09 58 70 73 63 61 | 74 73 61 76 65 20 65 6e |r..Xpsca|tsave en|
|00004180| 64 20 72 65 73 74 6f 72 | 65 0a 09 58 25 25 50 61 |d restor|e..X%%Pa|
|00004190| 67 65 73 3a 20 31 0a 53 | 48 41 52 5f 45 4f 46 0a |ges: 1.S|HAR_EOF.|
|000041a0| 69 66 20 74 65 73 74 20 | 34 39 36 37 20 2d 6e 65 |if test |4967 -ne|
|000041b0| 20 22 60 77 63 20 2d 63 | 20 3c 20 27 68 65 6c 6c | "`wc -c| < 'hell|
|000041c0| 6f 2e 70 73 27 60 22 0a | 74 68 65 6e 0a 09 65 63 |o.ps'`".|then..ec|
|000041d0| 68 6f 20 73 68 61 72 3a | 20 65 72 72 6f 72 20 74 |ho shar:| error t|
|000041e0| 72 61 6e 73 6d 69 74 74 | 69 6e 67 20 22 27 68 65 |ransmitt|ing "'he|
|000041f0| 6c 6c 6f 2e 70 73 27 22 | 20 27 28 73 68 6f 75 6c |llo.ps'"| '(shoul|
|00004200| 64 20 68 61 76 65 20 62 | 65 65 6e 20 34 39 36 37 |d have b|een 4967|
|00004210| 20 63 68 61 72 61 63 74 | 65 72 73 29 27 0a 66 69 | charact|ers)'.fi|
|00004220| 0a 66 69 20 23 20 65 6e | 64 20 6f 66 20 6f 76 65 |.fi # en|d of ove|
|00004230| 72 77 72 69 74 69 6e 67 | 20 63 68 65 63 6b 0a 65 |rwriting| check.e|
|00004240| 63 68 6f 20 73 68 61 72 | 3a 20 65 78 74 72 61 63 |cho shar|: extrac|
|00004250| 74 69 6e 67 20 22 27 73 | 65 72 76 65 72 63 6f 6d |ting "'s|ervercom|
|00004260| 6d 2e 38 6c 27 22 20 27 | 28 34 32 37 31 20 63 68 |m.8l'" '|(4271 ch|
|00004270| 61 72 61 63 74 65 72 73 | 29 27 0a 69 66 20 74 65 |aracters|)'.if te|
|00004280| 73 74 20 2d 66 20 27 73 | 65 72 76 65 72 63 6f 6d |st -f 's|ervercom|
|00004290| 6d 2e 38 6c 27 0a 74 68 | 65 6e 0a 09 65 63 68 6f |m.8l'.th|en..echo|
|000042a0| 20 73 68 61 72 3a 20 77 | 69 6c 6c 20 6e 6f 74 20 | shar: w|ill not |
|000042b0| 6f 76 65 72 2d 77 72 69 | 74 65 20 65 78 69 73 74 |over-wri|te exist|
|000042c0| 69 6e 67 20 66 69 6c 65 | 20 22 27 73 65 72 76 65 |ing file| "'serve|
|000042d0| 72 63 6f 6d 6d 2e 38 6c | 27 22 0a 65 6c 73 65 0a |rcomm.8l|'".else.|
|000042e0| 73 65 64 20 27 73 2f 5e | 09 58 2f 2f 27 20 3c 3c |sed 's/^|.X//' <<|
|000042f0| 20 5c 53 48 41 52 5f 45 | 4f 46 20 3e 20 27 73 65 | \SHAR_E|OF > 'se|
|00004300| 72 76 65 72 63 6f 6d 6d | 2e 38 6c 27 0a 09 58 2e |rvercomm|.8l'..X.|
|00004310| 54 48 20 53 45 52 56 45 | 52 43 4f 4d 4d 20 38 20 |TH SERVE|RCOMM 8 |
|00004320| 22 38 20 4a 55 4c 59 20 | 31 39 38 39 22 0a 09 58 |"8 JULY |1989"..X|
|00004330| 5c 22 20 24 48 65 61 64 | 65 72 24 0a 09 58 2e 64 |\" $Head|er$..X.d|
|00004340| 73 20 54 53 20 54 5c 73 | 2d 32 52 41 4e 5c 73 2b |s TS T\s|-2RAN\s+|
|00004350| 32 53 5c 73 2d 32 43 52 | 49 50 54 5c 73 2b 32 0a |2S\s-2CR|IPT\s+2.|
|00004360| 09 58 2e 53 48 20 4e 41 | 4d 45 0a 09 58 73 65 72 |.X.SH NA|ME..Xser|
|00004370| 76 65 72 63 6f 6d 6d 20 | 5c 2d 20 73 70 6f 6f 6c |vercomm |\- spool|
|00004380| 20 74 6f 20 61 20 70 72 | 69 6e 74 65 72 20 6f 6e | to a pr|inter on|
|00004390| 20 61 20 74 65 72 6d 69 | 6e 61 6c 20 73 65 72 76 | a termi|nal serv|
|000043a0| 65 72 0a 09 58 2e 53 48 | 20 53 59 4e 4f 50 53 49 |er..X.SH| SYNOPSI|
|000043b0| 53 0a 09 58 2e 42 20 73 | 65 72 76 65 72 63 6f 6d |S..X.B s|ervercom|
|000043c0| 6d 0a 09 58 5b 20 5c 66 | 42 5c 2d 76 5c 66 52 20 |m..X[ \f|B\-v\fR |
|000043d0| 5d 0a 09 58 5b 20 5c 66 | 42 5c 2d 78 5c 66 52 20 |]..X[ \f|B\-x\fR |
|000043e0| 5d 0a 09 58 5b 20 5c 66 | 42 5c 2d 64 5c 66 49 20 |]..X[ \f|B\-d\fI |
|000043f0| 64 65 76 69 63 65 5c 66 | 52 20 5d 0a 09 58 5b 20 |device\f|R ]..X[ |
|00004400| 5c 66 42 5c 2d 68 5c 66 | 49 20 68 6f 73 74 5c 66 |\fB\-h\f|I host\f|
|00004410| 52 20 5b 20 5c 66 42 5c | 2d 70 5c 66 49 20 70 6f |R [ \fB\|-p\fI po|
|00004420| 72 74 5c 66 52 20 5d 20 | 5d 0a 09 58 5b 20 5c 66 |rt\fR ] |]..X[ \f|
|00004430| 42 5c 2d 74 5c 66 49 20 | 70 74 79 64 65 76 69 63 |B\-t\fI |ptydevic|
|00004440| 65 20 74 74 79 64 65 76 | 69 63 65 5c 66 52 20 5d |e ttydev|ice\fR ]|
|00004450| 0a 09 58 5b 20 5c 66 42 | 5c 2d 66 5c 66 49 20 66 |..X[ \fB|\-f\fI f|
|00004460| 69 6c 74 65 72 5c 66 52 | 20 5d 0a 09 58 2e 53 48 |ilter\fR| ]..X.SH|
|00004470| 20 44 45 53 43 52 49 50 | 54 49 4f 4e 0a 09 58 2e | DESCRIP|TION..X.|
|00004480| 49 20 73 65 72 76 65 72 | 63 6f 6d 6d 0a 09 58 69 |I server|comm..Xi|
|00004490| 73 20 61 6e 20 70 72 6f | 67 72 61 6d 20 74 68 61 |s an pro|gram tha|
|000044a0| 74 20 70 72 6f 76 69 64 | 65 73 20 61 6e 20 69 6e |t provid|es an in|
|000044b0| 74 65 72 66 61 63 65 20 | 62 65 74 77 65 65 6e 20 |terface |between |
|000044c0| 61 20 74 79 70 69 63 61 | 6c 20 42 65 72 6b 65 6c |a typica|l Berkel|
|000044d0| 65 79 0a 09 58 2e 49 20 | 6c 70 64 0a 09 58 66 69 |ey..X.I |lpd..Xfi|
|000044e0| 6c 74 65 72 20 28 73 75 | 63 68 20 61 73 20 74 68 |lter (su|ch as th|
|000044f0| 6f 73 65 20 70 72 6f 76 | 69 64 65 64 20 69 6e 20 |ose prov|ided in |
|00004500| 74 68 65 20 41 64 6f 62 | 65 20 5c 2a 28 54 53 20 |the Adob|e \*(TS |
|00004510| 70 61 63 6b 61 67 65 29 | 20 61 6e 64 0a 09 58 61 |package)| and..Xa|
|00004520| 20 70 72 69 6e 74 65 72 | 20 28 73 75 63 68 20 61 | printer| (such a|
|00004530| 73 20 61 20 4c 61 73 65 | 72 57 72 69 74 65 72 29 |s a Lase|rWriter)|
|00004540| 20 63 6f 6e 6e 65 63 74 | 65 64 20 74 6f 20 61 20 | connect|ed to a |
|00004550| 73 65 72 69 61 6c 20 70 | 6f 72 74 20 6f 6e 20 61 |serial p|ort on a|
|00004560| 0a 09 58 74 65 72 6d 69 | 6e 61 6c 20 73 65 72 76 |..Xtermi|nal serv|
|00004570| 65 72 20 6d 61 6e 75 66 | 61 63 74 75 72 65 64 20 |er manuf|actured |
|00004580| 62 79 20 33 63 6f 6d 20 | 28 42 72 69 64 67 65 29 |by 3com |(Bridge)|
|00004590| 2c 20 63 69 73 63 6f 20 | 73 79 73 74 65 6d 73 2c |, cisco |systems,|
|000045a0| 20 6f 72 0a 09 58 58 79 | 6c 6f 67 69 63 73 20 28 | or..XXy|logics (|
|000045b0| 41 6e 6e 65 78 29 2e 20 | 0a 09 58 2e 49 20 53 65 |Annex). |..X.I Se|
|000045c0| 72 76 65 72 63 6f 6d 6d | 0a 09 58 6d 61 6b 65 73 |rvercomm|..Xmakes|
|000045d0| 20 61 20 54 43 50 2f 49 | 50 20 54 45 4c 4e 45 54 | a TCP/I|P TELNET|
|000045e0| 20 63 6f 6e 6e 65 63 74 | 69 6f 6e 20 74 6f 20 74 | connect|ion to t|
|000045f0| 68 65 20 73 70 65 63 69 | 66 69 65 64 20 73 65 72 |he speci|fied ser|
|00004600| 69 61 6c 20 70 6f 72 74 | 20 6f 66 20 74 68 65 0a |ial port| of the.|
|00004610| 09 58 73 70 65 63 69 66 | 69 65 64 20 74 65 72 6d |.Xspecif|ied term|
|00004620| 69 6e 61 6c 20 73 65 72 | 76 65 72 2e 20 49 74 20 |inal ser|ver. It |
|00004630| 74 68 65 6e 20 66 6f 72 | 6b 73 20 61 6e 64 20 65 |then for|ks and e|
|00004640| 78 65 63 73 20 74 68 65 | 20 6e 6f 72 6d 61 6c 20 |xecs the| normal |
|00004650| 66 69 6c 74 65 72 0a 09 | 58 28 61 73 20 73 70 65 |filter..|X(as spe|
|00004660| 63 69 66 69 65 64 29 2e | 0a 09 58 53 69 6e 63 65 |cified).|..XSince|
|00004670| 20 66 69 6c 74 65 72 73 | 20 65 78 70 65 63 74 20 | filters| expect |
|00004680| 74 6f 20 74 61 6c 6b 20 | 74 6f 20 61 20 70 68 79 |to talk |to a phy|
|00004690| 73 69 63 61 6c 20 64 65 | 76 69 63 65 2c 20 61 20 |sical de|vice, a |
|000046a0| 2f 64 65 76 2f 74 74 79 | 3f 3f 2c 20 73 6f 0a 09 |/dev/tty|??, so..|
|000046b0| 58 2e 49 20 73 65 72 76 | 65 72 63 6f 6d 6d 0a 09 |X.I serv|ercomm..|
|000046c0| 58 6f 62 6c 69 67 65 73 | 20 62 79 20 63 6f 6d 6d |Xobliges| by comm|
|000046d0| 75 6e 69 63 61 74 69 6e | 67 20 77 69 74 68 20 66 |unicatin|g with f|
|000046e0| 69 6c 74 65 72 73 0a 09 | 58 74 68 72 6f 75 67 68 |ilters..|Xthrough|
|000046f0| 20 74 68 65 20 6d 61 73 | 74 65 72 20 61 6e 64 20 | the mas|ter and |
|00004700| 73 6c 61 76 65 20 70 6f | 72 74 69 6f 6e 73 20 6f |slave po|rtions o|
|00004710| 66 20 61 20 6e 65 74 77 | 6f 72 6b 20 70 73 65 75 |f a netw|ork pseu|
|00004720| 64 6f 2d 74 65 72 6d 69 | 6e 61 6c 20 70 61 69 72 |do-termi|nal pair|
|00004730| 2c 0a 09 58 2f 64 65 76 | 2f 70 74 79 3f 3f 20 61 |,..X/dev|/pty?? a|
|00004740| 6e 64 20 2f 64 65 76 2f | 74 74 79 3f 3f 2e 20 0a |nd /dev/|tty??. .|
|00004750| 09 58 2e 49 20 53 65 72 | 76 65 72 63 6f 6d 6d 0a |.X.I Ser|vercomm.|
|00004760| 09 58 68 61 6e 64 6c 65 | 73 20 74 68 65 20 69 6e |.Xhandle|s the in|
|00004770| 74 65 72 63 68 61 6e 67 | 65 20 6f 66 20 64 61 74 |terchang|e of dat|
|00004780| 61 20 62 65 74 77 65 65 | 6e 20 74 68 65 20 70 73 |a betwee|n the ps|
|00004790| 65 75 64 6f 2d 74 65 72 | 6d 69 6e 61 6c 20 61 6e |eudo-ter|minal an|
|000047a0| 64 20 74 68 65 0a 09 58 | 63 6f 6d 6d 75 6e 69 63 |d the..X|communic|
|000047b0| 61 74 69 6f 6e 73 20 73 | 65 72 76 65 72 2e 20 0a |ations s|erver. .|
|000047c0| 09 58 2e 49 20 4c 70 64 | 0a 09 58 61 6e 64 20 61 |.X.I Lpd|..Xand a|
|000047d0| 6e 79 20 66 69 6c 74 65 | 72 73 20 62 65 68 61 76 |ny filte|rs behav|
|000047e0| 65 20 61 73 20 69 66 20 | 74 68 65 79 20 77 65 72 |e as if |they wer|
|000047f0| 65 20 63 6f 6d 6d 75 6e | 69 63 61 74 69 6e 67 20 |e commun|icating |
|00004800| 77 69 74 68 20 61 20 64 | 69 72 65 63 74 6c 79 2d |with a d|irectly-|
|00004810| 61 74 74 61 63 68 65 64 | 0a 09 58 70 72 69 6e 74 |attached|..Xprint|
|00004820| 65 72 2e 0a 09 58 2e 53 | 48 20 4f 50 54 49 4f 4e |er...X.S|H OPTION|
|00004830| 53 0a 09 58 2e 4c 50 0a | 09 58 2e 49 50 20 22 5c |S..X.LP.|.X.IP "\|
|00004840| 66 42 5c 2d 76 5c 66 52 | 22 0a 09 58 54 75 72 6e |fB\-v\fR|"..XTurn|
|00004850| 20 6f 6e 20 74 68 65 20 | 64 65 62 75 67 67 69 6e | on the |debuggin|
|00004860| 67 20 6f 75 74 70 75 74 | 20 74 6f 20 73 74 64 65 |g output| to stde|
|00004870| 72 72 2c 20 69 66 20 74 | 68 65 20 6f 70 74 69 6f |rr, if t|he optio|
|00004880| 6e 20 77 61 73 20 65 6e | 61 62 6c 65 64 20 61 74 |n was en|abled at|
|00004890| 0a 09 58 63 6f 6d 70 69 | 6c 65 20 74 69 6d 65 20 |..Xcompi|le time |
|000048a0| 74 68 72 6f 75 67 68 20 | 74 68 65 20 75 73 65 20 |through |the use |
|000048b0| 6f 66 20 74 68 65 20 2d | 44 44 45 42 55 47 20 63 |of the -|DDEBUG c|
|000048c0| 63 20 73 77 69 74 63 68 | 2e 0a 09 58 2e 49 50 20 |c switch|...X.IP |
|000048d0| 22 5c 66 42 5c 2d 78 5c | 66 52 22 0a 09 58 54 75 |"\fB\-x\|fR"..XTu|
|000048e0| 72 6e 20 6f 6e 20 74 68 | 65 20 64 75 6d 70 20 6f |rn on th|e dump o|
|000048f0| 75 74 70 75 74 20 74 6f | 20 73 74 64 65 72 72 2c |utput to| stderr,|
|00004900| 20 69 66 20 74 68 65 20 | 6f 70 74 69 6f 6e 20 77 | if the |option w|
|00004910| 61 73 20 65 6e 61 62 6c | 65 64 20 61 74 20 63 6f |as enabl|ed at co|
|00004920| 6d 70 69 6c 65 0a 09 58 | 74 69 6d 65 20 74 68 72 |mpile..X|time thr|
|00004930| 6f 75 67 68 20 74 68 65 | 20 75 73 65 20 6f 66 20 |ough the| use of |
|00004940| 74 68 65 20 2d 44 44 55 | 4d 50 20 63 63 20 73 77 |the -DDU|MP cc sw|
|00004950| 69 74 63 68 2e 0a 09 58 | 2e 49 50 20 22 5c 66 42 |itch...X|.IP "\fB|
|00004960| 5c 2d 64 5c 66 49 20 64 | 65 76 69 63 65 5c 66 52 |\-d\fI d|evice\fR|
|00004970| 22 0a 09 58 53 70 65 63 | 69 66 79 20 61 20 64 65 |"..XSpec|ify a de|
|00004980| 76 69 63 65 2c 20 73 75 | 63 68 20 61 73 20 2f 64 |vice, su|ch as /d|
|00004990| 65 76 2f 6c 70 2c 20 74 | 6f 20 75 73 65 20 69 6e |ev/lp, t|o use in|
|000049a0| 73 74 65 61 64 20 6f 66 | 20 74 68 65 20 74 65 72 |stead of| the ter|
|000049b0| 6d 69 6e 61 6c 20 73 65 | 72 76 65 72 2e 0a 09 58 |minal se|rver...X|
|000049c0| 54 68 69 73 20 69 73 20 | 75 73 65 66 75 6c 20 66 |This is |useful f|
|000049d0| 6f 72 20 64 65 62 75 67 | 67 69 6e 67 20 74 68 65 |or debug|ging the|
|000049e0| 20 66 69 6c 74 65 72 20 | 77 69 74 68 20 61 20 68 | filter |with a h|
|000049f0| 61 72 64 77 69 72 65 64 | 20 70 72 69 6e 74 65 72 |ardwired| printer|
|00004a00| 2e 20 4f 6d 69 74 74 65 | 64 0a 09 58 69 66 20 74 |. Omitte|d..Xif t|
|00004a10| 68 65 20 5c 66 42 5c 2d | 68 5c 66 52 20 73 77 69 |he \fB\-|h\fR swi|
|00004a20| 74 63 68 20 69 73 20 75 | 73 65 64 2e 0a 09 58 2e |tch is u|sed...X.|
|00004a30| 49 50 20 22 5c 66 42 5c | 2d 68 5c 66 49 20 68 6f |IP "\fB\|-h\fI ho|
|00004a40| 73 74 5c 66 52 22 0a 09 | 58 53 70 65 63 69 66 79 |st\fR"..|XSpecify|
|00004a50| 20 74 68 65 20 68 6f 73 | 74 20 6e 61 6d 65 20 6f | the hos|t name o|
|00004a60| 66 20 74 68 65 20 74 65 | 72 6d 69 6e 61 6c 20 73 |f the te|rminal s|
|00004a70| 65 72 76 65 72 20 5b 6f | 72 20 70 6f 72 74 20 6f |erver [o|r port o|
|00004a80| 6e 20 61 20 74 65 72 6d | 69 6e 61 6c 20 73 65 72 |n a term|inal ser|
|00004a90| 76 65 72 5d 0a 09 58 74 | 68 61 74 20 74 68 65 20 |ver]..Xt|hat the |
|00004aa0| 70 72 69 6e 74 65 72 20 | 69 73 20 61 74 74 61 63 |printer |is attac|
|00004ab0| 68 65 64 20 74 6f 2e 0a | 09 58 4f 6d 69 74 74 65 |hed to..|.XOmitte|
|00004ac0| 64 20 69 66 20 74 68 65 | 20 5c 66 42 5c 2d 64 5c |d if the| \fB\-d\|
|00004ad0| 66 52 20 73 77 69 74 63 | 68 20 69 73 20 75 73 65 |fR switc|h is use|
|00004ae0| 64 2e 0a 09 58 2e 49 50 | 20 22 5c 66 42 5c 2d 70 |d...X.IP| "\fB\-p|
|00004af0| 5c 66 49 20 70 6f 72 74 | 5c 66 52 22 0a 09 58 53 |\fI port|\fR"..XS|
|00004b00| 70 65 63 69 66 79 20 74 | 68 65 20 6e 75 6d 62 65 |pecify t|he numbe|
|00004b10| 72 20 6f 66 20 74 68 65 | 20 73 65 72 69 61 6c 20 |r of the| serial |
|00004b20| 70 6f 72 74 20 74 68 61 | 74 20 74 68 65 20 70 72 |port tha|t the pr|
|00004b30| 69 6e 74 65 72 20 69 73 | 20 61 74 74 61 63 68 65 |inter is| attache|
|00004b40| 64 0a 09 58 74 6f 2e 20 | 4f 6d 69 74 74 65 64 20 |d..Xto. |Omitted |
|00004b50| 69 66 20 74 68 65 20 5c | 66 42 5c 2d 64 5c 66 52 |if the \|fB\-d\fR|
|00004b60| 20 73 77 69 74 63 68 20 | 69 73 20 75 73 65 64 2e | switch |is used.|
|00004b70| 20 54 68 69 73 20 73 77 | 69 74 63 68 20 69 73 20 | This sw|itch is |
|00004b80| 75 6e 6e 65 65 64 65 64 | 20 77 69 74 68 0a 09 58 |unneeded| with..X|
|00004b90| 74 68 65 20 33 63 6f 6d | 20 6f 72 20 63 69 73 63 |the 3com| or cisc|
|00004ba0| 6f 20 74 65 72 6d 69 6e | 61 6c 20 73 65 72 76 65 |o termin|al serve|
|00004bb0| 72 73 2e 0a 09 58 2e 49 | 50 20 22 5c 66 42 5c 2d |rs...X.I|P "\fB\-|
|00004bc0| 74 5c 66 49 20 70 74 79 | 64 65 76 69 63 65 20 74 |t\fI pty|device t|
|00004bd0| 74 79 64 65 76 69 63 65 | 5c 66 52 22 0a 09 58 49 |tydevice|\fR"..XI|
|00004be0| 6e 64 69 63 61 74 65 20 | 74 68 65 20 6d 61 73 74 |ndicate |the mast|
|00004bf0| 65 72 2d 73 6c 61 76 65 | 20 70 73 65 75 64 6f 2d |er-slave| pseudo-|
|00004c00| 74 65 72 6d 69 6e 61 6c | 20 70 61 69 72 20 74 6f |terminal| pair to|
|00004c10| 20 62 65 20 75 73 65 64 | 20 74 6f 20 63 6f 6d 6d | be used| to comm|
|00004c20| 75 6e 69 63 61 74 65 0a | 09 58 77 69 74 68 20 74 |unicate.|.Xwith t|
|00004c30| 68 65 20 66 69 6c 74 65 | 72 2e 20 54 68 65 20 74 |he filte|r. The t|
|00004c40| 74 79 20 6e 61 6d 65 20 | 63 6f 75 6c 64 20 62 65 |ty name |could be|
|00004c50| 20 69 6e 74 75 69 74 65 | 64 20 66 72 6f 6d 20 74 | intuite|d from t|
|00004c60| 68 65 20 70 74 79 20 6e | 61 6d 65 2c 20 70 72 6f |he pty n|ame, pro|
|00004c70| 76 69 64 65 64 0a 09 58 | 74 68 65 20 73 74 61 6e |vided..X|the stan|
|00004c80| 64 61 72 64 20 6e 61 6d | 65 73 20 61 72 65 20 75 |dard nam|es are u|
|00004c90| 73 65 64 2c 20 62 75 74 | 20 74 68 65 20 75 73 65 |sed, but| the use|
|00004ca0| 72 20 73 68 6f 75 6c 64 | 20 62 65 20 61 62 6c 65 |r should| be able|
|00004cb0| 20 74 6f 20 6e 61 6d 65 | 20 74 68 65 0a 09 58 70 | to name| the..Xp|
|00004cc0| 61 69 72 20 73 6f 6d 65 | 74 68 69 6e 67 20 65 6c |air some|thing el|
|00004cd0| 73 65 2c 20 6c 69 6b 65 | 20 2f 64 65 76 2f 70 6c |se, like| /dev/pl|
|00004ce0| 70 20 61 6e 64 20 2f 64 | 65 76 2f 74 6c 70 2e 0a |p and /d|ev/tlp..|
|00004cf0| 09 58 2e 49 50 20 22 5c | 66 42 5c 2d 66 5c 66 49 |.X.IP "\|fB\-f\fI|
|00004d00| 20 66 69 6c 74 65 72 5c | 66 52 22 0a 09 58 50 72 | filter\|fR"..XPr|
|00004d10| 6f 76 69 64 65 20 74 68 | 65 20 63 6f 6d 70 6c 65 |ovide th|e comple|
|00004d20| 74 65 20 63 6f 6d 6d 61 | 6e 64 20 6c 69 6e 65 20 |te comma|nd line |
|00004d30| 66 6f 72 20 74 68 65 20 | 66 69 6c 74 65 72 20 74 |for the |filter t|
|00004d40| 6f 20 62 65 20 69 6e 76 | 6f 6b 65 64 2e 0a 09 58 |o be inv|oked...X|
|00004d50| 54 79 70 69 63 61 6c 6c | 79 2c 20 74 68 69 73 20 |Typicall|y, this |
|00004d60| 69 73 20 0a 09 58 2e 49 | 20 70 73 63 6f 6d 6d 0a |is ..X.I| pscomm.|
|00004d70| 09 58 66 72 6f 6d 20 74 | 68 65 20 5c 2a 28 54 53 |.Xfrom t|he \*(TS|
|00004d80| 20 70 61 63 6b 61 67 65 | 2c 20 62 75 74 20 69 74 | package|, but it|
|00004d90| 20 63 6f 75 6c 64 20 62 | 65 20 73 6f 6d 65 74 68 | could b|e someth|
|00004da0| 69 6e 67 20 65 6c 73 65 | 2e 0a 09 58 2e 53 48 20 |ing else|...X.SH |
|00004db0| 22 4e 4f 54 45 53 20 66 | 6f 72 20 5c 2a 28 54 53 |"NOTES f|or \*(TS|
|00004dc0| 20 22 0a 09 58 42 72 69 | 65 66 6c 79 2c 20 74 68 | "..XBri|efly, th|
|00004dd0| 65 20 42 65 72 6b 65 6c | 65 79 20 6c 69 6e 65 20 |e Berkel|ey line |
|00004de0| 70 72 69 6e 74 65 72 20 | 64 61 65 6d 6f 6e 2c 20 |printer |daemon, |
|00004df0| 0a 09 58 2e 49 20 6c 70 | 64 2c 0a 09 58 69 6e 76 |..X.I lp|d,..Xinv|
|00004e00| 6f 6b 65 73 20 66 69 6c | 74 65 72 73 20 74 6f 20 |okes fil|ters to |
|00004e10| 68 61 6e 64 6c 65 20 63 | 6f 6d 6d 75 6e 69 63 61 |handle c|ommunica|
|00004e20| 74 69 6f 6e 73 20 77 69 | 74 68 20 61 20 70 72 69 |tions wi|th a pri|
|00004e30| 6e 74 65 72 20 61 74 74 | 61 63 68 65 64 20 74 6f |nter att|ached to|
|00004e40| 20 61 0a 09 58 73 65 72 | 69 61 6c 20 70 6f 72 74 | a..Xser|ial port|
|00004e50| 20 6f 6e 20 74 68 65 20 | 68 6f 73 74 20 63 6f 6d | on the |host com|
|00004e60| 70 75 74 65 72 2e 20 49 | 66 20 74 68 65 73 65 20 |puter. I|f these |
|00004e70| 66 69 6c 74 65 72 73 20 | 61 72 65 20 6d 6f 64 69 |filters |are modi|
|00004e80| 66 69 65 64 20 74 6f 20 | 73 74 61 72 74 0a 09 58 |fied to |start..X|
|00004e90| 2e 49 20 73 65 72 76 65 | 72 63 6f 6d 6d 0a 09 58 |.I serve|rcomm..X|
|00004ea0| 69 6e 73 74 65 61 64 20 | 6f 66 20 63 61 6c 6c 69 |instead |of calli|
|00004eb0| 6e 67 20 74 68 65 20 75 | 73 75 61 6c 20 63 6f 6d |ng the u|sual com|
|00004ec0| 6d 75 6e 69 63 61 74 69 | 6f 6e 73 20 66 69 6c 74 |municati|ons filt|
|00004ed0| 65 72 2c 20 0a 09 58 2e | 49 20 70 73 63 6f 6d 6d |er, ..X.|I pscomm|
|00004ee0| 2c 0a 09 58 74 68 65 6e | 0a 09 58 2e 49 20 73 65 |,..Xthen|..X.I se|
|00004ef0| 72 76 65 72 63 6f 6d 6d | 20 0a 09 58 77 69 6c 6c |rvercomm| ..Xwill|
|00004f00| 20 69 6e 69 74 69 61 6c | 69 7a 65 20 74 68 65 20 | initial|ize the |
|00004f10| 63 6f 6e 6e 65 63 74 69 | 6f 6e 20 61 6e 64 20 73 |connecti|on and s|
|00004f20| 74 61 72 74 0a 09 58 2e | 49 20 70 73 63 6f 6d 6d |tart..X.|I pscomm|
|00004f30| 0a 09 58 74 6f 20 6f 75 | 74 70 75 74 20 74 68 65 |..Xto ou|tput the|
|00004f40| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 2e 0a 09 58 | informa|tion...X|
|00004f50| 2e 62 72 0a 09 58 54 6f | 20 69 6e 73 74 61 6c 6c |.br..XTo| install|
|00004f60| 0a 09 58 2e 49 20 73 65 | 72 76 65 72 63 6f 6d 6d |..X.I se|rvercomm|
|00004f70| 2c 0a 09 58 63 6f 70 79 | 20 69 74 20 69 6e 20 74 |,..Xcopy| it in t|
|00004f80| 68 65 20 74 68 65 20 64 | 69 72 65 63 74 6f 72 79 |he the d|irectory|
|00004f90| 20 77 68 65 72 65 0a 09 | 58 2e 49 20 70 73 63 6f | where..|X.I psco|
|00004fa0| 6d 6d 0a 09 58 69 73 20 | 6c 6f 63 61 74 65 64 2e |mm..Xis |located.|
|00004fb0| 20 4d 61 6b 65 20 61 20 | 63 6f 70 79 20 6f 66 20 | Make a |copy of |
|00004fc0| 74 68 65 20 0a 09 58 2e | 49 20 70 73 69 6e 74 2e |the ..X.|I psint.|
|00004fd0| 73 68 0a 09 58 73 68 65 | 6c 6c 20 73 63 72 69 70 |sh..Xshe|ll scrip|
|00004fe0| 74 20 61 6e 64 20 65 64 | 69 74 20 69 74 20 74 6f |t and ed|it it to|
|00004ff0| 20 6d 61 6b 65 20 74 68 | 65 20 66 6f 6c 6c 6f 77 | make th|e follow|
|00005000| 69 6e 67 20 63 68 61 6e | 67 65 73 2e 0a 09 58 2e |ing chan|ges...X.|
|00005010| 62 72 0a 09 58 43 68 61 | 6e 67 65 20 74 68 65 20 |br..XCha|nge the |
|00005020| 6c 69 6e 65 20 74 68 65 | 20 62 65 67 69 6e 73 0a |line the| begins.|
|00005030| 09 58 2e 42 20 63 6f 6d | 6d 3d 0a 09 58 74 6f 20 |.X.B com|m=..Xto |
|00005040| 62 65 67 69 6e 20 77 69 | 74 68 0a 09 58 2e 42 20 |begin wi|th..X.B |
|00005050| 66 69 6c 74 65 72 3d 0a | 09 58 61 6e 64 20 74 68 |filter=.|.Xand th|
|00005060| 65 6e 20 61 64 64 20 74 | 68 69 73 20 6c 69 6e 65 |en add t|his line|
|00005070| 3a 0a 09 58 2e 62 72 0a | 09 58 63 6f 6d 6d 3d 73 |:..X.br.|.Xcomm=s|
|00005080| 65 72 76 65 72 63 6f 6d | 6d 20 2d 68 0a 09 58 2e |ervercom|m -h..X.|
|00005090| 42 20 68 6f 73 74 6e 61 | 6d 65 0a 09 58 2d 70 0a |B hostna|me..X-p.|
|000050a0| 09 58 2e 42 20 70 6f 72 | 74 69 64 0a 09 58 2d 74 |.X.B por|tid..X-t|
|000050b0| 0a 09 58 2e 42 20 74 74 | 79 2d 6e 61 6d 65 73 0a |..X.B tt|y-names.|
|000050c0| 09 58 2d 66 20 24 66 69 | 6c 74 65 72 0a 09 58 2e |.X-f $fi|lter..X.|
|000050d0| 62 72 0a 09 58 2e 73 70 | 0a 09 58 2e 42 20 68 6f |br..X.sp|..X.B ho|
|000050e0| 73 74 6e 61 6d 65 2c 0a | 09 58 2e 42 20 70 6f 72 |stname,.|.X.B por|
|000050f0| 74 69 64 2c 0a 09 58 61 | 6e 64 0a 09 58 2e 42 20 |tid,..Xa|nd..X.B |
|00005100| 70 73 75 64 6f 2d 74 74 | 79 2d 6e 61 6d 65 0a 09 |psudo-tt|y-name..|
|00005110| 58 61 72 65 20 64 65 73 | 63 72 69 62 65 64 20 61 |Xare des|cribed a|
|00005120| 62 6f 76 65 2e 0a 09 58 | 49 66 20 79 6f 75 20 72 |bove...X|If you r|
|00005130| 65 70 6c 61 63 65 20 74 | 68 65 20 0a 09 58 2e 49 |eplace t|he ..X.I|
|00005140| 20 70 73 69 6e 74 2e 73 | 68 0a 09 58 73 63 72 69 | psint.s|h..Xscri|
|00005150| 70 74 20 77 69 74 68 20 | 74 68 69 73 20 6d 6f 64 |pt with |this mod|
|00005160| 69 66 69 65 64 20 6f 6e | 65 2c 20 74 68 65 6e 20 |ified on|e, then |
|00005170| 79 6f 75 72 20 63 68 61 | 6e 67 65 73 20 61 72 65 |your cha|nges are|
|00005180| 20 63 6f 6d 70 6c 65 74 | 65 2e 20 48 6f 77 65 76 | complet|e. Howev|
|00005190| 65 72 2c 20 69 66 0a 09 | 58 79 6f 75 20 68 61 76 |er, if..|Xyou hav|
|000051a0| 65 20 6d 6f 72 65 20 74 | 68 61 6e 20 6f 6e 65 20 |e more t|han one |
|000051b0| 70 72 69 6e 74 65 72 2c | 20 79 6f 75 20 77 69 6c |printer,| you wil|
|000051c0| 6c 20 6e 65 65 64 20 61 | 20 76 65 72 73 69 6f 6e |l need a| version|
|000051d0| 20 6f 66 0a 09 58 2e 49 | 20 70 73 69 6e 74 2e 73 | of..X.I| psint.s|
|000051e0| 68 0a 09 58 66 6f 72 20 | 65 61 63 68 20 6f 6e 65 |h..Xfor |each one|
|000051f0| 2e 0a 09 58 2e 53 48 20 | 46 49 4c 45 53 0a 09 58 |...X.SH |FILES..X|
|00005200| 2e 6e 66 0a 09 58 2f 65 | 74 63 2f 70 72 69 6e 74 |.nf..X/e|tc/print|
|00005210| 63 61 70 09 70 72 69 6e | 74 65 72 20 63 61 70 61 |cap.prin|ter capa|
|00005220| 62 69 6c 69 74 69 65 73 | 20 64 61 74 61 20 62 61 |bilities| data ba|
|00005230| 73 65 0a 09 58 2f 75 73 | 72 2f 6c 69 62 2f 6c 70 |se..X/us|r/lib/lp|
|00005240| 64 2a 09 6c 69 6e 65 20 | 70 72 69 6e 74 65 72 20 |d*.line |printer |
|00005250| 64 61 65 6d 6f 6e 73 0a | 09 58 2f 75 73 72 2f 73 |daemons.|.X/usr/s|
|00005260| 70 6f 6f 6c 2f 2a 09 64 | 69 72 65 63 74 6f 72 69 |pool/*.d|irectori|
|00005270| 65 73 20 75 73 65 64 20 | 66 6f 72 20 73 70 6f 6f |es used |for spoo|
|00005280| 6c 69 6e 67 0a 09 58 2e | 66 69 0a 09 58 2e 53 48 |ling..X.|fi..X.SH|
|00005290| 20 22 53 45 45 20 41 4c | 53 4f 22 0a 09 58 70 72 | "SEE AL|SO"..Xpr|
|000052a0| 69 6e 74 63 61 70 28 35 | 29 2c 0a 09 58 6c 70 63 |intcap(5|),..Xlpc|
|000052b0| 28 38 29 2c 0a 09 58 6c | 70 64 28 38 29 2c 0a 09 |(8),..Xl|pd(8),..|
|000052c0| 58 70 73 63 6f 6d 6d 28 | 38 29 2c 0a 09 58 70 73 |Xpscomm(|8),..Xps|
|000052d0| 69 66 28 38 29 0a 09 58 | 2e 53 48 20 44 49 41 47 |if(8)..X|.SH DIAG|
|000052e0| 4e 4f 53 54 49 43 53 0a | 09 58 54 68 65 72 65 20 |NOSTICS.|.XThere |
|000052f0| 61 72 65 20 6d 61 6e 79 | 20 70 6f 73 73 69 62 6c |are many| possibl|
|00005300| 65 20 66 61 74 61 6c 20 | 64 69 61 67 6e 6f 73 74 |e fatal |diagnost|
|00005310| 69 63 20 6d 65 73 73 61 | 67 65 73 2e 20 45 61 63 |ic messa|ges. Eac|
|00005320| 68 20 69 6e 64 69 63 61 | 74 65 73 20 77 68 69 63 |h indica|tes whic|
|00005330| 68 0a 09 58 72 6f 75 74 | 69 6e 65 20 69 6e 20 0a |h..Xrout|ine in .|
|00005340| 09 58 2e 49 20 73 65 72 | 76 65 72 63 6f 6d 6d 0a |.X.I ser|vercomm.|
|00005350| 09 58 68 61 64 20 74 68 | 65 20 66 61 74 61 6c 20 |.Xhad th|e fatal |
|00005360| 65 72 72 6f 72 2e 20 49 | 6e 20 6d 6f 73 74 20 63 |error. I|n most c|
|00005370| 61 73 65 73 2c 0a 09 58 | 2e 49 20 73 65 72 76 65 |ases,..X|.I serve|
|00005380| 72 63 6f 6d 6d 0a 09 58 | 72 65 74 75 72 6e 73 20 |rcomm..X|returns |
|00005390| 61 6e 20 4c 50 44 5f 41 | 42 4f 52 54 20 63 6f 64 |an LPD_A|BORT cod|
|000053a0| 65 20 74 6f 20 0a 09 58 | 2e 49 20 6c 70 64 2e 0a |e to ..X|.I lpd..|
|000053b0| 09 58 49 66 20 74 68 65 | 20 73 70 65 63 69 66 69 |.XIf the| specifi|
|000053c0| 65 64 20 66 69 6c 74 65 | 72 20 28 74 79 70 69 63 |ed filte|r (typic|
|000053d0| 61 6c 6c 79 20 0a 09 58 | 2e 49 20 70 73 63 6f 6d |ally ..X|.I pscom|
|000053e0| 6d 0a 09 58 29 20 66 61 | 69 6c 73 2c 20 0a 09 58 |m..X) fa|ils, ..X|
|000053f0| 2e 49 20 73 65 72 76 65 | 72 63 6f 6d 6d 0a 09 58 |.I serve|rcomm..X|
|00005400| 72 65 74 75 72 6e 73 20 | 74 68 65 20 65 78 69 74 |returns |the exit|
|00005410| 20 63 6f 64 65 20 6f 66 | 20 74 68 65 20 66 69 6c | code of| the fil|
|00005420| 74 65 72 20 74 6f 0a 09 | 58 2e 49 20 6c 70 64 2e |ter to..|X.I lpd.|
|00005430| 0a 09 58 2e 53 48 20 4e | 4f 54 45 53 0a 09 58 5c |..X.SH N|OTES..X\|
|00005440| 2a 28 54 53 20 69 73 20 | 61 20 74 72 61 64 65 6d |*(TS is |a tradem|
|00005450| 61 72 6b 20 6f 66 20 41 | 64 6f 62 65 20 53 79 73 |ark of A|dobe Sys|
|00005460| 74 65 6d 73 20 49 6e 63 | 6f 72 70 6f 72 61 74 65 |tems Inc|orporate|
|00005470| 64 2e 0a 09 58 2e 62 72 | 0a 09 58 41 6e 6e 65 78 |d...X.br|..XAnnex|
|00005480| 20 69 73 20 61 20 74 72 | 61 64 65 6d 61 72 6b 20 | is a tr|ademark |
|00005490| 6f 66 20 58 79 6c 6f 67 | 69 63 73 20 49 6e 63 6f |of Xylog|ics Inco|
|000054a0| 72 70 6f 72 61 74 65 64 | 2e 0a 09 58 2e 62 72 0a |rporated|...X.br.|
|000054b0| 09 58 4c 61 73 65 72 57 | 72 69 74 65 72 20 69 73 |.XLaserW|riter is|
|000054c0| 20 61 20 74 72 61 64 65 | 6d 61 72 6b 20 6f 66 20 | a trade|mark of |
|000054d0| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2e 0a |Apple Co|mputer..|
|000054e0| 53 48 41 52 5f 45 4f 46 | 0a 69 66 20 74 65 73 74 |SHAR_EOF|.if test|
|000054f0| 20 34 32 37 31 20 2d 6e | 65 20 22 60 77 63 20 2d | 4271 -n|e "`wc -|
|00005500| 63 20 3c 20 27 73 65 72 | 76 65 72 63 6f 6d 6d 2e |c < 'ser|vercomm.|
|00005510| 38 6c 27 60 22 0a 74 68 | 65 6e 0a 09 65 63 68 6f |8l'`".th|en..echo|
|00005520| 20 73 68 61 72 3a 20 65 | 72 72 6f 72 20 74 72 61 | shar: e|rror tra|
|00005530| 6e 73 6d 69 74 74 69 6e | 67 20 22 27 73 65 72 76 |nsmittin|g "'serv|
|00005540| 65 72 63 6f 6d 6d 2e 38 | 6c 27 22 20 27 28 73 68 |ercomm.8|l'" '(sh|
|00005550| 6f 75 6c 64 20 68 61 76 | 65 20 62 65 65 6e 20 34 |ould hav|e been 4|
|00005560| 32 37 31 20 63 68 61 72 | 61 63 74 65 72 73 29 27 |271 char|acters)'|
|00005570| 0a 66 69 0a 66 69 20 23 | 20 65 6e 64 20 6f 66 20 |.fi.fi #| end of |
|00005580| 6f 76 65 72 77 72 69 74 | 69 6e 67 20 63 68 65 63 |overwrit|ing chec|
|00005590| 6b 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 65 78 74 |k.echo s|har: ext|
|000055a0| 72 61 63 74 69 6e 67 20 | 22 27 73 65 72 76 65 72 |racting |"'server|
|000055b0| 63 6f 6d 6d 2e 63 27 22 | 20 27 28 31 36 33 35 36 |comm.c'"| '(16356|
|000055c0| 20 63 68 61 72 61 63 74 | 65 72 73 29 27 0a 69 66 | charact|ers)'.if|
|000055d0| 20 74 65 73 74 20 2d 66 | 20 27 73 65 72 76 65 72 | test -f| 'server|
|000055e0| 63 6f 6d 6d 2e 63 27 0a | 74 68 65 6e 0a 09 65 63 |comm.c'.|then..ec|
|000055f0| 68 6f 20 73 68 61 72 3a | 20 77 69 6c 6c 20 6e 6f |ho shar:| will no|
|00005600| 74 20 6f 76 65 72 2d 77 | 72 69 74 65 20 65 78 69 |t over-w|rite exi|
|00005610| 73 74 69 6e 67 20 66 69 | 6c 65 20 22 27 73 65 72 |sting fi|le "'ser|
|00005620| 76 65 72 63 6f 6d 6d 2e | 63 27 22 0a 65 6c 73 65 |vercomm.|c'".else|
|00005630| 0a 73 65 64 20 27 73 2f | 5e 09 58 2f 2f 27 20 3c |.sed 's/|^.X//' <|
|00005640| 3c 20 5c 53 48 41 52 5f | 45 4f 46 20 3e 20 27 73 |< \SHAR_|EOF > 's|
|00005650| 65 72 76 65 72 63 6f 6d | 6d 2e 63 27 0a 09 58 2f |ervercom|m.c'..X/|
|00005660| 2a 0a 09 58 2a 2a 09 53 | 20 45 20 52 20 56 20 45 |*..X**.S| E R V E|
|00005670| 20 52 20 43 20 4f 20 4d | 20 4d 0a 09 58 2a 2a 0a | R C O M| M..X**.|
|00005680| 09 58 2a 2a 09 54 69 74 | 6c 65 3a 09 09 20 20 20 |.X**.Tit|le:.. |
|00005690| 20 73 65 72 76 65 72 63 | 6f 6d 6d 20 28 66 6f 72 | serverc|omm (for|
|000056a0| 6d 65 72 6c 79 20 61 6e | 6e 65 78 66 29 0a 09 58 |merly an|nexf)..X|
|000056b0| 2a 2a 09 4f 72 69 67 69 | 6e 61 6c 20 41 75 74 68 |**.Origi|nal Auth|
|000056c0| 6f 72 3a 20 20 20 20 4a | 6f 68 6e 20 53 6c 6f 61 |or: J|ohn Sloa|
|000056d0| 6e 20 28 69 6e 74 65 72 | 6e 65 74 3a 20 6a 73 6c |n (inter|net: jsl|
|000056e0| 6f 61 6e 40 53 50 4f 54 | 53 2e 57 72 69 67 68 74 |oan@SPOT|S.Wright|
|000056f0| 2e 45 64 75 29 0a 09 58 | 2a 2a 09 53 79 73 74 65 |.Edu)..X|**.Syste|
|00005700| 6d 3a 09 09 20 20 20 20 | 53 75 6e 4f 53 20 0a 09 |m:.. |SunOS ..|
|00005710| 58 2a 2a 09 4c 61 6e 67 | 75 61 67 65 3a 09 20 20 |X**.Lang|uage:. |
|00005720| 20 20 43 0a 09 58 2a 2a | 09 44 61 74 65 3a 09 09 | C..X**|.Date:..|
|00005730| 20 20 20 20 41 70 72 69 | 6c 20 31 39 38 38 0a 09 | Apri|l 1988..|
|00005740| 58 2a 2a 09 41 62 73 74 | 72 61 63 74 0a 09 58 2a |X**.Abst|ract..X*|
|00005750| 2a 0a 09 58 2a 2a 09 53 | 65 72 76 65 72 63 6f 6d |*..X**.S|ervercom|
|00005760| 6d 20 69 73 20 61 20 66 | 69 6c 74 65 72 20 66 6f |m is a f|ilter fo|
|00005770| 72 20 74 68 65 20 42 65 | 72 6b 65 6c 65 79 20 73 |r the Be|rkeley s|
|00005780| 70 6f 6f 6c 65 72 20 64 | 61 65 6d 6f 6e 20 74 68 |pooler d|aemon th|
|00005790| 61 74 0a 09 58 2a 2a 09 | 65 73 74 61 62 6c 69 73 |at..X**.|establis|
|000057a0| 68 65 73 20 61 20 62 69 | 64 69 72 65 63 74 69 6f |hes a bi|directio|
|000057b0| 6e 61 6c 20 54 43 50 2f | 49 50 2f 54 45 4c 4e 45 |nal TCP/|IP/TELNE|
|000057c0| 54 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 20 74 6f 0a |T connec|tion to.|
|000057d0| 09 58 2a 2a 09 61 20 73 | 65 72 69 61 6c 20 70 6f |.X**.a s|erial po|
|000057e0| 72 74 20 6f 6e 20 61 6e | 20 74 65 72 6d 69 6e 61 |rt on an| termina|
|000057f0| 6c 20 73 65 72 76 65 72 | 20 6d 61 64 65 20 62 79 |l server| made by|
|00005800| 20 70 6f 70 75 6c 61 72 | 20 6d 61 6b 65 72 73 0a | popular| makers.|
|00005810| 09 58 2a 2a 09 73 6f 20 | 74 68 61 74 20 70 72 69 |.X**.so |that pri|
|00005820| 6e 74 6f 75 74 73 20 63 | 61 6e 20 62 65 20 73 70 |ntouts c|an be sp|
|00005830| 6f 6f 6c 65 64 20 74 6f | 20 61 20 73 65 72 69 61 |ooled to| a seria|
|00005840| 6c 20 70 72 69 6e 74 65 | 72 20 63 6f 6e 6e 65 63 |l printe|r connec|
|00005850| 74 65 64 0a 09 58 2a 2a | 09 74 6f 20 74 68 65 20 |ted..X**|.to the |
|00005860| 73 65 72 76 65 72 2e 20 | 49 74 20 69 73 20 69 6e |server. |It is in|
|00005870| 74 65 6e 64 65 64 20 74 | 6f 20 62 65 20 75 73 65 |tended t|o be use|
|00005880| 64 20 77 69 74 68 20 61 | 6e 20 41 70 70 6c 65 0a |d with a|n Apple.|
|00005890| 09 58 2a 2a 09 4c 61 73 | 65 72 77 72 69 74 65 72 |.X**.Las|erwriter|
|000058a0| 20 61 6e 64 20 74 68 65 | 20 41 64 6f 62 65 20 54 | and the| Adobe T|
|000058b0| 72 61 6e 73 63 72 69 70 | 74 20 70 61 63 6b 61 67 |ranscrip|t packag|
|000058c0| 65 2c 20 62 75 74 20 63 | 6f 75 6c 64 0a 09 58 2a |e, but c|ould..X*|
|000058d0| 2a 09 62 65 20 75 73 65 | 64 20 66 6f 72 20 6f 74 |*.be use|d for ot|
|000058e0| 68 65 72 20 74 68 69 6e | 67 73 20 61 73 20 77 65 |her thin|gs as we|
|000058f0| 6c 6c 2e 20 49 74 20 63 | 61 6e 20 61 6c 73 6f 20 |ll. It c|an also |
|00005900| 62 65 20 63 6f 6e 66 69 | 67 75 72 65 64 0a 09 58 |be confi|gured..X|
|00005910| 2a 2a 09 61 74 20 72 75 | 6e 20 74 69 6d 65 20 74 |**.at ru|n time t|
|00005920| 6f 20 74 61 6c 6b 20 74 | 6f 20 61 20 2f 64 65 76 |o talk t|o a /dev|
|00005930| 20 64 65 76 69 63 65 20 | 69 6e 73 74 65 61 64 20 | device |instead |
|00005940| 6f 66 20 74 68 65 20 74 | 65 72 6d 69 6e 61 6c 20 |of the t|erminal |
|00005950| 73 65 72 76 65 72 0a 09 | 58 2b 2b 0a 09 58 2b 2b |server..|X++..X++|
|00005960| 09 4d 6f 64 69 66 69 65 | 64 20 62 79 20 4a 69 6d |.Modifie|d by Jim|
|00005970| 20 57 61 72 6e 65 72 20 | 74 6f 20 77 6f 72 6b 20 | Warner |to work |
|00005980| 77 69 74 68 20 74 68 65 | 20 73 65 72 76 69 63 65 |with the| service|
|00005990| 20 6c 69 73 74 65 6e 65 | 72 0a 09 58 2b 2b 09 70 | listene|r..X++.p|
|000059a0| 6f 72 74 20 6f 6e 20 42 | 72 69 64 67 65 20 43 6f |ort on B|ridge Co|
|000059b0| 6d 6d 75 6e 69 63 61 74 | 69 6f 6e 73 20 74 65 72 |mmunicat|ions ter|
|000059c0| 6d 69 6e 61 6c 20 73 65 | 72 76 65 72 73 2e 20 20 |minal se|rvers. |
|000059d0| 54 68 65 20 64 69 61 6c | 6f 67 0a 09 58 2b 2b 09 |The dial|og..X++.|
|000059e0| 69 6e 20 68 61 6e 64 73 | 68 61 6b 65 28 29 20 69 |in hands|hake() i|
|000059f0| 73 20 75 6e 6e 65 63 65 | 73 73 61 72 79 2e 20 20 |s unnece|ssary. |
|00005a00| 54 68 65 20 22 70 6f 72 | 74 22 20 6e 75 6d 62 65 |The "por|t" numbe|
|00005a10| 72 20 77 61 73 20 74 68 | 65 20 70 68 79 73 69 63 |r was th|e physic|
|00005a20| 61 6c 0a 09 58 2b 2b 09 | 63 6f 6e 6e 65 63 74 6f |al..X++.|connecto|
|00005a30| 72 20 6f 6e 20 74 68 65 | 20 62 61 63 6b 20 6f 66 |r on the| back of|
|00005a40| 20 74 68 65 20 61 6e 6e | 65 78 2e 20 20 46 6f 72 | the ann|ex. For|
|00005a50| 20 42 72 69 64 67 65 20 | 28 61 6e 64 20 43 69 73 | Bridge |(and Cis|
|00005a60| 63 6f 2c 20 49 20 62 65 | 74 29 0a 09 58 2b 2b 09 |co, I be|t)..X++.|
|00005a70| 74 68 69 73 20 69 73 20 | 74 68 65 20 74 63 70 2d |this is |the tcp-|
|00005a80| 70 6f 72 74 20 6e 75 6d | 62 65 72 20 74 6f 20 75 |port num|ber to u|
|00005a90| 73 65 20 69 6e 73 74 65 | 61 64 20 6f 66 20 74 65 |se inste|ad of te|
|00005aa0| 6c 6e 65 74 3d 32 33 2e | 20 20 46 6f 72 0a 09 58 |lnet=23.| For..X|
|00005ab0| 2b 2b 09 42 72 69 64 67 | 65 2c 20 77 65 27 72 65 |++.Bridg|e, we're|
|00005ac0| 20 67 6f 69 6e 67 20 74 | 6f 20 6e 65 65 64 20 61 | going t|o need a|
|00005ad0| 6e 20 49 50 20 61 64 64 | 72 65 73 73 20 70 65 72 |n IP add|ress per|
|00005ae0| 20 70 72 69 6e 74 65 72 | 2e 0a 09 58 2b 2b 09 09 | printer|...X++..|
|00005af0| 09 09 09 09 4a 61 6e 20 | 32 20 31 39 38 39 0a 09 |....Jan |2 1989..|
|00005b00| 58 3d 3d 0a 09 58 3d 3d | 09 4d 6f 64 69 66 69 65 |X==..X==|.Modifie|
|00005b10| 64 20 62 79 20 44 69 6e | 61 68 20 41 6e 64 65 72 |d by Din|ah Ander|
|00005b20| 73 6f 6e 20 3c 64 69 6e | 61 68 40 62 63 6d 2e 74 |son <din|ah@bcm.t|
|00005b30| 6d 63 2e 65 64 75 3e 20 | 74 6f 20 75 73 65 20 74 |mc.edu> |to use t|
|00005b40| 68 65 20 0a 09 58 3d 3d | 09 73 79 73 2f 74 65 72 |he ..X==|.sys/ter|
|00005b50| 6d 69 6f 73 2e 68 20 64 | 61 74 61 20 73 74 72 75 |mios.h d|ata stru|
|00005b60| 63 74 75 72 65 20 69 6e | 73 74 65 61 64 20 6f 66 |cture in|stead of|
|00005b70| 20 74 68 65 20 73 79 73 | 2f 69 6f 63 74 6c 2e 68 | the sys|/ioctl.h|
|00005b80| 2e 0a 09 58 3d 3d 09 41 | 6c 73 6f 20 73 65 74 20 |...X==.A|lso set |
|00005b90| 74 68 65 20 70 74 79 73 | 20 63 68 61 72 61 63 74 |the ptys| charact|
|00005ba0| 65 72 69 73 74 69 63 73 | 20 65 78 70 6c 69 63 69 |eristics| explici|
|00005bb0| 74 6c 79 20 73 69 6e 63 | 65 20 6d 6f 73 74 20 70 |tly sinc|e most p|
|00005bc0| 6f 73 74 73 63 72 69 70 | 74 0a 09 58 3d 3d 09 66 |ostscrip|t..X==.f|
|00005bd0| 69 6c 65 73 20 77 6f 75 | 6c 64 20 6e 6f 74 20 70 |iles wou|ld not p|
|00005be0| 72 69 6e 74 2e 20 57 65 | 20 74 65 73 74 65 64 20 |rint. We| tested |
|00005bf0| 74 68 69 73 20 75 73 69 | 6e 67 20 61 20 42 72 69 |this usi|ng a Bri|
|00005c00| 64 67 65 20 73 65 72 76 | 65 72 2e 0a 09 58 3d 3d |dge serv|er...X==|
|00005c10| 09 38 2f 32 33 2f 38 39 | 2e 0a 09 58 2a 2a 0a 09 |.8/23/89|...X**..|
|00005c20| 58 2a 2a 09 44 69 73 63 | 6c 61 69 6d 65 72 0a 09 |X**.Disc|laimer..|
|00005c30| 58 2a 2a 0a 09 58 2a 2a | 09 54 68 69 73 20 73 6f |X**..X**|.This so|
|00005c40| 66 74 77 61 72 65 20 69 | 73 20 73 75 70 70 6c 69 |ftware i|s suppli|
|00005c50| 65 64 20 61 73 20 69 73 | 2c 20 61 6e 64 20 6e 6f |ed as is|, and no|
|00005c60| 20 77 61 72 72 61 6e 74 | 79 20 69 73 20 65 78 70 | warrant|y is exp|
|00005c70| 72 65 73 73 65 64 20 6f | 72 0a 09 58 2a 2a 09 69 |ressed o|r..X**.i|
|00005c80| 6d 70 6c 69 65 64 20 61 | 73 20 74 6f 20 69 74 73 |mplied a|s to its|
|00005c90| 20 63 6f 72 72 65 63 74 | 6e 65 73 73 2c 20 66 75 | correct|ness, fu|
|00005ca0| 6e 63 74 69 6f 6e 61 6c | 69 74 79 2c 20 6f 72 20 |nctional|ity, or |
|00005cb0| 73 75 69 74 61 62 69 6c | 69 74 79 0a 09 58 2a 2a |suitabil|ity..X**|
|00005cc0| 09 66 6f 72 20 61 6e 79 | 20 61 70 70 6c 69 63 61 |.for any| applica|
|00005cd0| 74 69 6f 6e 2c 20 61 6e | 79 77 68 65 72 65 2c 20 |tion, an|ywhere, |
|00005ce0| 61 74 20 61 6e 79 74 69 | 6d 65 2c 20 62 79 20 61 |at anyti|me, by a|
|00005cf0| 6e 79 6f 6e 65 2e 0a 09 | 58 2a 2a 0a 09 58 2a 2a |nyone...|X**..X**|
|00005d00| 09 41 63 6b 6e 6f 77 6c | 65 64 67 65 6d 65 6e 74 |.Acknowl|edgement|
|00005d10| 73 0a 09 58 2a 2a 0a 09 | 58 2a 2a 09 4d 75 63 68 |s..X**..|X**.Much|
|00005d20| 20 6f 66 20 74 68 69 73 | 20 63 6f 64 65 20 77 61 | of this| code wa|
|00005d30| 73 20 69 6e 73 70 69 72 | 65 64 20 62 79 20 74 65 |s inspir|ed by te|
|00005d40| 6c 6e 65 74 2e 63 20 66 | 72 6f 6d 20 55 43 42 20 |lnet.c f|rom UCB |
|00005d50| 61 6e 64 20 61 70 72 69 | 6e 74 2e 63 0a 09 58 2a |and apri|nt.c..X*|
|00005d60| 2a 09 66 72 6f 6d 20 45 | 6e 63 6f 72 65 20 43 6f |*.from E|ncore Co|
|00005d70| 6d 70 75 74 65 72 2e 20 | 4e 6f 20 63 6f 64 65 20 |mputer. |No code |
|00005d80| 62 6f 72 72 6f 77 65 64 | 2c 20 62 75 74 20 61 20 |borrowed|, but a |
|00005d90| 6c 6f 74 20 6f 66 20 71 | 75 65 73 74 69 6f 6e 73 |lot of q|uestions|
|00005da0| 0a 09 58 2a 2a 09 77 65 | 72 65 20 61 6e 73 77 65 |..X**.we|re answe|
|00005db0| 72 65 64 20 62 79 20 70 | 65 72 75 73 69 6e 67 20 |red by p|erusing |
|00005dc0| 74 68 65 73 65 20 65 78 | 61 6d 70 6c 65 73 2e 20 |these ex|amples. |
|00005dd0| 41 6c 73 6f 2c 20 6d 61 | 6e 79 20 74 68 61 6e 6b |Also, ma|ny thank|
|00005de0| 73 20 74 6f 0a 09 58 2a | 2a 09 4b 65 6e 20 59 61 |s to..X*|*.Ken Ya|
|00005df0| 70 20 3c 6b 65 6e 40 63 | 73 2e 72 6f 63 68 65 73 |p <ken@c|s.roches|
|00005e00| 74 65 72 2e 65 64 75 3e | 2c 20 77 68 6f 20 73 75 |ter.edu>|, who su|
|00005e10| 67 67 65 73 74 65 64 20 | 75 73 69 6e 67 20 61 20 |ggested |using a |
|00005e20| 70 74 79 2f 74 74 79 0a | 09 58 2a 2a 09 70 61 69 |pty/tty.|.X**.pai|
|00005e30| 72 20 74 6f 20 63 6f 6d | 6d 75 6e 69 63 61 74 65 |r to com|municate|
|00005e40| 20 77 69 74 68 20 70 73 | 63 6f 6d 6d 2e 20 49 20 | with ps|comm. I |
|00005e50| 77 61 73 20 77 6f 72 6b | 69 6e 67 20 6f 6e 20 74 |was work|ing on t|
|00005e60| 68 61 74 20 77 68 65 6e | 20 49 0a 09 58 2a 2a 09 |hat when| I..X**.|
|00005e70| 72 65 63 65 69 76 65 64 | 20 68 69 73 20 65 6d 61 |received| his ema|
|00005e80| 69 6c 2c 20 61 6e 64 20 | 69 74 20 77 61 73 20 65 |il, and |it was e|
|00005e90| 6e 63 6f 75 72 61 67 69 | 6e 67 20 74 6f 20 68 65 |ncouragi|ng to he|
|00005ea0| 61 72 20 73 6f 6d 65 6f | 6e 65 20 65 6c 73 65 0a |ar someo|ne else.|
|00005eb0| 09 58 2a 2a 09 74 68 61 | 74 20 74 68 6f 75 67 68 |.X**.tha|t though|
|00005ec0| 74 20 69 74 20 73 68 6f | 75 6c 64 20 77 6f 72 6b |t it sho|uld work|
|00005ed0| 2e 0a 09 58 2a 2a 0a 09 | 58 2a 2a 09 43 6f 6d 70 |...X**..|X**.Comp|
|00005ee0| 69 6c 65 20 54 69 6d 65 | 20 46 6c 61 67 73 0a 09 |ile Time| Flags..|
|00005ef0| 58 2a 2a 0a 09 58 2a 2a | 09 44 45 42 55 47 09 09 |X**..X**|.DEBUG..|
|00005f00| 43 6f 6d 70 69 6c 65 73 | 20 69 6e 20 64 65 62 75 |Compiles| in debu|
|00005f10| 67 67 69 6e 67 20 63 6f | 64 65 20 74 6f 20 6d 61 |gging co|de to ma|
|00005f20| 6b 65 0a 09 58 2a 2a 09 | 09 09 75 73 65 66 75 6c |ke..X**.|..useful|
|00005f30| 20 72 65 6d 61 72 6b 73 | 20 6f 6e 20 73 74 64 65 | remarks| on stde|
|00005f40| 72 72 2e 20 55 73 65 20 | 74 68 65 0a 09 58 2a 2a |rr. Use |the..X**|
|00005f50| 09 09 09 2d 76 20 72 75 | 6e 20 74 69 6d 65 20 66 |...-v ru|n time f|
|00005f60| 6c 61 67 20 74 6f 20 61 | 63 74 69 76 61 74 65 2e |lag to a|ctivate.|
|00005f70| 0a 09 58 2a 2a 0a 09 58 | 2a 2a 09 44 55 4d 50 09 |..X**..X|**.DUMP.|
|00005f80| 09 43 6f 6d 70 69 6c 65 | 73 20 69 6e 20 63 6f 64 |.Compile|s in cod|
|00005f90| 65 20 74 6f 20 64 75 6d | 70 20 64 61 74 61 20 74 |e to dum|p data t|
|00005fa0| 6f 20 73 74 64 65 72 72 | 0a 09 58 2a 2a 09 09 09 |o stderr|..X**...|
|00005fb0| 61 73 20 69 74 27 73 20 | 62 65 69 6e 67 20 70 72 |as it's |being pr|
|00005fc0| 6f 63 65 73 73 65 64 2e | 20 56 65 72 79 20 76 65 |ocessed.| Very ve|
|00005fd0| 72 62 6f 73 65 2c 0a 09 | 58 2a 2a 09 09 09 62 75 |rbose,..|X**...bu|
|00005fe0| 74 20 75 73 65 66 75 6c | 20 69 6e 20 64 65 62 75 |t useful| in debu|
|00005ff0| 67 67 69 6e 67 2e 20 55 | 73 65 20 74 68 65 20 2d |gging. U|se the -|
|00006000| 78 20 72 75 6e 0a 09 58 | 2a 2a 09 09 09 74 69 6d |x run..X|**...tim|
|00006010| 65 20 66 6c 61 67 20 74 | 6f 20 61 63 74 69 76 61 |e flag t|o activa|
|00006020| 74 65 2e 0a 09 58 2a 2a | 0a 09 58 2a 2a 09 42 52 |te...X**|..X**.BR|
|00006030| 49 44 47 45 09 09 43 6f | 6d 70 69 6c 65 73 20 69 |IDGE..Co|mpiles i|
|00006040| 6e 20 63 6f 64 65 20 74 | 6f 20 73 75 70 70 6f 72 |n code t|o suppor|
|00006050| 74 20 43 49 53 43 4f 20 | 6f 72 20 42 52 49 44 47 |t CISCO |or BRIDG|
|00006060| 45 0a 09 58 2a 2a 09 09 | 09 63 6f 6d 6d 75 6e 69 |E..X**..|.communi|
|00006070| 63 61 74 69 6f 6e 73 20 | 73 65 72 76 65 72 73 2e |cations |servers.|
|00006080| 0a 09 58 2a 2a 0a 09 58 | 2a 2f 0a 09 58 2f 2a 0a |..X**..X|*/..X/*.|
|00006090| 09 58 2a 2a 09 54 6f 20 | 64 6f 3a 0a 09 58 2a 2a |.X**.To |do:..X**|
|000060a0| 09 20 20 20 20 54 68 65 | 20 70 73 65 75 64 6f 74 |. The| pseudot|
|000060b0| 74 79 73 20 73 68 6f 75 | 6c 64 20 6e 6f 74 20 68 |tys shou|ld not h|
|000060c0| 61 76 65 20 74 6f 20 62 | 65 20 73 70 65 63 69 66 |ave to b|e specif|
|000060d0| 69 65 64 2e 20 54 68 65 | 20 70 72 6f 67 72 61 6d |ied. The| program|
|000060e0| 0a 09 58 2a 2a 09 20 20 | 20 20 73 68 6f 75 6c 64 |..X**. | should|
|000060f0| 20 66 69 6e 64 20 74 68 | 65 20 66 69 72 73 74 20 | find th|e first |
|00006100| 61 76 61 69 6c 61 62 6c | 65 20 6f 6e 65 73 20 61 |availabl|e ones a|
|00006110| 6e 64 20 75 73 65 20 74 | 68 65 6d 2e 0a 09 58 2a |nd use t|hem...X*|
|00006120| 2a 0a 09 58 2a 2f 0a 09 | 58 23 69 6e 63 6c 75 64 |*..X*/..|X#includ|
|00006130| 65 20 3c 73 74 64 69 6f | 2e 68 3e 0a 09 58 23 69 |e <stdio|.h>..X#i|
|00006140| 6e 63 6c 75 64 65 20 3c | 73 79 73 2f 74 79 70 65 |nclude <|sys/type|
|00006150| 73 2e 68 3e 0a 09 58 23 | 69 6e 63 6c 75 64 65 20 |s.h>..X#|include |
|00006160| 3c 73 79 73 2f 66 69 6c | 65 2e 68 3e 0a 09 58 23 |<sys/fil|e.h>..X#|
|00006170| 69 6e 63 6c 75 64 65 20 | 3c 73 79 73 2f 74 65 72 |include |<sys/ter|
|00006180| 6d 69 6f 73 2e 68 3e 0a | 09 58 23 69 6e 63 6c 75 |mios.h>.|.X#inclu|
|00006190| 64 65 20 3c 63 74 79 70 | 65 2e 68 3e 0a 09 58 23 |de <ctyp|e.h>..X#|
|000061a0| 69 6e 63 6c 75 64 65 20 | 3c 65 72 72 6e 6f 2e 68 |include |<errno.h|
|000061b0| 3e 0a 09 58 23 69 6e 63 | 6c 75 64 65 20 3c 66 63 |>..X#inc|lude <fc|
|000061c0| 6e 74 6c 2e 68 3e 0a 09 | 58 23 69 6e 63 6c 75 64 |ntl.h>..|X#includ|
|000061d0| 65 20 3c 73 65 74 6a 6d | 70 2e 68 3e 0a 09 58 23 |e <setjm|p.h>..X#|
|000061e0| 69 6e 63 6c 75 64 65 20 | 3c 73 69 67 6e 61 6c 2e |include |<signal.|
|000061f0| 68 3e 0a 09 58 23 69 6e | 63 6c 75 64 65 20 3c 6e |h>..X#in|clude <n|
|00006200| 65 74 64 62 2e 68 3e 0a | 09 58 23 69 6e 63 6c 75 |etdb.h>.|.X#inclu|
|00006210| 64 65 20 3c 6e 65 74 69 | 6e 65 74 2f 69 6e 2e 68 |de <neti|net/in.h|
|00006220| 3e 0a 09 58 23 64 65 66 | 69 6e 65 09 54 45 4c 4f |>..X#def|ine.TELO|
|00006230| 50 54 53 0a 09 58 23 69 | 6e 63 6c 75 64 65 20 3c |PTS..X#i|nclude <|
|00006240| 61 72 70 61 2f 74 65 6c | 6e 65 74 2e 68 3e 0a 09 |arpa/tel|net.h>..|
|00006250| 58 23 69 6e 63 6c 75 64 | 65 20 3c 61 72 70 61 2f |X#includ|e <arpa/|
|00006260| 69 6e 65 74 2e 68 3e 0a | 09 58 23 69 6e 63 6c 75 |inet.h>.|.X#inclu|
|00006270| 64 65 20 3c 73 79 73 2f | 73 6f 63 6b 65 74 2e 68 |de <sys/|socket.h|
|00006280| 3e 0a 09 58 23 69 6e 63 | 6c 75 64 65 20 3c 73 79 |>..X#inc|lude <sy|
|00006290| 73 2f 77 61 69 74 2e 68 | 3e 0a 09 58 23 69 6e 63 |s/wait.h|>..X#inc|
|000062a0| 6c 75 64 65 20 3c 73 74 | 72 69 6e 67 73 2e 68 3e |lude <st|rings.h>|
|000062b0| 0a 09 58 0a 09 58 23 64 | 65 66 69 6e 65 20 4c 50 |..X..X#d|efine LP|
|000062c0| 44 5f 4f 4b 20 30 09 09 | 2f 2a 20 6c 70 64 20 66 |D_OK 0..|/* lpd f|
|000062d0| 69 6c 74 65 72 20 65 78 | 69 74 20 63 6f 64 65 73 |ilter ex|it codes|
|000062e0| 20 2a 2f 0a 09 58 23 64 | 65 66 69 6e 65 20 4c 50 | */..X#d|efine LP|
|000062f0| 44 5f 52 45 54 52 59 20 | 31 0a 09 58 23 64 65 66 |D_RETRY |1..X#def|
|00006300| 69 6e 65 20 4c 50 44 5f | 41 42 4f 52 54 20 32 0a |ine LPD_|ABORT 2.|
|00006310| 09 58 23 64 65 66 69 6e | 65 20 42 55 46 46 45 52 |.X#defin|e BUFFER|
|00006320| 20 35 31 32 09 09 2f 2a | 20 73 70 6f 6f 6c 65 72 | 512../*| spooler|
|00006330| 20 62 75 66 66 65 72 20 | 73 69 7a 65 20 69 6e 20 | buffer |size in |
|00006340| 62 79 74 65 73 20 2a 2f | 0a 09 58 23 64 65 66 69 |bytes */|..X#defi|
|00006350| 6e 65 20 43 52 20 27 5c | 30 31 35 27 0a 09 58 23 |ne CR '\|015'..X#|
|00006360| 64 65 66 69 6e 65 20 50 | 52 4f 4d 50 54 20 27 3a |define P|ROMPT ':|
|00006370| 27 0a 09 58 0a 09 58 23 | 69 66 64 65 66 20 44 45 |'..X..X#|ifdef DE|
|00006380| 42 55 47 0a 09 58 23 64 | 65 66 69 6e 65 20 44 50 |BUG..X#d|efine DP|
|00006390| 52 49 4e 54 46 28 73 29 | 09 69 66 20 28 64 65 62 |RINTF(s)|.if (deb|
|000063a0| 75 67 6f 6e 29 20 66 70 | 72 69 6e 74 66 20 73 0a |ugon) fp|rintf s.|
|000063b0| 09 58 23 65 6c 73 65 0a | 09 58 23 64 65 66 69 6e |.X#else.|.X#defin|
|000063c0| 65 20 44 50 52 49 4e 54 | 46 28 73 29 0a 09 58 23 |e DPRINT|F(s)..X#|
|000063d0| 65 6e 64 69 66 0a 09 58 | 0a 09 58 2f 2a 0a 09 58 |endif..X|..X/*..X|
|000063e0| 2a 2a 09 49 64 65 6e 74 | 69 66 69 63 61 74 69 6f |**.Ident|ificatio|
|000063f0| 6e 0a 09 58 2a 2f 0a 09 | 58 73 74 61 74 69 63 20 |n..X*/..|Xstatic |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.