home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1994-05-23 | 12.4 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
100%
| file
| Emacs/XEmacs v19 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6d 73 40 6d 6f 6c |piled by| rms@mol|
|00000020| 65 2e 67 6e 75 2e 61 69 | 2e 6d 69 74 2e 65 64 75 |e.gnu.ai|.mit.edu|
|00000030| 20 6f 6e 20 53 75 6e 20 | 4d 61 79 20 32 32 20 31 | on Sun |May 22 1|
|00000040| 38 3a 33 31 3a 31 34 20 | 31 39 39 34 0a 3b 3b 3b |8:31:14 |1994.;;;|
|00000050| 20 66 72 6f 6d 20 66 69 | 6c 65 20 2f 68 6f 6d 65 | from fi|le /home|
|00000060| 2f 66 73 66 2f 72 6d 73 | 2f 65 31 39 2f 6c 69 73 |/fsf/rms|/e19/lis|
|00000070| 70 2f 6e 6e 74 70 2e 65 | 6c 0a 3b 3b 3b 20 65 6d |p/nntp.e|l.;;; em|
|00000080| 61 63 73 20 76 65 72 73 | 69 6f 6e 20 31 39 2e 32 |acs vers|ion 19.2|
|00000090| 33 2e 39 30 2e 31 2e 0a | 3b 3b 3b 20 62 79 74 65 |3.90.1..|;;; byte|
|000000a0| 63 6f 6d 70 20 76 65 72 | 73 69 6f 6e 20 46 53 46 |comp ver|sion FSF|
|000000b0| 20 32 2e 31 30 0a 3b 3b | 3b 20 6f 70 74 69 6d 69 | 2.10.;;|; optimi|
|000000c0| 7a 61 74 69 6f 6e 20 69 | 73 20 6f 6e 2e 0a 3b 3b |zation i|s on..;;|
|000000d0| 3b 20 74 68 69 73 20 66 | 69 6c 65 20 75 73 65 73 |; this f|ile uses|
|000000e0| 20 6f 70 63 6f 64 65 73 | 20 77 68 69 63 68 20 64 | opcodes| which d|
|000000f0| 6f 20 6e 6f 74 20 65 78 | 69 73 74 20 69 6e 20 45 |o not ex|ist in E|
|00000100| 6d 61 63 73 20 31 38 2e | 0a 0a 28 69 66 20 28 61 |macs 18.|..(if (a|
|00000110| 6e 64 20 28 62 6f 75 6e | 64 70 20 27 65 6d 61 63 |nd (boun|dp 'emac|
|00000120| 73 2d 76 65 72 73 69 6f | 6e 29 0a 09 20 28 6f 72 |s-versio|n).. (or|
|00000130| 20 28 61 6e 64 20 28 62 | 6f 75 6e 64 70 20 27 65 | (and (b|oundp 'e|
|00000140| 70 6f 63 68 3a 3a 76 65 | 72 73 69 6f 6e 29 20 65 |poch::ve|rsion) e|
|00000150| 70 6f 63 68 3a 3a 76 65 | 72 73 69 6f 6e 29 0a 09 |poch::ve|rsion)..|
|00000160| 20 20 20 20 20 28 73 74 | 72 69 6e 67 2d 6c 65 73 | (st|ring-les|
|00000170| 73 70 20 65 6d 61 63 73 | 2d 76 65 72 73 69 6f 6e |sp emacs|-version|
|00000180| 20 22 31 39 22 29 29 29 | 0a 20 20 20 20 28 65 72 | "19")))|. (er|
|00000190| 72 6f 72 20 22 60 2f 68 | 6f 6d 65 2f 66 73 66 2f |ror "`/h|ome/fsf/|
|000001a0| 72 6d 73 2f 65 31 39 2f | 6c 69 73 70 2f 6e 6e 74 |rms/e19/|lisp/nnt|
|000001b0| 70 2e 65 6c 27 20 77 61 | 73 20 63 6f 6d 70 69 6c |p.el' wa|s compil|
|000001c0| 65 64 20 66 6f 72 20 45 | 6d 61 63 73 20 31 39 22 |ed for E|macs 19"|
|000001d0| 29 29 0a 0a 28 64 65 66 | 76 61 72 20 6e 6e 74 70 |))..(def|var nntp|
|000001e0| 2d 73 65 72 76 65 72 2d | 68 6f 6f 6b 20 6e 69 6c |-server-|hook nil|
|000001f0| 20 22 5c 0a 2a 48 6f 6f | 6b 73 20 66 6f 72 20 74 | "\.*Hoo|ks for t|
|00000200| 68 65 20 4e 4e 54 50 20 | 73 65 72 76 65 72 2e 0a |he NNTP |server..|
|00000210| 49 66 20 74 68 65 20 6b | 61 6e 6a 69 20 63 6f 64 |If the k|anji cod|
|00000220| 65 20 6f 66 20 74 68 65 | 20 4e 4e 54 50 20 73 65 |e of the| NNTP se|
|00000230| 72 76 65 72 20 69 73 20 | 64 69 66 66 65 72 65 6e |rver is |differen|
|00000240| 74 20 66 72 6f 6d 20 74 | 68 65 20 6c 6f 63 61 6c |t from t|he local|
|00000250| 20 6b 61 6e 6a 69 0a 63 | 6f 64 65 2c 20 74 68 65 | kanji.c|ode, the|
|00000260| 20 63 6f 72 72 65 63 74 | 20 6b 61 6e 6a 69 20 63 | correct| kanji c|
|00000270| 6f 64 65 20 6f 66 20 74 | 68 65 20 62 75 66 66 65 |ode of t|he buffe|
|00000280| 72 20 61 73 73 6f 63 69 | 61 74 65 64 20 77 69 74 |r associ|ated wit|
|00000290| 68 20 74 68 65 20 4e 4e | 54 50 0a 73 65 72 76 65 |h the NN|TP.serve|
|000002a0| 72 20 6d 75 73 74 20 62 | 65 20 73 70 65 63 69 66 |r must b|e specif|
|000002b0| 69 65 64 20 61 73 20 66 | 6f 6c 6c 6f 77 73 3a 0a |ied as f|ollows:.|
|000002c0| 0a 28 73 65 74 71 20 6e | 6e 74 70 2d 73 65 72 76 |.(setq n|ntp-serv|
|000002d0| 65 72 2d 68 6f 6f 6b 0a | 20 20 20 20 20 20 28 66 |er-hook.| (f|
|000002e0| 75 6e 63 74 69 6f 6e 0a | 20 20 20 20 20 20 20 28 |unction.| (|
|000002f0| 6c 61 6d 62 64 61 20 28 | 29 0a 09 20 3b 3b 20 53 |lambda (|).. ;; S|
|00000300| 65 72 76 65 72 27 73 20 | 4b 61 6e 6a 69 20 63 6f |erver's |Kanji co|
|00000310| 64 65 20 69 73 20 45 55 | 43 20 28 4e 45 6d 61 63 |de is EU|C (NEmac|
|00000320| 73 20 68 61 63 6b 29 2e | 0a 09 20 28 6d 61 6b 65 |s hack).|.. (make|
|00000330| 2d 6c 6f 63 61 6c 2d 76 | 61 72 69 61 62 6c 65 20 |-local-v|ariable |
|00000340| 27 6b 61 6e 6a 69 2d 66 | 69 6c 65 69 6f 2d 63 6f |'kanji-f|ileio-co|
|00000350| 64 65 29 0a 09 20 28 73 | 65 74 71 20 6b 61 6e 6a |de).. (s|etq kanj|
|00000360| 69 2d 66 69 6c 65 69 6f | 2d 63 6f 64 65 20 30 29 |i-fileio|-code 0)|
|00000370| 29 29 29 0a 0a 49 66 20 | 79 6f 75 27 64 20 6c 69 |)))..If |you'd li|
|00000380| 6b 65 20 74 6f 20 63 68 | 61 6e 67 65 20 73 6f 6d |ke to ch|ange som|
|00000390| 65 74 68 69 6e 67 20 64 | 65 70 65 6e 64 69 6e 67 |ething d|epending|
|000003a0| 20 6f 6e 20 74 68 65 20 | 73 65 72 76 65 72 20 69 | on the |server i|
|000003b0| 6e 20 74 68 69 73 0a 68 | 6f 6f 6b 2c 20 75 73 65 |n this.h|ook, use|
|000003c0| 20 74 68 65 20 76 61 72 | 69 61 62 6c 65 20 60 6e | the var|iable `n|
|000003d0| 6e 74 70 2d 73 65 72 76 | 65 72 2d 6e 61 6d 65 27 |ntp-serv|er-name'|
|000003e0| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 6e 6e 74 70 |.").(def|var nntp|
|000003f0| 2d 6c 61 72 67 65 2d 6e | 65 77 73 67 72 6f 75 70 |-large-n|ewsgroup|
|00000400| 20 35 30 20 22 5c 0a 2a | 54 68 65 20 6e 75 6d 62 | 50 "\.*|The numb|
|00000410| 65 72 20 6f 66 20 74 68 | 65 20 61 72 74 69 63 6c |er of th|e articl|
|00000420| 65 73 20 77 68 69 63 68 | 20 69 6e 64 69 63 61 74 |es which| indicat|
|00000430| 65 73 20 61 20 6c 61 72 | 67 65 20 6e 65 77 73 67 |es a lar|ge newsg|
|00000440| 72 6f 75 70 2e 0a 49 66 | 20 74 68 65 20 6e 75 6d |roup..If| the num|
|00000450| 62 65 72 20 6f 66 20 74 | 68 65 20 61 72 74 69 63 |ber of t|he artic|
|00000460| 6c 65 73 20 69 73 20 67 | 72 65 61 74 65 72 20 74 |les is g|reater t|
|00000470| 68 61 6e 20 74 68 65 20 | 76 61 6c 75 65 2c 20 76 |han the |value, v|
|00000480| 65 72 62 6f 73 65 0a 6d | 65 73 73 61 67 65 73 20 |erbose.m|essages |
|00000490| 77 69 6c 6c 20 62 65 20 | 73 68 6f 77 6e 20 74 6f |will be |shown to|
|000004a0| 20 69 6e 64 69 63 61 74 | 65 20 74 68 65 20 63 75 | indicat|e the cu|
|000004b0| 72 72 65 6e 74 20 73 74 | 61 74 75 73 2e 22 29 0a |rrent st|atus.").|
|000004c0| 28 64 65 66 76 61 72 20 | 6e 6e 74 70 2d 62 75 67 |(defvar |nntp-bug|
|000004d0| 67 79 2d 73 65 6c 65 63 | 74 20 28 6d 65 6d 71 20 |gy-selec|t (memq |
|000004e0| 73 79 73 74 65 6d 2d 74 | 79 70 65 20 28 71 75 6f |system-t|ype (quo|
|000004f0| 74 65 20 28 75 73 67 2d | 75 6e 69 78 2d 76 20 66 |te (usg-|unix-v f|
|00000500| 75 6a 69 74 73 75 2d 75 | 74 73 29 29 29 20 22 5c |ujitsu-u|ts))) "\|
|00000510| 0a 2a 54 20 69 66 20 79 | 6f 75 72 20 73 65 6c 65 |.*T if y|our sele|
|00000520| 63 74 20 72 6f 75 74 69 | 6e 65 20 69 73 20 62 75 |ct routi|ne is bu|
|00000530| 67 67 79 2e 0a 49 66 20 | 74 68 65 20 73 65 6c 65 |ggy..If |the sele|
|00000540| 63 74 20 72 6f 75 74 69 | 6e 65 20 73 69 67 6e 61 |ct routi|ne signa|
|00000550| 6c 73 20 65 72 72 6f 72 | 20 6f 72 20 66 61 6c 6c |ls error| or fall|
|00000560| 20 69 6e 74 6f 20 69 6e | 66 69 6e 69 74 65 20 6c | into in|finite l|
|00000570| 6f 6f 70 20 77 68 69 6c | 65 0a 77 61 69 74 69 6e |oop whil|e.waitin|
|00000580| 67 20 66 6f 72 20 74 68 | 65 20 73 65 72 76 65 72 |g for th|e server|
|00000590| 20 72 65 73 70 6f 6e 73 | 65 2c 20 74 68 65 20 76 | respons|e, the v|
|000005a0| 61 72 69 61 62 6c 65 20 | 6d 75 73 74 20 62 65 20 |ariable |must be |
|000005b0| 73 65 74 20 74 6f 20 74 | 2e 20 20 49 6e 0a 63 61 |set to t|. In.ca|
|000005c0| 73 65 20 6f 66 20 46 75 | 6a 69 74 73 75 20 55 54 |se of Fu|jitsu UT|
|000005d0| 53 2c 20 69 74 20 69 73 | 20 73 65 74 20 74 6f 20 |S, it is| set to |
|000005e0| 54 20 73 69 6e 63 65 20 | 60 61 63 63 65 70 74 2d |T since |`accept-|
|000005f0| 70 72 6f 63 65 73 73 2d | 6f 75 74 70 75 74 27 0a |process-|output'.|
|00000600| 64 6f 65 73 6e 27 74 20 | 77 6f 72 6b 20 70 72 6f |doesn't |work pro|
|00000610| 70 65 72 6c 79 2e 22 29 | 0a 28 64 65 66 76 61 72 |perly.")|.(defvar|
|00000620| 20 6e 6e 74 70 2d 6d 61 | 78 69 6d 75 6d 2d 72 65 | nntp-ma|ximum-re|
|00000630| 71 75 65 73 74 20 34 30 | 30 20 22 5c 0a 2a 54 68 |quest 40|0 "\.*Th|
|00000640| 65 20 6d 61 78 69 6d 75 | 6d 20 6e 75 6d 62 65 72 |e maximu|m number|
|00000650| 20 6f 66 20 74 68 65 20 | 72 65 71 75 65 73 74 73 | of the |requests|
|00000660| 20 73 65 6e 74 20 74 6f | 20 74 68 65 20 4e 4e 54 | sent to| the NNT|
|00000670| 50 20 73 65 72 76 65 72 | 20 61 74 20 6f 6e 65 20 |P server| at one |
|00000680| 74 69 6d 65 2e 0a 49 66 | 20 45 6d 61 63 73 20 68 |time..If| Emacs h|
|00000690| 61 6e 67 73 20 75 70 20 | 77 68 69 6c 65 20 72 65 |angs up |while re|
|000006a0| 74 72 69 65 76 69 6e 67 | 20 68 65 61 64 65 72 73 |trieving| headers|
|000006b0| 2c 20 73 65 74 20 74 68 | 65 20 76 61 72 69 61 62 |, set th|e variab|
|000006c0| 6c 65 20 74 6f 20 61 0a | 6c 6f 77 65 72 20 76 61 |le to a.|lower va|
|000006d0| 6c 75 65 2e 22 29 0a 28 | 64 65 66 76 61 72 20 6e |lue.").(|defvar n|
|000006e0| 6e 74 70 2d 64 65 62 75 | 67 2d 72 65 61 64 20 31 |ntp-debu|g-read 1|
|000006f0| 30 30 30 30 20 22 5c 0a | 2a 44 69 73 70 6c 61 79 |0000 "\.|*Display|
|00000700| 20 27 2e 2e 2e 27 20 65 | 76 65 72 79 20 31 30 4b | '...' e|very 10K|
|00000710| 62 79 74 65 73 20 6f 66 | 20 61 20 6d 65 73 73 61 |bytes of| a messa|
|00000720| 67 65 20 62 65 69 6e 67 | 20 72 65 63 65 69 76 65 |ge being| receive|
|00000730| 64 20 69 66 20 69 74 20 | 69 73 20 6e 6f 6e 2d 6e |d if it |is non-n|
|00000740| 69 6c 2e 0a 49 66 20 69 | 74 20 69 73 20 61 20 6e |il..If i|t is a n|
|00000750| 75 6d 62 65 72 2c 20 64 | 6f 74 73 20 61 72 65 20 |umber, d|ots are |
|00000760| 64 69 73 70 6c 61 79 65 | 64 20 70 65 72 20 74 68 |displaye|d per th|
|00000770| 65 20 6e 75 6d 62 65 72 | 2e 22 29 0a 28 64 65 66 |e number|.").(def|
|00000780| 63 6f 6e 73 74 20 6e 6e | 74 70 2d 76 65 72 73 69 |const nn|tp-versi|
|00000790| 6f 6e 20 22 4e 4e 54 50 | 20 33 2e 31 32 22 20 22 |on "NNTP| 3.12" "|
|000007a0| 5c 0a 56 65 72 73 69 6f | 6e 20 6e 75 6d 62 65 72 |\.Versio|n number|
|000007b0| 73 20 6f 66 20 74 68 69 | 73 20 76 65 72 73 69 6f |s of thi|s versio|
|000007c0| 6e 20 6f 66 20 4e 4e 54 | 50 2e 22 29 0a 28 64 65 |n of NNT|P.").(de|
|000007d0| 66 76 61 72 20 6e 6e 74 | 70 2d 73 65 72 76 65 72 |fvar nnt|p-server|
|000007e0| 2d 6e 61 6d 65 20 6e 69 | 6c 20 22 5c 0a 54 68 65 |-name ni|l "\.The|
|000007f0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 68 6f 73 | name of| the hos|
|00000800| 74 20 72 75 6e 6e 69 6e | 67 20 4e 4e 54 50 20 73 |t runnin|g NNTP s|
|00000810| 65 72 76 65 72 2e 22 29 | 0a 28 64 65 66 76 61 72 |erver.")|.(defvar|
|00000820| 20 6e 6e 74 70 2d 73 65 | 72 76 65 72 2d 62 75 66 | nntp-se|rver-buf|
|00000830| 66 65 72 20 6e 69 6c 20 | 22 5c 0a 42 75 66 66 65 |fer nil |"\.Buffe|
|00000840| 72 20 61 73 73 6f 63 69 | 61 74 65 64 20 77 69 74 |r associ|ated wit|
|00000850| 68 20 4e 4e 54 50 20 73 | 65 72 76 65 72 20 70 72 |h NNTP s|erver pr|
|00000860| 6f 63 65 73 73 2e 22 29 | 0a 28 64 65 66 76 61 72 |ocess.")|.(defvar|
|00000870| 20 6e 6e 74 70 2d 73 65 | 72 76 65 72 2d 70 72 6f | nntp-se|rver-pro|
|00000880| 63 65 73 73 20 6e 69 6c | 20 22 5c 0a 54 68 65 20 |cess nil| "\.The |
|00000890| 4e 4e 54 50 20 73 65 72 | 76 65 72 20 70 72 6f 63 |NNTP ser|ver proc|
|000008a0| 65 73 73 2e 0a 59 6f 75 | 27 64 20 62 65 74 74 65 |ess..You|'d bette|
|000008b0| 72 20 6e 6f 74 20 75 73 | 65 20 74 68 69 73 20 76 |r not us|e this v|
|000008c0| 61 72 69 61 62 6c 65 20 | 69 6e 20 4e 4e 54 50 20 |ariable |in NNTP |
|000008d0| 66 72 6f 6e 74 2d 65 6e | 64 20 70 72 6f 67 72 61 |front-en|d progra|
|000008e0| 6d 20 62 75 74 0a 69 6e | 73 74 65 61 64 20 75 73 |m but.in|stead us|
|000008f0| 65 20 60 6e 6e 74 70 2d | 73 65 72 76 65 72 2d 62 |e `nntp-|server-b|
|00000900| 75 66 66 65 72 27 2e 22 | 29 0a 28 64 65 66 76 61 |uffer'."|).(defva|
|00000910| 72 20 6e 6e 74 70 2d 73 | 74 61 74 75 73 2d 73 74 |r nntp-s|tatus-st|
|00000920| 72 69 6e 67 20 6e 69 6c | 20 22 5c 0a 53 61 76 65 |ring nil| "\.Save|
|00000930| 20 74 68 65 20 73 65 72 | 76 65 72 20 72 65 73 70 | the ser|ver resp|
|00000940| 6f 6e 73 65 20 6d 65 73 | 73 61 67 65 2e 0a 59 6f |onse mes|sage..Yo|
|00000950| 75 27 64 20 62 65 74 74 | 65 72 20 6e 6f 74 20 75 |u'd bett|er not u|
|00000960| 73 65 20 74 68 69 73 20 | 76 61 72 69 61 62 6c 65 |se this |variable|
|00000970| 20 69 6e 20 4e 4e 54 50 | 20 66 72 6f 6e 74 2d 65 | in NNTP| front-e|
|00000980| 6e 64 20 70 72 6f 67 72 | 61 6d 20 62 75 74 0a 69 |nd progr|am but.i|
|00000990| 6e 73 74 65 61 64 20 63 | 61 6c 6c 20 66 75 6e 63 |nstead c|all func|
|000009a0| 74 69 6f 6e 20 60 6e 6e | 74 70 2d 73 74 61 74 75 |tion `nn|tp-statu|
|000009b0| 73 2d 6d 65 73 73 61 67 | 65 27 20 74 6f 20 67 65 |s-messag|e' to ge|
|000009c0| 74 20 73 74 61 74 75 73 | 20 6d 65 73 73 61 67 65 |t status| message|
|000009d0| 2e 22 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 6e |.").(def|alias 'n|
|000009e0| 6e 74 70 2d 68 65 61 64 | 65 72 2d 6e 75 6d 62 65 |ntp-head|er-numbe|
|000009f0| 72 20 27 28 6d 61 63 72 | 6f 20 2e 20 23 5b 28 68 |r '(macr|o . #[(h|
|00000a00| 65 61 64 65 72 29 20 22 | c0 09 c2 42 42 87 22 20 |eader) "|...BB." |
|00000a10| 5b 61 72 65 66 20 68 65 | 61 64 65 72 20 28 30 29 |[aref he|ader (0)|
|00000a20| 5d 20 33 20 22 5c 0a 52 | 65 74 75 72 6e 20 61 72 |] 3 "\.R|eturn ar|
|00000a30| 74 69 63 6c 65 20 6e 75 | 6d 62 65 72 20 69 6e 20 |ticle nu|mber in |
|00000a40| 48 45 41 44 45 52 2e 22 | 5d 29 29 0a 28 64 65 66 |HEADER."|])).(def|
|00000a50| 61 6c 69 61 73 20 27 6e | 6e 74 70 2d 73 65 74 2d |alias 'n|ntp-set-|
|00000a60| 68 65 61 64 65 72 2d 6e | 75 6d 62 65 72 20 27 28 |header-n|umber '(|
|00000a70| 6d 61 63 72 6f 20 2e 20 | 23 5b 28 68 65 61 64 65 |macro . |#[(heade|
|00000a80| 72 20 6e 75 6d 62 65 72 | 29 20 22 c0 09 c2 0b 46 |r number|) "....F|
|00000a90| 87 22 20 5b 61 73 65 74 | 20 68 65 61 64 65 72 20 |." [aset| header |
|00000aa0| 30 20 6e 75 6d 62 65 72 | 5d 20 34 20 22 5c 0a 53 |0 number|] 4 "\.S|
|00000ab0| 65 74 20 61 72 74 69 63 | 6c 65 20 6e 75 6d 62 65 |et artic|le numbe|
|00000ac0| 72 20 6f 66 20 48 45 41 | 44 45 52 20 74 6f 20 4e |r of HEA|DER to N|
|00000ad0| 55 4d 42 45 52 2e 22 5d | 29 29 0a 28 64 65 66 61 |UMBER."]|)).(defa|
|00000ae0| 6c 69 61 73 20 27 6e 6e | 74 70 2d 68 65 61 64 65 |lias 'nn|tp-heade|
|00000af0| 72 2d 73 75 62 6a 65 63 | 74 20 27 28 6d 61 63 72 |r-subjec|t '(macr|
|00000b00| 6f 20 2e 20 23 5b 28 68 | 65 61 64 65 72 29 20 22 |o . #[(h|eader) "|
|00000b10| c0 09 c2 42 42 87 22 20 | 5b 61 72 65 66 20 68 65 |...BB." |[aref he|
|00000b20| 61 64 65 72 20 28 31 29 | 5d 20 33 20 22 5c 0a 52 |ader (1)|] 3 "\.R|
|00000b30| 65 74 75 72 6e 20 73 75 | 62 6a 65 63 74 20 73 74 |eturn su|bject st|
|00000b40| 72 69 6e 67 20 69 6e 20 | 48 45 41 44 45 52 2e 22 |ring in |HEADER."|
|00000b50| 5d 29 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 6e |])).(def|alias 'n|
|00000b60| 6e 74 70 2d 73 65 74 2d | 68 65 61 64 65 72 2d 73 |ntp-set-|header-s|
|00000b70| 75 62 6a 65 63 74 20 27 | 28 6d 61 63 72 6f 20 2e |ubject '|(macro .|
|00000b80| 20 23 5b 28 68 65 61 64 | 65 72 20 73 75 62 6a 65 | #[(head|er subje|
|00000b90| 63 74 29 20 22 c0 09 c2 | 0b 46 87 22 20 5b 61 73 |ct) "...|.F." [as|
|00000ba0| 65 74 20 68 65 61 64 65 | 72 20 31 20 73 75 62 6a |et heade|r 1 subj|
|00000bb0| 65 63 74 5d 20 34 20 22 | 5c 0a 53 65 74 20 61 72 |ect] 4 "|\.Set ar|
|00000bc0| 74 69 63 6c 65 20 73 75 | 62 6a 65 63 74 20 6f 66 |ticle su|bject of|
|00000bd0| 20 48 45 41 44 45 52 20 | 74 6f 20 53 55 42 4a 45 | HEADER |to SUBJE|
|00000be0| 43 54 2e 22 5d 29 29 0a | 28 64 65 66 61 6c 69 61 |CT."])).|(defalia|
|00000bf0| 73 20 27 6e 6e 74 70 2d | 68 65 61 64 65 72 2d 66 |s 'nntp-|header-f|
|00000c00| 72 6f 6d 20 27 28 6d 61 | 63 72 6f 20 2e 20 23 5b |rom '(ma|cro . #[|
|00000c10| 28 68 65 61 64 65 72 29 | 20 22 c0 09 c2 42 42 87 |(header)| "...BB.|
|00000c20| 22 20 5b 61 72 65 66 20 | 68 65 61 64 65 72 20 28 |" [aref |header (|
|00000c30| 32 29 5d 20 33 20 22 5c | 0a 52 65 74 75 72 6e 20 |2)] 3 "\|.Return |
|00000c40| 61 75 74 68 6f 72 20 73 | 74 72 69 6e 67 20 69 6e |author s|tring in|
|00000c50| 20 48 45 41 44 45 52 2e | 22 5d 29 29 0a 28 64 65 | HEADER.|"])).(de|
|00000c60| 66 61 6c 69 61 73 20 27 | 6e 6e 74 70 2d 73 65 74 |falias '|nntp-set|
|00000c70| 2d 68 65 61 64 65 72 2d | 66 72 6f 6d 20 27 28 6d |-header-|from '(m|
|00000c80| 61 63 72 6f 20 2e 20 23 | 5b 28 68 65 61 64 65 72 |acro . #|[(header|
|00000c90| 20 66 72 6f 6d 29 20 22 | c0 09 c2 0b 46 87 22 20 | from) "|....F." |
|00000ca0| 5b 61 73 65 74 20 68 65 | 61 64 65 72 20 32 20 66 |[aset he|ader 2 f|
|00000cb0| 72 6f 6d 5d 20 34 20 22 | 5c 0a 53 65 74 20 61 72 |rom] 4 "|\.Set ar|
|00000cc0| 74 69 63 6c 65 20 61 75 | 74 68 6f 72 20 6f 66 20 |ticle au|thor of |
|00000cd0| 48 45 41 44 45 52 20 74 | 6f 20 46 52 4f 4d 2e 22 |HEADER t|o FROM."|
|00000ce0| 5d 29 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 6e |])).(def|alias 'n|
|00000cf0| 6e 74 70 2d 68 65 61 64 | 65 72 2d 78 72 65 66 20 |ntp-head|er-xref |
|00000d00| 27 28 6d 61 63 72 6f 20 | 2e 20 23 5b 28 68 65 61 |'(macro |. #[(hea|
|00000d10| 64 65 72 29 20 22 c0 09 | c2 42 42 87 22 20 5b 61 |der) "..|.BB." [a|
|00000d20| 72 65 66 20 68 65 61 64 | 65 72 20 28 33 29 5d 20 |ref head|er (3)] |
|00000d30| 33 20 22 5c 0a 52 65 74 | 75 72 6e 20 78 72 65 66 |3 "\.Ret|urn xref|
|00000d40| 20 73 74 72 69 6e 67 20 | 69 6e 20 48 45 41 44 45 | string |in HEADE|
|00000d50| 52 2e 22 5d 29 29 0a 28 | 64 65 66 61 6c 69 61 73 |R."])).(|defalias|
|00000d60| 20 27 6e 6e 74 70 2d 73 | 65 74 2d 68 65 61 64 65 | 'nntp-s|et-heade|
|00000d70| 72 2d 78 72 65 66 20 27 | 28 6d 61 63 72 6f 20 2e |r-xref '|(macro .|
|00000d80| 20 23 5b 28 68 65 61 64 | 65 72 20 78 72 65 66 29 | #[(head|er xref)|
|00000d90| 20 22 c0 09 c2 0b 46 87 | 22 20 5b 61 73 65 74 20 | "....F.|" [aset |
|00000da0| 68 65 61 64 65 72 20 33 | 20 78 72 65 66 5d 20 34 |header 3| xref] 4|
|00000db0| 20 22 5c 0a 53 65 74 20 | 61 72 74 69 63 6c 65 20 | "\.Set |article |
|00000dc0| 78 72 65 66 20 6f 66 20 | 48 45 41 44 45 52 20 74 |xref of |HEADER t|
|00000dd0| 6f 20 78 72 65 66 2e 22 | 5d 29 29 0a 28 64 65 66 |o xref."|])).(def|
|00000de0| 61 6c 69 61 73 20 27 6e | 6e 74 70 2d 68 65 61 64 |alias 'n|ntp-head|
|00000df0| 65 72 2d 6c 69 6e 65 73 | 20 27 28 6d 61 63 72 6f |er-lines| '(macro|
|00000e00| 20 2e 20 23 5b 28 68 65 | 61 64 65 72 29 20 22 c0 | . #[(he|ader) ".|
|00000e10| 09 c2 42 42 87 22 20 5b | 61 72 65 66 20 68 65 61 |..BB." [|aref hea|
|00000e20| 64 65 72 20 28 34 29 5d | 20 33 20 22 5c 0a 52 65 |der (4)]| 3 "\.Re|
|00000e30| 74 75 72 6e 20 6c 69 6e | 65 73 20 69 6e 20 48 45 |turn lin|es in HE|
|00000e40| 41 44 45 52 2e 22 5d 29 | 29 0a 28 64 65 66 61 6c |ADER."])|).(defal|
|00000e50| 69 61 73 20 27 6e 6e 74 | 70 2d 73 65 74 2d 68 65 |ias 'nnt|p-set-he|
|00000e60| 61 64 65 72 2d 6c 69 6e | 65 73 20 27 28 6d 61 63 |ader-lin|es '(mac|
|00000e70| 72 6f 20 2e 20 23 5b 28 | 68 65 61 64 65 72 20 6c |ro . #[(|header l|
|00000e80| 69 6e 65 73 29 20 22 c0 | 09 c2 0b 46 87 22 20 5b |ines) ".|...F." [|
|00000e90| 61 73 65 74 20 68 65 61 | 64 65 72 20 34 20 6c 69 |aset hea|der 4 li|
|00000ea0| 6e 65 73 5d 20 34 20 22 | 5c 0a 53 65 74 20 61 72 |nes] 4 "|\.Set ar|
|00000eb0| 74 69 63 6c 65 20 6c 69 | 6e 65 73 20 6f 66 20 48 |ticle li|nes of H|
|00000ec0| 45 41 44 45 52 20 74 6f | 20 4c 49 4e 45 53 2e 22 |EADER to| LINES."|
|00000ed0| 5d 29 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 6e |])).(def|alias 'n|
|00000ee0| 6e 74 70 2d 68 65 61 64 | 65 72 2d 64 61 74 65 20 |ntp-head|er-date |
|00000ef0| 27 28 6d 61 63 72 6f 20 | 2e 20 23 5b 28 68 65 61 |'(macro |. #[(hea|
|00000f00| 64 65 72 29 20 22 c0 09 | c2 42 42 87 22 20 5b 61 |der) "..|.BB." [a|
|00000f10| 72 65 66 20 68 65 61 64 | 65 72 20 28 35 29 5d 20 |ref head|er (5)] |
|00000f20| 33 20 22 5c 0a 52 65 74 | 75 72 6e 20 64 61 74 65 |3 "\.Ret|urn date|
|00000f30| 20 69 6e 20 48 45 41 44 | 45 52 2e 22 5d 29 29 0a | in HEAD|ER."])).|
|00000f40| 28 64 65 66 61 6c 69 61 | 73 20 27 6e 6e 74 70 2d |(defalia|s 'nntp-|
|00000f50| 73 65 74 2d 68 65 61 64 | 65 72 2d 64 61 74 65 20 |set-head|er-date |
|00000f60| 27 28 6d 61 63 72 6f 20 | 2e 20 23 5b 28 68 65 61 |'(macro |. #[(hea|
|00000f70| 64 65 72 20 64 61 74 65 | 29 20 22 c0 09 c2 0b 46 |der date|) "....F|
|00000f80| 87 22 20 5b 61 73 65 74 | 20 68 65 61 64 65 72 20 |." [aset| header |
|00000f90| 35 20 64 61 74 65 5d 20 | 34 20 22 5c 0a 53 65 74 |5 date] |4 "\.Set|
|00000fa0| 20 61 72 74 69 63 6c 65 | 20 64 61 74 65 20 6f 66 | article| date of|
|00000fb0| 20 48 45 41 44 45 52 20 | 74 6f 20 44 41 54 45 2e | HEADER |to DATE.|
|00000fc0| 22 5d 29 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |"])).(de|falias '|
|00000fd0| 6e 6e 74 70 2d 68 65 61 | 64 65 72 2d 69 64 20 27 |nntp-hea|der-id '|
|00000fe0| 28 6d 61 63 72 6f 20 2e | 20 23 5b 28 68 65 61 64 |(macro .| #[(head|
|00000ff0| 65 72 29 20 22 c0 09 c2 | 42 42 87 22 20 5b 61 72 |er) "...|BB." [ar|
|00001000| 65 66 20 68 65 61 64 65 | 72 20 28 36 29 5d 20 33 |ef heade|r (6)] 3|
|00001010| 20 22 5c 0a 52 65 74 75 | 72 6e 20 49 64 20 69 6e | "\.Retu|rn Id in|
|00001020| 20 48 45 41 44 45 52 2e | 22 5d 29 29 0a 28 64 65 | HEADER.|"])).(de|
|00001030| 66 61 6c 69 61 73 20 27 | 6e 6e 74 70 2d 73 65 74 |falias '|nntp-set|
|00001040| 2d 68 65 61 64 65 72 2d | 69 64 20 27 28 6d 61 63 |-header-|id '(mac|
|00001050| 72 6f 20 2e 20 23 5b 28 | 68 65 61 64 65 72 20 69 |ro . #[(|header i|
|00001060| 64 29 20 22 c0 09 c2 0b | 46 87 22 20 5b 61 73 65 |d) "....|F." [ase|
|00001070| 74 20 68 65 61 64 65 72 | 20 36 20 69 64 5d 20 34 |t header| 6 id] 4|
|00001080| 20 22 5c 0a 53 65 74 20 | 61 72 74 69 63 6c 65 20 | "\.Set |article |
|00001090| 49 64 20 6f 66 20 48 45 | 41 44 45 52 20 74 6f 20 |Id of HE|ADER to |
|000010a0| 49 44 2e 22 5d 29 29 0a | 28 64 65 66 61 6c 69 61 |ID."])).|(defalia|
|000010b0| 73 20 27 6e 6e 74 70 2d | 68 65 61 64 65 72 2d 72 |s 'nntp-|header-r|
|000010c0| 65 66 65 72 65 6e 63 65 | 73 20 27 28 6d 61 63 72 |eference|s '(macr|
|000010d0| 6f 20 2e 20 23 5b 28 68 | 65 61 64 65 72 29 20 22 |o . #[(h|eader) "|
|000010e0| c0 09 c2 42 42 87 22 20 | 5b 61 72 65 66 20 68 65 |...BB." |[aref he|
|000010f0| 61 64 65 72 20 28 37 29 | 5d 20 33 20 22 5c 0a 52 |ader (7)|] 3 "\.R|
|00001100| 65 74 75 72 6e 20 72 65 | 66 65 72 65 6e 63 65 73 |eturn re|ferences|
|00001110| 20 28 6f 72 20 69 6e 2d | 72 65 70 6c 79 2d 74 6f | (or in-|reply-to|
|00001120| 29 20 69 6e 20 48 45 41 | 44 45 52 2e 22 5d 29 29 |) in HEA|DER."]))|
|00001130| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 6e 6e 74 70 |.(defali|as 'nntp|
|00001140| 2d 73 65 74 2d 68 65 61 | 64 65 72 2d 72 65 66 65 |-set-hea|der-refe|
|00001150| 72 65 6e 63 65 73 20 27 | 28 6d 61 63 72 6f 20 2e |rences '|(macro .|
|00001160| 20 23 5b 28 68 65 61 64 | 65 72 20 72 65 66 29 20 | #[(head|er ref) |
|00001170| 22 c0 09 c2 0b 46 87 22 | 20 5b 61 73 65 74 20 68 |"....F."| [aset h|
|00001180| 65 61 64 65 72 20 37 20 | 72 65 66 5d 20 34 20 22 |eader 7 |ref] 4 "|
|00001190| 5c 0a 53 65 74 20 61 72 | 74 69 63 6c 65 20 72 65 |\.Set ar|ticle re|
|000011a0| 66 65 72 65 6e 63 65 73 | 20 6f 66 20 48 45 41 44 |ferences| of HEAD|
|000011b0| 45 52 20 74 6f 20 52 45 | 46 2e 22 5d 29 29 0a 28 |ER to RE|F."])).(|
|000011c0| 64 65 66 61 6c 69 61 73 | 20 27 6e 6e 74 70 2d 72 |defalias| 'nntp-r|
|000011d0| 65 74 72 69 65 76 65 2d | 68 65 61 64 65 72 73 20 |etrieve-|headers |
|000011e0| 23 5b 28 73 65 71 75 65 | 6e 63 65 29 20 22 8a 08 |#[(seque|nce) "..|
|000011f0| 71 88 c1 20 88 5c 6e 47 | 65 c3 89 c4 c3 c4 89 89 |q.. .\nG|e.......|
|00001200| 89 c3 c4 89 1d 1e 06 1e | 07 1e 08 1e 09 1e 5c 6e |........|......\n|
|00001210| 1e 0b 1e 5c 66 1e 0d 1e | 0e 1e 0f 1e 10 1e 11 5c |...\f...|.......\|
|00001220| 6e 83 98 00 d2 d3 5c 6e | 40 5c 22 88 5c 6e 41 12 |n.....\n|@\".\nA.|
|00001230| 0e 0e 54 16 0e 5c 6e 83 | 4e 00 0e 0e 0e 14 a6 c3 |..T..\n.|N.......|
|00001240| 55 83 2e 00 d5 20 88 0e | 10 62 88 d6 d7 c4 d8 23 |U.... ..|.b.....#|
|00001250| 83 65 00 0e 0f 54 16 0f | 82 55 00 60 16 10 0e 0f |.e...T..|.U.`....|
|00001260| 0e 0e 57 83 2e 00 0e 19 | a7 83 92 00 0e 11 0e 19 |..W.....|........|
|00001270| 56 83 92 00 0e 0f da a6 | c3 55 83 92 00 db dc 0e |V.......|.U......|
|00001280| 0f dd 5f 0e 11 a5 5c 22 | 88 de 20 88 82 51 00 64 |.._...\"|.. ..Q.d|
|00001290| 62 88 df d7 c4 d8 23 88 | e0 e1 21 83 b8 00 64 e2 |b.....#.|..!...d.|
|000012a0| 5a 62 88 e0 e3 21 84 b8 | 00 de 20 88 82 a7 00 0e |Zb...!..|.. .....|
|000012b0| 19 a7 83 ca 00 0e 11 0e | 19 56 83 ca 00 db e4 21 |........|.V.....!|
|000012c0| 88 0e 11 16 0f 65 62 88 | d6 e5 c4 d8 23 83 e2 00 |.....eb.|....#...|
|000012d0| e6 e7 d8 89 23 88 82 d1 | 00 0e 19 a7 83 f4 00 0e |....#...|........|
|000012e0| 11 0e 19 56 83 f4 00 db | e8 21 88 65 62 88 6d 84 |...V....|.!.eb.m.|
|000012f0| 13 02 e0 e9 21 83 e6 01 | ea eb 94 eb 95 7b 21 16 |....!...|.....{!.|
|00001300| 5c 66 ec 94 ec 95 7b 16 | 5c 6e eb 79 88 c4 16 0b |\f....{.|\n.y....|
|00001310| c4 16 08 c4 16 09 c3 16 | 07 c4 16 06 c4 15 6d 84 |........|......m.|
|00001320| b2 01 67 ed 3e 84 b2 01 | e0 ee 21 83 ac 01 ec 94 |..g.>...|..!.....|
|00001330| ec 95 7b c3 94 66 1e 2f | 1e 30 f1 0e 2f f2 5c 22 |..{..f./|.0../.\"|
|00001340| 83 50 01 0e 30 16 09 82 | ab 01 f1 0e 2f f3 5c 22 |.P..0...|..../.\"|
|00001350| 83 5f 01 0e 30 16 0b 82 | ab 01 f1 0e 2f f4 5c 22 |._..0...|..../.\"|
|00001360| 83 6e 01 0e 30 16 06 82 | ab 01 f1 0e 2f f5 5c 22 |.n..0...|..../.\"|
|00001370| 83 7f 01 ea 0e 30 21 16 | 07 82 ab 01 f1 0e 2f f6 |.....0!.|....../.|
|00001380| 5c 22 83 8e 01 0e 30 16 | 08 82 ab 01 f1 0e 2f f7 |\"....0.|....../.|
|00001390| 5c 22 83 9c 01 0e 30 15 | 82 ab 01 f1 0e 2f f8 5c |\"....0.|...../.\|
|000013a0| 22 83 ab 01 0d 84 ab 01 | 0e 30 15 2a eb 79 88 82 |".......|.0.*.y..|
|000013b0| 25 01 0e 0b 84 ba 01 f9 | 16 0b 0e 09 84 c2 01 fa |%.......|........|
|000013c0| 16 09 0e 5c 66 83 e9 01 | 0e 5c 6e 83 e9 01 fb 0e |...\f...|.\n.....|
|000013d0| 5c 66 0e 0b 0e 09 0e 08 | 0e 07 0e 06 0e 5c 6e 0d |\f......|.....\n.|
|000013e0| 26 08 0e 0d 42 16 0d 82 | e9 01 eb 79 88 0e 0f 53 |&...B...|...y...S|
|000013f0| 16 0f 0e 19 a7 83 f7 00 | 0e 11 0e 19 56 83 f7 00 |........|....V...|
|00001400| 0e 0f da a6 c3 55 83 f7 | 00 db fc 0e 0f dd 5f 0e |.....U..|......_.|
|00001410| 11 a5 5c 22 88 82 f7 00 | 0e 19 a7 83 25 02 0e 11 |..\"....|....%...|
|00001420| 0e 19 56 83 25 02 db fd | 21 88 0e 0d 9f 2e 0e 87 |..V.%...|!.......|
|00001430| 22 20 5b 6e 6e 74 70 2d | 73 65 72 76 65 72 2d 62 |" [nntp-|server-b|
|00001440| 75 66 66 65 72 20 65 72 | 61 73 65 2d 62 75 66 66 |uffer er|ase-buff|
|00001450| 65 72 20 73 65 71 75 65 | 6e 63 65 20 30 20 6e 69 |er seque|nce 0 ni|
|00001460| 6c 20 72 65 66 65 72 65 | 6e 63 65 73 20 64 61 74 |l refere|nces dat|
|00001470| 65 20 6c 69 6e 65 73 20 | 78 72 65 66 20 66 72 6f |e lines |xref fro|
|00001480| 6d 20 6d 65 73 73 61 67 | 65 2d 69 64 20 73 75 62 |m messag|e-id sub|
|00001490| 6a 65 63 74 20 61 72 74 | 69 63 6c 65 20 68 65 61 |ject art|icle hea|
|000014a0| 64 65 72 73 20 63 6f 75 | 6e 74 20 72 65 63 65 69 |ders cou|nt recei|
|000014b0| 76 65 64 20 6c 61 73 74 | 2d 70 6f 69 6e 74 20 6e |ved last|-point n|
|000014c0| 75 6d 62 65 72 20 6e 6e | 74 70 2d 73 65 6e 64 2d |umber nn|tp-send-|
|000014d0| 73 74 72 69 6e 67 73 2d | 74 6f 2d 73 65 72 76 65 |strings-|to-serve|
|000014e0| 72 20 22 48 45 41 44 22 | 20 6e 6e 74 70 2d 6d 61 |r "HEAD"| nntp-ma|
|000014f0| 78 69 6d 75 6d 2d 72 65 | 71 75 65 73 74 20 61 63 |ximum-re|quest ac|
|00001500| 63 65 70 74 2d 70 72 6f | 63 65 73 73 2d 6f 75 74 |cept-pro|cess-out|
|00001510| 70 75 74 20 72 65 2d 73 | 65 61 72 63 68 2d 66 6f |put re-s|earch-fo|
|00001520| 72 77 61 72 64 20 22 5e | 5b 30 2d 39 5d 22 20 74 |rward "^|[0-9]" t|
|00001530| 20 6e 6e 74 70 2d 6c 61 | 72 67 65 2d 6e 65 77 73 | nntp-la|rge-news|
|00001540| 67 72 6f 75 70 20 32 30 | 20 6d 65 73 73 61 67 65 |group 20| message|
|00001550| 20 22 4e 4e 54 50 3a 20 | 52 65 63 65 69 76 69 6e | "NNTP: |Receivin|
|00001560| 67 20 68 65 61 64 65 72 | 73 2e 2e 2e 20 25 64 25 |g header|s... %d%|
|00001570| 25 22 20 31 30 30 20 6e | 6e 74 70 2d 61 63 63 65 |%" 100 n|ntp-acce|
|00001580| 70 74 2d 72 65 73 70 6f | 6e 73 65 20 72 65 2d 73 |pt-respo|nse re-s|
|00001590| 65 61 72 63 68 2d 62 61 | 63 6b 77 61 72 64 20 6c |earch-ba|ckward l|
|000015a0| 6f 6f 6b 69 6e 67 2d 61 | 74 20 22 5e 5b 32 33 5d |ooking-a|t "^[23]|
|000015b0| 22 20 33 20 22 5e 5c 5c | 2e 0d 24 22 20 22 4e 4e |" 3 "^\\|..$" "NN|
|000015c0| 54 50 3a 20 52 65 63 65 | 69 76 69 6e 67 20 68 65 |TP: Rece|iving he|
|000015d0| 61 64 65 72 73 2e 2e 2e | 20 64 6f 6e 65 22 20 22 |aders...| done" "|
|000015e0| 5c 5c 28 0d 3f 5c 6e 5b | 20 09 5d 2b 5c 5c 29 2b |\\(.?\n[| .]+\\)+|
|000015f0| 22 20 72 65 70 6c 61 63 | 65 2d 6d 61 74 63 68 20 |" replac|e-match |
|00001600| 22 20 22 20 22 4e 4e 54 | 50 3a 20 50 61 72 73 69 |" " "NNT|P: Parsi|
|00001610| 6e 67 20 68 65 61 64 65 | 72 73 2e 2e 2e 22 20 22 |ng heade|rs..." "|
|00001620| 5e 5b 32 33 5d 5b 30 2d | 39 5d 5b 30 2d 39 5d 5b |^[23][0-|9][0-9][|
|00001630| 20 09 5d 2b 5c 5c 28 5b | 30 2d 39 5d 2b 5c 5c 29 | .]+\\([|0-9]+\\)|
|00001640| 5b 20 09 5d 2b 5c 5c 28 | 3c 5b 5e 3e 5d 2b 3e 5c |[ .]+\\(|<[^>]+>\|
|00001650| 5c 29 22 20 73 74 72 69 | 6e 67 2d 74 6f 2d 69 6e |\)" stri|ng-to-in|
|00001660| 74 20 31 20 32 20 28 35 | 30 20 35 31 29 20 22 5c |t 1 2 (5|0 51) "\|
|00001670| 5c 28 46 72 6f 6d 5c 5c | 7c 53 75 62 6a 65 63 74 |\(From\\||Subject|
|00001680| 5c 5c 7c 44 61 74 65 5c | 5c 7c 4c 69 6e 65 73 5c |\\|Date\|\|Lines\|
|00001690| 5c 7c 58 72 65 66 5c 5c | 7c 52 65 66 65 72 65 6e |\|Xref\\||Referen|
|000016a0| 63 65 73 5c 5c 7c 49 6e | 2d 52 65 70 6c 79 2d 54 |ces\\|In|-Reply-T|
|000016b0| 6f 5c 5c 29 3a 5b 20 09 | 5d 2b 5c 5c 28 5b 5e 20 |o\\):[ .|]+\\([^ |
|000016c0| 09 5c 6e 5d 2b 2e 2a 5c | 5c 29 0d 24 22 20 63 20 |.\n]+.*\|\).$" c |
|000016d0| 73 20 63 68 61 72 2d 65 | 71 75 61 6c 20 37 30 20 |s char-e|qual 70 |
|000016e0| 38 33 20 36 38 20 37 36 | 20 38 38 20 38 32 20 37 |83 68 76| 88 82 7|
|000016f0| 33 20 22 28 4e 6f 6e 65 | 29 22 20 22 28 55 6e 6b |3 "(None|)" "(Unk|
|00001700| 6e 6f 77 6e 20 55 73 65 | 72 29 22 20 76 65 63 74 |nown Use|r)" vect|
|00001710| 6f 72 20 22 4e 4e 54 50 | 3a 20 50 61 72 73 69 6e |or "NNTP|: Parsin|
|00001720| 67 20 68 65 61 64 65 72 | 73 2e 2e 2e 20 25 64 25 |g header|s... %d%|
|00001730| 25 22 20 22 4e 4e 54 50 | 3a 20 50 61 72 73 69 6e |%" "NNTP|: Parsin|
|00001740| 67 20 68 65 61 64 65 72 | 73 2e 2e 2e 20 64 6f 6e |g header|s... don|
|00001750| 65 22 5d 20 31 33 20 22 | 5c 0a 52 65 74 75 72 6e |e"] 13 "|\.Return|
|00001760| 20 6c 69 73 74 20 6f 66 | 20 61 72 74 69 63 6c 65 | list of| article|
|00001770| 20 68 65 61 64 65 72 73 | 20 73 70 65 63 69 66 69 | headers| specifi|
|00001780| 65 64 20 62 79 20 53 45 | 51 55 45 4e 43 45 20 6f |ed by SE|QUENCE o|
|00001790| 66 20 61 72 74 69 63 6c | 65 20 69 64 2e 0a 54 68 |f articl|e id..Th|
|000017a0| 65 20 66 6f 72 6d 61 74 | 20 6f 66 20 6c 69 73 74 |e format| of list|
|000017b0| 20 69 73 0a 20 60 28 5b | 4e 55 4d 42 45 52 20 53 | is. `([|NUMBER S|
|000017c0| 55 42 4a 45 43 54 20 46 | 52 4f 4d 20 58 52 45 46 |UBJECT F|ROM XREF|
|000017d0| 20 4c 49 4e 45 53 20 44 | 41 54 45 20 4d 45 53 53 | LINES D|ATE MESS|
|000017e0| 41 47 45 2d 49 44 20 52 | 45 46 45 52 45 4e 43 45 |AGE-ID R|EFERENCE|
|000017f0| 53 5d 20 2e 2e 2e 29 27 | 2e 0a 49 66 20 74 68 65 |S] ...)'|..If the|
|00001800| 72 65 20 69 73 20 6e 6f | 20 52 65 66 65 72 65 6e |re is no| Referen|
|00001810| 63 65 73 3a 20 66 69 65 | 6c 64 2c 20 49 6e 2d 52 |ces: fie|ld, In-R|
|00001820| 65 70 6c 79 2d 54 6f 3a | 20 66 69 65 6c 64 20 69 |eply-To:| field i|
|00001830| 73 20 75 73 65 64 20 69 | 6e 73 74 65 61 64 2e 0a |s used i|nstead..|
|00001840| 52 65 61 64 65 72 20 6d | 61 63 72 6f 73 20 66 6f |Reader m|acros fo|
|00001850| 72 20 74 68 65 20 76 65 | 63 74 6f 72 20 61 72 65 |r the ve|ctor are|
|00001860| 20 64 65 66 69 6e 65 64 | 20 61 73 20 60 6e 6e 74 | defined| as `nnt|
|00001870| 70 2d 68 65 61 64 65 72 | 2d 46 49 45 4c 44 27 2e |p-header|-FIELD'.|
|00001880| 0a 57 72 69 74 65 72 20 | 6d 61 63 72 6f 73 20 66 |.Writer |macros f|
|00001890| 6f 72 20 74 68 65 20 76 | 65 63 74 6f 72 20 61 72 |or the v|ector ar|
|000018a0| 65 20 64 65 66 69 6e 65 | 64 20 61 73 20 60 6e 6e |e define|d as `nn|
|000018b0| 74 70 2d 73 65 74 2d 68 | 65 61 64 65 72 2d 46 49 |tp-set-h|eader-FI|
|000018c0| 45 4c 44 27 2e 0a 4e 65 | 77 73 67 72 6f 75 70 20 |ELD'..Ne|wsgroup |
|000018d0| 6d 75 73 74 20 62 65 20 | 73 65 6c 65 63 74 65 64 |must be |selected|
|000018e0| 20 62 65 66 6f 72 65 20 | 63 61 6c 6c 69 6e 67 20 | before |calling |
|000018f0| 74 68 69 73 2e 22 5d 29 | 0a 28 64 65 66 61 6c 69 |this."])|.(defali|
|00001900| 61 73 20 27 6e 6e 74 70 | 2d 6f 70 65 6e 2d 73 65 |as 'nntp|-open-se|
|00001910| 72 76 65 72 20 23 5b 28 | 68 6f 73 74 20 26 6f 70 |rver #[(|host &op|
|00001920| 74 69 6f 6e 61 6c 20 73 | 65 72 76 69 63 65 29 20 |tional s|ervice) |
|00001930| 22 08 86 07 00 c1 c2 21 | c3 1c 18 c5 16 06 08 83 |"......!|........|
|00001940| 30 00 c7 08 0e 08 5c 22 | 83 30 00 c9 ca 21 89 14 |0.....\"|.0...!..|
|00001950| 83 2a 00 cb 0e 5c 66 cd | 5c 22 88 82 37 00 ce 20 |.*...\f.|\"..7.. |
|00001960| 88 82 37 00 08 84 37 00 | cf 16 06 5c 66 2a 87 22 |..7...7.|...\f*."|
|00001970| 20 5b 68 6f 73 74 20 67 | 65 74 65 6e 76 20 22 4e | [host g|etenv "N|
|00001980| 4e 54 50 53 45 52 56 45 | 52 22 20 6e 69 6c 20 73 |NTPSERVE|R" nil s|
|00001990| 74 61 74 75 73 20 22 22 | 20 6e 6e 74 70 2d 73 74 |tatus ""| nntp-st|
|000019a0| 61 74 75 73 2d 73 74 72 | 69 6e 67 20 6e 6e 74 70 |atus-str|ing nntp|
|000019b0| 2d 6f 70 65 6e 2d 73 65 | 72 76 65 72 2d 69 6e 74 |-open-se|rver-int|
|000019c0| 65 72 6e 61 6c 20 73 65 | 72 76 69 63 65 20 6e 6e |ernal se|rvice nn|
|000019d0| 74 70 2d 77 61 69 74 2d | 66 6f 72 2d 72 65 73 70 |tp-wait-|for-resp|
|000019e0| 6f 6e 73 65 20 22 5e 5b | 32 33 5d 2e 2a 0d 24 22 |onse "^[|23].*.$"|
|000019f0| 20 73 65 74 2d 70 72 6f | 63 65 73 73 2d 73 65 6e | set-pro|cess-sen|
|00001a00| 74 69 6e 65 6c 20 6e 6e | 74 70 2d 73 65 72 76 65 |tinel nn|tp-serve|
|00001a10| 72 2d 70 72 6f 63 65 73 | 73 20 6e 6e 74 70 2d 64 |r-proces|s nntp-d|
|00001a20| 65 66 61 75 6c 74 2d 73 | 65 6e 74 69 6e 65 6c 20 |efault-s|entinel |
|00001a30| 6e 6e 74 70 2d 63 6c 6f | 73 65 2d 73 65 72 76 65 |nntp-clo|se-serve|
|00001a40| 72 2d 69 6e 74 65 72 6e | 61 6c 20 22 4e 4e 54 50 |r-intern|al "NNTP|
|00001a50| 20 73 65 72 76 65 72 20 | 69 73 20 6e 6f 74 20 73 | server |is not s|
|00001a60| 70 65 63 69 66 69 65 64 | 2e 22 5d 20 34 20 22 5c |pecified|."] 4 "\|
|00001a70| 0a 4f 70 65 6e 20 6e 65 | 77 73 20 73 65 72 76 65 |.Open ne|ws serve|
|00001a80| 72 20 6f 6e 20 48 4f 53 | 54 2e 0a 49 66 20 48 4f |r on HOS|T..If HO|
|00001a90| 53 54 20 69 73 20 6e 69 | 6c 2c 20 75 73 65 20 76 |ST is ni|l, use v|
|00001aa0| 61 6c 75 65 20 6f 66 20 | 65 6e 76 69 72 6f 6e 6d |alue of |environm|
|00001ab0| 65 6e 74 20 76 61 72 69 | 61 62 6c 65 20 60 4e 4e |ent vari|able `NN|
|00001ac0| 54 50 53 45 52 56 45 52 | 27 2e 0a 49 66 20 6f 70 |TPSERVER|'..If op|
|00001ad0| 74 69 6f 6e 61 6c 20 61 | 72 67 75 6d 65 6e 74 20 |tional a|rgument |
|00001ae0| 53 45 52 56 49 43 45 20 | 69 73 20 6e 6f 6e 2d 6e |SERVICE |is non-n|
|00001af0| 69 6c 2c 20 6f 70 65 6e | 20 62 79 20 74 68 65 20 |il, open| by the |
|00001b00| 73 65 72 76 69 63 65 20 | 6e 61 6d 65 2e 22 5d 29 |service |name."])|
|00001b10| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 6e 6e 74 70 |.(defali|as 'nntp|
|00001b20| 2d 63 6c 6f 73 65 2d 73 | 65 72 76 65 72 20 23 5b |-close-s|erver #[|
|00001b30| 6e 69 6c 20 22 c0 8e 09 | 83 13 00 c2 c3 09 21 3d |nil "...|......!=|
|00001b40| 83 13 00 c4 09 c5 5c 22 | 88 c6 20 85 1c 00 c7 c5 |......\"|.. .....|
|00001b50| c8 5c 22 29 87 22 20 5b | 28 28 6e 6e 74 70 2d 63 |.\")." [|((nntp-c|
|00001b60| 6c 6f 73 65 2d 73 65 72 | 76 65 72 2d 69 6e 74 65 |lose-ser|ver-inte|
|00001b70| 72 6e 61 6c 29 29 20 6e | 6e 74 70 2d 73 65 72 76 |rnal)) n|ntp-serv|
|00001b80| 65 72 2d 70 72 6f 63 65 | 73 73 20 6e 6e 74 70 2d |er-proce|ss nntp-|
|00001b90| 64 65 66 61 75 6c 74 2d | 73 65 6e 74 69 6e 65 6c |default-|sentinel|
|00001ba0| 20 70 72 6f 63 65 73 73 | 2d 73 65 6e 74 69 6e 65 | process|-sentine|
|00001bb0| 6c 20 73 65 74 2d 70 72 | 6f 63 65 73 73 2d 73 65 |l set-pr|ocess-se|
|00001bc0| 6e 74 69 6e 65 6c 20 6e | 69 6c 20 6e 6e 74 70 2d |ntinel n|il nntp-|
|00001bd0| 73 65 72 76 65 72 2d 6f | 70 65 6e 65 64 20 6e 6e |server-o|pened nn|
|00001be0| 74 70 2d 73 65 6e 64 2d | 63 6f 6d 6d 61 6e 64 20 |tp-send-|command |
|00001bf0| 22 51 55 49 54 22 5d 20 | 33 20 22 5c 0a 43 6c 6f |"QUIT"] |3 "\.Clo|
|00001c00| 73 65 20 6e 65 77 73 20 | 73 65 72 76 65 72 2e 22 |se news |server."|
|00001c10| 5d 29 0a 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |]).(byte|-code ".|
|00001c20| c1 4b 4d 87 22 20 5b 6e | 6e 74 70 2d 72 65 71 75 |.KM." [n|ntp-requ|
|00001c30| 65 73 74 2d 71 75 69 74 | 20 6e 6e 74 70 2d 63 6c |est-quit| nntp-cl|
|00001c40| 6f 73 65 2d 73 65 72 76 | 65 72 5d 20 32 29 0a 28 |ose-serv|er] 2).(|
|00001c50| 64 65 66 61 6c 69 61 73 | 20 27 6e 6e 74 70 2d 73 |defalias| 'nntp-s|
|00001c60| 65 72 76 65 72 2d 6f 70 | 65 6e 65 64 20 23 5b 6e |erver-op|ened #[n|
|00001c70| 69 6c 20 22 08 85 09 00 | c1 08 21 c2 3e 87 22 20 |il "....|..!.>." |
|00001c80| 5b 6e 6e 74 70 2d 73 65 | 72 76 65 72 2d 70 72 6f |[nntp-se|rver-pro|
|00001c90| 63 65 73 73 20 70 72 6f | 63 65 73 73 2d 73 74 61 |cess pro|cess-sta|
|00001ca0| 74 75 73 20 28 6f 70 65 | 6e 20 72 75 6e 29 5d 20 |tus (ope|n run)] |
|00001cb0| 32 20 22 5c 0a 52 65 74 | 75 72 6e 20 73 65 72 76 |2 "\.Ret|urn serv|
|00001cc0| 65 72 20 70 72 6f 63 65 | 73 73 20 73 74 61 74 75 |er proce|ss statu|
|00001cd0| 73 2c 20 54 20 6f 72 20 | 4e 49 4c 2e 0a 49 66 20 |s, T or |NIL..If |
|00001ce0| 74 68 65 20 73 74 72 65 | 61 6d 20 69 73 20 6f 70 |the stre|am is op|
|00001cf0| 65 6e 65 64 2c 20 72 65 | 74 75 72 6e 20 54 2c 20 |ened, re|turn T, |
|00001d00| 6f 74 68 65 72 77 69 73 | 65 20 72 65 74 75 72 6e |otherwis|e return|
|00001d10| 20 4e 49 4c 2e 22 5d 29 | 0a 28 64 65 66 61 6c 69 | NIL."])|.(defali|
|00001d20| 61 73 20 27 6e 6e 74 70 | 2d 73 74 61 74 75 73 2d |as 'nntp|-status-|
|00001d30| 6d 65 73 73 61 67 65 20 | 23 5b 6e 69 6c 20 22 08 |message |#[nil ".|
|00001d40| 83 12 00 c1 c2 08 5c 22 | 83 12 00 08 c3 94 c3 95 |......\"|........|
|00001d50| 4f 87 c4 87 22 20 5b 6e | 6e 74 70 2d 73 74 61 74 |O..." [n|ntp-stat|
|00001d60| 75 73 2d 73 74 72 69 6e | 67 20 73 74 72 69 6e 67 |us-strin|g string|
|00001d70| 2d 6d 61 74 63 68 20 22 | 5b 30 2d 39 5d 5b 30 2d |-match "|[0-9][0-|
|00001d80| 39 5d 5b 30 2d 39 5d 5b | 20 09 5d 2b 5c 5c 28 5b |9][0-9][| .]+\\([|
|00001d90| 5e 0d 5d 2a 5c 5c 29 2e | 2a 24 22 20 31 20 22 22 |^.]*\\).|*$" 1 ""|
|00001da0| 5d 20 33 20 22 5c 0a 52 | 65 74 75 72 6e 20 73 65 |] 3 "\.R|eturn se|
|00001db0| 72 76 65 72 20 73 74 61 | 74 75 73 20 72 65 73 70 |rver sta|tus resp|
|00001dc0| 6f 6e 73 65 20 61 73 20 | 73 74 72 69 6e 67 2e 22 |onse as |string."|
|00001dd0| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 6e 6e |]).(defa|lias 'nn|
|00001de0| 74 70 2d 72 65 71 75 65 | 73 74 2d 61 72 74 69 63 |tp-reque|st-artic|
|00001df0| 6c 65 20 23 5b 28 69 64 | 29 20 22 c0 c1 c2 0b 23 |le #[(id|) "....#|
|00001e00| c4 20 88 87 22 20 5b 6e | 6e 74 70 2d 73 65 6e 64 |. .." [n|ntp-send|
|00001e10| 2d 63 6f 6d 6d 61 6e 64 | 20 22 5e 5c 5c 2e 0d 24 |-command| "^\\..$|
|00001e20| 22 20 22 41 52 54 49 43 | 4c 45 22 20 69 64 20 6e |" "ARTIC|LE" id n|
|00001e30| 6e 74 70 2d 64 65 63 6f | 64 65 2d 74 65 78 74 5d |ntp-deco|de-text]|
|00001e40| 20 34 20 22 5c 0a 53 65 | 6c 65 63 74 20 61 72 74 | 4 "\.Se|lect art|
|00001e50| 69 63 6c 65 20 62 79 20 | 6d 65 73 73 61 67 65 20 |icle by |message |
|00001e60| 49 44 20 28 6f 72 20 6e | 75 6d 62 65 72 29 2e 22 |ID (or n|umber)."|
|00001e70| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 6e 6e |]).(defa|lias 'nn|
|00001e80| 74 70 2d 72 65 71 75 65 | 73 74 2d 62 6f 64 79 20 |tp-reque|st-body |
|00001e90| 23 5b 28 69 64 29 20 22 | c0 c1 c2 0b 23 c4 20 88 |#[(id) "|....#. .|
|00001ea0| 87 22 20 5b 6e 6e 74 70 | 2d 73 65 6e 64 2d 63 6f |." [nntp|-send-co|
|00001eb0| 6d 6d 61 6e 64 20 22 5e | 5c 5c 2e 0d 24 22 20 22 |mmand "^|\\..$" "|
|00001ec0| 42 4f 44 59 22 20 69 64 | 20 6e 6e 74 70 2d 64 65 |BODY" id| nntp-de|
|00001ed0| 63 6f 64 65 2d 74 65 78 | 74 5d 20 34 20 22 5c 0a |code-tex|t] 4 "\.|
|00001ee0| 53 65 6c 65 63 74 20 61 | 72 74 69 63 6c 65 20 62 |Select a|rticle b|
|00001ef0| 6f 64 79 20 62 79 20 6d | 65 73 73 61 67 65 20 49 |ody by m|essage I|
|00001f00| 44 20 28 6f 72 20 6e 75 | 6d 62 65 72 29 2e 22 5d |D (or nu|mber)."]|
|00001f10| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 6e 6e 74 |).(defal|ias 'nnt|
|00001f20| 70 2d 72 65 71 75 65 73 | 74 2d 68 65 61 64 20 23 |p-reques|t-head #|
|00001f30| 5b 28 69 64 29 20 22 c0 | c1 c2 0b 23 c4 20 88 87 |[(id) ".|...#. ..|
|00001f40| 22 20 5b 6e 6e 74 70 2d | 73 65 6e 64 2d 63 6f 6d |" [nntp-|send-com|
|00001f50| 6d 61 6e 64 20 22 5e 5c | 5c 2e 0d 24 22 20 22 48 |mand "^\|\..$" "H|
|00001f60| 45 41 44 22 20 69 64 20 | 6e 6e 74 70 2d 64 65 63 |EAD" id |nntp-dec|
|00001f70| 6f 64 65 2d 74 65 78 74 | 5d 20 34 20 22 5c 0a 53 |ode-text|] 4 "\.S|
|00001f80| 65 6c 65 63 74 20 61 72 | 74 69 63 6c 65 20 68 65 |elect ar|ticle he|
|00001f90| 61 64 20 62 79 20 6d 65 | 73 73 61 67 65 20 49 44 |ad by me|ssage ID|
|00001fa0| 20 28 6f 72 20 6e 75 6d | 62 65 72 29 2e 22 5d 29 | (or num|ber)."])|
|00001fb0| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 6e 6e 74 70 |.(defali|as 'nntp|
|00001fc0| 2d 72 65 71 75 65 73 74 | 2d 73 74 61 74 20 23 5b |-request|-stat #[|
|00001fd0| 28 69 64 29 20 22 c0 c1 | c2 0b 23 87 22 20 5b 6e |(id) "..|..#." [n|
|00001fe0| 6e 74 70 2d 73 65 6e 64 | 2d 63 6f 6d 6d 61 6e 64 |ntp-send|-command|
|00001ff0| 20 22 5e 5b 32 33 5d 2e | 2a 0d 24 22 20 22 53 54 | "^[23].|*.$" "ST|
|00002000| 41 54 22 20 69 64 5d 20 | 34 20 22 5c 0a 53 65 6c |AT" id] |4 "\.Sel|
|00002010| 65 63 74 20 61 72 74 69 | 63 6c 65 20 62 79 20 6d |ect arti|cle by m|
|00002020| 65 73 73 61 67 65 20 49 | 44 20 28 6f 72 20 6e 75 |essage I|D (or nu|
|00002030| 6d 62 65 72 29 2e 22 5d | 29 0a 28 64 65 66 61 6c |mber)."]|).(defal|
|00002040| 69 61 73 20 27 6e 6e 74 | 70 2d 72 65 71 75 65 73 |ias 'nnt|p-reques|
|00002050| 74 2d 67 72 6f 75 70 20 | 23 5b 28 67 72 6f 75 70 |t-group |#[(group|
|00002060| 29 20 22 c0 c1 c2 0b 23 | 87 22 20 5b 6e 6e 74 70 |) "....#|." [nntp|
|00002070| 2d 73 65 6e 64 2d 63 6f | 6d 6d 61 6e 64 20 22 5e |-send-co|mmand "^|
|00002080| 5b 32 33 5d 2e 2a 24 22 | 20 22 47 52 4f 55 50 22 |[23].*$"| "GROUP"|
|00002090| 20 67 72 6f 75 70 5d 20 | 34 20 22 5c 0a 53 65 6c | group] |4 "\.Sel|
|000020a0| 65 63 74 20 6e 65 77 73 | 20 47 52 4f 55 50 2e 22 |ect news| GROUP."|
|000020b0| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 6e 6e |]).(defa|lias 'nn|
|000020c0| 74 70 2d 72 65 71 75 65 | 73 74 2d 6c 69 73 74 20 |tp-reque|st-list |
|000020d0| 23 5b 6e 69 6c 20 22 c0 | c1 c2 5c 22 c3 20 88 87 |#[nil ".|..\". ..|
|000020e0| 22 20 5b 6e 6e 74 70 2d | 73 65 6e 64 2d 63 6f 6d |" [nntp-|send-com|
|000020f0| 6d 61 6e 64 20 22 5e 5c | 5c 2e 0d 24 22 20 22 4c |mand "^\|\..$" "L|
|00002100| 49 53 54 22 20 6e 6e 74 | 70 2d 64 65 63 6f 64 65 |IST" nnt|p-decode|
|00002110| 2d 74 65 78 74 5d 20 33 | 20 22 5c 0a 4c 69 73 74 |-text] 3| "\.List|
|00002120| 20 61 63 74 69 76 65 20 | 6e 65 77 73 67 72 6f 75 | active |newsgrou|
|00002130| 70 73 2e 22 5d 29 0a 28 | 64 65 66 61 6c 69 61 73 |ps."]).(|defalias|
|00002140| 20 27 6e 6e 74 70 2d 72 | 65 71 75 65 73 74 2d 6c | 'nntp-r|equest-l|
|00002150| 69 73 74 2d 6e 65 77 73 | 67 72 6f 75 70 73 20 23 |ist-news|groups #|
|00002160| 5b 6e 69 6c 20 22 c0 c1 | c2 5c 22 c3 20 88 87 22 |[nil "..|.\". .."|
|00002170| 20 5b 6e 6e 74 70 2d 73 | 65 6e 64 2d 63 6f 6d 6d | [nntp-s|end-comm|
|00002180| 61 6e 64 20 22 5e 5c 5c | 2e 0d 24 22 20 22 4c 49 |and "^\\|..$" "LI|
|00002190| 53 54 20 4e 45 57 53 47 | 52 4f 55 50 53 22 20 6e |ST NEWSG|ROUPS" n|
|000021a0| 6e 74 70 2d 64 65 63 6f | 64 65 2d 74 65 78 74 5d |ntp-deco|de-text]|
|000021b0| 20 33 20 22 5c 0a 4c 69 | 73 74 20 6e 65 77 73 67 | 3 "\.Li|st newsg|
|000021c0| 72 6f 75 70 73 20 28 64 | 65 66 69 6e 65 64 20 69 |roups (d|efined i|
|000021d0| 6e 20 4e 4e 54 50 32 29 | 2e 22 5d 29 0a 28 64 65 |n NNTP2)|."]).(de|
|000021e0| 66 61 6c 69 61 73 20 27 | 6e 6e 74 70 2d 72 65 71 |falias '|nntp-req|
|000021f0| 75 65 73 74 2d 6c 69 73 | 74 2d 64 69 73 74 72 69 |uest-lis|t-distri|
|00002200| 62 75 74 69 6f 6e 73 20 | 23 5b 6e 69 6c 20 22 c0 |butions |#[nil ".|
|00002210| c1 c2 5c 22 c3 20 88 87 | 22 20 5b 6e 6e 74 70 2d |..\". ..|" [nntp-|
|00002220| 73 65 6e 64 2d 63 6f 6d | 6d 61 6e 64 20 22 5e 5c |send-com|mand "^\|
|00002230| 5c 2e 0d 24 22 20 22 4c | 49 53 54 20 44 49 53 54 |\..$" "L|IST DIST|
|00002240| 52 49 42 55 54 49 4f 4e | 53 22 20 6e 6e 74 70 2d |RIBUTION|S" nntp-|
|00002250| 64 65 63 6f 64 65 2d 74 | 65 78 74 5d 20 33 20 22 |decode-t|ext] 3 "|
|00002260| 5c 0a 4c 69 73 74 20 64 | 69 73 74 72 69 62 75 74 |\.List d|istribut|
|00002270| 69 6f 6e 73 20 28 64 65 | 66 69 6e 65 64 20 69 6e |ions (de|fined in|
|00002280| 20 4e 4e 54 50 32 29 2e | 22 5d 29 0a 28 64 65 66 | NNTP2).|"]).(def|
|00002290| 61 6c 69 61 73 20 27 6e | 6e 74 70 2d 72 65 71 75 |alias 'n|ntp-requ|
|000022a0| 65 73 74 2d 6c 61 73 74 | 20 23 5b 6e 69 6c 20 22 |est-last| #[nil "|
|000022b0| c0 c1 c2 5c 22 87 22 20 | 5b 6e 6e 74 70 2d 73 65 |...\"." |[nntp-se|
|000022c0| 6e 64 2d 63 6f 6d 6d 61 | 6e 64 20 22 5e 5b 32 33 |nd-comma|nd "^[23|
|000022d0| 5d 2e 2a 0d 24 22 20 22 | 4c 41 53 54 22 5d 20 33 |].*.$" "|LAST"] 3|
|000022e0| 20 22 5c 0a 53 65 74 20 | 63 75 72 72 65 6e 74 20 | "\.Set |current |
|000022f0| 61 72 74 69 63 6c 65 20 | 70 6f 69 6e 74 65 72 20 |article |pointer |
|00002300| 74 6f 20 74 68 65 20 70 | 72 65 76 69 6f 75 73 20 |to the p|revious |
|00002310| 61 72 74 69 63 6c 65 0a | 69 6e 20 74 68 65 20 63 |article.|in the c|
|00002320| 75 72 72 65 6e 74 20 6e | 65 77 73 20 67 72 6f 75 |urrent n|ews grou|
|00002330| 70 2e 22 5d 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |p."]).(d|efalias |
|00002340| 27 6e 6e 74 70 2d 72 65 | 71 75 65 73 74 2d 6e 65 |'nntp-re|quest-ne|
|00002350| 78 74 20 23 5b 6e 69 6c | 20 22 c0 c1 c2 5c 22 87 |xt #[nil| "...\".|
|00002360| 22 20 5b 6e 6e 74 70 2d | 73 65 6e 64 2d 63 6f 6d |" [nntp-|send-com|
|00002370| 6d 61 6e 64 20 22 5e 5b | 32 33 5d 2e 2a 0d 24 22 |mand "^[|23].*.$"|
|00002380| 20 22 4e 45 58 54 22 5d | 20 33 20 22 5c 0a 41 64 | "NEXT"]| 3 "\.Ad|
|00002390| 76 61 6e 63 65 20 63 75 | 72 72 65 6e 74 20 61 72 |vance cu|rrent ar|
|000023a0| 74 69 63 6c 65 20 70 6f | 69 6e 74 65 72 2e 22 5d |ticle po|inter."]|
|000023b0| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 6e 6e 74 |).(defal|ias 'nnt|
|000023c0| 70 2d 72 65 71 75 65 73 | 74 2d 70 6f 73 74 20 23 |p-reques|t-post #|
|000023d0| 5b 6e 69 6c 20 22 c0 c1 | c2 5c 22 85 12 00 c3 20 |[nil "..|.\".... |
|000023e0| 88 c4 65 64 5c 22 88 c5 | c6 21 87 22 20 5b 6e 6e |..ed\"..|.!." [nn|
|000023f0| 74 70 2d 73 65 6e 64 2d | 63 6f 6d 6d 61 6e 64 20 |tp-send-|command |
|00002400| 22 5e 5b 32 33 5d 2e 2a | 0d 24 22 20 22 50 4f 53 |"^[23].*|.$" "POS|
|00002410| 54 22 20 6e 6e 74 70 2d | 65 6e 63 6f 64 65 2d 74 |T" nntp-|encode-t|
|00002420| 65 78 74 20 6e 6e 74 70 | 2d 73 65 6e 64 2d 72 65 |ext nntp|-send-re|
|00002430| 67 69 6f 6e 2d 74 6f 2d | 73 65 72 76 65 72 20 6e |gion-to-|server n|
|00002440| 6e 74 70 2d 77 61 69 74 | 2d 66 6f 72 2d 72 65 73 |ntp-wait|-for-res|
|00002450| 70 6f 6e 73 65 20 22 5e | 5b 32 33 5d 2e 2a 24 22 |ponse "^|[23].*$"|
|00002460| 5d 20 33 20 22 5c 0a 50 | 6f 73 74 20 61 20 6e 65 |] 3 "\.P|ost a ne|
|00002470| 77 20 6e 65 77 73 20 69 | 6e 20 63 75 72 72 65 6e |w news i|n curren|
|00002480| 74 20 62 75 66 66 65 72 | 2e 22 5d 29 0a 28 64 65 |t buffer|."]).(de|
|00002490| 66 61 6c 69 61 73 20 27 | 6e 6e 74 70 2d 64 65 66 |falias '|nntp-def|
|000024a0| 61 75 6c 74 2d 73 65 6e | 74 69 6e 65 6c 20 23 5b |ault-sen|tinel #[|
|000024b0| 28 70 72 6f 63 20 73 74 | 61 74 75 73 29 20 22 08 |(proc st|atus) ".|
|000024c0| 85 0d 00 c1 20 3f 85 0d | 00 c2 c3 21 87 22 20 5b |.... ?..|...!." [|
|000024d0| 6e 6e 74 70 2d 73 65 72 | 76 65 72 2d 70 72 6f 63 |nntp-ser|ver-proc|
|000024e0| 65 73 73 20 6e 6e 74 70 | 2d 73 65 72 76 65 72 2d |ess nntp|-server-|
|000024f0| 6f 70 65 6e 65 64 20 65 | 72 72 6f 72 20 22 4e 4e |opened e|rror "NN|
|00002500| 54 50 3a 20 43 6f 6e 6e | 65 63 74 69 6f 6e 20 63 |TP: Conn|ection c|
|00002510| 6c 6f 73 65 64 2e 22 5d | 20 32 20 22 5c 0a 44 65 |losed."]| 2 "\.De|
|00002520| 66 61 75 6c 74 20 73 65 | 6e 74 69 6e 65 6c 20 66 |fault se|ntinel f|
|00002530| 75 6e 63 74 69 6f 6e 20 | 66 6f 72 20 4e 4e 54 50 |unction |for NNTP|
|00002540| 20 73 65 72 76 65 72 20 | 70 72 6f 63 65 73 73 2e | server |process.|
|00002550| 22 5d 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 6e |"]).(def|alias 'n|
|00002560| 6e 74 70 2d 64 65 63 6f | 64 65 2d 74 65 78 74 20 |ntp-deco|de-text |
|00002570| 23 5b 6e 69 6c 20 22 8a | 08 71 88 64 62 88 6e 84 |#[nil ".|.q.db.n.|
|00002580| 0e 00 c1 63 88 65 62 88 | 60 c2 79 88 60 7c 88 6d |...c.eb.|`.y.`|.m|
|00002590| 84 2f 00 c3 7f 88 68 c4 | 55 83 29 00 c5 c6 21 88 |./....h.|U.)...!.|
|000025a0| c2 79 88 82 18 00 64 62 | 88 c6 79 88 c7 c8 21 83 |.y....db|..y...!.|
|000025b0| 42 00 60 c2 79 88 60 7c | 88 65 62 88 c9 ca c3 cb |B.`.y.`||.eb.....|
|000025c0| 23 85 54 00 c5 c6 21 88 | 82 45 00 29 87 22 20 5b |#.T...!.|.E.)." [|
|000025d0| 6e 6e 74 70 2d 73 65 72 | 76 65 72 2d 62 75 66 66 |nntp-ser|ver-buff|
|000025e0| 65 72 20 22 5c 6e 22 20 | 31 20 6e 69 6c 20 31 33 |er "\n" |1 nil 13|
|000025f0| 20 64 65 6c 65 74 65 2d | 63 68 61 72 20 2d 31 20 | delete-|char -1 |
|00002600| 6c 6f 6f 6b 69 6e 67 2d | 61 74 20 22 5e 5c 5c 2e |looking-|at "^\\.|
|00002610| 24 22 20 73 65 61 72 63 | 68 2d 66 6f 72 77 61 72 |$" searc|h-forwar|
|00002620| 64 20 22 5c 6e 2e 2e 22 | 20 74 5d 20 34 20 22 5c |d "\n.."| t] 4 "\|
|00002630| 0a 44 65 63 6f 64 65 20 | 74 65 78 74 20 74 72 61 |.Decode |text tra|
|00002640| 6e 73 6d 69 74 74 65 64 | 20 62 79 20 4e 4e 54 50 |nsmitted| by NNTP|
|00002650| 2e 0a 30 2e 20 44 65 6c | 65 74 65 20 73 74 61 74 |..0. Del|ete stat|
|00002660| 75 73 20 6c 69 6e 65 2e | 0a 31 2e 20 44 65 6c 65 |us line.|.1. Dele|
|00002670| 74 65 20 60 5e 4d 27 20 | 61 74 20 65 6e 64 20 6f |te `^M' |at end o|
|00002680| 66 20 6c 69 6e 65 2e 0a | 32 2e 20 44 65 6c 65 74 |f line..|2. Delet|
|00002690| 65 20 60 2e 27 20 61 74 | 20 65 6e 64 20 6f 66 20 |e `.' at| end of |
|000026a0| 62 75 66 66 65 72 20 28 | 65 6e 64 20 6f 66 20 74 |buffer (|end of t|
|000026b0| 65 78 74 20 6d 61 72 6b | 29 2e 0a 33 2e 20 44 65 |ext mark|)..3. De|
|000026c0| 6c 65 74 65 20 60 2e 27 | 20 61 74 20 62 65 67 69 |lete `.'| at begi|
|000026d0| 6e 6e 69 6e 67 20 6f 66 | 20 6c 69 6e 65 2e 22 5d |nning of| line."]|
|000026e0| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 6e 6e 74 |).(defal|ias 'nnt|
|000026f0| 70 2d 65 6e 63 6f 64 65 | 2d 74 65 78 74 20 23 5b |p-encode|-text #[|
|00002700| 6e 69 6c 20 22 8a 64 62 | 88 6e 84 0b 00 c0 63 88 |nil ".db|.n....c.|
|00002710| 65 62 88 c1 c2 c3 c4 23 | 83 1c 00 c5 63 88 82 0e |eb.....#|....c...|
|00002720| 00 64 62 88 c6 63 29 87 | 22 20 5b 22 5c 6e 22 20 |.db..c).|" ["\n" |
|00002730| 73 65 61 72 63 68 2d 66 | 6f 72 77 61 72 64 20 22 |search-f|orward "|
|00002740| 5c 6e 2e 22 20 6e 69 6c | 20 74 20 22 2e 22 20 22 |\n." nil| t "." "|
|00002750| 2e 0d 5c 6e 22 5d 20 34 | 20 22 5c 0a 45 6e 63 6f |..\n"] 4| "\.Enco|
|00002760| 64 65 20 74 65 78 74 20 | 69 6e 20 63 75 72 72 65 |de text |in curre|
|00002770| 6e 74 20 62 75 66 66 65 | 72 20 66 6f 72 20 4e 4e |nt buffe|r for NN|
|00002780| 54 50 20 74 72 61 6e 73 | 6d 69 73 73 69 6f 6e 2e |TP trans|mission.|
|00002790| 0a 31 2e 20 49 6e 73 65 | 72 74 20 60 2e 27 20 61 |.1. Inse|rt `.' a|
|000027a0| 74 20 62 65 67 69 6e 6e | 69 6e 67 20 6f 66 20 6c |t beginn|ing of l|
|000027b0| 69 6e 65 2e 0a 32 2e 20 | 49 6e 73 65 72 74 20 60 |ine..2. |Insert `|
|000027c0| 2e 27 20 61 74 20 65 6e | 64 20 6f 66 20 62 75 66 |.' at en|d of buf|
|000027d0| 66 65 72 20 28 65 6e 64 | 20 6f 66 20 74 65 78 74 |fer (end| of text|
|000027e0| 20 6d 61 72 6b 29 2e 22 | 5d 29 0a 28 64 65 66 61 | mark)."|]).(defa|
|000027f0| 6c 69 61 73 20 27 6e 6e | 74 70 2d 73 65 6e 64 2d |lias 'nn|tp-send-|
|00002800| 63 6f 6d 6d 61 6e 64 20 | 23 5b 28 72 65 73 70 6f |command |#[(respo|
|00002810| 6e 73 65 20 63 6d 64 20 | 26 72 65 73 74 20 61 72 |nse cmd |&rest ar|
|00002820| 67 73 29 20 22 8a 08 71 | 88 c1 20 88 c2 c3 5c 66 |gs) "..q|.. ...\f|
|00002830| 0d 23 88 0e 06 83 19 00 | c7 0e 06 21 82 1a 00 c8 |.#......|...!....|
|00002840| 29 87 22 20 5b 6e 6e 74 | 70 2d 73 65 72 76 65 72 |)." [nnt|p-server|
|00002850| 2d 62 75 66 66 65 72 20 | 65 72 61 73 65 2d 62 75 |-buffer |erase-bu|
|00002860| 66 66 65 72 20 61 70 70 | 6c 79 20 6e 6e 74 70 2d |ffer app|ly nntp-|
|00002870| 73 65 6e 64 2d 73 74 72 | 69 6e 67 73 2d 74 6f 2d |send-str|ings-to-|
|00002880| 73 65 72 76 65 72 20 63 | 6d 64 20 61 72 67 73 20 |server c|md args |
|00002890| 72 65 73 70 6f 6e 73 65 | 20 6e 6e 74 70 2d 77 61 |response| nntp-wa|
|000028a0| 69 74 2d 66 6f 72 2d 72 | 65 73 70 6f 6e 73 65 20 |it-for-r|esponse |
|000028b0| 74 5d 20 34 20 22 5c 0a | 57 61 69 74 20 66 6f 72 |t] 4 "\.|Wait for|
|000028c0| 20 73 65 72 76 65 72 20 | 52 45 53 50 4f 4e 53 45 | server |RESPONSE|
|000028d0| 20 61 66 74 65 72 20 73 | 65 6e 64 69 6e 67 20 43 | after s|ending C|
|000028e0| 4d 44 20 61 6e 64 20 6f | 70 74 69 6f 6e 61 6c 20 |MD and o|ptional |
|000028f0| 41 52 47 53 20 74 6f 20 | 73 65 72 76 65 72 2e 22 |ARGS to |server."|
|00002900| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 6e 6e |]).(defa|lias 'nn|
|00002910| 74 70 2d 77 61 69 74 2d | 66 6f 72 2d 72 65 73 70 |tp-wait-|for-resp|
|00002920| 6f 6e 73 65 20 23 5b 28 | 72 65 67 65 78 70 29 20 |onse #[(|regexp) |
|00002930| 22 8a c0 89 c1 5c 6e a7 | 83 0d 00 5c 6e 82 0e 00 |"....\n.|...\n...|
|00002940| c3 1c 1d 1e 06 1e 07 0e | 08 71 88 c9 20 88 0e 06 |........|.q.. ...|
|00002950| 83 46 00 65 62 88 ca cb | 21 83 30 00 cc 89 16 06 |.F.eb...|!.0.....|
|00002960| 82 1d 00 ca cd 21 83 40 | 00 cc 16 07 cc 89 16 06 |.....!.@|........|
|00002970| 82 1d 00 c9 20 88 82 1b | 00 cc 7f 88 65 60 7b 16 |.... ...|....e`{.|
|00002980| 0e 0e 07 85 a1 00 c0 16 | 06 0e 06 83 92 00 64 62 |........|......db|
|00002990| 88 cf 79 88 ca 0e 10 21 | 83 6f 00 cc 89 16 06 82 |..y....!|.o......|
|000029a0| 58 00 5c 6e 83 8c 00 d1 | 20 5c 66 a5 1e 12 0d 0e |X.\n....| \f.....|
|000029b0| 12 55 84 8b 00 0e 12 15 | d3 d4 d5 0d d6 5c 22 5c |.U......|.....\"\|
|000029c0| 22 88 29 c9 20 88 82 56 | 00 5c 6e 83 a0 00 0d c1 |".). ..V|.\n.....|
|000029d0| 56 83 a0 00 d3 d7 21 88 | c0 2d 87 22 20 5b 74 20 |V.....!.|.-." [t |
|000029e0| 30 20 6e 6e 74 70 2d 64 | 65 62 75 67 2d 72 65 61 |0 nntp-d|ebug-rea|
|000029f0| 64 20 31 30 30 30 30 20 | 64 6f 74 73 69 7a 65 20 |d 10000 |dotsize |
|00002a00| 64 6f 74 6e 75 6d 20 77 | 61 69 74 20 73 74 61 74 |dotnum w|ait stat|
|00002a10| 75 73 20 6e 6e 74 70 2d | 73 65 72 76 65 72 2d 62 |us nntp-|server-b|
|00002a20| 75 66 66 65 72 20 6e 6e | 74 70 2d 61 63 63 65 70 |uffer nn|tp-accep|
|00002a30| 74 2d 72 65 73 70 6f 6e | 73 65 20 6c 6f 6f 6b 69 |t-respon|se looki|
|00002a40| 6e 67 2d 61 74 20 22 5b | 32 33 5d 22 20 6e 69 6c |ng-at "[|23]" nil|
|00002a50| 20 22 5b 34 35 5d 22 20 | 6e 6e 74 70 2d 73 74 61 | "[45]" |nntp-sta|
|00002a60| 74 75 73 2d 73 74 72 69 | 6e 67 20 2d 31 20 72 65 |tus-stri|ng -1 re|
|00002a70| 67 65 78 70 20 62 75 66 | 66 65 72 2d 73 69 7a 65 |gexp buf|fer-size|
|00002a80| 20 6e 65 77 6e 75 6d 20 | 6d 65 73 73 61 67 65 20 | newnum |message |
|00002a90| 22 4e 4e 54 50 3a 20 52 | 65 61 64 69 6e 67 20 25 |"NNTP: R|eading %|
|00002aa0| 73 22 20 6d 61 6b 65 2d | 73 74 72 69 6e 67 20 34 |s" make-|string 4|
|00002ab0| 36 20 22 22 5d 20 36 20 | 22 5c 0a 57 61 69 74 20 |6 ""] 6 |"\.Wait |
|00002ac0| 66 6f 72 20 73 65 72 76 | 65 72 20 72 65 73 70 6f |for serv|er respo|
|00002ad0| 6e 73 65 20 77 68 69 63 | 68 20 6d 61 74 63 68 65 |nse whic|h matche|
|00002ae0| 73 20 52 45 47 45 58 50 | 2e 22 5d 29 0a 28 64 65 |s REGEXP|."]).(de|
|00002af0| 66 61 6c 69 61 73 20 27 | 6e 6e 74 70 2d 73 65 6e |falias '|nntp-sen|
|00002b00| 64 2d 73 74 72 69 6e 67 | 73 2d 74 6f 2d 73 65 72 |d-string|s-to-ser|
|00002b10| 76 65 72 20 23 5b 28 26 | 72 65 73 74 20 73 74 72 |ver #[(&|rest str|
|00002b20| 69 6e 67 73 29 20 22 08 | 40 08 41 18 19 08 83 17 |ings) ".|@.A.....|
|00002b30| 00 09 c2 08 40 51 11 08 | 41 89 10 84 5c 6e 00 c3 |....@Q..|A...\n..|
|00002b40| 5c 66 09 c5 50 5c 22 2a | 87 22 20 5b 73 74 72 69 |\f..P\"*|." [stri|
|00002b50| 6e 67 73 20 63 6d 64 20 | 22 20 22 20 70 72 6f 63 |ngs cmd |" " proc|
|00002b60| 65 73 73 2d 73 65 6e 64 | 2d 73 74 72 69 6e 67 20 |ess-send|-string |
|00002b70| 6e 6e 74 70 2d 73 65 72 | 76 65 72 2d 70 72 6f 63 |nntp-ser|ver-proc|
|00002b80| 65 73 73 20 22 0d 5c 6e | 22 5d 20 35 20 22 5c 0a |ess ".\n|"] 5 "\.|
|00002b90| 53 65 6e 64 20 6c 69 73 | 74 20 6f 66 20 53 54 52 |Send lis|t of STR|
|00002ba0| 49 4e 47 53 20 74 6f 20 | 6e 65 77 73 20 73 65 72 |INGS to |news ser|
|00002bb0| 76 65 72 20 61 73 20 63 | 6f 6d 6d 61 6e 64 20 61 |ver as c|ommand a|
|00002bc0| 6e 64 20 69 74 73 20 61 | 72 67 75 6d 65 6e 74 73 |nd its a|rguments|
|00002bd0| 2e 22 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |."]).(de|falias '|
|00002be0| 6e 6e 74 70 2d 73 65 6e | 64 2d 72 65 67 69 6f 6e |nntp-sen|d-region|
|00002bf0| 2d 74 6f 2d 73 65 72 76 | 65 72 20 23 5b 28 62 65 |-to-serv|er #[(be|
|00002c00| 67 69 6e 20 65 6e 64 29 | 20 22 8a c0 09 5c 6e 0b |gin end)| "...\n.|
|00002c10| 23 88 09 71 88 65 12 64 | 13 c4 c5 1e 06 1e 07 8c |#..q.e.d|........|
|00002c20| 5c 6e 0b 7d 88 5c 6e 62 | 88 6d 84 46 00 8a 0b 60 |\n.}.\nb|.m.F...`|
|00002c30| 0e 06 5c 5c 5e 62 88 6d | 84 30 00 c8 75 88 60 29 |..\\^b.m|.0..u.`)|
|00002c40| 16 07 c9 0e 5c 6e 60 0e | 07 23 88 cb 20 88 0e 07 |....\n`.|.#.. ...|
|00002c50| 62 88 82 1c 00 2b 5c 6e | 0b 7c 29 87 22 20 5b 63 |b....+\n|.|)." [c|
|00002c60| 6f 70 79 2d 74 6f 2d 62 | 75 66 66 65 72 20 6e 6e |opy-to-b|uffer nn|
|00002c70| 74 70 2d 73 65 72 76 65 | 72 2d 62 75 66 66 65 72 |tp-serve|r-buffer|
|00002c80| 20 62 65 67 69 6e 20 65 | 6e 64 20 6e 69 6c 20 31 | begin e|nd nil 1|
|00002c90| 30 30 20 73 69 7a 65 20 | 6c 61 73 74 20 31 20 70 |00 size |last 1 p|
|00002ca0| 72 6f 63 65 73 73 2d 73 | 65 6e 64 2d 72 65 67 69 |rocess-s|end-regi|
|00002cb0| 6f 6e 20 6e 6e 74 70 2d | 73 65 72 76 65 72 2d 70 |on nntp-|server-p|
|00002cc0| 72 6f 63 65 73 73 20 61 | 63 63 65 70 74 2d 70 72 |rocess a|ccept-pr|
|00002cd0| 6f 63 65 73 73 2d 6f 75 | 74 70 75 74 5d 20 34 20 |ocess-ou|tput] 4 |
|00002ce0| 22 5c 0a 53 65 6e 64 20 | 63 75 72 72 65 6e 74 20 |"\.Send |current |
|00002cf0| 62 75 66 66 65 72 20 72 | 65 67 69 6f 6e 20 28 66 |buffer r|egion (f|
|00002d00| 72 6f 6d 20 42 45 47 49 | 4e 20 74 6f 20 45 4e 44 |rom BEGI|N to END|
|00002d10| 29 20 74 6f 20 6e 65 77 | 73 20 73 65 72 76 65 72 |) to new|s server|
|00002d20| 2e 22 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |."]).(de|falias '|
|00002d30| 6e 6e 74 70 2d 6f 70 65 | 6e 2d 73 65 72 76 65 72 |nntp-ope|n-server|
|00002d40| 2d 69 6e 74 65 72 6e 61 | 6c 20 23 5b 28 68 6f 73 |-interna|l #[(hos|
|00002d50| 74 20 26 6f 70 74 69 6f | 6e 61 6c 20 73 65 72 76 |t &optio|nal serv|
|00002d60| 69 63 65 29 20 22 8a c0 | c1 21 84 0b 00 c2 c3 21 |ice) "..|.!.....!|
|00002d70| 88 c4 c5 21 89 16 06 71 | 88 c7 70 21 88 c8 20 88 |...!...q|..p!.. .|
|00002d80| c9 20 88 ca 16 0b c1 cc | 70 0e 0d 0e 0e 86 2b 00 |. ......|p.....+.|
|00002d90| cf 24 16 10 0e 0d 16 11 | d2 d3 21 88 0e 10 29 87 |.$......|..!...).|
|00002da0| 22 20 5b 66 62 6f 75 6e | 64 70 20 6f 70 65 6e 2d |" [fboun|dp open-|
|00002db0| 6e 65 74 77 6f 72 6b 2d | 73 74 72 65 61 6d 20 72 |network-|stream r|
|00002dc0| 65 71 75 69 72 65 20 74 | 63 70 20 67 65 74 2d 62 |equire t|cp get-b|
|00002dd0| 75 66 66 65 72 2d 63 72 | 65 61 74 65 20 22 20 2a |uffer-cr|eate " *|
|00002de0| 6e 6e 74 70 64 2a 22 20 | 6e 6e 74 70 2d 73 65 72 |nntpd*" |nntp-ser|
|00002df0| 76 65 72 2d 62 75 66 66 | 65 72 20 62 75 66 66 65 |ver-buff|er buffe|
|00002e00| 72 2d 66 6c 75 73 68 2d | 75 6e 64 6f 20 65 72 61 |r-flush-|undo era|
|00002e10| 73 65 2d 62 75 66 66 65 | 72 20 6b 69 6c 6c 2d 61 |se-buffe|r kill-a|
|00002e20| 6c 6c 2d 6c 6f 63 61 6c | 2d 76 61 72 69 61 62 6c |ll-local|-variabl|
|00002e30| 65 73 20 74 20 63 61 73 | 65 2d 66 6f 6c 64 2d 73 |es t cas|e-fold-s|
|00002e40| 65 61 72 63 68 20 22 6e | 6e 74 70 64 22 20 68 6f |earch "n|ntpd" ho|
|00002e50| 73 74 20 73 65 72 76 69 | 63 65 20 22 6e 6e 74 70 |st servi|ce "nntp|
|00002e60| 22 20 6e 6e 74 70 2d 73 | 65 72 76 65 72 2d 70 72 |" nntp-s|erver-pr|
|00002e70| 6f 63 65 73 73 20 6e 6e | 74 70 2d 73 65 72 76 65 |ocess nn|tp-serve|
|00002e80| 72 2d 6e 61 6d 65 20 72 | 75 6e 2d 68 6f 6f 6b 73 |r-name r|un-hooks|
|00002e90| 20 6e 6e 74 70 2d 73 65 | 72 76 65 72 2d 68 6f 6f | nntp-se|rver-hoo|
|00002ea0| 6b 5d 20 36 20 22 5c 0a | 4f 70 65 6e 20 63 6f 6e |k] 6 "\.|Open con|
|00002eb0| 6e 65 63 74 69 6f 6e 20 | 74 6f 20 6e 65 77 73 20 |nection |to news |
|00002ec0| 73 65 72 76 65 72 20 6f | 6e 20 48 4f 53 54 20 62 |server o|n HOST b|
|00002ed0| 79 20 53 45 52 56 49 43 | 45 20 28 64 65 66 61 75 |y SERVIC|E (defau|
|00002ee0| 6c 74 20 69 73 20 6e 6e | 74 70 29 2e 22 5d 29 0a |lt is nn|tp)."]).|
|00002ef0| 28 64 65 66 61 6c 69 61 | 73 20 27 6e 6e 74 70 2d |(defalia|s 'nntp-|
|00002f00| 63 6c 6f 73 65 2d 73 65 | 72 76 65 72 2d 69 6e 74 |close-se|rver-int|
|00002f10| 65 72 6e 61 6c 20 23 5b | 6e 69 6c 20 22 08 83 08 |ernal #[|nil "...|
|00002f20| 00 c1 08 21 88 5c 6e 83 | 10 00 c3 5c 6e 21 88 c4 |...!.\n.|...\n!..|
|00002f30| 12 c4 89 10 87 22 20 5b | 6e 6e 74 70 2d 73 65 72 |....." [|nntp-ser|
|00002f40| 76 65 72 2d 70 72 6f 63 | 65 73 73 20 64 65 6c 65 |ver-proc|ess dele|
|00002f50| 74 65 2d 70 72 6f 63 65 | 73 73 20 6e 6e 74 70 2d |te-proce|ss nntp-|
|00002f60| 73 65 72 76 65 72 2d 62 | 75 66 66 65 72 20 6b 69 |server-b|uffer ki|
|00002f70| 6c 6c 2d 62 75 66 66 65 | 72 20 6e 69 6c 5d 20 32 |ll-buffe|r nil] 2|
|00002f80| 20 22 5c 0a 43 6c 6f 73 | 65 20 63 6f 6e 6e 65 63 | "\.Clos|e connec|
|00002f90| 74 69 6f 6e 20 74 6f 20 | 6e 65 77 73 20 73 65 72 |tion to |news ser|
|00002fa0| 76 65 72 2e 22 5d 29 0a | 28 64 65 66 61 6c 69 61 |ver."]).|(defalia|
|00002fb0| 73 20 27 6e 6e 74 70 2d | 61 63 63 65 70 74 2d 72 |s 'nntp-|accept-r|
|00002fc0| 65 73 70 6f 6e 73 65 20 | 23 5b 6e 69 6c 20 22 c0 |esponse |#[nil ".|
|00002fd0| 09 21 c2 3e 84 5c 66 00 | c3 c4 21 88 0d 83 1c 00 |.!.>.\f.|..!.....|
|00002fe0| c6 c7 21 88 c8 c9 21 88 | c6 ca 21 87 cb cc cd 8f |..!...!.|..!.....|
|00002ff0| 87 22 20 5b 70 72 6f 63 | 65 73 73 2d 73 74 61 74 |." [proc|ess-stat|
|00003000| 75 73 20 6e 6e 74 70 2d | 73 65 72 76 65 72 2d 70 |us nntp-|server-p|
|00003010| 72 6f 63 65 73 73 20 28 | 6f 70 65 6e 20 72 75 6e |rocess (|open run|
|00003020| 29 20 65 72 72 6f 72 20 | 22 4e 4e 54 50 3a 20 43 |) error |"NNTP: C|
|00003030| 6f 6e 6e 65 63 74 69 6f | 6e 20 63 6c 6f 73 65 64 |onnectio|n closed|
|00003040| 2e 22 20 6e 6e 74 70 2d | 62 75 67 67 79 2d 73 65 |." nntp-|buggy-se|
|00003050| 6c 65 63 74 20 6d 65 73 | 73 61 67 65 20 22 4e 4e |lect mes|sage "NN|
|00003060| 54 50 3a 20 52 65 61 64 | 69 6e 67 2e 2e 2e 22 20 |TP: Read|ing..." |
|00003070| 73 6c 65 65 70 2d 66 6f | 72 20 31 20 22 22 20 65 |sleep-fo|r 1 "" e|
|00003080| 72 72 6f 72 63 6f 64 65 | 20 28 61 63 63 65 70 74 |rrorcode| (accept|
|00003090| 2d 70 72 6f 63 65 73 73 | 2d 6f 75 74 70 75 74 20 |-process|-output |
|000030a0| 6e 6e 74 70 2d 73 65 72 | 76 65 72 2d 70 72 6f 63 |nntp-ser|ver-proc|
|000030b0| 65 73 73 29 20 28 28 65 | 72 72 6f 72 20 28 62 79 |ess) ((e|rror (by|
|000030c0| 74 65 2d 63 6f 64 65 20 | 22 08 41 40 c1 98 83 5c |te-code |".A@...\|
|000030d0| 6e 00 c2 87 c3 08 40 08 | 41 5c 22 87 22 20 5b 65 |n.....@.|A\"." [e|
|000030e0| 72 72 6f 72 63 6f 64 65 | 20 22 73 65 6c 65 63 74 |rrorcode| "select|
|000030f0| 20 65 72 72 6f 72 3a 20 | 49 6e 76 61 6c 69 64 20 | error: |Invalid |
|00003100| 61 72 67 75 6d 65 6e 74 | 22 20 6e 69 6c 20 73 69 |argument|" nil si|
|00003110| 67 6e 61 6c 5d 20 33 29 | 29 29 5d 20 33 20 22 5c |gnal] 3)|))] 3 "\|
|00003120| 0a 52 65 61 64 20 72 65 | 73 70 6f 6e 73 65 20 6f |.Read re|sponse o|
|00003130| 66 20 73 65 72 76 65 72 | 2e 0a 49 74 20 69 73 20 |f server|..It is |
|00003140| 77 65 6c 6c 2d 6b 6e 6f | 77 6e 20 74 68 61 74 20 |well-kno|wn that |
|00003150| 74 68 65 20 63 6f 6d 6d | 75 6e 69 63 61 74 69 6f |the comm|unicatio|
|00003160| 6e 20 73 70 65 65 64 20 | 77 69 6c 6c 20 62 65 20 |n speed |will be |
|00003170| 6d 75 63 68 20 69 6d 70 | 72 6f 76 65 64 20 62 79 |much imp|roved by|
|00003180| 0a 64 65 66 69 6e 69 6e | 67 20 74 68 69 73 20 66 |.definin|g this f|
|00003190| 75 6e 63 74 69 6f 6e 20 | 61 73 20 6d 61 63 72 6f |unction |as macro|
|000031a0| 2e 22 5d 29 0a 28 70 72 | 6f 76 69 64 65 20 28 71 |."]).(pr|ovide (q|
|000031b0| 75 6f 74 65 20 6e 6e 74 | 70 29 29 0a |uote nnt|p)). |
+--------+-------------------------+-------------------------+--------+--------+