home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / compsrcs / unix / volume03 / uumail < prev    next >
SHell self-extracting ARchive  |  1988-09-11  |  54.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


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

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert 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 67 65 | 6e 72 61 64 21 72 69 63 |From: ge|nrad!ric|
|00000010| 65 21 6e 65 75 72 6f 31 | 21 73 6f 62 0a 4e 65 77 |e!neuro1|!sob.New|
|00000020| 73 67 72 6f 75 70 73 3a | 20 6d 6f 64 2e 73 6f 75 |sgroups:| mod.sou|
|00000030| 72 63 65 73 0a 53 75 62 | 6a 65 63 74 3a 20 75 75 |rces.Sub|ject: uu|
|00000040| 6d 61 69 6c 20 2d 2d 20 | 61 6e 20 6f 70 61 74 68 |mail -- |an opath|
|00000050| 2f 70 61 74 68 61 6c 69 | 61 73 20 62 61 73 65 64 |/pathali|as based|
|00000060| 20 75 75 63 70 20 6d 61 | 69 6c 65 72 0a 41 70 70 | uucp ma|iler.App|
|00000070| 72 6f 76 65 64 3a 20 6a | 70 6e 40 70 61 6e 64 61 |roved: j|pn@panda|
|00000080| 2e 55 55 43 50 0a 52 65 | 70 6c 79 2d 54 6f 3a 20 |.UUCP.Re|ply-To: |
|00000090| 73 6f 62 40 6e 65 75 72 | 6f 31 2e 55 55 43 50 20 |sob@neur|o1.UUCP |
|000000a0| 28 53 74 61 6e 20 42 61 | 72 62 65 72 29 0a 4f 72 |(Stan Ba|rber).Or|
|000000b0| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 4e 65 75 72 |ganizati|on: Neur|
|000000c0| 6f 70 68 79 73 69 6f 6c | 6f 67 79 2c 20 42 61 79 |ophysiol|ogy, Bay|
|000000d0| 6c 6f 72 20 43 6f 6c 6c | 65 67 65 20 6f 66 20 4d |lor Coll|ege of M|
|000000e0| 65 64 69 63 69 6e 65 2c | 20 48 6f 75 73 74 6f 6e |edicine,| Houston|
|000000f0| 2c 20 54 78 0a 0a 4d 6f | 64 2e 73 6f 75 72 63 65 |, Tx..Mo|d.source|
|00000100| 73 3a 20 20 56 6f 6c 75 | 6d 65 20 33 2c 20 49 73 |s: Volu|me 3, Is|
|00000110| 73 75 65 20 34 39 0a 53 | 75 62 6d 69 74 74 65 64 |sue 49.S|ubmitted|
|00000120| 20 62 79 3a 20 67 65 6e | 72 61 64 21 72 69 63 65 | by: gen|rad!rice|
|00000130| 21 6e 65 75 72 6f 31 21 | 73 6f 62 0a 0a 0a 46 6f |!neuro1!|sob...Fo|
|00000140| 6c 6c 6f 77 69 6e 67 20 | 69 73 20 74 68 65 20 73 |llowing |is the s|
|00000150| 68 61 72 20 66 6f 72 20 | 75 75 6d 61 69 6c 2c 20 |har for |uumail, |
|00000160| 6d 79 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 61 20 |my versi|on of a |
|00000170| 70 61 74 68 61 6c 69 61 | 73 2d 64 61 74 61 62 61 |pathalia|s-databa|
|00000180| 73 65 0a 6d 61 69 6c 65 | 72 2e 20 54 68 69 73 20 |se.maile|r. This |
|00000190| 70 72 6f 67 72 61 6d 20 | 63 61 6e 20 61 6c 73 6f |program |can also|
|000001a0| 20 75 6e 64 65 72 73 74 | 61 6e 64 20 64 6f 6d 61 | underst|and doma|
|000001b0| 69 6e 20 6e 61 6d 65 73 | 20 69 6e 20 74 68 65 20 |in names| in the |
|000001c0| 75 75 63 70 0a 74 72 61 | 64 69 74 69 6f 6e 20 28 |uucp.tra|dition (|
|000001d0| 21 20 6f 76 65 72 20 40 | 29 20 61 6e 64 20 63 61 |! over @|) and ca|
|000001e0| 6e 20 68 61 6e 64 6c 65 | 20 74 68 65 20 6e 65 77 |n handle| the new|
|000001f0| 20 66 6c 61 67 73 20 69 | 6e 20 34 2e 33 20 75 75 | flags i|n 4.3 uu|
|00000200| 63 70 2e 0a 0a 50 6c 65 | 61 73 65 20 72 65 61 64 |cp...Ple|ase read|
|00000210| 20 74 68 65 20 52 45 41 | 44 4d 45 20 66 6f 72 20 | the REA|DME for |
|00000220| 6d 6f 72 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |more inf|ormation|
|00000230| 2e 0a 0a 54 68 69 73 20 | 70 72 6f 67 72 61 6d 20 |...This |program |
|00000240| 68 61 73 20 62 65 65 6e | 20 63 68 65 63 6b 65 64 |has been| checked|
|00000250| 2d 6f 75 74 20 6f 6e 20 | 61 20 53 75 6e 2d 32 2c |-out on |a Sun-2,|
|00000260| 20 4d 61 73 73 63 6f 6d | 70 2c 20 61 6e 64 20 53 | Masscom|p, and S|
|00000270| 70 65 72 72 79 35 30 30 | 30 2e 0a 0a 54 68 61 6e |perry500|0...Than|
|00000280| 6b 73 20 74 6f 20 45 72 | 69 63 20 52 6f 73 6b 6f |ks to Er|ic Rosko|
|00000290| 73 20 66 6f 72 20 74 68 | 65 20 75 73 65 20 6f 66 |s for th|e use of|
|000002a0| 20 6f 70 61 74 68 2e 0a | 0a 50 6c 65 61 73 65 20 | opath..|.Please |
|000002b0| 66 6f 72 77 61 72 64 20 | 63 6f 6d 6d 65 6e 74 73 |forward |comments|
|000002c0| 20 61 6e 64 20 62 75 67 | 20 66 69 78 65 73 20 74 | and bug| fixes t|
|000002d0| 6f 20 6d 65 20 61 74 20 | 73 6f 62 40 72 69 63 65 |o me at |sob@rice|
|000002e0| 2e 65 64 75 20 6f 72 20 | 0a 69 68 6e 70 34 21 73 |.edu or |.ihnp4!s|
|000002f0| 68 65 6c 6c 21 6e 65 75 | 72 6f 31 21 73 6f 62 20 |hell!neu|ro1!sob |
|00000300| 6f 72 20 74 65 78 73 75 | 6e 21 64 72 69 6c 6c 74 |or texsu|n!drillt|
|00000310| 65 63 68 21 73 6f 62 0a | 0a 53 74 61 6e 20 42 61 |ech!sob.|.Stan Ba|
|00000320| 72 62 65 72 0a 42 61 79 | 6c 6f 72 20 43 6f 6c 6c |rber.Bay|lor Coll|
|00000330| 65 67 65 20 6f 66 20 4d | 65 64 69 63 69 6e 65 0a |ege of M|edicine.|
|00000340| 48 6f 75 73 74 6f 6e 2c | 20 54 65 78 61 73 0a 0a |Houston,| Texas..|
|00000350| 23 21 20 2f 62 69 6e 2f | 73 68 0a 23 20 54 68 69 |#! /bin/|sh.# Thi|
|00000360| 73 20 69 73 20 61 20 73 | 68 65 6c 6c 20 61 72 63 |s is a s|hell arc|
|00000370| 68 69 76 65 2c 20 6d 65 | 61 6e 69 6e 67 3a 0a 23 |hive, me|aning:.#|
|00000380| 20 31 2e 20 52 65 6d 6f | 76 65 20 65 76 65 72 79 | 1. Remo|ve every|
|00000390| 74 68 69 6e 67 20 61 62 | 6f 76 65 20 74 68 65 20 |thing ab|ove the |
|000003a0| 23 21 20 2f 62 69 6e 2f | 73 68 20 6c 69 6e 65 2e |#! /bin/|sh line.|
|000003b0| 0a 23 20 32 2e 20 53 61 | 76 65 20 74 68 65 20 72 |.# 2. Sa|ve the r|
|000003c0| 65 73 75 6c 74 69 6e 67 | 20 74 65 78 74 20 69 6e |esulting| text in|
|000003d0| 20 61 20 66 69 6c 65 2e | 0a 23 20 33 2e 20 45 78 | a file.|.# 3. Ex|
|000003e0| 65 63 75 74 65 20 74 68 | 65 20 66 69 6c 65 20 77 |ecute th|e file w|
|000003f0| 69 74 68 20 2f 62 69 6e | 2f 73 68 20 28 6e 6f 74 |ith /bin|/sh (not|
|00000400| 20 63 73 68 29 20 74 6f | 20 63 72 65 61 74 65 20 | csh) to| create |
|00000410| 74 68 65 20 66 69 6c 65 | 73 3a 0a 23 09 52 45 41 |the file|s:.#.REA|
|00000420| 44 4d 45 0a 23 09 52 45 | 41 44 4d 45 2e 6f 72 69 |DME.#.RE|ADME.ori|
|00000430| 67 0a 23 09 61 64 64 72 | 65 73 73 2e 31 0a 23 09 |g.#.addr|ess.1.#.|
|00000440| 61 64 64 72 65 73 73 2e | 63 0a 23 09 64 6f 6d 61 |address.|c.#.doma|
|00000450| 69 6e 73 0a 23 09 67 65 | 74 68 6f 73 74 6e 61 6d |ins.#.ge|thostnam|
|00000460| 2e 63 0a 23 09 67 65 74 | 70 61 74 68 2e 63 0a 23 |.c.#.get|path.c.#|
|00000470| 09 6d 61 6b 65 66 69 6c | 65 0a 23 09 6f 70 61 74 |.makefil|e.#.opat|
|00000480| 68 2e 33 0a 23 09 6f 70 | 61 74 68 2e 63 0a 23 09 |h.3.#.op|ath.c.#.|
|00000490| 70 61 6c 69 61 73 0a 23 | 09 72 6d 61 69 6c 2e 63 |palias.#|.rmail.c|
|000004a0| 0a 23 09 75 75 63 6f 6e | 66 2e 68 0a 23 09 75 75 |.#.uucon|f.h.#.uu|
|000004b0| 6d 61 69 6c 2e 31 0a 23 | 09 75 75 6d 61 69 6c 2e |mail.1.#|.uumail.|
|000004c0| 63 0a 23 09 75 75 70 61 | 74 68 2e 31 0a 23 09 75 |c.#.uupa|th.1.#.u|
|000004d0| 75 70 61 74 68 2e 63 0a | 23 20 54 68 69 73 20 61 |upath.c.|# This a|
|000004e0| 72 63 68 69 76 65 20 63 | 72 65 61 74 65 64 3a 20 |rchive c|reated: |
|000004f0| 57 65 64 20 4e 6f 76 20 | 32 30 20 30 37 3a 31 36 |Wed Nov |20 07:16|
|00000500| 3a 33 35 20 31 39 38 35 | 0a 65 78 70 6f 72 74 20 |:35 1985|.export |
|00000510| 50 41 54 48 3b 20 50 41 | 54 48 3d 2f 62 69 6e 3a |PATH; PA|TH=/bin:|
|00000520| 24 50 41 54 48 0a 65 63 | 68 6f 20 73 68 61 72 3a |$PATH.ec|ho shar:|
|00000530| 20 65 78 74 72 61 63 74 | 69 6e 67 20 22 27 52 45 | extract|ing "'RE|
|00000540| 41 44 4d 45 27 22 20 27 | 28 32 33 36 36 20 63 68 |ADME'" '|(2366 ch|
|00000550| 61 72 61 63 74 65 72 73 | 29 27 0a 69 66 20 74 65 |aracters|)'.if te|
|00000560| 73 74 20 2d 66 20 27 52 | 45 41 44 4d 45 27 0a 74 |st -f 'R|EADME'.t|
|00000570| 68 65 6e 0a 09 65 63 68 | 6f 20 73 68 61 72 3a 20 |hen..ech|o shar: |
|00000580| 77 69 6c 6c 20 6e 6f 74 | 20 6f 76 65 72 2d 77 72 |will not| over-wr|
|00000590| 69 74 65 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ite exis|ting fil|
|000005a0| 65 20 22 27 52 45 41 44 | 4d 45 27 22 0a 65 6c 73 |e "'READ|ME'".els|
|000005b0| 65 0a 73 65 64 20 27 73 | 2f 5e 58 2f 2f 27 20 3c |e.sed 's|/^X//' <|
|000005c0| 3c 20 5c 53 48 41 52 5f | 45 4f 46 20 3e 20 27 52 |< \SHAR_|EOF > 'R|
|000005d0| 45 41 44 4d 45 27 0a 54 | 68 69 73 20 69 73 20 61 |EADME'.T|his is a|
|000005e0| 6e 20 75 70 64 61 74 65 | 64 20 76 65 72 73 69 6f |n update|d versio|
|000005f0| 6e 20 6f 66 20 75 75 6d | 61 69 6c 20 28 61 6e 64 |n of uum|ail (and|
|00000600| 20 75 75 70 61 74 68 29 | 20 74 68 61 74 20 63 61 | uupath)| that ca|
|00000610| 6e 20 0a 61 63 63 65 73 | 73 20 61 20 70 61 74 68 |n .acces|s a path|
|00000620| 61 6c 69 61 73 2d 67 65 | 6e 65 72 61 74 65 64 20 |alias-ge|nerated |
|00000630| 64 61 74 61 62 61 73 65 | 20 74 6f 20 66 61 63 69 |database| to faci|
|00000640| 6c 69 74 61 74 65 20 72 | 6f 75 74 69 6e 65 20 6d |litate r|outine m|
|00000650| 61 69 6c 2e 0a 0a 54 68 | 65 73 65 20 70 72 6f 67 |ail...Th|ese prog|
|00000660| 72 61 6d 20 63 61 6e 20 | 63 6f 70 65 20 77 69 74 |ram can |cope wit|
|00000670| 68 20 44 42 4d 20 61 6e | 64 20 73 74 61 6e 64 61 |h DBM an|d standa|
|00000680| 72 64 20 6c 69 6e 65 2d | 6f 72 69 65 6e 74 65 64 |rd line-|oriented|
|00000690| 20 66 6f 72 6d 73 20 6f | 66 20 0a 70 61 74 68 61 | forms o|f .patha|
|000006a0| 6c 69 61 73 2d 67 65 6e | 65 72 61 74 65 64 20 64 |lias-gen|erated d|
|000006b0| 61 74 61 62 61 73 65 73 | 2e 0a 0a 54 68 69 73 20 |atabases|...This |
|000006c0| 76 65 72 73 69 6f 6e 20 | 6f 66 20 75 75 6d 61 69 |version |of uumai|
|000006d0| 6c 20 63 61 6e 20 62 65 | 20 75 73 65 64 20 61 73 |l can be| used as|
|000006e0| 20 75 75 70 61 74 68 20 | 62 79 20 6c 69 6e 6b 69 | uupath |by linki|
|000006f0| 6e 67 20 75 75 6d 61 69 | 6c 20 74 6f 0a 75 75 70 |ng uumai|l to.uup|
|00000700| 61 74 68 2e 20 41 6c 73 | 6f 2c 20 74 68 69 73 20 |ath. Als|o, this |
|00000710| 76 65 72 73 69 6f 6e 20 | 63 61 6e 20 68 61 6e 64 |version |can hand|
|00000720| 6c 65 20 64 6f 6d 61 69 | 6e 20 61 64 64 72 65 73 |le domai|n addres|
|00000730| 73 65 73 20 28 75 73 65 | 72 40 68 6f 73 74 2e 64 |ses (use|r@host.d|
|00000740| 6f 6d 61 69 6e 29 2e 0a | 59 6f 75 20 63 61 6e 20 |omain)..|You can |
|00000750| 70 75 74 20 61 73 20 6d | 61 6e 79 20 61 64 64 72 |put as m|any addr|
|00000760| 65 73 73 65 73 20 6f 6e | 20 61 20 6c 69 6e 65 20 |esses on| a line |
|00000770| 61 73 20 79 6f 75 20 6c | 69 6b 65 2e 0a 0a 54 68 |as you l|ike...Th|
|00000780| 65 72 65 20 61 72 65 20 | 73 6f 6d 65 20 63 6f 6d |ere are |some com|
|00000790| 70 69 6c 65 20 66 6c 61 | 67 73 20 74 6f 20 62 65 |pile fla|gs to be|
|000007a0| 20 61 77 61 72 65 20 6f | 66 20 77 68 65 6e 20 6d | aware o|f when m|
|000007b0| 61 6b 69 6e 67 20 75 75 | 6d 61 69 6c 2e 0a 48 65 |aking uu|mail..He|
|000007c0| 72 65 20 69 73 20 61 20 | 6c 69 73 74 20 6f 66 20 |re is a |list of |
|000007d0| 74 68 65 6d 2e 0a 0a 44 | 45 42 55 47 20 63 6f 6d |them...D|EBUG com|
|000007e0| 70 69 6c 65 73 20 69 6e | 20 74 68 65 20 64 65 62 |piles in| the deb|
|000007f0| 75 67 67 69 6e 67 20 63 | 6f 64 65 2e 0a 4f 50 41 |ugging c|ode..OPA|
|00000800| 54 48 20 63 61 75 73 65 | 73 20 74 68 65 20 6f 70 |TH cause|s the op|
|00000810| 61 74 68 20 73 75 62 72 | 6f 75 74 69 6e 65 20 74 |ath subr|outine t|
|00000820| 6f 20 62 65 20 75 73 65 | 64 20 74 6f 20 72 65 73 |o be use|d to res|
|00000830| 6f 6c 76 65 20 61 64 64 | 72 65 73 73 65 73 2e 0a |olve add|resses..|
|00000840| 49 66 20 79 6f 75 20 64 | 6f 20 6e 6f 74 20 75 73 |If you d|o not us|
|00000850| 65 20 74 68 69 73 20 66 | 6c 61 67 2c 20 79 6f 75 |e this f|lag, you|
|00000860| 20 63 61 6e 6e 6f 74 20 | 75 73 65 20 74 68 65 20 | cannot |use the |
|00000870| 75 73 65 72 40 68 6f 73 | 74 2e 64 6f 6d 61 69 6e |user@hos|t.domain|
|00000880| 20 73 74 79 6c 65 0a 61 | 64 64 72 65 73 73 65 73 | style.a|ddresses|
|00000890| 20 77 69 74 68 20 75 75 | 6d 61 69 6c 2e 0a 44 42 | with uu|mail..DB|
|000008a0| 4d 20 63 61 75 73 65 73 | 20 75 75 6d 61 69 6c 20 |M causes| uumail |
|000008b0| 74 6f 20 75 73 65 20 74 | 68 65 20 44 42 4d 20 66 |to use t|he DBM f|
|000008c0| 6f 72 6d 61 74 20 70 61 | 74 61 6c 69 61 73 20 64 |ormat pa|talias d|
|000008d0| 61 74 61 62 61 73 65 2e | 20 49 66 20 79 6f 75 20 |atabase.| If you |
|000008e0| 64 6f 20 6e 6f 74 0a 68 | 61 76 65 20 74 68 65 20 |do not.h|ave the |
|000008f0| 64 62 6d 20 6c 69 62 72 | 61 72 69 65 73 2c 20 64 |dbm libr|aries, d|
|00000900| 6f 20 6e 6f 74 20 75 73 | 65 20 74 68 69 73 20 66 |o not us|e this f|
|00000910| 6c 61 67 2e 0a 58 53 59 | 53 49 49 49 20 77 69 6c |lag..XSY|SIII wil|
|00000920| 6c 20 6d 61 6b 65 20 61 | 64 6a 75 73 74 6d 65 6e |l make a|djustmen|
|00000930| 74 73 20 66 6f 72 20 73 | 79 73 74 65 6d 20 74 68 |ts for s|ystem th|
|00000940| 61 74 20 61 72 65 20 64 | 65 72 69 76 65 64 20 66 |at are d|erived f|
|00000950| 72 6f 6d 20 55 4e 49 58 | 20 53 79 73 74 65 6d 0a |rom UNIX| System.|
|00000960| 49 49 49 20 6f 72 20 53 | 79 73 74 65 6d 20 56 2e |III or S|ystem V.|
|00000970| 0a 4e 4f 47 52 41 44 45 | 20 73 68 6f 75 6c 64 20 |.NOGRADE| should |
|00000980| 62 65 20 75 73 65 64 20 | 69 66 20 79 6f 75 72 20 |be used |if your |
|00000990| 75 75 78 20 64 6f 65 73 | 20 6e 6f 74 20 75 6e 64 |uux does| not und|
|000009a0| 65 72 73 74 61 6e 64 20 | 74 68 65 20 2d 67 20 66 |erstand |the -g f|
|000009b0| 6c 61 67 2e 0a 4e 4f 52 | 45 54 55 52 4e 20 73 68 |lag..NOR|ETURN sh|
|000009c0| 6f 75 6c 64 20 62 65 20 | 75 73 65 64 20 69 66 20 |ould be |used if |
|000009d0| 79 6f 75 72 20 75 75 78 | 20 64 6f 65 73 20 6e 6f |your uux| does no|
|000009e0| 74 20 75 6e 64 65 72 73 | 74 61 6e 64 20 74 68 65 |t unders|tand the|
|000009f0| 20 2d 61 20 66 6c 61 67 | 2e 0a 4c 4f 47 20 77 69 | -a flag|..LOG wi|
|00000a00| 6c 6c 20 65 6e 61 62 6c | 65 20 6c 6f 67 67 69 6e |ll enabl|e loggin|
|00000a10| 67 20 6f 66 20 75 75 6d | 61 69 6c 20 74 72 61 66 |g of uum|ail traf|
|00000a20| 66 69 63 2e 0a 55 47 4c | 59 55 55 43 50 20 63 61 |fic..UGL|YUUCP ca|
|00000a30| 75 73 65 73 20 74 68 65 | 20 46 72 6f 6d 5f 20 6c |uses the| From_ l|
|00000a40| 69 6e 65 20 70 72 6f 64 | 75 63 65 64 20 62 79 20 |ine prod|uced by |
|00000a50| 75 75 6d 61 69 6c 20 74 | 6f 20 63 6f 6e 74 61 69 |uumail t|o contai|
|00000a60| 6e 20 74 68 65 0a 22 72 | 65 6d 6f 74 65 20 66 72 |n the."r|emote fr|
|00000a70| 6f 6d 20 68 6f 73 74 6e | 61 6d 65 22 20 73 74 72 |om hostn|ame" str|
|00000a80| 69 6e 67 2e 0a 47 45 54 | 48 4f 53 54 4e 41 4d 45 |ing..GET|HOSTNAME|
|00000a90| 20 77 69 6c 6c 20 63 61 | 75 73 65 20 74 68 65 20 | will ca|use the |
|00000aa0| 63 2d 6c 69 62 72 61 72 | 79 20 67 65 74 68 6f 73 |c-librar|y gethos|
|00000ab0| 74 6e 61 6d 65 20 74 6f | 20 62 65 20 75 73 65 64 |tname to| be used|
|00000ac0| 2e 20 49 66 20 79 6f 75 | 0a 61 72 65 20 61 20 42 |. If you|.are a B|
|00000ad0| 53 44 20 73 69 74 65 2c | 20 64 65 66 69 6e 65 20 |SD site,| define |
|00000ae0| 74 68 69 73 2e 0a 58 53 | 59 53 54 45 4d 4e 41 4d |this..XS|YSTEMNAM|
|00000af0| 45 20 77 69 6c 6c 20 63 | 61 75 73 65 20 74 68 65 |E will c|ause the|
|00000b00| 20 73 79 73 74 65 6d 6e | 61 6d 65 20 74 6f 20 62 | systemn|ame to b|
|00000b10| 65 20 64 65 72 69 76 65 | 64 20 66 72 6f 6d 20 74 |e derive|d from t|
|00000b20| 68 65 20 66 69 6c 65 0a | 2f 75 73 72 2f 6c 69 62 |he file.|/usr/lib|
|00000b30| 2f 75 75 63 70 2f 53 59 | 53 54 45 4d 4e 41 4d 45 |/uucp/SY|STEMNAME|
|00000b40| 2e 20 54 68 69 73 20 73 | 68 6f 75 6c 64 20 62 65 |. This s|hould be|
|00000b50| 20 64 65 66 69 6e 65 64 | 20 69 66 20 79 6f 75 72 | defined| if your|
|00000b60| 20 6d 61 63 68 69 6e 65 | 0a 69 73 20 61 20 53 70 | machine|.is a Sp|
|00000b70| 65 72 72 79 20 35 30 30 | 30 2e 0a 0a 0a 48 65 72 |erry 500|0....Her|
|00000b80| 65 20 69 73 20 74 68 65 | 20 6d 61 69 6c 65 72 20 |e is the| mailer |
|00000b90| 73 65 67 6d 65 6e 74 20 | 6f 66 20 61 20 73 65 6e |segment |of a sen|
|00000ba0| 64 6d 61 69 6c 20 63 6f | 6e 66 69 67 75 72 61 74 |dmail co|nfigurat|
|00000bb0| 69 6f 6e 20 66 69 6c 65 | 20 74 68 61 74 20 79 6f |ion file| that yo|
|00000bc0| 75 0a 63 61 6e 20 75 73 | 65 20 74 6f 20 64 65 66 |u.can us|e to def|
|00000bd0| 69 6e 65 20 74 68 65 20 | 75 75 6d 61 69 6c 20 70 |ine the |uumail p|
|00000be0| 72 6f 67 72 61 6d 20 61 | 73 20 61 20 6d 61 69 6c |rogram a|s a mail|
|00000bf0| 65 72 2e 0a 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |er..----|--------|
|00000c00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c30| 2d 2d 2d 2d 2d 2d 2d 0a | 23 23 23 23 23 23 23 23 |-------.|########|
|00000c40| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000c50| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000c60| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000c70| 23 23 23 23 0a 23 23 23 | 23 20 54 68 69 73 20 69 |####.###|# This i|
|00000c80| 73 20 61 20 73 70 65 63 | 69 61 6c 20 6d 61 69 6c |s a spec|ial mail|
|00000c90| 65 72 20 74 68 61 74 20 | 74 61 6b 65 73 20 61 64 |er that |takes ad|
|00000ca0| 76 61 6e 74 61 67 65 20 | 6f 66 20 20 20 20 23 23 |vantage |of ##|
|00000cb0| 23 0a 23 23 23 23 20 75 | 73 65 6d 61 70 20 64 61 |#.#### u|semap da|
|00000cc0| 74 61 62 61 73 65 20 66 | 6f 72 20 61 64 64 72 65 |tabase f|or addre|
|00000cd0| 73 73 65 73 20 74 6f 20 | 55 55 43 50 20 73 69 74 |sses to |UUCP sit|
|00000ce0| 65 73 20 20 20 20 20 20 | 20 20 20 23 23 23 0a 23 |es | ###.#|
|00000cf0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000d00| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000d10| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000d20| 23 23 23 23 23 23 23 23 | 23 23 23 0a 0a 4d 75 75 |########|###..Muu|
|00000d30| 6d 61 69 6c 2c 20 50 3d | 2f 75 73 72 2f 6c 69 62 |mail, P=|/usr/lib|
|00000d40| 2f 75 75 63 70 2f 75 75 | 6d 61 69 6c 2c 46 3d 73 |/uucp/uu|mail,F=s|
|00000d50| 44 46 68 75 55 4d 2c 53 | 3d 31 33 2c 52 3d 32 33 |DFhuUM,S|=13,R=23|
|00000d60| 2c 4d 3d 31 30 30 30 30 | 30 30 2c 0a 09 41 3d 75 |,M=10000|00,..A=u|
|00000d70| 75 6d 61 69 6c 20 2d 68 | 20 2d 67 43 20 2d 66 24 |umail -h| -gC -f$|
|00000d80| 67 20 24 68 21 24 75 0a | 2d 2d 2d 2d 2d 2d 2d 2d |g $h!$u.|--------|
|00000d90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000da0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000db0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000dc0| 2d 2d 2d 2d 2d 2d 0a 50 | 6c 65 61 73 65 20 62 65 |------.P|lease be|
|00000dd0| 20 73 75 72 65 20 74 68 | 61 74 20 74 68 65 20 53 | sure th|at the S|
|00000de0| 3d 20 61 6e 64 20 52 3d | 20 72 75 6c 65 73 20 61 |= and R=| rules a|
|00000df0| 72 65 20 63 6f 72 72 65 | 63 74 20 66 6f 72 20 79 |re corre|ct for y|
|00000e00| 6f 75 72 0a 73 79 73 74 | 65 6d 2e 20 54 68 65 79 |our.syst|em. They|
|00000e10| 20 73 68 6f 75 6c 64 20 | 6d 61 74 63 68 20 74 68 | should |match th|
|00000e20| 65 20 75 75 63 70 20 6d | 61 69 6c 65 72 20 72 75 |e uucp m|ailer ru|
|00000e30| 6c 65 73 20 65 78 61 63 | 74 6c 79 2e 0a 0a 41 20 |les exac|tly...A |
|00000e40| 6d 61 6e 75 61 6c 20 70 | 61 67 65 20 66 6f 72 20 |manual p|age for |
|00000e50| 75 75 6d 61 69 6c 20 61 | 6e 64 20 75 75 70 61 74 |uumail a|nd uupat|
|00000e60| 68 20 61 72 65 20 69 6e | 63 6c 75 64 65 64 2e 0a |h are in|cluded..|
|00000e70| 0a 50 6c 65 61 73 65 20 | 66 6f 72 77 61 72 64 20 |.Please |forward |
|00000e80| 63 6f 6d 6d 65 6e 74 73 | 20 61 6e 64 20 62 75 67 |comments| and bug|
|00000e90| 20 66 69 78 65 73 20 74 | 6f 20 6d 65 20 61 74 20 | fixes t|o me at |
|00000ea0| 73 6f 62 40 72 69 63 65 | 2e 65 64 75 20 6f 72 20 |sob@rice|.edu or |
|00000eb0| 0a 69 68 6e 70 34 21 73 | 68 65 6c 6c 21 6e 65 75 |.ihnp4!s|hell!neu|
|00000ec0| 72 6f 31 21 73 6f 62 20 | 6f 72 20 74 65 78 73 75 |ro1!sob |or texsu|
|00000ed0| 6e 21 64 72 69 6c 6c 74 | 65 63 68 21 73 6f 62 0a |n!drillt|ech!sob.|
|00000ee0| 0a 58 53 74 61 6e 20 42 | 61 72 62 65 72 0a 42 61 |.XStan B|arber.Ba|
|00000ef0| 79 6c 6f 72 20 43 6f 6c | 6c 65 67 65 20 6f 66 20 |ylor Col|lege of |
|00000f00| 4d 65 64 69 63 69 6e 65 | 0a 48 6f 75 73 74 6f 6e |Medicine|.Houston|
|00000f10| 2c 20 54 65 78 61 73 0a | 53 48 41 52 5f 45 4f 46 |, Texas.|SHAR_EOF|
|00000f20| 0a 69 66 20 74 65 73 74 | 20 32 33 36 36 20 2d 6e |.if test| 2366 -n|
|00000f30| 65 20 22 60 77 63 20 2d | 63 20 3c 20 27 52 45 41 |e "`wc -|c < 'REA|
|00000f40| 44 4d 45 27 60 22 0a 74 | 68 65 6e 0a 09 65 63 68 |DME'`".t|hen..ech|
|00000f50| 6f 20 73 68 61 72 3a 20 | 65 72 72 6f 72 20 74 72 |o shar: |error tr|
|00000f60| 61 6e 73 6d 69 74 74 69 | 6e 67 20 22 27 52 45 41 |ansmitti|ng "'REA|
|00000f70| 44 4d 45 27 22 20 27 28 | 73 68 6f 75 6c 64 20 68 |DME'" '(|should h|
|00000f80| 61 76 65 20 62 65 65 6e | 20 32 33 36 36 20 63 68 |ave been| 2366 ch|
|00000f90| 61 72 61 63 74 65 72 73 | 29 27 0a 66 69 0a 66 69 |aracters|)'.fi.fi|
|00000fa0| 20 23 20 65 6e 64 20 6f | 66 20 6f 76 65 72 77 72 | # end o|f overwr|
|00000fb0| 69 74 69 6e 67 20 63 68 | 65 63 6b 0a 65 63 68 6f |iting ch|eck.echo|
|00000fc0| 20 73 68 61 72 3a 20 65 | 78 74 72 61 63 74 69 6e | shar: e|xtractin|
|00000fd0| 67 20 22 27 52 45 41 44 | 4d 45 2e 6f 72 69 67 27 |g "'READ|ME.orig'|
|00000fe0| 22 20 27 28 38 37 35 20 | 63 68 61 72 61 63 74 65 |" '(875 |characte|
|00000ff0| 72 73 29 27 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |rs)'.if |test -f |
|00001000| 27 52 45 41 44 4d 45 2e | 6f 72 69 67 27 0a 74 68 |'README.|orig'.th|
|00001010| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 77 |en..echo| shar: w|
|00001020| 69 6c 6c 20 6e 6f 74 20 | 6f 76 65 72 2d 77 72 69 |ill not |over-wri|
|00001030| 74 65 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |te exist|ing file|
|00001040| 20 22 27 52 45 41 44 4d | 45 2e 6f 72 69 67 27 22 | "'READM|E.orig'"|
|00001050| 0a 65 6c 73 65 0a 73 65 | 64 20 27 73 2f 5e 58 2f |.else.se|d 's/^X/|
|00001060| 2f 27 20 3c 3c 20 5c 53 | 48 41 52 5f 45 4f 46 20 |/' << \S|HAR_EOF |
|00001070| 3e 20 27 52 45 41 44 4d | 45 2e 6f 72 69 67 27 0a |> 'READM|E.orig'.|
|00001080| 54 68 65 20 6d 61 6b 65 | 66 69 6c 65 20 63 61 6e |The make|file can|
|00001090| 20 6d 61 6b 65 20 74 77 | 6f 20 70 72 6f 67 72 61 | make tw|o progra|
|000010a0| 6d 73 2e 20 20 4f 6e 65 | 20 69 73 20 61 20 66 69 |ms. One| is a fi|
|000010b0| 6c 74 65 72 20 74 68 61 | 74 20 63 61 6e 20 62 65 |lter tha|t can be|
|000010c0| 20 75 73 65 64 0a 74 6f | 20 65 78 70 61 6e 64 20 | used.to| expand |
|000010d0| 6e 65 74 77 6f 72 6b 20 | 70 61 74 68 73 2e 20 20 |network |paths. |
|000010e0| 54 6f 20 69 6e 73 74 61 | 6c 6c 20 69 74 20 79 6f |To insta|ll it yo|
|000010f0| 75 20 72 65 6e 61 6d 65 | 20 74 68 65 20 70 72 6f |u rename| the pro|
|00001100| 67 72 61 6d 20 74 68 61 | 74 20 79 6f 75 0a 77 61 |gram tha|t you.wa|
|00001110| 6e 74 20 66 69 6c 74 65 | 72 65 64 2e 20 20 54 68 |nt filte|red. Th|
|00001120| 65 20 6e 65 77 20 66 69 | 6c 65 20 6e 61 6d 65 20 |e new fi|le name |
|00001130| 69 73 20 73 69 6d 70 6c | 79 20 74 68 65 20 6f 6c |is simpl|y the ol|
|00001140| 64 20 6f 6e 65 20 77 69 | 74 68 20 61 20 70 65 72 |d one wi|th a per|
|00001150| 69 6f 64 20 28 2e 29 20 | 0a 61 70 70 65 6e 64 65 |iod (.) |.appende|
|00001160| 64 20 74 6f 20 74 68 65 | 20 65 6e 64 2e 20 20 54 |d to the| end. T|
|00001170| 68 65 20 66 69 6c 74 65 | 72 20 70 72 6f 67 72 61 |he filte|r progra|
|00001180| 6d 20 28 66 69 6c 74 65 | 72 29 20 69 73 20 74 68 |m (filte|r) is th|
|00001190| 65 6e 20 72 65 6e 61 6d | 65 64 20 74 6f 20 74 68 |en renam|ed to th|
|000011a0| 65 20 0a 6f 72 69 67 69 | 6e 61 6c 20 6e 61 6d 65 |e .origi|nal name|
|000011b0| 20 6f 66 20 74 68 65 20 | 70 72 6f 67 72 61 6d 20 | of the |program |
|000011c0| 74 6f 20 62 65 20 66 69 | 6c 74 65 72 65 64 2e 0a |to be fi|ltered..|
|000011d0| 09 69 65 20 6d 61 69 6c | 20 64 72 75 78 6e 21 6b |.ie mail| druxn!k|
|000011e0| 61 6b 20 67 65 74 73 20 | 63 6f 6e 76 65 72 74 65 |ak gets |converte|
|000011f0| 64 20 74 6f 0a 09 6d 61 | 69 6c 2e 20 70 75 72 2d |d to..ma|il. pur-|
|00001200| 65 65 21 64 65 63 76 61 | 78 21 2e 2e 2e 21 64 72 |ee!decva|x!...!dr|
|00001210| 75 78 6e 21 6b 61 6b 0a | 0a 54 68 65 20 73 65 63 |uxn!kak.|.The sec|
|00001220| 6f 6e 64 20 66 69 6c 65 | 20 74 68 65 20 6d 61 6b |ond file| the mak|
|00001230| 65 66 69 6c 65 20 6d 61 | 6b 65 73 20 69 73 20 75 |efile ma|kes is u|
|00001240| 75 70 61 74 68 2e 20 20 | 54 68 69 73 20 77 69 6c |upath. |This wil|
|00001250| 6c 20 74 65 6c 6c 20 79 | 6f 75 20 74 68 65 20 6e |l tell y|ou the n|
|00001260| 65 74 77 6f 72 6b 0a 70 | 61 74 68 73 20 6f 66 20 |etwork.p|aths of |
|00001270| 69 74 73 20 61 72 67 75 | 6d 65 6e 74 73 0a 6e 61 |its argu|ments.na|
|00001280| 6d 65 20 74 65 6c 6c 20 | 79 6f 75 20 74 68 65 20 |me tell |you the |
|00001290| 70 61 74 68 20 74 6f 20 | 69 74 2e 0a 0a 44 6f 6e |path to |it...Don|
|000012a0| 27 74 20 66 6f 72 67 65 | 74 20 74 6f 20 6d 6f 64 |'t forge|t to mod|
|000012b0| 69 66 79 20 74 68 65 20 | 64 65 66 69 6e 65 73 20 |ify the |defines |
|000012c0| 66 6f 72 20 74 68 65 20 | 6c 6f 63 61 74 69 6f 6e |for the |location|
|000012d0| 20 6f 66 20 74 68 65 20 | 6e 65 74 77 6f 72 6b 20 | of the |network |
|000012e0| 6d 61 70 2e 20 20 54 68 | 65 0a 64 65 66 61 75 6c |map. Th|e.defaul|
|000012f0| 74 20 6c 6f 63 61 74 69 | 6f 6e 20 69 73 20 2f 65 |t locati|on is /e|
|00001300| 74 63 2f 75 73 65 6d 61 | 70 0a 0a 49 66 20 79 6f |tc/usema|p..If yo|
|00001310| 75 20 68 61 76 65 20 61 | 6e 79 20 71 75 65 73 74 |u have a|ny quest|
|00001320| 69 6f 6e 73 20 6a 75 73 | 74 20 61 73 6b 2e 0a 0a |ions jus|t ask...|
|00001330| 09 09 09 4a 65 66 66 20 | 44 6f 6e 6e 65 6c 6c 79 |...Jeff |Donnelly|
|00001340| 20 20 28 32 31 37 29 20 | 33 33 33 2d 36 31 30 36 | (217) |333-6106|
|00001350| 0a 09 09 09 55 6e 69 76 | 65 72 73 69 74 79 20 6f |....Univ|ersity o|
|00001360| 66 20 49 6c 6c 69 6e 6f | 69 73 0a 09 09 09 70 75 |f Illino|is....pu|
|00001370| 72 2d 65 65 21 75 69 75 | 63 64 63 73 21 64 6f 6e |r-ee!uiu|cdcs!don|
|00001380| 6e 65 6c 6c 79 0a 0a 4a | 65 66 66 20 6d 61 79 20 |nelly..J|eff may |
|00001390| 6e 6f 74 20 68 65 6c 70 | 20 6d 75 63 68 20 2d 2d |not help| much --|
|000013a0| 20 68 69 73 20 6e 65 77 | 20 6e 75 6d 62 65 72 20 | his new| number |
|000013b0| 69 73 20 32 31 37 2d 33 | 33 33 2d 37 39 33 37 3b |is 217-3|33-7937;|
|000013c0| 0a 4b 6f 6c 73 74 61 64 | 20 63 61 6e 20 68 65 6c |.Kolstad| can hel|
|000013d0| 70 20 73 6f 6d 65 20 61 | 6c 73 6f 3a 20 20 32 31 |p some a|lso: 21|
|000013e0| 34 2d 36 36 39 2d 33 37 | 30 30 0a 53 48 41 52 5f |4-669-37|00.SHAR_|
|000013f0| 45 4f 46 0a 69 66 20 74 | 65 73 74 20 38 37 35 20 |EOF.if t|est 875 |
|00001400| 2d 6e 65 20 22 60 77 63 | 20 2d 63 20 3c 20 27 52 |-ne "`wc| -c < 'R|
|00001410| 45 41 44 4d 45 2e 6f 72 | 69 67 27 60 22 0a 74 68 |EADME.or|ig'`".th|
|00001420| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 65 |en..echo| shar: e|
|00001430| 72 72 6f 72 20 74 72 61 | 6e 73 6d 69 74 74 69 6e |rror tra|nsmittin|
|00001440| 67 20 22 27 52 45 41 44 | 4d 45 2e 6f 72 69 67 27 |g "'READ|ME.orig'|
|00001450| 22 20 27 28 73 68 6f 75 | 6c 64 20 68 61 76 65 20 |" '(shou|ld have |
|00001460| 62 65 65 6e 20 38 37 35 | 20 63 68 61 72 61 63 74 |been 875| charact|
|00001470| 65 72 73 29 27 0a 66 69 | 0a 66 69 20 23 20 65 6e |ers)'.fi|.fi # en|
|00001480| 64 20 6f 66 20 6f 76 65 | 72 77 72 69 74 69 6e 67 |d of ove|rwriting|
|00001490| 20 63 68 65 63 6b 0a 65 | 63 68 6f 20 73 68 61 72 | check.e|cho shar|
|000014a0| 3a 20 65 78 74 72 61 63 | 74 69 6e 67 20 22 27 61 |: extrac|ting "'a|
|000014b0| 64 64 72 65 73 73 2e 31 | 27 22 20 27 28 33 35 36 |ddress.1|'" '(356|
|000014c0| 33 20 63 68 61 72 61 63 | 74 65 72 73 29 27 0a 69 |3 charac|ters)'.i|
|000014d0| 66 20 74 65 73 74 20 2d | 66 20 27 61 64 64 72 65 |f test -|f 'addre|
|000014e0| 73 73 2e 31 27 0a 74 68 | 65 6e 0a 09 65 63 68 6f |ss.1'.th|en..echo|
|000014f0| 20 73 68 61 72 3a 20 77 | 69 6c 6c 20 6e 6f 74 20 | shar: w|ill not |
|00001500| 6f 76 65 72 2d 77 72 69 | 74 65 20 65 78 69 73 74 |over-wri|te exist|
|00001510| 69 6e 67 20 66 69 6c 65 | 20 22 27 61 64 64 72 65 |ing file| "'addre|
|00001520| 73 73 2e 31 27 22 0a 65 | 6c 73 65 0a 73 65 64 20 |ss.1'".e|lse.sed |
|00001530| 27 73 2f 5e 58 2f 2f 27 | 20 3c 3c 20 5c 53 48 41 |'s/^X//'| << \SHA|
|00001540| 52 5f 45 4f 46 20 3e 20 | 27 61 64 64 72 65 73 73 |R_EOF > |'address|
|00001550| 2e 31 27 0a 58 2e 54 48 | 20 41 44 44 52 45 53 53 |.1'.X.TH| ADDRESS|
|00001560| 20 31 20 6c 6f 63 61 6c | 0a 58 2e 53 48 20 4e 41 | 1 local|.X.SH NA|
|00001570| 4d 45 0a 61 64 64 72 65 | 73 73 20 2d 20 64 69 73 |ME.addre|ss - dis|
|00001580| 70 6c 61 79 20 74 68 65 | 20 70 61 74 68 20 67 65 |play the| path ge|
|00001590| 6e 65 72 61 74 65 64 20 | 62 79 20 5c 66 42 64 65 |nerated |by \fBde|
|000015a0| 6c 69 76 65 72 5c 66 52 | 20 66 6f 72 20 61 6e 0a |liver\fR| for an.|
|000015b0| 52 46 43 38 32 32 2d 66 | 6f 72 6d 61 74 20 61 64 |RFC822-f|ormat ad|
|000015c0| 64 72 65 73 73 2e 0a 58 | 2e 53 48 20 53 59 4e 4f |dress..X|.SH SYNO|
|000015d0| 50 53 49 53 0a 61 64 64 | 72 65 73 73 20 72 66 63 |PSIS.add|ress rfc|
|000015e0| 2d 61 64 64 72 65 73 73 | 20 5b 20 2e 2e 2e 20 5d |-address| [ ... ]|
|000015f0| 0a 58 2e 53 48 20 44 45 | 53 43 52 49 50 54 49 4f |.X.SH DE|SCRIPTIO|
|00001600| 4e 0a 54 68 69 73 20 70 | 72 6f 67 72 61 6d 20 61 |N.This p|rogram a|
|00001610| 6c 6c 6f 77 73 20 79 6f | 75 20 74 6f 20 63 68 65 |llows yo|u to che|
|00001620| 63 6b 20 74 68 65 20 55 | 55 43 50 20 6d 61 69 6c |ck the U|UCP mail|
|00001630| 20 72 6f 75 74 69 6e 67 | 20 70 61 74 68 20 74 68 | routing| path th|
|00001640| 61 74 20 77 69 6c 6c 0a | 62 65 20 67 65 6e 65 72 |at will.|be gener|
|00001650| 61 74 65 64 20 62 79 20 | 74 68 65 20 55 55 43 50 |ated by |the UUCP|
|00001660| 20 6d 61 69 6c 65 72 20 | 5c 66 42 64 65 6c 69 76 | mailer |\fBdeliv|
|00001670| 65 72 5c 66 52 20 69 66 | 20 79 6f 75 20 73 70 65 |er\fR if| you spe|
|00001680| 63 69 66 79 20 61 6e 0a | 52 46 43 38 32 32 2d 66 |cify an.|RFC822-f|
|00001690| 6f 72 6d 61 74 20 61 64 | 64 72 65 73 73 20 5c 66 |ormat ad|dress \f|
|000016a0| 42 72 66 63 2d 61 64 64 | 72 65 73 73 5c 66 52 20 |Brfc-add|ress\fR |
|000016b0| 69 6e 20 74 68 65 20 60 | 60 54 6f 3a 27 27 20 66 |in the `|`To:'' f|
|000016c0| 69 65 6c 64 20 6f 66 20 | 74 68 65 20 6d 61 69 6c |ield of |the mail|
|000016d0| 20 68 65 61 64 65 72 2e | 0a 58 46 6f 72 20 65 61 | header.|.XFor ea|
|000016e0| 63 68 20 52 46 43 2d 73 | 74 79 6c 65 20 61 64 64 |ch RFC-s|tyle add|
|000016f0| 72 65 73 73 20 6f 6e 20 | 74 68 65 20 63 6f 6d 6d |ress on |the comm|
|00001700| 61 6e 64 20 6c 69 6e 65 | 2c 20 5c 66 42 61 64 64 |and line|, \fBadd|
|00001710| 72 65 73 73 5c 66 52 20 | 65 63 68 6f 65 73 20 74 |ress\fR |echoes t|
|00001720| 68 65 0a 61 64 64 72 65 | 73 73 20 74 6f 20 74 68 |he.addre|ss to th|
|00001730| 65 20 73 74 61 6e 64 61 | 72 64 20 6f 75 74 70 75 |e standa|rd outpu|
|00001740| 74 2c 20 66 6f 6c 6c 6f | 77 65 64 20 62 79 20 61 |t, follo|wed by a|
|00001750| 20 63 6f 6c 6f 6e 2c 20 | 66 6f 6c 6c 6f 77 65 64 | colon, |followed|
|00001760| 20 62 79 0a 74 68 65 20 | 55 55 43 50 20 61 64 64 | by.the |UUCP add|
|00001770| 72 65 73 73 20 74 68 61 | 74 20 77 69 6c 6c 20 62 |ress tha|t will b|
|00001780| 65 20 75 73 65 64 20 74 | 6f 20 73 65 6e 64 20 74 |e used t|o send t|
|00001790| 68 65 20 6d 65 73 73 61 | 67 65 20 74 6f 20 74 68 |he messa|ge to th|
|000017a0| 61 74 20 61 64 64 72 65 | 73 73 2e 0a 0a 58 2e 53 |at addre|ss...X.S|
|000017b0| 48 20 22 41 44 44 52 45 | 53 53 20 46 4f 52 4d 41 |H "ADDRE|SS FORMA|
|000017c0| 54 22 0a 42 72 69 65 66 | 6c 79 2c 20 74 68 65 20 |T".Brief|ly, the |
|000017d0| 52 46 43 38 32 32 2d 66 | 6f 72 6d 61 74 20 61 64 |RFC822-f|ormat ad|
|000017e0| 64 72 65 73 73 20 69 73 | 20 6f 66 20 74 68 65 20 |dress is| of the |
|000017f0| 66 6f 72 6d 0a 58 2e 6e | 66 0a 58 2e 73 70 20 31 |form.X.n|f.X.sp 1|
|00001800| 0a 09 3c 6c 6f 63 61 6c | 61 64 64 72 65 73 73 3e |..<local|address>|
|00001810| 40 3c 68 6f 73 74 6e 61 | 6d 65 3e 2e 3c 6e 65 74 |@<hostna|me>.<net|
|00001820| 77 6f 72 6b 3e 0a 58 2e | 73 70 20 31 0a 58 2e 66 |work>.X.|sp 1.X.f|
|00001830| 69 0a 77 68 65 72 65 20 | 3c 68 6f 73 74 6e 61 6d |i.where |<hostnam|
|00001840| 65 3e 20 69 73 20 74 68 | 65 20 6e 61 6d 65 20 6f |e> is th|e name o|
|00001850| 66 20 74 68 65 20 73 79 | 73 74 65 6d 20 79 6f 75 |f the sy|stem you|
|00001860| 20 61 72 65 20 73 65 6e | 64 69 6e 67 20 74 68 65 | are sen|ding the|
|00001870| 20 6d 65 73 73 61 67 65 | 0a 74 6f 2c 20 3c 6e 65 | message|.to, <ne|
|00001880| 74 77 6f 72 6b 3e 20 69 | 73 20 61 20 6d 6f 64 69 |twork> i|s a modi|
|00001890| 66 69 65 72 20 66 6f 72 | 20 3c 68 6f 73 74 6e 61 |fier for| <hostna|
|000018a0| 6d 65 3e 20 69 64 65 6e | 74 69 66 79 69 6e 67 20 |me> iden|tifying |
|000018b0| 74 68 65 20 6e 65 74 77 | 6f 72 6b 20 69 6e 0a 77 |the netw|ork in.w|
|000018c0| 68 69 63 68 20 74 68 65 | 20 61 64 64 72 65 73 73 |hich the| address|
|000018d0| 20 69 73 20 74 6f 20 62 | 65 20 69 6e 74 65 72 70 | is to b|e interp|
|000018e0| 72 65 74 65 64 20 28 55 | 55 43 50 2c 20 41 52 50 |reted (U|UCP, ARP|
|000018f0| 41 2c 20 4d 41 49 4c 4e | 45 54 2c 20 43 53 4e 45 |A, MAILN|ET, CSNE|
|00001900| 54 2c 20 65 74 63 29 3b | 0a 61 6e 64 20 3c 6c 6f |T, etc);|.and <lo|
|00001910| 63 61 6c 61 64 64 72 65 | 73 73 3e 20 69 73 20 61 |caladdre|ss> is a|
|00001920| 6e 20 61 64 64 72 65 73 | 73 20 73 74 72 69 6e 67 |n addres|s string|
|00001930| 20 74 6f 20 62 65 20 69 | 6e 74 65 72 70 72 65 74 | to be i|nterpret|
|00001940| 65 64 20 6f 6e 20 74 68 | 65 20 68 6f 73 74 0a 6d |ed on th|e host.m|
|00001950| 61 63 68 69 6e 65 2e 0a | 0a 54 68 65 20 3c 6c 6f |achine..|.The <lo|
|00001960| 63 61 6c 61 64 64 72 65 | 73 73 3e 20 66 69 65 6c |caladdre|ss> fiel|
|00001970| 64 20 6d 61 79 20 63 6f | 6e 74 61 69 6e 20 66 75 |d may co|ntain fu|
|00001980| 72 74 68 65 72 20 72 65 | 6d 6f 74 65 20 61 64 64 |rther re|mote add|
|00001990| 72 65 73 73 65 73 20 74 | 6f 20 62 65 0a 69 6e 74 |resses t|o be.int|
|000019a0| 65 72 70 72 65 74 65 64 | 20 6f 6e 20 74 68 65 20 |erpreted| on the |
|000019b0| 68 6f 73 74 20 6d 61 63 | 68 69 6e 65 2e 20 20 54 |host mac|hine. T|
|000019c0| 79 70 69 63 61 6c 6c 79 | 20 74 68 69 73 20 77 69 |ypically| this wi|
|000019d0| 6c 6c 20 62 65 20 61 6e | 20 61 64 64 72 65 73 73 |ll be an| address|
|000019e0| 20 66 6f 72 0a 6d 61 69 | 6c 69 6e 67 20 76 69 61 | for.mai|ling via|
|000019f0| 20 61 6e 6f 74 68 65 72 | 20 6e 65 74 77 6f 72 6b | another| network|
|00001a00| 3b 20 61 6e 64 20 69 6e | 20 70 61 72 74 69 63 75 |; and in| particu|
|00001a10| 6c 61 72 2c 20 74 68 65 | 20 3c 6c 6f 63 61 6c 61 |lar, the| <locala|
|00001a20| 64 64 72 65 73 73 3e 20 | 6d 61 79 0a 28 72 65 63 |ddress> |may.(rec|
|00001a30| 75 72 73 69 76 65 6c 79 | 29 20 62 65 20 69 64 65 |ursively|) be ide|
|00001a40| 6e 74 69 63 61 6c 20 69 | 6e 20 66 6f 72 6d 61 74 |ntical i|n format|
|00001a50| 20 74 6f 20 74 68 65 20 | 52 46 43 20 61 64 64 72 | to the |RFC addr|
|00001a60| 65 73 73 2c 20 62 75 74 | 20 77 69 74 68 0a 74 68 |ess, but| with.th|
|00001a70| 65 20 73 79 6d 62 6f 6c | 20 60 25 27 20 72 65 70 |e symbol| `%' rep|
|00001a80| 6c 61 63 69 6e 67 20 74 | 68 65 20 73 79 6d 62 6f |lacing t|he symbo|
|00001a90| 6c 20 60 40 27 20 69 6e | 20 74 68 65 20 73 74 61 |l `@' in| the sta|
|00001aa0| 6e 64 61 72 64 20 61 64 | 64 72 65 73 73 20 66 6f |ndard ad|dress fo|
|00001ab0| 72 6d 61 74 2e 0a 57 68 | 65 72 65 20 74 68 69 73 |rmat..Wh|ere this|
|00001ac0| 20 66 6f 72 6d 20 69 73 | 20 75 73 65 64 2c 20 74 | form is| used, t|
|00001ad0| 68 65 20 72 69 67 68 74 | 6d 6f 73 74 20 25 20 69 |he right|most % i|
|00001ae0| 73 20 72 65 70 6c 61 63 | 65 64 20 62 79 20 61 6e |s replac|ed by an|
|00001af0| 0a 40 20 62 65 66 6f 72 | 65 20 74 68 65 20 68 6f |.@ befor|e the ho|
|00001b00| 73 74 20 6d 61 63 68 69 | 6e 65 20 73 65 6e 64 73 |st machi|ne sends|
|00001b10| 20 74 68 65 20 6d 65 73 | 73 61 67 65 20 6f 75 74 | the mes|sage out|
|00001b20| 2e 0a 0a 4f 6e 20 6f 75 | 72 20 73 79 73 74 65 6d |...On ou|r system|
|00001b30| 2c 20 74 68 65 20 70 72 | 65 73 65 6e 74 6c 79 0a |, the pr|esently.|
|00001b40| 76 61 6c 69 64 20 3c 6e | 65 74 77 6f 72 6b 3e 73 |valid <n|etwork>s|
|00001b50| 20 61 72 65 20 55 55 43 | 50 2c 20 41 52 50 41 2c | are UUC|P, ARPA,|
|00001b60| 20 43 53 4e 45 54 2c 20 | 61 6e 64 20 4d 41 49 4c | CSNET, |and MAIL|
|00001b70| 4e 45 54 2e 0a 54 68 65 | 20 72 65 63 65 6e 74 6c |NET..The| recentl|
|00001b80| 79 20 70 72 6f 70 6f 73 | 65 64 20 55 55 43 50 20 |y propos|ed UUCP |
|00001b90| 64 6f 6d 61 69 6e 20 6e | 61 6d 65 73 20 61 72 65 |domain n|ames are|
|00001ba0| 20 61 6c 73 6f 20 61 63 | 63 65 70 74 65 64 2c 20 | also ac|cepted, |
|00001bb0| 61 6c 74 68 6f 75 67 68 | 0a 74 68 65 79 20 61 72 |although|.they ar|
|00001bc0| 65 20 74 72 65 61 74 65 | 64 20 74 68 65 20 73 61 |e treate|d the sa|
|00001bd0| 6d 65 20 61 73 20 70 6c | 61 69 6e 20 60 60 55 55 |me as pl|ain ``UU|
|00001be0| 43 50 27 27 2e 0a 4f 6d | 69 74 74 69 6e 67 0a 74 |CP''..Om|itting.t|
|00001bf0| 68 65 20 3c 6e 65 74 77 | 6f 72 6b 3e 20 63 61 75 |he <netw|ork> cau|
|00001c00| 73 65 73 20 74 68 65 20 | 6e 65 74 77 6f 72 6b 20 |ses the |network |
|00001c10| 74 6f 20 64 65 66 61 75 | 6c 74 20 74 6f 20 55 55 |to defau|lt to UU|
|00001c20| 43 50 2e 20 20 54 68 65 | 20 3c 68 6f 73 74 6e 61 |CP. The| <hostna|
|00001c30| 6d 65 3e 0a 73 68 6f 75 | 6c 64 20 62 65 20 74 68 |me>.shou|ld be th|
|00001c40| 65 20 6e 61 6d 65 20 6f | 66 20 61 20 72 65 6d 6f |e name o|f a remo|
|00001c50| 74 65 20 6d 61 63 68 69 | 6e 65 20 74 6f 20 77 68 |te machi|ne to wh|
|00001c60| 69 63 68 20 74 68 65 20 | 6d 65 73 73 61 67 65 20 |ich the |message |
|00001c70| 69 73 0a 64 69 72 65 63 | 74 65 64 3b 20 73 65 65 |is.direc|ted; see|
|00001c80| 20 5c 66 49 2f 75 73 72 | 2f 6c 69 62 2f 75 75 63 | \fI/usr|/lib/uuc|
|00001c90| 70 2f 75 75 61 64 64 72 | 65 73 73 2e 61 6c 70 68 |p/uuaddr|ess.alph|
|00001ca0| 61 5c 66 52 20 66 6f 72 | 20 61 20 6c 69 73 74 20 |a\fR for| a list |
|00001cb0| 6f 66 20 61 6c 6c 0a 6b | 6e 6f 77 6e 20 55 55 43 |of all.k|nown UUC|
|00001cc0| 50 20 68 6f 73 74 6e 61 | 6d 65 73 2e 20 20 49 74 |P hostna|mes. It|
|00001cd0| 20 69 73 20 5c 66 49 6e | 6f 74 5c 66 52 20 6e 65 | is \fIn|ot\fR ne|
|00001ce0| 63 65 73 73 61 72 79 20 | 74 6f 20 73 70 65 63 69 |cessary |to speci|
|00001cf0| 66 79 20 61 20 55 55 43 | 50 20 70 61 74 68 6e 61 |fy a UUC|P pathna|
|00001d00| 6d 65 0a 77 68 65 6e 20 | 75 73 69 6e 67 20 74 68 |me.when |using th|
|00001d10| 69 73 20 66 6f 72 6d 61 | 74 3b 20 74 68 65 20 70 |is forma|t; the p|
|00001d20| 61 74 68 6e 61 6d 65 20 | 69 73 20 61 75 74 6f 6d |athname |is autom|
|00001d30| 61 74 69 63 61 6c 6c 79 | 20 64 65 74 65 72 6d 69 |atically| determi|
|00001d40| 6e 65 64 20 66 6f 72 20 | 79 6f 75 0a 61 6e 64 20 |ned for |you.and |
|00001d50| 73 75 62 73 74 69 74 75 | 74 65 64 20 69 6e 74 6f |substitu|ted into|
|00001d60| 20 74 68 65 20 61 64 64 | 72 65 73 73 20 62 65 66 | the add|ress bef|
|00001d70| 6f 72 65 20 6d 61 69 6c | 69 6e 67 2e 20 20 54 68 |ore mail|ing. Th|
|00001d80| 65 20 73 65 6c 65 63 74 | 65 64 20 70 61 74 68 6e |e select|ed pathn|
|00001d90| 61 6d 65 0a 69 73 20 64 | 65 74 65 72 6d 69 6e 65 |ame.is d|etermine|
|00001da0| 64 20 75 73 69 6e 67 20 | 74 68 65 20 5c 66 42 70 |d using |the \fBp|
|00001db0| 61 74 68 61 6c 69 61 73 | 5c 66 52 20 64 61 74 61 |athalias|\fR data|
|00001dc0| 62 61 73 65 2c 20 61 6e | 64 20 69 73 20 73 75 70 |base, an|d is sup|
|00001dd0| 70 6f 73 65 64 0a 74 6f | 20 62 65 20 6f 70 74 69 |posed.to| be opti|
|00001de0| 6d 61 6c 2c 20 74 61 6b | 69 6e 67 20 69 6e 74 6f |mal, tak|ing into|
|00001df0| 20 63 6f 6e 73 69 64 65 | 72 61 74 69 6f 6e 20 69 | conside|ration i|
|00001e00| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 70 72 6f 76 69 |nformati|on provi|
|00001e10| 64 65 64 20 62 79 0a 65 | 61 63 68 20 73 69 74 65 |ded by.e|ach site|
|00001e20| 20 61 62 6f 75 74 20 68 | 6f 77 20 6f 66 74 65 6e | about h|ow often|
|00001e30| 20 74 68 65 79 20 73 65 | 6e 64 20 6d 61 69 6c 20 | they se|nd mail |
|00001e40| 6f 75 74 2c 20 65 74 63 | 2e 0a 0a 58 2e 53 48 20 |out, etc|...X.SH |
|00001e50| 45 58 41 4d 50 4c 45 53 | 0a 58 2e 48 50 20 35 0a |EXAMPLES|.X.HP 5.|
|00001e60| 6a 6f 65 0a 58 2e 62 72 | 0a 54 68 65 20 6d 65 73 |joe.X.br|.The mes|
|00001e70| 73 61 67 65 20 69 73 20 | 73 65 6e 74 20 74 6f 20 |sage is |sent to |
|00001e80| 74 68 65 20 75 73 65 72 | 20 60 60 6a 6f 65 27 27 |the user| ``joe''|
|00001e90| 20 6f 6e 20 74 68 65 20 | 6c 6f 63 61 6c 20 73 79 | on the |local sy|
|00001ea0| 73 74 65 6d 2e 0a 58 2e | 48 50 20 35 0a 6a 6f 65 |stem..X.|HP 5.joe|
|00001eb0| 40 75 63 62 76 61 78 0a | 58 2e 62 72 0a 54 68 65 |@ucbvax.|X.br.The|
|00001ec0| 20 6d 65 73 73 61 67 65 | 20 69 73 20 73 65 6e 74 | message| is sent|
|00001ed0| 20 74 6f 20 6a 6f 65 20 | 6f 6e 20 74 68 65 20 55 | to joe |on the U|
|00001ee0| 55 43 50 20 73 79 73 74 | 65 6d 20 6e 61 6d 65 64 |UCP syst|em named|
|00001ef0| 20 60 60 75 63 62 76 61 | 78 27 27 3b 20 74 68 69 | ``ucbva|x''; thi|
|00001f00| 73 0a 61 64 64 72 65 73 | 73 20 69 73 20 61 75 74 |s.addres|s is aut|
|00001f10| 6f 6d 61 74 69 63 61 6c | 6c 79 20 74 72 61 6e 73 |omatical|ly trans|
|00001f20| 6c 61 74 65 64 20 74 6f | 20 61 20 70 72 6f 70 65 |lated to| a prope|
|00001f30| 72 20 28 61 6e 64 20 6f | 73 74 65 6e 73 69 62 6c |r (and o|stensibl|
|00001f40| 79 0a 6f 70 74 69 6d 61 | 6c 29 20 55 55 43 50 20 |y.optima|l) UUCP |
|00001f50| 70 61 74 68 2e 0a 58 2e | 48 50 20 35 0a 6a 6f 65 |path..X.|HP 5.joe|
|00001f60| 40 75 63 62 76 61 78 2e | 55 55 43 50 0a 58 2e 62 |@ucbvax.|UUCP.X.b|
|00001f70| 72 0a 58 53 61 6d 65 20 | 61 73 20 6a 6f 65 40 75 |r.XSame |as joe@u|
|00001f80| 63 62 76 61 78 0a 58 2e | 48 50 20 35 0a 6a 6f 65 |cbvax.X.|HP 5.joe|
|00001f90| 40 75 63 62 76 61 78 2e | 41 52 50 41 0a 58 2e 62 |@ucbvax.|ARPA.X.b|
|00001fa0| 72 0a 54 68 65 20 6d 65 | 73 73 61 67 65 20 69 73 |r.The me|ssage is|
|00001fb0| 20 61 64 64 72 65 73 73 | 65 64 20 74 6f 20 6a 6f | address|ed to jo|
|00001fc0| 65 20 61 74 20 75 63 62 | 76 61 78 2c 20 75 73 69 |e at ucb|vax, usi|
|00001fd0| 6e 67 20 74 68 65 20 41 | 52 50 41 20 6e 65 74 77 |ng the A|RPA netw|
|00001fe0| 6f 72 6b 2e 0a 54 68 65 | 20 6d 65 73 73 61 67 65 |ork..The| message|
|00001ff0| 20 77 69 6c 6c 20 62 65 | 20 72 6f 75 74 65 64 20 | will be| routed |
|00002000| 74 6f 20 74 68 65 20 41 | 52 50 41 6e 65 74 20 76 |to the A|RPAnet v|
|00002010| 69 61 20 61 20 55 55 43 | 50 2d 41 52 50 41 6e 65 |ia a UUC|P-ARPAne|
|00002020| 74 20 67 61 74 65 77 61 | 79 2e 0a 58 2e 48 50 20 |t gatewa|y..X.HP |
|00002030| 35 0a 6a 6f 65 25 6d 69 | 74 2d 6d 75 6c 74 69 63 |5.joe%mi|t-multic|
|00002040| 73 2e 41 52 50 41 40 75 | 63 62 76 61 78 0a 58 2e |s.ARPA@u|cbvax.X.|
|00002050| 62 72 0a 54 68 65 20 6d | 65 73 73 61 67 65 20 69 |br.The m|essage i|
|00002060| 73 20 73 65 6e 74 20 74 | 6f 20 75 63 62 76 61 78 |s sent t|o ucbvax|
|00002070| 2c 20 77 68 6f 20 74 68 | 65 6e 20 75 73 65 73 20 |, who th|en uses |
|00002080| 74 68 65 20 61 64 64 72 | 65 73 73 0a 6a 6f 65 40 |the addr|ess.joe@|
|00002090| 6d 69 74 2d 6d 75 6c 74 | 69 63 73 2e 41 52 50 41 |mit-mult|ics.ARPA|
|000020a0| 20 74 6f 20 73 65 6e 64 | 20 74 68 65 20 6d 65 73 | to send| the mes|
|000020b0| 73 61 67 65 20 6f 6e 20 | 74 6f 20 6d 69 74 2d 6d |sage on |to mit-m|
|000020c0| 75 6c 74 69 63 73 20 76 | 69 61 20 74 68 65 0a 41 |ultics v|ia the.A|
|000020d0| 52 50 41 6e 65 74 2e 20 | 20 53 69 6e 63 65 20 75 |RPAnet. | Since u|
|000020e0| 63 62 76 61 78 20 69 73 | 20 6f 6e 20 74 68 65 20 |cbvax is| on the |
|000020f0| 61 72 70 61 6e 65 74 2c | 20 74 68 69 73 20 61 64 |arpanet,| this ad|
|00002100| 64 72 65 73 73 20 77 69 | 6c 6c 20 77 6f 72 6b 20 |dress wi|ll work |
|00002110| 63 6f 72 72 65 63 74 6c | 79 0a 28 61 73 20 6c 6f |correctl|y.(as lo|
|00002120| 6e 67 20 61 73 20 74 68 | 65 72 65 20 69 73 20 73 |ng as th|ere is s|
|00002130| 6f 6d 65 6f 6e 65 20 6e | 61 6d 65 64 20 6a 6f 65 |omeone n|amed joe|
|00002140| 20 6f 6e 20 74 68 65 20 | 4d 49 54 20 6d 75 6c 74 | on the |MIT mult|
|00002150| 69 63 73 20 6d 61 63 68 | 69 6e 65 29 2e 0a 58 2e |ics mach|ine)..X.|
|00002160| 48 50 20 35 0a 6a 6f 65 | 25 76 61 6e 64 65 72 62 |HP 5.joe|%vanderb|
|00002170| 69 6c 74 2e 4d 41 49 4c | 4e 45 54 25 6d 69 74 2d |ilt.MAIL|NET%mit-|
|00002180| 6d 75 6c 74 69 63 73 2e | 41 52 50 41 40 75 63 62 |multics.|ARPA@ucb|
|00002190| 76 61 78 0a 58 2e 62 72 | 0a 54 68 65 20 6d 65 73 |vax.X.br|.The mes|
|000021a0| 73 61 67 65 20 69 73 20 | 73 65 6e 74 20 76 69 61 |sage is |sent via|
|000021b0| 20 55 55 43 50 20 74 6f | 20 75 63 62 76 61 78 2c | UUCP to| ucbvax,|
|000021c0| 20 77 68 6f 20 74 68 65 | 6e 20 73 65 6e 64 73 20 | who the|n sends |
|000021d0| 74 68 65 20 6d 65 73 73 | 61 67 65 0a 74 6f 20 6d |the mess|age.to m|
|000021e0| 69 74 2d 6d 75 6c 74 69 | 63 73 20 76 69 61 20 74 |it-multi|cs via t|
|000021f0| 68 65 20 61 72 70 61 6e | 65 74 3b 20 6d 69 74 2d |he arpan|et; mit-|
|00002200| 6d 75 6c 74 69 63 73 20 | 74 68 65 6e 20 73 65 6e |multics |then sen|
|00002210| 64 73 20 74 68 65 20 6d | 65 73 73 61 67 65 0a 74 |ds the m|essage.t|
|00002220| 6f 20 6a 6f 65 40 76 61 | 6e 64 65 72 62 69 6c 74 |o joe@va|nderbilt|
|00002230| 20 76 69 61 20 4d 41 49 | 4c 4e 45 54 2e 20 20 53 | via MAI|LNET. S|
|00002240| 69 6e 63 65 20 74 68 65 | 20 61 62 6f 76 65 20 6d |ince the| above m|
|00002250| 61 63 68 69 6e 65 73 20 | 65 61 63 68 20 68 61 76 |achines |each hav|
|00002260| 65 20 61 63 63 65 73 73 | 0a 74 6f 20 74 68 65 20 |e access|.to the |
|00002270| 6e 65 74 77 6f 72 6b 73 | 20 6e 61 6d 65 64 20 69 |networks| named i|
|00002280| 6e 20 74 68 65 20 61 64 | 64 72 65 73 73 2c 20 74 |n the ad|dress, t|
|00002290| 68 69 73 20 61 64 64 72 | 65 73 73 20 77 69 6c 6c |his addr|ess will|
|000022a0| 20 77 6f 72 6b 20 63 6f | 72 72 65 63 74 6c 79 2e | work co|rrectly.|
|000022b0| 0a 58 2e 53 48 20 46 49 | 4c 45 53 0a 2f 75 73 72 |.X.SH FI|LES./usr|
|000022c0| 2f 6c 69 62 2f 75 75 63 | 70 2f 64 6f 6d 61 69 6e |/lib/uuc|p/domain|
|000022d0| 73 20 2d 20 44 6f 6d 61 | 69 6e 2f 67 61 74 65 77 |s - Doma|in/gatew|
|000022e0| 61 79 20 74 61 62 6c 65 | 0a 58 2e 62 72 0a 2f 75 |ay table|.X.br./u|
|000022f0| 73 72 2f 6c 69 62 2f 75 | 75 63 70 2f 61 72 63 68 |sr/lib/u|ucp/arch|
|00002300| 69 76 65 20 2d 20 50 61 | 74 68 61 6c 69 61 73 20 |ive - Pa|thalias |
|00002310| 64 61 74 61 62 61 73 65 | 0a 58 2e 53 48 20 22 53 |database|.X.SH "S|
|00002320| 45 45 20 41 4c 53 4f 22 | 0a 6f 70 61 74 68 28 33 |EE ALSO"|.opath(3|
|00002330| 29 0a 58 2e 53 48 20 41 | 55 54 48 4f 52 0a 45 72 |).X.SH A|UTHOR.Er|
|00002340| 69 63 20 52 6f 73 6b 6f | 73 2c 20 50 45 20 53 44 |ic Rosko|s, PE SD|
|00002350| 43 2c 20 31 2f 31 36 2f | 38 35 0a 53 48 41 52 5f |C, 1/16/|85.SHAR_|
|00002360| 45 4f 46 0a 69 66 20 74 | 65 73 74 20 33 35 36 33 |EOF.if t|est 3563|
|00002370| 20 2d 6e 65 20 22 60 77 | 63 20 2d 63 20 3c 20 27 | -ne "`w|c -c < '|
|00002380| 61 64 64 72 65 73 73 2e | 31 27 60 22 0a 74 68 65 |address.|1'`".the|
|00002390| 6e 0a 09 65 63 68 6f 20 | 73 68 61 72 3a 20 65 72 |n..echo |shar: er|
|000023a0| 72 6f 72 20 74 72 61 6e | 73 6d 69 74 74 69 6e 67 |ror tran|smitting|
|000023b0| 20 22 27 61 64 64 72 65 | 73 73 2e 31 27 22 20 27 | "'addre|ss.1'" '|
|000023c0| 28 73 68 6f 75 6c 64 20 | 68 61 76 65 20 62 65 65 |(should |have bee|
|000023d0| 6e 20 33 35 36 33 20 63 | 68 61 72 61 63 74 65 72 |n 3563 c|haracter|
|000023e0| 73 29 27 0a 66 69 0a 66 | 69 20 23 20 65 6e 64 20 |s)'.fi.f|i # end |
|000023f0| 6f 66 20 6f 76 65 72 77 | 72 69 74 69 6e 67 20 63 |of overw|riting c|
|00002400| 68 65 63 6b 0a 65 63 68 | 6f 20 73 68 61 72 3a 20 |heck.ech|o shar: |
|00002410| 65 78 74 72 61 63 74 69 | 6e 67 20 22 27 61 64 64 |extracti|ng "'add|
|00002420| 72 65 73 73 2e 63 27 22 | 20 27 28 38 38 35 20 63 |ress.c'"| '(885 c|
|00002430| 68 61 72 61 63 74 65 72 | 73 29 27 0a 69 66 20 74 |haracter|s)'.if t|
|00002440| 65 73 74 20 2d 66 20 27 | 61 64 64 72 65 73 73 2e |est -f '|address.|
|00002450| 63 27 0a 74 68 65 6e 0a | 09 65 63 68 6f 20 73 68 |c'.then.|.echo sh|
|00002460| 61 72 3a 20 77 69 6c 6c | 20 6e 6f 74 20 6f 76 65 |ar: will| not ove|
|00002470| 72 2d 77 72 69 74 65 20 | 65 78 69 73 74 69 6e 67 |r-write |existing|
|00002480| 20 66 69 6c 65 20 22 27 | 61 64 64 72 65 73 73 2e | file "'|address.|
|00002490| 63 27 22 0a 65 6c 73 65 | 0a 73 65 64 20 27 73 2f |c'".else|.sed 's/|
|000024a0| 5e 58 2f 2f 27 20 3c 3c | 20 5c 53 48 41 52 5f 45 |^X//' <<| \SHAR_E|
|000024b0| 4f 46 20 3e 20 27 61 64 | 64 72 65 73 73 2e 63 27 |OF > 'ad|dress.c'|
|000024c0| 0a 2f 2a 0a 20 2a 20 61 | 64 64 72 65 73 73 20 2d |./*. * a|ddress -|
|000024d0| 20 72 75 6e 20 6f 70 61 | 74 68 20 74 6f 20 73 65 | run opa|th to se|
|000024e0| 65 20 77 68 61 74 20 61 | 20 74 72 61 6e 73 6c 61 |e what a| transla|
|000024f0| 74 65 64 20 52 46 43 38 | 32 32 20 61 64 64 72 65 |ted RFC8|22 addre|
|00002500| 73 73 20 77 69 6c 6c 20 | 63 6f 6d 65 0a 20 2a 20 |ss will |come. * |
|00002510| 6f 75 74 20 61 73 2e 0a | 20 2a 0a 20 2a 20 42 79 |out as..| *. * By|
|00002520| 20 45 2e 20 52 6f 73 6b | 6f 73 20 31 2f 31 36 2f | E. Rosk|os 1/16/|
|00002530| 38 35 0a 20 2a 20 24 4c | 6f 67 3a 09 61 64 64 72 |85. * $L|og:.addr|
|00002540| 65 73 73 2e 63 2c 76 20 | 24 0a 20 2a 20 52 65 76 |ess.c,v |$. * Rev|
|00002550| 69 73 69 6f 6e 20 31 2e | 32 20 20 38 35 2f 30 39 |ision 1.|2 85/09|
|00002560| 2f 31 36 20 20 31 38 3a | 33 31 3a 35 33 20 20 73 |/16 18:|31:53 s|
|00002570| 6f 62 0a 20 2a 20 41 64 | 64 65 64 20 44 45 42 55 |ob. * Ad|ded DEBU|
|00002580| 47 20 66 6c 61 67 0a 20 | 2a 20 0a 20 2a 20 52 65 |G flag. |* . * Re|
|00002590| 76 69 73 69 6f 6e 20 31 | 2e 31 20 20 38 35 2f 30 |vision 1|.1 85/0|
|000025a0| 39 2f 31 36 20 20 31 37 | 3a 35 30 3a 32 34 20 20 |9/16 17|:50:24 |
|000025b0| 73 6f 62 0a 20 2a 20 49 | 6e 69 74 69 61 6c 20 72 |sob. * I|nitial r|
|000025c0| 65 76 69 73 69 6f 6e 0a | 20 2a 20 0a 20 2a 2f 0a |evision.| * . */.|
|000025d0| 23 64 65 66 69 6e 65 20 | 5f 44 45 46 49 4e 45 0a |#define |_DEFINE.|
|000025e0| 23 69 6e 63 6c 75 64 65 | 20 22 75 75 63 6f 6e 66 |#include| "uuconf|
|000025f0| 2e 68 22 0a 0a 73 74 61 | 74 69 63 20 63 68 61 72 |.h"..sta|tic char|
|00002600| 20 72 63 73 69 64 5b 5d | 20 3d 20 22 24 48 65 61 | rcsid[]| = "$Hea|
|00002610| 64 65 72 3a 20 61 64 64 | 72 65 73 73 2e 63 2c 76 |der: add|ress.c,v|
|00002620| 20 31 2e 32 20 38 35 2f | 30 39 2f 31 36 20 31 38 | 1.2 85/|09/16 18|
|00002630| 3a 33 31 3a 35 33 20 73 | 6f 62 20 45 78 70 20 24 |:31:53 s|ob Exp $|
|00002640| 22 3b 0a 0a 63 68 61 72 | 20 2a 6f 70 61 74 68 28 |";..char| *opath(|
|00002650| 29 3b 0a 69 6e 74 20 44 | 65 62 75 67 3b 0a 0a 6d |);.int D|ebug;..m|
|00002660| 61 69 6e 28 61 72 67 63 | 2c 61 72 67 76 29 0a 69 |ain(argc|,argv).i|
|00002670| 6e 74 20 61 72 67 63 3b | 0a 63 68 61 72 20 2a 2a |nt argc;|.char **|
|00002680| 61 72 67 76 3b 0a 7b 0a | 63 68 61 72 20 2a 70 3b |argv;.{.|char *p;|
|00002690| 0a 69 6e 74 20 75 73 77 | 69 74 63 68 3b 0a 0a 09 |.int usw|itch;...|
|000026a0| 69 66 20 28 61 72 67 63 | 20 3c 20 32 29 0a 09 7b |if (argc| < 2)..{|
|000026b0| 0a 09 09 66 70 72 69 6e | 74 66 28 73 74 64 65 72 |...fprin|tf(stder|
|000026c0| 72 2c 22 75 73 61 67 65 | 3a 20 25 73 20 72 66 63 |r,"usage|: %s rfc|
|000026d0| 61 64 64 72 65 73 73 20 | 5b 2e 2e 2e 5d 5c 6e 22 |address |[...]\n"|
|000026e0| 2c 0a 09 09 09 61 72 67 | 76 5b 30 5d 29 3b 0a 09 |,....arg|v[0]);..|
|000026f0| 09 65 78 69 74 28 31 29 | 3b 0a 09 7d 0a 0a 09 77 |.exit(1)|;..}...w|
|00002700| 68 69 6c 65 20 28 2d 2d | 61 72 67 63 29 0a 09 7b |hile (--|argc)..{|
|00002710| 0a 09 09 70 20 3d 20 2a | 2b 2b 61 72 67 76 3b 0a |...p = *|++argv;.|
|00002720| 09 09 69 66 20 28 2a 70 | 3d 3d 27 2d 27 29 0a 09 |..if (*p|=='-')..|
|00002730| 09 7b 0a 09 09 09 73 77 | 69 74 63 68 28 2a 2b 2b |.{....sw|itch(*++|
|00002740| 70 29 0a 09 09 09 7b 0a | 09 09 09 63 61 73 65 20 |p)....{.|...case |
|00002750| 27 75 27 3a 20 75 73 77 | 69 74 63 68 2b 2b 3b 0a |'u': usw|itch++;.|
|00002760| 09 09 09 09 20 20 63 6f | 6e 74 69 6e 75 65 3b 0a |.... co|ntinue;.|
|00002770| 09 09 09 63 61 73 65 20 | 27 64 27 3a 20 44 65 62 |...case |'d': Deb|
|00002780| 75 67 2b 2b 3b 0a 09 09 | 09 20 20 20 20 20 20 20 |ug++;...|. |
|00002790| 20 20 20 63 6f 6e 74 69 | 6e 75 65 3b 0a 09 09 09 | conti|nue;....|
|000027a0| 64 65 66 61 75 6c 74 3a | 20 20 70 72 69 6e 74 66 |default:| printf|
|000027b0| 28 22 75 6e 6b 6e 6f 77 | 6e 20 73 77 69 74 63 68 |("unknow|n switch|
|000027c0| 3a 20 25 63 5c 6e 22 2c | 2a 70 29 3b 0a 09 09 09 |: %c\n",|*p);....|
|000027d0| 09 20 20 63 6f 6e 74 69 | 6e 75 65 3b 0a 09 09 09 |. conti|nue;....|
|000027e0| 7d 0a 09 09 09 63 6f 6e | 74 69 6e 75 65 3b 0a 09 |}....con|tinue;..|
|000027f0| 09 7d 0a 09 09 70 72 69 | 6e 74 66 28 22 25 73 3a |.}...pri|ntf("%s:|
|00002800| 20 25 73 5c 6e 22 2c 70 | 2c 75 73 77 69 74 63 68 | %s\n",p|,uswitch|
|00002810| 3f 6f 75 70 61 74 68 28 | 70 29 3a 6f 70 61 74 68 |?oupath(|p):opath|
|00002820| 28 70 29 29 3b 0a 09 7d | 0a 0a 09 65 78 69 74 28 |(p));..}|...exit(|
|00002830| 30 29 3b 0a 7d 0a 53 48 | 41 52 5f 45 4f 46 0a 69 |0);.}.SH|AR_EOF.i|
|00002840| 66 20 74 65 73 74 20 38 | 38 35 20 2d 6e 65 20 22 |f test 8|85 -ne "|
|00002850| 60 77 63 20 2d 63 20 3c | 20 27 61 64 64 72 65 73 |`wc -c <| 'addres|
|00002860| 73 2e 63 27 60 22 0a 74 | 68 65 6e 0a 09 65 63 68 |s.c'`".t|hen..ech|
|00002870| 6f 20 73 68 61 72 3a 20 | 65 72 72 6f 72 20 74 72 |o shar: |error tr|
|00002880| 61 6e 73 6d 69 74 74 69 | 6e 67 20 22 27 61 64 64 |ansmitti|ng "'add|
|00002890| 72 65 73 73 2e 63 27 22 | 20 27 28 73 68 6f 75 6c |ress.c'"| '(shoul|
|000028a0| 64 20 68 61 76 65 20 62 | 65 65 6e 20 38 38 35 20 |d have b|een 885 |
|000028b0| 63 68 61 72 61 63 74 65 | 72 73 29 27 0a 66 69 0a |characte|rs)'.fi.|
|000028c0| 66 69 20 23 20 65 6e 64 | 20 6f 66 20 6f 76 65 72 |fi # end| of over|
|000028d0| 77 72 69 74 69 6e 67 20 | 63 68 65 63 6b 0a 65 63 |writing |check.ec|
|000028e0| 68 6f 20 73 68 61 72 3a | 20 65 78 74 72 61 63 74 |ho shar:| extract|
|000028f0| 69 6e 67 20 22 27 64 6f | 6d 61 69 6e 73 27 22 20 |ing "'do|mains'" |
|00002900| 27 28 31 30 39 33 20 63 | 68 61 72 61 63 74 65 72 |'(1093 c|haracter|
|00002910| 73 29 27 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |s)'.if t|est -f '|
|00002920| 64 6f 6d 61 69 6e 73 27 | 0a 74 68 65 6e 0a 09 65 |domains'|.then..e|
|00002930| 63 68 6f 20 73 68 61 72 | 3a 20 77 69 6c 6c 20 6e |cho shar|: will n|
|00002940| 6f 74 20 6f 76 65 72 2d | 77 72 69 74 65 20 65 78 |ot over-|write ex|
|00002950| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 22 27 64 6f |isting f|ile "'do|
|00002960| 6d 61 69 6e 73 27 22 0a | 65 6c 73 65 0a 73 65 64 |mains'".|else.sed|
|00002970| 20 27 73 2f 5e 58 2f 2f | 27 20 3c 3c 20 5c 53 48 | 's/^X//|' << \SH|
|00002980| 41 52 5f 45 4f 46 20 3e | 20 27 64 6f 6d 61 69 6e |AR_EOF >| 'domain|
|00002990| 73 27 0a 23 0a 23 20 44 | 6f 6d 61 69 6e 20 54 61 |s'.#.# D|omain Ta|
|000029a0| 62 6c 65 0a 23 0a 23 20 | 46 6f 72 6d 61 74 3a 20 |ble.#.# |Format: |
|000029b0| 3c 64 6f 6d 61 69 6e 3e | 2c 3c 70 72 65 66 69 78 |<domain>|,<prefix|
|000029c0| 3e 2c 3c 73 75 66 66 69 | 78 3e 2c 3c 74 65 6d 70 |>,<suffi|x>,<temp|
|000029d0| 6c 61 74 65 3e 0a 23 0a | 23 20 57 68 65 72 65 20 |late>.#.|# Where |
|000029e0| 3c 74 65 6d 70 6c 61 74 | 65 3e 20 6d 61 79 20 63 |<templat|e> may c|
|000029f0| 6f 6e 74 61 69 6e 3a 0a | 23 20 20 20 20 20 20 20 |ontain:.|# |
|00002a00| 25 50 20 2d 20 70 72 65 | 66 69 78 20 73 74 72 69 |%P - pre|fix stri|
|00002a10| 6e 67 0a 23 20 20 20 20 | 20 20 20 25 53 20 2d 20 |ng.# | %S - |
|00002a20| 73 75 66 66 69 78 20 73 | 74 72 69 6e 67 0a 23 20 |suffix s|tring.# |
|00002a30| 20 20 20 20 20 20 25 55 | 20 2d 20 64 65 73 74 69 | %U| - desti|
|00002a40| 6e 61 74 69 6f 6e 20 75 | 73 65 72 20 6e 61 6d 65 |nation u|ser name|
|00002a50| 0a 23 20 20 20 20 20 20 | 20 25 4e 20 2d 20 64 65 |.# | %N - de|
|00002a60| 73 74 69 6e 61 74 69 6f | 6e 20 73 69 74 65 20 6e |stinatio|n site n|
|00002a70| 61 6d 65 0a 23 20 20 20 | 20 20 20 20 25 44 20 2d |ame.# | %D -|
|00002a80| 20 64 65 73 74 69 6e 61 | 74 69 6f 6e 20 73 69 74 | destina|tion sit|
|00002a90| 65 20 6e 61 6d 65 20 77 | 69 74 68 20 64 6f 6d 61 |e name w|ith doma|
|00002aa0| 69 6e 20 73 75 66 66 69 | 78 0a 23 20 20 20 20 20 |in suffi|x.# |
|00002ab0| 20 20 25 25 20 2d 20 61 | 20 70 65 72 63 65 6e 74 | %% - a| percent|
|00002ac0| 20 28 25 29 20 73 69 67 | 6e 0a 23 20 20 20 20 20 | (%) sig|n.# |
|00002ad0| 20 20 25 52 20 2d 20 70 | 61 74 68 61 6c 69 61 73 | %R - p|athalias|
|00002ae0| 20 72 6f 75 74 65 20 74 | 6f 20 74 68 65 20 64 65 | route t|o the de|
|00002af0| 73 74 69 6e 61 74 69 6f | 6e 20 73 69 74 65 0a 23 |stinatio|n site.#|
|00002b00| 0a 58 2e 57 41 2e 55 55 | 43 50 2c 2c 2c 25 52 21 |.X.WA.UU|CP,,,%R!|
|00002b10| 25 55 0a 58 2e 4f 52 2e | 55 55 43 50 2c 2c 2c 25 |%U.X.OR.|UUCP,,,%|
|00002b20| 52 21 25 55 0a 58 2e 4e | 2d 43 41 2e 55 55 43 50 |R!%U.X.N|-CA.UUCP|
|00002b30| 2c 2c 2c 25 52 21 25 55 | 0a 58 2e 53 2d 43 41 2e |,,,%R!%U|.X.S-CA.|
|00002b40| 55 55 43 50 2c 2c 2c 25 | 52 21 25 55 0a 58 2e 4d |UUCP,,,%|R!%U.X.M|
|00002b50| 54 4e 2e 55 55 43 50 2c | 2c 2c 25 52 21 25 55 0a |TN.UUCP,|,,%R!%U.|
|00002b60| 58 2e 53 2d 43 45 4e 2e | 55 55 43 50 2c 2c 2c 25 |X.S-CEN.|UUCP,,,%|
|00002b70| 52 21 25 55 0a 58 2e 4d | 49 44 2d 57 2e 55 55 43 |R!%U.X.M|ID-W.UUC|
|00002b80| 50 2c 2c 2c 25 52 21 25 | 55 0a 58 2e 53 2d 45 41 |P,,,%R!%|U.X.S-EA|
|00002b90| 53 54 2e 55 55 43 50 2c | 2c 2c 25 52 21 25 55 0a |ST.UUCP,|,,%R!%U.|
|00002ba0| 58 2e 41 54 4c 2e 55 55 | 43 50 2c 2c 2c 25 52 21 |X.ATL.UU|CP,,,%R!|
|00002bb0| 25 55 0a 58 2e 4e 2d 45 | 4e 47 2e 55 55 43 50 2c |%U.X.N-E|NG.UUCP,|
|00002bc0| 2c 2c 25 52 21 25 55 0a | 58 2e 48 49 2e 55 55 43 |,,%R!%U.|X.HI.UUC|
|00002bd0| 50 2c 2c 2c 25 52 21 25 | 55 0a 58 2e 57 2d 43 41 |P,,,%R!%|U.X.W-CA|
|00002be0| 4e 2e 55 55 43 50 2c 2c | 2c 25 52 21 25 55 0a 58 |N.UUCP,,|,%R!%U.X|
|00002bf0| 2e 45 2d 43 41 4e 2e 55 | 55 43 50 2c 2c 2c 25 52 |.E-CAN.U|UCP,,,%R|
|00002c00| 21 25 55 0a 58 2e 45 55 | 52 2e 55 55 43 50 2c 2c |!%U.X.EU|R.UUCP,,|
|00002c10| 2c 25 52 21 25 55 0a 58 | 2e 55 4b 2e 55 55 43 50 |,%R!%U.X|.UK.UUCP|
|00002c20| 2c 2c 2c 25 52 21 25 55 | 0a 58 2e 41 55 53 2e 55 |,,,%R!%U|.X.AUS.U|
|00002c30| 55 43 50 2c 2c 2c 25 52 | 21 25 55 0a 58 2e 49 53 |UCP,,,%R|!%U.X.IS|
|00002c40| 52 41 45 4c 2e 55 55 43 | 50 2c 2c 2c 25 52 21 25 |RAEL.UUC|P,,,%R!%|
|00002c50| 55 0a 58 2e 41 54 54 2e | 55 55 43 50 2c 3e 69 68 |U.X.ATT.|UUCP,>ih|
|00002c60| 6e 70 34 2c 2c 25 50 21 | 25 44 21 25 55 0a 58 2e |np4,,%P!|%D!%U.X.|
|00002c70| 48 50 2e 55 55 43 50 2c | 2c 2c 25 52 21 25 55 0a |HP.UUCP,|,,%R!%U.|
|00002c80| 58 2e 50 45 2e 55 55 43 | 50 2c 2c 2c 25 52 21 25 |X.PE.UUC|P,,,%R!%|
|00002c90| 55 0a 58 2e 55 55 43 50 | 2c 2c 2c 25 52 21 25 55 |U.X.UUCP|,,,%R!%U|
|00002ca0| 0a 58 2e 43 53 4e 45 54 | 2c 3e 72 69 63 65 2c 2c |.X.CSNET|,>rice,,|
|00002cb0| 25 50 21 25 55 25 25 25 | 44 40 43 53 4e 45 54 2d |%P!%U%%%|D@CSNET-|
|00002cc0| 52 45 4c 41 59 2e 41 52 | 50 41 0a 58 2e 4d 41 49 |RELAY.AR|PA.X.MAI|
|00002cd0| 4c 4e 45 54 2c 3e 72 69 | 63 65 2c 2c 25 50 21 25 |LNET,>ri|ce,,%P!%|
|00002ce0| 55 25 25 25 44 40 4d 55 | 4c 54 49 43 53 2e 4d 49 |U%%%D@MU|LTICS.MI|
|00002cf0| 54 2e 45 44 55 0a 23 20 | 2e 42 49 54 4e 45 54 2c |T.EDU.# |.BITNET,|
|00002d00| 3e 72 69 63 65 2c 2c 25 | 50 21 25 55 25 25 25 44 |>rice,,%|P!%U%%%D|
|00002d10| 40 57 49 53 43 56 4d 2e | 41 52 50 41 0a 58 2e 58 |@WISCVM.|ARPA.X.X|
|00002d20| 45 52 4f 58 2c 3e 72 69 | 63 65 2c 2c 25 50 21 25 |EROX,>ri|ce,,%P!%|
|00002d30| 55 2e 25 44 40 58 45 52 | 4f 58 2e 41 52 50 41 0a |U.%D@XER|OX.ARPA.|
|00002d40| 58 2e 44 45 43 2c 3e 64 | 65 63 77 72 6c 2c 2c 25 |X.DEC,>d|ecwrl,,%|
|00002d50| 50 21 25 55 40 25 44 0a | 58 2e 41 52 50 41 2c 3e |P!%U@%D.|X.ARPA,>|
|00002d60| 72 69 63 65 2c 2c 25 50 | 21 25 55 40 25 44 0a 58 |rice,,%P|!%U@%D.X|
|00002d70| 2e 45 44 55 2c 3e 72 69 | 63 65 2c 2c 25 50 21 25 |.EDU,>ri|ce,,%P!%|
|00002d80| 55 40 25 44 0a 58 2e 43 | 4f 4d 2c 3e 72 69 63 65 |U@%D.X.C|OM,>rice|
|00002d90| 2c 2c 25 50 21 25 55 40 | 25 44 0a 58 2e 47 4f 56 |,,%P!%U@|%D.X.GOV|
|00002da0| 2c 3e 72 69 63 65 2c 2c | 25 50 21 25 55 40 25 44 |,>rice,,|%P!%U@%D|
|00002db0| 0a 58 2e 4d 49 4c 2c 3e | 72 69 63 65 2c 2c 25 50 |.X.MIL,>|rice,,%P|
|00002dc0| 21 25 55 40 25 44 0a 58 | 2e 4f 54 48 2c 3e 72 69 |!%U@%D.X|.OTH,>ri|
|00002dd0| 63 65 2c 2c 25 50 21 25 | 55 40 25 44 0a 58 2e 42 |ce,,%P!%|U@%D.X.B|
|00002de0| 49 54 4e 45 54 2c 3e 70 | 73 75 76 61 78 2c 2c 25 |ITNET,>p|suvax,,%|
|00002df0| 50 21 25 55 40 25 44 0a | 53 48 41 52 5f 45 4f 46 |P!%U@%D.|SHAR_EOF|
|00002e00| 0a 69 66 20 74 65 73 74 | 20 31 30 39 33 20 2d 6e |.if test| 1093 -n|
|00002e10| 65 20 22 60 77 63 20 2d | 63 20 3c 20 27 64 6f 6d |e "`wc -|c < 'dom|
|00002e20| 61 69 6e 73 27 60 22 0a | 74 68 65 6e 0a 09 65 63 |ains'`".|then..ec|
|00002e30| 68 6f 20 73 68 61 72 3a | 20 65 72 72 6f 72 20 74 |ho shar:| error t|
|00002e40| 72 61 6e 73 6d 69 74 74 | 69 6e 67 20 22 27 64 6f |ransmitt|ing "'do|
|00002e50| 6d 61 69 6e 73 27 22 20 | 27 28 73 68 6f 75 6c 64 |mains'" |'(should|
|00002e60| 20 68 61 76 65 20 62 65 | 65 6e 20 31 30 39 33 20 | have be|en 1093 |
|00002e70| 63 68 61 72 61 63 74 65 | 72 73 29 27 0a 66 69 0a |characte|rs)'.fi.|
|00002e80| 66 69 20 23 20 65 6e 64 | 20 6f 66 20 6f 76 65 72 |fi # end| of over|
|00002e90| 77 72 69 74 69 6e 67 20 | 63 68 65 63 6b 0a 65 63 |writing |check.ec|
|00002ea0| 68 6f 20 73 68 61 72 3a | 20 65 78 74 72 61 63 74 |ho shar:| extract|
|00002eb0| 69 6e 67 20 22 27 67 65 | 74 68 6f 73 74 6e 61 6d |ing "'ge|thostnam|
|00002ec0| 2e 63 27 22 20 27 28 31 | 32 36 36 20 63 68 61 72 |.c'" '(1|266 char|
|00002ed0| 61 63 74 65 72 73 29 27 | 0a 69 66 20 74 65 73 74 |acters)'|.if test|
|00002ee0| 20 2d 66 20 27 67 65 74 | 68 6f 73 74 6e 61 6d 2e | -f 'get|hostnam.|
|00002ef0| 63 27 0a 74 68 65 6e 0a | 09 65 63 68 6f 20 73 68 |c'.then.|.echo sh|
|00002f00| 61 72 3a 20 77 69 6c 6c | 20 6e 6f 74 20 6f 76 65 |ar: will| not ove|
|00002f10| 72 2d 77 72 69 74 65 20 | 65 78 69 73 74 69 6e 67 |r-write |existing|
|00002f20| 20 66 69 6c 65 20 22 27 | 67 65 74 68 6f 73 74 6e | file "'|gethostn|
|00002f30| 61 6d 2e 63 27 22 0a 65 | 6c 73 65 0a 73 65 64 20 |am.c'".e|lse.sed |
|00002f40| 27 73 2f 5e 58 2f 2f 27 | 20 3c 3c 20 5c 53 48 41 |'s/^X//'| << \SHA|
|00002f50| 52 5f 45 4f 46 20 3e 20 | 27 67 65 74 68 6f 73 74 |R_EOF > |'gethost|
|00002f60| 6e 61 6d 2e 63 27 0a 23 | 69 66 6e 64 65 66 20 6c |nam.c'.#|ifndef l|
|00002f70| 69 6e 74 0a 73 74 61 74 | 69 63 20 63 68 61 72 09 |int.stat|ic char.|
|00002f80| 73 63 63 73 69 64 5b 5d | 20 3d 20 22 40 28 23 29 |sccsid[]| = "@(#)|
|00002f90| 67 65 74 68 6f 73 74 6e | 61 6d 2e 63 09 36 2e 31 |gethostn|am.c.6.1|
|00002fa0| 20 28 64 6f 77 6e 21 68 | 6f 6e 65 79 29 20 38 35 | (down!h|oney) 85|
|00002fb0| 2f 30 31 2f 32 31 22 3b | 0a 73 74 61 74 69 63 20 |/01/21";|.static |
|00002fc0| 63 68 61 72 09 72 63 73 | 69 64 5b 5d 20 3d 20 22 |char.rcs|id[] = "|
|00002fd0| 24 48 65 61 64 65 72 3a | 20 67 65 74 68 6f 73 74 |$Header:| gethost|
|00002fe0| 6e 61 6d 2e 63 2c 76 20 | 36 2e 32 20 38 35 2f 30 |nam.c,v |6.2 85/0|
|00002ff0| 38 2f 30 33 20 30 30 3a | 32 35 3a 31 36 20 55 55 |8/03 00:|25:16 UU|
|00003000| 43 50 20 45 78 70 20 24 | 22 3b 0a 23 65 6e 64 69 |CP Exp $|";.#endi|
|00003010| 66 20 6c 69 6e 74 0a 0a | 23 69 66 6e 64 65 66 20 |f lint..|#ifndef |
|00003020| 47 45 54 48 4f 53 54 4e | 41 4d 45 0a 23 69 6e 63 |GETHOSTN|AME.#inc|
|00003030| 6c 75 64 65 20 22 75 75 | 63 6f 6e 66 2e 68 22 0a |lude "uu|conf.h".|
|00003040| 0a 76 6f 69 64 0a 67 65 | 74 68 6f 73 74 6e 61 6d |.void.ge|thostnam|
|00003050| 65 28 6e 61 6d 65 2c 20 | 6c 65 6e 29 0a 63 68 61 |e(name, |len).cha|
|00003060| 72 09 2a 6e 61 6d 65 3b | 0a 7b 0a 09 46 49 4c 45 |r.*name;|.{..FILE|
|00003070| 09 2a 77 68 6f 61 6d 69 | 2c 20 2a 66 6f 70 65 6e |.*whoami|, *fopen|
|00003080| 28 29 2c 20 2a 70 6f 70 | 65 6e 28 29 3b 0a 09 63 |(), *pop|en();..c|
|00003090| 68 61 72 09 2a 70 74 72 | 2c 20 2a 69 6e 64 65 78 |har.*ptr|, *index|
|000030a0| 28 29 3b 0a 23 69 66 64 | 65 66 20 53 59 53 49 49 |();.#ifd|ef SYSII|
|000030b0| 49 0a 09 73 74 72 75 63 | 74 20 75 74 73 6e 61 6d |I..struc|t utsnam|
|000030c0| 65 20 75 74 73 6e 3b 0a | 23 65 6e 64 69 66 0a 0a |e utsn;.|#endif..|
|000030d0| 09 2a 6e 61 6d 65 20 3d | 20 27 5c 30 27 3b 0a 23 |.*name =| '\0';.#|
|000030e0| 69 66 64 65 66 20 53 59 | 53 49 49 49 0a 09 69 66 |ifdef SY|SIII..if|
|000030f0| 20 28 75 6e 61 6d 65 28 | 26 75 74 73 6e 29 20 21 | (uname(|&utsn) !|
|00003100| 3d 20 2d 31 29 0a 09 7b | 0a 09 09 73 74 72 63 70 |= -1)..{|...strcp|
|00003110| 79 28 6e 61 6d 65 2c 75 | 74 73 6e 2e 6e 6f 64 65 |y(name,u|tsn.node|
|00003120| 6e 61 6d 65 29 3b 0a 09 | 09 6c 65 6e 20 3d 20 73 |name);..|.len = s|
|00003130| 74 72 6c 65 6e 28 6e 61 | 6d 65 29 3b 0a 09 20 20 |trlen(na|me);.. |
|00003140| 09 72 65 74 75 72 6e 3b | 0a 09 7d 0a 23 65 6e 64 |.return;|..}.#end|
|00003150| 69 66 0a 0a 09 2f 2a 20 | 74 72 79 20 2f 65 74 63 |if.../* |try /etc|
|00003160| 2f 77 68 6f 61 6d 69 20 | 2a 2f 0a 09 69 66 20 28 |/whoami |*/..if (|
|00003170| 28 77 68 6f 61 6d 69 20 | 3d 20 66 6f 70 65 6e 28 |(whoami |= fopen(|
|00003180| 22 2f 65 74 63 2f 77 68 | 6f 61 6d 69 22 2c 20 22 |"/etc/wh|oami", "|
|00003190| 72 22 29 29 20 21 3d 20 | 30 29 20 7b 0a 09 09 28 |r")) != |0) {...(|
|000031a0| 76 6f 69 64 29 20 66 67 | 65 74 73 28 6e 61 6d 65 |void) fg|ets(name|
|000031b0| 2c 20 6c 65 6e 2c 20 77 | 68 6f 61 6d 69 29 3b 0a |, len, w|hoami);.|
|000031c0| 09 09 28 76 6f 69 64 29 | 20 66 63 6c 6f 73 65 28 |..(void)| fclose(|
|000031d0| 77 68 6f 61 6d 69 29 3b | 0a 09 09 69 66 20 28 28 |whoami);|...if ((|
|000031e0| 70 74 72 20 3d 20 69 6e | 64 65 78 28 6e 61 6d 65 |ptr = in|dex(name|
|000031f0| 2c 20 27 5c 6e 27 29 29 | 20 21 3d 20 30 29 0a 09 |, '\n'))| != 0)..|
|00003200| 09 09 2a 70 74 72 20 3d | 20 27 5c 30 27 3b 0a 09 |..*ptr =| '\0';..|
|00003210| 7d 0a 09 69 66 20 28 2a | 6e 61 6d 65 29 0a 09 09 |}..if (*|name)...|
|00003220| 72 65 74 75 72 6e 3b 0a | 0a 09 2f 2a 20 74 72 79 |return;.|../* try|
|00003230| 20 2f 75 73 72 2f 69 6e | 63 6c 75 64 65 2f 77 68 | /usr/in|clude/wh|
|00003240| 6f 61 6d 69 2e 68 20 2a | 2f 0a 09 69 66 20 28 28 |oami.h *|/..if ((|
|00003250| 77 68 6f 61 6d 69 20 3d | 20 66 6f 70 65 6e 28 22 |whoami =| fopen("|
|00003260| 2f 75 73 72 2f 69 6e 63 | 6c 75 64 65 2f 77 68 6f |/usr/inc|lude/who|
|00003270| 61 6d 69 2e 68 22 2c 20 | 22 72 22 29 29 20 21 3d |ami.h", |"r")) !=|
|00003280| 20 30 29 20 7b 0a 09 09 | 77 68 69 6c 65 20 28 21 | 0) {...|while (!|
|00003290| 66 65 6f 66 28 77 68 6f | 61 6d 69 29 29 20 7b 0a |feof(who|ami)) {.|
|000032a0| 09 09 09 63 68 61 72 09 | 62 75 66 5b 31 30 30 5d |...char.|buf[100]|
|000032b0| 3b 0a 0a 09 09 09 69 66 | 20 28 66 67 65 74 73 28 |;.....if| (fgets(|
|000032c0| 62 75 66 2c 20 31 30 30 | 2c 20 77 68 6f 61 6d 69 |buf, 100|, whoami|
|000032d0| 29 20 3d 3d 20 30 29 0a | 09 09 09 09 62 72 65 61 |) == 0).|....brea|
|000032e0| 6b 3b 0a 09 09 09 69 66 | 20 28 73 73 63 61 6e 66 |k;....if| (sscanf|
|000032f0| 28 62 75 66 2c 20 22 23 | 64 65 66 69 6e 65 20 73 |(buf, "#|define s|
|00003300| 79 73 6e 61 6d 65 20 5c | 22 25 5b 5e 5c 22 5d 5c |ysname \|"%[^\"]\|
|00003310| 22 22 2c 20 6e 61 6d 65 | 29 29 0a 09 09 09 09 62 |"", name|)).....b|
|00003320| 72 65 61 6b 3b 0a 09 09 | 7d 0a 09 09 28 76 6f 69 |reak;...|}...(voi|
|00003330| 64 29 20 66 63 6c 6f 73 | 65 28 77 68 6f 61 6d 69 |d) fclos|e(whoami|
|00003340| 29 3b 0a 09 09 69 66 20 | 28 2a 6e 61 6d 65 29 0a |);...if |(*name).|
|00003350| 09 09 09 72 65 74 75 72 | 6e 3b 0a 09 7d 0a 0a 09 |...retur|n;..}...|
|00003360| 2f 2a 20 61 73 6b 20 75 | 75 63 70 20 2a 2f 0a 09 |/* ask u|ucp */..|
|00003370| 69 66 20 28 28 77 68 6f | 61 6d 69 20 3d 20 70 6f |if ((who|ami = po|
|00003380| 70 65 6e 28 22 75 75 6e | 61 6d 65 20 2d 6c 22 2c |pen("uun|ame -l",|
|00003390| 20 22 72 22 29 29 20 21 | 3d 20 30 29 20 7b 0a 09 | "r")) !|= 0) {..|
|000033a0| 09 28 76 6f 69 64 29 20 | 66 67 65 74 73 28 6e 61 |.(void) |fgets(na|
|000033b0| 6d 65 2c 20 6c 65 6e 2c | 20 77 68 6f 61 6d 69 29 |me, len,| whoami)|
|000033c0| 3b 0a 09 09 28 76 6f 69 | 64 29 20 70 63 6c 6f 73 |;...(voi|d) pclos|
|000033d0| 65 28 77 68 6f 61 6d 69 | 29 3b 0a 09 09 69 66 20 |e(whoami|);...if |
|000033e0| 28 28 70 74 72 20 3d 20 | 69 6e 64 65 78 28 6e 61 |((ptr = |index(na|
|000033f0| 6d 65 2c 20 27 5c 6e 27 | 29 29 20 21 3d 20 30 29 |me, '\n'|)) != 0)|
|00003400| 0a 09 09 09 2a 70 74 72 | 20 3d 20 27 5c 30 27 3b |....*ptr| = '\0';|
|00003410| 0a 09 7d 0a 09 69 66 20 | 28 2a 6e 61 6d 65 29 0a |..}..if |(*name).|
|00003420| 09 09 72 65 74 75 72 6e | 3b 0a 09 0a 09 2f 2a 20 |..return|;..../* |
|00003430| 66 61 69 6c 75 72 65 20 | 2a 2f 0a 09 72 65 74 75 |failure |*/..retu|
|00003440| 72 6e 3b 0a 7d 0a 23 65 | 6e 64 69 66 20 47 45 54 |rn;.}.#e|ndif GET|
|00003450| 48 4f 53 54 4e 41 4d 45 | 0a 53 48 41 52 5f 45 4f |HOSTNAME|.SHAR_EO|
|00003460| 46 0a 69 66 20 74 65 73 | 74 20 31 32 36 36 20 2d |F.if tes|t 1266 -|
|00003470| 6e 65 20 22 60 77 63 20 | 2d 63 20 3c 20 27 67 65 |ne "`wc |-c < 'ge|
|00003480| 74 68 6f 73 74 6e 61 6d | 2e 63 27 60 22 0a 74 68 |thostnam|.c'`".th|
|00003490| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 65 |en..echo| shar: e|
|000034a0| 72 72 6f 72 20 74 72 61 | 6e 73 6d 69 74 74 69 6e |rror tra|nsmittin|
|000034b0| 67 20 22 27 67 65 74 68 | 6f 73 74 6e 61 6d 2e 63 |g "'geth|ostnam.c|
|000034c0| 27 22 20 27 28 73 68 6f | 75 6c 64 20 68 61 76 65 |'" '(sho|uld have|
|000034d0| 20 62 65 65 6e 20 31 32 | 36 36 20 63 68 61 72 61 | been 12|66 chara|
|000034e0| 63 74 65 72 73 29 27 0a | 66 69 0a 66 69 20 23 20 |cters)'.|fi.fi # |
|000034f0| 65 6e 64 20 6f 66 20 6f | 76 65 72 77 72 69 74 69 |end of o|verwriti|
|00003500| 6e 67 20 63 68 65 63 6b | 0a 65 63 68 6f 20 73 68 |ng check|.echo sh|
|00003510| 61 72 3a 20 65 78 74 72 | 61 63 74 69 6e 67 20 22 |ar: extr|acting "|
|00003520| 27 67 65 74 70 61 74 68 | 2e 63 27 22 20 27 28 32 |'getpath|.c'" '(2|
|00003530| 37 39 38 20 63 68 61 72 | 61 63 74 65 72 73 29 27 |798 char|acters)'|
|00003540| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 67 65 74 |.if test| -f 'get|
|00003550| 70 61 74 68 2e 63 27 0a | 74 68 65 6e 0a 09 65 63 |path.c'.|then..ec|
|00003560| 68 6f 20 73 68 61 72 3a | 20 77 69 6c 6c 20 6e 6f |ho shar:| will no|
|00003570| 74 20 6f 76 65 72 2d 77 | 72 69 74 65 20 65 78 69 |t over-w|rite exi|
|00003580| 73 74 69 6e 67 20 66 69 | 6c 65 20 22 27 67 65 74 |sting fi|le "'get|
|00003590| 70 61 74 68 2e 63 27 22 | 0a 65 6c 73 65 0a 73 65 |path.c'"|.else.se|
|000035a0| 64 20 27 73 2f 5e 58 2f | 2f 27 20 3c 3c 20 5c 53 |d 's/^X/|/' << \S|
|000035b0| 48 41 52 5f 45 4f 46 20 | 3e 20 27 67 65 74 70 61 |HAR_EOF |> 'getpa|
|000035c0| 74 68 2e 63 27 0a 2f 2a | 0a 20 2a 20 4e 61 6d 65 |th.c'./*|. * Name|
|000035d0| 3a 20 67 65 74 70 61 74 | 68 20 2d 2d 20 72 65 74 |: getpat|h -- ret|
|000035e0| 75 72 6e 20 74 68 65 20 | 66 75 6c 6c 20 75 73 65 |urn the |full use|
|000035f0| 6e 65 74 20 70 61 74 68 | 20 6f 66 20 74 68 65 20 |net path| of the |
|00003600| 67 69 76 65 6e 20 6e 61 | 6d 65 0a 20 2a 0a 20 2a |given na|me. *. *|
|00003610| 20 50 61 72 61 6d 61 74 | 65 72 73 3a 20 73 79 73 | Paramat|ers: sys|
|00003620| 6e 61 6d 65 20 28 69 6e | 70 75 74 29 20 2d 2d 20 |name (in|put) -- |
|00003630| 54 68 65 20 73 79 73 74 | 65 6d 20 6e 61 6d 65 20 |The syst|em name |
|00003640| 74 6f 20 62 65 20 65 78 | 70 61 6e 64 65 64 0a 20 |to be ex|panded. |
|00003650| 2a 09 20 20 20 20 20 20 | 20 70 61 74 68 6e 61 6d |*. | pathnam|
|00003660| 65 20 28 6f 75 74 70 75 | 74 29 20 20 54 68 65 20 |e (outpu|t) The |
|00003670| 75 73 65 6e 65 74 20 70 | 61 74 68 20 6f 66 20 74 |usenet p|ath of t|
|00003680| 68 65 20 67 69 76 65 6e | 20 73 79 73 74 65 6d 20 |he given| system |
|00003690| 6e 61 6d 65 0a 20 2a 09 | 20 20 20 20 20 20 20 70 |name. *.| p|
|000036a0| 61 74 68 66 69 6c 65 20 | 28 69 6e 70 75 74 29 20 |athfile |(input) |
|000036b0| 74 68 65 20 66 69 6c 65 | 20 74 6f 20 73 65 61 72 |the file| to sear|
|000036c0| 63 68 20 66 6f 72 20 74 | 68 65 20 73 79 73 74 65 |ch for t|he syste|
|000036d0| 6d 20 6e 61 6d 65 0a 20 | 2a 0a 20 2a 20 52 65 74 |m name. |*. * Ret|
|000036e0| 75 72 6e 73 3a 20 45 58 | 5f 4f 4b 20 20 20 20 20 |urns: EX|_OK |
|000036f0| 2d 2d 20 70 61 74 68 20 | 66 6f 75 6e 64 0a 20 2a |-- path |found. *|
|00003700| 09 20 20 20 20 45 58 5f | 4e 4f 48 4f 53 54 20 2d |. EX_|NOHOST -|
|00003710| 2d 20 70 61 74 68 20 6e | 6f 74 20 66 6f 75 6e 64 |- path n|ot found|
|00003720| 0a 20 2a 09 20 20 20 20 | 45 58 5f 4e 4f 49 4e 50 |. *. |EX_NOINP|
|00003730| 55 54 2d 2d 20 75 6e 61 | 62 6c 65 20 74 6f 20 6f |UT-- una|ble to o|
|00003740| 70 65 6e 20 75 73 65 6d | 61 70 0a 20 2a 0a 20 2a |pen usem|ap. *. *|
|00003750| 20 41 75 74 68 6f 72 3a | 20 4a 2e 20 44 6f 6e 6e | Author:| J. Donn|
|00003760| 65 6c 6c 79 20 20 20 33 | 2f 38 32 0a 20 2a 0a 20 |elly 3|/82. *. |
|00003770| 2a 2f 0a 0a 2f 2a 20 32 | 32 2d 6a 75 6e 2d 38 33 |*/../* 2|2-jun-83|
|00003780| 20 53 68 65 70 70 61 72 | 64 0a 20 2a 20 6d 6f 64 | Sheppar|d. * mod|
|00003790| 69 66 69 65 64 20 74 6f | 20 72 65 77 69 6e 64 20 |ified to| rewind |
|000037a0| 70 61 74 68 20 66 69 6c | 65 20 28 69 66 20 6f 70 |path fil|e (if op|
|000037b0| 65 6e 29 2c 20 72 61 74 | 68 65 72 20 74 68 61 6e |en), rat|her than|
|000037c0| 20 6f 70 65 6e 20 61 67 | 61 69 6e 0a 20 2a 0a 20 | open ag|ain. *. |
|000037d0| 2a 20 24 4c 6f 67 3a 09 | 67 65 74 70 61 74 68 2e |* $Log:.|getpath.|
|000037e0| 63 2c 76 20 24 0a 20 2a | 20 52 65 76 69 73 69 6f |c,v $. *| Revisio|
|000037f0| 6e 20 31 2e 39 20 20 38 | 35 2f 31 31 2f 31 34 20 |n 1.9 8|5/11/14 |
|00003800| 20 32 30 3a 32 31 3a 34 | 39 20 20 73 6f 62 0a 20 | 20:21:4|9 sob. |
|00003810| 2a 20 41 64 64 65 64 20 | 23 69 66 64 65 66 20 44 |* Added |#ifdef D|
|00003820| 45 42 55 47 20 74 6f 20 | 61 6c 6c 6f 77 20 63 6f |EBUG to |allow co|
|00003830| 6d 70 69 6c 61 74 69 6f | 6e 20 77 69 74 68 6f 75 |mpilatio|n withou|
|00003840| 74 20 44 45 42 55 47 0a | 20 2a 20 0a 20 2a 20 52 |t DEBUG.| * . * R|
|00003850| 65 76 69 73 69 6f 6e 20 | 31 2e 38 20 20 38 35 2f |evision |1.8 85/|
|00003860| 31 31 2f 30 38 20 20 30 | 33 3a 30 34 3a 34 39 20 |11/08 0|3:04:49 |
|00003870| 20 73 6f 62 0a 20 2a 20 | 72 65 6c 65 61 73 65 20 | sob. * |release |
|00003880| 76 65 72 73 69 6f 6e 0a | 20 2a 20 0a 20 2a 20 52 |version.| * . * R|
|00003890| 65 76 69 73 69 6f 6e 20 | 31 2e 37 20 20 38 35 2f |evision |1.7 85/|
|000038a0| 30 39 2f 33 30 20 20 30 | 32 3a 34 37 3a 34 30 20 |09/30 0|2:47:40 |
|000038b0| 20 73 6f 62 0a 20 2a 20 | 41 6c 74 65 72 65 64 20 | sob. * |Altered |
|000038c0| 74 6f 20 75 73 65 20 70 | 61 74 68 20 66 69 6c 65 |to use p|ath file|
|000038d0| 6e 61 6d 65 20 66 72 6f | 6d 20 67 6c 6f 62 61 6c |name fro|m global|
|000038e0| 20 76 61 72 69 61 62 6c | 65 2e 0a 20 2a 20 0a 20 | variabl|e.. * . |
|000038f0| 2a 20 52 65 76 69 73 69 | 6f 6e 20 31 2e 36 20 20 |* Revisi|on 1.6 |
|00003900| 38 35 2f 30 38 2f 30 33 | 20 20 30 30 3a 34 38 3a |85/08/03| 00:48:|
|00003910| 35 37 20 20 55 55 43 50 | 0a 20 2a 20 43 6c 65 61 |57 UUCP|. * Clea|
|00003920| 6e 65 64 20 75 70 20 77 | 69 74 68 20 6c 69 6e 74 |ned up w|ith lint|
|00003930| 2e 0a 20 2a 20 53 74 61 | 6e 20 42 61 72 62 65 72 |.. * Sta|n Barber|
|00003940| 0a 20 2a 20 0a 20 2a 20 | 52 65 76 69 73 69 6f 6e |. * . * |Revision|
|00003950| 20 31 2e 35 20 20 38 35 | 2f 30 37 2f 31 39 20 20 | 1.5 85|/07/19 |
|00003960| 31 37 3a 34 35 3a 31 33 | 20 20 55 55 43 50 0a 20 |17:45:13| UUCP. |
|00003970| 2a 20 41 64 64 65 64 20 | 5c 74 20 61 73 20 61 20 |* Added |\t as a |
|00003980| 76 61 6c 69 64 20 73 65 | 70 65 72 61 74 69 6f 6e |valid se|peration|
|00003990| 20 63 68 61 72 61 63 74 | 65 72 20 66 6f 72 20 74 | charact|er for t|
|000039a0| 68 65 20 64 61 74 61 62 | 61 73 65 0a 20 2a 20 69 |he datab|ase. * i|
|000039b0| 6e 20 74 68 65 20 6e 6f | 6e 20 44 42 4d 20 63 61 |n the no|n DBM ca|
|000039c0| 73 65 2e 20 54 68 69 73 | 20 69 73 20 77 68 61 74 |se. This| is what|
|000039d0| 20 70 61 74 68 61 6c 69 | 61 73 20 75 73 65 73 2e | pathali|as uses.|
|000039e0| 0a 20 2a 20 0a 20 2a 20 | 52 65 76 69 73 69 6f 6e |. * . * |Revision|
|000039f0| 20 31 2e 34 20 20 38 35 | 2f 30 37 2f 31 39 20 20 | 1.4 85|/07/19 |
|00003a00| 31 36 3a 34 34 3a 30 37 | 20 20 55 55 43 50 0a 20 |16:44:07| UUCP. |
|00003a10| 2a 20 72 65 76 69 73 65 | 64 20 74 6f 20 72 65 74 |* revise|d to ret|
|00003a20| 75 72 6e 20 70 72 6f 70 | 65 72 20 74 68 69 6e 67 |urn prop|er thing|
|00003a30| 73 20 69 6e 20 61 63 63 | 6f 72 64 61 6e 63 65 20 |s in acc|ordance |
|00003a40| 77 69 74 68 20 73 79 73 | 65 78 69 74 73 0a 20 2a |with sys|exits. *|
|00003a50| 20 53 74 61 6e 0a 20 2a | 20 0a 20 2a 20 52 65 76 | Stan. *| . * Rev|
|00003a60| 69 73 69 6f 6e 20 31 2e | 33 20 20 38 35 2f 30 37 |ision 1.|3 85/07|
|00003a70| 2f 31 31 20 20 31 39 3a | 33 30 3a 33 31 20 20 73 |/11 19:|30:31 s|
|00003a80| 6f 62 0a 20 2a 20 61 64 | 64 65 64 20 22 75 75 63 |ob. * ad|ded "uuc|
|00003a90| 6f 6e 66 2e 68 22 20 69 | 6e 63 6c 75 64 65 20 66 |onf.h" i|nclude f|
|00003aa0| 69 6c 65 20 61 6e 64 20 | 64 65 6c 65 74 65 64 20 |ile and |deleted |
|00003ab0| 64 75 70 6c 69 63 61 74 | 65 64 20 69 6e 66 6f 72 |duplicat|ed infor|
|00003ac0| 6d 61 74 69 6f 6e 0a 20 | 2a 20 0a 20 2a 20 52 65 |mation. |* . * Re|
|00003ad0| 76 69 73 69 6f 6e 20 31 | 2e 32 20 20 38 35 2f 30 |vision 1|.2 85/0|
|00003ae0| 37 2f 31 30 20 20 31 38 | 3a 33 30 3a 35 39 20 20 |7/10 18|:30:59 |
|00003af0| 73 6f 62 0a 20 2a 20 75 | 70 64 61 74 65 64 20 74 |sob. * u|pdated t|
|00003b00| 6f 20 61 64 64 20 44 42 | 4d 20 63 61 70 61 62 69 |o add DB|M capabi|
|00003b10| 6c 69 74 69 65 73 0a 20 | 2a 20 53 74 61 6e 20 42 |lities. |* Stan B|
|00003b20| 61 72 62 65 72 2c 20 42 | 61 79 6c 6f 72 20 43 6f |arber, B|aylor Co|
|00003b30| 6c 6c 65 67 65 20 6f 66 | 20 4d 65 64 69 63 69 6e |llege of| Medicin|
|00003b40| 65 0a 20 2a 20 0a 20 2a | 20 52 65 76 69 73 69 6f |e. * . *| Revisio|
|00003b50| 6e 20 31 2e 31 20 20 38 | 35 2f 30 37 2f 31 30 20 |n 1.1 8|5/07/10 |
|00003b60| 20 31 38 3a 30 33 3a 32 | 38 20 20 73 6f 62 0a 20 | 18:03:2|8 sob. |
|00003b70| 2a 20 49 6e 69 74 69 61 | 6c 20 72 65 76 69 73 69 |* Initia|l revisi|
|00003b80| 6f 6e 0a 20 2a 20 0a 20 | 2a 2f 0a 0a 23 69 6e 63 |on. * . |*/..#inc|
|00003b90| 6c 75 64 65 09 22 75 75 | 63 6f 6e 66 2e 68 22 0a |lude."uu|conf.h".|
|00003ba0| 0a 73 74 61 74 69 63 20 | 63 68 61 72 20 72 63 73 |.static |char rcs|
|00003bb0| 69 64 5b 5d 20 3d 20 22 | 24 48 65 61 64 65 72 3a |id[] = "|$Header:|
|00003bc0| 20 67 65 74 70 61 74 68 | 2e 63 2c 76 20 31 2e 39 | getpath|.c,v 1.9|
|00003bd0| 20 38 35 2f 31 31 2f 31 | 34 20 32 30 3a 32 31 3a | 85/11/1|4 20:21:|
|00003be0| 34 39 20 73 6f 62 20 45 | 78 70 20 24 22 3b 0a 0a |49 sob E|xp $";..|
|00003bf0| 0a 0a 58 46 49 4c 45 20 | 2a 20 66 6f 70 65 6e 20 |..XFILE |* fopen |
|00003c00| 28 29 2c 20 2a 69 6e 3b | 0a 0a 67 65 74 70 61 74 |(), *in;|..getpat|
|00003c10| 68 20 28 73 79 73 6e 61 | 6d 65 2c 20 70 61 74 68 |h (sysna|me, path|
|00003c20| 6e 61 6d 65 29 0a 63 68 | 61 72 20 20 20 2a 73 79 |name).ch|ar *sy|
|00003c30| 73 6e 61 6d 65 2c 20 2a | 70 61 74 68 6e 61 6d 65 |sname, *|pathname|
|00003c40| 3b 0a 7b 0a 20 20 20 20 | 63 68 61 72 20 20 20 20 |;.{. |char |
|00003c50| 6e 61 6d 65 5b 4e 41 4d | 45 53 49 5a 5d 2c 2a 70 |name[NAM|ESIZ],*p|
|00003c60| 2c 74 3b 0a 0a 23 69 66 | 64 65 66 20 44 42 4d 0a |,t;..#if|def DBM.|
|00003c70| 20 20 20 20 64 61 74 75 | 6d 20 6c 68 73 2c 72 68 | datu|m lhs,rh|
|00003c80| 73 3b 0a 23 65 6e 64 69 | 66 0a 23 69 66 64 65 66 |s;.#endi|f.#ifdef|
|00003c90| 20 44 45 42 55 47 0a 69 | 66 20 28 44 65 62 75 67 | DEBUG.i|f (Debug|
|00003ca0| 3e 32 29 0a 09 70 72 69 | 6e 74 66 28 22 49 6e 20 |>2)..pri|ntf("In |
|00003cb0| 67 65 74 70 61 74 68 3a | 20 53 79 73 6e 61 6d 65 |getpath:| Sysname|
|00003cc0| 20 3d 20 25 73 2c 20 50 | 61 74 68 66 69 6c 65 20 | = %s, P|athfile |
|00003cd0| 3d 20 25 73 5c 6e 22 2c | 73 79 73 6e 61 6d 65 2c |= %s\n",|sysname,|
|00003ce0| 70 61 74 68 73 29 3b 0a | 23 65 6e 64 69 66 0a 23 |paths);.|#endif.#|
|00003cf0| 69 66 64 65 66 20 44 42 | 4d 0a 20 20 20 69 66 20 |ifdef DB|M. if |
|00003d00| 28 64 62 6d 69 6e 69 74 | 28 70 61 74 68 73 29 20 |(dbminit|(paths) |
|00003d10| 3c 30 29 20 72 65 74 75 | 72 6e 28 45 58 5f 4e 4f |<0) retu|rn(EX_NO|
|00003d20| 49 4e 50 55 54 29 3b 0a | 20 20 20 20 09 6c 68 73 |INPUT);.| .lhs|
|00003d30| 2e 64 70 74 72 20 3d 20 | 73 79 73 6e 61 6d 65 3b |.dptr = |sysname;|
|00003d40| 0a 09 6c 68 73 2e 64 73 | 69 7a 65 20 3d 20 73 74 |..lhs.ds|ize = st|
|00003d50| 72 6c 65 6e 28 73 79 73 | 6e 61 6d 65 29 2b 31 3b |rlen(sys|name)+1;|
|00003d60| 0a 09 72 68 73 20 3d 20 | 66 65 74 63 68 28 6c 68 |..rhs = |fetch(lh|
|00003d70| 73 29 3b 0a 09 69 66 20 | 28 72 68 73 2e 64 70 74 |s);..if |(rhs.dpt|
|00003d80| 72 20 3d 3d 20 4e 55 4c | 4c 29 20 72 65 74 75 72 |r == NUL|L) retur|
|00003d90| 6e 28 45 58 5f 4e 4f 48 | 4f 53 54 29 3b 20 2f 2a |n(EX_NOH|OST); /*|
|00003da0| 20 6e 6f 20 6e 61 6d 65 | 20 66 6f 75 6e 64 20 2a | no name| found *|
|00003db0| 2f 0a 09 73 74 72 63 70 | 79 28 70 61 74 68 6e 61 |/..strcp|y(pathna|
|00003dc0| 6d 65 2c 72 68 73 2e 64 | 70 74 72 29 3b 0a 20 20 |me,rhs.d|ptr);. |
|00003dd0| 20 20 20 20 20 20 72 65 | 74 75 72 6e 28 45 58 5f | re|turn(EX_|
|00003de0| 4f 4b 29 3b 09 09 09 2f | 2a 20 73 79 73 74 65 6d |OK);.../|* system|
|00003df0| 20 6e 61 6d 65 20 66 6f | 75 6e 64 20 2a 2f 0a 0a | name fo|und */..|
|00003e00| 23 65 6c 73 65 0a 69 66 | 20 28 69 6e 20 3d 3d 20 |#else.if| (in == |
|00003e10| 4e 55 4c 4c 29 20 7b 0a | 09 69 66 20 28 28 69 6e |NULL) {.|.if ((in|
|00003e20| 20 3d 20 66 6f 70 65 6e | 28 70 61 74 68 73 2c 20 | = fopen|(paths, |
|00003e30| 22 72 22 29 29 20 3d 3d | 20 4e 55 4c 4c 29 0a 09 |"r")) ==| NULL)..|
|00003e40| 20 20 20 20 72 65 74 75 | 72 6e 28 45 58 5f 4e 4f | retu|rn(EX_NO|
|00003e50| 49 4e 50 55 54 29 3b 0a | 20 20 20 20 7d 0a 20 20 |INPUT);.| }. |
|00003e60| 20 20 65 6c 73 65 0a 09 | 72 65 77 69 6e 64 28 69 | else..|rewind(i|
|00003e70| 6e 29 3b 0a 0a 20 20 20 | 20 66 6f 72 20 28 3b 3b |n);.. | for (;;|
|00003e80| 29 0a 20 20 20 20 7b 0a | 09 70 20 3d 20 26 6e 61 |). {.|.p = &na|
|00003e90| 6d 65 5b 30 5d 3b 0a 09 | 77 68 69 6c 65 20 28 28 |me[0];..|while ((|
|00003ea0| 74 20 3d 20 67 65 74 63 | 28 69 6e 29 29 20 21 3d |t = getc|(in)) !=|
|00003eb0| 20 45 4f 46 20 26 26 20 | 28 2a 70 2b 2b 20 3d 20 | EOF && |(*p++ = |
|00003ec0| 74 29 20 21 3d 20 27 20 | 27 20 26 26 20 74 20 21 |t) != ' |' && t !|
|00003ed0| 3d 20 27 5c 74 27 29 3b | 20 2f 2a 20 72 65 61 64 |= '\t');| /* read|
|00003ee0| 20 74 68 65 20 73 79 73 | 74 65 6d 20 6e 61 6d 65 | the sys|tem name|
|00003ef0| 20 2a 2f 0a 09 69 66 28 | 20 74 20 3d 3d 20 45 4f | */..if(| t == EO|
|00003f00| 46 29 20 72 65 74 75 72 | 6e 28 45 58 5f 4e 4f 48 |F) retur|n(EX_NOH|
|00003f10| 4f 53 54 29 3b 0a 09 2a | 2d 2d 70 20 3d 20 27 5c |OST);..*|--p = '\|
|00003f20| 30 27 3b 09 09 09 09 09 | 2f 2a 20 73 65 74 20 65 |0';.....|/* set e|
|00003f30| 6e 64 20 6f 66 20 73 74 | 72 69 6e 67 20 2a 2f 0a |nd of st|ring */.|
|00003f40| 09 70 20 3d 20 26 6e 61 | 6d 65 5b 30 5d 3b 0a 23 |.p = &na|me[0];.#|
|00003f50| 69 66 64 65 66 20 44 45 | 42 55 47 0a 09 69 66 20 |ifdef DE|BUG..if |
|00003f60| 28 44 65 62 75 67 3e 34 | 29 20 70 72 69 6e 74 66 |(Debug>4|) printf|
|00003f70| 28 22 46 6f 75 6e 64 20 | 25 73 5c 6e 22 2c 70 29 |("Found |%s\n",p)|
|00003f80| 3b 0a 23 65 6e 64 69 66 | 0a 09 69 66 20 28 73 74 |;.#endif|..if (st|
|00003f90| 72 63 6d 70 20 28 70 2c | 73 79 73 6e 61 6d 65 29 |rcmp (p,|sysname)|
|00003fa0| 20 3d 3d 20 30 29 0a 09 | 20 20 20 20 62 72 65 61 | == 0)..| brea|
|00003fb0| 6b 3b 0a 09 77 68 69 6c | 65 20 28 28 67 65 74 63 |k;..whil|e ((getc|
|00003fc0| 20 28 69 6e 29 20 21 3d | 20 27 5c 6e 27 29 29 3b | (in) !=| '\n'));|
|00003fd0| 09 09 09 2f 2a 20 73 6b | 69 70 20 74 68 69 73 20 |.../* sk|ip this |
|00003fe0| 70 61 74 68 20 2a 2f 0a | 20 20 20 20 7d 0a 0a 20 |path */.| }.. |
|00003ff0| 20 20 20 70 20 3d 20 70 | 61 74 68 6e 61 6d 65 3b | p = p|athname;|
|00004000| 09 09 09 09 09 2f 2a 20 | 73 61 76 65 20 73 74 61 |...../* |save sta|
|00004010| 72 74 20 6c 6f 63 20 6f | 66 20 70 61 74 68 6e 61 |rt loc o|f pathna|
|00004020| 6d 65 20 2a 2f 0a 20 20 | 20 20 77 68 69 6c 65 20 |me */. | while |
|00004030| 28 28 2a 70 61 74 68 6e | 61 6d 65 2b 2b 20 3d 20 |((*pathn|ame++ = |
|00004040| 67 65 74 63 20 28 69 6e | 29 29 20 21 3d 20 27 5c |getc (in|)) != '\|
|00004050| 6e 27 29 3b 0a 20 20 20 | 20 2a 2d 2d 70 61 74 68 |n');. | *--path|
|00004060| 6e 61 6d 65 20 3d 20 27 | 5c 30 27 3b 0a 20 20 20 |name = '|\0';. |
|00004070| 20 70 61 74 68 6e 61 6d | 65 20 3d 20 70 3b 0a 20 | pathnam|e = p;. |
|00004080| 20 20 20 72 65 74 75 72 | 6e 28 45 58 5f 4f 4b 29 | retur|n(EX_OK)|
|00004090| 3b 09 09 09 2f 2a 20 73 | 79 73 74 65 6d 20 6e 61 |;.../* s|ystem na|
|000040a0| 6d 65 20 66 6f 75 6e 64 | 20 2a 2f 0a 23 65 6e 64 |me found| */.#end|
|000040b0| 69 66 0a 7d 0a 53 48 41 | 52 5f 45 4f 46 0a 69 66 |if.}.SHA|R_EOF.if|
|000040c0| 20 74 65 73 74 20 32 37 | 39 38 20 2d 6e 65 20 22 | test 27|98 -ne "|
|000040d0| 60 77 63 20 2d 63 20 3c | 20 27 67 65 74 70 61 74 |`wc -c <| 'getpat|
|000040e0| 68 2e 63 27 60 22 0a 74 | 68 65 6e 0a 09 65 63 68 |h.c'`".t|hen..ech|
|000040f0| 6f 20 73 68 61 72 3a 20 | 65 72 72 6f 72 20 74 72 |o shar: |error tr|
|00004100| 61 6e 73 6d 69 74 74 69 | 6e 67 20 22 27 67 65 74 |ansmitti|ng "'get|
|00004110| 70 61 74 68 2e 63 27 22 | 20 27 28 73 68 6f 75 6c |path.c'"| '(shoul|
|00004120| 64 20 68 61 76 65 20 62 | 65 65 6e 20 32 37 39 38 |d have b|een 2798|
|00004130| 20 63 68 61 72 61 63 74 | 65 72 73 29 27 0a 66 69 | charact|ers)'.fi|
|00004140| 0a 66 69 20 23 20 65 6e | 64 20 6f 66 20 6f 76 65 |.fi # en|d of ove|
|00004150| 72 77 72 69 74 69 6e 67 | 20 63 68 65 63 6b 0a 65 |rwriting| check.e|
|00004160| 63 68 6f 20 73 68 61 72 | 3a 20 65 78 74 72 61 63 |cho shar|: extrac|
|00004170| 74 69 6e 67 20 22 27 6d | 61 6b 65 66 69 6c 65 27 |ting "'m|akefile'|
|00004180| 22 20 27 28 32 36 31 33 | 20 63 68 61 72 61 63 74 |" '(2613| charact|
|00004190| 65 72 73 29 27 0a 69 66 | 20 74 65 73 74 20 2d 66 |ers)'.if| test -f|
|000041a0| 20 27 6d 61 6b 65 66 69 | 6c 65 27 0a 74 68 65 6e | 'makefi|le'.then|
|000041b0| 0a 09 65 63 68 6f 20 73 | 68 61 72 3a 20 77 69 6c |..echo s|har: wil|
|000041c0| 6c 20 6e 6f 74 20 6f 76 | 65 72 2d 77 72 69 74 65 |l not ov|er-write|
|000041d0| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 22 | existin|g file "|
|000041e0| 27 6d 61 6b 65 66 69 6c | 65 27 22 0a 65 6c 73 65 |'makefil|e'".else|
|000041f0| 0a 73 65 64 20 27 73 2f | 5e 58 2f 2f 27 20 3c 3c |.sed 's/|^X//' <<|
|00004200| 20 5c 53 48 41 52 5f 45 | 4f 46 20 3e 20 27 6d 61 | \SHAR_E|OF > 'ma|
|00004210| 6b 65 66 69 6c 65 27 0a | 23 23 23 23 23 23 23 23 |kefile'.|########|
|00004220| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004230| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004240| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004250| 23 23 23 23 23 23 23 23 | 23 23 23 23 0a 23 20 6d |########|####.# m|
|00004260| 61 6b 65 66 69 6c 65 20 | 66 6f 72 20 75 75 6d 61 |akefile |for uuma|
|00004270| 69 6c 20 26 20 75 75 70 | 61 74 68 0a 23 20 70 72 |il & uup|ath.# pr|
|00004280| 6f 67 72 61 6d 20 74 6f | 20 69 6e 74 65 67 72 61 |ogram to| integra|
|00004290| 74 65 20 77 69 74 68 20 | 70 61 74 68 61 6c 69 61 |te with |pathalia|
|000042a0| 73 20 63 72 65 61 74 65 | 64 20 75 75 63 70 6d 61 |s create|d uucpma|
|000042b0| 70 20 64 61 74 61 62 61 | 73 65 73 0a 23 20 70 72 |p databa|ses.# pr|
|000042c0| 6f 67 72 61 6d 73 20 6f | 72 69 67 69 6e 61 6c 6c |ograms o|riginall|
|000042d0| 79 20 64 65 76 65 6c 6f | 70 65 64 20 62 79 20 4a |y develo|ped by J|
|000042e0| 65 66 66 20 44 6f 6e 6e | 65 6c 6c 79 0a 23 20 75 |eff Donn|elly.# u|
|000042f0| 70 64 61 74 65 64 20 74 | 6f 20 75 73 65 20 70 61 |pdated t|o use pa|
|00004300| 74 68 61 6c 69 61 73 20 | 64 61 74 61 62 61 73 65 |thalias |database|
|00004310| 20 62 79 20 53 74 61 6e | 20 42 61 72 62 65 72 0a | by Stan| Barber.|
|00004320| 23 20 24 48 65 61 64 65 | 72 3a 20 6d 61 6b 65 66 |# $Heade|r: makef|
|00004330| 69 6c 65 2c 76 20 31 2e | 33 20 38 35 2f 30 38 2f |ile,v 1.|3 85/08/|
|00004340| 30 33 20 30 30 3a 33 38 | 3a 33 33 20 55 55 43 50 |03 00:38|:33 UUCP|
|00004350| 20 45 78 70 20 24 0a 23 | 0a 23 20 74 68 65 20 66 | Exp $.#|.# the f|
|00004360| 6f 6c 6c 6f 77 69 6e 67 | 20 64 65 66 69 6e 65 73 |ollowing| defines|
|00004370| 20 73 68 6f 75 6c 64 20 | 62 65 20 63 6f 6e 66 69 | should |be confi|
|00004380| 67 75 72 65 64 20 66 6f | 72 20 79 6f 75 20 73 69 |gured fo|r you si|
|00004390| 74 65 0a 23 20 61 64 64 | 20 2d 44 44 42 4d 20 74 |te.# add| -DDBM t|
|000043a0| 6f 20 43 43 46 4c 41 47 | 53 20 69 66 20 79 6f 75 |o CCFLAG|S if you|
|000043b0| 72 20 70 61 74 68 61 6c | 69 61 73 20 64 61 74 61 |r pathal|ias data|
|000043c0| 62 61 73 65 20 75 73 65 | 64 20 74 68 65 0a 23 20 |base use|d the.# |
|000043d0| 64 62 6d 28 33 29 20 72 | 6f 75 74 69 6e 65 73 0a |dbm(3) r|outines.|
|000043e0| 23 20 69 66 20 79 6f 75 | 20 61 72 65 20 61 20 41 |# if you| are a A|
|000043f0| 54 54 20 73 79 73 74 65 | 6d 20 49 49 49 20 6f 72 |TT syste|m III or|
|00004400| 20 73 79 73 74 65 6d 20 | 56 20 73 69 74 65 0a 23 | system |V site.#|
|00004410| 20 6f 72 20 61 20 6d 61 | 73 73 63 6f 6d 70 20 61 | or a ma|sscomp a|
|00004420| 64 64 20 74 68 65 20 2d | 44 53 59 53 49 49 49 20 |dd the -|DSYSIII |
|00004430| 66 6c 61 67 73 0a 23 20 | 49 66 20 79 6f 75 20 77 |flags.# |If you w|
|00004440| 61 6e 74 20 74 6f 20 75 | 73 65 20 74 68 65 20 6f |ant to u|se the o|
|00004450| 70 61 74 68 20 73 75 62 | 72 6f 75 74 69 6e 65 20 |path sub|routine |
|00004460| 74 6f 20 64 65 61 6c 20 | 77 69 74 68 0a 23 20 64 |to deal |with.# d|
|00004470| 6f 6d 61 69 6e 20 6e 61 | 6d 65 73 20 61 64 64 20 |omain na|mes add |
|00004480| 74 68 65 20 2d 44 4f 50 | 41 54 48 20 66 6c 61 67 |the -DOP|ATH flag|
|00004490| 20 74 6f 20 74 68 65 20 | 43 46 4c 41 47 53 20 6c | to the |CFLAGS l|
|000044a0| 69 6e 65 0a 23 20 79 6f | 75 20 6d 61 79 20 77 61 |ine.# yo|u may wa|
|000044b0| 6e 74 20 74 6f 20 6d 6f | 64 69 66 79 20 74 68 65 |nt to mo|dify the|
|000044c0| 20 4c 49 42 53 20 6c 69 | 6e 65 20 74 6f 20 63 6f | LIBS li|ne to co|
|000044d0| 72 72 65 73 70 6f 6e 64 | 20 74 6f 20 0a 23 20 6c |rrespond| to .# l|
|000044e0| 69 62 72 61 72 69 65 73 | 20 74 68 61 74 20 79 6f |ibraries| that yo|
|000044f0| 75 20 6d 61 79 20 6e 65 | 65 64 20 61 74 20 79 6f |u may ne|ed at yo|
|00004500| 75 20 73 69 74 65 0a 23 | 20 73 65 65 20 63 6f 6e |u site.#| see con|
|00004510| 66 2e 68 20 66 6f 72 20 | 6f 74 68 65 72 20 63 68 |f.h for |other ch|
|00004520| 61 6e 67 65 73 20 74 68 | 61 74 20 6d 61 79 20 6e |anges th|at may n|
|00004530| 65 65 64 20 62 65 20 6d | 61 64 65 0a 23 20 49 4d |eed be m|ade.# IM|
|00004540| 50 4f 52 54 41 4e 54 20 | 49 4e 46 4f 52 4d 41 54 |PORTANT |INFORMAT|
|00004550| 49 4f 4e 20 41 42 4f 55 | 54 20 55 55 43 50 0a 23 |ION ABOU|T UUCP.#|
|00004560| 20 49 66 20 79 6f 75 72 | 20 75 75 63 70 20 64 6f | If your| uucp do|
|00004570| 65 73 20 6e 6f 74 20 75 | 6e 64 65 72 73 74 61 6e |es not u|nderstan|
|00004580| 64 20 74 68 65 20 2d 67 | 20 28 67 72 61 64 65 29 |d the -g| (grade)|
|00004590| 20 66 6c 61 67 0a 23 20 | 61 64 64 20 74 68 65 20 | flag.# |add the |
|000045a0| 2d 44 4e 4f 47 52 41 44 | 45 20 66 6c 61 67 20 74 |-DNOGRAD|E flag t|
|000045b0| 6f 20 43 46 4c 41 47 53 | 2e 0a 23 20 49 66 20 79 |o CFLAGS|..# If y|
|000045c0| 6f 75 72 20 75 75 63 70 | 20 64 6f 65 73 20 6e 6f |our uucp| does no|
|000045d0| 74 20 6b 6e 6f 77 20 61 | 62 6f 75 74 20 74 68 65 |t know a|bout the|
|000045e0| 20 2d 61 20 28 72 65 74 | 75 72 6e 74 6f 29 20 66 | -a (ret|urnto) f|
|000045f0| 6c 61 67 0a 23 20 61 64 | 64 20 74 68 65 20 2d 44 |lag.# ad|d the -D|
|00004600| 4e 4f 52 45 54 55 52 4e | 20 66 6c 61 67 20 74 6f |NORETURN| flag to|
|00004610| 20 43 46 4c 41 47 53 0a | 23 20 24 4c 6f 67 3a 09 | CFLAGS.|# $Log:.|
|00004620| 6d 61 6b 65 66 69 6c 65 | 2c 76 20 24 0a 23 20 52 |makefile|,v $.# R|
|00004630| 65 76 69 73 69 6f 6e 20 | 31 2e 33 20 20 38 35 2f |evision |1.3 85/|
|00004640| 30 38 2f 30 33 20 20 30 | 30 3a 33 38 3a 33 33 20 |08/03 0|0:38:33 |
|00004650| 20 55 55 43 50 0a 23 20 | 41 64 64 65 64 20 73 75 | UUCP.# |Added su|
|00004660| 70 70 6f 72 74 20 66 6f | 72 20 73 68 61 72 20 61 |pport fo|r shar a|
|00004670| 6e 64 20 52 43 53 2e 0a | 23 20 43 68 61 6e 67 65 |nd RCS..|# Change|
|00004680| 64 20 6e 61 6d 65 20 6f | 66 20 67 65 74 68 6f 73 |d name o|f gethos|
|00004690| 74 6e 61 6d 65 20 74 6f | 20 67 65 74 68 6f 73 74 |tname to| gethost|
|000046a0| 6e 61 6d 20 74 6f 20 61 | 6c 6c 6f 77 20 52 43 53 |nam to a|llow RCS|
|000046b0| 20 74 6f 20 77 6f 72 6b | 20 72 69 67 68 74 2e 0a | to work| right..|
|000046c0| 23 20 53 74 61 6e 20 42 | 61 72 62 65 72 0a 23 20 |# Stan B|arber.# |
|000046d0| 0a 23 20 52 65 76 69 73 | 69 6f 6e 20 31 2e 32 20 |.# Revis|ion 1.2 |
|000046e0| 20 38 35 2f 30 37 2f 31 | 31 20 20 31 39 3a 32 38 | 85/07/1|1 19:28|
|000046f0| 3a 35 32 20 20 73 6f 62 | 0a 23 20 75 70 64 61 74 |:52 sob|.# updat|
|00004700| 65 64 20 77 69 74 68 20 | 67 65 74 68 6f 73 74 6e |ed with |gethostn|
|00004710| 61 6d 65 2e 63 0a 23 20 | 0a 23 20 52 65 76 69 73 |ame.c.# |.# Revis|
|00004720| 69 6f 6e 20 31 2e 31 20 | 20 38 35 2f 30 37 2f 31 |ion 1.1 | 85/07/1|
|00004730| 31 20 20 31 39 3a 32 33 | 3a 32 32 20 20 73 6f 62 |1 19:23|:22 sob|
|00004740| 0a 23 20 49 6e 69 74 69 | 61 6c 20 72 65 76 69 73 |.# Initi|al revis|
|00004750| 69 6f 6e 0a 23 20 0a 23 | 23 23 23 23 23 23 23 23 |ion.# .#|########|
|00004760| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004770| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004780| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00004790| 23 23 23 23 23 23 0a 58 | 2e 53 55 46 46 49 58 45 |######.X|.SUFFIXE|
|000047a0| 53 3a 20 2e 63 2c 76 20 | 2e 68 2c 76 0a 0a 43 46 |S: .c,v |.h,v..CF|
|000047b0| 4c 41 47 53 3d 20 2d 4f | 20 2d 44 53 59 53 49 49 |LAGS= -O| -DSYSII|
|000047c0| 49 20 2d 44 44 45 42 55 | 47 20 2d 44 4f 50 41 54 |I -DDEBU|G -DOPAT|
|000047d0| 48 20 2d 44 55 47 4c 59 | 55 55 43 50 20 2d 44 4c |H -DUGLY|UUCP -DL|
|000047e0| 4f 47 0a 0a 4c 49 42 53 | 3d 0a 0a 58 2e 63 2c 76 |OG..LIBS|=..X.c,v|
|000047f0| 2e 63 3a 0a 09 63 6f 20 | 2d 71 20 24 2a 2e 63 0a |.c:..co |-q $*.c.|
|00004800| 0a 58 2e 68 2c 76 2e 68 | 3a 0a 09 63 6f 20 2d 71 |.X.h,v.h|:..co -q|
|00004810| 20 24 2a 2e 68 0a 0a 61 | 6c 6c 3a 20 75 75 6d 61 | $*.h..a|ll: uuma|
|00004820| 69 6c 20 72 6d 61 69 6c | 0a 0a 75 75 6d 61 69 6c |il rmail|..uumail|
|00004830| 3a 20 67 65 74 70 61 74 | 68 2e 6f 20 75 75 6d 61 |: getpat|h.o uuma|
|00004840| 69 6c 2e 6f 20 67 65 74 | 68 6f 73 74 6e 61 6d 2e |il.o get|hostnam.|
|00004850| 6f 20 6f 70 61 74 68 2e | 6f 0a 09 63 63 20 24 28 |o opath.|o..cc $(|
|00004860| 43 46 4c 41 47 53 29 20 | 67 65 74 70 61 74 68 2e |CFLAGS) |getpath.|
|00004870| 6f 20 75 75 6d 61 69 6c | 2e 6f 20 67 65 74 68 6f |o uumail|.o getho|
|00004880| 73 74 6e 61 6d 2e 6f 20 | 6f 70 61 74 68 2e 6f 20 |stnam.o |opath.o |
|00004890| 2d 6f 20 75 75 6d 61 69 | 6c 20 24 28 4c 49 42 53 |-o uumai|l $(LIBS|
|000048a0| 29 0a 0a 61 64 64 72 65 | 73 73 3a 61 64 64 72 65 |)..addre|ss:addre|
|000048b0| 73 73 2e 6f 20 6f 70 61 | 74 68 2e 6f 20 67 65 74 |ss.o opa|th.o get|
|000048c0| 70 61 74 68 2e 6f 0a 09 | 63 63 20 24 28 43 46 4c |path.o..|cc $(CFL|
|000048d0| 41 47 53 29 20 61 64 64 | 72 65 73 73 2e 6f 20 6f |AGS) add|ress.o o|
|000048e0| 70 61 74 68 2e 6f 20 67 | 65 74 70 61 74 68 2e 6f |path.o g|etpath.o|
|000048f0| 20 2d 6f 20 61 64 64 72 | 65 73 73 20 24 28 4c 49 | -o addr|ess $(LI|
|00004900| 42 53 29 0a 0a 67 65 74 | 70 61 74 68 2e 6f 3a 20 |BS)..get|path.o: |
|00004910| 67 65 74 70 61 74 68 2e | 63 20 75 75 63 6f 6e 66 |getpath.|c uuconf|
|00004920| 2e 68 0a 0a 75 75 70 61 | 74 68 2e 6f 3a 20 75 75 |.h..uupa|th.o: uu|
|00004930| 70 61 74 68 2e 63 20 75 | 75 63 6f 6e 66 2e 68 0a |path.c u|uconf.h.|
|00004940| 0a 75 75 6d 61 69 6c 2e | 6f 3a 20 75 75 6d 61 69 |.uumail.|o: uumai|
|00004950| 6c 2e 63 20 75 75 63 6f | 6e 66 2e 68 0a 0a 67 65 |l.c uuco|nf.h..ge|
|00004960| 74 68 6f 73 74 6e 61 6d | 2e 6f 3a 67 65 74 68 6f |thostnam|.o:getho|
|00004970| 73 74 6e 61 6d 2e 63 0a | 0a 61 64 64 72 65 73 73 |stnam.c.|.address|
|00004980| 2e 6f 3a 61 64 64 72 65 | 73 73 2e 63 0a 0a 6f 70 |.o:addre|ss.c..op|
|00004990| 61 74 68 2e 6f 3a 6f 70 | 61 74 68 2e 63 0a 0a 72 |ath.o:op|ath.c..r|
|000049a0| 6d 61 69 6c 3a 20 72 6d | 61 69 6c 2e 63 20 67 65 |mail: rm|ail.c ge|
|000049b0| 74 68 6f 73 74 6e 61 6d | 2e 6f 0a 09 63 63 20 24 |thostnam|.o..cc $|
|000049c0| 28 43 46 4c 41 47 53 29 | 20 72 6d 61 69 6c 2e 63 |(CFLAGS)| rmail.c|
|000049d0| 20 67 65 74 68 6f 73 74 | 6e 61 6d 2e 6f 20 2d 6f | gethost|nam.o -o|
|000049e0| 20 72 6d 61 69 6c 20 24 | 28 4c 49 42 53 29 0a 0a | rmail $|(LIBS)..|
|000049f0| 6c 69 6e 74 3a 0a 09 6c | 69 6e 74 20 24 28 43 46 |lint:..l|int $(CF|
|00004a00| 4c 41 47 53 29 20 67 65 | 74 70 61 74 68 2e 63 20 |LAGS) ge|tpath.c |
|00004a10| 75 75 6d 61 69 6c 2e 63 | 20 67 65 74 68 6f 73 74 |uumail.c| gethost|
|00004a20| 6e 61 6d 2e 63 20 6f 70 | 61 74 68 2e 63 0a 0a 63 |nam.c op|ath.c..c|
|00004a30| 6c 65 61 6e 3a 20 0a 09 | 72 6d 20 2d 66 20 2a 2e |lean: ..|rm -f *.|
|00004a40| 6f 20 2a 2e 43 4b 50 20 | 2a 2e 42 41 4b 20 2a 2e |o *.CKP |*.BAK *.|
|00004a50| 62 61 6b 0a 0a 64 6f 63 | 3a 20 75 75 6d 61 69 6c |bak..doc|: uumail|
|00004a60| 2e 31 20 75 75 70 61 74 | 68 2e 31 20 61 64 64 72 |.1 uupat|h.1 addr|
|00004a70| 65 73 73 2e 31 20 6f 70 | 61 74 68 2e 33 0a 09 6e |ess.1 op|ath.3..n|
|00004a80| 72 6f 66 66 20 2d 6d 61 | 6e 20 75 75 6d 61 69 6c |roff -ma|n uumail|
|00004a90| 2e 31 20 3e 75 75 6d 61 | 69 6c 2e 63 61 74 3b 20 |.1 >uuma|il.cat; |
|00004aa0| 6e 72 6f 66 66 20 2d 6d | 61 6e 20 75 75 70 61 74 |nroff -m|an uupat|
|00004ab0| 68 2e 31 20 3e 75 75 70 | 61 74 68 2e 63 61 74 3b |h.1 >uup|ath.cat;|
|00004ac0| 20 6e 72 6f 66 66 20 2d | 6d 61 6e 20 61 64 64 72 | nroff -|man addr|
|00004ad0| 65 73 73 2e 31 20 3e 61 | 64 64 72 65 73 73 2e 63 |ess.1 >a|ddress.c|
|00004ae0| 61 74 3b 20 6e 72 6f 66 | 66 20 2d 6d 61 6e 20 6f |at; nrof|f -man o|
|00004af0| 70 61 74 68 2e 33 20 3e | 6f 70 61 74 68 2e 63 61 |path.3 >|opath.ca|
|00004b00| 74 0a 0a 73 68 61 72 3a | 20 64 6f 6d 61 69 6e 73 |t..shar:| domains|
|00004b10| 20 70 61 6c 69 61 73 20 | 72 6d 61 69 6c 2e 63 20 | palias |rmail.c |
|00004b20| 6f 70 61 74 68 2e 63 20 | 61 64 64 72 65 73 73 2e |opath.c |address.|
|00004b30| 63 20 75 75 6d 61 69 6c | 2e 63 20 75 75 63 6f 6e |c uumail|.c uucon|
|00004b40| 66 2e 68 20 67 65 74 68 | 6f 73 74 6e 61 6d 2e 63 |f.h geth|ostnam.c|
|00004b50| 20 75 75 70 61 74 68 2e | 63 20 67 65 74 70 61 74 | uupath.|c getpat|
|00004b60| 68 2e 63 20 52 45 41 44 | 4d 45 20 6d 61 6b 65 66 |h.c READ|ME makef|
|00004b70| 69 6c 65 20 75 75 6d 61 | 69 6c 2e 31 20 75 75 70 |ile uuma|il.1 uup|
|00004b80| 61 74 68 2e 31 20 52 45 | 41 44 4d 45 2e 6f 72 69 |ath.1 RE|ADME.ori|
|00004b90| 67 20 6f 70 61 74 68 2e | 33 20 61 64 64 72 65 73 |g opath.|3 addres|
|00004ba0| 73 2e 31 0a 09 73 68 61 | 72 20 64 6f 6d 61 69 6e |s.1..sha|r domain|
|00004bb0| 73 20 70 61 6c 69 61 73 | 20 72 6d 61 69 6c 2e 63 |s palias| rmail.c|
|00004bc0| 20 6f 70 61 74 68 2e 63 | 20 61 64 64 72 65 73 73 | opath.c| address|
|00004bd0| 2e 63 20 75 75 6d 61 69 | 6c 2e 63 20 75 75 63 6f |.c uumai|l.c uuco|
|00004be0| 6e 66 2e 68 20 67 65 74 | 68 6f 73 74 6e 61 6d 2e |nf.h get|hostnam.|
|00004bf0| 63 20 75 75 70 61 74 68 | 2e 63 20 67 65 74 70 61 |c uupath|.c getpa|
|00004c00| 74 68 2e 63 20 52 45 41 | 44 4d 45 20 6d 61 6b 65 |th.c REA|DME make|
|00004c10| 66 69 6c 65 20 75 75 6d | 61 69 6c 2e 31 20 75 75 |file uum|ail.1 uu|
|00004c20| 70 61 74 68 2e 31 20 52 | 45 41 44 4d 45 2e 6f 72 |path.1 R|EADME.or|
|00004c30| 69 67 20 6f 70 61 74 68 | 2e 33 20 61 64 64 72 65 |ig opath|.3 addre|
|00004c40| 73 73 2e 31 3e 20 73 68 | 61 72 2e 6f 75 74 0a 0a |ss.1> sh|ar.out..|
|00004c50| 53 48 41 52 5f 45 4f 46 | 0a 69 66 20 74 65 73 74 |SHAR_EOF|.if test|
|00004c60| 20 32 36 31 33 20 2d 6e | 65 20 22 60 77 63 20 2d | 2613 -n|e "`wc -|
|00004c70| 63 20 3c 20 27 6d 61 6b | 65 66 69 6c 65 27 60 22 |c < 'mak|efile'`"|
|00004c80| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00004c90| 3a 20 65 72 72 6f 72 20 | 74 72 61 6e 73 6d 69 74 |: error |transmit|
|00004ca0| 74 69 6e 67 20 22 27 6d | 61 6b 65 66 69 6c 65 27 |ting "'m|akefile'|
|00004cb0| 22 20 27 28 73 68 6f 75 | 6c 64 20 68 61 76 65 20 |" '(shou|ld have |
|00004cc0| 62 65 65 6e 20 32 36 31 | 33 20 63 68 61 72 61 63 |been 261|3 charac|
|00004cd0| 74 65 72 73 29 27 0a 66 | 69 0a 66 69 20 23 20 65 |ters)'.f|i.fi # e|
|00004ce0| 6e 64 20 6f 66 20 6f 76 | 65 72 77 72 69 74 69 6e |nd of ov|erwritin|
|00004cf0| 67 20 63 68 65 63 6b 0a | 65 63 68 6f 20 73 68 61 |g check.|echo sha|
|00004d00| 72 3a 20 65 78 74 72 61 | 63 74 69 6e 67 20 22 27 |r: extra|cting "'|
|00004d10| 6f 70 61 74 68 2e 33 27 | 22 20 27 28 34 38 39 36 |opath.3'|" '(4896|
|00004d20| 20 63 68 61 72 61 63 74 | 65 72 73 29 27 0a 69 66 | charact|ers)'.if|
|00004d30| 20 74 65 73 74 20 2d 66 | 20 27 6f 70 61 74 68 2e | test -f| 'opath.|
|00004d40| 33 27 0a 74 68 65 6e 0a | 09 65 63 68 6f 20 73 68 |3'.then.|.echo sh|
|00004d50| 61 72 3a 20 77 69 6c 6c | 20 6e 6f 74 20 6f 76 65 |ar: will| not ove|
|00004d60| 72 2d 77 72 69 74 65 20 | 65 78 69 73 74 69 6e 67 |r-write |existing|
|00004d70| 20 66 69 6c 65 20 22 27 | 6f 70 61 74 68 2e 33 27 | file "'|opath.3'|
|00004d80| 22 0a 65 6c 73 65 0a 73 | 65 64 20 27 73 2f 5e 58 |".else.s|ed 's/^X|
|00004d90| 2f 2f 27 20 3c 3c 20 5c | 53 48 41 52 5f 45 4f 46 |//' << \|SHAR_EOF|
|00004da0| 20 3e 20 27 6f 70 61 74 | 68 2e 33 27 0a 58 2e 54 | > 'opat|h.3'.X.T|
|00004db0| 48 20 4f 50 41 54 48 20 | 33 20 22 50 45 20 53 44 |H OPATH |3 "PE SD|
|00004dc0| 43 22 0a 58 2e 53 48 20 | 4e 41 4d 45 0a 6f 70 61 |C".X.SH |NAME.opa|
|00004dd0| 74 68 20 2d 20 47 65 6e | 65 72 61 74 65 20 61 20 |th - Gen|erate a |
|00004de0| 55 55 43 50 20 72 6f 75 | 74 65 20 66 72 6f 6d 20 |UUCP rou|te from |
|00004df0| 61 6e 20 52 46 43 38 32 | 32 20 61 64 64 72 65 73 |an RFC82|2 addres|
|00004e00| 73 0a 58 2e 62 72 0a 6f | 75 70 61 74 68 20 2d 20 |s.X.br.o|upath - |
|00004e10| 47 65 6e 65 72 61 74 65 | 20 61 20 55 55 43 50 20 |Generate| a UUCP |
|00004e20| 72 6f 75 74 65 20 66 72 | 6f 6d 20 61 20 28 70 6f |route fr|om a (po|
|00004e30| 73 73 69 62 6c 79 20 64 | 69 73 63 6f 6e 6e 65 63 |ssibly d|isconnec|
|00004e40| 74 65 64 29 20 55 55 43 | 50 20 70 61 74 68 0a 58 |ted) UUC|P path.X|
|00004e50| 2e 53 48 20 53 59 4e 4f | 50 53 49 53 0a 63 68 61 |.SH SYNO|PSIS.cha|
|00004e60| 72 20 2a 6f 70 61 74 68 | 28 73 29 0a 58 2e 62 72 |r *opath|(s).X.br|
|00004e70| 0a 63 68 61 72 20 2a 73 | 3b 0a 58 2e 73 70 20 31 |.char *s|;.X.sp 1|
|00004e80| 0a 63 68 61 72 20 2a 6f | 75 70 61 74 68 28 73 29 |.char *o|upath(s)|
|00004e90| 0a 58 2e 62 72 0a 63 68 | 61 72 20 2a 73 3b 0a 58 |.X.br.ch|ar *s;.X|
|00004ea0| 2e 53 48 20 44 45 53 43 | 52 49 50 54 49 4f 4e 0a |.SH DESC|RIPTION.|
|00004eb0| 54 68 65 73 65 20 72 6f | 75 74 69 6e 65 73 20 75 |These ro|utines u|
|00004ec0| 73 65 20 74 68 65 20 5c | 66 42 70 61 74 68 61 6c |se the \|fBpathal|
|00004ed0| 69 61 73 5c 66 52 20 64 | 61 74 61 62 61 73 65 20 |ias\fR d|atabase |
|00004ee0| 74 6f 20 67 65 6e 65 72 | 61 74 65 20 55 55 43 50 |to gener|ate UUCP|
|00004ef0| 20 72 6f 75 74 69 6e 67 | 0a 70 61 74 68 73 20 66 | routing|.paths f|
|00004f00| 72 6f 6d 20 79 6f 75 72 | 20 6c 6f 63 61 6c 20 73 |rom your| local s|
|00004f10| 69 74 65 20 74 6f 20 73 | 70 65 63 69 66 69 65 64 |ite to s|pecified|
|00004f20| 20 72 65 6d 6f 74 65 20 | 73 69 74 65 73 20 6f 6e | remote |sites on|
|00004f30| 20 65 69 74 68 65 72 20 | 74 68 65 20 55 55 43 50 | either |the UUCP|
|00004f40| 0a 6e 65 74 77 6f 72 6b | 20 6f 72 20 6f 74 68 65 |.network| or othe|
|00004f50| 72 20 63 6f 6e 6e 65 63 | 74 65 64 20 6e 65 74 77 |r connec|ted netw|
|00004f60| 6f 72 6b 73 2e 0a 58 2e | 50 50 0a 5c 66 42 6f 70 |orks..X.|PP.\fBop|
|00004f70| 61 74 68 5c 66 52 20 74 | 61 6b 65 73 20 6f 6e 65 |ath\fR t|akes one|
|00004f80| 20 61 72 67 75 6d 65 6e | 74 2c 20 61 6e 20 52 46 | argumen|t, an RF|
|00004f90| 43 38 32 32 20 61 64 64 | 72 65 73 73 2c 20 61 73 |C822 add|ress, as|
|00004fa0| 20 64 65 73 63 72 69 62 | 65 64 20 69 6e 0a 41 44 | describ|ed in.AD|
|00004fb0| 44 52 45 53 53 28 31 29 | 2e 20 20 46 72 6f 6d 20 |DRESS(1)|. From |
|00004fc0| 74 68 69 73 2c 20 69 74 | 20 67 65 6e 65 72 61 74 |this, it| generat|
|00004fd0| 65 73 20 61 6e 64 20 72 | 65 74 75 72 6e 73 20 61 |es and r|eturns a|
|00004fe0| 20 55 55 43 50 20 70 61 | 74 68 20 74 6f 20 74 68 | UUCP pa|th to th|
|00004ff0| 65 20 73 69 74 65 0a 6e | 61 6d 65 64 20 69 6e 20 |e site.n|amed in |
|00005000| 74 68 65 20 61 72 67 75 | 6d 65 6e 74 2e 0a 58 2e |the argu|ment..X.|
|00005010| 50 50 0a 5c 66 42 6f 75 | 70 61 74 68 5c 66 52 20 |PP.\fBou|path\fR |
|00005020| 74 61 6b 65 73 20 6f 6e | 65 20 61 72 67 75 6d 65 |takes on|e argume|
|00005030| 6e 74 2c 20 61 20 55 55 | 43 50 20 70 61 74 68 2e |nt, a UU|CP path.|
|00005040| 20 20 49 66 20 74 68 65 | 20 6e 65 78 74 20 73 69 | If the| next si|
|00005050| 74 65 20 6f 6e 20 74 68 | 69 73 0a 70 61 74 68 20 |te on th|is.path |
|00005060| 69 73 20 6e 61 6d 65 64 | 20 5c 66 49 78 5c 66 52 |is named| \fIx\fR|
|00005070| 2c 20 5c 66 42 6f 75 70 | 61 74 68 5c 66 52 20 77 |, \fBoup|ath\fR w|
|00005080| 69 6c 6c 20 70 72 65 70 | 65 6e 64 20 61 20 70 61 |ill prep|end a pa|
|00005090| 74 68 20 66 72 6f 6d 20 | 79 6f 75 72 20 73 69 74 |th from |your sit|
|000050a0| 65 20 74 6f 0a 5c 66 49 | 78 5c 66 52 2c 20 69 66 |e to.\fI|x\fR, if|
|000050b0| 20 5c 66 49 78 5c 66 52 | 20 69 73 20 6e 6f 6e 61 | \fIx\fR| is nona|
|000050c0| 64 6a 61 63 65 6e 74 20 | 74 6f 20 79 6f 75 72 20 |djacent |to your |
|000050d0| 73 69 74 65 2e 20 20 49 | 66 20 5c 66 49 78 5c 66 |site. I|f \fIx\f|
|000050e0| 52 20 69 73 20 61 20 64 | 6f 6d 61 69 6e 2c 0a 69 |R is a d|omain,.i|
|000050f0| 2e 65 2e 20 63 6f 6e 74 | 61 69 6e 73 20 61 20 64 |.e. cont|ains a d|
|00005100| 6f 74 20 28 2e 29 2c 20 | 5c 66 42 6f 75 70 61 74 |ot (.), |\fBoupat|
|00005110| 68 5c 66 52 20 77 69 6c | 6c 20 67 65 6e 65 72 61 |h\fR wil|l genera|
|00005120| 74 65 20 61 20 70 61 74 | 68 20 74 6f 20 61 20 67 |te a pat|h to a g|
|00005130| 61 74 65 77 61 79 0a 66 | 6f 72 20 74 68 69 73 20 |ateway.f|or this |
|00005140| 64 6f 6d 61 69 6e 2e 20 | 20 4e 6f 74 65 20 74 68 |domain. | Note th|
|00005150| 61 74 20 5c 66 42 6f 75 | 70 61 74 68 5c 66 52 20 |at \fBou|path\fR |
|00005160| 77 69 6c 6c 20 5c 66 49 | 6e 6f 74 5c 66 52 20 61 |will \fI|not\fR a|
|00005170| 6c 74 65 72 20 74 68 65 | 20 61 72 67 75 6d 65 6e |lter the| argumen|
|00005180| 74 0a 70 61 74 68 2c 20 | 6f 74 68 65 72 20 74 68 |t.path, |other th|
|00005190| 61 6e 20 74 6f 20 6d 61 | 6b 65 20 74 68 65 20 61 |an to ma|ke the a|
|000051a0| 62 6f 76 65 20 74 72 61 | 6e 73 66 6f 72 6d 61 74 |bove tra|nsformat|
|000051b0| 69 6f 6e 73 3b 20 69 74 | 20 64 6f 65 73 20 6e 6f |ions; it| does no|
|000051c0| 74 20 63 68 65 63 6b 20 | 77 68 65 74 68 65 72 0a |t check |whether.|
|000051d0| 73 69 74 65 73 20 69 6e | 20 74 68 65 20 61 72 67 |sites in| the arg|
|000051e0| 75 6d 65 6e 74 20 61 72 | 65 20 61 64 6a 61 63 65 |ument ar|e adjace|
|000051f0| 6e 74 20 74 6f 20 6f 6e | 65 20 61 6e 6f 74 68 65 |nt to on|e anothe|
|00005200| 72 2c 20 6f 72 20 77 68 | 65 74 68 65 72 20 74 68 |r, or wh|ether th|
|00005210| 65 79 20 72 65 70 72 65 | 73 65 6e 74 0a 61 6e 20 |ey repre|sent.an |
|00005220| 6f 70 74 69 6d 61 6c 20 | 70 61 74 68 3b 20 69 74 |optimal |path; it|
|00005230| 20 69 73 20 61 73 73 75 | 6d 65 64 20 74 68 61 74 | is assu|med that|
|00005240| 20 69 66 20 74 68 65 20 | 75 73 65 72 20 68 61 73 | if the |user has|
|00005250| 20 73 70 65 63 69 66 69 | 65 64 20 61 20 70 61 74 | specifi|ed a pat|
|00005260| 68 2c 20 74 68 65 6e 0a | 68 65 20 77 61 6e 74 73 |h, then.|he wants|
|00005270| 20 74 6f 20 75 73 65 20 | 74 68 61 74 20 70 61 74 | to use |that pat|
|00005280| 68 2e 0a 58 2e 50 50 0a | 54 68 65 20 70 72 69 6e |h..X.PP.|The prin|
|00005290| 63 69 70 61 6c 20 64 69 | 66 66 65 72 65 6e 63 65 |cipal di|fference|
|000052a0| 20 62 65 74 77 65 65 6e | 20 5c 66 42 6f 70 61 74 | between| \fBopat|
|000052b0| 68 5c 66 52 20 61 6e 64 | 20 5c 66 42 6f 75 70 61 |h\fR and| \fBoupa|
|000052c0| 74 68 5c 66 52 20 69 73 | 20 74 68 61 74 20 74 68 |th\fR is| that th|
|000052d0| 65 0a 66 6f 72 6d 65 72 | 20 67 69 76 65 73 20 70 |e.former| gives p|
|000052e0| 72 65 63 65 64 65 6e 63 | 65 20 74 6f 20 60 60 40 |recedenc|e to ``@|
|000052f0| 27 27 2c 20 77 68 65 72 | 65 61 73 20 74 68 65 20 |'', wher|eas the |
|00005300| 6c 61 74 74 65 72 20 67 | 69 76 65 73 20 70 72 65 |latter g|ives pre|
|00005310| 63 65 64 65 6e 63 65 0a | 74 6f 20 60 60 21 27 27 |cedence.|to ``!''|
|00005320| 2e 20 20 54 68 65 20 66 | 6f 72 6d 65 72 20 69 73 |. The f|ormer is|
|00005330| 20 69 6e 74 65 6e 64 65 | 64 20 74 6f 20 62 65 20 | intende|d to be |
|00005340| 69 6e 76 6f 6b 65 64 20 | 77 68 65 6e 20 72 65 63 |invoked |when rec|
|00005350| 65 69 76 69 6e 67 20 6d | 61 69 6c 20 66 72 6f 6d |eiving m|ail from|
|00005360| 0a 61 20 75 73 65 72 20 | 69 6e 74 65 72 66 61 63 |.a user |interfac|
|00005370| 65 20 6f 72 20 61 20 6e | 6f 6e 2d 55 55 43 50 20 |e or a n|on-UUCP |
|00005380| 73 6f 75 72 63 65 20 28 | 69 66 20 74 68 65 20 73 |source (|if the s|
|00005390| 75 62 73 65 71 75 65 6e | 74 20 74 72 61 6e 73 70 |ubsequen|t transp|
|000053a0| 6f 72 74 20 6d 65 63 68 | 61 6e 69 73 6d 0a 69 73 |ort mech|anism.is|
|000053b0| 20 74 6f 20 62 65 20 55 | 55 43 50 29 2c 20 77 68 | to be U|UCP), wh|
|000053c0| 65 72 65 61 73 20 74 68 | 65 20 6c 61 74 74 65 72 |ereas th|e latter|
|000053d0| 20 69 73 20 69 6e 74 65 | 6e 64 65 64 20 73 6f 6c | is inte|nded sol|
|000053e0| 65 6c 79 20 74 6f 20 62 | 65 20 75 73 65 64 20 62 |ely to b|e used b|
|000053f0| 79 20 55 55 43 50 0a 69 | 6e 74 65 72 6e 61 6c 20 |y UUCP.i|nternal |
|00005400| 73 6f 66 74 77 61 72 65 | 2c 20 70 72 69 6e 63 69 |software|, princi|
|00005410| 70 61 6c 6c 79 20 5c 66 | 42 72 6d 61 69 6c 5c 66 |pally \f|Brmail\f|
|00005420| 52 2c 20 69 6e 20 72 6f | 75 74 69 6e 67 20 6d 61 |R, in ro|uting ma|
|00005430| 69 6c 20 74 68 72 6f 75 | 67 68 20 74 68 65 0a 55 |il throu|gh the.U|
|00005440| 55 43 50 20 6e 65 74 77 | 6f 72 6b 2e 0a 58 2e 53 |UCP netw|ork..X.S|
|00005450| 48 20 22 46 49 4c 45 53 | 22 0a 5c 66 49 2f 75 73 |H "FILES|".\fI/us|
|00005460| 72 2f 6c 69 62 2f 75 75 | 63 70 2f 61 72 63 68 69 |r/lib/uu|cp/archi|
|00005470| 76 65 5c 66 52 20 2d 20 | 54 68 65 20 70 61 74 68 |ve\fR - |The path|
|00005480| 61 6c 69 61 73 20 64 61 | 74 61 62 61 73 65 2c 20 |alias da|tabase, |
|00005490| 69 6e 20 44 42 4d 28 33 | 29 20 66 6f 72 6d 61 74 |in DBM(3|) format|
|000054a0| 2e 0a 58 53 65 65 20 50 | 41 54 48 41 4c 49 41 53 |..XSee P|ATHALIAS|
|000054b0| 28 31 29 20 66 6f 72 20 | 69 6e 66 6f 72 6d 61 74 |(1) for |informat|
|000054c0| 69 6f 6e 3b 20 70 61 74 | 68 61 6c 69 61 73 20 69 |ion; pat|halias i|
|000054d0| 73 20 61 20 70 75 62 6c | 69 63 2d 64 6f 6d 61 69 |s a publ|ic-domai|
|000054e0| 6e 20 70 72 6f 67 72 61 | 6d 0a 64 69 73 74 72 69 |n progra|m.distri|
|000054f0| 62 75 74 65 64 20 76 69 | 61 20 74 68 65 20 55 73 |buted vi|a the Us|
|00005500| 65 6e 65 74 27 73 20 6e | 65 74 2e 73 6f 75 72 63 |enet's n|et.sourc|
|00005510| 65 73 20 66 61 63 69 6c | 69 74 79 2e 0a 58 2e 62 |es facil|ity..X.b|
|00005520| 72 0a 58 2e 73 70 20 31 | 0a 5c 66 49 2f 75 73 72 |r.X.sp 1|.\fI/usr|
|00005530| 2f 6c 69 62 2f 75 75 63 | 70 2f 64 6f 6d 61 69 6e |/lib/uuc|p/domain|
|00005540| 73 5c 66 52 20 2d 20 54 | 68 65 20 64 6f 6d 61 69 |s\fR - T|he domai|
|00005550| 6e 2f 67 61 74 65 77 61 | 79 20 74 61 62 6c 65 2e |n/gatewa|y table.|
|00005560| 20 20 45 61 63 68 20 6c | 69 6e 65 20 6f 66 20 74 | Each l|ine of t|
|00005570| 68 69 73 0a 66 69 6c 65 | 20 63 6f 6e 73 69 73 74 |his.file| consist|
|00005580| 73 20 6f 66 20 65 69 74 | 68 65 72 20 61 20 60 60 |s of eit|her a ``|
|00005590| 23 27 27 20 66 6f 6c 6c | 6f 77 65 64 20 62 79 20 |#'' foll|owed by |
|000055a0| 61 72 62 69 74 72 61 72 | 79 20 63 6f 6d 6d 65 6e |arbitrar|y commen|
|000055b0| 74 20 74 65 78 74 2c 20 | 6f 72 0a 61 6e 20 65 6e |t text, |or.an en|
|000055c0| 74 72 79 20 6f 66 20 74 | 68 65 20 66 6f 72 6d 3a |try of t|he form:|
|000055d0| 0a 58 2e 62 72 0a 58 2e | 69 6e 20 31 69 0a 3c 64 |.X.br.X.|in 1i.<d|
|000055e0| 6f 6d 61 69 6e 3e 2c 3c | 70 61 74 68 3e 2c 3c 72 |omain>,<|path>,<r|
|000055f0| 65 73 65 72 76 65 64 3e | 2c 3c 74 65 6d 70 6c 61 |eserved>|,<templa|
|00005600| 74 65 3e 0a 58 2e 62 72 | 0a 58 2e 69 6e 0a 57 68 |te>.X.br|.X.in.Wh|
|00005610| 65 72 65 20 3c 64 6f 6d | 61 69 6e 3e 20 69 73 20 |ere <dom|ain> is |
|00005620| 74 68 65 20 73 74 72 69 | 6e 67 20 28 69 6e 20 63 |the stri|ng (in c|
|00005630| 61 70 69 74 61 6c 20 6c | 65 74 74 65 72 73 29 20 |apital l|etters) |
|00005640| 69 64 65 6e 74 69 66 79 | 69 6e 67 20 61 20 70 61 |identify|ing a pa|
|00005650| 72 74 69 63 75 6c 61 72 | 0a 3c 70 61 74 68 3e 20 |rticular|.<path> |
|00005660| 69 73 20 61 20 73 74 72 | 69 6e 67 20 77 68 69 63 |is a str|ing whic|
|00005670| 68 20 6d 61 79 20 62 65 | 20 69 6e 63 6c 75 64 65 |h may be| include|
|00005680| 64 20 61 74 20 61 6e 20 | 61 72 62 69 74 72 61 72 |d at an |arbitrar|
|00005690| 79 20 70 6f 69 6e 74 20 | 69 6e 20 74 68 65 0a 67 |y point |in the.g|
|000056a0| 65 6e 65 72 61 74 65 64 | 20 72 6f 75 74 65 2c 20 |enerated| route, |
|000056b0| 3c 72 65 73 65 72 76 65 | 64 3e 20 69 73 20 63 75 |<reserve|d> is cu|
|000056c0| 72 72 65 6e 74 6c 79 20 | 75 6e 75 73 65 64 2c 20 |rrently |unused, |
|000056d0| 61 6e 64 20 3c 74 65 6d | 70 6c 61 74 65 3e 20 69 |and <tem|plate> i|
|000056e0| 73 20 61 20 73 74 72 69 | 6e 67 0a 69 6e 64 69 63 |s a stri|ng.indic|
|000056f0| 61 74 69 6e 67 20 74 68 | 65 20 66 6f 72 6d 61 74 |ating th|e format|
|00005700| 20 6f 66 20 74 68 65 20 | 67 65 6e 65 72 61 74 65 | of the |generate|
|00005710| 64 20 72 6f 75 74 65 2e | 0a 58 2e 50 50 0a 54 68 |d route.|.X.PP.Th|
|00005720| 65 20 3c 74 65 6d 70 6c | 61 74 65 3e 20 69 73 20 |e <templ|ate> is |
|00005730| 61 20 70 72 69 6e 74 66 | 2d 73 74 79 6c 65 20 73 |a printf|-style s|
|00005740| 74 72 69 6e 67 3b 20 69 | 74 20 69 73 20 5c 66 42 |tring; i|t is \fB|
|00005750| 6e 6f 74 5c 66 52 20 71 | 75 6f 74 65 64 2c 20 61 |not\fR q|uoted, a|
|00005760| 6e 64 0a 62 65 67 69 6e | 73 20 61 74 20 74 68 65 |nd.begin|s at the|
|00005770| 20 63 68 61 72 61 63 74 | 65 72 20 69 6d 6d 65 64 | charact|er immed|
|00005780| 69 61 74 65 6c 79 20 66 | 6f 6c 6c 6f 77 69 6e 67 |iately f|ollowing|
|00005790| 20 74 68 65 20 63 6f 6d | 6d 61 20 77 68 69 63 68 | the com|ma which|
|000057a0| 20 73 65 70 61 72 61 74 | 65 73 0a 3c 74 65 6d 70 | separat|es.<temp|
|000057b0| 6c 61 74 65 3e 20 66 72 | 6f 6d 20 3c 72 65 73 65 |late> fr|om <rese|
|000057c0| 72 76 65 64 3e 2e 20 20 | 54 68 65 20 3c 74 65 6d |rved>. |The <tem|
|000057d0| 70 6c 61 74 65 3e 20 6d | 61 79 20 63 6f 6e 73 69 |plate> m|ay consi|
|000057e0| 73 74 20 6f 66 20 61 72 | 62 69 74 72 61 72 79 20 |st of ar|bitrary |
|000057f0| 41 53 43 49 49 0a 63 68 | 61 72 61 63 74 65 72 73 |ASCII.ch|aracters|
|00005800| 2c 20 77 68 69 63 68 20 | 61 72 65 20 63 6f 70 69 |, which |are copi|
|00005810| 65 64 20 75 6e 63 68 61 | 6e 67 65 64 20 69 6e 74 |ed uncha|nged int|
|00005820| 6f 20 74 68 65 20 67 65 | 6e 65 72 61 74 65 64 20 |o the ge|nerated |
|00005830| 72 6f 75 74 65 3b 20 6f | 72 20 6f 66 0a 61 20 70 |route; o|r of.a p|
|00005840| 65 72 63 65 6e 74 20 28 | 25 29 20 73 69 67 6e 20 |ercent (|%) sign |
|00005850| 66 6f 6c 6c 6f 77 65 64 | 20 62 79 20 6f 6e 65 20 |followed| by one |
|00005860| 6f 66 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |of the f|ollowing|
|00005870| 20 63 68 61 72 61 63 74 | 65 72 73 3a 0a 58 2e 49 | charact|ers:.X.I|
|00005880| 50 20 50 0a 54 68 65 20 | 3c 70 61 74 68 3e 20 73 |P P.The |<path> s|
|00005890| 74 72 69 6e 67 20 69 73 | 20 69 6e 73 65 72 74 65 |tring is| inserte|
|000058a0| 64 2e 20 20 54 68 65 20 | 3c 70 61 74 68 3e 20 6d |d. The |<path> m|
|000058b0| 61 79 20 63 6f 6e 73 69 | 73 74 20 65 69 74 68 65 |ay consi|st eithe|
|000058c0| 72 20 6f 66 20 61 20 73 | 74 72 69 6e 67 0a 77 68 |r of a s|tring.wh|
|000058d0| 69 63 68 20 69 73 20 69 | 6e 73 65 72 74 65 64 20 |ich is i|nserted |
|000058e0| 75 6e 63 68 61 6e 67 65 | 64 3b 20 6f 72 20 6f 66 |unchange|d; or of|
|000058f0| 20 74 68 65 20 63 68 61 | 72 61 63 74 65 72 20 60 | the cha|racter `|
|00005900| 60 3e 27 27 20 66 6f 6c | 6c 6f 77 65 64 20 62 79 |`>'' fol|lowed by|
|00005910| 20 74 68 65 0a 6e 61 6d | 65 20 6f 66 20 61 20 55 | the.nam|e of a U|
|00005920| 55 43 50 20 73 69 74 65 | 2c 20 69 6e 20 77 68 69 |UCP site|, in whi|
|00005930| 63 68 20 63 61 73 65 20 | 74 68 65 20 65 6e 74 69 |ch case |the enti|
|00005940| 72 65 20 3c 70 61 74 68 | 3e 20 73 74 72 69 6e 67 |re <path|> string|
|00005950| 20 69 73 20 72 65 70 6c | 61 63 65 64 0a 77 69 74 | is repl|aced.wit|
|00005960| 68 20 61 20 73 74 72 69 | 6e 67 20 72 65 70 72 65 |h a stri|ng repre|
|00005970| 73 65 6e 74 69 6e 67 20 | 74 68 65 20 70 61 74 68 |senting |the path|
|00005980| 20 74 6f 20 74 68 65 20 | 6e 61 6d 65 64 20 73 69 | to the |named si|
|00005990| 74 65 2e 20 20 54 68 65 | 20 6c 61 73 74 20 74 6f |te. The| last to|
|000059a0| 6b 65 6e 20 6f 6e 0a 74 | 68 69 73 20 73 74 72 69 |ken on.t|his stri|
|000059b0| 6e 67 20 69 73 20 74 68 | 65 20 73 69 74 65 20 6e |ng is th|e site n|
|000059c0| 61 6d 65 64 20 69 6e 20 | 74 68 65 20 6f 72 69 67 |amed in |the orig|
|000059d0| 69 6e 61 6c 20 3c 70 61 | 74 68 3e 20 73 74 72 69 |inal <pa|th> stri|
|000059e0| 6e 67 2c 20 77 69 74 68 | 6f 75 74 20 61 0a 66 6f |ng, with|out a.fo|
|000059f0| 6c 6c 6f 77 69 6e 67 20 | 60 60 21 27 27 2e 0a 58 |llowing |``!''..X|
|00005a00| 2e 49 50 20 55 0a 54 68 | 65 20 75 73 65 72 20 6e |.IP U.Th|e user n|
|00005a10| 61 6d 65 20 66 72 6f 6d | 20 74 68 65 20 6f 72 69 |ame from| the ori|
|00005a20| 67 69 6e 61 6c 20 61 64 | 64 72 65 73 73 20 69 73 |ginal ad|dress is|
|00005a30| 20 69 6e 73 65 72 74 65 | 64 2e 0a 58 2e 49 50 20 | inserte|d..X.IP |
|00005a40| 4e 0a 54 68 65 20 73 69 | 74 65 20 6e 61 6d 65 20 |N.The si|te name |
|00005a50| 66 72 6f 6d 20 74 68 65 | 20 6f 72 69 67 69 6e 61 |from the| origina|
|00005a60| 6c 20 61 64 64 72 65 73 | 73 2c 20 77 69 74 68 20 |l addres|s, with |
|00005a70| 74 68 65 20 64 6f 6d 61 | 69 6e 20 73 70 65 63 69 |the doma|in speci|
|00005a80| 66 69 65 72 73 0a 72 65 | 6d 6f 76 65 64 2c 20 69 |fiers.re|moved, i|
|00005a90| 73 20 69 6e 73 65 72 74 | 65 64 2e 0a 58 2e 49 50 |s insert|ed..X.IP|
|00005aa0| 20 44 0a 54 68 65 20 73 | 69 74 65 20 6e 61 6d 65 | D.The s|ite name|
|00005ab0| 20 66 72 6f 6d 20 74 68 | 65 20 6f 72 69 67 69 6e | from th|e origin|
|00005ac0| 61 6c 20 61 64 64 72 65 | 73 73 2c 20 69 6e 63 6c |al addre|ss, incl|
|00005ad0| 75 64 69 6e 67 20 74 68 | 65 20 64 6f 6d 61 69 6e |uding th|e domain|
|00005ae0| 20 73 70 65 63 69 66 69 | 65 72 73 2c 0a 69 73 20 | specifi|ers,.is |
|00005af0| 69 6e 73 65 72 74 65 64 | 2e 0a 58 2e 49 50 20 52 |inserted|..X.IP R|
|00005b00| 0a 54 68 65 20 55 55 43 | 50 20 70 61 74 68 20 74 |.The UUC|P path t|
|00005b10| 6f 20 74 68 65 20 73 69 | 74 65 20 6e 61 6d 65 64 |o the si|te named|
|00005b20| 20 69 6e 20 74 68 65 20 | 6f 72 69 67 69 6e 61 6c | in the |original|
|00005b30| 20 61 64 64 72 65 73 73 | 20 69 73 20 6c 6f 6f 6b | address| is look|
|00005b40| 65 64 20 75 70 20 69 6e | 0a 74 68 65 20 70 61 74 |ed up in|.the pat|
|00005b50| 68 61 6c 69 61 73 20 64 | 61 74 61 62 61 73 65 20 |halias d|atabase |
|00005b60| 61 6e 64 20 69 6e 73 65 | 72 74 65 64 2e 20 20 4e |and inse|rted. N|
|00005b70| 6f 74 65 20 74 68 61 74 | 20 74 68 69 73 20 70 61 |ote that| this pa|
|00005b80| 74 68 20 69 73 20 6c 6f | 6f 6b 65 64 20 75 70 0a |th is lo|oked up.|
|00005b90| 6f 6e 6c 79 20 77 68 65 | 6e 20 74 68 65 20 25 52 |only whe|n the %R|
|00005ba0| 20 69 73 20 73 65 65 6e | 20 77 68 69 6c 65 20 73 | is seen| while s|
|00005bb0| 63 61 6e 6e 69 6e 67 20 | 74 68 65 20 3c 74 65 6d |canning |the <tem|
|00005bc0| 70 6c 61 74 65 3e 2c 20 | 73 6f 20 61 6e 20 65 72 |plate>, |so an er|
|00005bd0| 72 6f 72 20 6d 65 73 73 | 61 67 65 0a 66 6f 72 20 |ror mess|age.for |
|00005be0| 61 6e 20 69 6e 76 61 6c | 69 64 20 73 69 74 65 20 |an inval|id site |
|00005bf0| 6e 61 6d 65 20 69 73 20 | 67 65 6e 65 72 61 74 65 |name is |generate|
|00005c00| 64 20 69 66 20 61 6e 64 | 20 6f 6e 6c 79 20 69 66 |d if and| only if|
|00005c10| 20 69 74 20 61 70 70 65 | 61 72 73 20 69 6e 20 61 | it appe|ars in a|
|00005c20| 6e 0a 61 64 64 72 65 73 | 73 20 77 69 74 68 20 61 |n.addres|s with a|
|00005c30| 20 64 6f 6d 61 69 6e 20 | 77 68 69 63 68 20 63 6f | domain |which co|
|00005c40| 6e 74 61 69 6e 73 20 61 | 20 25 52 20 69 6e 20 69 |ntains a| %R in i|
|00005c50| 74 73 20 74 65 6d 70 6c | 61 74 65 2e 0a 58 2e 50 |ts templ|ate..X.P|
|00005c60| 50 0a 57 68 65 6e 20 6d | 61 6b 69 6e 67 20 65 6e |P.When m|aking en|
|00005c70| 74 72 69 65 73 20 69 6e | 20 74 68 65 20 64 6f 6d |tries in| the dom|
|00005c80| 61 69 6e 20 74 61 62 6c | 65 2c 20 64 6f 6d 61 69 |ain tabl|e, domai|
|00005c90| 6e 20 6e 61 6d 65 73 20 | 77 68 69 63 68 20 61 72 |n names |which ar|
|00005ca0| 65 20 61 20 73 75 66 66 | 69 78 20 6f 66 0a 61 6e |e a suff|ix of.an|
|00005cb0| 6f 74 68 65 72 20 64 6f | 6d 61 69 6e 20 6e 61 6d |other do|main nam|
|00005cc0| 65 20 69 6e 20 74 68 65 | 20 74 61 62 6c 65 20 73 |e in the| table s|
|00005cd0| 68 6f 75 6c 64 20 62 65 | 20 6f 72 64 65 72 65 64 |hould be| ordered|
|00005ce0| 20 73 75 63 68 20 74 68 | 61 74 20 74 68 65 20 6c | such th|at the l|
|00005cf0| 6f 6e 67 65 72 0a 73 74 | 72 69 6e 67 28 73 29 20 |onger.st|ring(s) |
|00005d00| 61 70 70 65 61 72 20 66 | 69 72 73 74 2e 20 20 46 |appear f|irst. F|
|00005d10| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 2e 57 41 2e |or examp|le, .WA.|
|00005d20| 55 55 43 50 20 73 68 6f | 75 6c 64 20 70 72 65 63 |UUCP sho|uld prec|
|00005d30| 65 65 64 20 2e 55 55 43 | 50 20 69 6e 0a 74 68 65 |eed .UUC|P in.the|
|00005d40| 20 74 61 62 6c 65 2e 20 | 20 41 20 6c 69 6e 65 61 | table. | A linea|
|00005d50| 72 20 73 65 61 72 63 68 | 20 69 73 20 6d 61 64 65 |r search| is made|
|00005d60| 20 6f 66 20 74 68 65 20 | 74 61 62 6c 65 2c 20 61 | of the |table, a|
|00005d70| 6e 64 20 74 68 65 20 66 | 69 72 73 74 20 64 6f 6d |nd the f|irst dom|
|00005d80| 61 69 6e 0a 66 6f 75 6e | 64 20 69 6e 20 74 68 65 |ain.foun|d in the|
|00005d90| 20 74 61 62 6c 65 20 77 | 68 69 63 68 20 69 73 20 | table w|hich is |
|00005da0| 61 20 73 75 66 66 69 78 | 20 6f 66 20 74 68 65 20 |a suffix| of the |
|00005db0| 64 6f 6d 61 69 6e 20 69 | 6e 20 74 68 65 20 64 65 |domain i|n the de|
|00005dc0| 73 69 67 6e 61 74 65 64 | 20 61 64 64 72 65 73 73 |signated| address|
|00005dd0| 0a 69 73 20 75 73 65 64 | 20 61 73 20 74 68 65 20 |.is used| as the |
|00005de0| 64 6f 6d 61 69 6e 20 69 | 6e 20 67 65 6e 65 72 61 |domain i|n genera|
|00005df0| 74 69 6e 67 20 74 68 65 | 20 72 6f 75 74 69 6e 67 |ting the| routing|
|00005e00| 2e 0a 58 2e 50 50 0a 58 | 46 6f 6c 6c 6f 77 69 6e |..X.PP.X|Followin|
|00005e10| 67 20 61 72 65 20 73 6f | 6d 65 20 65 78 61 6d 70 |g are so|me examp|
|00005e20| 6c 65 20 65 6e 74 72 69 | 65 73 20 66 6f 72 20 74 |le entri|es for t|
|00005e30| 68 65 20 64 6f 6d 61 69 | 6e 20 74 61 62 6c 65 2e |he domai|n table.|
|00005e40| 20 20 4e 6f 74 65 20 74 | 68 61 74 20 61 6c 6c 0a | Note t|hat all.|
|00005e50| 64 6f 6d 61 69 6e 20 6e | 61 6d 65 73 20 62 65 67 |domain n|ames beg|
|00005e60| 69 6e 20 77 69 74 68 20 | 61 20 60 60 2e 27 27 2e |in with |a ``.''.|
|00005e70| 0a 58 2e 73 70 20 31 0a | 58 2e 6e 66 0a 58 2e 69 |.X.sp 1.|X.nf.X.i|
|00005e80| 6e 20 31 69 0a 23 20 54 | 68 69 73 20 69 73 20 61 |n 1i.# T|his is a|
|00005e90| 20 63 6f 6d 6d 65 6e 74 | 0a 5c 26 2e 48 50 2e 55 | comment|.\&.HP.U|
|00005ea0| 55 43 50 2c 2c 2c 25 52 | 21 25 55 0a 5c 26 2e 55 |UCP,,,%R|!%U.\&.U|
|00005eb0| 55 43 50 2c 2c 2c 25 52 | 21 25 55 0a 5c 26 2e 43 |UCP,,,%R|!%U.\&.C|
|00005ec0| 53 4e 45 54 2c 3e 64 65 | 63 77 72 6c 2c 2c 25 50 |SNET,>de|cwrl,,%P|
|00005ed0| 21 25 55 25 25 25 53 40 | 43 53 4e 45 54 2d 52 45 |!%U%%%S@|CSNET-RE|
|00005ee0| 4c 41 59 2e 41 52 50 41 | 0a 5c 26 2e 45 44 55 2c |LAY.ARPA|.\&.EDU,|
|00005ef0| 3e 75 63 62 76 61 78 2c | 2c 25 50 21 25 44 0a 58 |>ucbvax,|,%P!%D.X|
|00005f00| 2e 69 6e 0a 58 2e 66 69 | 0a 58 2e 73 70 20 31 0a |.in.X.fi|.X.sp 1.|
|00005f10| 58 2e 53 48 20 22 53 45 | 45 20 41 4c 53 4f 22 0a |X.SH "SE|E ALSO".|
|00005f20| 50 41 54 48 41 4c 49 41 | 53 28 31 29 2c 20 41 44 |PATHALIA|S(1), AD|
|00005f30| 44 52 45 53 53 28 31 29 | 2c 20 52 4d 41 49 4c 28 |DRESS(1)|, RMAIL(|
|00005f40| 31 29 0a 58 2e 53 48 20 | 22 41 55 54 48 4f 52 22 |1).X.SH |"AUTHOR"|
|00005f50| 0a 45 72 69 63 20 52 6f | 73 6b 6f 73 2c 20 50 65 |.Eric Ro|skos, Pe|
|00005f60| 72 6b 69 6e 2d 45 6c 6d | 65 72 20 43 6f 72 70 2e |rkin-Elm|er Corp.|
|00005f70| 20 53 44 43 2e 0a 58 2e | 53 48 20 22 4e 4f 54 45 | SDC..X.|SH "NOTE|
|00005f80| 22 0a 54 68 65 20 3c 72 | 65 73 65 72 76 65 64 3e |".The <r|eserved>|
|00005f90| 20 66 69 65 6c 64 20 69 | 6e 20 74 68 65 20 64 6f | field i|n the do|
|00005fa0| 6d 61 69 6e 20 74 61 62 | 6c 65 20 63 75 72 72 65 |main tab|le curre|
|00005fb0| 6e 74 6c 79 20 68 61 73 | 20 61 20 66 75 6e 63 74 |ntly has| a funct|
|00005fc0| 69 6f 6e 20 77 68 69 63 | 68 0a 6d 61 79 20 62 65 |ion whic|h.may be|
|00005fd0| 20 64 65 74 65 72 6d 69 | 6e 65 64 20 62 79 20 65 | determi|ned by e|
|00005fe0| 78 61 6d 69 6e 69 6e 67 | 20 74 68 65 20 73 6f 75 |xamining| the sou|
|00005ff0| 72 63 65 20 63 6f 64 65 | 20 66 6f 72 20 6f 70 61 |rce code| for opa|
|00006000| 74 68 2e 20 20 48 6f 77 | 65 76 65 72 2c 20 74 68 |th. How|ever, th|
|00006010| 69 73 0a 66 75 6e 63 74 | 69 6f 6e 20 69 73 20 61 |is.funct|ion is a|
|00006020| 20 76 65 73 74 69 67 61 | 6c 20 66 75 6e 63 74 69 | vestiga|l functi|
|00006030| 6f 6e 20 70 72 6f 76 69 | 64 65 64 20 66 6f 72 20 |on provi|ded for |
|00006040| 73 69 74 65 73 20 74 68 | 61 74 20 75 73 65 64 20 |sites th|at used |
|00006050| 61 6e 20 65 61 72 6c 69 | 65 72 0a 76 65 72 73 69 |an earli|er.versi|
|00006060| 6f 6e 20 6f 66 20 6f 70 | 61 74 68 3b 20 66 75 74 |on of op|ath; fut|
|00006070| 75 72 65 20 6f 70 61 74 | 68 20 76 65 72 73 69 6f |ure opat|h versio|
|00006080| 6e 73 20 77 69 6c 6c 20 | 75 73 65 20 74 68 69 73 |ns will |use this|
|00006090| 20 66 69 65 6c 64 20 66 | 6f 72 20 61 20 64 69 66 | field f|or a dif|
|000060a0| 66 65 72 65 6e 74 0a 70 | 75 72 70 6f 73 65 2c 20 |ferent.p|urpose, |
|000060b0| 61 6e 64 20 6e 65 77 20 | 75 73 65 72 73 20 6f 66 |and new |users of|
|000060c0| 20 6f 70 61 74 68 20 74 | 68 65 72 65 66 6f 72 65 | opath t|herefore|
|000060d0| 20 73 68 6f 75 6c 64 20 | 5c 66 42 6e 6f 74 5c 66 | should |\fBnot\f|
|000060e0| 52 20 75 73 65 20 74 68 | 69 73 20 66 69 65 6c 64 |R use th|is field|
|000060f0| 2e 0a 53 48 41 52 5f 45 | 4f 46 0a 69 66 20 74 65 |..SHAR_E|OF.if te|
|00006100| 73 74 20 34 38 39 36 20 | 2d 6e 65 20 22 60 77 63 |st 4896 |-ne "`wc|
|00006110| 20 2d 63 20 3c 20 27 6f | 70 61 74 68 2e 33 27 60 | -c < 'o|path.3'`|
|00006120| 22 0a 74 68 65 6e 0a 09 | 65 63 68 6f 20 73 68 61 |".then..|echo sha|
|00006130| 72 3a 20 65 72 72 6f 72 | 20 74 72 61 6e 73 6d 69 |r: error| transmi|
|00006140| 74 74 69 6e 67 20 22 27 | 6f 70 61 74 68 2e 33 27 |tting "'|opath.3'|
|00006150| 22 20 27 28 73 68 6f 75 | 6c 64 20 68 61 76 65 20 |" '(shou|ld have |
|00006160| 62 65 65 6e 20 34 38 39 | 36 20 63 68 61 72 61 63 |been 489|6 charac|
|00006170| 74 65 72 73 29 27 0a 66 | 69 0a 66 69 20 23 20 65 |ters)'.f|i.fi # e|
|00006180| 6e 64 20 6f 66 20 6f 76 | 65 72 77 72 69 74 69 6e |nd of ov|erwritin|
|00006190| 67 20 63 68 65 63 6b 0a | 65 63 68 6f 20 73 68 61 |g check.|echo sha|
|000061a0| 72 3a 20 65 78 74 72 61 | 63 74 69 6e 67 20 22 27 |r: extra|cting "'|
|000061b0| 6f 70 61 74 68 2e 63 27 | 22 20 27 28 35 37 35 33 |opath.c'|" '(5753|
|000061c0| 20 63 68 61 72 61 63 74 | 65 72 73 29 27 0a 69 66 | charact|ers)'.if|
|000061d0| 20 74 65 73 74 20 2d 66 | 20 27 6f 70 61 74 68 2e | test -f| 'opath.|
|000061e0| 63 27 0a 74 68 65 6e 0a | 09 65 63 68 6f 20 73 68 |c'.then.|.echo sh|
|000061f0| 61 72 3a 20 77 69 6c 6c | 20 6e 6f 74 20 6f 76 65 |ar: will| not ove|
|00006200| 72 2d 77 72 69 74 65 20 | 65 78 69 73 74 69 6e 67 |r-write |existing|
|00006210| 20 66 69 6c 65 20 22 27 | 6f 70 61 74 68 2e 63 27 | file "'|opath.c'|
|00006220| 22 0a 65 6c 73 65 0a 73 | 65 64 20 27 73 2f 5e 58 |".else.s|ed 's/^X|
|00006230| 2f 2f 27 20 3c 3c 20 5c | 53 48 41 52 5f 45 4f 46 |//' << \|SHAR_EOF|
|00006240| 20 3e 20 27 6f 70 61 74 | 68 2e 63 27 0a 2f 2a 0a | > 'opat|h.c'./*.|
|00006250| 20 2a 20 6f 70 61 74 68 | 2e 63 20 2d 20 67 65 74 | * opath|.c - get|
|00006260| 20 61 6e 20 6f 70 74 69 | 6d 61 6c 20 75 75 63 70 | an opti|mal uucp|
|00006270| 20 70 61 74 68 20 66 72 | 6f 6d 20 74 68 65 20 70 | path fr|om the p|
|00006280| 61 74 68 20 64 61 74 61 | 62 61 73 65 2c 20 75 73 |ath data|base, us|
|00006290| 69 6e 67 20 61 6e 0a 20 | 2a 20 52 46 43 38 38 32 |ing an. |* RFC882|
|000062a0| 2d 73 74 79 6c 65 20 61 | 64 64 72 65 73 73 20 61 |-style a|ddress a|
|000062b0| 73 20 69 6e 70 75 74 2e | 20 20 54 68 65 20 27 25 |s input.| The '%|
|000062c0| 27 20 63 68 61 72 61 63 | 74 65 72 20 69 73 20 70 |' charac|ter is p|
|000062d0| 72 6f 70 65 72 6c 79 20 | 74 72 61 6e 73 6c 61 74 |roperly |translat|
|000062e0| 65 64 2c 0a 20 2a 20 61 | 6e 64 20 67 61 74 65 77 |ed,. * a|nd gatew|
|000062f0| 61 79 2d 73 75 62 73 74 | 69 74 75 74 69 6f 6e 20 |ay-subst|itution |
|00006300| 69 73 20 64 6f 6e 65 20 | 74 6f 20 67 65 74 20 6d |is done |to get m|
|00006310| 61 69 6c 20 6f 6e 74 6f | 20 6f 74 68 65 72 20 6e |ail onto| other n|
|00006320| 65 74 77 6f 72 6b 73 2e | 0a 20 2a 0a 20 2a 0a 20 |etworks.|. *. *. |
|00006330| 2a 20 45 72 69 63 20 52 | 6f 73 6b 6f 73 2c 20 50 |* Eric R|oskos, P|
|00006340| 65 72 6b 69 6e 2d 45 6c | 6d 65 72 20 43 6f 72 70 |erkin-El|mer Corp|
|00006350| 2e 20 53 44 43 0a 20 2a | 20 56 65 72 73 69 6f 6e |. SDC. *| Version|
|00006360| 20 33 2e 32 20 63 72 65 | 61 74 65 64 20 38 35 2f | 3.2 cre|ated 85/|
|00006370| 30 39 2f 31 32 20 31 35 | 3a 32 31 3a 35 31 0a 20 |09/12 15|:21:51. |
|00006380| 2a 20 24 4c 6f 67 3a 09 | 6f 70 61 74 68 2e 63 2c |* $Log:.|opath.c,|
|00006390| 76 20 24 0a 20 2a 20 52 | 65 76 69 73 69 6f 6e 20 |v $. * R|evision |
|000063a0| 33 2e 37 20 20 38 35 2f | 31 31 2f 31 34 20 20 32 |3.7 85/|11/14 2|
|000063b0| 30 3a 32 32 3a 31 36 20 | 20 73 6f 62 0a 20 2a 20 |0:22:16 | sob. * |
|000063c0| 41 64 64 65 64 20 23 69 | 66 64 65 66 20 44 45 42 |Added #i|fdef DEB|
|000063d0| 55 47 20 74 6f 20 61 6c | 6c 6f 77 20 63 6f 6d 70 |UG to al|low comp|
|000063e0| 69 6c 69 61 74 69 6f 6e | 20 77 69 74 68 6f 75 74 |iliation| without|
|000063f0| 20 44 45 42 55 47 0a 20 | 2a 20 0a 20 2a 20 52 65 | DEBUG. |* . * Re|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.