home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / trn / part02 < prev    next >
SHell self-extracting ARchive  |  1991-12-02  |  85.3 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 Newsgroup Content (archive/news) magic Supported
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news or mail, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/329 Shell Archive Format default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/rfc822 default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 53 75 62 6a 65 63 74 3a | 20 20 76 32 35 69 30 30 |Subject:| v25i00|
|00000010| 35 3a 20 20 74 72 6e 20 | 32 2e 30 20 2d 20 74 68 |5: trn |2.0 - th|
|00000020| 72 65 61 64 65 64 20 6e | 65 77 73 72 65 61 64 65 |readed n|ewsreade|
|00000030| 72 20 62 61 73 65 64 20 | 6f 6e 20 72 6e 20 34 2e |r based |on rn 4.|
|00000040| 34 2c 20 50 61 72 74 30 | 32 2f 31 33 0a 4e 65 77 |4, Part0|2/13.New|
|00000050| 73 67 72 6f 75 70 73 3a | 20 63 6f 6d 70 2e 73 6f |sgroups:| comp.so|
|00000060| 75 72 63 65 73 2e 75 6e | 69 78 0a 41 70 70 72 6f |urces.un|ix.Appro|
|00000070| 76 65 64 3a 20 76 69 78 | 69 65 40 70 61 2e 64 65 |ved: vix|ie@pa.de|
|00000080| 63 2e 63 6f 6d 0a 0a 53 | 75 62 6d 69 74 74 65 64 |c.com..S|ubmitted|
|00000090| 2d 62 79 3a 20 64 61 76 | 69 73 6f 6e 40 62 6f 72 |-by: dav|ison@bor|
|000000a0| 6c 61 6e 64 2e 63 6f 6d | 20 28 57 61 79 6e 65 20 |land.com| (Wayne |
|000000b0| 44 61 76 69 73 6f 6e 29 | 0a 50 6f 73 74 69 6e 67 |Davison)|.Posting|
|000000c0| 2d 6e 75 6d 62 65 72 3a | 20 56 6f 6c 75 6d 65 20 |-number:| Volume |
|000000d0| 32 35 2c 20 49 73 73 75 | 65 20 35 0a 41 72 63 68 |25, Issu|e 5.Arch|
|000000e0| 69 76 65 2d 6e 61 6d 65 | 3a 20 74 72 6e 2f 70 61 |ive-name|: trn/pa|
|000000f0| 72 74 30 32 0a 0a 23 21 | 20 2f 62 69 6e 2f 73 68 |rt02..#!| /bin/sh|
|00000100| 0a 23 20 54 68 69 73 20 | 69 73 20 61 20 73 68 65 |.# This |is a she|
|00000110| 6c 6c 20 61 72 63 68 69 | 76 65 2e 20 20 52 65 6d |ll archi|ve. Rem|
|00000120| 6f 76 65 20 61 6e 79 74 | 68 69 6e 67 20 62 65 66 |ove anyt|hing bef|
|00000130| 6f 72 65 20 74 68 69 73 | 20 6c 69 6e 65 2c 20 74 |ore this| line, t|
|00000140| 68 65 6e 20 75 6e 70 61 | 63 6b 0a 23 20 69 74 20 |hen unpa|ck.# it |
|00000150| 62 79 20 73 61 76 69 6e | 67 20 69 74 20 69 6e 74 |by savin|g it int|
|00000160| 6f 20 61 20 66 69 6c 65 | 20 61 6e 64 20 74 79 70 |o a file| and typ|
|00000170| 69 6e 67 20 22 73 68 20 | 66 69 6c 65 22 2e 20 20 |ing "sh |file". |
|00000180| 54 6f 20 6f 76 65 72 77 | 72 69 74 65 20 65 78 69 |To overw|rite exi|
|00000190| 73 74 69 6e 67 0a 23 20 | 66 69 6c 65 73 2c 20 74 |sting.# |files, t|
|000001a0| 79 70 65 20 22 73 68 20 | 66 69 6c 65 20 2d 63 22 |ype "sh |file -c"|
|000001b0| 2e 20 20 59 6f 75 20 63 | 61 6e 20 61 6c 73 6f 20 |. You c|an also |
|000001c0| 66 65 65 64 20 74 68 69 | 73 20 61 73 20 73 74 61 |feed thi|s as sta|
|000001d0| 6e 64 61 72 64 20 69 6e | 70 75 74 20 76 69 61 0a |ndard in|put via.|
|000001e0| 23 20 75 6e 73 68 61 72 | 2c 20 6f 72 20 62 79 20 |# unshar|, or by |
|000001f0| 74 79 70 69 6e 67 20 22 | 73 68 20 3c 66 69 6c 65 |typing "|sh <file|
|00000200| 22 2c 20 65 2e 67 2e 2e | 20 20 49 66 20 74 68 69 |", e.g..| If thi|
|00000210| 73 20 61 72 63 68 69 76 | 65 20 69 73 20 63 6f 6d |s archiv|e is com|
|00000220| 70 6c 65 74 65 2c 20 79 | 6f 75 0a 23 20 77 69 6c |plete, y|ou.# wil|
|00000230| 6c 20 73 65 65 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |l see th|e follow|
|00000240| 69 6e 67 20 6d 65 73 73 | 61 67 65 20 61 74 20 74 |ing mess|age at t|
|00000250| 68 65 20 65 6e 64 3a 0a | 23 09 09 22 45 6e 64 20 |he end:.|#.."End |
|00000260| 6f 66 20 61 72 63 68 69 | 76 65 20 32 20 28 6f 66 |of archi|ve 2 (of|
|00000270| 20 31 33 29 2e 22 0a 23 | 20 43 6f 6e 74 65 6e 74 | 13).".#| Content|
|00000280| 73 3a 20 20 48 41 43 4b | 45 52 53 47 55 49 44 45 |s: HACK|ERSGUIDE|
|00000290| 20 48 49 4e 54 53 20 50 | 6e 65 77 73 2e 31 20 52 | HINTS P|news.1 R|
|000002a0| 6e 6d 61 69 6c 2e 31 20 | 61 72 74 69 6f 2e 63 20 |nmail.1 |artio.c |
|000002b0| 62 61 63 6b 70 61 67 65 | 2e 63 0a 23 20 20 20 62 |backpage|.c.# b|
|000002c0| 69 74 73 2e 68 20 63 68 | 65 61 74 2e 63 20 67 65 |its.h ch|eat.c ge|
|000002d0| 74 61 63 74 69 76 65 2e | 63 20 68 65 61 64 2e 68 |tactive.|c head.h|
|000002e0| 20 6c 61 73 74 2e 63 20 | 6d 61 6b 65 64 65 70 65 | last.c |makedepe|
|000002f0| 6e 64 2e 53 48 20 6d 74 | 2d 6d 69 73 63 2e 63 0a |nd.SH mt|-misc.c.|
|00000300| 23 20 20 20 6e 64 69 72 | 2e 63 20 6e 64 69 72 2e |# ndir|.c ndir.|
|00000310| 68 2e 53 48 20 6e 65 77 | 73 65 74 75 70 2e 31 20 |h.SH new|setup.1 |
|00000320| 6e 65 77 73 65 74 75 70 | 2e 53 48 20 6e 65 77 73 |newsetup|.SH news|
|00000330| 67 72 6f 75 70 73 2e 31 | 20 6e 65 77 73 67 72 6f |groups.1| newsgro|
|00000340| 75 70 73 2e 53 48 0a 23 | 20 20 20 6e 65 77 73 6e |ups.SH.#| newsn|
|00000350| 65 77 73 2e 53 48 20 6e | 67 73 72 63 68 2e 63 20 |ews.SH n|gsrch.c |
|00000360| 6f 6e 6c 79 2e 63 20 72 | 63 73 74 75 66 66 2e 68 |only.c r|cstuff.h|
|00000370| 20 74 68 72 65 61 64 73 | 2e 63 0a 23 20 57 72 61 | threads|.c.# Wra|
|00000380| 70 70 65 64 20 62 79 20 | 76 69 78 69 65 40 63 6f |pped by |vixie@co|
|00000390| 67 6e 69 74 69 6f 6e 2e | 70 61 2e 64 65 63 2e 63 |gnition.|pa.dec.c|
|000003a0| 6f 6d 20 6f 6e 20 54 75 | 65 20 44 65 63 20 20 33 |om on Tu|e Dec 3|
|000003b0| 20 31 36 3a 33 34 3a 35 | 31 20 31 39 39 31 0a 50 | 16:34:5|1 1991.P|
|000003c0| 41 54 48 3d 2f 62 69 6e | 3a 2f 75 73 72 2f 62 69 |ATH=/bin|:/usr/bi|
|000003d0| 6e 3a 2f 75 73 72 2f 75 | 63 62 20 3b 20 65 78 70 |n:/usr/u|cb ; exp|
|000003e0| 6f 72 74 20 50 41 54 48 | 0a 69 66 20 74 65 73 74 |ort PATH|.if test|
|000003f0| 20 2d 66 20 27 48 41 43 | 4b 45 52 53 47 55 49 44 | -f 'HAC|KERSGUID|
|00000400| 45 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |E' -a "$|{1}" != |
|00000410| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00000420| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00000430| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00000440| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 48 41 43 4b |ing file| \"'HACK|
|00000450| 45 52 53 47 55 49 44 45 | 27 5c 22 0a 65 6c 73 65 |ERSGUIDE|'\".else|
|00000460| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 |.echo sh|ar: Extr|
|00000470| 61 63 74 69 6e 67 20 5c | 22 27 48 41 43 4b 45 52 |acting \|"'HACKER|
|00000480| 53 47 55 49 44 45 27 5c | 22 20 5c 28 34 35 31 39 |SGUIDE'\|" \(4519|
|00000490| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|000004a0| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 48 41 43 |d "s/^X/|/" >'HAC|
|000004b0| 4b 45 52 53 47 55 49 44 | 45 27 20 3c 3c 27 45 4e |KERSGUID|E' <<'EN|
|000004c0| 44 5f 4f 46 5f 46 49 4c | 45 27 0a 48 61 63 6b 69 |D_OF_FIL|E'.Hacki|
|000004d0| 6e 67 20 4e 6f 74 65 73 | 0a 58 0a 49 66 20 79 6f |ng Notes|.X.If yo|
|000004e0| 75 20 61 72 65 6e 27 74 | 20 69 6e 74 65 72 65 73 |u aren't| interes|
|000004f0| 74 65 64 20 69 6e 20 6d | 75 63 6b 69 6e 67 20 77 |ted in m|ucking w|
|00000500| 69 74 68 20 74 68 65 20 | 69 6e 6e 61 72 64 73 20 |ith the |innards |
|00000510| 6f 66 20 72 6e 2c 20 64 | 6f 6e 27 74 20 72 65 61 |of rn, d|on't rea|
|00000520| 64 20 74 68 69 73 2e 0a | 58 0a 49 6e 20 74 68 65 |d this..|X.In the|
|00000530| 20 69 6e 74 65 72 65 73 | 74 73 20 6f 66 20 62 6f | interes|ts of bo|
|00000540| 74 68 20 73 70 61 63 65 | 20 61 6e 64 20 74 69 6d |th space| and tim|
|00000550| 65 20 6f 70 74 69 6d 69 | 7a 61 74 69 6f 6e 2c 20 |e optimi|zation, |
|00000560| 74 68 69 6e 67 73 20 61 | 72 65 20 64 6f 6e 65 20 |things a|re done |
|00000570| 69 6e 73 69 64 65 0a 72 | 6e 20 74 68 61 74 20 64 |inside.r|n that d|
|00000580| 6f 6e 27 74 20 61 6c 77 | 61 79 73 20 63 6f 6e 66 |on't alw|ays conf|
|00000590| 6f 72 6d 20 74 6f 20 74 | 68 65 20 68 69 67 68 65 |orm to t|he highe|
|000005a0| 73 74 20 69 64 65 61 6c | 73 20 6f 66 20 70 72 6f |st ideal|s of pro|
|000005b0| 67 72 61 6d 6d 69 6e 67 | 2e 20 20 54 6f 20 74 68 |gramming|. To th|
|000005c0| 65 0a 65 78 74 65 6e 74 | 20 49 20 66 65 6c 74 20 |e.extent| I felt |
|000005d0| 69 74 20 77 61 73 20 70 | 72 61 63 74 69 63 61 6c |it was p|ractical|
|000005e0| 2c 20 49 27 76 65 20 74 | 72 69 65 64 20 74 6f 20 |, I've t|ried to |
|000005f0| 63 6f 6e 66 6f 72 6d 20 | 74 6f 20 67 6f 6f 64 20 |conform |to good |
|00000600| 70 72 6f 67 72 61 6d 6d | 69 6e 67 0a 70 72 61 63 |programm|ing.prac|
|00000610| 74 69 63 65 2c 20 62 75 | 74 20 79 6f 75 20 6d 75 |tice, bu|t you mu|
|00000620| 73 74 20 72 65 61 6c 69 | 7a 65 20 74 68 61 74 20 |st reali|ze that |
|00000630| 6d 79 20 67 6f 61 6c 20 | 77 61 73 20 74 6f 20 6d |my goal |was to m|
|00000640| 61 6b 65 20 61 20 62 65 | 74 74 65 72 20 6d 6f 75 |ake a be|tter mou|
|00000650| 73 65 74 72 61 70 2c 0a | 73 6f 20 63 65 72 74 61 |setrap,.|so certa|
|00000660| 69 6e 20 63 6f 6e 73 63 | 69 6f 75 73 20 74 72 61 |in consc|ious tra|
|00000670| 64 65 6f 66 66 73 20 77 | 65 72 65 20 6d 61 64 65 |deoffs w|ere made|
|00000680| 20 69 6e 20 74 68 65 20 | 64 65 73 69 67 6e 20 6f | in the |design o|
|00000690| 66 20 72 6e 20 72 69 67 | 68 74 20 66 72 6f 6d 20 |f rn rig|ht from |
|000006a0| 74 68 65 0a 73 74 61 72 | 74 2e 20 20 49 6e 20 70 |the.star|t. In p|
|000006b0| 61 72 74 69 63 75 6c 61 | 72 2c 20 69 66 20 79 6f |articula|r, if yo|
|000006c0| 75 20 77 61 6e 74 20 74 | 6f 20 68 61 63 6b 20 6f |u want t|o hack o|
|000006d0| 6e 20 72 6e 20 28 61 6e | 64 20 49 20 77 6f 75 6c |n rn (an|d I woul|
|000006e0| 64 6e 27 74 20 62 6c 61 | 6d 65 20 79 6f 75 2c 0a |dn't bla|me you,.|
|000006f0| 69 74 27 73 20 66 75 6e | 29 2c 20 62 65 77 61 72 |it's fun|), bewar|
|00000700| 65 20 6f 66 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |e of the| followi|
|00000710| 6e 67 3a 0a 58 20 20 0a | 58 20 20 2a 20 62 75 66 |ng:.X .|X * buf|
|00000720| 20 61 6e 64 20 63 6d 64 | 5f 62 75 66 20 61 72 65 | and cmd|_buf are|
|00000730| 20 72 65 75 73 65 64 20 | 61 6c 6c 20 6f 76 65 72 | reused |all over|
|00000740| 20 74 68 65 20 70 6c 61 | 63 65 2e 20 20 31 31 2d | the pla|ce. 11-|
|00000750| 73 71 75 69 73 68 69 6e | 67 20 69 73 20 61 20 67 |squishin|g is a g|
|00000760| 6f 6f 64 0a 58 20 20 20 | 20 74 65 72 6d 20 66 6f |ood.X | term fo|
|00000770| 72 20 69 74 2e 20 20 4e | 6f 2c 20 49 27 6d 20 6f |r it. N|o, I'm o|
|00000780| 6e 20 61 20 56 61 78 20 | 6e 6f 77 2c 20 62 75 74 |n a Vax |now, but|
|00000790| 20 49 27 76 65 20 62 65 | 65 6e 20 74 68 65 72 65 | I've be|en there|
|000007a0| 2e 0a 58 0a 58 20 20 2a | 20 54 68 65 20 61 72 74 |..X.X *| The art|
|000007b0| 69 63 6c 65 20 68 65 61 | 64 65 72 20 69 73 20 70 |icle hea|der is p|
|000007c0| 61 72 73 65 64 20 6f 6e | 20 74 68 65 20 66 6c 79 |arsed on| the fly|
|000007d0| 2c 20 77 68 69 6c 65 20 | 69 74 20 69 73 20 62 65 |, while |it is be|
|000007e0| 69 6e 67 20 64 69 73 70 | 6c 61 79 65 64 2e 0a 58 |ing disp|layed..X|
|000007f0| 20 20 20 20 49 6e 20 66 | 61 63 74 2c 20 70 72 61 | In f|act, pra|
|00000800| 63 74 69 63 61 6c 6c 79 | 20 65 76 65 72 79 74 68 |ctically| everyth|
|00000810| 69 6e 67 20 69 73 20 64 | 6f 6e 65 20 6f 6e 20 74 |ing is d|one on t|
|00000820| 68 65 20 66 6c 79 20 77 | 69 74 68 69 6e 20 74 68 |he fly w|ithin th|
|00000830| 65 20 61 72 74 69 63 6c | 65 0a 58 20 20 20 20 64 |e articl|e.X d|
|00000840| 69 73 70 6c 61 79 20 6c | 6f 6f 70 2c 20 61 6e 64 |isplay l|oop, and|
|00000850| 20 74 68 65 72 65 20 61 | 72 65 20 70 6c 65 6e 74 | there a|re plent|
|00000860| 79 20 6f 66 20 73 74 61 | 74 65 20 76 61 72 69 61 |y of sta|te varia|
|00000870| 62 6c 65 73 2e 20 20 54 | 68 65 20 68 65 61 64 65 |bles. T|he heade|
|00000880| 72 0a 58 20 20 20 20 69 | 73 20 6e 65 76 65 72 20 |r.X i|s never |
|00000890| 65 78 70 6c 69 63 69 74 | 6c 79 20 73 74 6f 72 65 |explicit|ly store|
|000008a0| 64 20 69 6e 20 6d 65 6d | 6f 72 79 3b 20 72 61 74 |d in mem|ory; rat|
|000008b0| 68 65 72 2c 20 70 6f 69 | 6e 74 65 72 73 20 61 72 |her, poi|nters ar|
|000008c0| 65 20 6b 65 70 74 20 69 | 6e 74 6f 0a 58 20 20 20 |e kept i|nto.X |
|000008d0| 20 74 68 65 20 66 69 6c | 65 2e 20 20 54 68 65 20 | the fil|e. The |
|000008e0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 72 65 71 75 |informat|ion requ|
|000008f0| 69 72 65 64 20 74 6f 20 | 62 61 63 6b 75 70 20 70 |ired to |backup p|
|00000900| 61 67 65 73 20 69 73 20 | 6e 6f 74 20 73 74 6f 72 |ages is |not stor|
|00000910| 65 64 20 69 6e 0a 58 20 | 20 20 20 6d 65 6d 6f 72 |ed in.X | memor|
|00000920| 79 2c 20 65 78 63 65 70 | 74 20 66 6f 72 20 31 20 |y, excep|t for 1 |
|00000930| 62 75 66 66 65 72 27 73 | 20 77 6f 72 74 68 2e 20 |buffer's| worth. |
|00000940| 20 54 68 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e | The inf|ormation|
|00000950| 20 72 65 71 75 69 72 65 | 64 20 74 6f 20 64 6f 0a | require|d to do.|
|00000960| 58 20 20 20 20 74 68 65 | 20 64 65 6c 61 79 65 64 |X the| delayed|
|00000970| 20 6d 61 72 6b 20 61 73 | 20 75 6e 72 65 61 64 20 | mark as| unread |
|00000980| 28 4d 29 20 69 73 20 6e | 6f 74 20 73 74 6f 72 65 |(M) is n|ot store|
|00000990| 64 20 69 6e 20 6d 65 6d | 6f 72 79 20 65 69 74 68 |d in mem|ory eith|
|000009a0| 65 72 2e 0a 58 0a 58 20 | 20 2a 20 4c 6f 74 73 20 |er..X.X | * Lots |
|000009b0| 6f 66 20 63 6f 6e 74 6f | 72 74 69 6f 6e 73 20 61 |of conto|rtions a|
|000009c0| 72 65 20 67 6f 6e 65 20 | 74 68 72 6f 75 67 68 20 |re gone |through |
|000009d0| 74 6f 20 61 76 6f 69 64 | 20 75 73 69 6e 67 20 73 |to avoid| using s|
|000009e0| 74 61 74 69 63 20 6d 65 | 6d 6f 72 79 2c 20 6f 72 |tatic me|mory, or|
|000009f0| 0a 58 20 20 20 20 61 6c | 6c 6f 63 61 74 69 6e 67 |.X al|locating|
|00000a00| 20 75 6e 6e 65 63 65 73 | 73 61 72 79 20 6d 65 6d | unneces|sary mem|
|00000a10| 6f 72 79 2c 20 6f 72 20 | 6c 6f 73 69 6e 67 20 74 |ory, or |losing t|
|00000a20| 72 61 63 6b 20 6f 66 20 | 61 6c 6c 6f 63 61 74 65 |rack of |allocate|
|00000a30| 64 20 6d 65 6d 6f 72 79 | 2c 0a 58 20 20 20 20 77 |d memory|,.X w|
|00000a40| 68 69 6c 65 20 61 74 20 | 74 68 65 20 73 61 6d 65 |hile at |the same|
|00000a50| 20 74 69 6d 65 20 61 6c | 6c 6f 77 69 6e 67 20 2e | time al|lowing .|
|00000a60| 6e 65 77 73 72 63 20 6c | 69 6e 65 73 20 61 6e 64 |newsrc l|ines and|
|00000a70| 20 68 65 61 64 65 72 20 | 6c 69 6e 65 73 20 74 6f | header |lines to|
|00000a80| 20 62 65 0a 58 20 20 20 | 20 41 4e 59 20 6c 65 6e | be.X | ANY len|
|00000a90| 67 74 68 20 75 70 20 74 | 6f 20 74 68 65 20 61 6d |gth up t|o the am|
|00000aa0| 6f 75 6e 74 20 6f 66 20 | 6d 65 6d 6f 72 79 20 79 |ount of |memory y|
|00000ab0| 6f 75 20 68 61 76 65 2e | 20 20 52 6e 20 73 70 65 |ou have.| Rn spe|
|00000ac0| 6e 64 73 20 61 20 67 72 | 65 61 74 20 64 65 61 6c |nds a gr|eat deal|
|00000ad0| 0a 58 20 20 20 20 6f 66 | 20 65 66 66 6f 72 74 20 |.X of| effort |
|00000ae0| 62 65 69 6e 67 20 6c 61 | 7a 79 2e 20 20 44 6f 20 |being la|zy. Do |
|00000af0| 6e 6f 74 20 75 73 65 20 | 61 20 73 74 61 74 69 63 |not use |a static|
|00000b00| 20 62 75 66 66 65 72 20 | 77 68 65 6e 20 79 6f 75 | buffer |when you|
|00000b10| 20 63 61 6e 20 75 73 65 | 0a 58 20 20 20 20 67 72 | can use|.X gr|
|00000b20| 6f 77 73 74 72 28 29 2e | 20 0a 58 0a 58 20 20 2a |owstr().| .X.X *|
|00000b30| 20 4c 6f 74 73 20 6f 66 | 20 63 6f 6e 74 6f 72 74 | Lots of| contort|
|00000b40| 69 6f 6e 73 20 61 72 65 | 20 67 6f 6e 65 20 74 68 |ions are| gone th|
|00000b50| 72 6f 75 67 68 20 74 6f | 20 74 72 79 20 74 6f 20 |rough to| try to |
|00000b60| 64 6f 20 74 68 69 6e 67 | 73 20 77 68 65 6e 20 70 |do thing|s when p|
|00000b70| 65 6f 70 6c 65 0a 58 20 | 20 20 20 61 72 65 6e 27 |eople.X | aren'|
|00000b80| 74 20 77 61 69 74 69 6e | 67 2c 20 6f 72 20 68 61 |t waitin|g, or ha|
|00000b90| 76 65 20 6f 6e 6c 79 20 | 62 65 65 6e 20 77 61 69 |ve only |been wai|
|00000ba0| 74 69 6e 67 20 61 20 76 | 65 72 79 20 73 68 6f 72 |ting a v|ery shor|
|00000bb0| 74 20 74 69 6d 65 2e 20 | 20 47 75 65 73 73 69 6e |t time. | Guessin|
|00000bc0| 67 0a 58 20 20 20 20 74 | 68 65 20 6e 65 78 74 20 |g.X t|he next |
|00000bd0| 61 72 74 69 63 6c 65 20 | 74 6f 20 62 65 20 6f 70 |article |to be op|
|00000be0| 65 6e 65 64 20 61 6e 64 | 20 6f 70 65 6e 69 6e 67 |ened and| opening|
|00000bf0| 20 69 74 2c 20 73 65 61 | 72 63 68 69 6e 67 20 61 | it, sea|rching a|
|00000c00| 68 65 61 64 20 66 6f 72 | 20 74 68 65 0a 58 20 20 |head for| the.X |
|00000c10| 20 20 6e 65 78 74 20 61 | 72 74 69 63 6c 65 20 77 | next a|rticle w|
|00000c20| 69 74 68 20 74 68 65 20 | 73 61 6d 65 20 73 75 62 |ith the |same sub|
|00000c30| 6a 65 63 74 2c 20 64 65 | 6c 61 79 69 6e 67 20 74 |ject, de|laying t|
|00000c40| 68 65 20 6c 6f 6f 6b 20 | 75 70 20 6f 66 20 74 68 |he look |up of th|
|00000c50| 65 20 6e 75 6d 62 65 72 | 0a 58 20 20 20 20 6f 66 |e number|.X of|
|00000c60| 20 61 72 74 69 63 6c 65 | 73 20 69 6e 20 61 20 6e | article|s in a n|
|00000c70| 65 77 73 67 72 6f 75 70 | 2c 20 77 72 69 74 69 6e |ewsgroup|, writin|
|00000c80| 67 20 74 68 65 20 72 65 | 73 74 20 6f 66 20 74 68 |g the re|st of th|
|00000c90| 65 20 70 61 67 65 20 77 | 68 69 6c 65 20 74 68 65 |e page w|hile the|
|00000ca0| 0a 58 20 20 20 20 72 65 | 61 64 65 72 20 69 73 20 |.X re|ader is |
|00000cb0| 65 78 61 6d 69 6e 69 6e | 67 20 74 68 65 20 68 65 |examinin|g the he|
|00000cc0| 61 64 65 72 2c 20 63 61 | 63 68 65 69 6e 67 20 75 |ader, ca|cheing u|
|00000cd0| 70 20 73 75 62 6a 65 63 | 74 73 20 77 68 69 6c 65 |p subjec|ts while|
|00000ce0| 20 74 68 65 20 75 73 65 | 72 0a 58 20 20 20 20 69 | the use|r.X i|
|00000cf0| 73 20 72 65 61 64 69 6e | 67 2c 20 63 68 65 63 6b |s readin|g, check|
|00000d00| 70 6f 69 6e 74 69 6e 67 | 20 74 68 65 20 2e 6e 65 |pointing| the .ne|
|00000d10| 77 73 72 63 20 6f 6e 6c | 79 20 77 68 69 6c 65 20 |wsrc onl|y while |
|00000d20| 74 68 65 20 72 65 61 64 | 65 72 20 69 73 20 69 6e |the read|er is in|
|00000d30| 20 74 68 65 0a 58 20 20 | 20 20 6d 69 64 64 6c 65 | the.X | middle|
|00000d40| 20 6f 66 20 61 6e 20 69 | 6e 74 65 72 65 73 74 69 | of an i|nteresti|
|00000d50| 6e 67 20 61 72 74 69 63 | 6c 65 2c 20 61 72 65 20 |ng artic|le, are |
|00000d60| 73 6f 6d 65 20 6f 66 20 | 74 68 65 20 73 74 72 61 |some of |the stra|
|00000d70| 74 65 67 69 65 73 20 65 | 6d 70 6c 6f 79 65 64 2e |tegies e|mployed.|
|00000d80| 0a 58 20 20 0a 58 20 20 | 2a 20 54 68 65 72 65 20 |.X .X |* There |
|00000d90| 61 72 65 20 70 6c 65 6e | 74 79 20 6f 66 20 67 6f |are plen|ty of go|
|00000da0| 74 6f 27 73 2e 20 20 4d | 6f 73 74 20 6f 66 20 74 |to's. M|ost of t|
|00000db0| 68 65 6d 20 69 6e 76 6f | 6c 76 65 20 67 6f 69 6e |hem invo|lve goin|
|00000dc0| 67 20 62 61 63 6b 20 74 | 6f 20 72 65 70 72 6f 6d |g back t|o reprom|
|00000dd0| 70 74 2c 0a 58 20 20 20 | 20 74 6f 20 72 65 61 73 |pt,.X | to reas|
|00000de0| 6b 20 66 6f 72 20 69 6e | 70 75 74 2c 20 6f 72 20 |k for in|put, or |
|00000df0| 74 6f 20 6a 75 73 74 20 | 70 6c 61 69 6e 20 64 6f |to just |plain do|
|00000e00| 20 74 68 65 20 75 6e 73 | 74 72 75 63 74 75 72 65 | the uns|tructure|
|00000e10| 64 20 74 68 69 6e 67 73 | 20 70 65 6f 70 6c 65 0a |d things| people.|
|00000e20| 58 20 20 20 20 77 61 6e | 74 20 74 6f 20 64 6f 20 |X wan|t to do |
|00000e30| 77 68 65 6e 20 74 68 65 | 79 20 61 72 65 20 67 6c |when the|y are gl|
|00000e40| 61 72 69 6e 67 20 61 74 | 20 61 20 74 65 72 6d 69 |aring at| a termi|
|00000e50| 6e 61 6c 2e 20 20 49 66 | 20 74 68 65 79 20 62 6f |nal. If| they bo|
|00000e60| 74 68 65 72 20 79 6f 75 | 0a 58 20 20 20 20 74 6f |ther you|.X to|
|00000e70| 6f 20 6d 75 63 68 2c 20 | 6a 75 73 74 20 74 68 69 |o much, |just thi|
|00000e80| 6e 6b 20 6f 66 20 72 6e | 20 61 73 20 61 20 62 69 |nk of rn| as a bi|
|00000e90| 67 20 73 74 61 74 65 20 | 6d 61 63 68 69 6e 65 2e |g state |machine.|
|00000ea0| 20 20 49 66 20 74 68 65 | 79 20 64 6f 6e 27 74 20 | If the|y don't |
|00000eb0| 62 6f 74 68 65 72 0a 58 | 20 20 20 20 79 6f 75 20 |bother.X| you |
|00000ec0| 61 74 20 61 6c 6c 2c 20 | 49 20 64 6f 6e 27 74 20 |at all, |I don't |
|00000ed0| 77 61 6e 74 20 79 6f 75 | 20 68 61 63 6b 69 6e 67 |want you| hacking|
|00000ee0| 20 6f 6e 20 72 6e 2e 0a | 58 0a 58 20 20 2a 20 50 | on rn..|X.X * P|
|00000ef0| 75 74 20 61 6c 6c 20 69 | 6e 63 6c 75 64 65 73 20 |ut all i|ncludes |
|00000f00| 61 74 20 74 68 65 20 66 | 72 6f 6e 74 20 6f 66 20 |at the f|ront of |
|00000f10| 74 68 65 20 66 69 6c 65 | 2c 20 62 65 66 6f 72 65 |the file|, before|
|00000f20| 20 74 68 65 20 66 69 72 | 73 74 20 66 75 6e 63 74 | the fir|st funct|
|00000f30| 69 6f 6e 2c 0a 58 20 20 | 20 20 6f 72 20 6d 61 6b |ion,.X | or mak|
|00000f40| 65 64 65 70 65 6e 64 20 | 77 69 6c 6c 20 6e 6f 74 |edepend |will not|
|00000f50| 20 77 6f 72 6b 20 72 69 | 67 68 74 2e 20 20 49 20 | work ri|ght. I |
|00000f60| 63 6f 75 6c 64 20 72 65 | 6c 61 78 20 74 68 69 73 |could re|lax this|
|00000f70| 2c 20 62 75 74 20 6d 61 | 6b 65 64 65 70 65 6e 64 |, but ma|kedepend|
|00000f80| 0a 58 20 20 20 20 77 6f | 75 6c 64 20 74 61 6b 65 |.X wo|uld take|
|00000f90| 20 61 62 6f 75 74 20 35 | 20 74 69 6d 65 73 20 6c | about 5| times l|
|00000fa0| 6f 6e 67 65 72 20 74 6f | 20 72 75 6e 2e 0a 58 0a |onger to| run..X.|
|00000fb0| 49 6e 20 67 65 6e 65 72 | 61 6c 20 74 68 65 6e 2c |In gener|al then,|
|00000fc0| 20 66 65 65 6c 20 66 72 | 65 65 20 74 6f 20 68 61 | feel fr|ee to ha|
|00000fd0| 63 6b 20 6f 6e 20 72 6e | 2e 20 20 4a 75 73 74 20 |ck on rn|. Just |
|00000fe0| 64 6f 6e 27 74 20 62 72 | 6f 61 64 63 61 73 74 20 |don't br|oadcast |
|00000ff0| 75 6e 74 65 73 74 65 64 | 0a 70 61 74 63 68 65 73 |untested|.patches|
|00001000| 20 74 6f 20 74 68 65 20 | 6e 65 74 2e 20 20 52 65 | to the |net. Re|
|00001010| 6d 65 6d 62 65 72 20 74 | 68 61 74 20 74 68 65 72 |member t|hat ther|
|00001020| 65 20 61 72 65 20 70 65 | 6f 70 6c 65 20 77 69 74 |e are pe|ople wit|
|00001030| 68 20 6c 69 6d 69 74 65 | 64 20 61 64 64 72 65 73 |h limite|d addres|
|00001040| 73 0a 73 70 61 63 65 73 | 20 61 6e 64 20 6c 69 6d |s.spaces| and lim|
|00001050| 69 74 65 64 20 63 70 75 | 20 63 79 63 6c 65 73 2e |ited cpu| cycles.|
|00001060| 20 20 49 66 20 79 6f 75 | 20 61 64 64 20 61 20 77 | If you| add a w|
|00001070| 6f 6e 64 65 72 66 75 6c | 20 6e 65 77 20 66 65 61 |onderful| new fea|
|00001080| 74 75 72 65 20 61 6e 64 | 0a 77 61 6e 74 20 74 6f |ture and|.want to|
|00001090| 20 70 75 62 6c 69 73 68 | 20 61 20 70 61 74 63 68 | publish| a patch|
|000010a0| 2c 20 70 75 74 20 23 69 | 66 64 65 66 27 73 20 61 |, put #i|fdef's a|
|000010b0| 72 6f 75 6e 64 20 69 74 | 20 73 6f 20 74 68 61 74 |round it| so that|
|000010c0| 20 70 65 6f 70 6c 65 20 | 77 68 6f 20 64 6f 6e 27 | people |who don'|
|000010d0| 74 0a 77 61 6e 74 20 69 | 74 20 6f 72 20 63 61 6e |t.want i|t or can|
|000010e0| 27 74 20 61 66 66 6f 72 | 64 20 69 74 20 63 61 6e |'t affor|d it can|
|000010f0| 20 77 6f 72 6b 20 61 72 | 6f 75 6e 64 20 69 74 2e | work ar|ound it.|
|00001100| 20 20 54 48 49 53 20 4d | 45 41 4e 53 20 59 4f 55 | THIS M|EANS YOU|
|00001110| 2e 20 20 57 65 20 64 6f | 6e 27 74 0a 6e 65 65 64 |. We do|n't.need|
|00001120| 20 35 37 20 76 61 72 69 | 65 74 69 65 73 20 6f 66 | 57 vari|eties of|
|00001130| 20 6d 75 74 75 61 6c 6c | 79 20 69 6e 63 6f 6d 70 | mutuall|y incomp|
|00001140| 61 74 69 62 6c 65 20 61 | 6e 64 20 69 6e 63 6f 6d |atible a|nd incom|
|00001150| 70 72 65 68 65 6e 73 69 | 62 6c 65 20 72 6e 20 66 |prehensi|ble rn f|
|00001160| 6c 6f 61 74 69 6e 67 0a | 61 62 6f 75 74 20 74 68 |loating.|about th|
|00001170| 65 20 6e 65 74 2e 20 20 | 43 6f 6e 73 69 64 65 72 |e net. |Consider|
|00001180| 20 74 65 6c 6c 69 6e 67 | 20 6d 65 20 61 62 6f 75 | telling| me abou|
|00001190| 74 20 79 6f 75 72 20 70 | 61 74 63 68 20 73 6f 20 |t your p|atch so |
|000011a0| 74 68 61 74 20 49 20 63 | 61 6e 20 63 6f 6e 73 69 |that I c|an consi|
|000011b0| 64 65 72 0a 69 6e 63 6c | 75 64 69 6e 67 20 69 74 |der.incl|uding it|
|000011c0| 20 69 6e 20 74 68 65 20 | 73 74 61 6e 64 61 72 64 | in the |standard|
|000011d0| 20 76 65 72 73 69 6f 6e | 2e 20 20 41 20 43 4f 4d | version|. A COM|
|000011e0| 50 4c 45 54 45 20 50 41 | 54 43 48 20 54 41 4b 45 |PLETE PA|TCH TAKE|
|000011f0| 53 20 49 4e 54 4f 20 41 | 43 43 4f 55 4e 54 0a 53 |S INTO A|CCOUNT.S|
|00001200| 59 53 54 45 4d 20 44 45 | 50 45 4e 44 45 4e 43 49 |YSTEM DE|PENDENCI|
|00001210| 45 53 20 41 53 20 44 45 | 54 45 52 4d 49 4e 45 44 |ES AS DE|TERMINED|
|00001220| 20 42 59 20 54 48 45 20 | 43 4f 4e 46 49 47 55 52 | BY THE |CONFIGUR|
|00001230| 45 20 53 43 52 49 50 54 | 2e 0a 58 0a 58 2a 20 44 |E SCRIPT|..X.X* D|
|00001240| 6f 6e 27 74 20 75 73 65 | 20 69 6e 74 73 20 77 68 |on't use| ints wh|
|00001250| 65 72 65 20 72 6e 20 75 | 73 65 73 20 74 79 70 65 |ere rn u|ses type|
|00001260| 64 65 66 73 2c 20 69 6e | 20 70 61 72 74 69 63 75 |defs, in| particu|
|00001270| 6c 61 72 2c 20 66 6f 72 | 20 61 72 74 69 63 6c 65 |lar, for| article|
|00001280| 20 6e 75 6d 62 65 72 73 | 2e 0a 58 2a 20 44 6f 6e | numbers|..X* Don|
|00001290| 27 74 20 75 73 65 20 25 | 64 20 61 6e 79 77 68 65 |'t use %|d anywhe|
|000012a0| 72 65 20 74 68 61 74 20 | 73 6f 6d 65 6f 6e 65 20 |re that |someone |
|000012b0| 6d 69 67 68 74 20 6e 65 | 65 64 20 61 20 25 6c 64 |might ne|ed a %ld|
|000012c0| 2e 20 20 28 4a 75 73 74 | 20 62 65 63 61 75 73 65 |. (Just| because|
|000012d0| 20 59 4f 55 0a 58 20 20 | 20 20 74 79 70 65 64 65 | YOU.X | typede|
|000012e0| 66 65 64 20 69 74 20 61 | 73 20 61 6e 20 69 6e 74 |fed it a|s an int|
|000012f0| 20 64 6f 65 73 6e 27 74 | 20 6d 65 61 6e 20 73 6f | doesn't| mean so|
|00001300| 6d 65 6f 6e 65 20 65 6c | 73 65 20 77 6f 6e 27 74 |meone el|se won't|
|00001310| 20 6e 65 65 64 20 61 20 | 6c 6f 6e 67 2e 29 0a 58 | need a |long.).X|
|00001320| 2a 20 44 6f 6e 27 74 20 | 75 73 65 20 25 44 2c 20 |* Don't |use %D, |
|00001330| 74 68 61 74 27 73 20 61 | 72 63 68 61 69 63 2e 0a |that's a|rchaic..|
|00001340| 58 2a 20 50 75 74 20 46 | 4c 55 53 48 65 73 20 61 |X* Put F|LUSHes a|
|00001350| 66 74 65 72 20 70 72 69 | 6e 74 66 28 29 73 2c 20 |fter pri|ntf()s, |
|00001360| 66 70 75 74 73 28 29 65 | 73 20 61 6e 64 20 70 75 |fputs()e|s and pu|
|00001370| 74 63 68 61 72 28 27 5c | 6e 27 29 73 20 66 6f 72 |tchar('\|n')s for|
|00001380| 20 6f 75 72 20 70 6f 6f | 72 0a 58 20 20 20 20 62 | our poo|r.X b|
|00001390| 72 65 74 68 65 72 6e 20 | 61 6e 64 20 73 69 73 74 |rethern |and sist|
|000013a0| 65 72 6e 20 77 69 74 68 | 6f 75 74 20 6c 69 6e 65 |ern with|out line|
|000013b0| 20 62 75 66 66 65 72 69 | 6e 67 2e 0a 58 2a 20 44 | bufferi|ng..X* D|
|000013c0| 65 63 6c 61 72 65 20 74 | 68 65 20 74 79 70 65 20 |eclare t|he type |
|000013d0| 6f 66 20 65 76 65 72 79 | 20 66 75 6e 63 74 69 6f |of every| functio|
|000013e0| 6e 2e 20 20 55 73 65 20 | 76 6f 69 64 2c 20 65 76 |n. Use |void, ev|
|000013f0| 65 6e 20 69 66 20 79 6f | 75 72 20 43 20 63 6f 6d |en if yo|ur C com|
|00001400| 70 69 6c 65 72 0a 58 20 | 20 20 20 64 6f 65 73 6e |piler.X | doesn|
|00001410| 27 74 2e 0a 58 2a 20 46 | 6f 6c 6c 6f 77 20 74 68 |'t..X* F|ollow th|
|00001420| 65 20 73 74 79 6c 65 20 | 74 68 61 74 20 72 6e 20 |e style |that rn |
|00001430| 61 6c 72 65 61 64 79 20 | 75 73 65 73 21 20 20 54 |already |uses! T|
|00001440| 68 69 73 20 69 73 20 6d | 79 20 70 65 74 20 70 65 |his is m|y pet pe|
|00001450| 65 76 65 2e 20 20 57 65 | 6c 6c 2c 20 6f 6e 65 20 |eve. We|ll, one |
|00001460| 6f 66 0a 58 20 20 20 20 | 74 68 65 6d 2c 20 61 6e |of.X |them, an|
|00001470| 79 77 61 79 2e 20 20 49 | 20 66 6f 6c 6c 6f 77 20 |yway. I| follow |
|00001480| 6f 74 68 65 72 20 70 65 | 6f 70 6c 65 27 73 20 73 |other pe|ople's s|
|00001490| 74 72 61 6e 67 65 20 73 | 74 79 6c 65 73 20 77 68 |trange s|tyles wh|
|000014a0| 65 6e 20 6d 6f 64 69 66 | 79 69 6e 67 0a 58 20 20 |en modif|ying.X |
|000014b0| 20 20 74 68 65 69 72 20 | 70 72 6f 67 72 61 6d 73 | their |programs|
|000014c0| 2c 20 73 6f 20 49 27 64 | 20 62 65 20 6d 75 63 68 |, so I'd| be much|
|000014d0| 20 6f 62 6c 69 67 65 64 | 20 69 66 20 79 6f 75 20 | obliged| if you |
|000014e0| 64 69 64 20 6c 69 6b 65 | 77 69 73 65 2e 0a 58 2a |did like|wise..X*|
|000014f0| 20 55 73 65 20 6c 69 6e | 74 2e 0a 58 2a 20 55 73 | Use lin|t..X* Us|
|00001500| 65 20 52 43 53 2e 20 20 | 53 74 61 72 74 20 61 20 |e RCS. |Start a |
|00001510| 6e 65 77 20 62 72 61 6e | 63 68 2c 20 6c 69 6b 65 |new bran|ch, like|
|00001520| 20 34 2e 34 2e 5b 32 2d | 39 5d 2e 20 20 28 49 20 | 4.4.[2-|9]. (I |
|00001530| 77 69 6c 6c 20 75 73 65 | 20 34 2e 34 2e 31 20 6d |will use| 4.4.1 m|
|00001540| 79 73 65 6c 66 2e 29 0a | 58 2a 20 42 65 20 73 74 |yself.).|X* Be st|
|00001550| 72 75 63 74 75 72 65 64 | 20 77 68 65 72 65 76 65 |ructured| whereve|
|00001560| 72 20 69 74 20 64 6f 65 | 73 6e 27 74 20 69 6e 74 |r it doe|sn't int|
|00001570| 65 72 66 65 72 65 20 77 | 69 74 68 20 70 72 61 63 |erfere w|ith prac|
|00001580| 74 69 63 61 6c 69 74 79 | 2e 0a 58 2a 20 4c 6f 6e |ticality|..X* Lon|
|00001590| 67 20 6c 69 76 65 20 70 | 61 72 61 6e 6f 69 64 20 |g live p|aranoid |
|000015a0| 70 72 6f 67 72 61 6d 6d | 69 6e 67 2e 20 20 54 68 |programm|ing. Th|
|000015b0| 65 20 72 65 73 74 20 6f | 66 20 74 68 65 20 70 72 |e rest o|f the pr|
|000015c0| 6f 67 72 61 6d 20 69 73 | 20 6f 75 74 20 74 6f 20 |ogram is| out to |
|000015d0| 67 65 74 20 79 6f 75 2e | 0a 58 20 20 20 20 54 68 |get you.|.X Th|
|000015e0| 65 20 77 6f 72 6c 64 20 | 69 73 20 6f 75 74 20 74 |e world |is out t|
|000015f0| 6f 20 64 65 73 74 72 6f | 79 20 74 68 65 20 70 72 |o destro|y the pr|
|00001600| 6f 67 72 61 6d 2c 20 6e | 6f 74 20 74 6f 20 6d 65 |ogram, n|ot to me|
|00001610| 6e 74 69 6f 6e 20 74 68 | 65 20 2e 6e 65 77 73 72 |ntion th|e .newsr|
|00001620| 63 2e 0a 58 20 20 20 20 | 41 6e 64 20 74 68 65 6e |c..X |And then|
|00001630| 20 74 68 65 72 65 27 73 | 20 61 6c 77 61 79 73 20 | there's| always |
|00001640| 62 69 74 72 6f 74 2e 2e | 2e 0a 58 2a 20 53 74 6f |bitrot..|..X* Sto|
|00001650| 70 20 72 65 61 64 69 6e | 67 20 74 68 69 73 20 6c |p readin|g this l|
|00001660| 75 67 75 62 72 69 6f 75 | 73 20 74 72 61 73 68 20 |ugubriou|s trash |
|00001670| 61 6e 64 20 73 74 61 72 | 74 20 74 68 69 6e 6b 69 |and star|t thinki|
|00001680| 6e 67 20 66 6f 72 20 79 | 6f 75 72 73 65 6c 66 2e |ng for y|ourself.|
|00001690| 0a 58 2a 20 54 68 61 6e | 6b 20 79 6f 75 20 61 6e |.X* Than|k you an|
|000016a0| 64 20 67 6f 6f 64 20 6e | 69 67 68 74 2e 0a 45 4e |d good n|ight..EN|
|000016b0| 44 5f 4f 46 5f 46 49 4c | 45 0a 69 66 20 74 65 73 |D_OF_FIL|E.if tes|
|000016c0| 74 20 34 35 31 39 20 2d | 6e 65 20 60 77 63 20 2d |t 4519 -|ne `wc -|
|000016d0| 63 20 3c 27 48 41 43 4b | 45 52 53 47 55 49 44 45 |c <'HACK|ERSGUIDE|
|000016e0| 27 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |'`; then|. ech|
|000016f0| 6f 20 73 68 61 72 3a 20 | 5c 22 27 48 41 43 4b 45 |o shar: |\"'HACKE|
|00001700| 52 53 47 55 49 44 45 27 | 5c 22 20 75 6e 70 61 63 |RSGUIDE'|\" unpac|
|00001710| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|00001720| 69 7a 65 21 0a 66 69 0a | 23 20 65 6e 64 20 6f 66 |ize!.fi.|# end of|
|00001730| 20 27 48 41 43 4b 45 52 | 53 47 55 49 44 45 27 0a | 'HACKER|SGUIDE'.|
|00001740| 66 69 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 48 |fi.if te|st -f 'H|
|00001750| 49 4e 54 53 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |INTS' -a| "${1}" |
|00001760| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00001770| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|00001780| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|00001790| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 48 |isting f|ile \"'H|
|000017a0| 49 4e 54 53 27 5c 22 0a | 65 6c 73 65 0a 65 63 68 |INTS'\".|else.ech|
|000017b0| 6f 20 73 68 61 72 3a 20 | 45 78 74 72 61 63 74 69 |o shar: |Extracti|
|000017c0| 6e 67 20 5c 22 27 48 49 | 4e 54 53 27 5c 22 20 5c |ng \"'HI|NTS'\" \|
|000017d0| 28 32 36 34 37 20 63 68 | 61 72 61 63 74 65 72 73 |(2647 ch|aracters|
|000017e0| 5c 29 0a 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |\).sed "|s/^X//" |
|000017f0| 3e 27 48 49 4e 54 53 27 | 20 3c 3c 27 45 4e 44 5f |>'HINTS'| <<'END_|
|00001800| 4f 46 5f 46 49 4c 45 27 | 0a 48 65 72 65 27 73 20 |OF_FILE'|.Here's |
|00001810| 73 6f 6d 65 20 68 65 6c | 70 66 75 6c 20 68 69 6e |some hel|pful hin|
|00001820| 74 73 20 66 6f 72 20 67 | 65 74 74 69 6e 67 20 74 |ts for g|etting t|
|00001830| 68 65 20 6d 6f 73 74 20 | 6f 75 74 20 6f 66 20 74 |he most |out of t|
|00001840| 72 6e 3a 0a 58 0a 54 68 | 65 20 27 58 27 20 63 6f |rn:.X.Th|e 'X' co|
|00001850| 6d 6d 61 6e 64 20 69 6e | 20 74 68 65 20 74 68 72 |mmand in| the thr|
|00001860| 65 61 64 20 73 65 6c 65 | 63 74 6f 72 20 28 6b 69 |ead sele|ctor (ki|
|00001870| 6e 64 61 20 6c 69 6b 65 | 20 63 61 74 63 68 75 70 |nda like| catchup|
|00001880| 2f 79 65 73 29 20 63 61 | 6e 20 62 65 20 6d 61 64 |/yes) ca|n be mad|
|00001890| 65 0a 74 68 65 20 64 65 | 66 61 75 6c 74 20 61 63 |e.the de|fault ac|
|000018a0| 74 69 6f 6e 20 6f 6e 20 | 74 68 65 20 6c 61 73 74 |tion on |the last|
|000018b0| 20 70 61 67 65 20 6f 66 | 20 73 65 6c 65 63 74 69 | page of| selecti|
|000018c0| 6f 6e 73 20 62 79 20 75 | 73 69 6e 67 20 74 68 65 |ons by u|sing the|
|000018d0| 20 63 6f 6d 6d 61 6e 64 | 2d 6c 69 6e 65 0a 6f 70 | command|-line.op|
|000018e0| 74 69 6f 6e 3a 20 20 2d | 58 58 2e 20 20 54 68 69 |tion: -|XX. Thi|
|000018f0| 73 20 6c 65 74 73 20 79 | 6f 75 20 62 72 6f 77 73 |s lets y|ou brows|
|00001900| 65 20 61 6c 6c 20 74 68 | 65 20 70 61 67 65 73 2c |e all th|e pages,|
|00001910| 20 6d 61 6b 69 6e 67 20 | 73 65 6c 65 63 74 69 6f | making |selectio|
|00001920| 6e 73 20 61 73 20 79 6f | 75 0a 67 6f 2c 20 61 6e |ns as yo|u.go, an|
|00001930| 64 20 74 68 65 6e 20 6d | 61 72 6b 20 65 76 65 72 |d then m|ark ever|
|00001940| 79 74 68 69 6e 67 20 74 | 68 61 74 20 77 61 73 20 |ything t|hat was |
|00001950| 6e 6f 74 20 73 65 6c 65 | 63 74 65 64 20 61 73 20 |not sele|cted as |
|00001960| 72 65 61 64 20 77 68 65 | 6e 20 79 6f 75 20 70 72 |read whe|n you pr|
|00001970| 65 73 73 0a 73 70 61 63 | 65 20 61 74 20 74 68 65 |ess.spac|e at the|
|00001980| 20 6c 61 73 74 20 70 61 | 67 65 2e 0a 58 2d 2d 2d | last pa|ge..X---|
|00001990| 2d 2d 2d 2d 2d 2d 2d 0a | 49 66 20 79 6f 75 20 6c |-------.|If you l|
|000019a0| 69 6b 65 20 74 6f 20 73 | 65 6c 65 63 74 20 61 20 |ike to s|elect a |
|000019b0| 6c 69 74 74 6c 65 2c 20 | 72 65 61 64 20 61 20 6c |little, |read a l|
|000019c0| 69 74 74 6c 65 2c 20 61 | 6e 64 20 74 68 65 6e 20 |ittle, a|nd then |
|000019d0| 73 65 6c 65 63 74 20 61 | 20 6c 69 74 74 6c 65 20 |select a| little |
|000019e0| 6d 6f 72 65 2c 0a 74 72 | 79 20 75 73 69 6e 67 20 |more,.tr|y using |
|000019f0| 74 68 65 20 63 6f 6d 6d | 61 6e 64 2d 6c 69 6e 65 |the comm|and-line|
|00001a00| 20 6f 70 74 69 6f 6e 3a | 20 20 2d 58 44 44 2e 20 | option:| -XDD. |
|00001a10| 20 54 68 69 73 20 6d 61 | 6b 65 73 20 74 68 65 20 | This ma|kes the |
|00001a20| 27 44 27 20 63 6f 6d 6d | 61 6e 64 20 74 68 65 0a |'D' comm|and the.|
|00001a30| 64 65 66 61 75 6c 74 20 | 6f 6e 20 61 6c 6c 20 70 |default |on all p|
|00001a40| 61 67 65 73 20 6f 66 20 | 74 68 65 20 74 68 72 65 |ages of |the thre|
|00001a50| 61 64 20 73 65 6c 65 63 | 74 6f 72 2e 20 20 54 68 |ad selec|tor. Th|
|00001a60| 75 73 20 79 6f 75 20 63 | 61 6e 20 73 65 6c 65 63 |us you c|an selec|
|00001a70| 74 20 74 68 65 20 74 68 | 69 6e 67 73 0a 79 6f 75 |t the th|ings.you|
|00001a80| 20 77 61 6e 74 20 74 6f | 20 72 65 61 64 20 6f 6e | want to| read on|
|00001a90| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 70 61 67 | the cur|rent pag|
|00001aa0| 65 2c 20 70 72 65 73 73 | 20 73 70 61 63 65 2c 20 |e, press| space, |
|00001ab0| 61 6e 64 20 79 6f 75 20 | 77 69 6c 6c 20 72 65 61 |and you |will rea|
|00001ac0| 64 20 74 68 65 0a 73 65 | 6c 65 63 74 65 64 20 61 |d the.se|lected a|
|00001ad0| 72 74 69 63 6c 65 73 20 | 69 6d 6d 65 64 69 61 74 |rticles |immediat|
|00001ae0| 65 6c 79 20 28 69 66 20 | 74 68 65 72 65 20 77 65 |ely (if |there we|
|00001af0| 72 65 20 61 6e 79 29 2e | 20 20 41 6c 6c 20 6f 74 |re any).| All ot|
|00001b00| 68 65 72 20 61 72 74 69 | 63 6c 65 73 20 6f 6e 20 |her arti|cles on |
|00001b10| 74 68 65 0a 63 75 72 72 | 65 6e 74 20 70 61 67 65 |the.curr|ent page|
|00001b20| 20 77 69 6c 6c 20 62 65 | 20 6d 61 72 6b 65 64 20 | will be| marked |
|00001b30| 61 73 20 72 65 61 64 2e | 20 20 28 44 6f 6e 27 74 |as read.| (Don't|
|00001b40| 20 75 73 65 20 2d 58 58 | 44 2c 20 62 65 63 61 75 | use -XX|D, becau|
|00001b50| 73 65 20 6e 65 77 20 61 | 72 74 69 63 6c 65 73 0a |se new a|rticles.|
|00001b60| 6d 69 67 68 74 20 68 61 | 76 65 20 61 72 72 69 76 |might ha|ve arriv|
|00001b70| 65 64 20 77 68 69 6c 65 | 20 72 65 61 64 69 6e 67 |ed while| reading|
|00001b80| 2c 20 61 6e 64 20 74 68 | 65 79 20 63 6f 75 6c 64 |, and th|ey could|
|00001b90| 20 62 65 20 6d 61 72 6b | 65 64 20 61 73 20 72 65 | be mark|ed as re|
|00001ba0| 61 64 20 77 69 74 68 6f | 75 74 0a 65 76 65 72 20 |ad witho|ut.ever |
|00001bb0| 73 65 65 69 6e 67 20 74 | 68 65 6d 2e 29 0a 58 2d |seeing t|hem.).X-|
|00001bc0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0a 49 20 6c 69 6b 65 |--------|-.I like|
|00001bd0| 20 74 6f 20 75 73 65 20 | 74 68 65 20 2d 78 6c 73 | to use |the -xls|
|00001be0| 20 63 6f 6d 6d 61 6e 64 | 2d 6c 69 6e 65 20 6f 70 | command|-line op|
|00001bf0| 74 69 6f 6e 20 74 6f 20 | 6f 6e 6c 79 20 68 61 76 |tion to |only hav|
|00001c00| 65 20 74 68 65 20 6c 6f | 6e 67 20 61 6e 64 20 73 |e the lo|ng and s|
|00001c10| 68 6f 72 74 0a 6d 6f 64 | 65 73 20 69 6e 20 74 68 |hort.mod|es in th|
|00001c20| 65 20 74 68 72 65 61 64 | 20 73 65 6c 65 63 74 6f |e thread| selecto|
|00001c30| 72 20 28 6c 65 61 76 69 | 6e 67 20 6f 75 74 20 74 |r (leavi|ng out t|
|00001c40| 68 65 20 6d 69 64 2d 73 | 69 7a 65 64 20 6f 6e 65 |he mid-s|ized one|
|00001c50| 29 2e 20 20 50 72 65 73 | 73 20 27 4c 27 20 74 6f |). Pres|s 'L' to|
|00001c60| 0a 73 77 69 74 63 68 20 | 6d 6f 64 65 73 2e 0a 58 |.switch |modes..X|
|00001c70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 4b 65 65 70 20 |--------|--.Keep |
|00001c80| 69 6e 20 6d 69 6e 64 20 | 74 68 61 74 20 79 6f 75 |in mind |that you|
|00001c90| 20 63 61 6e 20 63 72 65 | 61 74 65 20 61 20 66 69 | can cre|ate a fi|
|00001ca0| 6c 65 20 63 61 6c 6c 65 | 64 20 2e 74 72 6e 69 6e |le calle|d .trnin|
|00001cb0| 69 74 20 61 6e 64 20 70 | 6f 69 6e 74 20 74 72 6e |it and p|oint trn|
|00001cc0| 20 61 74 0a 69 74 20 62 | 79 20 64 65 66 69 6e 69 | at.it b|y defini|
|00001cd0| 6e 69 6e 67 20 74 68 65 | 20 65 6e 76 69 72 6f 6e |ning the| environ|
|00001ce0| 6d 65 6e 74 20 76 61 72 | 69 61 62 6c 65 20 54 52 |ment var|iable TR|
|00001cf0| 4e 49 4e 49 54 2e 20 20 | 44 65 70 65 6e 64 69 6e |NINIT. |Dependin|
|00001d00| 67 20 6f 6e 20 79 6f 75 | 72 20 73 68 65 6c 6c 2c |g on you|r shell,|
|00001d10| 0a 79 6f 75 20 6d 69 67 | 68 74 20 75 73 65 20 22 |.you mig|ht use "|
|00001d20| 73 65 74 65 6e 76 20 54 | 52 4e 49 4e 49 54 20 7e |setenv T|RNINIT ~|
|00001d30| 2f 2e 74 72 6e 69 6e 69 | 74 22 20 6f 72 20 73 6f |/.trnini|t" or so|
|00001d40| 6d 65 20 6f 74 68 65 72 | 20 74 79 70 65 20 6f 66 |me other| type of|
|00001d50| 20 61 73 73 69 67 6e 6d | 65 6e 74 0a 58 28 70 75 | assignm|ent.X(pu|
|00001d60| 74 20 74 68 65 20 64 65 | 66 69 6e 69 74 69 6f 6e |t the de|finition|
|00001d70| 20 69 6e 20 79 6f 75 72 | 20 73 68 65 6c 6c 27 73 | in your| shell's|
|00001d80| 20 72 63 20 66 69 6c 65 | 29 2e 20 20 54 68 65 6e | rc file|). Then|
|00001d90| 20 70 75 74 20 61 6c 6c | 20 79 6f 75 72 20 63 6f | put all| your co|
|00001da0| 6d 6d 61 6e 64 2d 6c 69 | 6e 65 0a 6f 70 74 69 6f |mmand-li|ne.optio|
|00001db0| 6e 73 20 69 6e 20 74 68 | 69 73 20 66 69 6c 65 2e |ns in th|is file.|
|00001dc0| 0a 58 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 49 20 6c |.X------|----.I l|
|00001dd0| 69 6b 65 20 74 6f 20 72 | 65 64 65 66 69 6e 65 20 |ike to r|edefine |
|00001de0| 74 68 65 20 27 75 27 20 | 6b 65 79 73 20 69 6e 20 |the 'u' |keys in |
|00001df0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 77 61 |the foll|owing wa|
|00001e00| 79 3a 20 20 27 75 27 20 | 76 69 73 69 74 73 20 74 |y: 'u' |visits t|
|00001e10| 68 65 20 22 53 65 74 0a | 75 6e 72 65 61 64 3f 22 |he "Set.|unread?"|
|00001e20| 20 70 72 6f 6d 70 74 20 | 28 65 78 63 65 70 74 20 | prompt |(except |
|00001e30| 61 74 20 74 68 65 20 74 | 68 72 65 61 64 20 73 65 |at the t|hread se|
|00001e40| 6c 65 63 74 6f 72 29 2c | 20 27 55 27 20 67 6f 65 |lector),| 'U' goe|
|00001e50| 73 20 64 69 72 65 63 74 | 6c 79 20 74 6f 20 74 68 |s direct|ly to th|
|00001e60| 65 0a 61 6c 72 65 61 64 | 79 2d 72 65 61 64 20 61 |e.alread|y-read a|
|00001e70| 72 74 69 63 6c 65 20 73 | 65 6c 65 63 74 6f 72 2c |rticle s|elector,|
|00001e80| 20 61 6e 64 20 43 74 72 | 6c 2d 55 20 75 6e 73 75 | and Ctr|l-U unsu|
|00001e90| 62 73 63 72 69 62 65 73 | 20 66 72 6f 6d 20 74 68 |bscribes| from th|
|00001ea0| 65 20 67 72 6f 75 70 20 | 28 65 76 65 6e 0a 77 68 |e group |(even.wh|
|00001eb0| 69 6c 65 20 69 6e 20 74 | 68 65 20 74 68 72 65 61 |ile in t|he threa|
|00001ec0| 64 20 73 65 6c 65 63 74 | 6f 72 29 2e 20 20 50 75 |d select|or). Pu|
|00001ed0| 74 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |t the fo|llowing |
|00001ee0| 33 20 6d 61 63 72 6f 73 | 20 69 6e 20 79 6f 75 72 |3 macros| in your|
|00001ef0| 20 2e 74 72 6e 69 6e 69 | 74 0a 66 69 6c 65 20 74 | .trnini|t.file t|
|00001f00| 6f 20 61 63 63 6f 6d 70 | 6c 69 73 68 20 74 68 69 |o accomp|lish thi|
|00001f10| 73 3a 0a 58 0a 75 09 25 | 28 25 6d 3d 5b 61 6e 70 |s:.X.u.%|(%m=[anp|
|00001f20| 5d 3f 55 3a 75 29 0a 55 | 09 25 28 25 6d 3d 5b 61 |]?U:u).U|.%(%m=[a|
|00001f30| 6e 70 5d 3f 55 2b 3a 55 | 29 0a 58 5e 55 09 25 28 |np]?U+:U|).X^U.%(|
|00001f40| 25 6d 3d 74 3f 2b 75 3a | 75 29 0a 58 2d 2d 2d 2d |%m=t?+u:|u).X----|
|00001f50| 2d 2d 2d 2d 2d 2d 0a 49 | 66 20 79 6f 75 20 6c 69 |------.I|f you li|
|00001f60| 6b 65 20 74 68 65 20 77 | 61 79 20 74 68 61 74 20 |ke the w|ay that |
|00001f70| 27 71 27 20 77 6f 72 6b | 65 64 20 69 6e 20 74 68 |'q' work|ed in th|
|00001f80| 65 20 74 68 72 65 61 64 | 20 73 65 6c 65 63 74 6f |e thread| selecto|
|00001f90| 72 20 69 6e 20 74 72 6e | 20 31 2e 78 2c 20 70 75 |r in trn| 1.x, pu|
|00001fa0| 74 0a 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |t.the fo|llowing |
|00001fb0| 6d 61 63 72 6f 20 69 6e | 20 79 6f 75 72 20 2e 74 |macro in| your .t|
|00001fc0| 72 6e 69 6e 69 74 20 66 | 69 6c 65 3a 0a 58 0a 71 |rninit f|ile:.X.q|
|00001fd0| 09 25 28 25 6d 3d 74 3f | 2b 3a 71 29 0a 58 2d 2d |.%(%m=t?|+:q).X--|
|00001fe0| 2d 2d 2d 2d 2d 2d 2d 2d | 0a 49 66 20 79 6f 75 20 |--------|.If you |
|00001ff0| 77 61 6e 74 20 74 6f 20 | 62 65 20 61 62 6c 65 20 |want to |be able |
|00002000| 74 6f 20 73 61 76 65 20 | 79 6f 75 72 20 73 68 61 |to save |your sha|
|00002010| 72 20 68 65 61 64 65 72 | 73 20 69 6e 20 61 20 66 |r header|s in a f|
|00002020| 69 6c 65 20 61 73 20 74 | 68 65 79 20 61 72 65 0a |ile as t|hey are.|
|00002030| 65 78 74 72 61 63 74 65 | 64 20 61 6e 64 20 79 6f |extracte|d and yo|
|00002040| 75 20 68 61 76 65 20 61 | 63 63 65 73 73 20 74 6f |u have a|ccess to|
|00002050| 20 22 75 6e 73 68 61 72 | 22 20 28 61 20 70 72 6f | "unshar|" (a pro|
|00002060| 67 72 61 6d 20 74 68 61 | 74 20 63 61 6e 20 65 78 |gram tha|t can ex|
|00002070| 74 72 61 63 74 0a 73 68 | 61 72 20 66 69 6c 65 73 |tract.sh|ar files|
|00002080| 20 77 68 69 6c 65 20 73 | 61 76 69 6e 67 20 74 68 | while s|aving th|
|00002090| 65 20 68 65 61 64 65 72 | 73 20 69 6e 20 55 4e 53 |e header|s in UNS|
|000020a0| 48 41 52 2e 48 44 52 29 | 2c 20 74 77 69 64 64 6c |HAR.HDR)|, twiddl|
|000020b0| 65 20 74 68 65 20 65 78 | 74 65 72 6e 61 6c 0a 65 |e the ex|ternal.e|
|000020c0| 78 74 72 61 63 74 20 63 | 6f 6d 6d 61 6e 64 20 74 |xtract c|ommand t|
|000020d0| 6f 20 73 65 6e 64 20 74 | 68 65 20 65 6e 74 69 72 |o send t|he entir|
|000020e0| 65 20 61 72 74 69 63 6c | 65 3a 0a 58 0a 58 20 20 |e articl|e:.X.X |
|000020f0| 20 20 20 20 20 20 28 72 | 65 67 75 6c 61 72 29 20 | (r|egular) |
|00002100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002110| 20 20 20 20 20 20 20 20 | 20 28 6e 6e 74 70 29 0a | | (nntp).|
|00002120| 58 2d 45 45 58 53 41 56 | 45 52 3d 22 25 65 20 3c |X-EEXSAV|ER="%e <|
|00002130| 25 41 22 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |%A" | |
|00002140| 20 20 2d 45 45 58 53 41 | 56 45 52 20 22 25 65 20 | -EEXSA|VER "%e |
|00002150| 3c 25 50 2f 72 72 6e 25 | 61 2e 25 24 22 0a 58 0a |<%P/rrn%|a.%$".X.|
|00002160| 61 6e 64 20 74 68 65 6e | 20 70 6f 69 6e 74 20 74 |and then| point t|
|00002170| 68 65 20 55 4e 53 48 41 | 52 20 76 61 72 69 61 62 |he UNSHA|R variab|
|00002180| 6c 65 20 61 74 20 75 6e | 73 68 61 72 20 69 6e 73 |le at un|shar ins|
|00002190| 74 65 61 64 20 6f 66 20 | 2f 62 69 6e 2f 73 68 3a |tead of |/bin/sh:|
|000021a0| 0a 58 0a 58 2d 45 55 4e | 53 48 41 52 3d 22 75 6e |.X.X-EUN|SHAR="un|
|000021b0| 73 68 61 72 20 2d 73 22 | 0a 58 0a 4e 6f 74 65 20 |shar -s"|.X.Note |
|000021c0| 74 68 61 74 20 74 68 69 | 73 20 61 73 73 75 6d 65 |that thi|s assume|
|000021d0| 73 20 74 68 61 74 20 61 | 6e 79 20 6f 74 68 65 72 |s that a|ny other|
|000021e0| 20 63 6f 6d 6d 61 6e 64 | 73 20 79 6f 75 20 65 78 | command|s you ex|
|000021f0| 65 63 75 74 65 20 77 69 | 74 68 20 22 65 20 64 69 |ecute wi|th "e di|
|00002200| 72 7c 63 6f 6d 6d 61 6e | 64 22 0a 63 61 6e 20 61 |r|comman|d".can a|
|00002210| 6c 73 6f 20 68 61 6e 64 | 6c 65 20 74 68 65 20 65 |lso hand|le the e|
|00002220| 6e 74 69 72 65 20 61 72 | 74 69 63 6c 65 20 61 73 |ntire ar|ticle as|
|00002230| 20 69 6e 70 75 74 20 28 | 75 75 65 6e 63 6f 64 65 | input (|uuencode|
|00002240| 64 20 61 6e 64 20 73 68 | 69 70 70 65 64 20 66 69 |d and sh|ipped fi|
|00002250| 6c 65 73 20 61 72 65 0a | 6e 6f 74 20 61 66 66 65 |les are.|not affe|
|00002260| 63 74 65 64 29 2e 0a 58 | 2d 2d 2d 2d 2d 2d 2d 2d |cted)..X|--------|
|00002270| 2d 2d 0a 45 4e 44 5f 4f | 46 5f 46 49 4c 45 0a 69 |--.END_O|F_FILE.i|
|00002280| 66 20 74 65 73 74 20 32 | 36 34 37 20 2d 6e 65 20 |f test 2|647 -ne |
|00002290| 60 77 63 20 2d 63 20 3c | 27 48 49 4e 54 53 27 60 |`wc -c <|'HINTS'`|
|000022a0| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|000022b0| 73 68 61 72 3a 20 5c 22 | 27 48 49 4e 54 53 27 5c |shar: \"|'HINTS'\|
|000022c0| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|000022d0| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 66 69 0a 23 |wrong si|ze!.fi.#|
|000022e0| 20 65 6e 64 20 6f 66 20 | 27 48 49 4e 54 53 27 0a | end of |'HINTS'.|
|000022f0| 66 69 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 50 |fi.if te|st -f 'P|
|00002300| 6e 65 77 73 2e 31 27 20 | 2d 61 20 22 24 7b 31 7d |news.1' |-a "${1}|
|00002310| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|00002320| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|00002330| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|00002340| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00002350| 27 50 6e 65 77 73 2e 31 | 27 5c 22 0a 65 6c 73 65 |'Pnews.1|'\".else|
|00002360| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 |.echo sh|ar: Extr|
|00002370| 61 63 74 69 6e 67 20 5c | 22 27 50 6e 65 77 73 2e |acting \|"'Pnews.|
|00002380| 31 27 5c 22 20 5c 28 33 | 38 36 39 20 63 68 61 72 |1'\" \(3|869 char|
|00002390| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|000023a0| 5e 58 2f 2f 22 20 3e 27 | 50 6e 65 77 73 2e 31 27 |^X//" >'|Pnews.1'|
|000023b0| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|000023c0| 0a 58 2e 5c 22 20 24 49 | 64 3a 20 50 6e 65 77 73 |.X.\" $I|d: Pnews|
|000023d0| 2e 31 2c 76 20 34 2e 34 | 2e 31 2e 31 20 31 39 39 |.1,v 4.4|.1.1 199|
|000023e0| 31 2f 30 39 2f 32 35 20 | 31 39 3a 33 36 3a 34 38 |1/09/25 |19:36:48|
|000023f0| 20 73 6f 62 20 45 78 70 | 20 73 6f 62 20 24 0a 58 | sob Exp| sob $.X|
|00002400| 2e 5c 22 20 0a 58 2e 5c | 22 20 24 4c 6f 67 3a 20 |.\" .X.\|" $Log: |
|00002410| 50 6e 65 77 73 2e 31 2c | 76 20 24 0a 58 2e 5c 22 |Pnews.1,|v $.X.\"|
|00002420| 20 52 65 76 69 73 69 6f | 6e 20 34 2e 34 2e 31 2e | Revisio|n 4.4.1.|
|00002430| 31 20 20 31 39 39 31 2f | 30 39 2f 32 35 20 20 31 |1 1991/|09/25 1|
|00002440| 39 3a 33 36 3a 34 38 20 | 20 73 6f 62 0a 58 2e 5c |9:36:48 | sob.X.\|
|00002450| 22 20 43 68 61 6e 67 65 | 64 20 71 75 6f 74 65 20 |" Change|d quote |
|00002460| 6d 61 63 72 6f 20 74 6f | 20 22 73 74 61 6e 64 61 |macro to| "standa|
|00002470| 72 64 22 20 6f 6e 65 0a | 58 2e 5c 22 0a 58 2e 5c |rd" one.|X.\".X.\|
|00002480| 22 20 52 65 76 69 73 69 | 6f 6e 20 34 2e 34 20 20 |" Revisi|on 4.4 |
|00002490| 31 39 39 31 2f 30 39 2f | 30 39 20 20 32 30 3a 31 |1991/09/|09 20:1|
|000024a0| 38 3a 32 33 20 20 73 6f | 62 0a 58 2e 5c 22 20 72 |8:23 so|b.X.\" r|
|000024b0| 65 6c 65 61 73 65 20 34 | 2e 34 0a 58 2e 5c 22 0a |elease 4|.4.X.\".|
|000024c0| 58 2e 5c 22 20 0a 58 2e | 5c 22 20 54 68 69 73 20 |X.\" .X.|\" This |
|000024d0| 73 6f 66 74 77 61 72 65 | 20 69 73 20 43 6f 70 79 |software| is Copy|
|000024e0| 72 69 67 68 74 20 31 39 | 39 31 20 62 79 20 53 74 |right 19|91 by St|
|000024f0| 61 6e 20 42 61 72 62 65 | 72 2e 20 0a 58 2e 5c 22 |an Barbe|r. .X.\"|
|00002500| 0a 58 2e 5c 22 20 50 65 | 72 6d 69 73 73 69 6f 6e |.X.\" Pe|rmission|
|00002510| 20 69 73 20 68 65 72 65 | 62 79 20 67 72 61 6e 74 | is here|by grant|
|00002520| 65 64 20 74 6f 20 63 6f | 70 79 2c 20 72 65 70 72 |ed to co|py, repr|
|00002530| 6f 64 75 63 65 2c 20 72 | 65 64 69 73 74 72 69 62 |oduce, r|edistrib|
|00002540| 75 74 65 20 6f 72 20 6f | 74 68 65 72 77 69 73 65 |ute or o|therwise|
|00002550| 0a 58 2e 5c 22 20 75 73 | 65 20 74 68 69 73 20 73 |.X.\" us|e this s|
|00002560| 6f 66 74 77 61 72 65 20 | 61 73 20 6c 6f 6e 67 20 |oftware |as long |
|00002570| 61 73 3a 20 74 68 65 72 | 65 20 69 73 20 6e 6f 20 |as: ther|e is no |
|00002580| 6d 6f 6e 65 74 61 72 79 | 20 70 72 6f 66 69 74 20 |monetary| profit |
|00002590| 67 61 69 6e 65 64 0a 58 | 2e 5c 22 20 73 70 65 63 |gained.X|.\" spec|
|000025a0| 69 66 69 63 61 6c 6c 79 | 20 66 72 6f 6d 20 74 68 |ifically| from th|
|000025b0| 65 20 75 73 65 20 6f 72 | 20 72 65 70 72 6f 64 75 |e use or| reprodu|
|000025c0| 63 74 69 6f 6e 20 6f 66 | 20 74 68 69 73 20 73 6f |ction of| this so|
|000025d0| 66 74 77 61 72 65 2c 20 | 69 74 20 69 73 20 6e 6f |ftware, |it is no|
|000025e0| 74 0a 58 2e 5c 22 20 73 | 6f 6c 64 2c 20 72 65 6e |t.X.\" s|old, ren|
|000025f0| 74 65 64 2c 20 74 72 61 | 64 65 64 20 6f 72 20 6f |ted, tra|ded or o|
|00002600| 74 68 65 72 77 69 73 65 | 20 6d 61 72 6b 65 74 65 |therwise| markete|
|00002610| 64 2c 20 61 6e 64 20 74 | 68 69 73 20 63 6f 70 79 |d, and t|his copy|
|00002620| 72 69 67 68 74 20 6e 6f | 74 69 63 65 20 69 73 0a |right no|tice is.|
|00002630| 58 2e 5c 22 20 69 6e 63 | 6c 75 64 65 64 20 70 72 |X.\" inc|luded pr|
|00002640| 6f 6d 69 6e 65 6e 74 6c | 79 20 69 6e 20 61 6e 79 |ominentl|y in any|
|00002650| 20 63 6f 70 79 20 6d 61 | 64 65 2e 20 0a 58 2e 5c | copy ma|de. .X.\|
|00002660| 22 0a 58 2e 5c 22 20 54 | 68 65 20 61 75 74 68 6f |".X.\" T|he autho|
|00002670| 72 20 6d 61 6b 65 20 6e | 6f 20 63 6c 61 69 6d 73 |r make n|o claims|
|00002680| 20 61 73 20 74 6f 20 74 | 68 65 20 66 69 74 6e 65 | as to t|he fitne|
|00002690| 73 73 20 6f 72 20 63 6f | 72 72 65 63 74 6e 65 73 |ss or co|rrectnes|
|000026a0| 73 20 6f 66 20 74 68 69 | 73 20 73 6f 66 74 77 61 |s of thi|s softwa|
|000026b0| 72 65 0a 58 2e 5c 22 20 | 66 6f 72 20 61 6e 79 20 |re.X.\" |for any |
|000026c0| 75 73 65 20 77 68 61 74 | 73 6f 65 76 65 72 2c 20 |use what|soever, |
|000026d0| 61 6e 64 20 69 74 20 69 | 73 20 70 72 6f 76 69 64 |and it i|s provid|
|000026e0| 65 64 20 61 73 20 69 73 | 2e 20 41 6e 79 20 75 73 |ed as is|. Any us|
|000026f0| 65 20 6f 66 20 74 68 69 | 73 20 73 6f 66 74 77 61 |e of thi|s softwa|
|00002700| 72 65 0a 58 2e 5c 22 20 | 69 73 20 61 74 20 74 68 |re.X.\" |is at th|
|00002710| 65 20 75 73 65 72 27 73 | 20 6f 77 6e 20 72 69 73 |e user's| own ris|
|00002720| 6b 2e 20 0a 58 2e 5c 22 | 0a 58 2e 64 65 20 53 68 |k. .X.\"|.X.de Sh|
|00002730| 0a 58 2e 62 72 0a 58 2e | 6e 65 20 35 0a 58 2e 50 |.X.br.X.|ne 5.X.P|
|00002740| 50 0a 58 5c 66 42 5c 5c | 24 31 5c 66 52 0a 58 2e |P.X\fB\\|$1\fR.X.|
|00002750| 50 50 0a 58 2e 2e 0a 58 | 2e 64 65 20 53 70 0a 58 |PP.X...X|.de Sp.X|
|00002760| 2e 69 66 20 74 20 2e 73 | 70 20 2e 35 76 0a 58 2e |.if t .s|p .5v.X.|
|00002770| 69 66 20 6e 20 2e 73 70 | 0a 58 2e 2e 0a 58 2e 5c |if n .sp|.X...X.\|
|00002780| 22 0a 58 2e 5c 22 20 20 | 20 20 20 53 65 74 20 75 |".X.\" | Set u|
|00002790| 70 20 5c 2a 28 2d 2d 20 | 74 6f 20 67 69 76 65 20 |p \*(-- |to give |
|000027a0| 61 6e 20 75 6e 62 72 65 | 61 6b 61 62 6c 65 20 64 |an unbre|akable d|
|000027b0| 61 73 68 3b 0a 58 2e 5c | 22 20 20 20 20 20 73 74 |ash;.X.\|" st|
|000027c0| 72 69 6e 67 20 54 72 20 | 68 6f 6c 64 73 20 75 73 |ring Tr |holds us|
|000027d0| 65 72 20 64 65 66 69 6e | 65 64 20 74 72 61 6e 73 |er defin|ed trans|
|000027e0| 6c 61 74 69 6f 6e 20 73 | 74 72 69 6e 67 2e 0a 58 |lation s|tring..X|
|000027f0| 2e 5c 22 20 20 20 20 20 | 42 65 6c 6c 20 53 79 73 |.\" |Bell Sys|
|00002800| 74 65 6d 20 4c 6f 67 6f | 20 69 73 20 75 73 65 64 |tem Logo| is used|
|00002810| 20 61 73 20 61 20 64 75 | 6d 6d 79 20 63 68 61 72 | as a du|mmy char|
|00002820| 61 63 74 65 72 2e 0a 58 | 2e 5c 22 0a 58 2e 69 65 |acter..X|.\".X.ie|
|00002830| 20 6e 20 5c 7b 5c 0a 58 | 2e 74 72 20 5c 28 62 73 | n \{\.X|.tr \(bs|
|00002840| 2d 5c 2a 28 54 72 0a 58 | 2e 64 73 20 2d 2d 20 5c |-\*(Tr.X|.ds -- \|
|00002850| 28 62 73 2d 0a 58 2e 69 | 66 20 28 5c 6e 28 2e 48 |(bs-.X.i|f (\n(.H|
|00002860| 3d 34 75 29 26 28 31 6d | 3d 32 34 75 29 20 2e 64 |=4u)&(1m|=24u) .d|
|00002870| 73 20 2d 2d 20 5c 28 62 | 73 5c 68 27 2d 31 32 75 |s -- \(b|s\h'-12u|
|00002880| 27 5c 28 62 73 5c 68 27 | 2d 31 32 75 27 2d 5c 22 |'\(bs\h'|-12u'-\"|
|00002890| 20 64 69 61 62 6c 6f 20 | 31 30 20 70 69 74 63 68 | diablo |10 pitch|
|000028a0| 0a 58 2e 69 66 20 28 5c | 6e 28 2e 48 3d 34 75 29 |.X.if (\|n(.H=4u)|
|000028b0| 26 28 31 6d 3d 32 30 75 | 29 20 2e 64 73 20 2d 2d |&(1m=20u|) .ds --|
|000028c0| 20 5c 28 62 73 5c 68 27 | 2d 31 32 75 27 5c 28 62 | \(bs\h'|-12u'\(b|
|000028d0| 73 5c 68 27 2d 38 75 27 | 2d 5c 22 20 64 69 61 62 |s\h'-8u'|-\" diab|
|000028e0| 6c 6f 20 31 32 20 70 69 | 74 63 68 0a 58 2e 64 73 |lo 12 pi|tch.X.ds|
|000028f0| 20 4c 22 20 22 22 0a 58 | 2e 64 73 20 52 22 20 22 | L" "".X|.ds R" "|
|00002900| 22 0a 58 2e 64 73 20 4c | 27 20 27 0a 58 2e 64 73 |".X.ds L|' '.X.ds|
|00002910| 20 52 27 20 27 0a 58 27 | 62 72 5c 7d 0a 58 2e 65 | R' '.X'|br\}.X.e|
|00002920| 6c 5c 7b 5c 0a 58 2e 64 | 73 20 2d 2d 20 5c 28 65 |l\{\.X.d|s -- \(e|
|00002930| 6d 5c 7c 0a 58 2e 74 72 | 20 5c 2a 28 54 72 0a 58 |m\|.X.tr| \*(Tr.X|
|00002940| 2e 64 73 20 4c 22 20 60 | 60 0a 58 2e 64 73 20 52 |.ds L" `|`.X.ds R|
|00002950| 22 20 27 27 0a 58 2e 64 | 73 20 4c 27 20 60 0a 58 |" ''.X.d|s L' `.X|
|00002960| 2e 64 73 20 52 27 20 27 | 0a 58 27 62 72 5c 7d 0a |.ds R' '|.X'br\}.|
|00002970| 58 2e 54 48 20 50 4e 45 | 57 53 20 31 20 4c 4f 43 |X.TH PNE|WS 1 LOC|
|00002980| 41 4c 0a 58 2e 53 48 20 | 4e 41 4d 45 0a 50 6e 65 |AL.X.SH |NAME.Pne|
|00002990| 77 73 20 2d 20 61 20 70 | 72 6f 67 72 61 6d 20 66 |ws - a p|rogram f|
|000029a0| 6f 72 20 70 6f 73 74 69 | 6e 67 20 6e 65 77 73 20 |or posti|ng news |
|000029b0| 61 72 74 69 63 6c 65 73 | 0a 58 2e 53 48 20 53 59 |articles|.X.SH SY|
|000029c0| 4e 4f 50 53 49 53 0a 58 | 2e 42 20 50 6e 65 77 73 |NOPSIS.X|.B Pnews|
|000029d0| 20 6e 65 77 73 67 72 6f | 75 70 20 74 69 74 6c 65 | newsgro|up title|
|000029e0| 0a 58 2e 62 72 0a 58 20 | 20 6f 72 0a 58 2e 62 72 |.X.br.X | or.X.br|
|000029f0| 0a 58 2e 42 20 50 6e 65 | 77 73 20 2d 68 20 68 65 |.X.B Pne|ws -h he|
|00002a00| 61 64 65 72 66 69 6c 65 | 20 5b 6f 6c 64 61 72 74 |aderfile| [oldart|
|00002a10| 69 63 6c 65 5d 0a 58 2e | 62 72 0a 58 20 20 6f 72 |icle].X.|br.X or|
|00002a20| 0a 58 2e 62 72 0a 58 2e | 42 20 50 6e 65 77 73 0a |.X.br.X.|B Pnews.|
|00002a30| 58 2e 53 48 20 44 45 53 | 43 52 49 50 54 49 4f 4e |X.SH DES|CRIPTION|
|00002a40| 0a 50 6e 65 77 73 20 69 | 73 20 61 20 66 72 69 65 |.Pnews i|s a frie|
|00002a50| 6e 64 6c 79 20 69 6e 74 | 65 72 66 61 63 65 20 66 |ndly int|erface f|
|00002a60| 6f 72 20 70 6f 73 74 69 | 6e 67 20 6e 65 77 73 20 |or posti|ng news |
|00002a70| 61 72 74 69 63 6c 65 73 | 2e 0a 49 74 20 77 69 6c |articles|..It wil|
|00002a80| 6c 20 61 73 6b 20 73 65 | 76 65 72 61 6c 20 71 75 |l ask se|veral qu|
|00002a90| 65 73 74 69 6f 6e 73 2c | 20 74 68 65 6e 20 61 6c |estions,| then al|
|00002aa0| 6c 6f 77 20 79 6f 75 20 | 74 6f 20 65 6e 74 65 72 |low you |to enter|
|00002ab0| 20 79 6f 75 72 20 61 72 | 74 69 63 6c 65 2c 0a 61 | your ar|ticle,.a|
|00002ac0| 6e 64 20 74 68 65 6e 20 | 70 6f 73 74 20 69 74 20 |nd then |post it |
|00002ad0| 75 73 69 6e 67 20 74 68 | 65 20 69 6e 65 77 73 28 |using th|e inews(|
|00002ae0| 31 29 20 70 72 6f 67 72 | 61 6d 2e 0a 49 66 20 79 |1) progr|am..If y|
|00002af0| 6f 75 20 74 79 70 65 20 | 68 20 61 6e 64 20 61 20 |ou type |h and a |
|00002b00| 63 61 72 72 69 61 67 65 | 20 72 65 74 75 72 6e 20 |carriage| return |
|00002b10| 61 74 20 61 6e 79 20 70 | 6f 69 6e 74 2c 0a 58 2e |at any p|oint,.X.|
|00002b20| 49 20 50 6e 65 77 73 0a | 77 69 6c 6c 20 74 65 6c |I Pnews.|will tel|
|00002b30| 6c 20 79 6f 75 20 77 68 | 61 74 20 69 74 20 77 61 |l you wh|at it wa|
|00002b40| 6e 74 73 20 74 6f 20 6b | 6e 6f 77 2e 0a 58 2e 50 |nts to k|now..X.P|
|00002b50| 50 0a 54 68 65 20 2d 68 | 20 66 6f 72 6d 20 69 73 |P.The -h| form is|
|00002b60| 20 75 73 65 64 20 77 68 | 65 6e 20 69 6e 76 6f 6b | used wh|en invok|
|00002b70| 65 64 20 66 72 6f 6d 0a | 58 2e 49 52 20 72 6e 20 |ed from.|X.IR rn |
|00002b80| 2e 0a 49 66 20 79 6f 75 | 72 20 65 64 69 74 6f 72 |..If you|r editor|
|00002b90| 20 63 61 6e 20 65 64 69 | 74 20 6d 75 6c 74 69 70 | can edi|t multip|
|00002ba0| 6c 65 20 66 69 6c 65 73 | 2c 20 61 6e 64 20 79 6f |le files|, and yo|
|00002bb0| 75 20 77 61 6e 74 20 74 | 68 65 20 61 72 74 69 63 |u want t|he artic|
|00002bc0| 6c 65 20 74 6f 20 77 68 | 69 63 68 0a 79 6f 75 20 |le to wh|ich.you |
|00002bd0| 61 72 65 20 72 65 70 6c | 79 69 6e 67 20 74 6f 20 |are repl|ying to |
|00002be0| 73 68 6f 77 20 75 70 20 | 61 73 20 61 6e 20 61 6c |show up |as an al|
|00002bf0| 74 65 72 6e 61 74 65 20 | 66 69 6c 65 2c 20 64 65 |ternate |file, de|
|00002c00| 66 69 6e 65 20 74 68 65 | 20 65 6e 76 69 72 6f 6e |fine the| environ|
|00002c10| 6d 65 6e 74 0a 76 61 72 | 69 61 62 6c 65 20 4e 45 |ment.var|iable NE|
|00002c20| 57 53 50 4f 53 54 45 52 | 20 61 73 20 5c 2a 28 4c |WSPOSTER| as \*(L|
|00002c30| 22 50 6e 65 77 73 20 2d | 68 20 25 68 20 25 41 5c |"Pnews -|h %h %A\|
|00002c40| 2a 28 52 22 2e 0a 59 6f | 75 20 63 61 6e 20 61 6c |*(R"..Yo|u can al|
|00002c50| 73 6f 20 6d 6f 64 69 66 | 79 20 74 68 65 20 74 68 |so modif|y the th|
|00002c60| 65 20 4e 45 57 53 48 45 | 41 44 45 52 20 65 6e 76 |e NEWSHE|ADER env|
|00002c70| 69 72 6f 6e 6d 65 6e 74 | 20 76 61 72 69 61 62 6c |ironment| variabl|
|00002c80| 65 20 74 6f 20 63 68 61 | 6e 67 65 20 74 68 65 0a |e to cha|nge the.|
|00002c90| 68 65 61 64 65 72 20 66 | 69 6c 65 20 74 68 61 74 |header f|ile that|
|00002ca0| 0a 58 2e 49 20 72 6e 0a | 70 61 73 73 65 73 20 74 |.X.I rn.|passes t|
|00002cb0| 6f 20 50 6e 65 77 73 2e | 0a 58 2e 53 48 20 45 4e |o Pnews.|.X.SH EN|
|00002cc0| 56 49 52 4f 4e 4d 45 4e | 54 0a 58 2e 49 50 20 41 |VIRONMEN|T.X.IP A|
|00002cd0| 55 54 48 4f 52 43 4f 50 | 59 20 38 0a 49 66 20 64 |UTHORCOP|Y 8.If d|
|00002ce0| 65 66 69 6e 65 64 2c 20 | 63 6f 6e 74 61 69 6e 73 |efined, |contains|
|00002cf0| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 61 20 66 | the nam|e of a f|
|00002d00| 69 6c 65 20 74 6f 20 77 | 68 69 63 68 20 74 68 65 |ile to w|hich the|
|00002d10| 20 66 69 6e 69 73 68 65 | 64 20 61 72 74 69 63 6c | finishe|d articl|
|00002d20| 65 20 77 69 6c 6c 0a 62 | 65 20 61 70 70 65 6e 64 |e will.b|e append|
|00002d30| 65 64 2e 0a 58 2e 53 70 | 0a 44 65 66 61 75 6c 74 |ed..X.Sp|.Default|
|00002d40| 3a 20 61 72 74 69 63 6c | 65 20 6e 6f 74 20 73 61 |: articl|e not sa|
|00002d50| 76 65 64 0a 58 2e 49 50 | 20 44 4f 54 44 49 52 20 |ved.X.IP| DOTDIR |
|00002d60| 38 0a 57 68 65 72 65 20 | 74 6f 20 66 69 6e 64 20 |8.Where |to find |
|00002d70| 79 6f 75 72 20 64 6f 74 | 20 66 69 6c 65 73 2c 20 |your dot| files, |
|00002d80| 69 66 20 74 68 65 79 20 | 61 72 65 6e 27 74 20 69 |if they |aren't i|
|00002d90| 6e 20 79 6f 75 72 20 68 | 6f 6d 65 20 64 69 72 65 |n your h|ome dire|
|00002da0| 63 74 6f 72 79 2e 0a 54 | 68 69 73 20 69 73 20 70 |ctory..T|his is p|
|00002db0| 72 69 6d 61 72 69 6c 79 | 20 66 6f 72 20 61 63 63 |rimarily| for acc|
|00002dc0| 6f 75 6e 74 73 20 77 68 | 69 63 68 20 61 72 65 20 |ounts wh|ich are |
|00002dd0| 73 68 61 72 65 64 20 62 | 79 20 6d 6f 72 65 20 74 |shared b|y more t|
|00002de0| 68 61 6e 20 6f 6e 65 20 | 70 65 72 73 6f 6e 2e 0a |han one |person..|
|00002df0| 58 2e 53 70 0a 44 65 66 | 61 75 6c 74 3a 20 24 48 |X.Sp.Def|ault: $H|
|00002e00| 4f 4d 45 0a 58 2e 49 50 | 20 45 44 49 54 4f 52 20 |OME.X.IP| EDITOR |
|00002e10| 38 0a 54 68 65 20 65 64 | 69 74 6f 72 20 79 6f 75 |8.The ed|itor you|
|00002e20| 20 77 61 6e 74 20 74 6f | 20 75 73 65 2c 20 69 66 | want to| use, if|
|00002e30| 20 56 49 53 55 41 4c 20 | 69 73 20 75 6e 64 65 66 | VISUAL |is undef|
|00002e40| 69 6e 65 64 2e 0a 58 2e | 53 70 0a 44 65 66 61 75 |ined..X.|Sp.Defau|
|00002e50| 6c 74 3a 20 77 68 61 74 | 65 76 65 72 20 79 6f 75 |lt: what|ever you|
|00002e60| 72 20 6e 65 77 73 20 61 | 64 6d 69 6e 69 73 74 72 |r news a|dministr|
|00002e70| 61 74 6f 72 20 69 6e 73 | 74 61 6c 6c 65 64 2c 20 |ator ins|talled, |
|00002e80| 75 73 75 61 6c 6c 79 20 | 76 69 2e 0a 58 2e 49 50 |usually |vi..X.IP|
|00002e90| 20 48 4f 4d 45 20 38 0a | 59 6f 75 72 20 68 6f 6d | HOME 8.|Your hom|
|00002ea0| 65 20 64 69 72 65 63 74 | 6f 72 79 2e 0a 58 2e 53 |e direct|ory..X.S|
|00002eb0| 70 0a 44 65 66 61 75 6c | 74 3a 20 24 4c 4f 47 44 |p.Defaul|t: $LOGD|
|00002ec0| 49 52 0a 58 2e 49 50 20 | 4c 4f 47 44 49 52 20 38 |IR.X.IP |LOGDIR 8|
|00002ed0| 0a 59 6f 75 72 20 68 6f | 6d 65 20 64 69 72 65 63 |.Your ho|me direc|
|00002ee0| 74 6f 72 79 20 69 66 20 | 48 4f 4d 45 20 69 73 20 |tory if |HOME is |
|00002ef0| 75 6e 64 65 66 69 6e 65 | 64 2e 0a 58 2e 49 50 20 |undefine|d..X.IP |
|00002f00| 4c 4f 47 4e 41 4d 45 20 | 38 0a 59 6f 75 72 20 6c |LOGNAME |8.Your l|
|00002f10| 6f 67 69 6e 20 6e 61 6d | 65 2c 20 69 66 20 55 53 |ogin nam|e, if US|
|00002f20| 45 52 20 69 73 20 75 6e | 64 65 66 69 6e 65 64 2e |ER is un|defined.|
|00002f30| 0a 58 2e 53 70 0a 44 65 | 66 61 75 6c 74 3a 20 76 |.X.Sp.De|fault: v|
|00002f40| 61 6c 75 65 20 6f 66 20 | 5c 2a 28 4c 22 77 68 6f |alue of |\*(L"who|
|00002f50| 61 6d 69 5c 2a 28 52 22 | 2e 0a 58 2e 49 50 20 4e |ami\*(R"|..X.IP N|
|00002f60| 41 4d 45 20 38 0a 59 6f | 75 72 20 66 75 6c 6c 20 |AME 8.Yo|ur full |
|00002f70| 6e 61 6d 65 2e 0a 58 2e | 53 70 0a 44 65 66 61 75 |name..X.|Sp.Defau|
|00002f80| 6c 74 3a 20 6e 61 6d 65 | 20 66 72 6f 6d 20 2f 65 |lt: name| from /e|
|00002f90| 74 63 2f 70 61 73 73 77 | 64 2c 20 6f 72 20 7e 2f |tc/passw|d, or ~/|
|00002fa0| 2e 66 75 6c 6c 6e 61 6d | 65 2e 0a 58 2e 49 50 20 |.fullnam|e..X.IP |
|00002fb0| 4e 45 57 53 4f 52 47 20 | 38 0a 58 45 69 74 68 65 |NEWSORG |8.XEithe|
|00002fc0| 72 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 79 6f |r the na|me of yo|
|00002fd0| 75 72 20 6f 72 67 61 6e | 69 7a 61 74 69 6f 6e 2c |ur organ|ization,|
|00002fe0| 20 6f 72 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 | or the |name of |
|00002ff0| 61 20 66 69 6c 65 20 63 | 6f 6e 74 61 69 6e 69 6e |a file c|ontainin|
|00003000| 67 20 74 68 65 0a 6e 61 | 6d 65 20 6f 66 20 79 6f |g the.na|me of yo|
|00003010| 75 72 20 6f 72 67 61 6e | 69 7a 61 74 69 6f 6e 2e |ur organ|ization.|
|00003020| 20 28 46 6f 72 20 75 73 | 65 20 61 74 20 6f 72 67 | (For us|e at org|
|00003030| 61 6e 69 7a 61 74 69 6f | 6e 73 20 77 68 65 72 65 |anizatio|ns where|
|00003040| 20 74 68 65 20 4f 52 47 | 41 4e 49 5a 41 54 49 4f | the ORG|ANIZATIO|
|00003050| 4e 0a 65 6e 76 69 72 6f | 6e 6d 65 6e 74 61 6c 20 |N.enviro|nmental |
|00003060| 76 61 72 69 61 62 6c 65 | 20 69 73 20 69 6e 20 75 |variable| is in u|
|00003070| 73 65 20 66 6f 72 20 6f | 74 68 65 72 20 70 75 72 |se for o|ther pur|
|00003080| 70 6f 73 65 73 29 2e 20 | 49 66 20 62 6f 74 68 20 |poses). |If both |
|00003090| 4e 45 57 53 4f 52 47 20 | 61 6e 64 0a 4f 52 47 41 |NEWSORG |and.ORGA|
|000030a0| 4e 49 5a 41 54 49 4f 4e | 20 61 72 65 20 73 65 74 |NIZATION| are set|
|000030b0| 2c 20 4e 45 57 53 4f 52 | 47 20 77 69 6c 6c 20 6f |, NEWSOR|G will o|
|000030c0| 76 65 72 72 69 64 65 20 | 4f 52 47 41 4e 49 5a 41 |verride |ORGANIZA|
|000030d0| 54 49 4f 4e 2e 0a 58 2e | 49 50 20 4f 52 47 41 4e |TION..X.|IP ORGAN|
|000030e0| 49 5a 41 54 49 4f 4e 20 | 38 0a 58 45 69 74 68 65 |IZATION |8.XEithe|
|000030f0| 72 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 79 6f |r the na|me of yo|
|00003100| 75 72 20 6f 72 67 61 6e | 69 7a 61 74 69 6f 6e 2c |ur organ|ization,|
|00003110| 20 6f 72 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 | or the |name of |
|00003120| 61 20 66 69 6c 65 20 63 | 6f 6e 74 61 69 6e 69 6e |a file c|ontainin|
|00003130| 67 20 74 68 65 0a 6e 61 | 6d 65 20 6f 66 20 79 6f |g the.na|me of yo|
|00003140| 75 72 20 6f 72 67 61 6e | 69 7a 61 74 69 6f 6e 2e |ur organ|ization.|
|00003150| 0a 58 2e 53 70 0a 44 65 | 66 61 75 6c 74 3a 20 77 |.X.Sp.De|fault: w|
|00003160| 68 61 74 65 76 65 72 20 | 79 6f 75 72 20 6e 65 77 |hatever |your new|
|00003170| 73 20 61 64 6d 69 6e 69 | 73 74 72 61 74 6f 72 20 |s admini|strator |
|00003180| 63 68 6f 73 65 2e 0a 58 | 2e 49 50 20 52 45 50 4c |chose..X|.IP REPL|
|00003190| 59 54 4f 20 38 0a 54 68 | 65 20 63 6f 6e 74 65 6e |YTO 8.Th|e conten|
|000031a0| 74 73 20 6f 66 20 61 20 | 5c 2a 28 4c 22 52 65 70 |ts of a |\*(L"Rep|
|000031b0| 6c 79 2d 54 6f 3a 5c 2a | 28 52 22 20 68 65 61 64 |ly-To:\*|(R" head|
|000031c0| 65 72 20 6c 69 6e 65 20 | 74 6f 20 69 6e 73 65 72 |er line |to inser|
|000031d0| 74 20 69 6e 74 6f 20 79 | 6f 75 72 20 6d 65 73 73 |t into y|our mess|
|000031e0| 61 67 65 2e 0a 58 2e 53 | 70 0a 44 65 66 61 75 6c |age..X.S|p.Defaul|
|000031f0| 74 3a 20 68 65 61 64 65 | 72 20 6c 69 6e 65 20 6e |t: heade|r line n|
|00003200| 6f 74 20 69 6e 73 65 72 | 74 65 64 2e 0a 58 2e 49 |ot inser|ted..X.I|
|00003210| 50 20 55 53 45 52 20 38 | 0a 59 6f 75 72 20 6c 6f |P USER 8|.Your lo|
|00003220| 67 69 6e 20 6e 61 6d 65 | 2e 0a 58 2e 53 70 0a 44 |gin name|..X.Sp.D|
|00003230| 65 66 61 75 6c 74 3a 20 | 24 4c 4f 47 4e 41 4d 45 |efault: |$LOGNAME|
|00003240| 0a 58 2e 49 50 20 56 49 | 53 55 41 4c 20 38 0a 54 |.X.IP VI|SUAL 8.T|
|00003250| 68 65 20 65 64 69 74 6f | 72 20 79 6f 75 20 77 61 |he edito|r you wa|
|00003260| 6e 74 20 74 6f 20 75 73 | 65 2e 0a 58 2e 53 70 0a |nt to us|e..X.Sp.|
|00003270| 44 65 66 61 75 6c 74 3a | 20 24 45 44 49 54 4f 52 |Default:| $EDITOR|
|00003280| 0a 58 2e 53 48 20 46 49 | 4c 45 53 0a 58 24 44 4f |.X.SH FI|LES.X$DO|
|00003290| 54 44 49 52 2f 2e 61 72 | 74 69 63 6c 65 0a 58 2e |TDIR/.ar|ticle.X.|
|000032a0| 62 72 0a 58 7e 2f 64 65 | 61 64 2e 61 72 74 69 63 |br.X~/de|ad.artic|
|000032b0| 6c 65 0a 58 2e 53 48 20 | 53 45 45 20 41 4c 53 4f |le.X.SH |SEE ALSO|
|000032c0| 0a 72 6e 28 31 29 2c 20 | 52 6e 6d 61 69 6c 28 31 |.rn(1), |Rnmail(1|
|000032d0| 29 2c 20 69 6e 65 77 73 | 28 31 29 0a 58 2e 53 48 |), inews|(1).X.SH|
|000032e0| 20 44 49 41 47 4e 4f 53 | 54 49 43 53 0a 58 2e 53 | DIAGNOS|TICS.X.S|
|000032f0| 48 20 42 55 47 53 0a 4e | 6f 74 20 74 68 65 20 73 |H BUGS.N|ot the s|
|00003300| 70 65 65 64 69 65 73 74 | 20 70 72 6f 67 72 61 6d |peediest| program|
|00003310| 20 69 6e 20 74 68 65 20 | 77 6f 72 6c 64 2c 20 62 | in the |world, b|
|00003320| 75 74 20 6d 61 79 62 65 | 20 74 68 61 74 27 73 20 |ut maybe| that's |
|00003330| 61 20 62 6c 65 73 73 69 | 6e 67 20 74 6f 20 74 68 |a blessi|ng to th|
|00003340| 65 0a 6e 65 74 2e 0a 45 | 4e 44 5f 4f 46 5f 46 49 |e.net..E|ND_OF_FI|
|00003350| 4c 45 0a 69 66 20 74 65 | 73 74 20 33 38 36 39 20 |LE.if te|st 3869 |
|00003360| 2d 6e 65 20 60 77 63 20 | 2d 63 20 3c 27 50 6e 65 |-ne `wc |-c <'Pne|
|00003370| 77 73 2e 31 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |ws.1'`; |then. |
|00003380| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 50 | echo sh|ar: \"'P|
|00003390| 6e 65 77 73 2e 31 27 5c | 22 20 75 6e 70 61 63 6b |news.1'\|" unpack|
|000033a0| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|000033b0| 7a 65 21 0a 66 69 0a 23 | 20 65 6e 64 20 6f 66 20 |ze!.fi.#| end of |
|000033c0| 27 50 6e 65 77 73 2e 31 | 27 0a 66 69 0a 69 66 20 |'Pnews.1|'.fi.if |
|000033d0| 74 65 73 74 20 2d 66 20 | 27 52 6e 6d 61 69 6c 2e |test -f |'Rnmail.|
|000033e0| 31 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |1' -a "$|{1}" != |
|000033f0| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00003400| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00003410| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00003420| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 52 6e 6d 61 |ing file| \"'Rnma|
|00003430| 69 6c 2e 31 27 5c 22 0a | 65 6c 73 65 0a 65 63 68 |il.1'\".|else.ech|
|00003440| 6f 20 73 68 61 72 3a 20 | 45 78 74 72 61 63 74 69 |o shar: |Extracti|
|00003450| 6e 67 20 5c 22 27 52 6e | 6d 61 69 6c 2e 31 27 5c |ng \"'Rn|mail.1'\|
|00003460| 22 20 5c 28 33 38 32 33 | 20 63 68 61 72 61 63 74 |" \(3823| charact|
|00003470| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|00003480| 2f 22 20 3e 27 52 6e 6d | 61 69 6c 2e 31 27 20 3c |/" >'Rnm|ail.1' <|
|00003490| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 58 |<'END_OF|_FILE'.X|
|000034a0| 2e 5c 22 20 24 49 64 3a | 20 52 6e 6d 61 69 6c 2e |.\" $Id:| Rnmail.|
|000034b0| 31 2c 76 20 34 2e 34 2e | 31 2e 31 20 31 39 39 31 |1,v 4.4.|1.1 1991|
|000034c0| 2f 30 39 2f 32 35 20 31 | 39 3a 33 36 3a 34 38 20 |/09/25 1|9:36:48 |
|000034d0| 73 6f 62 20 45 78 70 20 | 73 6f 62 20 24 0a 58 2e |sob Exp |sob $.X.|
|000034e0| 5c 22 20 0a 58 2e 5c 22 | 20 24 4c 6f 67 3a 20 52 |\" .X.\"| $Log: R|
|000034f0| 6e 6d 61 69 6c 2e 31 2c | 76 20 24 0a 58 2e 5c 22 |nmail.1,|v $.X.\"|
|00003500| 20 52 65 76 69 73 69 6f | 6e 20 34 2e 34 2e 31 2e | Revisio|n 4.4.1.|
|00003510| 31 20 20 31 39 39 31 2f | 30 39 2f 32 35 20 20 31 |1 1991/|09/25 1|
|00003520| 39 3a 33 36 3a 34 38 20 | 20 73 6f 62 0a 58 2e 5c |9:36:48 | sob.X.\|
|00003530| 22 20 43 68 61 6e 67 65 | 64 20 71 75 6f 74 65 20 |" Change|d quote |
|00003540| 6d 61 63 72 6f 20 74 6f | 20 22 73 74 61 6e 64 61 |macro to| "standa|
|00003550| 72 64 22 20 6f 6e 65 0a | 58 2e 5c 22 0a 58 2e 5c |rd" one.|X.\".X.\|
|00003560| 22 20 52 65 76 69 73 69 | 6f 6e 20 34 2e 34 20 20 |" Revisi|on 4.4 |
|00003570| 31 39 39 31 2f 30 39 2f | 30 39 20 20 32 30 3a 31 |1991/09/|09 20:1|
|00003580| 38 3a 32 33 20 20 73 6f | 62 0a 58 2e 5c 22 20 72 |8:23 so|b.X.\" r|
|00003590| 65 6c 65 61 73 65 20 34 | 2e 34 0a 58 2e 5c 22 0a |elease 4|.4.X.\".|
|000035a0| 58 2e 5c 22 20 0a 58 2e | 5c 22 20 54 68 69 73 20 |X.\" .X.|\" This |
|000035b0| 73 6f 66 74 77 61 72 65 | 20 69 73 20 43 6f 70 79 |software| is Copy|
|000035c0| 72 69 67 68 74 20 31 39 | 39 31 20 62 79 20 53 74 |right 19|91 by St|
|000035d0| 61 6e 20 42 61 72 62 65 | 72 2e 20 0a 58 2e 5c 22 |an Barbe|r. .X.\"|
|000035e0| 0a 58 2e 5c 22 20 50 65 | 72 6d 69 73 73 69 6f 6e |.X.\" Pe|rmission|
|000035f0| 20 69 73 20 68 65 72 65 | 62 79 20 67 72 61 6e 74 | is here|by grant|
|00003600| 65 64 20 74 6f 20 63 6f | 70 79 2c 20 72 65 70 72 |ed to co|py, repr|
|00003610| 6f 64 75 63 65 2c 20 72 | 65 64 69 73 74 72 69 62 |oduce, r|edistrib|
|00003620| 75 74 65 20 6f 72 20 6f | 74 68 65 72 77 69 73 65 |ute or o|therwise|
|00003630| 0a 58 2e 5c 22 20 75 73 | 65 20 74 68 69 73 20 73 |.X.\" us|e this s|
|00003640| 6f 66 74 77 61 72 65 20 | 61 73 20 6c 6f 6e 67 20 |oftware |as long |
|00003650| 61 73 3a 20 74 68 65 72 | 65 20 69 73 20 6e 6f 20 |as: ther|e is no |
|00003660| 6d 6f 6e 65 74 61 72 79 | 20 70 72 6f 66 69 74 20 |monetary| profit |
|00003670| 67 61 69 6e 65 64 0a 58 | 2e 5c 22 20 73 70 65 63 |gained.X|.\" spec|
|00003680| 69 66 69 63 61 6c 6c 79 | 20 66 72 6f 6d 20 74 68 |ifically| from th|
|00003690| 65 20 75 73 65 20 6f 72 | 20 72 65 70 72 6f 64 75 |e use or| reprodu|
|000036a0| 63 74 69 6f 6e 20 6f 66 | 20 74 68 69 73 20 73 6f |ction of| this so|
|000036b0| 66 74 77 61 72 65 2c 20 | 69 74 20 69 73 20 6e 6f |ftware, |it is no|
|000036c0| 74 0a 58 2e 5c 22 20 73 | 6f 6c 64 2c 20 72 65 6e |t.X.\" s|old, ren|
|000036d0| 74 65 64 2c 20 74 72 61 | 64 65 64 20 6f 72 20 6f |ted, tra|ded or o|
|000036e0| 74 68 65 72 77 69 73 65 | 20 6d 61 72 6b 65 74 65 |therwise| markete|
|000036f0| 64 2c 20 61 6e 64 20 74 | 68 69 73 20 63 6f 70 79 |d, and t|his copy|
|00003700| 72 69 67 68 74 20 6e 6f | 74 69 63 65 20 69 73 0a |right no|tice is.|
|00003710| 58 2e 5c 22 20 69 6e 63 | 6c 75 64 65 64 20 70 72 |X.\" inc|luded pr|
|00003720| 6f 6d 69 6e 65 6e 74 6c | 79 20 69 6e 20 61 6e 79 |ominentl|y in any|
|00003730| 20 63 6f 70 79 20 6d 61 | 64 65 2e 20 0a 58 2e 5c | copy ma|de. .X.\|
|00003740| 22 0a 58 2e 5c 22 20 54 | 68 65 20 61 75 74 68 6f |".X.\" T|he autho|
|00003750| 72 20 6d 61 6b 65 20 6e | 6f 20 63 6c 61 69 6d 73 |r make n|o claims|
|00003760| 20 61 73 20 74 6f 20 74 | 68 65 20 66 69 74 6e 65 | as to t|he fitne|
|00003770| 73 73 20 6f 72 20 63 6f | 72 72 65 63 74 6e 65 73 |ss or co|rrectnes|
|00003780| 73 20 6f 66 20 74 68 69 | 73 20 73 6f 66 74 77 61 |s of thi|s softwa|
|00003790| 72 65 0a 58 2e 5c 22 20 | 66 6f 72 20 61 6e 79 20 |re.X.\" |for any |
|000037a0| 75 73 65 20 77 68 61 74 | 73 6f 65 76 65 72 2c 20 |use what|soever, |
|000037b0| 61 6e 64 20 69 74 20 69 | 73 20 70 72 6f 76 69 64 |and it i|s provid|
|000037c0| 65 64 20 61 73 20 69 73 | 2e 20 41 6e 79 20 75 73 |ed as is|. Any us|
|000037d0| 65 20 6f 66 20 74 68 69 | 73 20 73 6f 66 74 77 61 |e of thi|s softwa|
|000037e0| 72 65 0a 58 2e 5c 22 20 | 69 73 20 61 74 20 74 68 |re.X.\" |is at th|
|000037f0| 65 20 75 73 65 72 27 73 | 20 6f 77 6e 20 72 69 73 |e user's| own ris|
|00003800| 6b 2e 20 0a 58 2e 5c 22 | 0a 58 2e 64 65 20 53 68 |k. .X.\"|.X.de Sh|
|00003810| 0a 58 2e 62 72 0a 58 2e | 6e 65 20 35 0a 58 2e 50 |.X.br.X.|ne 5.X.P|
|00003820| 50 0a 58 5c 66 42 5c 5c | 24 31 5c 66 52 0a 58 2e |P.X\fB\\|$1\fR.X.|
|00003830| 50 50 0a 58 2e 2e 0a 58 | 2e 64 65 20 53 70 0a 58 |PP.X...X|.de Sp.X|
|00003840| 2e 69 66 20 74 20 2e 73 | 70 20 2e 35 76 0a 58 2e |.if t .s|p .5v.X.|
|00003850| 69 66 20 6e 20 2e 73 70 | 0a 58 2e 2e 0a 58 2e 5c |if n .sp|.X...X.\|
|00003860| 22 0a 58 2e 5c 22 20 20 | 20 20 20 53 65 74 20 75 |".X.\" | Set u|
|00003870| 70 20 5c 2a 28 2d 2d 20 | 74 6f 20 67 69 76 65 20 |p \*(-- |to give |
|00003880| 61 6e 20 75 6e 62 72 65 | 61 6b 61 62 6c 65 20 64 |an unbre|akable d|
|00003890| 61 73 68 3b 0a 58 2e 5c | 22 20 20 20 20 20 73 74 |ash;.X.\|" st|
|000038a0| 72 69 6e 67 20 54 72 20 | 68 6f 6c 64 73 20 75 73 |ring Tr |holds us|
|000038b0| 65 72 20 64 65 66 69 6e | 65 64 20 74 72 61 6e 73 |er defin|ed trans|
|000038c0| 6c 61 74 69 6f 6e 20 73 | 74 72 69 6e 67 2e 0a 58 |lation s|tring..X|
|000038d0| 2e 5c 22 20 20 20 20 20 | 42 65 6c 6c 20 53 79 73 |.\" |Bell Sys|
|000038e0| 74 65 6d 20 4c 6f 67 6f | 20 69 73 20 75 73 65 64 |tem Logo| is used|
|000038f0| 20 61 73 20 61 20 64 75 | 6d 6d 79 20 63 68 61 72 | as a du|mmy char|
|00003900| 61 63 74 65 72 2e 0a 58 | 2e 5c 22 0a 58 2e 69 65 |acter..X|.\".X.ie|
|00003910| 20 6e 20 5c 7b 5c 0a 58 | 2e 74 72 20 5c 28 62 73 | n \{\.X|.tr \(bs|
|00003920| 2d 5c 2a 28 54 72 0a 58 | 2e 64 73 20 2d 2d 20 5c |-\*(Tr.X|.ds -- \|
|00003930| 28 62 73 2d 0a 58 2e 69 | 66 20 28 5c 6e 28 2e 48 |(bs-.X.i|f (\n(.H|
|00003940| 3d 34 75 29 26 28 31 6d | 3d 32 34 75 29 20 2e 64 |=4u)&(1m|=24u) .d|
|00003950| 73 20 2d 2d 20 5c 28 62 | 73 5c 68 27 2d 31 32 75 |s -- \(b|s\h'-12u|
|00003960| 27 5c 28 62 73 5c 68 27 | 2d 31 32 75 27 2d 5c 22 |'\(bs\h'|-12u'-\"|
|00003970| 20 64 69 61 62 6c 6f 20 | 31 30 20 70 69 74 63 68 | diablo |10 pitch|
|00003980| 0a 58 2e 69 66 20 28 5c | 6e 28 2e 48 3d 34 75 29 |.X.if (\|n(.H=4u)|
|00003990| 26 28 31 6d 3d 32 30 75 | 29 20 2e 64 73 20 2d 2d |&(1m=20u|) .ds --|
|000039a0| 20 5c 28 62 73 5c 68 27 | 2d 31 32 75 27 5c 28 62 | \(bs\h'|-12u'\(b|
|000039b0| 73 5c 68 27 2d 38 75 27 | 2d 5c 22 20 64 69 61 62 |s\h'-8u'|-\" diab|
|000039c0| 6c 6f 20 31 32 20 70 69 | 74 63 68 0a 58 2e 64 73 |lo 12 pi|tch.X.ds|
|000039d0| 20 4c 22 20 22 22 0a 58 | 2e 64 73 20 52 22 20 22 | L" "".X|.ds R" "|
|000039e0| 22 0a 58 2e 64 73 20 4c | 27 20 27 0a 58 2e 64 73 |".X.ds L|' '.X.ds|
|000039f0| 20 52 27 20 27 0a 58 27 | 62 72 5c 7d 0a 58 2e 65 | R' '.X'|br\}.X.e|
|00003a00| 6c 5c 7b 5c 0a 58 2e 64 | 73 20 2d 2d 20 5c 28 65 |l\{\.X.d|s -- \(e|
|00003a10| 6d 5c 7c 0a 58 2e 74 72 | 20 5c 2a 28 54 72 0a 58 |m\|.X.tr| \*(Tr.X|
|00003a20| 2e 64 73 20 4c 22 20 60 | 60 0a 58 2e 64 73 20 52 |.ds L" `|`.X.ds R|
|00003a30| 22 20 27 27 0a 58 2e 64 | 73 20 4c 27 20 60 0a 58 |" ''.X.d|s L' `.X|
|00003a40| 2e 64 73 20 52 27 20 27 | 0a 58 27 62 72 5c 7d 0a |.ds R' '|.X'br\}.|
|00003a50| 58 2e 54 48 20 52 4e 4d | 41 49 4c 20 31 20 4c 4f |X.TH RNM|AIL 1 LO|
|00003a60| 43 41 4c 0a 58 2e 53 48 | 20 4e 41 4d 45 0a 52 6e |CAL.X.SH| NAME.Rn|
|00003a70| 6d 61 69 6c 20 2d 20 61 | 20 70 72 6f 67 72 61 6d |mail - a| program|
|00003a80| 20 66 6f 72 20 72 65 70 | 6c 79 69 6e 67 20 76 69 | for rep|lying vi|
|00003a90| 61 20 6d 61 69 6c 0a 58 | 2e 53 48 20 53 59 4e 4f |a mail.X|.SH SYNO|
|00003aa0| 50 53 49 53 0a 58 2e 42 | 20 52 6e 6d 61 69 6c 20 |PSIS.X.B| Rnmail |
|00003ab0| 64 65 73 74 69 6e 61 74 | 69 6f 6e 5f 6c 69 73 74 |destinat|ion_list|
|00003ac0| 0a 58 2e 62 72 0a 58 20 | 20 6f 72 0a 58 2e 62 72 |.X.br.X | or.X.br|
|00003ad0| 0a 58 2e 42 20 52 6e 6d | 61 69 6c 20 2d 68 20 68 |.X.B Rnm|ail -h h|
|00003ae0| 65 61 64 65 72 66 69 6c | 65 20 5b 6f 6c 64 61 72 |eaderfil|e [oldar|
|00003af0| 74 69 63 6c 65 5d 0a 58 | 2e 62 72 0a 58 20 20 6f |ticle].X|.br.X o|
|00003b00| 72 0a 58 2e 62 72 0a 58 | 2e 42 20 52 6e 6d 61 69 |r.X.br.X|.B Rnmai|
|00003b10| 6c 0a 58 2e 53 48 20 44 | 45 53 43 52 49 50 54 49 |l.X.SH D|ESCRIPTI|
|00003b20| 4f 4e 0a 52 6e 6d 61 69 | 6c 20 69 73 20 61 20 66 |ON.Rnmai|l is a f|
|00003b30| 72 69 65 6e 64 6c 79 20 | 69 6e 74 65 72 66 61 63 |riendly |interfac|
|00003b40| 65 20 66 6f 72 20 6d 61 | 69 6c 69 6e 67 20 72 65 |e for ma|iling re|
|00003b50| 70 6c 69 65 73 20 74 6f | 20 6e 65 77 73 20 61 72 |plies to| news ar|
|00003b60| 74 69 63 6c 65 73 2e 0a | 49 74 20 77 69 6c 6c 20 |ticles..|It will |
|00003b70| 61 73 6b 20 73 65 76 65 | 72 61 6c 20 71 75 65 73 |ask seve|ral ques|
|00003b80| 74 69 6f 6e 73 2c 20 74 | 68 65 6e 20 61 6c 6c 6f |tions, t|hen allo|
|00003b90| 77 20 79 6f 75 20 74 6f | 20 65 6e 74 65 72 20 79 |w you to| enter y|
|00003ba0| 6f 75 72 20 6c 65 74 74 | 65 72 2c 0a 61 6e 64 20 |our lett|er,.and |
|00003bb0| 74 68 65 6e 20 6d 61 69 | 6c 20 69 74 20 6f 66 66 |then mai|l it off|
|00003bc0| 2e 0a 49 66 20 79 6f 75 | 20 74 79 70 65 20 68 20 |..If you| type h |
|00003bd0| 61 6e 64 20 61 20 63 61 | 72 72 69 61 67 65 20 72 |and a ca|rriage r|
|00003be0| 65 74 75 72 6e 20 61 74 | 20 61 6e 79 20 70 6f 69 |eturn at| any poi|
|00003bf0| 6e 74 2c 0a 58 2e 49 20 | 52 6e 6d 61 69 6c 0a 77 |nt,.X.I |Rnmail.w|
|00003c00| 69 6c 6c 20 74 65 6c 6c | 20 79 6f 75 20 77 68 61 |ill tell| you wha|
|00003c10| 74 20 69 74 20 77 61 6e | 74 73 20 74 6f 20 6b 6e |t it wan|ts to kn|
|00003c20| 6f 77 2e 0a 58 2e 50 50 | 0a 54 68 65 20 2d 68 20 |ow..X.PP|.The -h |
|00003c30| 66 6f 72 6d 20 69 73 20 | 75 73 65 64 20 77 68 65 |form is |used whe|
|00003c40| 6e 20 69 6e 76 6f 6b 65 | 64 20 66 72 6f 6d 0a 58 |n invoke|d from.X|
|00003c50| 2e 49 52 20 72 6e 20 2e | 0a 49 66 20 79 6f 75 72 |.IR rn .|.If your|
|00003c60| 20 65 64 69 74 6f 72 20 | 63 61 6e 20 65 64 69 74 | editor |can edit|
|00003c70| 20 6d 75 6c 74 69 70 6c | 65 20 66 69 6c 65 73 2c | multipl|e files,|
|00003c80| 20 61 6e 64 20 79 6f 75 | 20 77 61 6e 74 20 74 68 | and you| want th|
|00003c90| 65 20 61 72 74 69 63 6c | 65 20 74 6f 20 77 68 69 |e articl|e to whi|
|00003ca0| 63 68 0a 79 6f 75 20 61 | 72 65 20 72 65 70 6c 79 |ch.you a|re reply|
|00003cb0| 69 6e 67 20 74 6f 20 73 | 68 6f 77 20 75 70 20 61 |ing to s|how up a|
|00003cc0| 73 20 61 6e 20 61 6c 74 | 65 72 6e 61 74 65 20 66 |s an alt|ernate f|
|00003cd0| 69 6c 65 2c 20 64 65 66 | 69 6e 65 20 74 68 65 20 |ile, def|ine the |
|00003ce0| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 0a 76 61 72 69 |environm|ent.vari|
|00003cf0| 61 62 6c 65 20 4d 41 49 | 4c 50 4f 53 54 45 52 20 |able MAI|LPOSTER |
|00003d00| 61 73 20 5c 2a 28 4c 22 | 52 6e 6d 61 69 6c 20 2d |as \*(L"|Rnmail -|
|00003d10| 68 20 25 68 20 25 41 5c | 2a 28 52 22 2e 0a 59 6f |h %h %A\|*(R"..Yo|
|00003d20| 75 20 63 61 6e 20 61 6c | 73 6f 20 6d 6f 64 69 66 |u can al|so modif|
|00003d30| 79 20 74 68 65 20 74 68 | 65 20 4d 41 49 4c 48 45 |y the th|e MAILHE|
|00003d40| 41 44 45 52 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |ADER env|ironment|
|00003d50| 20 76 61 72 69 61 62 6c | 65 20 74 6f 20 63 68 61 | variabl|e to cha|
|00003d60| 6e 67 65 20 74 68 65 0a | 68 65 61 64 65 72 20 66 |nge the.|header f|
|00003d70| 69 6c 65 20 74 68 61 74 | 0a 58 2e 49 20 72 6e 0a |ile that|.X.I rn.|
|00003d80| 70 61 73 73 65 73 20 74 | 6f 20 52 6e 6d 61 69 6c |passes t|o Rnmail|
|00003d90| 2e 0a 58 2e 53 48 20 45 | 4e 56 49 52 4f 4e 4d 45 |..X.SH E|NVIRONME|
|00003da0| 4e 54 0a 58 2e 49 50 20 | 44 4f 54 44 49 52 20 38 |NT.X.IP |DOTDIR 8|
|00003db0| 0a 49 66 20 64 65 66 69 | 6e 65 64 2c 20 73 70 65 |.If defi|ned, spe|
|00003dc0| 63 69 66 69 65 73 20 61 | 20 70 6c 61 63 65 20 6f |cifies a| place o|
|00003dd0| 74 68 65 72 20 74 68 61 | 6e 20 79 6f 75 72 20 68 |ther tha|n your h|
|00003de0| 6f 6d 65 20 64 69 72 65 | 63 74 6f 72 79 20 77 68 |ome dire|ctory wh|
|00003df0| 65 72 65 20 27 64 6f 74 | 27 20 66 69 6c 65 73 0a |ere 'dot|' files.|
|00003e00| 6d 61 79 20 62 65 20 73 | 74 6f 72 65 64 2e 0a 54 |may be s|tored..T|
|00003e10| 68 69 73 20 69 73 20 70 | 72 69 6d 61 72 69 6c 79 |his is p|rimarily|
|00003e20| 20 66 6f 72 20 61 63 63 | 6f 75 6e 74 73 20 77 68 | for acc|ounts wh|
|00003e30| 69 63 68 20 61 72 65 20 | 73 68 61 72 65 64 20 62 |ich are |shared b|
|00003e40| 79 20 6d 6f 72 65 20 74 | 68 61 6e 20 6f 6e 65 20 |y more t|han one |
|00003e50| 70 65 72 73 6f 6e 2e 0a | 58 2e 53 70 0a 44 65 66 |person..|X.Sp.Def|
|00003e60| 61 75 6c 74 3a 20 24 48 | 4f 4d 45 0a 58 2e 49 50 |ault: $H|OME.X.IP|
|00003e70| 20 45 44 49 54 4f 52 20 | 38 0a 54 68 65 20 65 64 | EDITOR |8.The ed|
|00003e80| 69 74 6f 72 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |itor you| want to|
|00003e90| 20 75 73 65 2c 20 69 66 | 20 56 49 53 55 41 4c 20 | use, if| VISUAL |
|00003ea0| 69 73 20 75 6e 64 65 66 | 69 6e 65 64 2e 0a 58 2e |is undef|ined..X.|
|00003eb0| 53 70 0a 44 65 66 61 75 | 6c 74 3a 20 77 68 61 74 |Sp.Defau|lt: what|
|00003ec0| 65 76 65 72 20 79 6f 75 | 72 20 6e 65 77 73 20 61 |ever you|r news a|
|00003ed0| 64 6d 69 6e 69 73 74 72 | 61 74 6f 72 20 69 6e 73 |dministr|ator ins|
|00003ee0| 74 61 6c 6c 65 64 2c 20 | 75 73 75 61 6c 6c 79 20 |talled, |usually |
|00003ef0| 76 69 2e 0a 58 2e 49 50 | 20 48 4f 4d 45 20 38 0a |vi..X.IP| HOME 8.|
|00003f00| 59 6f 75 72 20 68 6f 6d | 65 20 64 69 72 65 63 74 |Your hom|e direct|
|00003f10| 6f 72 79 2e 0a 58 2e 53 | 70 0a 44 65 66 61 75 6c |ory..X.S|p.Defaul|
|00003f20| 74 3a 20 24 4c 4f 47 44 | 49 52 0a 58 2e 49 50 20 |t: $LOGD|IR.X.IP |
|00003f30| 4c 4f 47 44 49 52 20 38 | 0a 59 6f 75 72 20 68 6f |LOGDIR 8|.Your ho|
|00003f40| 6d 65 20 64 69 72 65 63 | 74 6f 72 79 20 69 66 20 |me direc|tory if |
|00003f50| 48 4f 4d 45 20 69 73 20 | 75 6e 64 65 66 69 6e 65 |HOME is |undefine|
|00003f60| 64 2e 0a 58 2e 49 50 20 | 4c 4f 47 4e 41 4d 45 20 |d..X.IP |LOGNAME |
|00003f70| 38 0a 59 6f 75 72 20 6c | 6f 67 69 6e 20 6e 61 6d |8.Your l|ogin nam|
|00003f80| 65 2c 20 69 66 20 55 53 | 45 52 20 69 73 20 75 6e |e, if US|ER is un|
|00003f90| 64 65 66 69 6e 65 64 2e | 0a 58 2e 53 70 0a 44 65 |defined.|.X.Sp.De|
|00003fa0| 66 61 75 6c 74 3a 20 76 | 61 6c 75 65 20 6f 66 20 |fault: v|alue of |
|00003fb0| 5c 2a 28 4c 22 77 68 6f | 61 6d 69 5c 2a 28 52 22 |\*(L"who|ami\*(R"|
|00003fc0| 2e 0a 58 2e 49 50 20 4d | 41 49 4c 52 45 43 4f 52 |..X.IP M|AILRECOR|
|00003fd0| 44 20 38 0a 49 66 20 64 | 65 66 69 6e 65 64 2c 20 |D 8.If d|efined, |
|00003fe0| 63 6f 6e 74 61 69 6e 73 | 20 74 68 65 20 6e 61 6d |contains| the nam|
|00003ff0| 65 20 6f 66 20 61 20 66 | 69 6c 65 20 74 6f 20 77 |e of a f|ile to w|
|00004000| 68 69 63 68 20 74 68 65 | 20 66 69 6e 69 73 68 65 |hich the| finishe|
|00004010| 64 20 6d 65 73 73 61 67 | 65 20 77 69 6c 6c 0a 62 |d messag|e will.b|
|00004020| 65 20 61 70 70 65 6e 64 | 65 64 2e 0a 58 2e 53 70 |e append|ed..X.Sp|
|00004030| 0a 44 65 66 61 75 6c 74 | 3a 20 6d 65 73 73 61 67 |.Default|: messag|
|00004040| 65 20 6e 6f 74 20 73 61 | 76 65 64 0a 58 2e 49 50 |e not sa|ved.X.IP|
|00004050| 20 4e 45 57 53 4f 52 47 | 20 38 0a 58 45 69 74 68 | NEWSORG| 8.XEith|
|00004060| 65 72 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 79 |er the n|ame of y|
|00004070| 6f 75 72 20 6f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |our orga|nization|
|00004080| 2c 20 6f 72 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |, or the| name of|
|00004090| 20 61 20 66 69 6c 65 20 | 63 6f 6e 74 61 69 6e 69 | a file |containi|
|000040a0| 6e 67 20 74 68 65 0a 6e | 61 6d 65 20 6f 66 20 79 |ng the.n|ame of y|
|000040b0| 6f 75 72 20 6f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |our orga|nization|
|000040c0| 2e 20 28 46 6f 72 20 75 | 73 65 20 61 74 20 6f 72 |. (For u|se at or|
|000040d0| 67 61 6e 69 7a 61 74 69 | 6f 6e 73 20 77 68 65 72 |ganizati|ons wher|
|000040e0| 65 20 74 68 65 20 4f 52 | 47 41 4e 49 5a 41 54 49 |e the OR|GANIZATI|
|000040f0| 4f 4e 0a 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 61 6c |ON.envir|onmental|
|00004100| 20 76 61 72 69 61 62 6c | 65 20 69 73 20 69 6e 20 | variabl|e is in |
|00004110| 75 73 65 20 66 6f 72 20 | 6f 74 68 65 72 20 70 75 |use for |other pu|
|00004120| 72 70 6f 73 65 73 29 2e | 20 49 66 20 62 6f 74 68 |rposes).| If both|
|00004130| 20 4e 45 57 53 4f 52 47 | 20 61 6e 64 20 0a 4f 52 | NEWSORG| and .OR|
|00004140| 47 41 4e 49 5a 41 54 49 | 4f 4e 20 61 72 65 20 73 |GANIZATI|ON are s|
|00004150| 65 74 2c 20 4e 45 57 53 | 4f 52 47 20 77 69 6c 6c |et, NEWS|ORG will|
|00004160| 20 6f 76 65 72 72 69 64 | 65 20 4f 52 47 41 4e 49 | overrid|e ORGANI|
|00004170| 5a 41 54 49 4f 4e 2e 0a | 58 2e 53 70 0a 44 65 66 |ZATION..|X.Sp.Def|
|00004180| 61 75 6c 74 3a 20 77 68 | 61 74 65 76 65 72 20 79 |ault: wh|atever y|
|00004190| 6f 75 72 20 6e 65 77 73 | 20 61 64 6d 69 6e 69 73 |our news| adminis|
|000041a0| 74 72 61 74 6f 72 20 63 | 68 6f 73 65 2e 0a 58 2e |trator c|hose..X.|
|000041b0| 49 50 20 4f 52 47 41 4e | 49 5a 41 54 49 4f 4e 20 |IP ORGAN|IZATION |
|000041c0| 38 0a 58 45 69 74 68 65 | 72 20 74 68 65 20 6e 61 |8.XEithe|r the na|
|000041d0| 6d 65 20 6f 66 20 79 6f | 75 72 20 6f 72 67 61 6e |me of yo|ur organ|
|000041e0| 69 7a 61 74 69 6f 6e 2c | 20 6f 72 20 74 68 65 20 |ization,| or the |
|000041f0| 6e 61 6d 65 20 6f 66 20 | 61 20 66 69 6c 65 20 63 |name of |a file c|
|00004200| 6f 6e 74 61 69 6e 69 6e | 67 20 74 68 65 0a 6e 61 |ontainin|g the.na|
|00004210| 6d 65 20 6f 66 20 79 6f | 75 72 20 6f 72 67 61 6e |me of yo|ur organ|
|00004220| 69 7a 61 74 69 6f 6e 2e | 0a 58 2e 53 70 0a 44 65 |ization.|.X.Sp.De|
|00004230| 66 61 75 6c 74 3a 20 77 | 68 61 74 65 76 65 72 20 |fault: w|hatever |
|00004240| 79 6f 75 72 20 6e 65 77 | 73 20 61 64 6d 69 6e 69 |your new|s admini|
|00004250| 73 74 72 61 74 6f 72 20 | 63 68 6f 73 65 2e 0a 58 |strator |chose..X|
|00004260| 2e 49 50 20 52 45 50 4c | 59 54 4f 20 38 0a 54 68 |.IP REPL|YTO 8.Th|
|00004270| 65 20 63 6f 6e 74 65 6e | 74 73 20 6f 66 20 61 20 |e conten|ts of a |
|00004280| 5c 2a 28 4c 22 52 65 70 | 6c 79 2d 54 6f 3a 5c 2a |\*(L"Rep|ly-To:\*|
|00004290| 28 52 22 20 68 65 61 64 | 65 72 20 6c 69 6e 65 20 |(R" head|er line |
|000042a0| 74 6f 20 69 6e 73 65 72 | 74 20 69 6e 74 6f 20 79 |to inser|t into y|
|000042b0| 6f 75 72 20 6d 65 73 73 | 61 67 65 2e 0a 58 2e 53 |our mess|age..X.S|
|000042c0| 70 0a 44 65 66 61 75 6c | 74 3a 20 68 65 61 64 65 |p.Defaul|t: heade|
|000042d0| 72 20 6c 69 6e 65 20 6e | 6f 74 20 69 6e 73 65 72 |r line n|ot inser|
|000042e0| 74 65 64 2e 0a 58 2e 49 | 50 20 55 53 45 52 20 38 |ted..X.I|P USER 8|
|000042f0| 0a 59 6f 75 72 20 6c 6f | 67 69 6e 20 6e 61 6d 65 |.Your lo|gin name|
|00004300| 2e 0a 58 2e 53 70 0a 44 | 65 66 61 75 6c 74 3a 20 |..X.Sp.D|efault: |
|00004310| 24 4c 4f 47 4e 41 4d 45 | 0a 58 2e 49 50 20 56 49 |$LOGNAME|.X.IP VI|
|00004320| 53 55 41 4c 20 38 0a 54 | 68 65 20 65 64 69 74 6f |SUAL 8.T|he edito|
|00004330| 72 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 20 75 73 |r you wa|nt to us|
|00004340| 65 2e 0a 58 2e 53 70 0a | 44 65 66 61 75 6c 74 3a |e..X.Sp.|Default:|
|00004350| 20 24 45 44 49 54 4f 52 | 0a 58 2e 53 48 20 46 49 | $EDITOR|.X.SH FI|
|00004360| 4c 45 53 0a 58 24 44 4f | 54 44 49 52 2f 2e 6c 65 |LES.X$DO|TDIR/.le|
|00004370| 74 74 65 72 0a 58 2e 62 | 72 0a 58 7e 2f 64 65 61 |tter.X.b|r.X~/dea|
|00004380| 64 2e 6c 65 74 74 65 72 | 0a 58 2e 53 48 20 53 45 |d.letter|.X.SH SE|
|00004390| 45 20 41 4c 53 4f 0a 72 | 6e 28 31 29 2c 20 50 6e |E ALSO.r|n(1), Pn|
|000043a0| 65 77 73 28 31 29 2c 20 | 6d 61 69 6c 28 31 29 0a |ews(1), |mail(1).|
|000043b0| 58 2e 53 48 20 44 49 41 | 47 4e 4f 53 54 49 43 53 |X.SH DIA|GNOSTICS|
|000043c0| 0a 58 2e 53 48 20 42 55 | 47 53 0a 55 73 65 73 20 |.X.SH BU|GS.Uses |
|000043d0| 2f 62 69 6e 2f 6d 61 69 | 6c 20 69 6e 20 74 68 65 |/bin/mai|l in the|
|000043e0| 20 61 62 73 65 6e 63 65 | 20 6f 66 20 73 65 6e 64 | absence| of send|
|000043f0| 6d 61 69 6c 2e 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |mail..EN|D_OF_FIL|
|00004400| 45 0a 69 66 20 74 65 73 | 74 20 33 38 32 33 20 2d |E.if tes|t 3823 -|
|00004410| 6e 65 20 60 77 63 20 2d | 63 20 3c 27 52 6e 6d 61 |ne `wc -|c <'Rnma|
|00004420| 69 6c 2e 31 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |il.1'`; |then. |
|00004430| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 52 | echo sh|ar: \"'R|
|00004440| 6e 6d 61 69 6c 2e 31 27 | 5c 22 20 75 6e 70 61 63 |nmail.1'|\" unpac|
|00004450| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|00004460| 69 7a 65 21 0a 66 69 0a | 23 20 65 6e 64 20 6f 66 |ize!.fi.|# end of|
|00004470| 20 27 52 6e 6d 61 69 6c | 2e 31 27 0a 66 69 0a 69 | 'Rnmail|.1'.fi.i|
|00004480| 66 20 74 65 73 74 20 2d | 66 20 27 61 72 74 69 6f |f test -|f 'artio|
|00004490| 2e 63 27 20 2d 61 20 22 | 24 7b 31 7d 22 20 21 3d |.c' -a "|${1}" !=|
|000044a0| 20 22 2d 63 22 20 3b 20 | 74 68 65 6e 20 0a 20 20 | "-c" ; |then . |
|000044b0| 65 63 68 6f 20 73 68 61 | 72 3a 20 57 69 6c 6c 20 |echo sha|r: Will |
|000044c0| 6e 6f 74 20 63 6c 6f 62 | 62 65 72 20 65 78 69 73 |not clob|ber exis|
|000044d0| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 27 61 72 74 |ting fil|e \"'art|
|000044e0| 69 6f 2e 63 27 5c 22 0a | 65 6c 73 65 0a 65 63 68 |io.c'\".|else.ech|
|000044f0| 6f 20 73 68 61 72 3a 20 | 45 78 74 72 61 63 74 69 |o shar: |Extracti|
|00004500| 6e 67 20 5c 22 27 61 72 | 74 69 6f 2e 63 27 5c 22 |ng \"'ar|tio.c'\"|
|00004510| 20 5c 28 35 30 39 32 20 | 63 68 61 72 61 63 74 65 | \(5092 |characte|
|00004520| 72 73 5c 29 0a 73 65 64 | 20 22 73 2f 5e 58 2f 2f |rs\).sed| "s/^X//|
|00004530| 22 20 3e 27 61 72 74 69 | 6f 2e 63 27 20 3c 3c 27 |" >'arti|o.c' <<'|
|00004540| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 27 0a 58 2f 2a |END_OF_F|ILE'.X/*|
|00004550| 20 24 49 64 3a 20 61 72 | 74 69 6f 2e 63 2c 76 20 | $Id: ar|tio.c,v |
|00004560| 34 2e 34 20 31 39 39 31 | 2f 30 39 2f 30 39 20 32 |4.4 1991|/09/09 2|
|00004570| 30 3a 31 38 3a 32 33 20 | 73 6f 62 20 45 78 70 20 |0:18:23 |sob Exp |
|00004580| 73 6f 62 20 24 0a 58 20 | 2a 0a 58 20 2a 20 24 4c |sob $.X |*.X * $L|
|00004590| 6f 67 3a 20 61 72 74 69 | 6f 2e 63 2c 76 20 24 0a |og: arti|o.c,v $.|
|000045a0| 58 20 2a 20 52 65 76 69 | 73 69 6f 6e 20 34 2e 34 |X * Revi|sion 4.4|
|000045b0| 20 20 31 39 39 31 2f 30 | 39 2f 30 39 20 20 32 30 | 1991/0|9/09 20|
|000045c0| 3a 31 38 3a 32 33 20 20 | 73 6f 62 0a 58 20 2a 20 |:18:23 |sob.X * |
|000045d0| 72 65 6c 65 61 73 65 20 | 34 2e 34 0a 58 20 2a 0a |release |4.4.X *.|
|000045e0| 58 20 2a 0a 58 20 2a 20 | 0a 58 20 2a 2f 0a 58 2f |X *.X * |.X */.X/|
|000045f0| 2a 20 54 68 69 73 20 73 | 6f 66 74 77 61 72 65 20 |* This s|oftware |
|00004600| 69 73 20 43 6f 70 79 72 | 69 67 68 74 20 31 39 39 |is Copyr|ight 199|
|00004610| 31 20 62 79 20 53 74 61 | 6e 20 42 61 72 62 65 72 |1 by Sta|n Barber|
|00004620| 2e 20 0a 58 20 2a 0a 58 | 20 2a 20 50 65 72 6d 69 |. .X *.X| * Permi|
|00004630| 73 73 69 6f 6e 20 69 73 | 20 68 65 72 65 62 79 20 |ssion is| hereby |
|00004640| 67 72 61 6e 74 65 64 20 | 74 6f 20 63 6f 70 79 2c |granted |to copy,|
|00004650| 20 72 65 70 72 6f 64 75 | 63 65 2c 20 72 65 64 69 | reprodu|ce, redi|
|00004660| 73 74 72 69 62 75 74 65 | 20 6f 72 20 6f 74 68 65 |stribute| or othe|
|00004670| 72 77 69 73 65 0a 58 20 | 2a 20 75 73 65 20 74 68 |rwise.X |* use th|
|00004680| 69 73 20 73 6f 66 74 77 | 61 72 65 20 61 73 20 6c |is softw|are as l|
|00004690| 6f 6e 67 20 61 73 3a 20 | 74 68 65 72 65 20 69 73 |ong as: |there is|
|000046a0| 20 6e 6f 20 6d 6f 6e 65 | 74 61 72 79 20 70 72 6f | no mone|tary pro|
|000046b0| 66 69 74 20 67 61 69 6e | 65 64 0a 58 20 2a 20 73 |fit gain|ed.X * s|
|000046c0| 70 65 63 69 66 69 63 61 | 6c 6c 79 20 66 72 6f 6d |pecifica|lly from|
|000046d0| 20 74 68 65 20 75 73 65 | 20 6f 72 20 72 65 70 72 | the use| or repr|
|000046e0| 6f 64 75 63 74 69 6f 6e | 20 6f 66 20 74 68 69 73 |oduction| of this|
|000046f0| 20 73 6f 66 74 77 61 72 | 65 2c 20 69 74 20 69 73 | softwar|e, it is|
|00004700| 20 6e 6f 74 0a 58 20 2a | 20 73 6f 6c 64 2c 20 72 | not.X *| sold, r|
|00004710| 65 6e 74 65 64 2c 20 74 | 72 61 64 65 64 20 6f 72 |ented, t|raded or|
|00004720| 20 6f 74 68 65 72 77 69 | 73 65 20 6d 61 72 6b 65 | otherwi|se marke|
|00004730| 74 65 64 2c 20 61 6e 64 | 20 74 68 69 73 20 63 6f |ted, and| this co|
|00004740| 70 79 72 69 67 68 74 20 | 6e 6f 74 69 63 65 20 69 |pyright |notice i|
|00004750| 73 0a 58 20 2a 20 69 6e | 63 6c 75 64 65 64 20 70 |s.X * in|cluded p|
|00004760| 72 6f 6d 69 6e 65 6e 74 | 6c 79 20 69 6e 20 61 6e |rominent|ly in an|
|00004770| 79 20 63 6f 70 79 20 6d | 61 64 65 2e 20 0a 58 20 |y copy m|ade. .X |
|00004780| 2a 0a 58 20 2a 20 54 68 | 65 20 61 75 74 68 6f 72 |*.X * Th|e author|
|00004790| 20 6d 61 6b 65 20 6e 6f | 20 63 6c 61 69 6d 73 20 | make no| claims |
|000047a0| 61 73 20 74 6f 20 74 68 | 65 20 66 69 74 6e 65 73 |as to th|e fitnes|
|000047b0| 73 20 6f 72 20 63 6f 72 | 72 65 63 74 6e 65 73 73 |s or cor|rectness|
|000047c0| 20 6f 66 20 74 68 69 73 | 20 73 6f 66 74 77 61 72 | of this| softwar|
|000047d0| 65 0a 58 20 2a 20 66 6f | 72 20 61 6e 79 20 75 73 |e.X * fo|r any us|
|000047e0| 65 20 77 68 61 74 73 6f | 65 76 65 72 2c 20 61 6e |e whatso|ever, an|
|000047f0| 64 20 69 74 20 69 73 20 | 70 72 6f 76 69 64 65 64 |d it is |provided|
|00004800| 20 61 73 20 69 73 2e 20 | 41 6e 79 20 75 73 65 20 | as is. |Any use |
|00004810| 6f 66 20 74 68 69 73 20 | 73 6f 66 74 77 61 72 65 |of this |software|
|00004820| 0a 58 20 2a 20 69 73 20 | 61 74 20 74 68 65 20 75 |.X * is |at the u|
|00004830| 73 65 72 27 73 20 6f 77 | 6e 20 72 69 73 6b 2e 20 |ser's ow|n risk. |
|00004840| 0a 58 20 2a 2f 0a 58 0a | 58 23 69 6e 63 6c 75 64 |.X */.X.|X#includ|
|00004850| 65 20 22 45 58 54 45 52 | 4e 2e 68 22 0a 58 23 69 |e "EXTER|N.h".X#i|
|00004860| 6e 63 6c 75 64 65 20 22 | 63 6f 6d 6d 6f 6e 2e 68 |nclude "|common.h|
|00004870| 22 0a 58 23 69 66 64 65 | 66 20 53 45 52 56 45 52 |".X#ifde|f SERVER|
|00004880| 0a 58 23 69 6e 63 6c 75 | 64 65 20 22 73 65 72 76 |.X#inclu|de "serv|
|00004890| 65 72 2e 68 22 0a 58 23 | 65 6e 64 69 66 0a 58 23 |er.h".X#|endif.X#|
|000048a0| 69 6e 63 6c 75 64 65 20 | 22 49 4e 54 45 52 4e 2e |include |"INTERN.|
|000048b0| 68 22 0a 58 23 69 6e 63 | 6c 75 64 65 20 22 61 72 |h".X#inc|lude "ar|
|000048c0| 74 69 6f 2e 68 22 0a 58 | 0a 76 6f 69 64 0a 61 72 |tio.h".X|.void.ar|
|000048d0| 74 69 6f 5f 69 6e 69 74 | 28 29 0a 58 7b 0a 58 20 |tio_init|().X{.X |
|000048e0| 20 20 20 3b 0a 58 7d 0a | 58 0a 58 2f 2a 20 6f 70 | ;.X}.|X.X/* op|
|000048f0| 65 6e 20 61 6e 20 61 72 | 74 69 63 6c 65 2c 20 75 |en an ar|ticle, u|
|00004900| 6e 6c 65 73 73 20 69 74 | 27 73 20 61 6c 72 65 61 |nless it|'s alrea|
|00004910| 64 79 20 6f 70 65 6e 20 | 2a 2f 0a 58 0a 58 46 49 |dy open |*/.X.XFI|
|00004920| 4c 45 20 2a 0a 61 72 74 | 6f 70 65 6e 28 61 72 74 |LE *.art|open(art|
|00004930| 6e 75 6d 29 0a 41 52 54 | 5f 4e 55 4d 20 61 72 74 |num).ART|_NUM art|
|00004940| 6e 75 6d 3b 0a 58 7b 0a | 58 23 69 66 64 65 66 20 |num;.X{.|X#ifdef |
|00004950| 53 45 52 56 45 52 0a 58 | 20 20 20 20 72 65 74 75 |SERVER.X| retu|
|00004960| 72 6e 20 6e 6e 74 70 6f | 70 65 6e 28 61 72 74 6e |rn nntpo|pen(artn|
|00004970| 75 6d 2c 47 45 54 5f 41 | 52 54 49 43 4c 45 29 3b |um,GET_A|RTICLE);|
|00004980| 0a 58 23 65 6c 73 65 0a | 58 20 20 20 20 63 68 61 |.X#else.|X cha|
|00004990| 72 20 61 72 74 6e 61 6d | 65 5b 4d 41 58 46 49 4c |r artnam|e[MAXFIL|
|000049a0| 45 4e 41 4d 45 5d 3b 09 | 09 2f 2a 20 66 69 6c 65 |ENAME];.|./* file|
|000049b0| 6e 61 6d 65 20 6f 66 20 | 63 75 72 72 65 6e 74 20 |name of |current |
|000049c0| 61 72 74 69 63 6c 65 20 | 2a 2f 0a 58 0a 58 20 20 |article |*/.X.X |
|000049d0| 20 20 69 66 20 28 61 72 | 74 6e 75 6d 20 3c 20 31 | if (ar|tnum < 1|
|000049e0| 29 0a 58 09 72 65 74 75 | 72 6e 20 4e 75 6c 6c 66 |).X.retu|rn Nullf|
|000049f0| 70 3b 0a 58 20 20 20 20 | 69 66 20 28 6f 70 65 6e |p;.X |if (open|
|00004a00| 61 72 74 20 3d 3d 20 61 | 72 74 6e 75 6d 29 20 7b |art == a|rtnum) {|
|00004a10| 09 09 2f 2a 20 74 68 69 | 73 20 61 72 74 69 63 6c |../* thi|s articl|
|00004a20| 65 20 69 73 20 61 6c 72 | 65 61 64 79 20 6f 70 65 |e is alr|eady ope|
|00004a30| 6e 3f 20 2a 2f 0a 58 09 | 66 73 65 65 6b 28 61 72 |n? */.X.|fseek(ar|
|00004a40| 74 66 70 2c 30 4c 2c 30 | 29 3b 09 09 2f 2a 20 6a |tfp,0L,0|);../* j|
|00004a50| 75 73 74 20 67 65 74 20 | 74 6f 20 74 68 65 20 62 |ust get |to the b|
|00004a60| 65 67 69 6e 6e 69 6e 67 | 20 2a 2f 0a 58 09 72 65 |eginning| */.X.re|
|00004a70| 74 75 72 6e 20 61 72 74 | 66 70 3b 09 09 09 2f 2a |turn art|fp;.../*|
|00004a80| 20 61 6e 64 20 73 61 79 | 20 77 65 20 73 75 63 63 | and say| we succ|
|00004a90| 65 65 64 65 64 20 2a 2f | 0a 58 20 20 20 20 7d 0a |eeded */|.X }.|
|00004aa0| 58 20 20 20 20 69 66 20 | 28 61 72 74 66 70 20 21 |X if |(artfp !|
|00004ab0| 3d 20 4e 75 6c 6c 66 70 | 29 20 7b 09 09 2f 2a 20 |= Nullfp|) {../* |
|00004ac0| 69 74 20 77 61 73 20 73 | 6f 6d 65 62 6f 64 79 20 |it was s|omebody |
|00004ad0| 65 6c 73 65 3f 20 2a 2f | 0a 58 09 66 63 6c 6f 73 |else? */|.X.fclos|
|00004ae0| 65 28 61 72 74 66 70 29 | 3b 09 09 09 2f 2a 20 70 |e(artfp)|;.../* p|
|00004af0| 75 74 20 74 68 65 6d 20 | 6f 75 74 20 6f 66 20 74 |ut them |out of t|
|00004b00| 68 65 69 72 20 6d 69 73 | 65 72 79 20 2a 2f 0a 58 |heir mis|ery */.X|
|00004b10| 09 6f 70 65 6e 61 72 74 | 20 3d 20 30 3b 09 09 09 |.openart| = 0;...|
|00004b20| 2f 2a 20 61 6e 64 20 72 | 65 6d 65 6d 62 65 72 20 |/* and r|emember |
|00004b30| 74 68 65 6d 20 6e 6f 20 | 6d 6f 72 65 20 2a 2f 0a |them no |more */.|
|00004b40| 58 20 20 20 20 7d 0a 58 | 20 20 20 20 73 70 72 69 |X }.X| spri|
|00004b50| 6e 74 66 28 61 72 74 6e | 61 6d 65 2c 22 25 6c 64 |ntf(artn|ame,"%ld|
|00004b60| 22 2c 28 6c 6f 6e 67 29 | 61 72 74 6e 75 6d 29 3b |",(long)|artnum);|
|00004b70| 0a 58 09 09 09 09 09 2f | 2a 20 70 72 6f 64 75 63 |.X...../|* produc|
|00004b80| 65 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |e the na|me of th|
|00004b90| 65 20 61 72 74 69 63 6c | 65 20 2a 2f 0a 58 20 20 |e articl|e */.X |
|00004ba0| 20 20 69 66 20 28 61 72 | 74 66 70 20 3d 20 66 6f | if (ar|tfp = fo|
|00004bb0| 70 65 6e 28 61 72 74 6e | 61 6d 65 2c 22 72 22 29 |pen(artn|ame,"r")|
|00004bc0| 29 09 2f 2a 20 69 66 20 | 77 65 20 63 61 6e 20 6f |)./* if |we can o|
|00004bd0| 70 65 6e 20 69 74 20 2a | 2f 0a 58 09 6f 70 65 6e |pen it *|/.X.open|
|00004be0| 61 72 74 20 3d 20 61 72 | 74 6e 75 6d 3b 09 09 2f |art = ar|tnum;../|
|00004bf0| 2a 20 72 65 6d 65 6d 62 | 65 72 20 77 68 61 74 20 |* rememb|er what |
|00004c00| 77 65 20 64 69 64 20 68 | 65 72 65 20 2a 2f 0a 58 |we did h|ere */.X|
|00004c10| 23 69 66 64 65 66 20 4c | 49 4e 4b 41 52 54 0a 58 |#ifdef L|INKART.X|
|00004c20| 20 20 20 20 7b 0a 58 09 | 63 68 61 72 20 74 6d 70 | {.X.|char tmp|
|00004c30| 62 75 66 5b 32 35 36 5d | 3b 0a 58 09 63 68 61 72 |buf[256]|;.X.char|
|00004c40| 20 2a 73 3b 0a 58 0a 58 | 09 69 66 20 28 66 73 74 | *s;.X.X|.if (fst|
|00004c50| 61 74 28 66 69 6c 65 6e | 6f 28 61 72 74 66 70 29 |at(filen|o(artfp)|
|00004c60| 2c 26 66 69 6c 65 73 74 | 61 74 29 29 0a 58 09 20 |,&filest|at)).X. |
|00004c70| 20 20 20 72 65 74 75 72 | 6e 20 61 72 74 66 70 3b | retur|n artfp;|
|00004c80| 0a 58 09 69 66 20 28 66 | 69 6c 65 73 74 61 74 2e |.X.if (f|ilestat.|
|00004c90| 73 74 5f 73 69 7a 65 20 | 3c 20 28 73 69 7a 65 6f |st_size |< (sizeo|
|00004ca0| 66 20 74 6d 70 62 75 66 | 29 29 20 7b 0a 58 09 20 |f tmpbuf|)) {.X. |
|00004cb0| 20 20 20 66 67 65 74 73 | 28 74 6d 70 62 75 66 2c | fgets|(tmpbuf,|
|00004cc0| 28 73 69 7a 65 6f 66 20 | 74 6d 70 62 75 66 29 2c |(sizeof |tmpbuf),|
|00004cd0| 61 72 74 66 70 29 3b 0a | 58 09 20 20 20 20 69 66 |artfp);.|X. if|
|00004ce0| 20 28 2a 74 6d 70 62 75 | 66 20 3d 3d 20 27 2f 27 | (*tmpbu|f == '/'|
|00004cf0| 29 20 7b 09 2f 2a 20 69 | 73 20 61 20 22 6c 69 6e |) {./* i|s a "lin|
|00004d00| 6b 22 20 74 6f 20 61 6e | 6f 74 68 65 72 20 61 72 |k" to an|other ar|
|00004d10| 74 69 63 6c 65 20 2a 2f | 0a 58 09 09 66 63 6c 6f |ticle */|.X..fclo|
|00004d20| 73 65 28 61 72 74 66 70 | 29 3b 0a 58 09 09 69 66 |se(artfp|);.X..if|
|00004d30| 20 28 73 3d 69 6e 64 65 | 78 28 74 6d 70 62 75 66 | (s=inde|x(tmpbuf|
|00004d40| 2c 27 5c 6e 27 29 29 0a | 58 09 09 20 20 20 20 2a |,'\n')).|X.. *|
|00004d50| 73 20 3d 20 27 5c 30 27 | 3b 0a 58 09 09 69 66 20 |s = '\0'|;.X..if |
|00004d60| 28 21 28 61 72 74 66 70 | 20 3d 20 66 6f 70 65 6e |(!(artfp| = fopen|
|00004d70| 28 74 6d 70 62 75 66 2c | 22 72 22 29 29 29 0a 58 |(tmpbuf,|"r"))).X|
|00004d80| 09 09 20 20 20 20 6f 70 | 65 6e 61 72 74 20 3d 20 |.. op|enart = |
|00004d90| 30 3b 0a 58 09 09 65 6c | 73 65 20 7b 0a 58 09 09 |0;.X..el|se {.X..|
|00004da0| 20 20 20 20 69 66 20 28 | 2a 6c 69 6e 6b 61 72 74 | if (|*linkart|
|00004db0| 6e 61 6d 65 29 0a 58 09 | 09 09 66 72 65 65 28 6c |name).X.|..free(l|
|00004dc0| 69 6e 6b 61 72 74 6e 61 | 6d 65 29 3b 0a 58 09 09 |inkartna|me);.X..|
|00004dd0| 20 20 20 20 6c 69 6e 6b | 61 72 74 6e 61 6d 65 20 | link|artname |
|00004de0| 3d 20 73 61 76 65 73 74 | 72 28 74 6d 70 62 75 66 |= savest|r(tmpbuf|
|00004df0| 29 3b 0a 58 09 09 7d 0a | 58 09 20 20 20 20 7d 0a |);.X..}.|X. }.|
|00004e00| 58 09 20 20 20 20 65 6c | 73 65 0a 58 09 09 66 73 |X. el|se.X..fs|
|00004e10| 65 65 6b 28 61 72 74 66 | 70 2c 30 4c 2c 30 29 3b |eek(artf|p,0L,0);|
|00004e20| 09 09 2f 2a 20 67 65 74 | 20 62 61 63 6b 20 74 6f |../* get| back to|
|00004e30| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 2a | the beg|inning *|
|00004e40| 2f 0a 58 09 7d 0a 58 20 | 20 20 20 7d 0a 58 23 65 |/.X.}.X | }.X#e|
|00004e50| 6e 64 69 66 0a 58 20 20 | 20 20 72 65 74 75 72 6e |ndif.X | return|
|00004e60| 20 61 72 74 66 70 3b 09 | 09 09 2f 2a 20 61 6e 64 | artfp;.|../* and|
|00004e70| 20 72 65 74 75 72 6e 20 | 65 69 74 68 65 72 20 66 | return |either f|
|00004e80| 70 20 6f 72 20 4e 55 4c | 4c 20 2a 2f 0a 58 23 65 |p or NUL|L */.X#e|
|00004e90| 6e 64 69 66 20 2f 2a 20 | 53 45 52 56 45 52 20 2a |ndif /* |SERVER *|
|00004ea0| 2f 0a 58 7d 0a 58 0a 58 | 23 69 66 64 65 66 20 53 |/.X}.X.X|#ifdef S|
|00004eb0| 45 52 56 45 52 0a 73 74 | 61 74 69 63 20 6c 6f 6e |ERVER.st|atic lon|
|00004ec0| 67 20 6f 75 72 5f 70 69 | 64 3d 30 3b 0a 58 0a 58 |g our_pi|d=0;.X.X|
|00004ed0| 46 49 4c 45 20 2a 0a 6e | 6e 74 70 6f 70 65 6e 28 |FILE *.n|ntpopen(|
|00004ee0| 61 72 74 6e 75 6d 2c 66 | 75 6e 63 74 69 6f 6e 29 |artnum,f|unction)|
|00004ef0| 0a 41 52 54 5f 4e 55 4d | 20 61 72 74 6e 75 6d 3b |.ART_NUM| artnum;|
|00004f00| 0a 41 52 54 5f 50 41 52 | 54 20 66 75 6e 63 74 69 |.ART_PAR|T functi|
|00004f10| 6f 6e 3b 0a 58 7b 0a 58 | 20 20 20 20 63 68 61 72 |on;.X{.X| char|
|00004f20| 20 61 72 74 6e 61 6d 65 | 5b 4d 41 58 46 49 4c 45 | artname|[MAXFILE|
|00004f30| 4e 41 4d 45 5d 3b 09 09 | 2f 2a 20 66 69 6c 65 6e |NAME];..|/* filen|
|00004f40| 61 6d 65 20 6f 66 20 63 | 75 72 72 65 6e 74 20 61 |ame of c|urrent a|
|00004f50| 72 74 69 63 6c 65 20 2a | 2f 0a 58 20 20 20 20 63 |rticle *|/.X c|
|00004f60| 68 61 72 20 69 6e 74 72 | 70 77 6f 72 6b 5b 4d 41 |har intr|pwork[MA|
|00004f70| 58 46 49 4c 45 4e 41 4d | 45 5d 3b 09 2f 2a 20 66 |XFILENAM|E];./* f|
|00004f80| 69 6c 65 6e 61 6d 65 20 | 6f 66 20 63 75 72 72 65 |ilename |of curre|
|00004f90| 6e 74 20 61 72 74 69 63 | 6c 65 20 2a 2f 0a 58 20 |nt artic|le */.X |
|00004fa0| 20 20 20 69 66 20 28 6f | 75 72 5f 70 69 64 20 3d | if (o|ur_pid =|
|00004fb0| 3d 20 30 29 0a 58 09 6f | 75 72 5f 70 69 64 20 3d |= 0).X.o|ur_pid =|
|00004fc0| 20 67 65 74 70 69 64 28 | 29 3b 0a 58 20 20 20 20 | getpid(|);.X |
|00004fd0| 69 66 20 28 61 72 74 6e | 75 6d 20 3c 20 31 29 0a |if (artn|um < 1).|
|00004fe0| 58 09 72 65 74 75 72 6e | 20 4e 75 6c 6c 66 70 3b |X.return| Nullfp;|
|00004ff0| 0a 58 20 20 20 20 69 66 | 20 28 28 6f 70 65 6e 61 |.X if| ((opena|
|00005000| 72 74 20 3d 3d 20 61 72 | 74 6e 75 6d 29 20 26 26 |rt == ar|tnum) &&|
|00005010| 20 28 6f 70 65 6e 70 61 | 72 74 20 3e 3d 20 66 75 | (openpa|rt >= fu|
|00005020| 6e 63 74 69 6f 6e 29 29 | 0a 58 20 20 20 20 7b 09 |nction))|.X {.|
|00005030| 09 09 09 09 2f 2a 20 74 | 68 69 73 20 61 72 74 69 |..../* t|his arti|
|00005040| 63 6c 65 20 69 73 20 61 | 6c 72 65 61 64 79 20 6f |cle is a|lready o|
|00005050| 70 65 6e 3f 20 2a 2f 0a | 58 09 66 73 65 65 6b 28 |pen? */.|X.fseek(|
|00005060| 61 72 74 66 70 2c 30 4c | 2c 30 29 3b 09 09 2f 2a |artfp,0L|,0);../*|
|00005070| 20 6a 75 73 74 20 67 65 | 74 20 74 6f 20 74 68 65 | just ge|t to the|
|00005080| 20 62 65 67 69 6e 6e 69 | 6e 67 20 2a 2f 0a 58 09 | beginni|ng */.X.|
|00005090| 72 65 74 75 72 6e 20 61 | 72 74 66 70 3b 09 09 09 |return a|rtfp;...|
|000050a0| 2f 2a 20 61 6e 64 20 73 | 61 79 20 77 65 20 73 75 |/* and s|ay we su|
|000050b0| 63 63 65 65 64 65 64 20 | 2a 2f 0a 58 20 20 20 20 |cceeded |*/.X |
|000050c0| 7d 0a 58 20 20 20 20 69 | 66 20 28 61 72 74 66 70 |}.X i|f (artfp|
|000050d0| 20 21 3d 20 4e 75 6c 6c | 66 70 29 20 7b 09 09 2f | != Null|fp) {../|
|000050e0| 2a 20 69 74 20 77 61 73 | 20 73 6f 6d 65 62 6f 64 |* it was| somebod|
|000050f0| 79 20 65 6c 73 65 3f 20 | 2a 2f 0a 58 09 66 63 6c |y else? |*/.X.fcl|
|00005100| 6f 73 65 28 61 72 74 66 | 70 29 3b 09 09 09 2f 2a |ose(artf|p);.../*|
|00005110| 20 70 75 74 20 74 68 65 | 6d 20 6f 75 74 20 6f 66 | put the|m out of|
|00005120| 20 74 68 65 69 72 20 6d | 69 73 65 72 79 20 2a 2f | their m|isery */|
|00005130| 0a 58 09 6e 6e 74 70 63 | 6c 6f 73 65 28 29 3b 0a |.X.nntpc|lose();.|
|00005140| 58 09 6f 70 65 6e 61 72 | 74 20 3d 20 30 3b 09 09 |X.openar|t = 0;..|
|00005150| 09 2f 2a 20 61 6e 64 20 | 72 65 6d 65 6d 62 65 72 |./* and |remember|
|00005160| 20 74 68 65 6d 20 6e 6f | 20 6d 6f 72 65 20 2a 2f | them no| more */|
|00005170| 0a 58 20 20 20 20 7d 0a | 58 20 20 20 20 69 6e 74 |.X }.|X int|
|00005180| 65 72 70 28 69 6e 74 72 | 70 77 6f 72 6b 2c 4d 41 |erp(intr|pwork,MA|
|00005190| 58 46 49 4c 45 4e 41 4d | 45 2d 31 2c 22 25 50 22 |XFILENAM|E-1,"%P"|
|000051a0| 29 3b 0a 58 20 20 20 20 | 73 70 72 69 6e 74 66 28 |);.X |sprintf(|
|000051b0| 61 72 74 6e 61 6d 65 2c | 22 25 73 2f 72 72 6e 25 |artname,|"%s/rrn%|
|000051c0| 6c 64 2e 25 6c 64 22 2c | 20 69 6e 74 72 70 77 6f |ld.%ld",| intrpwo|
|000051d0| 72 6b 2c 28 6c 6f 6e 67 | 29 20 61 72 74 6e 75 6d |rk,(long|) artnum|
|000051e0| 2c 20 6f 75 72 5f 70 69 | 64 29 3b 0a 58 20 20 20 |, our_pi|d);.X |
|000051f0| 20 61 72 74 66 70 20 3d | 20 66 6f 70 65 6e 28 61 | artfp =| fopen(a|
|00005200| 72 74 6e 61 6d 65 2c 20 | 22 77 2b 22 29 3b 09 2f |rtname, |"w+");./|
|00005210| 2a 20 63 72 65 61 74 65 | 20 74 68 65 20 74 65 6d |* create| the tem|
|00005220| 70 6f 72 61 72 79 20 61 | 72 74 69 63 6c 65 20 2a |porary a|rticle *|
|00005230| 2f 0a 58 20 20 20 20 69 | 66 20 28 61 72 74 66 70 |/.X i|f (artfp|
|00005240| 20 3d 3d 20 4e 75 6c 6c | 66 70 29 20 7b 0a 58 09 | == Null|fp) {.X.|
|00005250| 55 4e 4c 49 4e 4b 28 61 | 72 74 6e 61 6d 65 29 3b |UNLINK(a|rtname);|
|00005260| 0a 58 09 72 65 74 75 72 | 6e 20 4e 75 6c 6c 66 70 |.X.retur|n Nullfp|
|00005270| 3b 0a 58 20 20 20 20 7d | 0a 58 20 20 20 20 73 77 |;.X }|.X sw|
|00005280| 69 74 63 68 20 28 66 75 | 6e 63 74 69 6f 6e 29 7b |itch (fu|nction){|
|00005290| 0a 58 09 20 20 20 20 63 | 61 73 65 20 47 45 54 5f |.X. c|ase GET_|
|000052a0| 53 54 41 54 55 53 3a 0a | 58 09 09 66 75 6e 63 74 |STATUS:.|X..funct|
|000052b0| 69 6f 6e 20 3d 20 47 45 | 54 5f 48 45 41 44 45 52 |ion = GE|T_HEADER|
|000052c0| 3b 09 2f 2a 20 66 61 6c | 6c 20 74 68 72 6f 75 67 |;./* fal|l throug|
|000052d0| 68 20 2a 2f 0a 58 09 20 | 20 20 20 63 61 73 65 20 |h */.X. | case |
|000052e0| 47 45 54 5f 48 45 41 44 | 45 52 3a 0a 58 09 09 73 |GET_HEAD|ER:.X..s|
|000052f0| 70 72 69 6e 74 66 28 73 | 65 72 5f 6c 69 6e 65 2c |printf(s|er_line,|
|00005300| 20 22 48 45 41 44 20 25 | 6c 64 22 2c 20 28 6c 6f | "HEAD %|ld", (lo|
|00005310| 6e 67 29 61 72 74 6e 75 | 6d 29 3b 0a 58 09 09 62 |ng)artnu|m);.X..b|
|00005320| 72 65 61 6b 3b 0a 58 09 | 20 20 20 20 63 61 73 65 |reak;.X.| case|
|00005330| 20 47 45 54 5f 41 52 54 | 49 43 4c 45 3a 0a 58 09 | GET_ART|ICLE:.X.|
|00005340| 09 73 70 72 69 6e 74 66 | 28 73 65 72 5f 6c 69 6e |.sprintf|(ser_lin|
|00005350| 65 2c 20 22 41 52 54 49 | 43 4c 45 20 25 6c 64 22 |e, "ARTI|CLE %ld"|
|00005360| 2c 20 28 6c 6f 6e 67 29 | 61 72 74 6e 75 6d 29 3b |, (long)|artnum);|
|00005370| 0a 58 09 09 62 72 65 61 | 6b 3b 0a 58 20 20 20 20 |.X..brea|k;.X |
|00005380| 7d 09 20 20 20 20 0a 58 | 23 69 66 64 65 66 20 44 |}. .X|#ifdef D|
|00005390| 45 42 55 47 47 49 4e 47 | 0a 58 20 20 20 20 69 66 |EBUGGING|.X if|
|000053a0| 20 28 64 65 62 75 67 20 | 26 20 44 45 42 5f 4e 4e | (debug |& DEB_NN|
|000053b0| 54 50 29 0a 58 09 70 72 | 69 6e 74 66 28 22 3e 25 |TP).X.pr|intf(">%|
|000053c0| 73 5c 6e 22 2c 20 73 65 | 72 5f 6c 69 6e 65 29 20 |s\n", se|r_line) |
|000053d0| 46 4c 55 53 48 3b 0a 58 | 23 65 6e 64 69 66 0a 58 |FLUSH;.X|#endif.X|
|000053e0| 20 20 20 20 70 75 74 5f | 73 65 72 76 65 72 28 73 | put_|server(s|
|000053f0| 65 72 5f 6c 69 6e 65 29 | 3b 09 09 2f 2a 20 61 73 |er_line)|;../* as|
|00005400| 6b 20 74 68 65 20 73 65 | 72 76 65 72 20 66 6f 72 |k the se|rver for|
|00005410| 20 74 68 65 20 61 72 74 | 69 63 6c 65 20 2a 2f 0a | the art|icle */.|
|00005420| 58 20 20 20 20 69 66 20 | 28 6e 6e 74 70 5f 67 65 |X if |(nntp_ge|
|00005430| 74 28 73 65 72 5f 6c 69 | 6e 65 2c 20 73 69 7a 65 |t(ser_li|ne, size|
|00005440| 6f 66 28 73 65 72 5f 6c | 69 6e 65 29 29 20 3c 20 |of(ser_l|ine)) < |
|00005450| 30 29 20 7b 0a 58 09 66 | 70 72 69 6e 74 66 28 73 |0) {.X.f|printf(s|
|00005460| 74 64 65 72 72 2c 20 22 | 5c 6e 72 72 6e 3a 20 55 |tderr, "|\nrrn: U|
|00005470| 6e 65 78 70 65 63 74 65 | 64 20 63 6c 6f 73 65 20 |nexpecte|d close |
|00005480| 6f 66 20 73 65 72 76 65 | 72 20 73 6f 63 6b 65 74 |of serve|r socket|
|00005490| 2e 5c 6e 22 29 3b 0a 58 | 09 66 69 6e 61 6c 69 7a |.\n");.X|.finaliz|
|000054a0| 65 28 31 29 3b 0a 58 20 | 20 20 20 7d 0a 58 23 69 |e(1);.X | }.X#i|
|000054b0| 66 64 65 66 20 44 45 42 | 55 47 47 49 4e 47 0a 58 |fdef DEB|UGGING.X|
|000054c0| 20 20 20 20 69 66 20 28 | 64 65 62 75 67 20 26 20 | if (|debug & |
|000054d0| 44 45 42 5f 4e 4e 54 50 | 29 0a 58 09 70 72 69 6e |DEB_NNTP|).X.prin|
|000054e0| 74 66 28 22 3c 25 73 5c | 6e 22 2c 20 73 65 72 5f |tf("<%s\|n", ser_|
|000054f0| 6c 69 6e 65 29 20 46 4c | 55 53 48 3b 0a 58 23 65 |line) FL|USH;.X#e|
|00005500| 6e 64 69 66 0a 58 20 20 | 20 20 69 66 20 28 2a 73 |ndif.X | if (*s|
|00005510| 65 72 5f 6c 69 6e 65 20 | 3d 3d 20 43 48 41 52 5f |er_line |== CHAR_|
|00005520| 46 41 54 41 4c 29 20 7b | 09 2f 2a 20 46 61 74 61 |FATAL) {|./* Fata|
|00005530| 6c 20 65 72 72 6f 72 20 | 2a 2f 0a 58 09 09 66 70 |l error |*/.X..fp|
|00005540| 72 69 6e 74 66 28 73 74 | 64 65 72 72 2c 22 5c 6e |rintf(st|derr,"\n|
|00005550| 72 72 6e 3a 20 25 73 5c | 6e 22 2c 73 65 72 5f 6c |rrn: %s\|n",ser_l|
|00005560| 69 6e 65 29 3b 0a 58 09 | 09 66 69 6e 61 6c 69 7a |ine);.X.|.finaliz|
|00005570| 65 28 31 29 3b 0a 58 09 | 7d 0a 58 20 20 20 20 69 |e(1);.X.|}.X i|
|00005580| 66 20 28 2a 73 65 72 5f | 6c 69 6e 65 20 21 3d 20 |f (*ser_|line != |
|00005590| 43 48 41 52 5f 4f 4b 29 | 20 7b 09 09 2f 2a 20 61 |CHAR_OK)| {../* a|
|000055a0| 6e 64 20 67 65 74 20 69 | 74 27 73 20 72 65 61 63 |nd get i|t's reac|
|000055b0| 74 69 6f 6e 20 2a 2f 0a | 58 09 66 63 6c 6f 73 65 |tion */.|X.fclose|
|000055c0| 28 61 72 74 66 70 29 3b | 0a 58 09 61 72 74 66 70 |(artfp);|.X.artfp|
|000055d0| 20 3d 20 4e 75 6c 6c 66 | 70 3b 0a 58 09 55 4e 4c | = Nullf|p;.X.UNL|
|000055e0| 49 4e 4b 28 61 72 74 6e | 61 6d 65 29 3b 0a 58 20 |INK(artn|ame);.X |
|000055f0| 09 65 72 72 6e 6f 20 3d | 20 45 4e 4f 45 4e 54 3b |.errno =| ENOENT;|
|00005600| 09 09 2f 2a 20 53 69 6d | 75 6c 61 74 65 20 66 69 |../* Sim|ulate fi|
|00005610| 6c 65 2d 6e 6f 74 2d 66 | 6f 75 6e 64 20 2a 2f 0a |le-not-f|ound */.|
|00005620| 58 20 20 20 20 20 20 20 | 20 72 65 74 75 72 6e 20 |X | return |
|00005630| 4e 75 6c 6c 66 70 3b 0a | 58 20 20 20 20 7d 0a 58 |Nullfp;.|X }.X|
|00005640| 0a 58 20 20 20 20 66 6f | 72 20 28 3b 3b 29 20 7b |.X fo|r (;;) {|
|00005650| 0a 58 20 20 20 20 20 20 | 20 20 69 66 20 28 6e 6e |.X | if (nn|
|00005660| 74 70 5f 67 65 74 28 73 | 65 72 5f 6c 69 6e 65 2c |tp_get(s|er_line,|
|00005670| 20 73 69 7a 65 6f 66 28 | 73 65 72 5f 6c 69 6e 65 | sizeof(|ser_line|
|00005680| 29 29 20 3c 20 30 29 20 | 7b 0a 58 09 20 20 20 20 |)) < 0) |{.X. |
|00005690| 66 70 72 69 6e 74 66 28 | 73 74 64 65 72 72 2c 20 |fprintf(|stderr, |
|000056a0| 22 5c 6e 72 72 6e 3a 20 | 55 6e 65 78 70 65 63 74 |"\nrrn: |Unexpect|
|000056b0| 65 64 20 63 6c 6f 73 65 | 20 6f 66 20 73 65 72 76 |ed close| of serv|
|000056c0| 65 72 20 73 6f 63 6b 65 | 74 2e 5c 6e 22 29 3b 0a |er socke|t.\n");.|
|000056d0| 58 09 20 20 20 20 66 69 | 6e 61 6c 69 7a 65 28 31 |X. fi|nalize(1|
|000056e0| 29 3b 0a 58 09 7d 0a 58 | 09 69 66 20 28 73 65 72 |);.X.}.X|.if (ser|
|000056f0| 5f 6c 69 6e 65 5b 30 5d | 20 3d 3d 20 27 2e 27 20 |_line[0]| == '.' |
|00005700| 26 26 20 73 65 72 5f 6c | 69 6e 65 5b 31 5d 20 3d |&& ser_l|ine[1] =|
|00005710| 3d 20 27 5c 30 27 29 0a | 58 09 09 62 72 65 61 6b |= '\0').|X..break|
|00005720| 3b 0a 58 09 66 70 75 74 | 73 28 28 73 65 72 5f 6c |;.X.fput|s((ser_l|
|00005730| 69 6e 65 5b 30 5d 20 3d | 3d 20 27 2e 27 20 3f 20 |ine[0] =|= '.' ? |
|00005740| 73 65 72 5f 6c 69 6e 65 | 20 2b 20 31 20 3a 20 73 |ser_line| + 1 : s|
|00005750| 65 72 5f 6c 69 6e 65 29 | 2c 20 61 72 74 66 70 29 |er_line)|, artfp)|
|00005760| 3b 0a 58 09 70 75 74 63 | 28 27 5c 6e 27 2c 20 61 |;.X.putc|('\n', a|
|00005770| 72 74 66 70 29 3b 0a 58 | 20 20 20 20 7d 0a 58 20 |rtfp);.X| }.X |
|00005780| 20 20 20 6f 70 65 6e 70 | 61 72 74 20 3d 20 66 75 | openp|art = fu|
|00005790| 6e 63 74 69 6f 6e 3b 0a | 58 20 20 20 20 69 66 20 |nction;.|X if |
|000057a0| 28 66 75 6e 63 74 69 6f | 6e 20 3d 3d 20 47 45 54 |(functio|n == GET|
|000057b0| 5f 48 45 41 44 45 52 29 | 0a 58 09 20 70 75 74 63 |_HEADER)|.X. putc|
|000057c0| 28 27 5c 6e 27 2c 20 61 | 72 74 66 70 29 3b 20 2f |('\n', a|rtfp); /|
|000057d0| 2a 20 72 65 71 27 64 20 | 62 6c 61 6e 6b 20 6c 69 |* req'd |blank li|
|000057e0| 6e 65 20 61 66 74 65 72 | 20 68 65 61 64 65 72 20 |ne after| header |
|000057f0| 2a 2f 0a 58 20 20 20 20 | 66 73 65 65 6b 28 61 72 |*/.X |fseek(ar|
|00005800| 74 66 70 2c 20 30 4c 2c | 20 30 29 3b 09 09 2f 2a |tfp, 0L,| 0);../*|
|00005810| 20 54 68 65 6e 20 67 65 | 74 20 62 61 63 6b 20 74 | Then ge|t back t|
|00005820| 6f 20 74 68 65 20 73 74 | 61 72 74 20 2a 2f 0a 58 |o the st|art */.X|
|00005830| 20 20 20 20 6f 70 65 6e | 61 72 74 20 3d 20 61 72 | open|art = ar|
|00005840| 74 6e 75 6d 3b 0a 58 20 | 20 20 20 72 65 74 75 72 |tnum;.X | retur|
|00005850| 6e 20 61 72 74 66 70 3b | 09 09 09 2f 2a 20 61 6e |n artfp;|.../* an|
|00005860| 64 20 72 65 74 75 72 6e | 20 65 69 74 68 65 72 20 |d return| either |
|00005870| 66 70 20 6f 72 20 4e 55 | 4c 4c 20 2a 2f 0a 58 7d |fp or NU|LL */.X}|
|00005880| 0a 58 0a 76 6f 69 64 0a | 6e 6e 74 70 63 6c 6f 73 |.X.void.|nntpclos|
|00005890| 65 28 29 0a 58 7b 0a 58 | 20 20 20 20 63 68 61 72 |e().X{.X| char|
|000058a0| 20 61 72 74 6e 61 6d 65 | 5b 4d 41 58 46 49 4c 45 | artname|[MAXFILE|
|000058b0| 4e 41 4d 45 5d 3b 09 09 | 2f 2a 20 66 69 6c 65 6e |NAME];..|/* filen|
|000058c0| 61 6d 65 20 6f 66 20 63 | 75 72 72 65 6e 74 20 61 |ame of c|urrent a|
|000058d0| 72 74 69 63 6c 65 20 2a | 2f 0a 58 20 20 20 20 63 |rticle *|/.X c|
|000058e0| 68 61 72 20 69 6e 74 72 | 70 77 6f 72 6b 5b 4d 41 |har intr|pwork[MA|
|000058f0| 58 46 49 4c 45 4e 41 4d | 45 5d 3b 09 2f 2a 20 66 |XFILENAM|E];./* f|
|00005900| 69 6c 65 6e 61 6d 65 20 | 6f 66 20 63 75 72 72 65 |ilename |of curre|
|00005910| 6e 74 20 61 72 74 69 63 | 6c 65 20 2a 2f 0a 58 20 |nt artic|le */.X |
|00005920| 20 20 20 69 66 20 28 6f | 75 72 5f 70 69 64 20 3d | if (o|ur_pid =|
|00005930| 3d 20 30 29 0a 58 09 6f | 75 72 5f 70 69 64 20 3d |= 0).X.o|ur_pid =|
|00005940| 20 67 65 74 70 69 64 28 | 29 3b 0a 58 20 20 20 20 | getpid(|);.X |
|00005950| 69 6e 74 65 72 70 28 69 | 6e 74 72 70 77 6f 72 6b |interp(i|ntrpwork|
|00005960| 2c 4d 41 58 46 49 4c 45 | 4e 41 4d 45 2d 31 2c 22 |,MAXFILE|NAME-1,"|
|00005970| 25 50 22 29 3b 0a 58 20 | 20 20 20 73 70 72 69 6e |%P");.X | sprin|
|00005980| 74 66 28 61 72 74 6e 61 | 6d 65 2c 20 22 25 73 2f |tf(artna|me, "%s/|
|00005990| 72 72 6e 25 6c 64 2e 25 | 6c 64 22 2c 20 69 6e 74 |rrn%ld.%|ld", int|
|000059a0| 72 70 77 6f 72 6b 2c 28 | 6c 6f 6e 67 29 20 6f 70 |rpwork,(|long) op|
|000059b0| 65 6e 61 72 74 2c 20 6f | 75 72 5f 70 69 64 29 3b |enart, o|ur_pid);|
|000059c0| 0a 58 20 20 20 20 55 4e | 4c 49 4e 4b 28 61 72 74 |.X UN|LINK(art|
|000059d0| 6e 61 6d 65 29 3b 0a 58 | 7d 0a 58 23 65 6e 64 69 |name);.X|}.X#endi|
|000059e0| 66 0a 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 0a 69 66 |f.END_OF|_FILE.if|
|000059f0| 20 74 65 73 74 20 35 30 | 39 32 20 2d 6e 65 20 60 | test 50|92 -ne `|
|00005a00| 77 63 20 2d 63 20 3c 27 | 61 72 74 69 6f 2e 63 27 |wc -c <'|artio.c'|
|00005a10| 60 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |`; then.| echo|
|00005a20| 20 73 68 61 72 3a 20 5c | 22 27 61 72 74 69 6f 2e | shar: \|"'artio.|
|00005a30| 63 27 5c 22 20 75 6e 70 | 61 63 6b 65 64 20 77 69 |c'\" unp|acked wi|
|00005a40| 74 68 20 77 72 6f 6e 67 | 20 73 69 7a 65 21 0a 66 |th wrong| size!.f|
|00005a50| 69 0a 23 20 65 6e 64 20 | 6f 66 20 27 61 72 74 69 |i.# end |of 'arti|
|00005a60| 6f 2e 63 27 0a 66 69 0a | 69 66 20 74 65 73 74 20 |o.c'.fi.|if test |
|00005a70| 2d 66 20 27 62 61 63 6b | 70 61 67 65 2e 63 27 20 |-f 'back|page.c' |
|00005a80| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|00005a90| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|00005aa0| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|00005ab0| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|00005ac0| 20 66 69 6c 65 20 5c 22 | 27 62 61 63 6b 70 61 67 | file \"|'backpag|
|00005ad0| 65 2e 63 27 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |e.c'\".e|lse.echo|
|00005ae0| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00005af0| 67 20 5c 22 27 62 61 63 | 6b 70 61 67 65 2e 63 27 |g \"'bac|kpage.c'|
|00005b00| 5c 22 20 5c 28 32 36 35 | 38 20 63 68 61 72 61 63 |\" \(265|8 charac|
|00005b10| 74 65 72 73 5c 29 0a 73 | 65 64 20 22 73 2f 5e 58 |ters\).s|ed "s/^X|
|00005b20| 2f 2f 22 20 3e 27 62 61 | 63 6b 70 61 67 65 2e 63 |//" >'ba|ckpage.c|
|00005b30| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|00005b40| 27 0a 58 2f 2a 20 24 49 | 64 3a 20 62 61 63 6b 70 |'.X/* $I|d: backp|
|00005b50| 61 67 65 2e 63 2c 76 20 | 34 2e 34 20 31 39 39 31 |age.c,v |4.4 1991|
|00005b60| 2f 30 39 2f 30 39 20 32 | 30 3a 31 38 3a 32 33 20 |/09/09 2|0:18:23 |
|00005b70| 73 6f 62 20 45 78 70 20 | 73 6f 62 20 24 0a 58 20 |sob Exp |sob $.X |
|00005b80| 2a 0a 58 20 2a 20 24 4c | 6f 67 3a 20 62 61 63 6b |*.X * $L|og: back|
|00005b90| 70 61 67 65 2e 63 2c 76 | 20 24 0a 58 20 2a 20 52 |page.c,v| $.X * R|
|00005ba0| 65 76 69 73 69 6f 6e 20 | 34 2e 34 20 20 31 39 39 |evision |4.4 199|
|00005bb0| 31 2f 30 39 2f 30 39 20 | 20 32 30 3a 31 38 3a 32 |1/09/09 | 20:18:2|
|00005bc0| 33 20 20 73 6f 62 0a 58 | 20 2a 20 72 65 6c 65 61 |3 sob.X| * relea|
|00005bd0| 73 65 20 34 2e 34 0a 58 | 20 2a 0a 58 20 2a 0a 58 |se 4.4.X| *.X *.X|
|00005be0| 20 2a 20 0a 58 20 2a 2f | 0a 58 2f 2a 20 54 68 69 | * .X */|.X/* Thi|
|00005bf0| 73 20 73 6f 66 74 77 61 | 72 65 20 69 73 20 43 6f |s softwa|re is Co|
|00005c00| 70 79 72 69 67 68 74 20 | 31 39 39 31 20 62 79 20 |pyright |1991 by |
|00005c10| 53 74 61 6e 20 42 61 72 | 62 65 72 2e 20 0a 58 20 |Stan Bar|ber. .X |
|00005c20| 2a 0a 58 20 2a 20 50 65 | 72 6d 69 73 73 69 6f 6e |*.X * Pe|rmission|
|00005c30| 20 69 73 20 68 65 72 65 | 62 79 20 67 72 61 6e 74 | is here|by grant|
|00005c40| 65 64 20 74 6f 20 63 6f | 70 79 2c 20 72 65 70 72 |ed to co|py, repr|
|00005c50| 6f 64 75 63 65 2c 20 72 | 65 64 69 73 74 72 69 62 |oduce, r|edistrib|
|00005c60| 75 74 65 20 6f 72 20 6f | 74 68 65 72 77 69 73 65 |ute or o|therwise|
|00005c70| 0a 58 20 2a 20 75 73 65 | 20 74 68 69 73 20 73 6f |.X * use| this so|
|00005c80| 66 74 77 61 72 65 20 61 | 73 20 6c 6f 6e 67 20 61 |ftware a|s long a|
|00005c90| 73 3a 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 6d |s: there| is no m|
|00005ca0| 6f 6e 65 74 61 72 79 20 | 70 72 6f 66 69 74 20 67 |onetary |profit g|
|00005cb0| 61 69 6e 65 64 0a 58 20 | 2a 20 73 70 65 63 69 66 |ained.X |* specif|
|00005cc0| 69 63 61 6c 6c 79 20 66 | 72 6f 6d 20 74 68 65 20 |ically f|rom the |
|00005cd0| 75 73 65 20 6f 72 20 72 | 65 70 72 6f 64 75 63 74 |use or r|eproduct|
|00005ce0| 69 6f 6e 20 6f 66 20 74 | 68 69 73 20 73 6f 66 74 |ion of t|his soft|
|00005cf0| 77 61 72 65 2c 20 69 74 | 20 69 73 20 6e 6f 74 0a |ware, it| is not.|
|00005d00| 58 20 2a 20 73 6f 6c 64 | 2c 20 72 65 6e 74 65 64 |X * sold|, rented|
|00005d10| 2c 20 74 72 61 64 65 64 | 20 6f 72 20 6f 74 68 65 |, traded| or othe|
|00005d20| 72 77 69 73 65 20 6d 61 | 72 6b 65 74 65 64 2c 20 |rwise ma|rketed, |
|00005d30| 61 6e 64 20 74 68 69 73 | 20 63 6f 70 79 72 69 67 |and this| copyrig|
|00005d40| 68 74 20 6e 6f 74 69 63 | 65 20 69 73 0a 58 20 2a |ht notic|e is.X *|
|00005d50| 20 69 6e 63 6c 75 64 65 | 64 20 70 72 6f 6d 69 6e | include|d promin|
|00005d60| 65 6e 74 6c 79 20 69 6e | 20 61 6e 79 20 63 6f 70 |ently in| any cop|
|00005d70| 79 20 6d 61 64 65 2e 20 | 0a 58 20 2a 0a 58 20 2a |y made. |.X *.X *|
|00005d80| 20 54 68 65 20 61 75 74 | 68 6f 72 20 6d 61 6b 65 | The aut|hor make|
|00005d90| 20 6e 6f 20 63 6c 61 69 | 6d 73 20 61 73 20 74 6f | no clai|ms as to|
|00005da0| 20 74 68 65 20 66 69 74 | 6e 65 73 73 20 6f 72 20 | the fit|ness or |
|00005db0| 63 6f 72 72 65 63 74 6e | 65 73 73 20 6f 66 20 74 |correctn|ess of t|
|00005dc0| 68 69 73 20 73 6f 66 74 | 77 61 72 65 0a 58 20 2a |his soft|ware.X *|
|00005dd0| 20 66 6f 72 20 61 6e 79 | 20 75 73 65 20 77 68 61 | for any| use wha|
|00005de0| 74 73 6f 65 76 65 72 2c | 20 61 6e 64 20 69 74 20 |tsoever,| and it |
|00005df0| 69 73 20 70 72 6f 76 69 | 64 65 64 20 61 73 20 69 |is provi|ded as i|
|00005e00| 73 2e 20 41 6e 79 20 75 | 73 65 20 6f 66 20 74 68 |s. Any u|se of th|
|00005e10| 69 73 20 73 6f 66 74 77 | 61 72 65 0a 58 20 2a 20 |is softw|are.X * |
|00005e20| 69 73 20 61 74 20 74 68 | 65 20 75 73 65 72 27 73 |is at th|e user's|
|00005e30| 20 6f 77 6e 20 72 69 73 | 6b 2e 20 0a 58 20 2a 2f | own ris|k. .X */|
|00005e40| 0a 58 0a 58 23 69 6e 63 | 6c 75 64 65 20 22 45 58 |.X.X#inc|lude "EX|
|00005e50| 54 45 52 4e 2e 68 22 0a | 58 23 69 6e 63 6c 75 64 |TERN.h".|X#includ|
|00005e60| 65 20 22 63 6f 6d 6d 6f | 6e 2e 68 22 0a 58 23 69 |e "commo|n.h".X#i|
|00005e70| 6e 63 6c 75 64 65 20 22 | 69 6e 74 72 70 2e 68 22 |nclude "|intrp.h"|
|00005e80| 0a 58 23 69 6e 63 6c 75 | 64 65 20 22 66 69 6e 61 |.X#inclu|de "fina|
|00005e90| 6c 2e 68 22 0a 58 23 69 | 6e 63 6c 75 64 65 20 22 |l.h".X#i|nclude "|
|00005ea0| 49 4e 54 45 52 4e 2e 68 | 22 0a 58 23 69 6e 63 6c |INTERN.h|".X#incl|
|00005eb0| 75 64 65 20 22 62 61 63 | 6b 70 61 67 65 2e 68 22 |ude "bac|kpage.h"|
|00005ec0| 0a 58 0a 41 52 54 5f 4c | 49 4e 45 20 6d 61 78 69 |.X.ART_L|INE maxi|
|00005ed0| 6e 64 78 20 3d 20 2d 31 | 3b 0a 6c 6f 6e 67 20 6c |ndx = -1|;.long l|
|00005ee0| 73 65 65 6b 28 29 3b 0a | 58 0a 76 6f 69 64 0a 62 |seek();.|X.void.b|
|00005ef0| 61 63 6b 70 61 67 65 5f | 69 6e 69 74 28 29 0a 58 |ackpage_|init().X|
|00005f00| 7b 0a 58 20 20 20 20 63 | 68 61 72 20 2a 76 61 72 |{.X c|har *var|
|00005f10| 79 6e 61 6d 65 3b 0a 58 | 20 20 20 20 0a 58 20 20 |yname;.X| .X |
|00005f20| 20 20 76 61 72 79 6e 61 | 6d 65 20 3d 20 66 69 6c | varyna|me = fil|
|00005f30| 65 78 70 28 56 41 52 59 | 4e 41 4d 45 29 3b 0a 58 |exp(VARY|NAME);.X|
|00005f40| 20 20 20 20 63 6c 6f 73 | 65 28 63 72 65 61 74 28 | clos|e(creat(|
|00005f50| 76 61 72 79 6e 61 6d 65 | 2c 30 36 30 30 29 29 3b |varyname|,0600));|
|00005f60| 0a 58 20 20 20 20 76 61 | 72 79 66 64 20 3d 20 6f |.X va|ryfd = o|
|00005f70| 70 65 6e 28 76 61 72 79 | 6e 61 6d 65 2c 32 29 3b |pen(vary|name,2);|
|00005f80| 0a 58 20 20 20 20 55 4e | 4c 49 4e 4b 28 76 61 72 |.X UN|LINK(var|
|00005f90| 79 6e 61 6d 65 29 3b 0a | 58 20 20 20 20 69 66 20 |yname);.|X if |
|00005fa0| 28 76 61 72 79 66 64 20 | 3c 20 30 29 20 7b 0a 58 |(varyfd |< 0) {.X|
|00005fb0| 09 70 72 69 6e 74 66 28 | 63 61 6e 74 6f 70 65 6e |.printf(|cantopen|
|00005fc0| 2c 76 61 72 79 6e 61 6d | 65 29 20 46 4c 55 53 48 |,varynam|e) FLUSH|
|00005fd0| 3b 0a 58 09 73 69 67 5f | 63 61 74 63 68 65 72 28 |;.X.sig_|catcher(|
|00005fe0| 30 29 3b 0a 58 20 20 20 | 20 7d 0a 58 20 20 20 20 |0);.X | }.X |
|00005ff0| 0a 58 7d 0a 58 0a 58 2f | 2a 20 76 69 72 74 75 61 |.X}.X.X/|* virtua|
|00006000| 6c 20 61 72 72 61 79 20 | 72 65 61 64 20 2a 2f 0a |l array |read */.|
|00006010| 58 0a 41 52 54 5f 50 4f | 53 0a 76 72 64 61 72 79 |X.ART_PO|S.vrdary|
|00006020| 28 69 6e 64 78 29 0a 41 | 52 54 5f 4c 49 4e 45 20 |(indx).A|RT_LINE |
|00006030| 69 6e 64 78 3b 0a 58 7b | 0a 58 20 20 20 20 69 6e |indx;.X{|.X in|
|00006040| 74 20 73 75 62 69 6e 64 | 78 3b 0a 58 20 20 20 20 |t subind|x;.X |
|00006050| 6c 6f 6e 67 20 6f 66 66 | 73 65 74 3b 0a 58 0a 58 |long off|set;.X.X|
|00006060| 23 69 66 64 65 66 20 44 | 45 42 55 47 47 49 4e 47 |#ifdef D|EBUGGING|
|00006070| 0a 58 20 20 20 20 69 66 | 20 28 69 6e 64 78 20 3e |.X if| (indx >|
|00006080| 20 6d 61 78 69 6e 64 78 | 29 20 7b 0a 58 09 70 72 | maxindx|) {.X.pr|
|00006090| 69 6e 74 66 28 22 76 72 | 64 61 72 79 28 25 6c 64 |intf("vr|dary(%ld|
|000060a0| 29 20 3e 20 25 6c 64 5c | 6e 22 2c 28 6c 6f 6e 67 |) > %ld\|n",(long|
|000060b0| 29 69 6e 64 78 2c 20 28 | 6c 6f 6e 67 29 6d 61 78 |)indx, (|long)max|
|000060c0| 69 6e 64 78 29 20 46 4c | 55 53 48 3b 0a 58 09 72 |indx) FL|USH;.X.r|
|000060d0| 65 74 75 72 6e 20 30 3b | 0a 58 20 20 20 20 7d 0a |eturn 0;|.X }.|
|000060e0| 58 23 65 6e 64 69 66 0a | 58 20 20 20 20 69 66 20 |X#endif.|X if |
|000060f0| 28 69 6e 64 78 20 3c 20 | 30 29 0a 58 09 72 65 74 |(indx < |0).X.ret|
|00006100| 75 72 6e 20 30 3b 0a 58 | 20 20 20 20 73 75 62 69 |urn 0;.X| subi|
|00006110| 6e 64 78 20 3d 20 69 6e | 64 78 20 25 20 56 41 52 |ndx = in|dx % VAR|
|00006120| 59 53 49 5a 45 3b 0a 58 | 20 20 20 20 6f 66 66 73 |YSIZE;.X| offs|
|00006130| 65 74 20 3d 20 28 69 6e | 64 78 20 2d 20 73 75 62 |et = (in|dx - sub|
|00006140| 69 6e 64 78 29 20 2a 20 | 73 69 7a 65 6f 66 28 76 |indx) * |sizeof(v|
|00006150| 61 72 79 62 75 66 5b 30 | 5d 29 3b 0a 58 20 20 20 |arybuf[0|]);.X |
|00006160| 20 69 66 20 28 6f 66 66 | 73 65 74 20 21 3d 20 6f | if (off|set != o|
|00006170| 6c 64 6f 66 66 73 65 74 | 29 20 7b 0a 58 09 69 66 |ldoffset|) {.X.if|
|00006180| 20 28 6f 6c 64 6f 66 66 | 73 65 74 20 3e 3d 20 30 | (oldoff|set >= 0|
|00006190| 29 20 7b 0a 58 23 69 66 | 6e 64 65 66 20 6c 69 6e |) {.X#if|ndef lin|
|000061a0| 74 0a 58 09 20 20 20 20 | 28 76 6f 69 64 29 6c 73 |t.X. |(void)ls|
|000061b0| 65 65 6b 28 76 61 72 79 | 66 64 2c 6f 6c 64 6f 66 |eek(vary|fd,oldof|
|000061c0| 66 73 65 74 2c 30 29 3b | 0a 58 09 20 20 20 20 77 |fset,0);|.X. w|
|000061d0| 72 69 74 65 28 76 61 72 | 79 66 64 2c 20 28 63 68 |rite(var|yfd, (ch|
|000061e0| 61 72 20 2a 29 76 61 72 | 79 62 75 66 2c 73 69 7a |ar *)var|ybuf,siz|
|000061f0| 65 6f 66 28 76 61 72 79 | 62 75 66 29 29 3b 0a 58 |eof(vary|buf));.X|
|00006200| 23 65 6e 64 69 66 20 2f | 2a 20 6c 69 6e 74 20 2a |#endif /|* lint *|
|00006210| 2f 0a 58 09 7d 0a 58 23 | 69 66 6e 64 65 66 20 6c |/.X.}.X#|ifndef l|
|00006220| 69 6e 74 0a 58 09 28 76 | 6f 69 64 29 6c 73 65 65 |int.X.(v|oid)lsee|
|00006230| 6b 28 76 61 72 79 66 64 | 2c 6f 66 66 73 65 74 2c |k(varyfd|,offset,|
|00006240| 30 29 3b 0a 58 09 72 65 | 61 64 28 76 61 72 79 66 |0);.X.re|ad(varyf|
|00006250| 64 2c 28 63 68 61 72 20 | 2a 29 76 61 72 79 62 75 |d,(char |*)varybu|
|00006260| 66 2c 73 69 7a 65 6f 66 | 28 76 61 72 79 62 75 66 |f,sizeof|(varybuf|
|00006270| 29 29 3b 0a 58 23 65 6e | 64 69 66 20 2f 2a 20 6c |));.X#en|dif /* l|
|00006280| 69 6e 74 20 2a 2f 0a 58 | 09 6f 6c 64 6f 66 66 73 |int */.X|.oldoffs|
|00006290| 65 74 20 3d 20 6f 66 66 | 73 65 74 3b 0a 58 20 20 |et = off|set;.X |
|000062a0| 20 20 7d 0a 58 20 20 20 | 20 72 65 74 75 72 6e 20 | }.X | return |
|000062b0| 76 61 72 79 62 75 66 5b | 73 75 62 69 6e 64 78 5d |varybuf[|subindx]|
|000062c0| 3b 0a 58 7d 0a 58 0a 58 | 2f 2a 20 77 72 69 74 65 |;.X}.X.X|/* write|
|000062d0| 20 74 6f 20 76 69 72 74 | 75 61 6c 20 61 72 72 61 | to virt|ual arra|
|000062e0| 79 20 2a 2f 0a 58 0a 76 | 6f 69 64 0a 76 77 74 61 |y */.X.v|oid.vwta|
|000062f0| 72 79 28 69 6e 64 78 2c | 6e 65 77 76 61 6c 75 65 |ry(indx,|newvalue|
|00006300| 29 0a 41 52 54 5f 4c 49 | 4e 45 20 69 6e 64 78 3b |).ART_LI|NE indx;|
|00006310| 0a 41 52 54 5f 50 4f 53 | 20 6e 65 77 76 61 6c 75 |.ART_POS| newvalu|
|00006320| 65 3b 0a 58 7b 0a 58 20 | 20 20 20 69 6e 74 20 73 |e;.X{.X | int s|
|00006330| 75 62 69 6e 64 78 3b 0a | 58 20 20 20 20 6c 6f 6e |ubindx;.|X lon|
|00006340| 67 20 6f 66 66 73 65 74 | 3b 0a 58 0a 58 23 69 66 |g offset|;.X.X#if|
|00006350| 64 65 66 20 44 45 42 55 | 47 47 49 4e 47 0a 58 20 |def DEBU|GGING.X |
|00006360| 20 20 20 69 66 20 28 69 | 6e 64 78 20 3c 20 30 29 | if (i|ndx < 0)|
|00006370| 0a 58 09 70 72 69 6e 74 | 66 28 22 76 77 74 61 72 |.X.print|f("vwtar|
|00006380| 79 28 25 6c 64 29 5c 6e | 22 2c 28 6c 6f 6e 67 29 |y(%ld)\n|",(long)|
|00006390| 69 6e 64 78 29 20 46 4c | 55 53 48 3b 0a 58 20 20 |indx) FL|USH;.X |
|000063a0| 20 20 69 66 20 28 21 69 | 6e 64 78 29 0a 58 09 6d | if (!i|ndx).X.m|
|000063b0| 61 78 69 6e 64 78 20 3d | 20 30 3b 0a 58 20 20 20 |axindx =| 0;.X |
|000063c0| 20 69 66 20 28 69 6e 64 | 78 20 3e 20 6d 61 78 69 | if (ind|x > maxi|
|000063d0| 6e 64 78 29 20 7b 0a 58 | 09 69 66 20 28 69 6e 64 |ndx) {.X|.if (ind|
|000063e0| 78 20 21 3d 20 6d 61 78 | 69 6e 64 78 20 2b 20 31 |x != max|indx + 1|
|000063f0| 29 0a 58 09 20 20 20 20 | 70 72 69 6e 74 66 28 22 |).X. |printf("|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.