home *** CD-ROM | disk | FTP | other *** search
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was processed as: SHell self-extracting ARchive
(archive/shar).
You can browse this item here: 20
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news or mail, ASCII text
| default
| |
100%
| TrID
| E-Mail message (Var. 2)
| 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| 46 72 6f 6d 3a 20 53 74 | 75 61 72 74 2e 4c 79 6e |From: St|uart.Lyn|
|00000010| 6e 65 40 76 61 6e 2d 62 | 63 2e 55 55 43 50 20 28 |ne@van-b|c.UUCP (|
|00000020| 53 74 75 61 72 74 20 4c | 79 6e 6e 65 29 0a 4e 65 |Stuart L|ynne).Ne|
|00000030| 77 73 67 72 6f 75 70 73 | 3a 20 63 6f 6d 70 2e 73 |wsgroups|: comp.s|
|00000040| 6f 75 72 63 65 73 2e 6d | 69 73 63 0a 53 75 62 6a |ources.m|isc.Subj|
|00000050| 65 63 74 3a 20 75 75 70 | 63 2e 72 65 61 64 2e 38 |ect: uup|c.read.8|
|00000060| 2e 31 0a 4d 65 73 73 61 | 67 65 2d 49 44 3a 20 3c |.1.Messa|ge-ID: <|
|00000070| 34 31 39 38 40 6e 63 6f | 61 73 74 2e 55 55 43 50 |4198@nco|ast.UUCP|
|00000080| 3e 0a 44 61 74 65 3a 20 | 31 37 20 41 75 67 20 38 |>.Date: |17 Aug 8|
|00000090| 37 20 30 31 3a 31 35 3a | 34 38 20 47 4d 54 0a 53 |7 01:15:|48 GMT.S|
|000000a0| 65 6e 64 65 72 3a 20 61 | 6c 6c 62 65 72 79 40 6e |ender: a|llbery@n|
|000000b0| 63 6f 61 73 74 2e 55 55 | 43 50 0a 4c 69 6e 65 73 |coast.UU|CP.Lines|
|000000c0| 3a 20 38 39 34 0a 41 70 | 70 72 6f 76 65 64 3a 20 |: 894.Ap|proved: |
|000000d0| 61 6c 6c 62 65 72 79 40 | 6e 63 6f 61 73 74 2e 55 |allbery@|ncoast.U|
|000000e0| 55 43 50 0a 58 2d 41 72 | 63 68 69 76 65 3a 20 63 |UCP.X-Ar|chive: c|
|000000f0| 6f 6d 70 2e 73 6f 75 72 | 63 65 73 2e 6d 69 73 63 |omp.sour|ces.misc|
|00000100| 2f 38 37 30 38 2f 32 30 | 0a 0a 3e 46 72 6f 6d 20 |/8708/20|..>From |
|00000110| 75 75 63 70 20 57 65 64 | 20 41 75 67 20 31 32 20 |uucp Wed| Aug 12 |
|00000120| 30 32 3a 35 30 20 50 44 | 54 20 31 39 38 37 0a 3e |02:50 PD|T 1987.>|
|00000130| 46 72 6f 6d 20 73 6c 79 | 6e 6e 65 20 20 57 65 64 |From sly|nne Wed|
|00000140| 20 41 75 67 20 31 32 20 | 30 32 3a 35 30 3a 31 34 | Aug 12 |02:50:14|
|00000150| 20 31 39 38 37 20 72 65 | 6d 6f 74 65 20 66 72 6f | 1987 re|mote fro|
|00000160| 6d 20 73 6c 6d 61 63 0a | 52 65 63 65 69 76 65 64 |m slmac.|Received|
|00000170| 3a 20 62 79 20 76 61 6e | 2d 62 63 2e 75 75 63 70 |: by van|-bc.uucp|
|00000180| 20 28 73 6d 61 69 6c 32 | 2e 33 29 0a 09 69 64 20 | (smail2|.3)..id |
|00000190| 41 41 31 37 36 38 32 3b | 20 31 32 20 41 75 67 20 |AA17682;| 12 Aug |
|000001a0| 38 37 20 30 32 3a 35 30 | 3a 31 34 20 50 44 54 20 |87 02:50|:14 PDT |
|000001b0| 28 57 65 64 29 0a 52 65 | 63 65 69 76 65 64 3a 20 |(Wed).Re|ceived: |
|000001c0| 62 79 20 73 6c 6d 61 63 | 2e 76 6e 65 74 2e 76 61 |by slmac|.vnet.va|
|000001d0| 6e 2d 62 63 2e 75 75 63 | 70 20 28 70 63 6d 61 69 |n-bc.uuc|p (pcmai|
|000001e0| 6c 29 20 57 65 64 20 41 | 75 67 20 31 32 20 30 32 |l) Wed A|ug 12 02|
|000001f0| 3a 33 38 3a 35 37 20 31 | 39 38 37 0a 44 61 74 65 |:38:57 1|987.Date|
|00000200| 3a 20 57 65 64 20 41 75 | 67 20 31 32 20 30 32 3a |: Wed Au|g 12 02:|
|00000210| 33 38 3a 35 37 20 31 39 | 38 37 0a 46 72 6f 6d 3a |38:57 19|87.From:|
|00000220| 20 53 74 75 61 72 74 20 | 4c 79 6e 6e 65 20 2d 20 | Stuart |Lynne - |
|00000230| 74 65 73 74 20 61 20 6d | 61 63 20 3c 73 6c 79 6e |test a m|ac <slyn|
|00000240| 6e 65 40 73 6c 6d 61 63 | 2e 76 6e 65 74 2e 76 61 |ne@slmac|.vnet.va|
|00000250| 6e 2d 62 63 2e 75 75 63 | 70 3e 0a 4d 65 73 73 61 |n-bc.uuc|p>.Messa|
|00000260| 67 65 2d 49 44 3a 20 3c | 31 35 31 40 73 6c 6d 61 |ge-ID: <|151@slma|
|00000270| 63 2e 76 6e 65 74 2e 76 | 61 6e 2d 62 63 2e 75 75 |c.vnet.v|an-bc.uu|
|00000280| 63 70 3e 0a 54 6f 3a 20 | 73 6c 40 76 61 6e 2d 62 |cp>.To: |sl@van-b|
|00000290| 63 0a 53 75 62 6a 65 63 | 74 3a 20 73 68 61 72 2f |c.Subjec|t: shar/|
|000002a0| 75 75 70 63 2e 72 65 61 | 64 2e 38 2e 31 0a 0a 23 |uupc.rea|d.8.1..#|
|000002b0| 21 20 2f 62 69 6e 2f 73 | 68 0a 23 20 54 68 69 73 |! /bin/s|h.# This|
|000002c0| 20 69 73 20 61 20 73 68 | 65 6c 6c 20 61 72 63 68 | is a sh|ell arch|
|000002d0| 69 76 65 2c 20 6d 65 61 | 6e 69 6e 67 3a 0a 23 20 |ive, mea|ning:.# |
|000002e0| 31 2e 20 52 65 6d 6f 76 | 65 20 65 76 65 72 79 74 |1. Remov|e everyt|
|000002f0| 68 69 6e 67 20 61 62 6f | 76 65 20 74 68 65 20 23 |hing abo|ve the #|
|00000300| 21 20 2f 62 69 6e 2f 73 | 68 20 6c 69 6e 65 2e 0a |! /bin/s|h line..|
|00000310| 23 20 32 2e 20 53 61 76 | 65 20 74 68 65 20 72 65 |# 2. Sav|e the re|
|00000320| 73 75 6c 74 69 6e 67 20 | 74 65 78 74 20 69 6e 20 |sulting |text in |
|00000330| 61 20 66 69 6c 65 2e 0a | 23 20 33 2e 20 45 78 65 |a file..|# 3. Exe|
|00000340| 63 75 74 65 20 74 68 65 | 20 66 69 6c 65 20 77 69 |cute the| file wi|
|00000350| 74 68 20 2f 62 69 6e 2f | 73 68 20 28 6e 6f 74 20 |th /bin/|sh (not |
|00000360| 63 73 68 29 20 74 6f 20 | 63 72 65 61 74 65 20 74 |csh) to |create t|
|00000370| 68 65 20 66 69 6c 65 73 | 3a 0a 23 09 52 45 41 44 |he files|:.#.READ|
|00000380| 4d 45 2e 44 43 50 0a 23 | 09 52 45 41 44 4d 45 2e |ME.DCP.#|.README.|
|00000390| 55 55 50 43 0a 23 09 52 | 45 41 44 4d 45 2e 50 4f |UUPC.#.R|EADME.PO|
|000003a0| 52 54 0a 23 09 52 45 41 | 44 4d 45 2e 49 4e 46 4f |RT.#.REA|DME.INFO|
|000003b0| 0a 23 20 54 68 69 73 20 | 61 72 63 68 69 76 65 20 |.# This |archive |
|000003c0| 63 72 65 61 74 65 64 3a | 20 57 65 64 20 41 75 67 |created:| Wed Aug|
|000003d0| 20 31 32 20 30 32 3a 30 | 32 3a 32 38 20 31 39 38 | 12 02:0|2:28 198|
|000003e0| 37 0a 23 20 42 79 3a 09 | 53 74 75 61 72 74 20 4c |7.# By:.|Stuart L|
|000003f0| 79 6e 6e 65 20 2d 20 74 | 65 73 74 20 61 20 6d 61 |ynne - t|est a ma|
|00000400| 63 20 28 29 0a 65 78 70 | 6f 72 74 20 50 41 54 48 |c ().exp|ort PATH|
|00000410| 3b 20 50 41 54 48 3d 2f | 62 69 6e 3a 24 50 41 54 |; PATH=/|bin:$PAT|
|00000420| 48 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 52 45 |H.if tes|t -f 'RE|
|00000430| 41 44 4d 45 2e 44 43 50 | 27 0a 74 68 65 6e 0a 20 |ADME.DCP|'.then. |
|00000440| 20 20 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a | ec|ho shar:|
|00000450| 20 77 69 6c 6c 20 6e 6f | 74 20 6f 76 65 72 2d 77 | will no|t over-w|
|00000460| 72 69 74 65 20 65 78 69 | 73 74 69 6e 67 20 66 69 |rite exi|sting fi|
|00000470| 6c 65 20 22 27 52 45 41 | 44 4d 45 2e 44 43 50 27 |le "'REA|DME.DCP'|
|00000480| 22 0a 65 6c 73 65 0a 63 | 61 74 20 3c 3c 20 5c 53 |".else.c|at << \S|
|00000490| 48 41 52 5f 45 4f 46 20 | 3e 20 27 52 45 41 44 4d |HAR_EOF |> 'READM|
|000004a0| 45 2e 44 43 50 27 0a 75 | 75 70 63 2f 64 63 70 20 |E.DCP'.u|upc/dcp |
|000004b0| 09 09 09 4a 75 6e 65 20 | 38 2c 20 31 39 38 37 09 |...June |8, 1987.|
|000004c0| 09 53 74 75 61 72 74 20 | 4c 79 6e 6e 65 0a 0a 46 |.Stuart |Lynne..F|
|000004d0| 6f 72 20 42 65 74 61 20 | 69 6d 70 6c 65 6d 65 6e |or Beta |implemen|
|000004e0| 74 6f 72 73 20 6f 6e 6c | 79 2e 0a 0a 54 68 69 73 |tors onl|y...This|
|000004f0| 20 69 73 20 74 68 65 20 | 76 65 72 79 20 66 69 72 | is the |very fir|
|00000500| 73 74 20 72 65 6c 65 61 | 73 65 20 6f 66 20 6d 79 |st relea|se of my|
|00000510| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 52 69 63 68 | version| of Rich|
|00000520| 61 72 64 20 48 2e 20 4c | 61 6d 62 73 20 75 75 63 |ard H. L|ambs uuc|
|00000530| 70 0a 70 72 6f 67 72 61 | 6d 20 64 63 70 2e 20 0a |p.progra|m dcp. .|
|00000540| 0a 53 65 65 20 52 45 41 | 44 4d 45 2e 55 55 50 43 |.See REA|DME.UUPC|
|00000550| 20 66 6f 72 20 6f 76 65 | 72 76 69 65 77 20 6f 66 | for ove|rview of|
|00000560| 20 68 6f 77 20 65 76 65 | 72 79 74 68 69 6e 67 20 | how eve|rything |
|00000570| 69 73 20 73 74 69 74 63 | 68 65 64 20 74 6f 67 65 |is stitc|hed toge|
|00000580| 74 68 65 72 2e 0a 0a 53 | 75 6d 6d 61 72 79 20 6f |ther...S|ummary o|
|00000590| 66 20 43 68 61 6e 67 65 | 73 3a 0a 0a 09 2d 20 65 |f Change|s:...- e|
|000005a0| 6c 69 6d 69 6e 61 74 65 | 64 20 72 65 66 65 72 65 |liminate|d refere|
|000005b0| 6e 63 65 73 20 74 6f 20 | 61 6c 6c 20 70 72 6f 74 |nces to |all prot|
|000005c0| 6f 63 6f 6c 73 20 65 78 | 63 65 70 74 20 66 6f 72 |ocols ex|cept for|
|000005d0| 20 74 68 65 20 33 20 77 | 69 6e 64 6f 77 0a 09 20 | the 3 w|indow.. |
|000005e0| 20 67 20 70 72 6f 74 6f | 63 6f 6c 0a 09 2d 20 73 | g proto|col..- s|
|000005f0| 74 72 65 61 6d 6c 69 6e | 65 64 20 64 63 70 20 61 |treamlin|ed dcp a|
|00000600| 6e 64 20 63 6f 6e 64 65 | 6e 73 65 64 20 69 6e 74 |nd conde|nsed int|
|00000610| 6f 20 66 6f 75 72 20 66 | 69 6c 65 73 0a 09 2d 20 |o four f|iles..- |
|00000620| 6d 6f 76 65 64 20 68 6f | 73 74 20 64 65 70 65 6e |moved ho|st depen|
|00000630| 64 61 6e 74 20 73 74 75 | 66 66 20 74 6f 20 6f 6e |dant stu|ff to on|
|00000640| 65 20 66 69 6c 65 20 75 | 75 58 58 58 0a 09 2d 20 |e file u|uXXX..- |
|00000650| 62 75 67 20 66 69 78 65 | 73 20 74 6f 20 67 65 74 |bug fixe|s to get|
|00000660| 20 33 77 20 67 20 70 72 | 6f 74 6f 63 6f 6c 20 74 | 3w g pr|otocol t|
|00000670| 6f 20 73 65 6e 64 20 61 | 74 20 66 75 6c 6c 20 73 |o send a|t full s|
|00000680| 70 65 65 64 0a 0a 0a 64 | 63 70 2e 63 09 09 2d 20 |peed...d|cp.c..- |
|00000690| 64 63 70 20 70 73 65 75 | 64 6f 20 6d 61 69 6e 2c |dcp pseu|do main,|
|000006a0| 20 68 69 67 68 20 6c 65 | 76 65 6c 20 73 74 75 66 | high le|vel stuf|
|000006b0| 66 0a 64 63 70 2e 68 09 | 09 2d 20 68 65 61 64 65 |f.dcp.h.|.- heade|
|000006c0| 72 20 66 69 6c 65 0a 64 | 63 70 78 66 65 72 2e 63 |r file.d|cpxfer.c|
|000006d0| 09 2d 20 66 69 6c 65 20 | 78 66 65 72 0a 64 63 70 |.- file |xfer.dcp|
|000006e0| 73 79 73 2e 63 09 2d 20 | 63 6f 6e 6e 65 63 74 69 |sys.c.- |connecti|
|000006f0| 6f 6e 20 73 74 75 66 66 | 0a 64 63 70 67 70 6b 74 |on stuff|.dcpgpkt|
|00000700| 2e 63 09 2d 20 67 20 70 | 61 63 6b 65 74 20 70 72 |.c.- g p|acket pr|
|00000710| 6f 74 6f 63 6f 6c 0a 0a | 0a 46 6f 72 20 6d 6f 72 |otocol..|.For mor|
|00000720| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 2c 20 62 |e inform|ation, b|
|00000730| 75 67 20 66 69 78 65 73 | 2c 20 6d 6f 72 65 20 63 |ug fixes|, more c|
|00000740| 6f 6d 6d 61 6e 64 73 20 | 65 74 63 3a 0a 0a 09 09 |ommands |etc:....|
|00000750| 53 74 75 61 72 74 2e 4c | 79 6e 6e 65 40 76 61 6e |Stuart.L|ynne@van|
|00000760| 2d 62 63 2e 75 75 63 70 | 0a 09 09 36 30 34 2d 39 |-bc.uucp|...604-9|
|00000770| 33 37 2d 37 35 33 32 0a | 0a 0a 46 69 78 65 73 0a |37-7532.|..Fixes.|
|00000780| 0a 4a 75 6e 20 38 2f 38 | 37 09 41 64 64 65 64 20 |.Jun 8/8|7.Added |
|00000790| 46 4f 50 45 4e 20 61 6e | 64 20 43 52 45 41 54 20 |FOPEN an|d CREAT |
|000007a0| 74 6f 20 72 65 63 75 72 | 73 69 76 65 6c 79 20 63 |to recur|sively c|
|000007b0| 72 65 61 74 65 20 64 69 | 72 65 63 74 6f 72 79 0a |reate di|rectory.|
|000007c0| 09 09 09 74 72 65 65 73 | 20 69 66 20 74 68 65 79 |...trees| if they|
|000007d0| 20 64 6f 6e 27 74 20 65 | 78 69 73 74 20 77 68 65 | don't e|xist whe|
|000007e0| 6e 20 61 20 66 69 6c 65 | 20 69 73 20 6f 70 65 6e |n a file| is open|
|000007f0| 65 64 20 66 6f 72 20 77 | 72 69 74 69 6e 67 0a 09 |ed for w|riting..|
|00000800| 09 09 6f 72 20 61 70 70 | 65 6e 64 69 6e 67 0a 0a |..or app|ending..|
|00000810| 4a 75 6e 20 38 2f 38 37 | 09 46 6f 75 6e 64 20 62 |Jun 8/87|.Found b|
|00000820| 75 67 20 69 6e 20 67 65 | 74 74 69 6e 67 20 66 69 |ug in ge|tting fi|
|00000830| 6c 65 20 6e 61 6d 65 20 | 69 6e 20 69 6e 69 74 69 |le name |in initi|
|00000840| 61 6c 20 70 72 6f 74 6f | 63 6f 6c 20 73 65 71 75 |al proto|col sequ|
|00000850| 65 6e 63 65 0a 09 09 09 | 4e 65 65 64 20 74 6f 20 |ence....|Need to |
|00000860| 72 65 61 64 20 6d 6f 72 | 65 20 74 68 61 6e 20 6f |read mor|e than o|
|00000870| 6e 65 20 70 61 63 6b 65 | 74 2e 0a 09 09 09 0a 4a |ne packe|t......J|
|00000880| 75 6c 2f 38 37 09 09 41 | 64 64 65 64 20 48 61 79 |ul/87..A|dded Hay|
|00000890| 65 73 20 64 69 61 6c 65 | 72 20 74 6f 20 64 63 70 |es diale|r to dcp|
|000008a0| 73 79 73 0a 53 48 41 52 | 5f 45 4f 46 0a 63 68 6d |sys.SHAR|_EOF.chm|
|000008b0| 6f 64 20 2b 78 20 27 52 | 45 41 44 4d 45 2e 44 43 |od +x 'R|EADME.DC|
|000008c0| 50 27 0a 66 69 20 23 20 | 65 6e 64 20 6f 66 20 6f |P'.fi # |end of o|
|000008d0| 76 65 72 77 72 69 74 69 | 6e 67 20 63 68 65 63 6b |verwriti|ng check|
|000008e0| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 52 45 41 |.if test| -f 'REA|
|000008f0| 44 4d 45 2e 55 55 50 43 | 27 0a 74 68 65 6e 0a 20 |DME.UUPC|'.then. |
|00000900| 20 20 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a | ec|ho shar:|
|00000910| 20 77 69 6c 6c 20 6e 6f | 74 20 6f 76 65 72 2d 77 | will no|t over-w|
|00000920| 72 69 74 65 20 65 78 69 | 73 74 69 6e 67 20 66 69 |rite exi|sting fi|
|00000930| 6c 65 20 22 27 52 45 41 | 44 4d 45 2e 55 55 50 43 |le "'REA|DME.UUPC|
|00000940| 27 22 0a 65 6c 73 65 0a | 63 61 74 20 3c 3c 20 5c |'".else.|cat << \|
|00000950| 53 48 41 52 5f 45 4f 46 | 20 3e 20 27 52 45 41 44 |SHAR_EOF| > 'READ|
|00000960| 4d 45 2e 55 55 50 43 27 | 0a 4a 75 6c 79 20 32 39 |ME.UUPC'|.July 29|
|00000970| 2f 38 37 09 09 09 09 09 | 09 53 74 75 61 72 74 20 |/87.....|.Stuart |
|00000980| 4c 79 6e 6e 65 0a 0a 55 | 55 50 43 20 69 73 20 6e |Lynne..U|UPC is n|
|00000990| 6f 77 20 72 75 6e 6e 69 | 6e 67 20 6f 6e 20 4d 61 |ow runni|ng on Ma|
|000009a0| 63 69 6e 74 6f 73 68 2c | 20 41 74 61 72 69 2d 53 |cintosh,| Atari-S|
|000009b0| 54 2c 20 41 6d 69 67 61 | 2c 20 61 6e 64 20 49 42 |T, Amiga|, and IB|
|000009c0| 4d 2d 50 43 20 77 69 74 | 68 20 4d 53 2d 44 4f 53 |M-PC wit|h MS-DOS|
|000009d0| 2e 0a 0a 54 68 65 73 65 | 20 76 65 72 73 69 6f 6e |...These| version|
|000009e0| 73 20 77 69 6c 6c 20 63 | 6f 6e 73 74 69 74 75 74 |s will c|onstitut|
|000009f0| 65 20 6d 79 20 66 69 72 | 73 74 20 72 65 6c 65 61 |e my fir|st relea|
|00000a00| 73 65 20 6f 66 20 75 75 | 70 63 20 61 6e 64 20 70 |se of uu|pc and p|
|00000a10| 63 6d 61 69 6c 2e 20 50 | 6c 65 61 73 65 20 0a 73 |cmail. P|lease .s|
|00000a20| 65 65 20 74 68 65 20 52 | 45 41 44 4d 45 20 66 69 |ee the R|EADME fi|
|00000a30| 6c 65 73 20 69 6e 20 65 | 61 63 68 20 73 68 61 72 |les in e|ach shar|
|00000a40| 20 66 69 6c 65 20 66 6f | 72 20 61 70 70 72 6f 70 | file fo|r approp|
|00000a50| 72 69 61 74 65 20 69 6e | 73 74 72 75 63 74 69 6f |riate in|structio|
|00000a60| 6e 73 2e 0a 0a 41 73 20 | 69 73 2c 20 75 75 70 63 |ns...As |is, uupc|
|00000a70| 20 73 65 6e 64 73 20 61 | 6e 64 20 72 65 63 65 69 | sends a|nd recei|
|00000a80| 76 65 73 20 66 69 6c 65 | 73 20 71 75 69 74 65 20 |ves file|s quite |
|00000a90| 77 65 6c 6c 2e 20 53 74 | 69 6c 6c 20 75 6e 69 6d |well. St|ill unim|
|00000aa0| 70 6c 65 6d 65 6e 74 65 | 64 20 69 73 0a 74 68 65 |plemente|d is.the|
|00000ab0| 20 72 65 76 65 72 73 65 | 20 64 69 72 65 63 74 69 | reverse| directi|
|00000ac0| 6f 6e 20 66 69 6c 65 20 | 74 72 61 6e 73 66 65 72 |on file |transfer|
|00000ad0| 73 2c 20 69 2e 65 2e 20 | 73 65 6e 64 20 61 20 66 |s, i.e. |send a f|
|00000ae0| 69 6c 65 20 74 6f 20 61 | 20 72 65 6d 6f 74 65 20 |ile to a| remote |
|00000af0| 68 6f 73 74 0a 77 68 69 | 6c 65 20 69 6e 20 73 6c |host.whi|le in sl|
|00000b00| 61 76 65 20 6d 6f 64 65 | 2c 20 72 65 63 65 69 76 |ave mode|, receiv|
|00000b10| 65 20 61 20 66 69 6c 65 | 20 77 68 69 6c 65 20 69 |e a file| while i|
|00000b20| 6e 20 6d 61 73 74 65 72 | 20 6d 6f 64 65 2e 20 54 |n master| mode. T|
|00000b30| 68 65 73 65 20 61 72 65 | 20 6e 6f 74 20 0a 6e 65 |hese are| not .ne|
|00000b40| 65 64 65 64 20 74 6f 20 | 73 75 70 70 6f 72 74 20 |eded to |support |
|00000b50| 6e 65 77 73 20 61 6e 64 | 20 6d 61 69 6c 2e 20 41 |news and| mail. A|
|00000b60| 20 70 72 6f 70 65 72 20 | 75 75 63 70 20 63 6f 6d | proper |uucp com|
|00000b70| 6d 61 6e 64 20 69 73 20 | 6e 65 65 64 20 74 6f 6f |mand is |need too|
|00000b80| 2e 0a 0a 54 68 65 20 75 | 73 65 72 20 61 67 65 6e |...The u|ser agen|
|00000b90| 74 20 6d 61 69 6c 20 70 | 72 6f 67 72 61 6d 20 69 |t mail p|rogram i|
|00000ba0| 73 20 61 20 76 65 72 79 | 20 73 69 6d 70 6c 65 20 |s a very| simple |
|00000bb0| 68 61 63 6b 20 74 6f 20 | 73 69 6d 70 6c 79 20 61 |hack to |simply a|
|00000bc0| 6c 6c 6f 77 20 79 6f 75 | 20 74 6f 20 0a 72 65 61 |llow you| to .rea|
|00000bd0| 64 20 61 6e 64 20 73 65 | 6e 64 20 6d 61 69 6c 2e |d and se|nd mail.|
|00000be0| 20 48 6f 70 65 66 75 6c | 6c 79 20 73 6f 6d 65 6f | Hopeful|ly someo|
|00000bf0| 6e 65 20 77 69 6c 6c 20 | 77 6f 72 6b 20 6f 6e 20 |ne will |work on |
|00000c00| 72 65 70 6c 61 63 69 6e | 67 20 74 68 69 73 21 0a |replacin|g this!.|
|00000c10| 0a 54 68 65 20 6d 65 73 | 73 61 67 65 20 74 72 61 |.The mes|sage tra|
|00000c20| 6e 73 66 65 72 20 61 67 | 65 6e 74 20 70 63 6d 61 |nsfer ag|ent pcma|
|00000c30| 69 6c 20 70 72 6f 67 72 | 61 6d 20 69 73 20 66 61 |il progr|am is fa|
|00000c40| 69 72 6c 79 20 72 6f 62 | 75 73 74 2e 20 49 74 20 |irly rob|ust. It |
|00000c50| 64 6f 65 73 20 6e 65 65 | 64 20 74 6f 0a 68 61 76 |does nee|d to.hav|
|00000c60| 65 20 73 6f 6d 65 20 6d | 6f 72 65 20 69 6e 74 65 |e some m|ore inte|
|00000c70| 6c 6c 69 67 65 6e 63 65 | 20 74 6f 20 61 6c 6c 6f |lligence| to allo|
|00000c80| 77 20 66 6f 72 20 6d 6f | 72 65 20 69 6e 74 65 6c |w for mo|re intel|
|00000c90| 6c 69 67 65 6e 74 20 72 | 6f 75 74 69 6e 67 20 6f |ligent r|outing o|
|00000ca0| 66 20 6f 75 74 67 6f 69 | 6e 67 0a 6d 61 69 6c 2e |f outgoi|ng.mail.|
|00000cb0| 20 43 75 72 72 65 6e 74 | 6c 79 20 41 4c 4c 20 6f | Current|ly ALL o|
|00000cc0| 75 74 67 6f 69 6e 67 20 | 6d 61 69 6c 20 69 73 20 |utgoing |mail is |
|00000cd0| 66 6f 72 77 61 72 64 20 | 74 6f 20 61 20 73 69 6e |forward |to a sin|
|00000ce0| 67 6c 65 20 72 65 6d 6f | 74 65 20 73 69 74 65 20 |gle remo|te site |
|00000cf0| 66 6f 72 0a 70 72 6f 63 | 65 73 73 69 6e 67 2e 20 |for.proc|essing. |
|00000d00| 54 68 69 73 20 77 69 6c | 6c 20 61 63 74 75 61 6c |This wil|l actual|
|00000d10| 6c 79 20 68 61 6e 64 6c | 65 20 74 68 65 20 6e 65 |ly handl|e the ne|
|00000d20| 65 64 73 20 6f 66 20 61 | 20 6c 61 72 67 65 20 6e |eds of a| large n|
|00000d30| 75 6d 62 65 72 20 6f 66 | 20 75 73 65 72 73 0a 62 |umber of| users.b|
|00000d40| 75 74 20 66 6f 72 20 74 | 68 6f 73 65 20 6c 75 63 |ut for t|hose luc|
|00000d50| 6b 79 20 6f 6e 65 73 20 | 77 68 6f 20 63 61 6e 20 |ky ones |who can |
|00000d60| 61 63 74 75 61 6c 6c 79 | 20 67 65 74 20 61 63 63 |actually| get acc|
|00000d70| 65 73 73 20 74 6f 20 73 | 65 76 65 72 61 6c 20 6c |ess to s|everal l|
|00000d80| 61 72 67 65 20 75 75 63 | 70 0a 73 69 74 65 73 20 |arge uuc|p.sites |
|00000d90| 62 65 74 74 65 72 20 72 | 6f 75 74 69 6e 65 20 77 |better r|outine w|
|00000da0| 6f 75 6c 64 20 62 65 20 | 6e 69 63 65 2e 0a 0a 0a |ould be |nice....|
|00000db0| 4f 74 68 65 72 20 74 68 | 69 6e 67 73 20 77 68 69 |Other th|ings whi|
|00000dc0| 63 68 20 61 72 65 20 6e | 65 65 64 65 64 3a 0a 0a |ch are n|eeded:..|
|00000dd0| 09 6e 65 77 73 20 75 6e | 62 61 74 63 68 65 72 0a |.news un|batcher.|
|00000de0| 09 6e 65 77 73 20 72 65 | 61 64 65 72 0a 0a 43 75 |.news re|ader..Cu|
|00000df0| 72 72 65 6e 74 6c 79 20 | 74 68 65 20 6e 65 77 73 |rrently |the news|
|00000e00| 20 69 73 20 73 69 6d 70 | 6c 79 20 73 70 6f 6f 6c | is simp|ly spool|
|00000e10| 65 64 20 74 6f 20 61 20 | 64 69 72 65 63 74 6f 72 |ed to a |director|
|00000e20| 79 20 77 69 74 68 20 61 | 20 75 6e 69 71 75 65 20 |y with a| unique |
|00000e30| 66 69 6c 65 20 6e 61 6d | 65 2e 0a 59 6f 75 20 63 |file nam|e..You c|
|00000e40| 61 6e 20 72 65 61 64 20 | 74 68 69 73 20 77 69 74 |an read |this wit|
|00000e50| 68 20 61 20 6e 6f 72 6d | 61 6c 20 74 65 78 74 20 |h a norm|al text |
|00000e60| 65 64 69 74 6f 72 2e 20 | 49 66 20 79 6f 75 20 77 |editor. |If you w|
|00000e70| 69 73 68 20 74 6f 20 68 | 61 76 65 20 6f 75 74 67 |ish to h|ave outg|
|00000e80| 6f 69 6e 67 20 6d 61 69 | 6c 0a 74 68 65 20 65 61 |oing mai|l.the ea|
|00000e90| 73 69 65 73 74 20 77 61 | 79 20 69 73 20 74 6f 20 |siest wa|y is to |
|00000ea0| 68 61 76 65 20 79 6f 75 | 72 20 6e 65 77 73 20 66 |have you|r news f|
|00000eb0| 65 65 64 20 73 65 74 20 | 75 70 20 61 6c 69 61 73 |eed set |up alias|
|00000ec0| 27 73 20 6c 69 6b 65 3a | 0a 0a 09 63 6f 6d 70 2e |'s like:|...comp.|
|00000ed0| 73 79 73 2e 61 6d 69 67 | 61 20 22 7c 20 2f 75 73 |sys.amig|a "| /us|
|00000ee0| 72 2f 6c 6f 63 61 6c 2f | 6c 69 62 2f 6e 65 77 73 |r/local/|lib/news|
|00000ef0| 2f 72 65 63 6e 65 77 73 | 20 63 6f 6d 70 2e 73 79 |/recnews| comp.sy|
|00000f00| 73 2e 61 6d 69 67 61 22 | 0a 0a 54 68 65 6e 20 73 |s.amiga"|..Then s|
|00000f10| 69 6d 70 6c 79 20 6d 61 | 69 6c 20 79 6f 75 72 20 |imply ma|il your |
|00000f20| 61 72 74 69 63 6c 65 20 | 74 6f 3a 0a 0a 09 63 6f |article |to:...co|
|00000f30| 6d 70 2e 73 79 73 2e 61 | 6d 69 67 61 40 6e 65 77 |mp.sys.a|miga@new|
|00000f40| 73 66 65 65 64 68 6f 73 | 74 2e 75 75 63 70 0a 0a |sfeedhos|t.uucp..|
|00000f50| 0a 50 6c 65 61 73 65 20 | 66 65 65 6c 20 66 72 65 |.Please |feel fre|
|00000f60| 65 20 74 6f 20 70 6f 72 | 74 20 74 68 69 73 20 63 |e to por|t this c|
|00000f70| 6f 64 65 20 74 6f 20 6f | 74 68 65 72 20 65 6e 76 |ode to o|ther env|
|00000f80| 69 72 6f 6e 6d 65 6e 74 | 73 2e 20 49 20 61 73 6b |ironment|s. I ask|
|00000f90| 20 6f 6e 6c 79 20 74 68 | 61 74 20 79 6f 75 0a 74 | only th|at you.t|
|00000fa0| 72 79 20 61 6e 64 20 6c | 69 6d 69 74 20 63 68 61 |ry and l|imit cha|
|00000fb0| 6e 67 65 73 20 74 6f 20 | 74 68 65 20 6d 61 63 68 |nges to |the mach|
|00000fc0| 69 6e 65 20 69 6e 64 65 | 70 65 6e 64 65 6e 74 20 |ine inde|pendent |
|00000fd0| 63 6f 64 65 2e 20 54 68 | 69 6e 67 73 20 68 61 76 |code. Th|ings hav|
|00000fe0| 65 20 62 65 65 6e 20 73 | 65 74 75 70 0a 73 6f 20 |e been s|etup.so |
|00000ff0| 74 68 61 74 20 79 6f 75 | 20 73 68 6f 75 6c 64 6e |that you| shouldn|
|00001000| 27 74 20 68 61 76 65 20 | 74 6f 20 6d 6f 64 69 66 |'t have |to modif|
|00001010| 79 20 64 63 70 2c 20 75 | 75 70 63 2c 20 6d 61 69 |y dcp, u|upc, mai|
|00001020| 6c 20 6f 72 20 70 63 6d | 61 69 6c 20 69 66 20 79 |l or pcm|ail if y|
|00001030| 6f 75 20 61 72 65 20 73 | 69 6d 70 6c 79 0a 70 6f |ou are s|imply.po|
|00001040| 72 74 69 6e 67 20 74 6f | 20 61 20 6e 65 77 20 65 |rting to| a new e|
|00001050| 6e 76 69 72 6f 6e 6d 65 | 6e 74 2e 20 0a 0a 50 6c |nvironme|nt. ..Pl|
|00001060| 65 61 73 65 20 73 65 6e | 64 20 6d 65 20 61 6e 79 |ease sen|d me any|
|00001070| 20 6e 65 77 20 76 65 72 | 73 69 6f 6e 73 2c 20 64 | new ver|sions, d|
|00001080| 69 66 66 27 73 20 74 6f | 20 67 65 74 20 6f 6c 64 |iff's to| get old|
|00001090| 20 76 65 72 73 69 6f 6e | 73 20 77 6f 72 6b 69 6e | version|s workin|
|000010a0| 67 20 62 65 74 74 65 72 | 2c 0a 62 75 67 20 66 69 |g better|,.bug fi|
|000010b0| 78 65 73 20 65 74 63 2e | 0a 0a 48 61 76 65 20 66 |xes etc.|..Have f|
|000010c0| 75 6e 20 61 6e 64 20 65 | 6e 6a 6f 79 2e 0a 0a 49 |un and e|njoy...I|
|000010d0| 20 77 6f 75 6c 64 20 73 | 75 67 67 65 73 74 20 74 | would s|uggest t|
|000010e0| 68 61 74 20 71 75 65 73 | 74 69 6f 6e 73 20 61 6e |hat ques|tions an|
|000010f0| 64 20 63 6f 6d 6d 65 6e | 74 73 20 61 62 6f 75 74 |d commen|ts about|
|00001100| 20 75 75 70 63 2f 64 63 | 70 2f 6d 61 69 6c 20 62 | uupc/dc|p/mail b|
|00001110| 65 20 64 69 72 65 63 74 | 65 64 0a 74 6f 20 63 6f |e direct|ed.to co|
|00001120| 6d 70 2e 6d 61 69 6c 2e | 75 75 63 70 20 6f 6e 20 |mp.mail.|uucp on |
|00001130| 55 73 65 6e 65 74 2e 20 | 54 68 69 73 20 67 72 6f |Usenet. |This gro|
|00001140| 75 70 20 69 73 20 61 62 | 6f 75 74 20 22 4d 61 69 |up is ab|out "Mai|
|00001150| 6c 20 69 6e 20 74 68 65 | 20 75 75 63 70 20 6e 65 |l in the| uucp ne|
|00001160| 74 77 6f 72 6b 0a 65 6e | 76 69 72 6f 6e 6d 65 6e |twork.en|vironmen|
|00001170| 74 2e 22 20 77 68 69 63 | 68 20 64 65 73 63 72 69 |t." whic|h descri|
|00001180| 62 65 73 20 75 75 70 63 | 20 70 72 65 74 74 79 20 |bes uupc| pretty |
|00001190| 77 65 6c 6c 2e 0a 0a 0a | 51 75 65 73 74 69 6f 6e |well....|Question|
|000011a0| 73 2c 20 62 75 67 20 66 | 69 78 65 73 20 65 74 63 |s, bug f|ixes etc|
|000011b0| 0a 0a 75 75 70 63 2c 20 | 6d 61 63 20 76 65 72 73 |..uupc, |mac vers|
|000011c0| 69 6f 6e 2c 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |ion, inf|ormation|
|000011d0| 0a 0a 09 53 74 75 61 72 | 74 20 4c 79 6e 6e 65 0a |...Stuar|t Lynne.|
|000011e0| 09 73 74 75 61 72 74 2e | 6c 79 6e 6e 65 40 76 61 |.stuart.|lynne@va|
|000011f0| 6e 2d 62 63 2e 75 75 63 | 70 0a 09 7b 7b 73 65 69 |n-bc.uuc|p..{{sei|
|00001200| 73 6d 6f 2c 69 68 6e 70 | 34 21 61 6c 62 65 72 74 |smo,ihnp|4!albert|
|00001210| 61 7d 21 75 62 63 2d 76 | 69 73 69 6f 6e 2c 75 75 |a}!ubc-v|ision,uu|
|00001220| 6e 65 74 7d 21 76 61 6e | 2d 62 63 21 53 74 75 61 |net}!van|-bc!Stua|
|00001230| 72 74 2e 4c 79 6e 6e 65 | 20 20 36 30 34 2d 39 33 |rt.Lynne| 604-93|
|00001240| 37 2d 37 35 33 32 0a 0a | 41 6d 69 67 61 20 76 65 |7-7532..|Amiga ve|
|00001250| 72 73 69 6f 6e 0a 0a 09 | 4a 65 66 66 20 4c 79 64 |rsion...|Jeff Lyd|
|00001260| 69 61 74 74 0a 09 6a 6c | 40 6a 6c 61 6d 69 2e 76 |iatt..jl|@jlami.v|
|00001270| 6e 65 74 2e 76 61 6e 2d | 62 63 2e 75 75 63 70 0a |net.van-|bc.uucp.|
|00001280| 09 7b 7b 73 65 69 73 6d | 6f 2c 69 68 6e 70 34 21 |.{{seism|o,ihnp4!|
|00001290| 61 6c 62 65 72 74 61 7d | 21 75 62 63 2d 76 69 73 |alberta}|!ubc-vis|
|000012a0| 69 6f 6e 2c 75 75 6e 65 | 74 7d 21 76 61 6e 2d 62 |ion,uune|t}!van-b|
|000012b0| 63 21 6a 6c 61 6d 69 21 | 6a 6c 0a 0a 41 74 61 72 |c!jlami!|jl..Atar|
|000012c0| 69 20 53 54 20 76 65 72 | 73 69 6f 6e 0a 0a 09 4c |i ST ver|sion...L|
|000012d0| 61 77 72 65 6e 63 65 20 | 48 61 72 72 69 73 0a 09 |awrence |Harris..|
|000012e0| 6c 61 77 72 65 6e 63 65 | 40 6e 76 61 6e 62 63 2e |lawrence|@nvanbc.|
|000012f0| 75 75 63 70 0a 09 7b 7b | 73 65 69 73 6d 6f 2c 69 |uucp..{{|seismo,i|
|00001300| 68 6e 70 34 21 61 6c 62 | 65 72 74 61 7d 21 75 62 |hnp4!alb|erta}!ub|
|00001310| 63 2d 76 69 73 69 6f 6e | 2c 75 75 6e 65 74 7d 21 |c-vision|,uunet}!|
|00001320| 76 61 6e 2d 62 63 21 6e | 76 61 6e 62 63 21 6c 61 |van-bc!n|vanbc!la|
|00001330| 77 72 65 6e 63 65 0a 0a | 49 42 4d 20 50 43 20 2d |wrence..|IBM PC -|
|00001340| 20 4d 53 2d 44 4f 53 20 | 76 65 72 73 69 6f 6e 0a | MS-DOS |version.|
|00001350| 0a 09 53 61 6d 75 65 6c | 20 4c 61 6d 0a 09 73 6b |..Samuel| Lam..sk|
|00001360| 6c 40 73 6b 6c 70 63 2e | 76 6e 65 74 2e 76 61 6e |l@sklpc.|vnet.van|
|00001370| 2d 62 63 2e 75 75 63 70 | 0a 09 7b 7b 73 65 69 73 |-bc.uucp|..{{seis|
|00001380| 6d 6f 2c 69 68 6e 70 34 | 21 61 6c 62 65 72 74 61 |mo,ihnp4|!alberta|
|00001390| 7d 21 75 62 63 2d 76 69 | 73 69 6f 6e 2c 75 75 6e |}!ubc-vi|sion,uun|
|000013a0| 65 74 7d 21 76 61 6e 2d | 62 63 21 73 6b 6c 0a 0a |et}!van-|bc!skl..|
|000013b0| 75 75 70 63 20 6d 61 69 | 6c 69 6e 67 20 6c 69 73 |uupc mai|ling lis|
|000013c0| 74 20 0a 0a 09 75 75 70 | 63 40 76 61 6e 2d 62 63 |t ...uup|c@van-bc|
|000013d0| 2e 75 75 63 70 09 09 09 | 41 75 74 6f 6d 61 74 69 |.uucp...|Automati|
|000013e0| 63 61 6c 6c 79 20 66 6f | 72 77 61 72 64 65 64 20 |cally fo|rwarded |
|000013f0| 74 6f 20 6d 61 69 6c 69 | 6e 67 20 6c 69 73 74 0a |to maili|ng list.|
|00001400| 09 75 75 70 63 2d 72 65 | 71 75 65 73 74 40 76 61 |.uupc-re|quest@va|
|00001410| 6e 2d 62 63 2e 75 75 63 | 70 09 46 6f 72 20 72 65 |n-bc.uuc|p.For re|
|00001420| 71 75 65 73 74 73 20 74 | 6f 20 62 65 20 61 64 64 |quests t|o be add|
|00001430| 65 64 20 74 6f 20 6d 61 | 69 6c 69 6e 67 20 6c 69 |ed to ma|iling li|
|00001440| 73 74 0a 0a 09 7b 7b 73 | 65 69 73 6d 6f 2c 69 68 |st...{{s|eismo,ih|
|00001450| 6e 70 34 21 61 6c 62 65 | 72 74 61 7d 21 75 62 63 |np4!albe|rta}!ubc|
|00001460| 2d 76 69 73 69 6f 6e 2c | 75 75 6e 65 74 7d 21 76 |-vision,|uunet}!v|
|00001470| 61 6e 2d 62 63 21 6e 76 | 61 6e 62 63 21 75 75 70 |an-bc!nv|anbc!uup|
|00001480| 63 0a 09 7b 7b 73 65 69 | 73 6d 6f 2c 69 68 6e 70 |c..{{sei|smo,ihnp|
|00001490| 34 21 61 6c 62 65 72 74 | 61 7d 21 75 62 63 2d 76 |4!albert|a}!ubc-v|
|000014a0| 69 73 69 6f 6e 2c 75 75 | 6e 65 74 7d 21 76 61 6e |ision,uu|net}!van|
|000014b0| 2d 62 63 21 6e 76 61 6e | 62 63 21 75 75 70 63 2d |-bc!nvan|bc!uupc-|
|000014c0| 72 65 71 75 65 73 74 0a | 09 0a 0a 4e 42 2e 20 52 |request.|...NB. R|
|000014d0| 75 72 72 65 6e 74 6c 79 | 20 55 55 4e 45 54 20 69 |urrently| UUNET i|
|000014e0| 73 20 6f 6e 6c 79 20 70 | 6f 6c 6c 65 64 20 74 77 |s only p|olled tw|
|000014f0| 69 63 65 20 70 65 72 20 | 77 65 65 6b 2c 20 79 6f |ice per |week, yo|
|00001500| 75 20 6d 61 79 20 77 69 | 73 68 20 74 6f 20 73 65 |u may wi|sh to se|
|00001510| 6e 64 0a 61 6e 79 20 6d | 65 73 73 61 67 65 73 20 |nd.any m|essages |
|00001520| 76 69 61 20 62 6f 74 68 | 20 70 61 74 68 73 20 74 |via both| paths t|
|00001530| 6f 20 65 6e 73 75 72 65 | 20 64 65 6c 69 76 65 72 |o ensure| deliver|
|00001540| 79 2e 20 55 55 4e 45 54 | 20 69 73 20 70 72 6f 62 |y. UUNET| is prob|
|00001550| 61 62 6c 79 20 6d 6f 72 | 65 0a 72 65 6c 69 61 62 |ably mor|e.reliab|
|00001560| 6c 65 2c 20 75 62 63 2d | 76 69 73 69 6f 6e 20 6d |le, ubc-|vision m|
|00001570| 61 79 20 62 65 20 66 61 | 73 74 65 72 20 69 66 20 |ay be fa|ster if |
|00001580| 79 6f 75 20 63 61 6e 20 | 72 65 61 63 68 20 74 68 |you can |reach th|
|00001590| 65 6d 20 66 72 6f 6d 20 | 79 6f 75 72 20 73 69 74 |em from |your sit|
|000015a0| 65 2e 0a 0a 0a 0a 75 75 | 70 63 20 09 09 09 4a 75 |e.....uu|pc ...Ju|
|000015b0| 6e 65 20 38 2c 20 31 39 | 38 37 09 09 53 74 75 61 |ne 8, 19|87..Stua|
|000015c0| 72 74 20 4c 79 6e 6e 65 | 0a 0a 46 6f 72 20 42 65 |rt Lynne|..For Be|
|000015d0| 74 61 20 69 6d 70 6c 65 | 6d 65 6e 74 6f 72 73 20 |ta imple|mentors |
|000015e0| 6f 6e 6c 79 2e 0a 0a 75 | 75 70 63 20 69 6e 63 6f |only...u|upc inco|
|000015f0| 72 70 6f 72 61 74 65 73 | 20 61 20 73 74 72 65 61 |rporates| a strea|
|00001600| 6d 6c 69 6e 65 64 20 76 | 65 72 73 69 6f 6e 20 6f |mlined v|ersion o|
|00001610| 66 20 64 63 70 20 74 6f | 20 69 6d 70 6c 65 6d 65 |f dcp to| impleme|
|00001620| 6e 74 20 61 20 75 75 63 | 70 20 6d 61 69 6c 0a 61 |nt a uuc|p mail.a|
|00001630| 6e 64 20 6e 65 77 73 20 | 64 65 6c 69 76 65 72 79 |nd news |delivery|
|00001640| 20 73 79 73 74 65 6d 2e | 20 0a 0a 53 65 65 20 52 | system.| ..See R|
|00001650| 45 41 44 4d 45 2e 44 43 | 50 20 66 6f 72 20 64 63 |EADME.DC|P for dc|
|00001660| 70 20 69 6e 66 6f 2e 0a | 0a 42 79 20 6d 6f 76 69 |p info..|.By movi|
|00001670| 6e 67 20 74 68 65 20 68 | 6f 73 74 20 64 65 70 65 |ng the h|ost depe|
|00001680| 6e 64 61 6e 74 20 63 6f | 64 65 20 69 6e 74 6f 20 |ndant co|de into |
|00001690| 6f 6e 65 20 66 69 6c 65 | 20 74 68 65 20 6f 74 68 |one file| the oth|
|000016a0| 65 72 20 66 6f 75 72 20 | 64 63 70 20 66 69 6c 65 |er four |dcp file|
|000016b0| 73 20 63 61 6e 20 0a 68 | 6f 70 65 66 75 6c 6c 79 |s can .h|opefully|
|000016c0| 20 62 65 20 6d 61 69 6e | 74 61 69 6e 65 64 20 65 | be main|tained e|
|000016d0| 61 73 69 6c 79 2e 20 49 | 74 20 73 68 6f 75 6c 64 |asily. I|t should|
|000016e0| 20 62 65 20 70 6f 73 73 | 69 62 6c 65 20 74 6f 20 | be poss|ible to |
|000016f0| 6d 61 69 6e 74 61 69 6e | 20 6f 6e 65 20 76 65 72 |maintain| one ver|
|00001700| 73 69 6f 6e 0a 6f 66 20 | 74 68 65 6d 20 77 68 69 |sion.of |them whi|
|00001710| 63 68 20 63 6f 6d 70 69 | 6c 65 73 20 61 6e 64 20 |ch compi|les and |
|00001720| 72 75 6e 73 20 6f 6e 20 | 61 6c 6c 20 6d 61 63 68 |runs on |all mach|
|00001730| 69 6e 65 73 20 77 69 74 | 68 6f 75 74 20 63 6f 6e |ines wit|hout con|
|00001740| 64 69 74 69 6f 6e 61 6c | 20 63 6f 6d 70 69 6c 61 |ditional| compila|
|00001750| 74 69 6f 6e 0a 66 6c 61 | 67 73 2e 0a 0a 54 68 65 |tion.fla|gs...The|
|00001760| 20 68 6f 73 74 20 66 69 | 6c 65 20 73 68 6f 75 6c | host fi|le shoul|
|00001770| 64 20 63 6f 6e 74 61 69 | 6e 3a 0a 0a 09 2d 20 73 |d contai|n:...- s|
|00001780| 65 72 69 61 6c 20 49 2f | 4f 0a 09 2d 20 42 53 44 |erial I/|O..- BSD|
|00001790| 20 63 6f 6d 70 61 74 69 | 62 6c 65 20 64 69 72 65 | compati|ble dire|
|000017a0| 63 74 6f 72 79 20 72 6f | 75 74 69 6e 65 73 0a 09 |ctory ro|utines..|
|000017b0| 2d 20 73 79 73 74 65 6d | 20 63 61 6c 6c 20 73 74 |- system| call st|
|000017c0| 75 66 66 0a 0a 54 68 69 | 73 20 61 6c 6c 20 67 6f |uff..Thi|s all go|
|000017d0| 65 73 20 74 6f 20 69 6d | 70 6c 65 6d 65 6e 74 20 |es to im|plement |
|000017e0| 61 20 63 6f 6d 6d 61 6e | 64 20 63 61 6c 6c 65 64 |a comman|d called|
|000017f0| 20 75 75 70 63 2e 20 49 | 74 20 69 73 20 73 69 6d | uupc. I|t is sim|
|00001800| 69 6c 69 61 72 20 74 6f | 20 74 68 65 20 75 75 63 |iliar to| the uuc|
|00001810| 69 63 6f 0a 63 6f 6d 6d | 61 6e 64 20 75 6e 64 65 |ico.comm|and unde|
|00001820| 72 20 75 6e 69 78 2e 0a | 0a 09 75 75 70 63 20 5b |r unix..|..uupc [|
|00001830| 2d 78 6e 5d 20 5b 2d 73 | 68 6f 73 74 5d 0a 0a 0a |-xn] [-s|host]...|
|00001840| 54 68 65 72 65 20 69 73 | 20 61 6c 73 6f 20 74 77 |There is| also tw|
|00001850| 6f 20 6d 61 69 6c 20 73 | 6f 75 72 63 65 20 66 69 |o mail s|ource fi|
|00001860| 6c 65 73 2e 20 50 63 6d | 61 69 6c 20 69 73 20 74 |les. Pcm|ail is t|
|00001870| 68 65 20 4d 54 41 20 70 | 61 72 74 20 6f 66 20 74 |he MTA p|art of t|
|00001880| 68 65 20 6d 61 69 6c 20 | 73 79 73 74 65 6d 2e 0a |he mail |system..|
|00001890| 49 74 20 63 6f 6d 70 69 | 6c 65 73 20 69 6e 20 74 |It compi|les in t|
|000018a0| 77 6f 20 77 61 79 73 2c | 20 6f 6e 65 20 66 6f 72 |wo ways,| one for|
|000018b0| 20 72 6d 61 69 6c 20 28 | 61 64 64 20 6f 6e 6c 79 | rmail (|add only|
|000018c0| 20 46 72 6f 6d 20 61 6e | 64 20 52 65 63 65 69 76 | From an|d Receiv|
|000018d0| 65 64 3a 20 68 65 61 64 | 65 72 73 29 2c 20 0a 64 |ed: head|ers), .d|
|000018e0| 65 66 69 6e 65 20 61 20 | 73 69 6d 70 6c 65 20 72 |efine a |simple r|
|000018f0| 6e 65 77 73 3b 20 61 6e | 64 20 66 6f 72 20 6c 6d |news; an|d for lm|
|00001900| 61 69 6c 20 28 61 64 64 | 20 61 6c 6c 20 68 65 61 |ail (add| all hea|
|00001910| 64 65 72 73 29 2e 20 50 | 63 6d 61 69 6c 20 77 69 |ders). P|cmail wi|
|00001920| 6c 6c 20 65 66 66 65 63 | 74 0a 64 65 6c 69 76 65 |ll effec|t.delive|
|00001930| 72 79 20 6f 66 20 6d 61 | 69 6c 20 74 6f 20 6c 6f |ry of ma|il to lo|
|00001940| 63 61 6c 20 61 6e 64 20 | 72 65 6d 6f 74 65 20 75 |cal and |remote u|
|00001950| 73 65 72 73 2e 20 43 75 | 72 72 65 6e 74 6c 79 20 |sers. Cu|rrently |
|00001960| 61 6c 6c 20 72 65 6d 6f | 74 65 20 6d 61 69 6c 20 |all remo|te mail |
|00001970| 69 73 20 0a 64 69 72 65 | 63 74 65 64 20 74 6f 20 |is .dire|cted to |
|00001980| 6f 6e 65 20 73 6d 61 72 | 74 20 68 6f 73 74 20 66 |one smar|t host f|
|00001990| 6f 72 20 66 6f 72 77 61 | 72 64 69 6e 67 2e 0a 0a |or forwa|rding...|
|000019a0| 4d 61 69 6c 20 69 73 20 | 61 20 73 69 6d 70 6c 65 |Mail is |a simple|
|000019b0| 20 55 41 2e 20 49 74 20 | 61 6c 6c 6f 77 73 20 79 | UA. It |allows y|
|000019c0| 6f 75 20 74 6f 20 73 65 | 6e 64 20 6d 61 69 6c 20 |ou to se|nd mail |
|000019d0| 61 6e 64 20 72 65 61 64 | 20 79 6f 75 72 20 6d 61 |and read| your ma|
|000019e0| 69 6c 62 6f 78 2e 20 49 | 74 20 6e 65 65 64 73 0a |ilbox. I|t needs.|
|000019f0| 6c 6f 74 73 20 6f 66 20 | 77 6f 72 6b 20 62 75 74 |lots of |work but|
|00001a00| 20 69 73 20 73 65 72 76 | 69 63 61 62 6c 65 2e 0a | is serv|icable..|
|00001a10| 0a 09 6d 61 69 6c 20 2d | 73 20 22 73 75 62 6a 65 |..mail -|s "subje|
|00001a20| 63 74 20 68 65 72 65 22 | 20 75 73 65 72 20 75 73 |ct here"| user us|
|00001a30| 65 72 40 72 65 6d 6f 74 | 65 2e 73 69 74 65 2e 64 |er@remot|e.site.d|
|00001a40| 6f 6d 61 69 6e 20 3c 20 | 6d 65 73 73 61 67 65 0a |omain < |message.|
|00001a50| 0a 09 6d 61 69 6c 20 2d | 66 20 3d 6d 61 69 6c 62 |..mail -|f =mailb|
|00001a60| 6f 78 0a 0a 09 6d 61 69 | 6c 0a 0a 77 69 6c 6c 20 |ox...mai|l..will |
|00001a70| 61 6c 6c 20 64 6f 20 74 | 68 65 20 6f 62 76 69 6f |all do t|he obvio|
|00001a80| 75 73 2e 20 4d 61 69 6c | 20 77 69 6c 6c 20 61 70 |us. Mail| will ap|
|00001a90| 70 65 6e 64 20 61 20 2e | 73 69 67 6e 61 74 75 72 |pend a .|signatur|
|00001aa0| 65 20 69 66 20 69 74 20 | 63 61 6e 20 66 69 6e 64 |e if it |can find|
|00001ab0| 20 6f 6e 65 2c 20 61 6e | 64 0a 77 69 6c 6c 20 6b | one, an|d.will k|
|00001ac0| 65 65 70 20 61 20 63 6f | 70 79 20 6f 66 20 79 6f |eep a co|py of yo|
|00001ad0| 75 72 20 6f 75 74 67 6f | 69 6e 67 20 6d 61 69 6c |ur outgo|ing mail|
|00001ae0| 20 69 6e 20 3d 6d 61 69 | 6c 2e 73 65 6e 74 2e 0a | in =mai|l.sent..|
|00001af0| 0a 54 6f 44 6f 3a 0a 0a | 09 75 75 63 70 20 63 6f |.ToDo:..|.uucp co|
|00001b00| 6d 6d 61 6e 64 0a 09 6d | 61 69 6c 20 69 6d 70 72 |mmand..m|ail impr|
|00001b10| 6f 76 65 6d 65 6e 74 73 | 0a 09 62 75 67 20 66 69 |ovements|..bug fi|
|00001b20| 78 65 73 20 74 6f 20 75 | 75 70 63 2f 64 63 70 0a |xes to u|upc/dcp.|
|00001b30| 09 70 6f 72 74 73 20 74 | 6f 20 41 74 61 72 69 2c |.ports t|o Atari,|
|00001b40| 20 41 6d 69 67 61 2c 20 | 49 42 4d 20 50 43 2c 20 | Amiga, |IBM PC, |
|00001b50| 56 4d 53 0a 0a 0a 4d 61 | 6b 65 66 69 6c 65 09 2d |VMS...Ma|kefile.-|
|00001b60| 20 73 61 6d 70 6c 65 20 | 4d 61 6b 65 66 69 6c 65 | sample |Makefile|
|00001b70| 20 28 4d 61 63 69 6e 74 | 6f 73 68 20 41 7a 74 65 | (Macint|osh Azte|
|00001b80| 63 20 43 29 0a 67 65 74 | 61 72 67 73 2e 63 20 09 |c C).get|args.c .|
|00001b90| 2d 20 6c 69 62 72 61 72 | 79 20 72 6f 75 74 69 6e |- librar|y routin|
|00001ba0| 65 0a 6c 6d 61 69 6c 2e | 63 20 09 2d 20 64 65 66 |e.lmail.|c .- def|
|00001bb0| 69 6e 65 20 4c 4d 41 49 | 4c 3b 20 69 6e 63 6c 75 |ine LMAI|L; inclu|
|00001bc0| 64 65 20 70 63 6d 61 69 | 6c 0a 6d 61 69 6c 2e 63 |de pcmai|l.mail.c|
|00001bd0| 20 20 09 2d 20 6d 61 69 | 6c 20 70 72 6f 67 72 61 | .- mai|l progra|
|00001be0| 6d 20 28 55 41 29 0a 70 | 63 6d 61 69 6c 2e 63 20 |m (UA).p|cmail.c |
|00001bf0| 09 2d 20 6d 61 69 6c 20 | 70 72 6f 67 72 61 6d 20 |.- mail |program |
|00001c00| 28 4d 54 41 29 0a 72 6d | 61 69 6c 2e 63 20 09 2d |(MTA).rm|ail.c .-|
|00001c10| 20 64 65 66 69 6e 65 20 | 52 4d 41 49 4c 3b 20 69 | define |RMAIL; i|
|00001c20| 6e 63 6c 75 64 65 20 70 | 63 6d 61 69 6c 0a 6c 69 |nclude p|cmail.li|
|00001c30| 62 2e 63 09 09 2d 20 6d | 69 73 63 20 6c 69 62 72 |b.c..- m|isc libr|
|00001c40| 61 72 79 20 72 6f 75 74 | 69 6e 65 73 2c 20 46 4f |ary rout|ines, FO|
|00001c50| 50 45 4e 2c 20 43 52 45 | 41 54 2c 20 67 65 74 61 |PEN, CRE|AT, geta|
|00001c60| 72 67 73 2c 20 70 72 69 | 6e 74 6d 73 67 0a 0a 68 |rgs, pri|ntmsg..h|
|00001c70| 6f 73 74 2e 68 20 09 09 | 2d 20 70 72 6f 74 6f 74 |ost.h ..|- protot|
|00001c80| 79 70 65 20 66 6f 72 20 | 68 6f 73 74 2e 63 2c 20 |ype for |host.c, |
|00001c90| 69 6e 63 6c 75 64 65 73 | 20 22 6c 6f 63 61 6c 2f |includes| "local/|
|00001ca0| 68 6f 73 74 2e 68 22 0a | 6d 61 69 6c 68 6f 73 74 |host.h".|mailhost|
|00001cb0| 2e 63 20 09 2d 20 64 69 | 74 74 6f 20 66 6f 72 20 |.c .- di|tto for |
|00001cc0| 6d 61 69 6c 68 6f 73 74 | 2e 63 2c 20 69 6e 63 6c |mailhost|.c, incl|
|00001cd0| 75 64 65 73 20 22 6c 6f | 63 61 6c 2f 68 6f 73 74 |udes "lo|cal/host|
|00001ce0| 2e 63 22 0a 6d 6c 69 62 | 2e 63 20 09 09 2d 20 64 |.c".mlib|.c ..- d|
|00001cf0| 69 74 74 6f 20 66 6f 72 | 20 6d 6c 69 62 2e 63 2c |itto for| mlib.c,|
|00001d00| 20 09 69 6e 63 6c 75 64 | 65 73 20 22 6c 6f 63 61 | .includ|es "loca|
|00001d10| 6c 2f 6d 6c 69 62 2e 63 | 22 0a 75 6c 69 62 2e 63 |l/mlib.c|".ulib.c|
|00001d20| 20 09 09 2d 20 64 69 74 | 74 6f 20 66 6f 72 20 75 | ..- dit|to for u|
|00001d30| 6c 69 62 2e 63 2c 20 09 | 69 6e 63 6c 75 64 65 73 |lib.c, .|includes|
|00001d40| 20 22 6c 6f 63 61 6c 2f | 75 6c 69 62 2e 63 22 0a | "local/|ulib.c".|
|00001d50| 75 75 68 6f 73 74 2e 63 | 20 09 2d 20 64 69 74 74 |uuhost.c| .- ditt|
|00001d60| 6f 20 66 6f 72 20 75 75 | 68 6f 73 74 2e 63 2c 20 |o for uu|host.c, |
|00001d70| 09 69 6e 63 6c 75 64 65 | 73 20 22 6c 6f 63 61 6c |.include|s "local|
|00001d80| 2f 68 6f 73 74 2e 63 22 | 0a 0a 0a 70 63 6d 61 69 |/host.c"|...pcmai|
|00001d90| 6c 20 69 6e 20 67 65 6e | 65 72 61 6c 0a 50 63 6d |l in gen|eral.Pcm|
|00001da0| 61 69 6c 20 70 72 6f 76 | 69 64 65 73 20 4d 54 41 |ail prov|ides MTA|
|00001db0| 20 66 75 6e 63 74 69 6f | 6e 61 6c 69 74 79 2e 20 | functio|nality. |
|00001dc0| 49 74 20 64 65 6c 69 76 | 65 72 73 20 74 68 65 20 |It deliv|ers the |
|00001dd0| 6d 61 69 6c 2e 20 43 75 | 72 72 65 6e 74 6c 79 20 |mail. Cu|rrently |
|00001de0| 69 74 20 69 73 0a 76 65 | 72 79 20 64 75 6d 62 20 |it is.ve|ry dumb |
|00001df0| 61 62 6f 75 74 20 66 6f | 72 77 61 72 64 69 6e 67 |about fo|rwarding|
|00001e00| 20 6d 61 69 6c 2e 20 4c | 6f 63 61 6c 20 64 65 6c | mail. L|ocal del|
|00001e10| 69 76 65 72 69 65 73 20 | 61 6c 77 61 79 73 20 73 |iveries |always s|
|00001e20| 75 63 63 65 65 64 20 69 | 66 20 74 68 65 72 65 0a |ucceed i|f there.|
|00001e30| 69 73 20 72 6f 6f 6d 20 | 61 6e 64 20 74 68 65 20 |is room |and the |
|00001e40| 6d 61 69 6c 20 73 70 6f | 6f 6c 69 6e 67 20 64 69 |mail spo|oling di|
|00001e50| 72 65 63 74 6f 72 79 20 | 65 78 69 73 74 73 2e 20 |rectory |exists. |
|00001e60| 4e 6f 20 22 2f 65 74 63 | 2f 70 61 73 73 77 64 22 |No "/etc|/passwd"|
|00001e70| 20 66 69 6c 65 20 6c 69 | 73 74 0a 6f 66 20 75 73 | file li|st.of us|
|00001e80| 65 72 73 20 69 73 20 75 | 73 65 64 20 74 6f 20 64 |ers is u|sed to d|
|00001e90| 65 74 65 72 6d 69 6e 65 | 20 69 66 20 74 68 65 72 |etermine| if ther|
|00001ea0| 65 20 72 65 61 6c 6c 79 | 20 69 73 20 61 20 6d 61 |e really| is a ma|
|00001eb0| 69 6c 62 6f 78 20 66 6f | 72 20 61 6e 20 69 6e 63 |ilbox fo|r an inc|
|00001ec0| 6f 6d 69 6e 67 0a 6d 65 | 73 73 61 67 65 2e 20 41 |oming.me|ssage. A|
|00001ed0| 6c 73 6f 20 6f 75 74 67 | 6f 69 6e 67 20 6d 61 69 |lso outg|oing mai|
|00001ee0| 6c 20 69 73 20 61 73 73 | 75 6d 65 64 20 74 6f 20 |l is ass|umed to |
|00001ef0| 67 6f 20 74 6f 20 6f 6e | 65 20 73 6d 61 72 74 20 |go to on|e smart |
|00001f00| 68 6f 73 74 20 66 6f 72 | 20 0a 70 72 6f 63 65 73 |host for| .proces|
|00001f10| 73 69 6e 67 2e 20 54 68 | 69 73 20 69 73 20 64 65 |sing. Th|is is de|
|00001f20| 74 65 72 6d 69 6e 65 64 | 20 62 79 20 73 63 61 6e |termined| by scan|
|00001f30| 6e 69 6e 67 20 66 6f 72 | 20 22 21 22 20 6f 72 20 |ning for| "!" or |
|00001f40| 22 40 22 20 69 6e 20 74 | 68 65 20 61 64 64 72 65 |"@" in t|he addre|
|00001f50| 73 73 2e 0a 0a 42 6f 74 | 68 20 6c 6f 63 61 6c 20 |ss...Bot|h local |
|00001f60| 61 6e 64 20 72 65 6d 6f | 74 65 20 64 65 6c 69 76 |and remo|te deliv|
|00001f70| 65 72 79 20 61 6c 67 6f | 72 69 74 68 6d 73 20 63 |ery algo|rithms c|
|00001f80| 6f 75 6c 64 20 62 65 20 | 73 6f 75 70 65 64 20 75 |ould be |souped u|
|00001f90| 70 2e 20 4c 6f 63 61 6c | 6c 79 20 77 65 0a 73 68 |p. Local|ly we.sh|
|00001fa0| 6f 75 6c 64 20 6d 61 69 | 6e 74 61 69 6e 20 61 20 |ould mai|ntain a |
|00001fb0| 6c 69 73 74 20 6f 66 20 | 6d 61 69 6c 62 6f 78 65 |list of |mailboxe|
|00001fc0| 73 2e 20 46 6f 72 20 72 | 65 6d 6f 74 65 20 77 65 |s. For r|emote we|
|00001fd0| 20 73 68 6f 75 6c 64 20 | 61 74 74 65 6d 70 74 20 | should |attempt |
|00001fe0| 74 6f 20 62 75 69 6c 64 | 0a 61 20 70 61 74 68 20 |to build|.a path |
|00001ff0| 74 6f 20 74 68 65 20 6d | 6f 73 74 20 72 65 61 73 |to the m|ost reas|
|00002000| 6f 6e 61 62 6c 65 20 68 | 6f 73 74 20 66 6f 72 20 |onable h|ost for |
|00002010| 66 6f 72 77 61 72 64 69 | 6e 67 20 61 20 73 70 65 |forwardi|ng a spe|
|00002020| 63 69 66 69 63 20 6d 65 | 73 73 61 67 65 2e 20 54 |cific me|ssage. T|
|00002030| 68 69 73 0a 77 69 6c 6c | 20 72 65 71 75 69 72 65 |his.will| require|
|00002040| 20 61 20 73 6d 61 6c 6c | 20 76 65 72 73 69 6f 6e | a small| version|
|00002050| 20 6f 66 20 74 68 65 20 | 70 61 74 68 73 20 64 61 | of the |paths da|
|00002060| 74 61 62 61 73 65 20 6d | 6f 73 74 20 6c 69 6b 65 |tabase m|ost like|
|00002070| 6c 79 2e 20 49 66 20 79 | 6f 75 72 20 0a 6f 6e 6c |ly. If y|our .onl|
|00002080| 79 20 74 61 6c 6b 69 6e | 67 20 74 6f 20 6f 6e 65 |y talkin|g to one|
|00002090| 20 68 6f 73 74 20 61 6e | 79 77 61 79 20 74 68 65 | host an|yway the|
|000020a0| 20 63 75 72 72 65 6e 74 | 20 73 63 68 65 6d 65 20 | current| scheme |
|000020b0| 69 73 20 6e 6f 74 20 61 | 6c 6c 20 74 68 61 74 20 |is not a|ll that |
|000020c0| 62 61 64 2e 0a 0a 50 63 | 6d 61 69 6c 20 68 61 73 |bad...Pc|mail has|
|000020d0| 20 6f 6e 65 20 61 64 64 | 69 74 69 6f 6e 61 6c 20 | one add|itional |
|000020e0| 63 61 70 61 62 69 6c 69 | 74 79 20 77 68 69 63 68 |capabili|ty which|
|000020f0| 20 69 73 20 6e 6f 74 20 | 63 75 72 72 65 6e 74 6c | is not |currentl|
|00002100| 79 20 62 65 69 6e 67 20 | 65 78 70 6c 6f 69 74 65 |y being |exploite|
|00002110| 64 2e 0a 49 74 20 63 61 | 6e 20 61 64 64 20 61 64 |d..It ca|n add ad|
|00002120| 64 69 74 69 6f 6e 61 6c | 20 6d 65 73 73 61 67 65 |ditional| message|
|00002130| 20 6c 65 6e 67 74 68 20 | 68 65 61 64 65 72 20 6c | length |header l|
|00002140| 69 6e 65 73 20 61 6e 64 | 20 73 70 6f 6f 6c 20 6d |ines and| spool m|
|00002150| 61 69 6c 20 69 6e 74 6f | 20 61 20 0a 6d 61 69 6c |ail into| a .mail|
|00002160| 62 61 67 2e 20 54 68 69 | 73 20 6d 61 69 6c 62 61 |bag. Thi|s mailba|
|00002170| 67 20 63 6f 75 6c 64 20 | 74 68 65 6e 20 62 65 20 |g could |then be |
|00002180| 73 65 6e 74 20 69 6e 74 | 61 63 74 20 74 6f 20 79 |sent int|act to y|
|00002190| 6f 75 72 20 68 6f 73 74 | 20 66 6f 72 20 70 72 6f |our host| for pro|
|000021a0| 63 65 73 73 69 6e 67 2e | 0a 54 68 65 20 68 6f 73 |cessing.|.The hos|
|000021b0| 74 20 6d 75 73 74 20 72 | 75 6e 20 72 70 63 6d 61 |t must r|un rpcma|
|000021c0| 69 6c 20 28 61 76 61 69 | 6c 62 6c 65 20 66 72 6f |il (avai|lble fro|
|000021d0| 6d 20 73 6c 40 76 61 6e | 2d 62 63 2e 75 75 63 70 |m sl@van|-bc.uucp|
|000021e0| 29 20 74 6f 20 75 6e 62 | 61 74 63 68 20 74 68 65 |) to unb|atch the|
|000021f0| 0a 6d 65 73 73 61 67 65 | 73 20 74 6f 20 72 6d 61 |.message|s to rma|
|00002200| 69 6c 2e 20 54 68 69 73 | 20 63 6f 72 72 65 73 70 |il. This| corresp|
|00002210| 6f 6e 64 73 20 74 6f 20 | 74 68 65 20 41 54 26 54 |onds to |the AT&T|
|00002220| 20 4d 61 69 6c 20 70 72 | 6f 74 6f 63 6f 6c 20 66 | Mail pr|otocol f|
|00002230| 6f 72 20 75 70 6c 6f 61 | 64 69 6e 67 0a 6d 61 69 |or uploa|ding.mai|
|00002240| 6c 20 66 72 6f 6d 20 50 | 43 27 73 2e 0a 0a 4d 6f |l from P|C's...Mo|
|00002250| 73 74 20 6c 69 6b 65 6c | 79 20 74 68 65 20 63 6f |st likel|y the co|
|00002260| 6e 76 65 72 73 65 20 63 | 61 70 61 62 69 6c 69 74 |nverse c|apabilit|
|00002270| 79 20 77 6f 75 6c 64 20 | 62 65 20 6d 6f 72 65 20 |y would |be more |
|00002280| 73 75 69 74 61 62 6c 65 | 2e 20 48 61 76 65 20 74 |suitable|. Have t|
|00002290| 68 65 20 68 6f 73 74 20 | 0a 62 61 74 63 68 20 69 |he host |.batch i|
|000022a0| 6e 63 6f 6d 69 6e 67 20 | 6d 61 69 6c 20 61 6e 64 |ncoming |mail and|
|000022b0| 20 6e 65 77 73 2e 20 55 | 6e 62 61 74 63 68 20 69 | news. U|nbatch i|
|000022c0| 74 20 6f 6e 20 74 68 69 | 73 20 73 69 64 65 2e 20 |t on thi|s side. |
|000022d0| 0a 0a 70 63 6d 61 69 6c | 20 2f 20 4c 4d 41 69 4c |..pcmail| / LMAiL|
|000022e0| 0a 54 68 65 20 6d 61 69 | 6c 20 55 41 20 69 73 20 |.The mai|l UA is |
|000022f0| 63 6f 6d 70 6f 73 65 64 | 20 6f 66 20 74 68 65 20 |composed| of the |
|00002300| 6d 61 69 6c 2e 63 20 70 | 72 6f 67 72 61 6d 20 61 |mail.c p|rogram a|
|00002310| 6e 64 20 70 63 6d 61 69 | 6c 2e 63 20 63 6f 6d 70 |nd pcmai|l.c comp|
|00002320| 69 6c 65 64 20 77 69 74 | 68 6f 75 74 0a 64 65 66 |iled wit|hout.def|
|00002330| 69 6e 69 6e 67 20 52 4d | 41 49 4c 20 28 4c 4d 41 |ining RM|AIL (LMA|
|00002340| 49 4c 29 2e 20 54 68 65 | 20 4c 4d 41 49 4c 20 76 |IL). The| LMAIL v|
|00002350| 65 72 73 69 6f 6e 20 6f | 66 20 70 63 6d 61 69 6c |ersion o|f pcmail|
|00002360| 20 61 64 64 73 20 72 66 | 63 38 32 32 20 68 65 61 | adds rf|c822 hea|
|00002370| 64 65 72 73 0a 74 6f 20 | 61 6c 6c 20 6d 61 69 6c |ders.to |all mail|
|00002380| 2c 20 63 6f 70 69 65 73 | 20 6d 61 69 6c 20 74 6f |, copies| mail to|
|00002390| 20 3d 6d 61 69 6c 2e 73 | 65 6e 74 20 65 74 63 2e | =mail.s|ent etc.|
|000023a0| 0a 0a 70 63 6d 61 69 6c | 20 2f 20 52 4d 41 49 4c |..pcmail| / RMAIL|
|000023b0| 0a 54 68 65 20 75 75 20 | 70 72 6f 67 72 61 6d 20 |.The uu |program |
|000023c0| 63 6f 6e 74 61 69 6e 73 | 20 74 68 65 20 52 4d 41 |contains| the RMA|
|000023d0| 49 4c 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 70 63 |IL versi|on of pc|
|000023e0| 6d 61 69 6c 2e 20 49 74 | 20 6f 6e 6c 79 20 61 64 |mail. It| only ad|
|000023f0| 64 73 20 74 68 65 20 46 | 72 6f 6d 20 0a 52 65 63 |ds the F|rom .Rec|
|00002400| 65 69 76 65 64 3a 20 68 | 65 61 64 65 72 73 20 74 |eived: h|eaders t|
|00002410| 6f 20 69 6e 63 6f 6d 69 | 6e 67 20 6d 61 69 6c 2e |o incomi|ng mail.|
|00002420| 20 0a 0a 0a 0a 46 6f 72 | 20 6d 6f 72 65 20 69 6e | ....For| more in|
|00002430| 66 6f 72 6d 61 74 69 6f | 6e 2c 20 62 75 67 20 66 |formatio|n, bug f|
|00002440| 69 78 65 73 2c 20 6d 6f | 72 65 20 63 6f 6d 6d 61 |ixes, mo|re comma|
|00002450| 6e 64 73 20 65 74 63 3a | 0a 0a 09 09 53 74 75 61 |nds etc:|....Stua|
|00002460| 72 74 2e 4c 79 6e 6e 65 | 40 76 61 6e 2d 62 63 2e |rt.Lynne|@van-bc.|
|00002470| 75 75 63 70 0a 09 09 36 | 30 34 2d 39 33 37 2d 37 |uucp...6|04-937-7|
|00002480| 35 33 32 0a 0a 0a 44 69 | 72 65 63 74 6f 72 79 20 |532...Di|rectory |
|00002490| 74 72 65 65 0a 0a 2f 75 | 73 72 0a 2f 75 73 72 2f |tree../u|sr./usr/|
|000024a0| 6c 69 62 0a 2f 75 73 72 | 2f 6c 69 62 2f 75 75 63 |lib./usr|/lib/uuc|
|000024b0| 70 0a 2f 75 73 72 2f 6c | 69 62 2f 75 75 63 70 2f |p./usr/l|ib/uucp/|
|000024c0| 53 45 51 46 09 09 09 2d | 20 73 65 71 75 65 6e 63 |SEQF...-| sequenc|
|000024d0| 65 20 6e 75 6d 62 65 72 | 73 0a 2f 75 73 72 2f 6c |e number|s./usr/l|
|000024e0| 69 62 2f 75 75 63 70 2f | 73 79 73 74 65 6d 73 09 |ib/uucp/|systems.|
|000024f0| 09 2d 20 68 6f 73 74 20 | 63 6f 6e 6e 65 63 74 69 |.- host |connecti|
|00002500| 6f 6e 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 0a 2f |on infor|mation./|
|00002510| 75 73 72 2f 73 70 6f 6f | 6c 0a 2f 75 73 72 2f 73 |usr/spoo|l./usr/s|
|00002520| 70 6f 6f 6c 2f 6d 61 69 | 6c 09 09 09 09 2d 20 6d |pool/mai|l....- m|
|00002530| 61 69 6c 20 64 69 72 65 | 63 74 6f 72 79 0a 2f 75 |ail dire|ctory./u|
|00002540| 73 72 2f 73 70 6f 6f 6c | 2f 6d 61 69 6c 2f 58 58 |sr/spool|/mail/XX|
|00002550| 58 58 09 09 2d 20 75 73 | 65 72 20 6d 61 69 6c 20 |XX..- us|er mail |
|00002560| 66 69 6c 65 73 0a 2f 75 | 73 72 2f 73 70 6f 6f 6c |files./u|sr/spool|
|00002570| 2f 72 6e 65 77 73 09 09 | 09 2d 20 72 6e 65 77 73 |/rnews..|.- rnews|
|00002580| 20 73 70 6f 6f 6c 2f 66 | 69 6c 65 0a 2f 75 73 72 | spool/f|ile./usr|
|00002590| 2f 73 70 6f 6f 6c 2f 75 | 75 63 70 09 09 09 09 2d |/spool/u|ucp....-|
|000025a0| 20 73 70 6f 6f 6c 20 64 | 69 72 65 63 74 6f 72 79 | spool d|irectory|
|000025b0| 0a 2f 75 73 72 2f 73 70 | 6f 6f 6c 2f 75 75 63 70 |./usr/sp|ool/uucp|
|000025c0| 2f 43 2e 59 59 59 59 59 | 4e 4e 4e 4e 09 2d 20 63 |/C.YYYYY|NNNN.- c|
|000025d0| 6f 70 79 20 63 6f 6e 74 | 72 6f 6c 20 66 69 6c 65 |opy cont|rol file|
|000025e0| 73 0a 2f 75 73 72 2f 73 | 70 6f 6f 6c 2f 75 75 63 |s./usr/s|pool/uuc|
|000025f0| 70 2f 44 2e 59 59 59 59 | 59 4e 4e 4e 4e 09 2d 20 |p/D.YYYY|YNNNN.- |
|00002600| 75 75 63 70 20 64 61 74 | 61 20 66 69 6c 65 73 0a |uucp dat|a files.|
|00002610| 2f 75 73 72 2f 73 70 6f | 6f 6c 2f 75 75 63 70 2f |/usr/spo|ol/uucp/|
|00002620| 64 63 70 2e 6c 6f 67 09 | 09 2d 20 6c 6f 67 20 66 |dcp.log.|.- log f|
|00002630| 69 6c 65 0a 2f 75 73 72 | 2f 73 70 6f 6f 6c 2f 75 |ile./usr|/spool/u|
|00002640| 75 63 70 2f 58 2e 59 59 | 59 59 59 4e 4e 4e 4e 09 |ucp/X.YY|YYYNNNN.|
|00002650| 2d 20 65 78 65 63 75 74 | 65 20 63 6f 6e 74 72 6f |- execut|e contro|
|00002660| 6c 20 66 69 6c 65 73 0a | 2f 75 73 72 2f 58 58 58 |l files.|/usr/XXX|
|00002670| 58 09 09 09 09 09 2d 20 | 75 73 65 72 20 64 69 72 |X.....- |user dir|
|00002680| 65 63 74 6f 72 69 65 73 | 0a 2f 75 73 72 2f 58 58 |ectories|./usr/XX|
|00002690| 58 58 2f 2e 73 69 67 6e | 61 74 75 72 65 09 09 2d |XX/.sign|ature..-|
|000026a0| 20 73 69 67 6e 61 74 75 | 72 65 20 66 69 6c 65 0a | signatu|re file.|
|000026b0| 2f 75 73 72 2f 58 58 58 | 58 2f 4d 61 69 6c 09 09 |/usr/XXX|X/Mail..|
|000026c0| 09 09 2d 20 75 73 65 72 | 20 6d 61 69 6c 20 64 69 |..- user| mail di|
|000026d0| 72 65 63 74 6f 72 79 0a | 2f 75 73 72 2f 58 58 58 |rectory.|/usr/XXX|
|000026e0| 58 2f 4d 61 69 6c 2f 6d | 61 69 6c 2e 73 65 6e 74 |X/Mail/m|ail.sent|
|000026f0| 09 2d 20 73 65 6e 74 20 | 66 69 6c 65 0a 2f 74 6d |.- sent |file./tm|
|00002700| 70 09 09 09 09 09 09 2d | 20 74 65 6d 70 6f 72 61 |p......-| tempora|
|00002710| 72 79 20 66 69 6c 65 73 | 0a 0a 0a 0a 53 79 73 74 |ry files|....Syst|
|00002720| 65 6d 73 20 46 69 6c 65 | 20 0a 0a 4e 42 2e 20 49 |ems File| ..NB. I|
|00002730| 20 68 61 76 65 20 73 70 | 6c 69 74 20 74 68 65 20 | have sp|lit the |
|00002740| 6c 69 6e 65 73 2c 20 69 | 6e 20 74 68 65 20 72 65 |lines, i|n the re|
|00002750| 61 6c 20 66 69 6c 65 20 | 74 68 65 79 20 73 68 6f |al file |they sho|
|00002760| 75 6c 64 20 62 65 20 6f | 6e 65 20 6c 69 6e 65 20 |uld be o|ne line |
|00002770| 66 6f 72 0a 65 61 63 68 | 20 65 6e 74 72 79 2e 0a |for.each| entry..|
|00002780| 0a 54 68 69 73 20 65 6e | 74 72 79 20 75 73 65 73 |.This en|try uses|
|00002790| 20 74 68 65 20 62 75 69 | 6c 74 20 69 6e 20 48 61 | the bui|lt in Ha|
|000027a0| 79 65 73 20 64 69 61 6c | 65 72 2e 0a 0a 76 61 6e |yes dial|er...van|
|000027b0| 2d 62 63 20 41 6e 79 20 | 61 20 48 41 59 45 53 20 |-bc Any |a HAYES |
|000027c0| 54 44 39 33 39 2d 34 37 | 38 32 20 67 20 6f 67 69 |TD939-47|82 g ogi|
|000027d0| 6e 3a 2d 2d 6f 67 69 6e | 3a 20 75 75 73 6c 6d 61 |n:--ogin|: uuslma|
|000027e0| 63 20 73 77 6f 72 64 3a | 2d 5c 63 2d 73 77 6f 72 |c sword:|-\c-swor|
|000027f0| 64 3a 20 75 75 73 6c 6d | 61 63 0a 0a 09 43 6f 6e |d: uuslm|ac...Con|
|00002800| 6e 65 63 74 20 74 6f 20 | 76 61 6e 2d 62 63 20 75 |nect to |van-bc u|
|00002810| 73 69 6e 67 20 48 41 59 | 45 53 20 64 69 61 6c 65 |sing HAY|ES diale|
|00002820| 72 20 77 69 74 68 20 70 | 68 6f 6e 65 20 6e 75 6d |r with p|hone num|
|00002830| 62 65 72 20 39 33 39 2d | 34 37 38 32 20 77 69 74 |ber 939-|4782 wit|
|00002840| 68 0a 09 70 72 6f 74 6f | 63 6f 6c 20 67 2e 0a 09 |h..proto|col g...|
|00002850| 57 61 69 74 20 66 6f 72 | 20 6f 67 69 6e 3a 20 69 |Wait for| ogin: i|
|00002860| 66 20 74 69 6d 65 6f 75 | 74 20 73 65 6e 64 20 5c |f timeou|t send \|
|00002870| 6e 20 61 6e 64 20 77 61 | 69 74 20 66 6f 72 20 6f |n and wa|it for o|
|00002880| 67 69 6e 3a 2e 0a 09 53 | 65 6e 64 20 75 75 73 6c |gin:...S|end uusl|
|00002890| 6d 61 63 20 28 6c 6f 67 | 69 6e 20 49 44 29 2e 0a |mac (log|in ID)..|
|000028a0| 09 57 61 69 74 20 66 6f | 72 20 73 77 6f 72 64 3a |.Wait fo|r sword:|
|000028b0| 2c 20 69 66 20 74 69 6d | 65 6f 75 74 20 73 65 6e |, if tim|eout sen|
|000028c0| 64 20 6e 6f 74 68 69 6e | 67 2c 20 77 61 69 74 20 |d nothin|g, wait |
|000028d0| 66 6f 72 20 73 77 6f 72 | 64 3a 0a 09 53 65 6e 64 |for swor|d:..Send|
|000028e0| 20 75 75 73 6c 61 6d 63 | 20 28 6c 6f 67 69 6e 20 | uuslamc| (login |
|000028f0| 49 44 29 2e 0a 09 0a 49 | 20 75 73 65 20 74 68 69 |ID)....I| use thi|
|00002900| 73 20 65 6e 74 72 79 20 | 74 6f 20 63 6f 6e 6e 65 |s entry |to conne|
|00002910| 63 74 20 76 69 61 20 61 | 20 44 43 20 48 61 79 65 |ct via a| DC Haye|
|00002920| 73 20 53 6d 61 72 74 6d | 6f 64 65 6d 20 32 34 30 |s Smartm|odem 240|
|00002930| 30 2c 20 64 69 61 6c 69 | 6e 67 20 65 78 70 6c 69 |0, diali|ng expli|
|00002940| 63 69 74 79 2e 0a 0a 76 | 61 6e 2d 62 63 20 41 6e |city...v|an-bc An|
|00002950| 79 20 61 20 44 49 52 20 | 32 34 30 30 20 67 20 22 |y a DIR |2400 g "|
|00002960| 22 20 41 54 5a 20 4f 4b | 2d 5c 64 2b 2b 2b 5c 64 |" ATZ OK|-\d+++\d|
|00002970| 41 54 5a 2d 4f 4b 20 41 | 54 53 37 3d 31 32 20 4f |ATZ-OK A|TS7=12 O|
|00002980| 4b 20 41 54 54 44 39 33 | 39 2d 34 37 38 32 20 0a |K ATTD93|9-4782 .|
|00002990| 09 43 4f 4e 4e 45 43 54 | 20 5c 64 5c 63 20 6f 67 |.CONNECT| \d\c og|
|000029a0| 69 6e 3a 2d 2d 6f 67 69 | 6e 3a 20 75 75 73 6c 6d |in:--ogi|n: uuslm|
|000029b0| 61 63 20 73 77 6f 72 64 | 3a 2d 5c 63 2d 73 77 6f |ac sword|:-\c-swo|
|000029c0| 72 64 3a 20 75 75 73 6c | 6d 61 63 0a 0a 09 43 6f |rd: uusl|mac...Co|
|000029d0| 6e 6e 65 63 74 20 74 6f | 20 76 61 6e 2d 62 63 20 |nnect to| van-bc |
|000029e0| 61 74 20 32 34 30 30 20 | 6f 6e 20 70 6f 72 74 20 |at 2400 |on port |
|000029f0| 61 20 77 69 74 68 20 70 | 72 6f 74 6f 63 6f 6c 20 |a with p|rotocol |
|00002a00| 67 2e 20 0a 09 45 78 70 | 65 63 74 20 6e 6f 74 68 |g. ..Exp|ect noth|
|00002a10| 69 6e 67 2c 20 73 65 6e | 64 20 41 54 5a 20 74 6f |ing, sen|d ATZ to|
|00002a20| 20 72 65 73 65 74 20 74 | 68 65 20 6d 6f 64 65 6d | reset t|he modem|
|00002a30| 2c 20 0a 09 45 78 70 65 | 63 74 20 4f 4b 2c 20 69 |, ..Expe|ct OK, i|
|00002a40| 66 20 6e 6f 74 20 72 65 | 63 65 69 76 65 64 20 73 |f not re|ceived s|
|00002a50| 65 6e 64 20 70 61 75 73 | 65 20 2b 2b 2b 20 70 61 |end paus|e +++ pa|
|00002a60| 75 73 65 20 74 6f 20 74 | 72 79 20 61 6e 64 20 67 |use to t|ry and g|
|00002a70| 65 74 0a 09 6d 6f 64 65 | 6d 73 20 61 74 74 65 6e |et..mode|ms atten|
|00002a80| 74 69 6f 6e 20 61 6e 64 | 20 77 61 69 74 20 66 6f |tion and| wait fo|
|00002a90| 72 20 4f 4b 2e 0a 09 57 | 68 65 6e 20 4f 4b 20 72 |r OK...W|hen OK r|
|00002aa0| 65 63 65 69 76 65 64 2c | 20 73 65 6e 64 20 41 54 |eceived,| send AT|
|00002ab0| 53 37 3d 31 32 20 74 6f | 20 73 68 6f 72 74 65 6e |S7=12 to| shorten|
|00002ac0| 20 63 6f 6e 6e 65 63 74 | 20 74 69 6d 65 6f 75 74 | connect| timeout|
|00002ad0| 20 6f 6e 20 6d 6f 64 65 | 6d 2e 0a 09 45 78 70 65 | on mode|m...Expe|
|00002ae0| 63 74 20 4f 4b 2c 20 73 | 65 6e 64 20 41 54 54 44 |ct OK, s|end ATTD|
|00002af0| 39 33 39 2d 37 34 37 38 | 32 2e 0a 09 45 78 70 65 |939-7478|2...Expe|
|00002b00| 63 74 20 43 4f 4e 4e 45 | 43 54 2c 20 73 65 6e 64 |ct CONNE|CT, send|
|00002b10| 20 6e 6f 74 68 69 6e 67 | 20 62 75 74 20 70 61 75 | nothing| but pau|
|00002b20| 73 65 20 28 5c 63 20 69 | 73 20 6e 65 65 64 65 64 |se (\c i|s needed|
|00002b30| 29 2e 0a 09 45 78 70 65 | 63 74 20 6f 67 69 6e 3a |)...Expe|ct ogin:|
|00002b40| 2c 20 69 66 20 6e 6f 74 | 20 72 65 63 65 69 76 65 |, if not| receive|
|00002b50| 64 20 73 65 6e 64 20 6e | 65 77 6c 69 6e 65 2e 0a |d send n|ewline..|
|00002b60| 09 53 65 6e 64 20 6c 6f | 67 69 6e 20 6e 61 6d 65 |.Send lo|gin name|
|00002b70| 2e 0a 09 45 78 70 65 63 | 74 20 73 77 6f 72 64 3a |...Expec|t sword:|
|00002b80| 2c 20 73 65 6e 64 20 70 | 61 73 73 77 6f 72 64 2e |, send p|assword.|
|00002b90| 0a 0a 0a 54 68 69 73 20 | 65 6e 74 72 79 20 69 73 |...This |entry is|
|00002ba0| 20 75 73 65 64 20 74 6f | 20 63 6f 6e 6e 65 63 74 | used to| connect|
|00002bb0| 20 64 69 72 65 63 74 6c | 79 20 74 6f 20 6d 79 20 | directl|y to my |
|00002bc0| 43 61 6c 6c 61 6e 20 61 | 74 20 39 36 30 30 2e 20 |Callan a|t 9600. |
|00002bd0| 49 74 20 69 73 0a 63 6f | 6d 70 6c 69 63 61 74 65 |It is.co|mplicate|
|00002be0| 64 20 64 75 65 20 74 6f | 20 74 68 65 20 43 61 6c |d due to| the Cal|
|00002bf0| 6c 61 6e 20 72 75 6e 6e | 69 6e 67 20 61 20 73 70 |lan runn|ing a sp|
|00002c00| 65 63 69 61 6c 20 6d 67 | 65 74 74 79 20 70 72 6f |ecial mg|etty pro|
|00002c10| 67 72 61 6d 20 77 68 69 | 63 68 0a 74 68 69 6e 6b |gram whi|ch.think|
|00002c20| 73 20 69 74 20 69 73 20 | 74 61 6c 6b 69 6e 67 20 |s it is |talking |
|00002c30| 74 6f 20 61 20 48 61 79 | 65 73 20 53 6d 61 72 74 |to a Hay|es Smart|
|00002c40| 6d 6f 64 65 6d 2e 20 53 | 6f 20 77 65 20 66 61 6b |modem. S|o we fak|
|00002c50| 65 20 69 74 20 6f 75 74 | 2c 20 74 68 65 6e 0a 74 |e it out|, then.t|
|00002c60| 65 6c 6c 20 69 74 20 74 | 68 65 20 63 6f 6e 6e 65 |ell it t|he conne|
|00002c70| 63 74 69 6f 6e 20 68 61 | 73 20 62 65 65 6e 20 6d |ction ha|s been m|
|00002c80| 61 64 65 20 61 74 20 39 | 36 30 30 2c 20 74 68 65 |ade at 9|600, the|
|00002c90| 6e 20 73 77 69 74 63 68 | 20 74 6f 20 39 36 30 30 |n switch| to 9600|
|00002ca0| 20 0a 6f 75 72 73 65 6c | 76 65 73 2e 0a 0a 76 61 | .oursel|ves...va|
|00002cb0| 6e 2d 62 63 20 41 6e 79 | 20 61 20 44 49 52 20 32 |n-bc Any| a DIR 2|
|00002cc0| 34 30 30 20 67 20 22 22 | 20 4f 4b 5c 72 5c 64 5c |400 g ""| OK\r\d\|
|00002cd0| 64 52 49 4e 47 5c 72 5c | 64 43 4f 4e 4e 45 43 54 |dRING\r\|dCONNECT|
|00002ce0| 5c 73 39 36 30 30 5c 64 | 5c 7a 39 36 30 30 5c 20 |\s9600\d|\z9600\ |
|00002cf0| 0a 09 6f 67 69 6e 3a 2d | 5c 72 5c 72 2d 6f 67 69 |..ogin:-|\r\r-ogi|
|00002d00| 6e 3a 20 75 75 73 6c 6d | 61 63 20 73 77 6f 72 64 |n: uuslm|ac sword|
|00002d10| 3a 2d 5c 63 2d 73 77 6f | 72 64 3a 20 75 75 73 6c |:-\c-swo|rd: uusl|
|00002d20| 6d 61 63 20 22 22 20 5c | 64 5c 64 5c 64 5c 64 5c |mac "" \|d\d\d\d\|
|00002d30| 64 5c 64 5c 63 0a 0a 09 | 43 6f 6e 6e 65 63 74 20 |d\d\c...|Connect |
|00002d40| 74 6f 20 76 61 6e 2d 62 | 63 20 61 74 20 32 34 30 |to van-b|c at 240|
|00002d50| 30 20 6f 6e 20 70 6f 72 | 74 20 61 2e 0a 09 45 78 |0 on por|t a...Ex|
|00002d60| 70 65 63 74 20 6e 6f 74 | 68 69 6e 67 2c 20 73 65 |pect not|hing, se|
|00002d70| 6e 64 20 4f 4b 2c 20 70 | 61 75 73 65 2c 20 52 49 |nd OK, p|ause, RI|
|00002d80| 4e 47 2c 20 43 4f 4e 4e | 45 43 54 2c 20 39 36 30 |NG, CONN|ECT, 960|
|00002d90| 30 2c 20 0a 09 61 6e 64 | 20 63 68 61 6e 67 65 20 |0, ..and| change |
|00002da0| 74 6f 20 39 36 30 30 20 | 62 70 73 2e 0a 09 45 78 |to 9600 |bps...Ex|
|00002db0| 70 65 63 74 20 6f 67 69 | 6e 3a 20 73 65 6e 64 20 |pect ogi|n: send |
|00002dc0| 6c 6f 67 69 6e 20 69 64 | 2e 0a 09 45 78 70 65 63 |login id|...Expec|
|00002dd0| 74 20 73 77 6f 72 64 3a | 20 73 65 6e 64 20 70 61 |t sword:| send pa|
|00002de0| 73 73 77 6f 72 64 2e 0a | 0a 0a 0a 53 48 41 52 5f |ssword..|...SHAR_|
|00002df0| 45 4f 46 0a 63 68 6d 6f | 64 20 2b 78 20 27 52 45 |EOF.chmo|d +x 'RE|
|00002e00| 41 44 4d 45 2e 55 55 50 | 43 27 0a 66 69 20 23 20 |ADME.UUP|C'.fi # |
|00002e10| 65 6e 64 20 6f 66 20 6f | 76 65 72 77 72 69 74 69 |end of o|verwriti|
|00002e20| 6e 67 20 63 68 65 63 6b | 0a 69 66 20 74 65 73 74 |ng check|.if test|
|00002e30| 20 2d 66 20 27 52 45 41 | 44 4d 45 2e 50 4f 52 54 | -f 'REA|DME.PORT|
|00002e40| 27 0a 74 68 65 6e 0a 20 | 20 20 20 20 20 20 65 63 |'.then. | ec|
|00002e50| 68 6f 20 73 68 61 72 3a | 20 77 69 6c 6c 20 6e 6f |ho shar:| will no|
|00002e60| 74 20 6f 76 65 72 2d 77 | 72 69 74 65 20 65 78 69 |t over-w|rite exi|
|00002e70| 73 74 69 6e 67 20 66 69 | 6c 65 20 22 27 52 45 41 |sting fi|le "'REA|
|00002e80| 44 4d 45 2e 50 4f 52 54 | 27 22 0a 65 6c 73 65 0a |DME.PORT|'".else.|
|00002e90| 63 61 74 20 3c 3c 20 5c | 53 48 41 52 5f 45 4f 46 |cat << \|SHAR_EOF|
|00002ea0| 20 3e 20 27 52 45 41 44 | 4d 45 2e 50 4f 52 54 27 | > 'READ|ME.PORT'|
|00002eb0| 0a 75 75 70 63 20 50 6f | 72 74 69 6e 67 20 49 6e |.uupc Po|rting In|
|00002ec0| 66 6f 72 6d 61 74 69 6f | 6e 20 20 20 20 20 41 75 |formatio|n Au|
|00002ed0| 67 75 73 74 20 33 2c 20 | 31 39 38 37 20 20 20 20 |gust 3, |1987 |
|00002ee0| 20 20 75 75 70 63 20 44 | 65 76 65 6c 6f 70 6d 65 | uupc D|evelopme|
|00002ef0| 6e 74 0a 0a 0a 54 68 69 | 73 20 77 72 69 74 65 75 |nt...Thi|s writeu|
|00002f00| 70 20 69 73 20 61 69 6d | 65 64 20 61 74 20 70 72 |p is aim|ed at pr|
|00002f10| 6f 67 72 61 6d 6d 65 72 | 73 20 69 6e 74 65 6e 64 |ogrammer|s intend|
|00002f20| 69 6e 67 20 74 6f 20 70 | 6f 72 74 20 75 75 70 63 |ing to p|ort uupc|
|00002f30| 20 74 6f 0a 6d 61 63 68 | 69 6e 65 73 20 61 6e 64 | to.mach|ines and|
|00002f40| 20 6f 70 65 72 61 74 69 | 6e 67 20 73 79 73 74 65 | operati|ng syste|
|00002f50| 6d 73 20 77 68 69 63 68 | 20 69 74 20 64 6f 6e 27 |ms which| it don'|
|00002f60| 74 20 63 75 72 72 65 6e | 74 6c 79 20 72 75 6e 20 |t curren|tly run |
|00002f70| 6f 6e 2e 0a 49 66 20 79 | 6f 75 20 6f 6e 6c 79 20 |on..If y|ou only |
|00002f80| 77 61 6e 74 20 74 6f 20 | 69 6e 73 74 61 6c 6c 20 |want to |install |
|00002f90| 75 75 70 63 20 6f 6e 20 | 61 20 73 79 73 74 65 6d |uupc on |a system|
|00002fa0| 20 77 68 65 72 65 20 61 | 20 75 75 70 63 20 70 6f | where a| uupc po|
|00002fb0| 72 74 0a 65 78 69 73 74 | 73 2c 20 74 68 69 73 20 |rt.exist|s, this |
|00002fc0| 77 72 69 74 65 75 70 20 | 6d 69 67 68 74 20 61 6c |writeup |might al|
|00002fd0| 73 6f 20 70 72 6f 76 69 | 64 65 20 73 6f 6d 65 20 |so provi|de some |
|00002fe0| 69 6e 73 69 67 68 74 73 | 20 74 6f 20 74 68 65 0a |insights| to the.|
|00002ff0| 69 6e 74 65 72 6e 61 6c | 20 77 6f 72 6b 69 6e 67 |internal| working|
|00003000| 20 6f 66 20 75 75 70 63 | 20 61 6e 64 20 6d 61 6b | of uupc| and mak|
|00003010| 65 20 74 68 65 20 69 6e | 73 74 61 6c 6c 61 74 69 |e the in|stallati|
|00003020| 6f 6e 20 6f 66 20 75 75 | 70 63 20 6f 6e 0a 79 6f |on of uu|pc on.yo|
|00003030| 75 72 20 6d 61 63 68 69 | 6e 65 20 61 20 6d 6f 72 |ur machi|ne a mor|
|00003040| 65 20 69 6e 74 65 72 65 | 73 74 69 6e 67 20 74 61 |e intere|sting ta|
|00003050| 73 6b 2e 0a 0a 53 69 6e | 63 65 20 49 20 64 69 64 |sk...Sin|ce I did|
|00003060| 20 70 61 72 74 20 6f 66 | 20 74 68 65 20 49 42 4d | part of| the IBM|
|00003070| 2d 50 43 2f 4d 53 2d 44 | 4f 53 20 70 6f 72 74 20 |-PC/MS-D|OS port |
|00003080| 66 6f 72 20 75 75 70 63 | 2c 20 77 68 61 74 20 49 |for uupc|, what I|
|00003090| 20 77 69 6c 6c 0a 64 65 | 73 63 72 69 62 65 20 68 | will.de|scribe h|
|000030a0| 65 72 65 20 69 73 20 61 | 63 74 75 61 6c 6c 79 20 |ere is a|ctually |
|000030b0| 63 6c 6f 73 65 6c 79 20 | 72 65 6c 61 74 65 64 20 |closely |related |
|000030c0| 74 6f 20 74 68 65 20 73 | 74 72 75 63 74 75 72 65 |to the s|tructure|
|000030d0| 20 6f 66 0a 74 68 69 73 | 20 70 61 72 74 69 63 75 | of.this| particu|
|000030e0| 6c 61 72 20 70 6f 72 74 | 2e 20 20 28 49 20 61 6c |lar port|. (I al|
|000030f0| 73 6f 20 64 69 64 20 70 | 61 72 74 20 6f 66 20 74 |so did p|art of t|
|00003100| 68 65 20 70 6f 72 74 20 | 6f 66 20 75 75 70 63 27 |he port |of uupc'|
|00003110| 73 0a 6d 61 69 6c 65 72 | 20 74 6f 20 41 49 58 20 |s.mailer| to AIX |
|00003120| 28 53 56 52 31 29 20 6f | 6e 20 74 68 65 20 52 54 |(SVR1) o|n the RT|
|00003130| 2d 50 43 2e 29 20 20 57 | 68 61 74 20 69 73 20 73 |-PC.) W|hat is s|
|00003140| 68 6f 77 6e 20 68 65 72 | 65 20 69 73 20 2a 62 79 |hown her|e is *by|
|00003150| 20 6e 6f 0a 6d 65 61 6e | 2a 20 74 68 65 20 6f 6e | no.mean|* the on|
|00003160| 6c 79 20 77 61 79 20 74 | 68 69 6e 67 73 20 63 6f |ly way t|hings co|
|00003170| 75 6c 64 20 62 65 20 64 | 6f 6e 65 2c 20 69 74 27 |uld be d|one, it'|
|00003180| 73 20 6a 75 73 74 20 73 | 6f 6d 65 20 74 69 70 73 |s just s|ome tips|
|00003190| 20 61 6e 64 0a 68 69 6e | 74 73 20 74 68 61 74 20 | and.hin|ts that |
|000031a0| 49 20 63 61 6e 20 74 68 | 69 6e 6b 20 6f 66 20 61 |I can th|ink of a|
|000031b0| 66 74 65 72 20 64 6f 69 | 6e 67 20 6f 6e 65 2d 61 |fter doi|ng one-a|
|000031c0| 6e 64 2d 61 2d 68 61 6c | 66 20 70 6f 72 74 20 6f |nd-a-hal|f port o|
|000031d0| 66 0a 75 75 70 63 2e 0a | 0a 54 68 65 20 70 75 72 |f.uupc..|.The pur|
|000031e0| 70 6f 73 65 20 6f 66 20 | 74 68 69 73 20 77 72 69 |pose of |this wri|
|000031f0| 74 65 75 70 20 69 73 20 | 74 6f 20 74 72 79 20 74 |teup is |to try t|
|00003200| 6f 20 6d 61 6b 65 20 74 | 68 65 20 6c 69 66 65 20 |o make t|he life |
|00003210| 6f 66 0a 70 72 6f 67 72 | 61 6d 6d 65 72 73 20 64 |of.progr|ammers d|
|00003220| 6f 69 6e 67 20 75 75 70 | 63 20 70 6f 72 74 73 20 |oing uup|c ports |
|00003230| 66 6f 72 20 6f 74 68 65 | 72 20 6d 61 63 68 69 6e |for othe|r machin|
|00003240| 65 73 2f 6f 70 65 72 61 | 74 69 6e 67 20 73 79 73 |es/opera|ting sys|
|00003250| 74 65 6d 73 0a 65 61 73 | 69 65 72 2e 20 20 48 6f |tems.eas|ier. Ho|
|00003260| 77 65 76 65 72 2c 20 74 | 68 65 20 62 65 73 74 20 |wever, t|he best |
|00003270| 73 6f 75 72 63 65 73 20 | 6f 66 20 69 6e 66 6f 72 |sources |of infor|
|00003280| 6d 61 74 69 6f 6e 20 6f | 6e 20 68 6f 77 20 6e 65 |mation o|n how ne|
|00003290| 77 0a 70 6f 72 74 73 20 | 73 68 6f 75 6c 64 20 62 |w.ports |should b|
|000032a0| 65 20 64 6f 6e 65 20 69 | 73 20 73 74 69 6c 6c 20 |e done i|s still |
|000032b0| 62 79 20 72 65 61 64 69 | 6e 67 20 74 68 65 20 73 |by readi|ng the s|
|000032c0| 79 73 74 65 6d 2d 64 65 | 70 65 6e 64 65 6e 74 0a |ystem-de|pendent.|
|000032d0| 63 6f 64 65 20 6f 66 20 | 74 68 65 20 65 78 69 73 |code of |the exis|
|000032e0| 74 69 6e 67 20 75 75 70 | 63 20 70 6f 72 74 73 2e |ting uup|c ports.|
|000032f0| 20 20 28 54 68 69 73 20 | 69 73 20 68 6f 77 20 49 | (This |is how I|
|00003300| 20 6c 65 61 72 6e 74 20 | 68 6f 77 20 74 6f 20 64 | learnt |how to d|
|00003310| 6f 0a 6d 79 20 70 6f 72 | 74 73 2e 29 20 20 49 74 |o.my por|ts.) It|
|00003320| 20 77 6f 75 6c 64 20 61 | 6c 73 6f 20 62 65 20 75 | would a|lso be u|
|00003330| 73 65 66 75 6c 20 74 6f | 20 68 61 76 65 20 61 20 |seful to| have a |
|00003340| 6c 69 73 74 69 6e 67 20 | 6f 66 20 74 68 65 0a 73 |listing |of the.s|
|00003350| 79 73 74 65 6d 2d 64 65 | 70 65 6e 64 65 6e 74 20 |ystem-de|pendent |
|00003360| 63 6f 64 65 20 6f 66 20 | 74 68 65 20 49 42 4d 2d |code of |the IBM-|
|00003370| 50 43 2f 44 4f 53 20 70 | 6f 72 74 20 68 61 6e 64 |PC/DOS p|ort hand|
|00003380| 79 20 77 68 69 6c 65 20 | 72 65 61 64 69 6e 67 0a |y while |reading.|
|00003390| 74 68 69 73 20 77 72 69 | 74 65 75 70 2e 0a 0a 0a |this wri|teup....|
|000033a0| 54 6f 20 63 6f 6d 70 69 | 6c 65 20 75 75 70 63 2c |To compi|le uupc,|
|000033b0| 20 74 68 65 20 43 20 63 | 6f 6d 70 69 6c 65 72 20 | the C c|ompiler |
|000033c0| 61 6e 64 20 6c 69 6e 6b | 65 72 20 6f 6e 20 79 6f |and link|er on yo|
|000033d0| 75 72 20 73 79 73 74 65 | 6d 20 6d 75 73 74 20 62 |ur syste|m must b|
|000033e0| 65 0a 61 62 6c 65 20 74 | 6f 20 64 69 66 66 65 72 |e.able t|o differ|
|000033f0| 65 6e 74 69 61 74 65 20 | 62 65 74 77 65 65 6e 20 |entiate |between |
|00003400| 75 70 70 65 72 20 61 6e | 64 20 6c 6f 77 65 72 20 |upper an|d lower |
|00003410| 63 61 73 65 73 20 69 6e | 20 65 78 74 65 72 6e 61 |cases in| externa|
|00003420| 6c 0a 6e 61 6d 65 73 2e | 0a 0a 54 68 65 20 43 20 |l.names.|..The C |
|00003430| 72 75 6e 2d 74 69 6d 65 | 20 73 75 70 70 6f 72 74 |run-time| support|
|00003440| 20 6f 6e 20 79 6f 75 72 | 20 73 79 73 74 65 6d 20 | on your| system |
|00003450| 73 68 6f 75 6c 64 20 75 | 73 65 20 27 5c 6e 27 20 |should u|se '\n' |
|00003460| 61 73 20 6c 69 6e 65 0a | 73 65 70 61 72 61 74 6f |as line.|separato|
|00003470| 72 20 66 6f 72 20 2a 74 | 65 78 74 2a 20 66 69 6c |r for *t|ext* fil|
|00003480| 65 73 2e 20 20 49 66 20 | 79 6f 75 72 20 73 79 73 |es. If |your sys|
|00003490| 74 65 6d 20 75 73 65 73 | 20 6f 74 68 65 72 20 73 |tem uses| other s|
|000034a0| 65 71 75 65 6e 63 65 73 | 0a 6f 72 20 6d 65 74 68 |equences|.or meth|
|000034b0| 6f 64 73 20 74 6f 20 64 | 65 6c 69 6d 69 74 20 74 |ods to d|elimit t|
|000034c0| 65 78 74 20 66 69 6c 65 | 20 6c 69 6e 65 73 2c 20 |ext file| lines, |
|000034d0| 74 68 65 20 43 20 72 75 | 6e 2d 74 69 6d 65 20 73 |the C ru|n-time s|
|000034e0| 75 70 70 6f 72 74 0a 6d | 75 73 74 20 70 65 72 66 |upport.m|ust perf|
|000034f0| 6f 72 6d 20 74 68 65 20 | 61 70 70 72 6f 70 72 69 |orm the |appropri|
|00003500| 61 74 65 20 74 72 61 6e | 73 6c 61 74 69 6f 6e 20 |ate tran|slation |
|00003510| 66 75 6e 63 74 69 6f 6e | 73 20 66 6f 72 20 6d 61 |function|s for ma|
|00003520| 70 70 69 6e 67 20 69 6e | 0a 62 6f 74 68 20 64 69 |pping in|.both di|
|00003530| 72 65 63 74 69 6f 6e 73 | 20 77 68 65 6e 20 61 20 |rections| when a |
|00003540| 66 69 6c 65 20 69 73 20 | 6f 70 65 6e 65 64 20 69 |file is |opened i|
|00003550| 6e 20 74 65 78 74 20 6d | 6f 64 65 2e 0a 0a 49 6e |n text m|ode...In|
|00003560| 20 6f 72 64 65 72 20 74 | 6f 20 70 6f 72 74 20 75 | order t|o port u|
|00003570| 75 70 63 20 74 6f 20 61 | 20 6e 65 77 20 6d 61 63 |upc to a| new mac|
|00003580| 68 69 6e 65 2f 6f 70 65 | 72 61 74 69 6e 67 20 73 |hine/ope|rating s|
|00003590| 79 73 74 65 6d 2c 20 79 | 6f 75 20 68 61 76 65 0a |ystem, y|ou have.|
|000035a0| 74 6f 20 63 6f 6d 65 20 | 75 70 20 77 69 74 68 20 |to come |up with |
|000035b0| 61 20 6e 65 77 20 76 65 | 72 73 69 6f 6e 20 6f 66 |a new ve|rsion of|
|000035c0| 20 73 69 78 20 73 79 73 | 74 65 6d 2d 64 65 70 65 | six sys|tem-depe|
|000035d0| 6e 64 65 6e 74 20 66 69 | 6c 65 73 20 69 6e 0a 74 |ndent fi|les in.t|
|000035e0| 68 65 20 74 68 65 20 22 | 6c 6f 63 61 6c 22 20 64 |he the "|local" d|
|000035f0| 69 72 65 63 74 6f 72 79 | 2e 20 20 54 68 65 20 6e |irectory|. The n|
|00003600| 61 6d 65 73 20 6f 66 20 | 74 68 65 73 65 20 73 69 |ames of |these si|
|00003610| 78 20 66 69 6c 65 73 20 | 69 6e 20 74 68 65 0a 6c |x files |in the.l|
|00003620| 6f 63 61 6c 20 64 69 72 | 65 63 74 6f 72 79 20 61 |ocal dir|ectory a|
|00003630| 72 65 20 68 6f 73 74 2e | 68 2c 20 68 6f 73 74 2e |re host.|h, host.|
|00003640| 63 2c 20 6d 6c 69 62 2e | 63 2c 20 75 6c 69 62 2e |c, mlib.|c, ulib.|
|00003650| 63 2c 20 6e 64 69 72 2e | 68 20 61 6e 64 0a 6e 64 |c, ndir.|h and.nd|
|00003660| 69 72 2e 63 2e 0a 0a 4e | 6f 74 65 20 74 68 61 74 |ir.c...N|ote that|
|00003670| 20 74 68 65 73 65 73 20 | 66 69 6c 65 73 20 63 6f | theses |files co|
|00003680| 75 6c 64 20 69 6e 20 74 | 75 72 6e 20 23 69 6e 63 |uld in t|urn #inc|
|00003690| 6c 75 64 65 20 6f 74 68 | 65 72 20 2a 2e 63 20 61 |lude oth|er *.c a|
|000036a0| 6e 64 20 2a 2e 68 0a 66 | 69 6c 65 73 20 69 66 20 |nd *.h.f|iles if |
|000036b0| 79 6f 75 20 77 69 73 68 | 20 74 6f 20 73 65 70 61 |you wish| to sepa|
|000036c0| 72 61 74 65 20 74 68 65 | 20 73 79 73 74 65 6d 2d |rate the| system-|
|000036d0| 64 65 70 65 6e 64 65 6e | 74 20 63 6f 64 65 20 69 |dependen|t code i|
|000036e0| 6e 74 6f 20 6d 6f 72 65 | 0a 73 6d 61 6c 6c 20 66 |nto more|.small f|
|000036f0| 69 6c 65 73 2e 20 20 54 | 68 65 20 69 6d 70 6f 72 |iles. T|he impor|
|00003700| 74 61 6e 74 20 74 68 69 | 6e 67 20 68 65 72 65 20 |tant thi|ng here |
|00003710| 69 73 20 74 68 61 74 20 | 74 68 65 79 20 6d 75 73 |is that |they mus|
|00003720| 74 0a 63 6f 6c 6c 65 63 | 74 69 76 65 6c 79 20 70 |t.collec|tively p|
|00003730| 72 6f 76 69 64 65 20 74 | 68 65 20 73 61 6d 65 20 |rovide t|he same |
|00003740| 73 65 74 20 6f 66 20 72 | 6f 75 74 69 6e 65 73 2c |set of r|outines,|
|00003750| 20 67 6c 6f 62 61 6c 20 | 76 61 72 69 61 62 6c 65 | global |variable|
|00003760| 73 2c 0a 61 6e 64 20 65 | 6e 76 69 72 6f 6e 6d 65 |s,.and e|nvironme|
|00003770| 6e 74 20 74 6f 20 74 68 | 65 20 63 6f 6d 6d 6f 6e |nt to th|e common|
|00003780| 20 63 6f 64 65 2e 0a 0a | 57 68 61 74 20 73 68 6f | code...|What sho|
|00003790| 75 6c 64 20 62 65 20 63 | 6f 6e 74 61 69 6e 65 64 |uld be c|ontained|
|000037a0| 20 69 6e 20 74 68 65 73 | 65 20 73 69 78 20 66 69 | in thes|e six fi|
|000037b0| 6c 65 73 20 61 72 65 20 | 64 65 73 63 72 69 62 65 |les are |describe|
|000037c0| 20 62 65 6c 6f 77 3a 0a | 0a 0a 68 6f 73 74 2e 68 | below:.|..host.h|
|000037d0| 20 2d 20 48 6f 73 74 20 | 64 65 70 65 6e 64 65 6e | - Host |dependen|
|000037e0| 74 20 66 69 6c 65 20 76 | 69 72 74 75 61 6c 20 23 |t file v|irtual #|
|000037f0| 69 6e 63 6c 75 64 65 64 | 20 65 76 65 72 79 77 68 |included| everywh|
|00003800| 65 72 65 20 65 6c 73 65 | 2e 0a 0a 20 20 20 41 6c |ere else|... Al|
|00003810| 6d 6f 73 74 20 65 76 65 | 72 79 20 66 69 6c 65 20 |most eve|ry file |
|00003820| 69 6e 20 62 6f 74 68 20 | 74 68 65 20 63 6f 6d 6d |in both |the comm|
|00003830| 6f 6e 20 61 6e 64 20 68 | 6f 73 74 2d 64 65 70 65 |on and h|ost-depe|
|00003840| 6e 64 65 6e 74 20 63 6f | 64 65 0a 20 20 20 69 6e |ndent co|de. in|
|00003850| 63 6c 75 64 65 20 74 68 | 69 73 20 68 65 61 64 65 |clude th|is heade|
|00003860| 72 20 66 69 6c 65 2e 20 | 20 53 6f 20 69 74 20 73 |r file. | So it s|
|00003870| 68 6f 75 6c 64 20 63 6f | 6e 74 61 69 6e 73 20 61 |hould co|ntains a|
|00003880| 6c 6c 20 74 68 65 0a 20 | 20 20 23 69 6e 63 6c 75 |ll the. | #inclu|
|00003890| 64 65 73 2c 20 23 64 65 | 66 69 6e 65 73 2c 20 61 |des, #de|fines, a|
|000038a0| 6e 64 20 65 78 74 65 72 | 6e 73 20 74 68 61 74 20 |nd exter|ns that |
|000038b0| 65 76 65 72 79 62 6f 64 | 79 20 77 6f 75 6c 64 20 |everybod|y would |
|000038c0| 6e 65 65 64 2e 0a 0a 20 | 20 20 50 61 72 74 73 20 |need... | Parts |
|000038d0| 6f 66 20 74 68 65 20 75 | 75 70 63 20 63 6f 6d 6d |of the u|upc comm|
|000038e0| 6f 6e 20 63 6f 64 65 20 | 61 73 73 75 6d 65 20 42 |on code |assume B|
|000038f0| 65 72 6b 65 6c 65 79 2d | 73 74 79 6c 65 20 69 6e |erkeley-|style in|
|00003900| 64 65 78 28 29 0a 20 20 | 20 61 6e 64 20 72 69 6e |dex(). | and rin|
|00003910| 64 65 78 28 29 2c 20 73 | 6f 20 69 66 20 79 6f 75 |dex(), s|o if you|
|00003920| 72 20 73 79 73 74 65 6d | 20 73 75 70 70 6f 72 74 |r system| support|
|00003930| 73 20 6f 6e 6c 79 20 53 | 79 73 56 2d 73 74 79 6c |s only S|ysV-styl|
|00003940| 65 0a 20 20 20 73 74 72 | 63 68 72 28 29 20 61 6e |e. str|chr() an|
|00003950| 64 20 73 74 72 72 63 68 | 72 28 29 2c 20 74 68 65 |d strrch|r(), the|
|00003960| 79 20 6e 65 65 64 20 74 | 6f 20 6d 61 70 70 65 64 |y need t|o mapped|
|00003970| 20 75 73 69 6e 67 20 23 | 64 65 66 69 6e 65 0a 20 | using #|define. |
|00003980| 20 20 68 65 72 65 2e 0a | 0a 20 20 20 44 65 63 6c | here..|. Decl|
|00003990| 61 72 61 74 69 6f 6e 73 | 20 66 6f 72 20 22 6c 69 |arations| for "li|
|000039a0| 62 72 61 72 79 22 20 72 | 6f 75 74 69 6e 65 73 20 |brary" r|outines |
|000039b0| 69 6e 20 68 6f 73 74 2e | 63 2c 20 6d 6c 69 62 2e |in host.|c, mlib.|
|000039c0| 63 20 61 6e 64 0a 20 20 | 20 75 6c 69 62 2e 63 20 |c and. | ulib.c |
|000039d0| 73 68 6f 75 6c 64 20 61 | 6c 73 6f 20 62 65 20 6d |should a|lso be m|
|000039e0| 61 6b 65 20 68 65 72 65 | 20 74 6f 20 6d 61 64 65 |ake here| to made|
|000039f0| 20 74 68 65 6d 20 6b 6e | 6f 77 6e 20 74 6f 20 74 | them kn|own to t|
|00003a00| 68 65 20 72 65 73 74 0a | 20 20 20 6f 66 20 74 68 |he rest.| of th|
|00003a10| 65 20 77 6f 72 6c 64 2e | 20 20 48 6f 77 65 76 65 |e world.| Howeve|
|00003a20| 72 2c 20 64 65 63 6c 61 | 72 61 63 74 69 6f 6e 73 |r, decla|ractions|
|00003a30| 20 66 6f 72 20 74 68 65 | 20 64 69 72 65 63 74 6f | for the| directo|
|00003a40| 72 79 0a 20 20 20 73 63 | 61 6e 6e 69 6e 67 20 72 |ry. sc|anning r|
|00003a50| 6f 75 74 69 6e 65 73 20 | 73 68 6f 75 6c 64 20 62 |outines |should b|
|00003a60| 65 20 70 75 74 20 69 6e | 74 6f 20 6e 64 69 72 2e |e put in|to ndir.|
|00003a70| 68 20 69 6e 73 74 65 61 | 64 2e 0a 0a 20 20 20 49 |h instea|d... I|
|00003a80| 66 20 79 6f 75 72 20 73 | 79 73 74 65 6d 20 72 65 |f your s|ystem re|
|00003a90| 71 75 69 72 65 73 20 74 | 68 61 74 20 74 65 78 74 |quires t|hat text|
|00003aa0| 20 66 69 6c 65 20 61 6e | 64 20 62 69 6e 61 72 79 | file an|d binary|
|00003ab0| 20 66 69 69 65 73 20 62 | 65 0a 20 20 20 6f 70 65 | fiies b|e. ope|
|00003ac0| 6e 65 64 20 64 69 66 66 | 65 72 65 6e 74 6c 79 2c |ned diff|erently,|
|00003ad0| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 6d 61 70 20 | you sho|uld map |
|00003ae0| 74 68 65 20 6e 61 6d 65 | 20 27 46 49 4c 45 4d 4f |the name| 'FILEMO|
|00003af0| 44 45 27 20 69 6e 74 6f | 0a 20 20 20 27 66 69 6c |DE' into|. 'fil|
|00003b00| 65 6d 6f 64 65 27 20 77 | 69 74 68 20 61 20 23 64 |emode' w|ith a #d|
|00003b10| 65 66 69 6e 65 20 68 65 | 72 65 2e 20 20 4f 74 68 |efine he|re. Oth|
|00003b20| 65 72 77 69 73 65 2c 20 | 27 46 49 4c 45 4d 4f 44 |erwise, |'FILEMOD|
|00003b30| 45 27 20 73 68 6f 75 6c | 64 0a 20 20 20 62 65 20 |E' shoul|d. be |
|00003b40| 6d 61 70 70 65 64 20 74 | 6f 20 74 68 65 20 6e 75 |mapped t|o the nu|
|00003b50| 6c 6c 20 73 74 72 69 6e | 67 2e 0a 0a 0a 68 6f 73 |ll strin|g....hos|
|00003b60| 74 2e 63 20 2d 20 47 65 | 6e 65 72 69 63 20 6d 61 |t.c - Ge|neric ma|
|00003b70| 69 6e 20 70 72 6f 67 72 | 61 6d 20 61 6e 64 20 6c |in progr|am and l|
|00003b80| 69 62 72 61 72 79 20 72 | 6f 75 74 69 6e 65 73 20 |ibrary r|outines |
|00003b90| 66 6f 72 20 62 6f 74 68 | 20 70 61 72 74 73 2e 0a |for both| parts..|
|00003ba0| 0a 20 20 20 54 68 69 73 | 20 66 69 6c 65 20 69 6e |. This| file in|
|00003bb0| 63 6c 75 64 65 73 20 61 | 20 67 65 6e 65 72 69 63 |cludes a| generic|
|00003bc0| 20 6d 61 69 6e 20 70 72 | 6f 67 72 61 6d 20 74 68 | main pr|ogram th|
|00003bd0| 61 74 20 73 69 6d 70 6c | 79 20 73 74 61 72 74 73 |at simpl|y starts|
|00003be0| 0a 20 20 20 75 70 20 61 | 6e 64 20 63 61 6c 6c 20 |. up a|nd call |
|00003bf0| 74 68 65 20 70 72 6f 63 | 65 64 75 72 65 20 4d 41 |the proc|edure MA|
|00003c00| 49 4e 2e 20 20 4d 6f 72 | 65 20 69 6d 70 6f 72 74 |IN. Mor|e import|
|00003c10| 61 6e 74 6c 79 2c 20 74 | 68 65 0a 20 20 20 64 65 |antly, t|he. de|
|00003c20| 66 69 6e 69 74 69 6f 6e | 20 6f 66 20 61 6c 6c 20 |finition| of all |
|00003c30| 74 68 65 20 6c 69 62 72 | 61 72 79 20 72 6f 75 74 |the libr|ary rout|
|00003c40| 69 6e 65 73 20 74 68 61 | 74 20 61 72 65 20 6e 65 |ines tha|t are ne|
|00003c50| 65 64 65 64 20 62 79 20 | 62 6f 74 68 0a 20 20 20 |eded by |both. |
|00003c60| 75 75 20 61 6e 64 20 6d | 61 69 6c 20 61 72 65 20 |uu and m|ail are |
|00003c70| 61 6c 73 6f 20 68 65 72 | 65 2e 0a 0a 20 20 20 54 |also her|e... T|
|00003c80| 68 69 73 20 67 65 6e 65 | 72 69 63 20 6d 61 69 6e |his gene|ric main|
|00003c90| 20 70 72 6f 67 72 61 6d | 20 69 73 20 75 73 65 64 | program| is used|
|00003ca0| 20 74 6f 20 73 74 61 72 | 74 20 75 70 20 62 6f 74 | to star|t up bot|
|00003cb0| 68 20 75 75 20 61 6e 64 | 0a 20 20 20 6d 61 69 6c |h uu and|. mail|
|00003cc0| 2c 20 62 79 20 68 61 76 | 69 6e 67 20 74 68 65 20 |, by hav|ing the |
|00003cd0| 70 72 65 70 72 6f 63 65 | 73 73 6f 72 20 73 79 6d |preproce|ssor sym|
|00003ce0| 62 6f 6c 20 4d 41 49 4e | 20 23 64 65 66 69 6e 65 |bol MAIN| #define|
|00003cf0| 64 20 74 6f 0a 20 20 20 | 64 69 66 66 65 72 65 6e |d to. |differen|
|00003d00| 74 20 70 72 6f 63 65 64 | 75 72 65 20 6e 61 6d 65 |t proced|ure name|
|00003d10| 73 20 69 6e 20 74 68 65 | 20 66 69 6c 65 73 20 77 |s in the| files w|
|00003d20| 68 69 63 68 20 69 6e 63 | 6c 75 64 65 20 68 6f 73 |hich inc|lude hos|
|00003d30| 74 2e 63 2e 0a 20 20 20 | 54 68 69 73 20 67 65 6e |t.c.. |This gen|
|00003d40| 65 72 69 63 20 6d 61 69 | 6e 20 70 72 6f 67 72 61 |eric mai|n progra|
|00003d50| 6d 20 73 68 6f 75 6c 64 | 20 70 65 72 66 6f 72 6d |m should| perform|
|00003d60| 20 61 6c 6c 20 74 68 65 | 20 6e 65 63 65 73 73 61 | all the| necessa|
|00003d70| 72 79 0a 20 20 20 73 74 | 61 72 74 20 75 70 20 61 |ry. st|art up a|
|00003d80| 6e 64 20 77 72 61 70 20 | 75 70 20 66 75 6e 63 74 |nd wrap |up funct|
|00003d90| 69 6f 6e 73 20 61 73 20 | 72 65 71 75 69 72 65 64 |ions as |required|
|00003da0| 20 62 79 20 74 68 65 20 | 68 6f 73 74 0a 20 20 20 | by the |host. |
|00003db0| 6f 70 65 72 61 74 69 6e | 67 20 73 79 73 74 65 6d |operatin|g system|
|00003dc0| 20 61 6e 64 20 63 61 6c | 6c 20 74 68 65 20 72 6f | and cal|l the ro|
|00003dd0| 75 74 69 6e 65 20 4d 41 | 49 4e 20 77 68 69 6c 65 |utine MA|IN while|
|00003de0| 20 74 68 65 20 68 6f 73 | 74 0a 20 20 20 65 6e 76 | the hos|t. env|
|00003df0| 69 72 6f 6e 6d 65 6e 74 | 20 69 73 20 65 73 74 61 |ironment| is esta|
|00003e00| 62 6c 69 73 68 65 64 2e | 0a 0a 20 20 20 49 66 20 |blished.|.. If |
|00003e10| 74 68 65 20 70 72 65 70 | 72 6f 63 65 73 73 6f 72 |the prep|rocessor|
|00003e20| 20 73 79 6d 62 6f 6c 20 | 43 57 44 53 50 4f 4f 4c | symbol |CWDSPOOL|
|00003e30| 20 69 73 20 23 64 65 66 | 69 6e 65 64 20 62 79 20 | is #def|ined by |
|00003e40| 74 68 65 20 66 69 6c 65 | 0a 20 20 20 74 68 61 74 |the file|. that|
|00003e50| 20 23 69 6e 63 6c 75 64 | 65 73 20 68 6f 73 74 2e | #includ|es host.|
|00003e60| 63 2c 20 74 68 65 20 6d | 61 69 6e 20 70 72 6f 67 |c, the m|ain prog|
|00003e70| 72 61 6d 20 73 68 6f 75 | 6c 64 20 63 68 61 6e 67 |ram shou|ld chang|
|00003e80| 65 20 74 68 65 0a 20 20 | 20 63 75 72 72 65 6e 74 |e the. | current|
|00003e90| 20 77 6f 72 6b 69 6e 67 | 20 64 69 72 65 63 74 6f | working| directo|
|00003ea0| 72 79 20 74 6f 20 74 68 | 65 20 73 70 6f 6f 6c 69 |ry to th|e spooli|
|00003eb0| 6e 67 20 64 69 72 65 63 | 74 6f 72 79 20 62 65 66 |ng direc|tory bef|
|00003ec0| 6f 72 65 0a 20 20 20 63 | 61 6c 6c 69 6e 67 20 4d |ore. c|alling M|
|00003ed0| 41 49 4e 2c 20 61 6e 64 | 20 73 77 69 74 63 68 20 |AIN, and| switch |
|00003ee0| 62 61 63 6b 20 74 6f 20 | 74 68 65 20 6f 72 67 69 |back to |the orgi|
|00003ef0| 6e 61 6c 20 64 69 72 65 | 63 74 6f 72 79 20 61 66 |nal dire|ctory af|
|00003f00| 74 65 72 0a 20 20 20 4d | 41 49 4e 20 68 61 64 20 |ter. M|AIN had |
|00003f10| 72 65 74 75 72 6e 65 64 | 2e 0a 0a 20 20 20 54 68 |returned|... Th|
|00003f20| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 61 72 65 20 |e follow|ing are |
|00003f30| 74 68 65 20 6f 74 68 65 | 72 20 72 6f 75 74 69 6e |the othe|r routin|
|00003f40| 65 73 20 72 65 73 69 64 | 69 6e 67 20 69 6e 20 68 |es resid|ing in h|
|00003f50| 6f 73 74 2e 63 20 61 6e | 64 0a 20 20 20 75 73 65 |ost.c an|d. use|
|00003f60| 64 20 62 79 20 74 68 65 | 20 6f 74 68 65 72 73 20 |d by the| others |
|00003f70| 70 61 72 74 73 20 6f 66 | 20 62 6f 74 68 20 75 75 |parts of| both uu|
|00003f80| 20 61 6e 64 20 6d 61 69 | 6c 3a 0a 0a 20 20 20 69 | and mai|l:.. i|
|00003f90| 6d 70 6f 72 74 70 61 74 | 68 20 2d 20 41 20 64 65 |mportpat|h - A de|
|00003fa0| 74 65 72 6d 69 6e 69 73 | 74 69 63 20 66 75 6e 63 |terminis|tic func|
|00003fb0| 74 69 6f 6e 20 77 68 69 | 63 68 20 6d 61 70 73 20 |tion whi|ch maps |
|00003fc0| 61 20 63 61 6e 6f 6e 69 | 63 61 6c 0a 20 20 20 20 |a canoni|cal. |
|00003fd0| 20 20 66 69 6c 65 20 6e | 61 6d 65 20 74 6f 20 61 | file n|ame to a|
|00003fe0| 20 6c 6f 63 61 6c 20 66 | 69 6c 65 20 6e 61 6d 65 | local f|ile name|
|00003ff0| 2e 20 20 54 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |. This |function|
|00004000| 20 6d 75 73 74 20 62 65 | 0a 20 20 20 20 20 20 64 | must be|. d|
|00004010| 65 74 65 72 6d 69 6e 69 | 73 74 69 63 20 28 69 2e |etermini|stic (i.|
|00004020| 65 2e 20 61 6c 77 61 79 | 73 20 72 65 74 75 72 6e |e. alway|s return|
|00004030| 20 74 68 65 20 73 61 6d | 65 20 6c 6f 63 61 6c 20 | the sam|e local |
|00004040| 6e 61 6d 65 20 77 68 65 | 6e 0a 20 20 20 20 20 20 |name whe|n. |
|00004050| 67 69 76 65 6e 20 74 68 | 65 20 73 61 6d 65 20 63 |given th|e same c|
|00004060| 61 6e 6f 6e 69 63 61 6c | 20 6e 61 6d 65 29 20 62 |anonical| name) b|
|00004070| 65 63 61 75 73 65 20 69 | 74 20 69 73 20 75 73 65 |ecause i|t is use|
|00004080| 64 20 6f 6e 20 65 61 63 | 68 0a 20 20 20 20 20 20 |d on eac|h. |
|00004090| 63 61 6e 6f 6e 69 63 61 | 6c 20 66 69 6c 65 20 6e |canonica|l file n|
|000040a0| 61 6d 65 20 73 65 76 65 | 72 61 6c 20 74 69 6d 65 |ame seve|ral time|
|000040b0| 73 20 69 6e 20 76 61 72 | 69 6f 75 73 20 70 61 72 |s in var|ious par|
|000040c0| 74 20 6f 66 20 74 68 65 | 0a 20 20 20 20 20 20 63 |t of the|. c|
|000040d0| 6f 64 65 20 74 6f 20 6f | 62 74 61 69 6e 20 74 68 |ode to o|btain th|
|000040e0| 65 20 63 6f 72 72 65 73 | 70 6f 6e 64 69 6e 67 20 |e corres|ponding |
|000040f0| 6c 6f 63 61 6c 20 66 69 | 6c 65 20 6e 61 6d 65 2e |local fi|le name.|
|00004100| 0a 0a 20 20 20 20 20 20 | 41 20 63 61 6e 6f 6e 69 |.. |A canoni|
|00004110| 63 61 6c 20 66 69 6c 65 | 20 6e 61 6d 65 20 68 61 |cal file| name ha|
|00004120| 73 20 74 68 65 20 73 61 | 6d 65 20 66 6f 72 6d 61 |s the sa|me forma|
|00004130| 74 20 61 73 20 61 20 55 | 4e 49 58 0a 20 20 20 20 |t as a U|NIX. |
|00004140| 20 20 70 61 74 68 6e 61 | 6d 65 2c 20 61 6e 64 20 | pathna|me, and |
|00004150| 74 68 65 20 66 6f 72 6d | 61 74 20 6f 66 20 61 20 |the form|at of a |
|00004160| 6c 6f 63 61 6c 20 66 69 | 6c 65 20 6e 61 6d 65 20 |local fi|le name |
|00004170| 69 73 20 64 65 66 69 6e | 65 64 20 62 79 0a 20 20 |is defin|ed by. |
|00004180| 20 20 20 20 79 6f 75 72 | 20 6c 6f 63 61 6c 20 66 | your| local f|
|00004190| 69 6c 65 20 73 79 73 74 | 65 6d 2e 0a 0a 20 20 20 |ile syst|em... |
|000041a0| 20 20 20 54 68 69 73 20 | 66 75 6e 63 74 69 6f 6e | This |function|
|000041b0| 20 73 68 6f 75 6c 64 20 | 61 74 20 6c 65 61 73 74 | should |at least|
|000041c0| 20 70 72 65 73 65 72 76 | 65 20 74 68 65 20 66 69 | preserv|e the fi|
|000041d0| 72 73 74 20 36 20 61 6e | 64 20 6c 61 73 74 0a 20 |rst 6 an|d last. |
|000041e0| 20 20 20 20 20 32 20 63 | 68 61 72 61 63 74 65 72 | 2 c|haracter|
|000041f0| 73 20 6f 66 20 74 68 65 | 20 63 61 6e 6f 6e 69 63 |s of the| canonic|
|00004200| 61 6c 20 66 69 6c 65 20 | 6e 61 6d 65 2c 20 73 69 |al file |name, si|
|00004210| 6e 63 65 20 74 68 69 73 | 20 70 61 72 74 73 0a 20 |nce this| parts. |
|00004220| 20 20 20 20 20 6f 66 20 | 74 68 65 20 63 61 6e 6f | of |the cano|
|00004230| 6e 69 63 61 6c 20 66 69 | 6c 65 20 6e 61 6d 65 20 |nical fi|le name |
|00004240| 75 73 75 61 6c 6c 79 20 | 63 6f 6e 74 61 69 6e 20 |usually |contain |
|00004250| 74 68 65 20 73 69 74 65 | 20 6e 61 6d 65 0a 20 20 |the site| name. |
|00004260| 20 20 20 20 61 6e 64 20 | 74 68 65 20 73 65 71 75 | and |the sequ|
|00004270| 65 6e 63 65 20 6e 75 6d | 62 65 72 2c 20 77 68 69 |ence num|ber, whi|
|00004280| 63 68 20 69 73 20 63 72 | 69 74 69 63 61 6c 20 74 |ch is cr|itical t|
|00004290| 6f 20 74 68 65 0a 20 20 | 20 20 20 20 73 75 63 63 |o the. | succ|
|000042a0| 65 73 73 66 75 6c 20 6f | 70 65 72 61 74 69 6f 6e |essful o|peration|
|000042b0| 20 6f 66 20 75 75 70 63 | 2e 0a 0a 20 20 20 20 20 | of uupc|... |
|000042c0| 20 50 65 72 66 65 72 61 | 62 6c 79 20 74 68 65 20 | Perfera|bly the |
|000042d0| 6c 61 73 74 20 34 20 63 | 68 61 72 61 63 74 65 72 |last 4 c|haracter|
|000042e0| 73 20 6f 66 20 74 68 65 | 20 63 61 6e 6f 6e 69 63 |s of the| canonic|
|000042f0| 61 6c 20 66 69 6c 65 20 | 6e 61 6d 65 0a 20 20 20 |al file |name. |
|00004300| 20 20 20 73 68 6f 75 6c | 64 20 62 65 20 70 65 72 | shoul|d be per|
|00004310| 73 65 72 76 65 64 2c 20 | 73 69 6e 63 65 20 74 68 |served, |since th|
|00004320| 61 74 20 69 73 20 74 68 | 65 20 6e 75 6d 62 65 72 |at is th|e number|
|00004330| 20 6f 66 20 64 69 67 69 | 74 73 20 69 6e 0a 20 20 | of digi|ts in. |
|00004340| 20 20 20 20 74 68 65 20 | 73 65 71 75 65 6e 63 65 | the |sequence|
|00004350| 20 6e 75 6d 62 65 72 2c | 20 62 75 74 20 69 66 20 | number,| but if |
|00004360| 74 68 61 74 20 69 73 20 | 6e 6f 74 20 70 6f 73 73 |that is |not poss|
|00004370| 69 62 6c 65 2c 20 61 6e | 0a 20 20 20 20 20 20 61 |ible, an|. a|
|00004380| 74 74 65 6d 70 74 20 73 | 68 6f 75 6c 64 20 62 65 |ttempt s|hould be|
|00004390| 20 6d 61 64 65 20 74 6f | 20 70 72 65 76 65 72 73 | made to| prevers|
|000043a0| 65 20 74 68 65 20 6c 61 | 73 74 20 33 20 63 68 61 |e the la|st 3 cha|
|000043b0| 72 61 63 74 65 72 73 0a | 20 20 20 20 20 20 62 65 |racters.| be|
|000043c0| 66 6f 72 65 20 72 65 73 | 6f 72 74 69 6e 67 20 74 |fore res|orting t|
|000043d0| 6f 20 6f 6e 6c 79 20 70 | 72 65 73 65 72 76 65 20 |o only p|reserve |
|000043e0| 74 68 65 20 6c 61 73 74 | 20 32 20 63 68 61 72 61 |the last| 2 chara|
|000043f0| 63 74 65 72 73 2e 0a 20 | 20 20 20 20 20 28 57 69 |cters.. | (Wi|
|00004400| 74 68 20 6f 6e 6c 79 20 | 74 68 65 20 6c 61 73 74 |th only |the last|
|00004410| 20 32 20 63 68 61 72 61 | 63 74 65 72 73 20 70 72 | 2 chara|cters pr|
|00004420| 65 73 65 72 76 65 64 2c | 20 74 68 65 20 73 70 6f |eserved,| the spo|
|00004430| 6f 6c 20 66 69 6c 65 0a | 20 20 20 20 20 20 73 65 |ol file.| se|
|00004440| 71 75 65 6e 63 65 20 6e | 75 6d 62 65 72 20 63 79 |quence n|umber cy|
|00004450| 63 6c 65 20 77 69 6c 6c | 20 62 65 63 6f 6d 65 20 |cle will| become |
|00004460| 6f 6e 6c 79 20 31 30 30 | 20 62 65 66 6f 72 65 20 |only 100| before |
|00004470| 69 74 20 67 6f 65 73 0a | 20 20 20 20 20 20 61 72 |it goes.| ar|
|00004480| 6f 75 6e 64 20 61 67 61 | 69 6e 2e 29 0a 0a 20 20 |ound aga|in.).. |
|00004490| 20 6d 6b 66 69 6c 65 6e | 61 6d 65 20 2d 20 42 75 | mkfilen|ame - Bu|
|000044a0| 69 6c 64 20 61 20 6c 6f | 63 61 6c 20 70 61 74 68 |ild a lo|cal path|
|000044b0| 20 6e 61 6d 65 20 6f 75 | 74 20 6f 66 20 61 20 67 | name ou|t of a g|
|000044c0| 69 76 65 6e 20 6c 6f 63 | 61 6c 0a 20 20 20 20 20 |iven loc|al. |
|000044d0| 20 64 69 72 65 63 74 6f | 72 79 20 70 61 74 68 20 | directo|ry path |
|000044e0| 61 6e 64 20 6c 6f 63 61 | 6c 20 62 61 73 65 20 6e |and loca|l base n|
|000044f0| 61 6d 65 20 70 61 69 72 | 2e 20 20 49 74 20 75 73 |ame pair|. It us|
|00004500| 75 61 6c 6c 79 20 6a 75 | 73 74 0a 20 20 20 20 20 |ually ju|st. |
|00004510| 20 63 6f 6e 63 61 74 65 | 6e 61 74 65 73 20 74 68 | concate|nates th|
|00004520| 65 20 74 77 6f 20 70 61 | 72 74 73 20 74 6f 67 65 |e two pa|rts toge|
|00004530| 74 68 65 72 20 77 69 74 | 68 20 74 68 65 20 6c 6f |ther wit|h the lo|
|00004540| 63 61 6c 20 73 79 73 74 | 65 6d 27 73 0a 20 20 20 |cal syst|em's. |
|00004550| 20 20 20 64 69 72 65 63 | 74 6f 72 79 20 70 61 74 | direc|tory pat|
|00004560| 68 20 73 65 70 61 72 61 | 74 6f 72 20 62 65 74 77 |h separa|tor betw|
|00004570| 65 65 6e 20 74 68 65 6d | 2e 0a 0a 20 20 20 6c 6f |een them|... lo|
|00004580| 61 64 65 6e 76 20 2d 20 | 52 65 74 72 69 65 76 65 |adenv - |Retrieve|
|00004590| 20 63 65 72 74 61 69 6e | 20 63 6f 6e 66 69 67 75 | certain| configu|
|000045a0| 72 61 74 69 6f 6e 20 70 | 61 72 61 6d 65 74 65 72 |ration p|arameter|
|000045b0| 73 20 66 72 6f 6d 20 74 | 68 65 0a 20 20 20 20 20 |s from t|he. |
|000045c0| 20 75 73 65 72 27 73 20 | 22 65 6e 76 69 72 6f 6e | user's |"environ|
|000045d0| 6d 65 6e 74 22 20 61 6e | 64 20 6d 61 6b 65 20 74 |ment" an|d make t|
|000045e0| 68 65 6d 20 61 76 61 69 | 6c 61 62 6c 65 20 74 6f |hem avai|lable to|
|000045f0| 20 74 68 65 0a 20 20 20 | 20 20 20 70 72 6f 67 72 | the. | progr|
|00004600| 61 6d 2e 20 20 54 68 69 | 73 20 69 6e 76 6f 6c 76 |am. Thi|s involv|
|00004610| 65 73 20 66 69 6c 6c 69 | 6e 67 20 69 6e 20 74 68 |es filli|ng in th|
|00004620| 65 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 67 6c |e approp|riate gl|
|00004630| 6f 62 61 6c 0a 20 20 20 | 20 20 20 28 63 68 61 72 |obal. | (char|
|00004640| 20 2a 29 20 76 61 72 69 | 61 62 6c 65 73 20 74 6f | *) vari|ables to|
|00004650| 20 70 6f 69 6e 74 20 74 | 6f 20 74 68 65 20 61 70 | point t|o the ap|
|00004660| 70 72 6f 70 72 69 61 74 | 65 20 73 74 72 69 6e 67 |propriat|e string|
|00004670| 73 0a 20 20 20 20 20 20 | 77 68 69 63 68 20 63 6f |s. |which co|
|00004680| 6e 74 61 69 6e 73 20 74 | 68 65 20 63 68 61 72 61 |ntains t|he chara|
|00004690| 63 74 65 72 20 76 61 6c | 75 65 20 6f 66 20 74 68 |cter val|ue of th|
|000046a0| 65 20 64 65 73 69 72 65 | 64 0a 20 20 20 20 20 20 |e desire|d. |
|000046b0| 63 6f 6e 66 69 67 75 72 | 61 74 69 6f 6e 20 70 61 |configur|ation pa|
|000046c0| 72 61 6d 65 74 65 72 73 | 2e 0a 0a 20 20 20 49 66 |rameters|... If|
|000046d0| 20 79 6f 75 72 20 73 79 | 73 74 65 6d 20 72 65 71 | your sy|stem req|
|000046e0| 75 69 72 65 73 20 74 68 | 65 20 64 69 66 66 65 72 |uires th|e differ|
|000046f0| 65 6e 74 69 61 74 69 6f | 6e 20 6f 66 20 74 65 78 |entiatio|n of tex|
|00004700| 74 20 66 69 6c 65 20 61 | 6e 64 0a 20 20 20 62 69 |t file a|nd. bi|
|00004710| 6e 61 72 79 20 66 69 6c | 65 73 2c 20 79 6f 75 20 |nary fil|es, you |
|00004720| 73 68 6f 75 6c 64 20 61 | 6c 73 6f 20 73 75 70 70 |should a|lso supp|
|00004730| 6c 79 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |ly the f|ollowing|
|00004740| 20 72 6f 75 74 69 6e 65 | 2e 0a 0a 20 20 20 66 69 | routine|... fi|
|00004750| 6c 65 6d 6f 64 65 28 29 | 20 2d 20 49 66 20 74 68 |lemode()| - If th|
|00004760| 69 73 20 72 6f 75 74 69 | 6e 65 20 69 73 20 70 61 |is routi|ne is pa|
|00004770| 73 73 65 64 20 74 68 65 | 20 63 68 61 72 61 63 74 |ssed the| charact|
|00004780| 65 72 20 27 74 27 20 61 | 73 0a 20 20 20 20 20 20 |er 't' a|s. |
|00004790| 70 61 72 61 6d 65 74 65 | 72 2c 20 61 6e 79 20 73 |paramete|r, any s|
|000047a0| 75 62 73 65 71 75 65 6e | 74 6c 79 20 6f 70 65 6e |ubsequen|tly open|
|000047b0| 65 64 20 66 69 6c 65 20 | 69 6e 20 74 68 65 20 70 |ed file |in the p|
|000047c0| 72 6f 67 72 61 6d 0a 20 | 20 20 20 20 20 73 68 6f |rogram. | sho|
|000047d0| 75 6c 64 20 62 65 20 6f | 70 65 6e 65 64 20 69 6e |uld be o|pened in|
|000047e0| 20 74 65 78 74 20 6d 6f | 64 65 2e 20 20 53 69 6d | text mo|de. Sim|
|000047f0| 69 6c 61 72 6c 79 2c 20 | 69 66 20 74 68 65 20 70 |ilarly, |if the p|
|00004800| 61 72 61 6d 65 74 65 72 | 0a 20 20 20 20 20 20 69 |arameter|. i|
|00004810| 73 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 20 |s the ch|aracter |
|00004820| 27 62 27 2c 20 61 6c 6c | 20 73 75 62 73 65 71 75 |'b', all| subsequ|
|00004830| 65 6e 74 6c 79 20 6f 70 | 65 6e 65 64 20 66 69 6c |ently op|ened fil|
|00004840| 65 20 73 68 6f 75 6c 64 | 0a 20 20 20 20 20 20 62 |e should|. b|
|00004850| 65 20 6f 70 65 6e 65 64 | 20 69 6e 20 62 69 6e 61 |e opened| in bina|
|00004860| 72 79 20 6d 6f 64 65 2e | 0a 0a 0a 6d 6c 69 62 2e |ry mode.|...mlib.|
|00004870| 63 20 2d 20 4c 69 62 72 | 61 72 79 20 6f 66 20 72 |c - Libr|ary of r|
|00004880| 6f 75 74 69 6e 65 73 20 | 75 73 65 64 20 6f 6e 6c |outines |used onl|
|00004890| 79 20 62 79 20 74 68 65 | 20 6d 61 69 6c 20 70 61 |y by the| mail pa|
|000048a0| 72 74 2e 0a 0a 20 20 20 | 43 75 72 72 65 6e 74 6c |rt... |Currentl|
|000048b0| 79 20 74 68 65 72 65 20 | 69 73 20 6f 6e 6c 79 20 |y there |is only |
|000048c0| 6f 6e 65 20 72 6f 75 74 | 69 6e 65 20 69 6e 20 74 |one rout|ine in t|
|000048d0| 68 69 73 20 6c 69 62 72 | 61 72 79 2e 0a 0a 20 20 |his libr|ary... |
|000048e0| 20 67 65 74 5f 6f 6e 65 | 20 2d 20 57 61 69 74 20 | get_one| - Wait |
|000048f0| 66 6f 72 20 61 20 73 69 | 6e 67 6c 65 20 63 68 61 |for a si|ngle cha|
|00004900| 72 61 63 74 65 72 20 74 | 6f 20 62 65 20 74 79 70 |racter t|o be typ|
|00004910| 65 64 20 6f 6e 20 74 68 | 65 0a 20 20 20 20 20 20 |ed on th|e. |
|00004920| 63 6f 6e 73 6f 6c 65 20 | 6b 65 79 62 6f 61 72 64 |console |keyboard|
|00004930| 20 61 6e 64 20 72 65 74 | 75 72 6e 20 74 6f 20 74 | and ret|urn to t|
|00004940| 68 65 20 63 61 6c 6c 65 | 72 20 77 69 74 68 20 74 |he calle|r with t|
|00004950| 68 65 0a 20 20 20 20 20 | 20 63 68 61 72 61 63 74 |he. | charact|
|00004960| 65 72 20 72 65 61 64 20 | 61 73 20 73 6f 6f 6e 20 |er read |as soon |
|00004970| 61 73 20 69 74 20 69 73 | 20 70 72 65 73 73 65 64 |as it is| pressed|
|00004980| 2e 20 20 49 74 20 73 68 | 6f 72 74 2c 20 74 68 69 |. It sh|ort, thi|
|00004990| 73 20 69 73 0a 20 20 20 | 20 20 20 61 20 72 6f 75 |s is. | a rou|
|000049a0| 74 69 6e 65 20 74 68 61 | 74 20 64 65 74 65 63 74 |tine tha|t detect|
|000049b0| 73 20 61 6e 64 20 72 65 | 74 75 72 6e 73 20 61 20 |s and re|turns a |
|000049c0| 6b 65 79 70 72 65 73 73 | 2e 0a 0a 20 20 20 20 20 |keypress|... |
|000049d0| 20 54 68 69 73 20 72 6f | 75 74 69 6e 65 20 69 73 | This ro|utine is|
|000049e0| 20 75 73 65 64 20 77 68 | 65 6e 20 79 6f 75 20 72 | used wh|en you r|
|000049f0| 65 61 63 68 20 74 68 65 | 20 62 6f 74 74 6f 6d 20 |each the| bottom |
|00004a00| 6f 66 20 61 20 70 61 67 | 65 0a 20 20 20 20 20 20 |of a pag|e. |
|00004a10| 77 68 69 6c 65 20 70 61 | 67 69 6e 67 20 74 68 72 |while pa|ging thr|
|00004a20| 6f 75 67 68 20 79 6f 75 | 72 20 6d 61 69 6c 2e 0a |ough you|r mail..|
|00004a30| 0a 20 20 20 20 20 20 54 | 68 65 20 73 69 6e 67 6c |. T|he singl|
|00004a40| 65 20 63 68 61 72 61 63 | 74 65 72 20 72 65 61 64 |e charac|ter read|
|00004a50| 20 62 79 20 74 68 69 73 | 20 72 6f 75 74 69 6e 65 | by this| routine|
|00004a60| 20 73 68 6f 75 6c 64 20 | 6e 6f 74 20 62 65 0a 20 | should |not be. |
|00004a70| 20 20 20 20 20 65 63 68 | 6f 65 64 20 74 6f 20 74 | ech|oed to t|
|00004a80| 68 65 20 63 6f 6e 73 6f | 6c 65 20 73 63 72 65 65 |he conso|le scree|
|00004a90| 6e 2e 0a 0a 0a 75 6c 69 | 62 2e 63 20 2d 20 4c 69 |n....uli|b.c - Li|
|00004aa0| 62 72 61 72 79 20 6f 66 | 20 72 6f 75 74 69 6e 65 |brary of| routine|
|00004ab0| 73 20 75 73 65 64 20 6f | 6e 6c 79 20 62 79 20 74 |s used o|nly by t|
|00004ac0| 68 65 20 75 75 20 70 61 | 72 74 2e 0a 0a 20 20 20 |he uu pa|rt... |
|00004ad0| 6c 6f 67 69 6e 20 2d 20 | 54 68 65 20 6c 6f 67 67 |login - |The logg|
|00004ae0| 65 72 20 77 68 69 63 68 | 20 76 65 72 69 66 69 65 |er which| verifie|
|00004af0| 73 20 6c 6f 67 69 6e 73 | 20 61 6e 64 20 70 61 73 |s logins| and pas|
|00004b00| 73 77 6f 72 64 73 20 66 | 6f 72 0a 20 20 20 20 20 |swords f|or. |
|00004b10| 20 69 6e 63 6f 6d 69 6e | 67 20 55 55 43 50 20 63 | incomin|g UUCP c|
|00004b20| 6f 6e 6e 65 63 74 69 6f | 6e 73 2e 20 20 59 6f 75 |onnectio|ns. You|
|00004b30| 20 6f 6e 6c 79 20 6e 65 | 65 64 20 74 6f 20 68 61 | only ne|ed to ha|
|00004b40| 76 65 20 74 68 69 73 0a | 20 20 20 20 20 20 72 6f |ve this.| ro|
|00004b50| 75 74 69 6e 65 20 66 75 | 6e 63 74 69 6f 6e 61 6c |utine fu|nctional|
|00004b60| 20 69 66 20 79 6f 75 20 | 70 6c 61 6e 20 74 6f 20 | if you |plan to |
|00004b70| 65 76 65 72 20 72 75 6e | 20 79 6f 75 72 20 6e 6f |ever run| your no|
|00004b80| 64 65 20 69 6e 0a 20 20 | 20 20 20 20 73 6c 61 76 |de in. | slav|
|00004b90| 65 20 6d 6f 64 65 2e 20 | 20 69 2e 65 2e 20 57 61 |e mode. | i.e. Wa|
|00004ba0| 69 74 69 6e 67 20 6f 6e | 20 74 68 65 20 70 68 6f |iting on| the pho|
|00004bb0| 6e 65 20 6c 69 6e 65 20 | 66 6f 72 20 6f 74 68 65 |ne line |for othe|
|00004bc0| 72 20 6e 6f 64 65 73 0a | 20 20 20 20 20 20 74 6f |r nodes.| to|
|00004bd0| 20 63 61 6c 6c 20 79 6f | 75 20 74 6f 20 6d 61 6b | call yo|u to mak|
|00004be0| 65 20 55 55 43 50 20 63 | 6f 6e 6e 65 63 74 69 6f |e UUCP c|onnectio|
|00004bf0| 6e 73 2e 0a 0a 20 20 20 | 73 68 65 6c 6c 20 2d 20 |ns... |shell - |
|00004c00| 50 65 72 66 6f 72 6d 20 | 61 6e 20 55 4e 49 58 20 |Perform |an UNIX |
|00004c10| 63 6f 6d 6d 61 6e 64 20 | 73 65 6e 74 20 66 72 6f |command |sent fro|
|00004c20| 6d 20 61 20 72 65 6d 6f | 74 65 20 73 69 74 65 20 |m a remo|te site |
|00004c30| 76 69 61 0a 20 20 20 20 | 20 20 75 75 78 2e 20 20 |via. | uux. |
|00004c40| 54 6f 20 73 75 70 70 6f | 72 74 20 69 6e 63 6f 6d |To suppo|rt incom|
|00004c50| 69 6e 67 20 72 65 6d 6f | 74 65 20 6d 61 69 6c 20 |ing remo|te mail |
|00004c60| 79 6f 75 20 6e 65 65 64 | 20 74 6f 20 65 6d 75 6c |you need| to emul|
|00004c70| 61 74 65 0a 20 20 20 20 | 20 20 74 68 65 20 55 4e |ate. | the UN|
|00004c80| 49 58 20 27 72 6d 61 69 | 6c 27 20 63 6f 6d 6d 61 |IX 'rmai|l' comma|
|00004c90| 6e 64 2c 20 77 68 69 63 | 68 20 63 61 6e 20 62 65 |nd, whic|h can be|
|00004ca0| 20 65 61 73 69 6c 79 20 | 64 6f 6e 65 20 75 73 69 | easily |done usi|
|00004cb0| 6e 67 0a 20 20 20 20 20 | 20 74 68 65 20 70 63 6d |ng. | the pcm|
|00004cc0| 61 69 6c 20 70 61 63 6b | 61 67 65 20 28 63 6f 6d |ail pack|age (com|
|00004cd0| 70 69 6c 65 64 20 61 73 | 20 72 6d 61 69 6c 29 20 |piled as| rmail) |
|00004ce0| 77 68 69 63 68 20 69 73 | 20 70 61 72 74 20 6f 66 |which is| part of|
|00004cf0| 0a 20 20 20 20 20 20 74 | 68 69 73 20 75 75 70 63 |. t|his uupc|
|00004d00| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 2e 20 20 | distrib|ution. |
|00004d10| 49 66 20 79 6f 75 20 77 | 61 6e 74 20 74 6f 20 61 |If you w|ant to a|
|00004d20| 6c 73 6f 20 73 75 70 70 | 6f 72 74 0a 20 20 20 20 |lso supp|ort. |
|00004d30| 20 20 69 6e 63 6f 6d 69 | 6e 67 20 55 53 45 4e 45 | incomi|ng USENE|
|00004d40| 54 20 6e 65 77 73 2d 66 | 65 65 64 73 2c 20 74 68 |T news-f|eeds, th|
|00004d50| 65 20 55 4e 49 58 20 27 | 72 6e 65 77 73 27 20 63 |e UNIX '|rnews' c|
|00004d60| 6f 6d 6d 61 6e 64 20 77 | 69 6c 6c 0a 20 20 20 20 |ommand w|ill. |
|00004d70| 20 20 6e 65 65 64 20 74 | 6f 20 62 65 20 73 75 70 | need t|o be sup|
|00004d80| 70 6f 72 74 65 64 20 61 | 73 20 77 65 6c 6c 2e 0a |ported a|s well..|
|00004d90| 0a 20 20 20 20 20 20 49 | 66 20 79 6f 75 72 20 73 |. I|f your s|
|00004da0| 79 73 74 65 6d 20 69 73 | 20 63 61 70 61 62 6c 65 |ystem is| capable|
|00004db0| 20 6f 66 20 69 6e 76 6f | 6b 69 6e 67 20 61 6e 6f | of invo|king ano|
|00004dc0| 74 68 65 72 20 70 72 6f | 67 72 61 6d 0a 20 20 20 |ther pro|gram. |
|00004dd0| 20 20 20 77 69 74 68 69 | 6e 20 61 20 70 72 6f 67 | withi|n a prog|
|00004de0| 72 61 6d 2c 20 79 6f 75 | 20 6d 69 67 68 74 20 77 |ram, you| might w|
|00004df0| 61 6e 74 20 74 6f 20 64 | 69 73 70 61 74 63 68 20 |ant to d|ispatch |
|00004e00| 72 6d 61 69 6c 20 61 6e | 64 0a 20 20 20 20 20 20 |rmail an|d. |
|00004e10| 72 6e 65 77 73 20 61 73 | 20 61 20 73 65 70 61 72 |rnews as| a separ|
|00004e20| 61 74 65 20 70 72 6f 67 | 72 61 6d 20 68 65 72 65 |ate prog|ram here|
|00004e30| 2e 20 20 4f 74 68 65 72 | 77 69 73 65 2c 20 79 6f |. Other|wise, yo|
|00004e40| 75 20 6d 69 67 68 74 0a | 20 20 20 20 20 20 6e 65 |u might.| ne|
|00004e50| 65 64 20 74 6f 20 63 6f | 6d 70 69 6c 65 2c 20 6f |ed to co|mpile, o|
|00004e60| 72 20 6c 69 6e 6b 2c 20 | 74 68 65 6d 20 69 6e 74 |r link, |them int|
|00004e70| 6f 20 75 75 20 61 73 20 | 72 6f 75 74 69 6e 65 73 |o uu as |routines|
|00004e80| 2e 0a 0a 20 20 20 73 6c | 65 65 70 20 2d 20 57 61 |... sl|eep - Wa|
|00004e90| 69 74 20 61 20 73 70 65 | 63 69 66 69 65 64 20 6e |it a spe|cified n|
|00004ea0| 75 6d 62 65 72 20 6f 66 | 20 73 65 63 6f 6e 64 73 |umber of| seconds|
|00004eb0| 20 69 6e 20 72 65 61 6c | 2d 74 69 6d 65 2e 20 20 | in real|-time. |
|00004ec0| 59 6f 75 0a 20 20 20 20 | 20 20 63 6f 75 6c 64 20 |You. | could |
|00004ed0| 65 69 74 68 65 72 20 75 | 73 65 20 61 20 62 75 73 |either u|se a bus|
|00004ee0| 79 20 77 61 69 74 20 6c | 6f 6f 70 20 6f 72 20 61 |y wait l|oop or a|
|00004ef0| 20 74 69 6d 65 72 20 61 | 6c 61 72 6d 20 68 65 72 | timer a|larm her|
|00004f00| 65 2c 0a 20 20 20 20 20 | 20 64 65 70 65 6e 64 69 |e,. | dependi|
|00004f10| 6e 67 20 6f 6e 20 69 66 | 20 79 6f 75 72 20 73 79 |ng on if| your sy|
|00004f20| 73 74 65 6d 20 68 61 73 | 20 6f 74 68 65 72 20 28 |stem has| other (|
|00004f30| 65 2e 67 2e 20 62 61 63 | 6b 67 72 6f 75 6e 64 29 |e.g. bac|kground)|
|00004f40| 0a 20 20 20 20 20 20 6a | 6f 62 73 20 63 6f 6d 70 |. j|obs comp|
|00004f50| 65 74 69 6e 67 20 66 6f | 72 20 43 50 55 20 74 69 |eting fo|r CPU ti|
|00004f60| 6d 65 20 61 74 20 74 68 | 65 20 73 61 6d 65 20 74 |me at th|e same t|
|00004f70| 69 6d 65 2e 20 20 4f 6e | 20 6d 75 74 6c 69 2d 0a |ime. On| mutli-.|
|00004f80| 20 20 20 20 20 20 74 61 | 73 6b 69 6e 67 20 6f 72 | ta|sking or|
|00004f90| 20 6d 75 6c 74 69 2d 75 | 73 65 72 73 20 73 79 73 | multi-u|sers sys|
|00004fa0| 74 65 6d 73 2c 20 79 6f | 75 20 77 6f 75 6c 64 20 |tems, yo|u would |
|00004fb0| 6c 69 6b 65 6c 79 20 2a | 6e 6f 74 2a 20 77 61 6e |likely *|not* wan|
|00004fc0| 74 0a 20 20 20 20 20 20 | 74 6f 20 62 75 73 79 20 |t. |to busy |
|00004fd0| 77 61 69 74 20 65 76 65 | 6e 20 69 66 20 74 68 61 |wait eve|n if tha|
|00004fe0| 74 27 73 20 65 61 73 69 | 65 72 20 74 6f 20 69 6d |t's easi|er to im|
|00004ff0| 70 6c 65 6d 65 6e 74 2e | 0a 0a 20 20 20 54 68 65 |plement.|.. The|
|00005000| 20 72 65 73 74 20 6f 66 | 20 74 68 69 73 20 6c 69 | rest of| this li|
|00005010| 62 72 61 72 79 20 63 6f | 6e 73 69 73 74 73 20 6f |brary co|nsists o|
|00005020| 66 20 72 6f 75 74 69 6e | 65 73 20 74 6f 20 64 65 |f routin|es to de|
|00005030| 61 6c 20 77 69 74 68 20 | 74 68 65 0a 20 20 20 63 |al with |the. c|
|00005040| 6f 6d 6d 75 6e 69 63 61 | 74 69 6f 6e 73 20 6c 69 |ommunica|tions li|
|00005050| 6e 65 20 28 73 65 72 69 | 61 6c 20 70 6f 72 74 29 |ne (seri|al port)|
|00005060| 2e 0a 0a 20 20 20 6f 70 | 65 6e 6c 69 6e 65 20 2d |... op|enline -|
|00005070| 20 4f 70 65 6e 20 61 20 | 63 6f 6d 6d 75 6e 69 63 | Open a |communic|
|00005080| 61 74 69 6f 6e 73 20 6c | 69 6e 65 20 61 73 20 74 |ations l|ine as t|
|00005090| 68 65 20 61 63 74 69 76 | 65 20 6c 69 6e 65 2e 20 |he activ|e line. |
|000050a0| 20 54 68 65 0a 20 20 20 | 20 20 20 6e 61 6d 65 20 | The. | name |
|000050b0| 6f 66 20 74 68 65 20 73 | 65 72 69 61 6c 20 6c 69 |of the s|erial li|
|000050c0| 6e 65 20 64 65 76 69 63 | 65 20 61 6e 64 20 74 68 |ne devic|e and th|
|000050d0| 65 20 73 70 65 65 64 20 | 74 6f 20 6f 70 65 6e 20 |e speed |to open |
|000050e0| 74 68 65 0a 20 20 20 20 | 20 20 6c 69 6e 65 20 61 |the. | line a|
|000050f0| 74 20 61 72 65 20 2a 62 | 6f 74 68 2a 20 73 70 65 |t are *b|oth* spe|
|00005100| 63 69 66 69 65 64 20 61 | 73 20 28 63 68 61 72 20 |cified a|s (char |
|00005110| 2a 29 20 74 79 70 65 20 | 70 61 72 61 6d 65 74 65 |*) type |paramete|
|00005120| 72 73 2e 0a 20 20 20 20 | 20 20 54 68 65 73 65 20 |rs.. | These |
|00005130| 76 61 6c 75 65 20 61 72 | 65 20 6a 75 73 74 20 74 |value ar|e just t|
|00005140| 68 65 20 63 6f 72 72 65 | 73 70 6f 6e 64 69 6e 67 |he corre|sponding|
|00005150| 20 76 61 6c 75 65 73 20 | 69 6e 20 74 68 65 0a 20 | values |in the. |
|00005160| 20 20 20 20 20 73 79 73 | 74 65 6d 73 20 66 69 6c | sys|tems fil|
|00005170| 65 20 65 6e 74 72 79 20 | 6f 66 20 74 68 65 20 73 |e entry |of the s|
|00005180| 69 74 65 20 62 65 69 6e | 67 20 63 61 6c 6c 65 64 |ite bein|g called|
|00005190| 2e 0a 0a 20 20 20 73 72 | 65 61 64 20 2d 20 52 65 |... sr|ead - Re|
|000051a0| 61 64 20 61 20 73 70 65 | 63 69 66 69 65 64 20 6e |ad a spe|cified n|
|000051b0| 75 6d 62 65 72 20 6f 66 | 20 62 79 74 65 73 20 66 |umber of| bytes f|
|000051c0| 72 6f 6d 20 74 68 65 20 | 61 63 74 69 76 65 0a 20 |rom the |active. |
|000051d0| 20 20 20 20 20 73 65 72 | 69 61 6c 20 6c 69 6e 65 | ser|ial line|
|000051e0| 20 61 6e 64 20 72 65 74 | 75 72 6e 20 77 69 74 68 | and ret|urn with|
|000051f0| 20 2a 6e 6f 2a 20 69 6e | 70 75 74 20 63 68 61 72 | *no* in|put char|
|00005200| 61 63 74 65 72 73 20 63 | 6f 6e 73 75 6d 65 64 0a |acters c|onsumed.|
|00005210| 20 20 20 20 20 20 2a 69 | 66 2a 20 74 68 65 20 73 | *i|f* the s|
|00005220| 70 65 63 69 66 69 65 64 | 20 6e 75 6d 62 65 72 20 |pecified| number |
|00005230| 6f 66 20 62 79 74 65 73 | 20 69 73 20 6e 6f 74 20 |of bytes| is not |
|00005240| 61 76 61 69 6c 61 62 6c | 65 20 61 66 74 65 72 0a |availabl|e after.|
|00005250| 20 20 20 20 20 20 74 68 | 65 20 73 70 65 63 69 66 | th|e specif|
|00005260| 69 65 64 20 74 69 6d 65 | 6f 75 74 20 70 65 72 69 |ied time|out peri|
|00005270| 6f 64 2e 20 20 54 68 69 | 73 20 69 73 20 62 61 73 |od. Thi|s is bas|
|00005280| 69 63 61 6c 6c 79 20 61 | 20 6e 6f 6e 2d 0a 20 20 |ically a| non-. |
|00005290| 20 20 20 20 62 6c 6f 63 | 6b 69 6e 67 20 72 65 61 | bloc|king rea|
|000052a0| 64 20 74 68 61 74 20 77 | 61 69 74 73 20 75 70 20 |d that w|aits up |
|000052b0| 74 6f 20 61 6e 20 75 73 | 65 72 2d 73 70 65 63 69 |to an us|er-speci|
|000052c0| 66 69 65 64 20 61 6d 6f | 75 6e 74 20 6f 66 0a 20 |fied amo|unt of. |
|000052d0| 20 20 20 20 20 74 69 6d | 65 20 62 65 66 6f 72 65 | tim|e before|
|000052e0| 20 72 65 74 75 72 6e 69 | 6e 67 2e 0a 0a 20 20 20 | returni|ng... |
|000052f0| 73 77 72 69 74 65 20 2d | 20 57 72 69 74 65 20 61 |swrite -| Write a|
|00005300| 20 73 70 65 63 69 66 69 | 65 64 20 6e 75 6d 62 65 | specifi|ed numbe|
|00005310| 72 20 6f 66 20 62 79 74 | 65 73 20 6f 75 74 20 74 |r of byt|es out t|
|00005320| 6f 20 74 68 65 20 61 63 | 74 69 76 65 0a 20 20 20 |o the ac|tive. |
|00005330| 20 20 20 73 65 72 69 61 | 6c 20 6c 69 6e 65 2e 20 | seria|l line. |
|00005340| 20 4e 6f 20 74 69 6d 65 | 6f 75 74 20 6d 65 63 68 | No time|out mech|
|00005350| 61 6e 69 73 6d 20 6e 65 | 65 64 73 20 74 6f 20 62 |anism ne|eds to b|
|00005360| 65 20 70 72 6f 76 69 64 | 65 64 20 62 79 0a 20 20 |e provid|ed by. |
|00005370| 20 20 20 20 74 68 69 73 | 20 72 6f 75 74 69 6e 65 | this| routine|
|00005380| 2e 0a 0a 20 20 20 63 6c | 6f 73 65 6c 69 6e 65 20 |... cl|oseline |
|00005390| 2d 20 43 6c 6f 73 65 20 | 74 68 65 20 61 63 74 69 |- Close |the acti|
|000053a0| 76 65 20 63 6f 6d 6d 75 | 6e 69 63 61 74 69 6f 6e |ve commu|nication|
|000053b0| 73 20 6c 69 6e 65 2e 0a | 0a 20 20 20 53 49 4f 53 |s line..|. SIOS|
|000053c0| 70 65 65 64 20 2d 20 43 | 68 61 6e 67 65 20 74 68 |peed - C|hange th|
|000053d0| 65 20 6c 69 6e 65 20 73 | 70 65 65 64 20 6f 66 20 |e line s|peed of |
|000053e0| 74 68 65 20 61 63 74 69 | 76 65 20 63 6f 6d 6d 75 |the acti|ve commu|
|000053f0| 6e 69 63 61 74 69 6f 6e | 73 0a 20 20 20 20 20 20 |nication|s. |
|00005400| 6c 69 6e 65 20 6f 6e 2d | 74 68 65 2d 66 6c 79 2e |line on-|the-fly.|
|00005410| 20 20 54 68 65 20 6e 65 | 77 20 6c 69 6e 65 20 73 | The ne|w line s|
|00005420| 70 65 65 64 20 69 73 20 | 67 69 76 65 6e 20 61 73 |peed is |given as|
|00005430| 20 28 63 68 61 72 20 2a | 29 0a 20 20 20 20 20 20 | (char *|). |
|00005440| 72 61 74 68 65 72 20 74 | 68 61 6e 20 28 69 6e 74 |rather t|han (int|
|00005450| 29 2e 20 20 4e 6f 74 65 | 20 74 68 65 20 6d 69 78 |). Note| the mix|
|00005460| 65 64 2d 63 61 73 65 20 | 6e 61 74 75 72 65 20 6f |ed-case |nature o|
|00005470| 66 20 74 68 69 73 0a 20 | 20 20 20 20 20 72 6f 75 |f this. | rou|
|00005480| 74 69 6e 65 20 6e 61 6d | 65 2e 0a 0a 0a 6e 64 69 |tine nam|e....ndi|
|00005490| 72 2e 68 20 2d 20 48 65 | 61 64 65 72 20 66 69 6c |r.h - He|ader fil|
|000054a0| 65 20 66 6f 72 20 74 68 | 65 20 64 69 72 65 63 74 |e for th|e direct|
|000054b0| 6f 72 79 20 73 63 61 6e | 6e 69 6e 67 20 72 6f 75 |ory scan|ning rou|
|000054c0| 74 69 6e 65 73 2e 0a 0a | 20 20 20 41 74 20 6c 65 |tines...| At le|
|000054d0| 61 73 74 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |ast the |followin|
|000054e0| 67 20 6e 65 65 64 73 20 | 74 6f 20 62 65 20 64 65 |g needs |to be de|
|000054f0| 66 69 6e 65 64 20 69 6e | 20 74 68 69 73 20 66 69 |fined in| this fi|
|00005500| 6c 65 2e 0a 0a 20 20 20 | 2d 2d 20 54 68 65 20 63 |le... |-- The c|
|00005510| 6f 6e 73 74 61 6e 74 20 | 27 4d 41 58 4e 41 4d 4c |onstant |'MAXNAML|
|00005520| 45 4e 27 20 64 65 63 6c | 61 72 65 64 20 77 69 74 |EN' decl|ared wit|
|00005530| 68 20 22 23 64 65 66 69 | 6e 65 22 2e 20 20 54 68 |h "#defi|ne". Th|
|00005540| 69 73 20 69 73 0a 20 20 | 20 20 20 20 74 68 65 20 |is is. | the |
|00005550| 6d 61 78 69 6d 75 6d 20 | 6c 65 6e 67 74 68 20 6f |maximum |length o|
|00005560| 66 20 61 20 66 69 6c 65 | 20 6e 61 6d 65 20 69 6e |f a file| name in|
|00005570| 20 79 6f 75 72 20 73 79 | 73 74 65 6d 2e 20 20 4e | your sy|stem. N|
|00005580| 6f 74 65 0a 20 20 20 20 | 20 20 74 68 61 74 20 61 |ote. | that a|
|00005590| 20 66 69 6c 65 20 6e 61 | 6d 65 20 64 6f 65 73 20 | file na|me does |
|000055a0| 6e 6f 74 20 69 6e 63 6c | 75 64 65 20 61 20 64 69 |not incl|ude a di|
|000055b0| 72 65 63 74 6f 72 79 20 | 70 61 74 68 20 70 72 65 |rectory |path pre|
|000055c0| 66 69 78 2c 0a 20 20 20 | 20 20 20 69 74 20 69 73 |fix,. | it is|
|000055d0| 20 6f 6e 6c 79 20 74 68 | 65 20 6d 61 78 69 6d 75 | only th|e maximu|
|000055e0| 6d 20 6c 65 6e 67 74 68 | 20 6f 66 20 61 20 66 69 |m length| of a fi|
|000055f0| 6c 65 20 6e 61 6d 65 20 | 77 69 74 68 69 6e 20 61 |le name |within a|
|00005600| 0a 20 20 20 20 20 20 64 | 69 72 65 63 74 6f 72 79 |. d|irectory|
|00005610| 2e 0a 0a 20 20 20 2d 2d | 20 54 68 65 20 73 74 72 |... --| The str|
|00005620| 75 63 74 75 72 65 20 27 | 64 69 72 65 63 74 27 20 |ucture '|direct' |
|00005630| 64 65 63 6c 61 72 65 64 | 20 77 69 74 68 20 22 73 |declared| with "s|
|00005640| 74 72 75 63 74 22 2e 20 | 20 54 68 69 73 0a 20 20 |truct". | This. |
|00005650| 20 20 20 20 73 74 72 75 | 63 74 75 72 65 20 69 73 | stru|cture is|
|00005660| 20 61 20 70 75 62 6c 69 | 63 20 64 61 74 61 20 73 | a publi|c data s|
|00005670| 74 72 75 63 74 75 72 65 | 20 61 6e 64 20 69 74 73 |tructure| and its|
|00005680| 20 66 69 65 6c 64 73 20 | 61 72 65 0a 20 20 20 20 | fields |are. |
|00005690| 20 20 65 78 61 6d 69 6e | 65 64 20 64 69 72 65 63 | examin|ed direc|
|000056a0| 74 6c 79 20 62 79 20 75 | 75 2c 20 73 6f 20 79 6f |tly by u|u, so yo|
|000056b0| 75 72 20 64 65 63 6c 61 | 72 61 74 69 6f 6e 20 6e |ur decla|ration n|
|000056c0| 65 65 64 73 20 74 6f 0a | 20 20 20 20 20 20 70 72 |eeds to.| pr|
|000056d0| 6f 76 69 64 65 20 61 74 | 20 6c 65 61 73 74 20 74 |ovide at| least t|
|000056e0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 66 69 65 |he follo|wing fie|
|000056f0| 6c 64 73 3a 0a 0a 20 20 | 20 20 20 20 73 74 72 75 |lds:.. | stru|
|00005700| 63 74 20 64 69 72 65 63 | 74 20 7b 0a 20 20 20 20 |ct direc|t {. |
|00005710| 20 20 20 20 20 73 68 6f | 72 74 20 64 5f 72 65 63 | sho|rt d_rec|
|00005720| 6c 65 6e 3b 0a 20 20 20 | 20 20 20 20 20 20 73 68 |len;. | sh|
|00005730| 6f 72 74 20 64 5f 6e 61 | 6d 6c 65 6e 3b 0a 20 20 |ort d_na|mlen;. |
|00005740| 20 20 20 20 20 20 20 63 | 68 61 72 20 20 64 5f 6e | c|har d_n|
|00005750| 61 6d 65 5b 4d 41 58 4e | 41 4d 4c 45 4e 20 2b 20 |ame[MAXN|AMLEN + |
|00005760| 31 5d 3b 0a 20 20 20 20 | 20 20 7d 3b 0a 0a 20 20 |1];. | };.. |
|00005770| 20 20 20 20 64 5f 72 65 | 63 6c 65 6e 20 69 73 20 | d_re|clen is |
|00005780| 74 68 65 20 6c 65 6e 67 | 74 68 20 6f 66 20 74 68 |the leng|th of th|
|00005790| 65 20 73 74 72 75 63 74 | 75 72 65 20 6d 69 6e 75 |e struct|ure minu|
|000057a0| 73 20 74 68 65 20 73 69 | 7a 65 20 6f 66 0a 20 20 |s the si|ze of. |
|000057b0| 20 20 20 20 74 68 65 20 | 75 6e 75 73 65 64 20 70 | the |unused p|
|000057c0| 6f 72 74 69 6f 6e 20 6f | 66 20 64 5f 6e 61 6d 65 |ortion o|f d_name|
|000057d0| 20 61 74 20 74 68 65 20 | 65 6e 64 20 6f 66 20 74 | at the |end of t|
|000057e0| 68 65 20 73 74 72 75 63 | 74 75 72 65 2e 0a 0a 20 |he struc|ture... |
|000057f0| 20 20 20 20 20 64 5f 6e | 61 6d 65 6c 65 6e 20 69 | d_n|amelen i|
|00005800| 73 20 73 74 72 6c 65 6e | 28 64 5f 6e 61 6d 65 29 |s strlen|(d_name)|
|00005810| 2e 0a 0a 20 20 20 20 20 | 20 64 5f 6e 61 6d 65 20 |... | d_name |
|00005820| 69 73 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |is the n|ame of t|
|00005830| 68 65 20 6e 65 78 74 20 | 66 69 6c 65 20 69 6e 20 |he next |file in |
|00005840| 74 68 65 20 73 63 61 6e | 2c 20 77 69 74 68 20 61 |the scan|, with a|
|00005850| 0a 20 20 20 20 20 20 74 | 65 72 6d 69 6e 61 74 69 |. t|erminati|
|00005860| 6e 67 20 27 5c 30 27 2e | 0a 0a 20 20 20 20 20 20 |ng '\0'.|.. |
|00005870| 49 74 20 69 73 20 69 6d | 70 6f 72 74 61 6e 74 20 |It is im|portant |
|00005880| 66 6f 72 20 74 68 65 20 | 73 74 72 75 63 74 75 72 |for the |structur|
|00005890| 65 20 27 64 69 72 65 63 | 74 27 20 74 6f 20 62 65 |e 'direc|t' to be|
|000058a0| 20 64 65 66 69 6e 65 64 | 0a 20 20 20 20 20 20 75 | defined|. u|
|000058b0| 73 69 6e 67 20 22 73 74 | 72 75 63 74 22 20 69 6e |sing "st|ruct" in|
|000058c0| 73 74 65 64 20 6f 66 20 | 22 74 79 70 65 64 65 66 |sted of |"typedef|
|000058d0| 22 2e 0a 0a 20 20 20 2d | 2d 20 54 68 65 20 74 79 |"... -|- The ty|
|000058e0| 70 65 20 27 44 49 52 27 | 20 64 65 63 6c 61 72 65 |pe 'DIR'| declare|
|000058f0| 64 20 77 69 74 68 20 22 | 74 79 70 65 64 65 66 22 |d with "|typedef"|
|00005900| 2e 20 20 54 68 69 73 20 | 69 73 20 61 20 70 72 69 |. This |is a pri|
|00005910| 76 61 74 65 0a 20 20 20 | 20 20 20 73 74 72 75 63 |vate. | struc|
|00005920| 74 75 72 65 20 75 73 65 | 64 20 62 79 20 74 68 65 |ture use|d by the|
|00005930| 20 6e 64 69 72 20 72 6f | 75 74 69 6e 65 73 20 61 | ndir ro|utines a|
|00005940| 6e 64 20 73 68 6f 75 6c | 64 20 63 6f 6e 74 61 69 |nd shoul|d contai|
|00005950| 6e 20 61 6c 6c 0a 20 20 | 20 20 20 20 74 68 65 20 |n all. | the |
|00005960| 73 74 61 74 69 63 20 64 | 61 74 61 20 72 65 6c 61 |static d|ata rela|
|00005970| 74 65 64 20 74 6f 20 61 | 20 73 69 6e 67 6c 65 20 |ted to a| single |
|00005980| 69 6e 76 6f 63 61 74 69 | 6f 6e 20 6f 66 20 74 68 |invocati|on of th|
|00005990| 65 20 6e 64 69 72 0a 20 | 20 20 20 20 20 72 6f 75 |e ndir. | rou|
|000059a0| 74 69 6e 65 73 2e 0a 0a | 20 20 20 20 20 20 49 74 |tines...| It|
|000059b0| 20 69 73 20 69 6d 70 6f | 72 74 61 6e 74 20 66 6f | is impo|rtant fo|
|000059c0| 72 20 27 44 49 52 27 20 | 74 6f 20 62 65 20 64 65 |r 'DIR' |to be de|
|000059d0| 66 69 6e 65 64 20 75 73 | 69 6e 67 20 22 74 79 70 |fined us|ing "typ|
|000059e0| 65 64 65 66 22 0a 20 20 | 20 20 20 20 69 6e 73 74 |edef". | inst|
|000059f0| 65 61 64 20 6f 66 20 22 | 73 74 72 75 63 74 22 2e |ead of "|struct".|
|00005a00| 20 20 28 4e 6f 74 65 20 | 74 68 69 73 20 69 73 20 | (Note |this is |
|00005a10| 74 68 65 20 2a 72 65 76 | 65 72 73 65 2a 20 6f 66 |the *rev|erse* of|
|00005a20| 20 74 68 65 0a 20 20 20 | 20 20 20 73 74 72 75 63 | the. | struc|
|00005a30| 74 75 72 65 20 27 64 69 | 72 65 63 74 27 20 61 62 |ture 'di|rect' ab|
|00005a40| 6f 76 65 2e 29 0a 0a 20 | 20 20 2d 2d 20 54 68 65 |ove.).. | -- The|
|00005a50| 20 72 6f 75 74 69 6e 65 | 73 20 6f 70 65 6e 64 69 | routine|s opendi|
|00005a60| 72 28 29 2c 20 72 65 61 | 64 64 69 72 28 29 2c 20 |r(), rea|ddir(), |
|00005a70| 61 6e 64 20 63 6c 6f 73 | 65 64 69 72 28 29 2e 20 |and clos|edir(). |
|00005a80| 20 57 68 69 63 68 0a 20 | 20 20 20 20 20 6f 70 65 | Which. | ope|
|00005a90| 6e 73 20 61 20 73 70 65 | 63 69 66 69 65 64 20 64 |ns a spe|cified d|
|00005aa0| 69 72 65 63 74 6f 72 79 | 2c 20 72 65 61 64 20 74 |irectory|, read t|
|00005ab0| 68 65 20 6e 65 78 74 20 | 66 69 6c 65 20 65 6e 74 |he next |file ent|
|00005ac0| 72 79 20 66 72 6f 6d 0a | 20 20 20 20 20 20 61 6e |ry from.| an|
|00005ad0| 20 6f 70 65 6e 65 64 20 | 64 69 72 65 63 74 6f 72 | opened |director|
|00005ae0| 79 2c 20 61 6e 64 20 63 | 6c 6f 73 65 20 61 6e 20 |y, and c|lose an |
|00005af0| 6f 70 65 6e 65 64 20 64 | 69 72 65 63 74 6f 72 79 |opened d|irectory|
|00005b00| 2c 0a 20 20 20 20 20 20 | 72 65 73 70 65 63 74 69 |,. |respecti|
|00005b10| 76 65 6c 79 2e 0a 0a 0a | 6e 64 69 72 2e 63 20 2d |vely....|ndir.c -|
|00005b20| 20 22 42 65 72 6b 65 6c | 65 79 2d 73 74 79 6c 65 | "Berkel|ey-style|
|00005b30| 22 20 64 69 72 65 63 74 | 6f 72 79 20 73 63 61 6e |" direct|ory scan|
|00005b40| 6e 69 6e 67 20 72 6f 75 | 74 69 6e 65 73 2e 0a 0a |ning rou|tines...|
|00005b50| 20 20 20 54 68 69 73 20 | 66 69 6c 65 20 63 6f 6e | This |file con|
|00005b60| 74 61 69 6e 73 20 61 20 | 73 65 74 20 6f 66 20 72 |tains a |set of r|
|00005b70| 6f 75 74 69 6e 65 73 20 | 73 69 6d 69 6c 61 72 20 |outines |similar |
|00005b80| 69 6e 20 66 75 6e 63 74 | 69 6f 6e 73 20 74 6f 0a |in funct|ions to.|
|00005b90| 20 20 20 74 68 65 20 42 | 65 72 6b 65 6c 65 79 2d | the B|erkeley-|
|00005ba0| 73 74 79 6c 65 20 64 69 | 72 65 63 74 6f 72 79 20 |style di|rectory |
|00005bb0| 73 63 61 6e 6e 69 6e 67 | 20 72 6f 75 74 69 6e 65 |scanning| routine|
|00005bc0| 73 2e 20 20 54 68 65 73 | 65 0a 20 20 20 72 6f 75 |s. Thes|e. rou|
|00005bd0| 74 69 6e 65 73 20 61 72 | 65 20 75 73 65 64 20 6f |tines ar|e used o|
|00005be0| 6e 6c 79 20 62 79 20 75 | 75 2c 20 6e 6f 74 20 6d |nly by u|u, not m|
|00005bf0| 61 69 6c 2c 20 61 6e 64 | 20 6f 6e 6c 79 20 74 68 |ail, and| only th|
|00005c00| 65 0a 20 20 20 6f 70 65 | 6e 64 69 72 28 29 2c 20 |e. ope|ndir(), |
|00005c10| 72 65 61 64 64 69 72 28 | 29 2c 20 61 6e 64 20 63 |readdir(|), and c|
|00005c20| 6c 6f 73 65 64 69 72 28 | 29 20 72 6f 75 74 69 6e |losedir(|) routin|
|00005c30| 65 73 20 61 72 65 20 75 | 73 65 64 2c 20 61 6e 64 |es are u|sed, and|
|00005c40| 0a 20 20 20 74 68 65 72 | 65 66 6f 72 65 20 6e 65 |. ther|efore ne|
|00005c50| 65 64 20 74 6f 20 62 65 | 20 69 6d 70 6c 65 6d 65 |ed to be| impleme|
|00005c60| 6e 74 65 64 2e 0a 0a 20 | 20 20 45 76 65 6e 74 68 |nted... | Eventh|
|00005c70| 6f 75 67 68 20 74 68 65 | 20 6e 64 69 72 20 72 6f |ough the| ndir ro|
|00005c80| 75 74 69 6e 65 73 20 73 | 68 6f 75 6c 64 20 62 65 |utines s|hould be|
|00005c90| 20 63 61 70 61 62 6c 65 | 20 6f 66 20 6d 75 74 6c | capable| of mutl|
|00005ca0| 69 70 6c 65 0a 20 20 20 | 63 6f 6e 63 75 72 72 65 |iple. |concurre|
|00005cb0| 6e 74 20 69 6e 76 6f 63 | 61 74 69 6f 6e 73 20 75 |nt invoc|ations u|
|00005cc0| 73 69 6e 67 20 73 65 70 | 61 72 61 74 65 20 28 44 |sing sep|arate (D|
|00005cd0| 49 52 20 2a 29 27 73 2c | 20 75 75 20 6f 6e 6c 79 |IR *)'s,| uu only|
|00005ce0| 20 75 73 65 73 0a 20 20 | 20 6f 6e 65 20 69 6e 76 | uses. | one inv|
|00005cf0| 6f 63 61 74 69 6f 6e 20 | 6f 66 20 69 74 20 61 74 |ocation |of it at|
|00005d00| 20 61 20 74 69 6d 65 2e | 0a 0a 20 20 20 49 66 20 | a time.|.. If |
|00005d10| 79 6f 75 72 20 73 79 73 | 74 65 6d 27 73 20 66 69 |your sys|tem's fi|
|00005d20| 6c 65 20 6e 61 6d 65 20 | 69 73 20 6d 6f 6e 6f 2d |le name |is mono-|
|00005d30| 63 61 73 65 2c 20 74 68 | 65 6e 20 79 6f 75 72 20 |case, th|en your |
|00005d40| 72 65 61 64 64 69 72 28 | 29 0a 20 20 20 72 6f 75 |readdir(|). rou|
|00005d50| 74 69 6e 65 20 73 68 6f | 75 6c 64 20 61 6c 77 61 |tine sho|uld alwa|
|00005d60| 79 73 20 72 65 74 75 72 | 6e 20 74 68 65 20 66 69 |ys retur|n the fi|
|00005d70| 6c 65 20 6e 61 6d 65 20 | 66 69 65 6c 64 20 28 64 |le name |field (d|
|00005d80| 5f 6e 61 6d 65 29 20 69 | 6e 0a 20 20 20 61 6c 6c |_name) i|n. all|
|00005d90| 20 6c 6f 77 65 72 63 61 | 73 65 2e 0a 0a 0a 41 6e | lowerca|se....An|
|00005da0| 79 20 71 75 65 73 74 69 | 6f 6e 73 20 61 62 6f 75 |y questi|ons abou|
|00005db0| 74 20 70 6f 72 74 69 6e | 67 20 75 75 70 63 20 74 |t portin|g uupc t|
|00005dc0| 6f 20 6f 74 68 65 72 20 | 6d 61 63 68 69 6e 65 73 |o other |machines|
|00005dd0| 2f 6f 70 65 72 61 74 69 | 6e 67 0a 73 79 73 74 65 |/operati|ng.syste|
|00005de0| 6d 73 2c 20 61 6e 64 20 | 63 6f 6d 6d 65 6e 74 73 |ms, and |comments|
|00005df0| 20 61 6e 64 20 73 75 67 | 67 65 73 74 69 6f 6e 73 | and sug|gestions|
|00005e00| 20 61 62 6f 75 74 20 74 | 68 69 73 20 77 72 69 74 | about t|his writ|
|00005e10| 65 75 70 20 73 68 6f 75 | 6c 64 0a 62 65 20 64 69 |eup shou|ld.be di|
|00005e20| 72 65 63 74 65 64 20 74 | 6f 20 6f 6e 65 20 6f 66 |rected t|o one of|
|00005e30| 20 74 68 65 20 65 2d 6d | 61 69 6c 20 61 64 64 72 | the e-m|ail addr|
|00005e40| 65 73 73 65 73 20 6c 69 | 73 74 65 64 20 61 74 20 |esses li|sted at |
|00005e50| 74 68 65 20 65 6e 64 20 | 6f 66 0a 74 68 69 73 20 |the end |of.this |
|00005e60| 66 69 6c 65 2e 0a 0a 49 | 66 20 79 6f 75 20 64 6f |file...I|f you do|
|00005e70| 20 64 65 63 69 64 65 20 | 74 6f 20 73 74 61 72 74 | decide |to start|
|00005e80| 20 70 6f 72 74 69 6e 67 | 20 75 75 70 63 20 74 6f | porting| uupc to|
|00005e90| 20 61 20 6e 65 77 20 6d | 61 63 68 69 6e 65 2f 6f | a new m|achine/o|
|00005ea0| 70 65 72 61 74 69 6e 67 | 0a 73 79 73 74 65 6d 2c |perating|.system,|
|00005eb0| 20 70 6c 65 61 73 65 20 | 64 72 6f 70 20 75 73 20 | please |drop us |
|00005ec0| 61 20 6c 69 6e 65 20 61 | 73 20 77 65 6c 6c 2e 20 |a line a|s well. |
|00005ed0| 20 57 65 20 6d 69 67 68 | 74 20 65 76 65 6e 20 62 | We migh|t even b|
|00005ee0| 65 20 61 62 6c 65 20 74 | 6f 0a 73 61 76 65 20 65 |e able t|o.save e|
|00005ef0| 61 63 68 20 6f 74 68 65 | 72 20 73 6f 6d 65 20 64 |ach othe|r some d|
|00005f00| 75 70 6c 69 63 61 74 65 | 64 20 65 66 66 6f 72 74 |uplicate|d effort|
|00005f10| 73 21 0a 0a 0a 55 55 43 | 50 3a 20 7b 73 65 69 73 |s!...UUC|P: {seis|
|00005f20| 6d 6f 2c 69 68 6e 70 34 | 21 61 6c 62 65 72 74 61 |mo,ihnp4|!alberta|
|00005f30| 2c 75 77 2d 62 65 61 76 | 65 72 2c 75 75 6e 65 74 |,uw-beav|er,uunet|
|00005f40| 7d 21 75 62 63 2d 76 69 | 73 69 6f 6e 21 76 61 6e |}!ubc-vi|sion!van|
|00005f50| 2d 62 63 21 75 75 70 63 | 0a 49 6e 74 65 72 6e 65 |-bc!uupc|.Interne|
|00005f60| 74 3a 20 75 75 70 63 40 | 76 61 6e 2d 62 63 2e 55 |t: uupc@|van-bc.U|
|00005f70| 55 43 50 0a 2d 2d 2d 2d | 2d 2d 2d 0a 0a 0a 2d 2d |UCP.----|---...--|
|00005f80| 0a 7b 69 68 6e 70 34 21 | 61 6c 62 65 72 74 61 21 |.{ihnp4!|alberta!|
|00005f90| 75 62 63 2d 76 69 73 69 | 6f 6e 2c 75 75 6e 65 74 |ubc-visi|on,uunet|
|00005fa0| 7d 21 76 61 6e 2d 62 63 | 21 53 74 75 61 72 74 2e |}!van-bc|!Stuart.|
|00005fb0| 4c 79 6e 6e 65 20 56 61 | 6e 63 6f 75 76 65 72 2c |Lynne Va|ncouver,|
|00005fc0| 42 43 2c 36 30 34 2d 39 | 33 37 2d 37 35 33 32 0a |BC,604-9|37-7532.|
|00005fd0| 0a 53 48 41 52 5f 45 4f | 46 0a 63 68 6d 6f 64 20 |.SHAR_EO|F.chmod |
|00005fe0| 2b 78 20 27 52 45 41 44 | 4d 45 2e 50 4f 52 54 27 |+x 'READ|ME.PORT'|
|00005ff0| 0a 66 69 20 23 20 65 6e | 64 20 6f 66 20 6f 76 65 |.fi # en|d of ove|
|00006000| 72 77 72 69 74 69 6e 67 | 20 63 68 65 63 6b 0a 69 |rwriting| check.i|
|00006010| 66 20 74 65 73 74 20 2d | 66 20 27 52 45 41 44 4d |f test -|f 'READM|
|00006020| 45 2e 49 4e 46 4f 27 0a | 74 68 65 6e 0a 20 20 20 |E.INFO'.|then. |
|00006030| 20 20 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 77 | echo| shar: w|
|00006040| 69 6c 6c 20 6e 6f 74 20 | 6f 76 65 72 2d 77 72 69 |ill not |over-wri|
|00006050| 74 65 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |te exist|ing file|
|00006060| 20 22 27 52 45 41 44 4d | 45 2e 49 4e 46 4f 27 22 | "'READM|E.INFO'"|
|00006070| 0a 65 6c 73 65 0a 63 61 | 74 20 3c 3c 20 5c 53 48 |.else.ca|t << \SH|
|00006080| 41 52 5f 45 4f 46 20 3e | 20 27 52 45 41 44 4d 45 |AR_EOF >| 'README|
|00006090| 2e 49 4e 46 4f 27 0a 41 | 75 67 75 73 74 20 39 2c |.INFO'.A|ugust 9,|
|000060a0| 20 31 39 38 37 20 20 20 | 20 75 75 70 63 20 51 75 | 1987 | uupc Qu|
|000060b0| 65 73 74 69 6f 6e 73 20 | 61 6e 64 20 41 6e 73 77 |estions |and Answ|
|000060c0| 65 72 73 20 20 20 20 20 | 75 75 70 63 20 44 65 76 |ers |uupc Dev|
|000060d0| 65 6c 6f 70 6d 65 6e 74 | 0a 0a 0a 54 68 65 20 66 |elopment|...The f|
|000060e0| 6f 6c 6c 6f 77 69 6e 67 | 20 69 73 20 73 6f 6d 65 |ollowing| is some|
|000060f0| 20 63 6f 6d 6d 6f 6e 6c | 79 20 61 73 6b 65 64 20 | commonl|y asked |
|00006100| 71 75 65 73 74 69 6f 6e | 73 20 61 62 6f 75 74 20 |question|s about |
|00006110| 75 75 70 63 20 61 6e 64 | 2c 20 6f 66 0a 63 6f 75 |uupc and|, of.cou|
|00006120| 72 73 65 2c 20 74 68 65 | 20 61 6e 73 77 65 72 73 |rse, the| answers|
|00006130| 20 74 6f 20 74 68 65 73 | 65 20 71 75 65 73 74 69 | to thes|e questi|
|00006140| 6f 6e 73 2e 0a 0a 0a 20 | 31 2e 20 57 68 61 74 20 |ons.... |1. What |
|00006150| 64 6f 65 73 20 22 75 75 | 70 63 22 20 73 74 61 6e |does "uu|pc" stan|
|00006160| 64 73 20 66 6f 72 3f 0a | 0a 20 20 20 20 49 74 20 |ds for?.|. It |
|00006170| 69 73 20 61 6e 20 61 63 | 72 6f 6e 79 6d 20 66 6f |is an ac|ronym fo|
|00006180| 72 20 22 55 55 63 70 20 | 66 6f 72 20 50 43 27 73 |r "UUcp |for PC's|
|00006190| 22 2c 20 62 75 74 20 69 | 74 20 69 73 20 61 6c 73 |", but i|t is als|
|000061a0| 6f 20 61 20 70 75 6e 20 | 6f 6e 0a 20 20 20 20 75 |o a pun |on. u|
|000061b0| 75 63 70 2c 20 77 68 69 | 63 68 20 69 73 20 69 6e |ucp, whi|ch is in|
|000061c0| 20 74 75 72 6e 20 61 6e | 20 61 63 72 6f 6e 79 6d | turn an| acronym|
|000061d0| 20 66 6f 72 20 22 55 6e | 69 78 20 74 6f 20 55 6e | for "Un|ix to Un|
|000061e0| 69 78 20 43 6f 50 79 22 | 2e 0a 0a 20 32 2e 20 57 |ix CoPy"|... 2. W|
|000061f0| 68 61 74 20 64 6f 65 73 | 20 75 75 70 63 20 64 6f |hat does| uupc do|
|00006200| 3f 0a 0a 20 20 20 20 49 | 74 20 67 69 76 65 73 20 |?.. I|t gives |
|00006210| 61 20 70 65 72 73 6f 6e | 61 6c 20 63 6f 6d 70 75 |a person|al compu|
|00006220| 74 65 72 20 74 68 65 20 | 63 61 70 61 62 69 6c 69 |ter the |capabili|
|00006230| 74 79 20 74 6f 20 62 65 | 63 6f 6d 65 20 61 0a 20 |ty to be|come a. |
|00006240| 20 20 20 22 6e 6f 64 65 | 22 20 69 6e 20 74 68 65 | "node|" in the|
|00006250| 20 55 55 43 50 20 28 6f | 72 20 61 20 73 69 6d 69 | UUCP (o|r a simi|
|00006260| 6c 61 72 29 20 6e 65 74 | 77 6f 72 6b 20 61 6e 64 |lar) net|work and|
|00006270| 20 65 78 63 68 61 6e 67 | 65 0a 20 20 20 20 69 6e | exchang|e. in|
|00006280| 66 6f 72 6d 61 74 69 6f | 6e 20 73 75 63 68 20 61 |formatio|n such a|
|00006290| 73 20 65 6c 65 63 74 72 | 6f 6e 69 63 20 6d 61 69 |s electr|onic mai|
|000062a0| 6c 20 61 6e 64 20 55 53 | 45 4e 45 54 20 6e 65 77 |l and US|ENET new|
|000062b0| 73 20 77 69 74 68 0a 20 | 20 20 20 6f 74 68 65 72 |s with. | other|
|000062c0| 20 63 6f 6d 70 75 74 65 | 72 73 20 6f 6e 20 74 68 | compute|rs on th|
|000062d0| 61 74 20 6e 65 74 77 6f | 72 6b 2e 0a 0a 20 33 2e |at netwo|rk... 3.|
|000062e0| 20 57 68 61 74 20 70 65 | 72 73 6f 6e 61 6c 20 63 | What pe|rsonal c|
|000062f0| 6f 6d 70 75 74 65 72 73 | 20 64 6f 65 73 20 75 75 |omputers| does uu|
|00006300| 70 63 20 72 75 6e 73 20 | 6f 6e 3f 0a 0a 20 20 20 |pc runs |on?.. |
|00006310| 20 43 75 72 72 65 6e 74 | 6c 79 20 69 74 20 69 73 | Current|ly it is|
|00006320| 20 61 76 61 69 6c 61 62 | 6c 65 20 66 6f 72 20 74 | availab|le for t|
|00006330| 68 65 20 41 70 70 6c 65 | 20 4d 61 63 69 6e 74 6f |he Apple| Macinto|
|00006340| 73 68 2c 20 41 74 61 72 | 69 20 53 54 2c 0a 20 20 |sh, Atar|i ST,. |
|00006350| 20 20 43 6f 6d 6d 6f 64 | 6f 72 65 20 41 6d 69 67 | Commod|ore Amig|
|00006360| 61 2c 20 61 6e 64 20 49 | 42 4d 20 50 43 20 28 61 |a, and I|BM PC (a|
|00006370| 6e 64 20 63 6f 6d 70 61 | 74 69 62 6c 65 73 29 20 |nd compa|tibles) |
|00006380| 77 69 74 68 20 44 4f 53 | 2e 20 20 4d 6f 72 65 0a |with DOS|. More.|
|00006390| 20 20 20 20 63 6f 6d 70 | 75 74 65 72 73 20 61 6e | comp|uters an|
|000063a0| 64 20 6f 70 65 72 61 74 | 69 6e 67 20 73 79 73 74 |d operat|ing syst|
|000063b0| 65 6d 73 20 77 69 6c 6c | 20 62 65 20 61 62 6c 65 |ems will| be able|
|000063c0| 20 72 75 6e 20 75 75 70 | 63 20 69 6e 20 74 68 65 | run uup|c in the|
|000063d0| 0a 20 20 20 20 6e 65 61 | 72 20 66 75 74 75 72 65 |. nea|r future|
|000063e0| 2e 20 20 28 49 42 4d 20 | 50 43 20 77 69 74 68 20 |. (IBM |PC with |
|000063f0| 4d 49 4e 49 58 20 69 73 | 20 61 20 6c 69 6b 65 6c |MINIX is| a likel|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.