home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
You can browse this item here: uumail2
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news or mail, ASCII text
| default
| |
100%
| TrID
| E-Mail message (Var. 2)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/rfc822
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 3a 20 53 74 | 61 6e 20 42 61 72 62 65 |From: St|an Barbe|
|00000010| 72 20 3c 67 65 6e 72 61 | 64 21 6e 65 75 72 6f 31 |r <genra|d!neuro1|
|00000020| 21 73 6f 62 3e 0a 53 75 | 62 6a 65 63 74 3a 20 75 |!sob>.Su|bject: u|
|00000030| 75 6d 61 69 6c 20 72 65 | 6c 65 61 73 65 20 32 0a |umail re|lease 2.|
|00000040| 52 65 70 6c 79 2d 54 6f | 3a 20 73 6f 62 40 6e 65 |Reply-To|: sob@ne|
|00000050| 75 72 6f 31 2e 55 55 43 | 50 20 28 53 74 61 6e 20 |uro1.UUC|P (Stan |
|00000060| 42 61 72 62 65 72 29 0a | 4e 65 77 73 67 72 6f 75 |Barber).|Newsgrou|
|00000070| 70 73 3a 20 6d 6f 64 2e | 73 6f 75 72 63 65 73 0a |ps: mod.|sources.|
|00000080| 41 70 70 72 6f 76 65 64 | 3a 20 6a 70 6e 40 70 61 |Approved|: jpn@pa|
|00000090| 6e 64 61 2e 55 55 43 50 | 0a 0a 4d 6f 64 2e 73 6f |nda.UUCP|..Mod.so|
|000000a0| 75 72 63 65 73 3a 20 20 | 56 6f 6c 75 6d 65 20 33 |urces: |Volume 3|
|000000b0| 2c 20 49 73 73 75 65 20 | 36 38 0a 53 75 62 6d 69 |, Issue |68.Submi|
|000000c0| 74 74 65 64 20 62 79 3a | 20 53 74 61 6e 20 42 61 |tted by:| Stan Ba|
|000000d0| 72 62 65 72 20 3c 67 65 | 6e 72 61 64 21 6e 65 75 |rber <ge|nrad!neu|
|000000e0| 72 6f 31 21 73 6f 62 3e | 0a 0a 0a 54 68 69 73 20 |ro1!sob>|...This |
|000000f0| 76 65 72 73 69 6f 6e 20 | 6f 66 20 75 75 6d 61 69 |version |of uumai|
|00000100| 6c 20 63 6f 6e 74 61 69 | 6e 73 20 61 6c 6c 20 74 |l contai|ns all t|
|00000110| 68 65 20 66 69 78 65 73 | 20 72 65 70 6f 72 74 65 |he fixes| reporte|
|00000120| 64 20 73 69 6e 63 65 0a | 74 68 65 20 6c 61 73 74 |d since.|the last|
|00000130| 20 72 65 6c 65 61 73 65 | 2e 20 54 68 61 6e 6b 73 | release|. Thanks|
|00000140| 20 74 6f 20 74 68 6f 73 | 65 20 74 68 61 74 20 72 | to thos|e that r|
|00000150| 65 70 6f 72 74 65 64 20 | 70 72 6f 62 6c 65 6d 73 |eported |problems|
|00000160| 20 61 6e 64 0a 65 73 70 | 65 63 69 61 6c 6c 79 20 | and.esp|ecially |
|00000170| 74 68 6f 73 65 20 74 68 | 61 74 20 73 65 6e 74 20 |those th|at sent |
|00000180| 61 6c 6f 6e 67 20 66 69 | 78 65 73 20 6f 72 20 69 |along fi|xes or i|
|00000190| 6d 70 72 6f 76 65 6d 65 | 6e 74 73 2e 0a 0a 54 68 |mproveme|nts...Th|
|000001a0| 69 73 20 76 65 72 73 69 | 6f 6e 20 61 6c 73 6f 20 |is versi|on also |
|000001b0| 63 6f 6e 74 61 69 6e 73 | 20 73 6f 6d 65 20 69 6d |contains| some im|
|000001c0| 70 72 6f 76 65 6d 65 6e | 74 73 20 74 68 61 74 20 |provemen|ts that |
|000001d0| 49 20 73 61 77 20 69 6e | 0a 74 68 65 20 47 41 54 |I saw in|.the GAT|
|000001e0| 65 63 68 20 53 65 6e 64 | 6d 61 69 6c 20 43 6f 6e |ech Send|mail Con|
|000001f0| 66 69 67 75 72 61 74 69 | 6f 6e 20 76 65 72 73 69 |figurati|on versi|
|00000200| 6f 6e 20 6f 66 20 75 75 | 6d 61 69 6c 20 74 6f 20 |on of uu|mail to |
|00000210| 68 65 6c 70 0a 75 75 6d | 61 69 6c 20 22 6b 6e 6f |help.uum|ail "kno|
|00000220| 77 22 20 77 68 65 6e 20 | 74 68 65 20 64 61 74 61 |w" when |the data|
|00000230| 62 61 73 65 20 69 73 20 | 62 65 69 6e 67 20 72 65 |base is |being re|
|00000240| 62 75 69 6c 74 2e 20 50 | 6c 65 61 73 65 20 0a 62 |built. P|lease .b|
|00000250| 65 20 73 75 72 65 20 74 | 6f 20 72 65 61 64 20 74 |e sure t|o read t|
|00000260| 68 65 20 52 45 41 44 4d | 45 20 3e 45 53 50 45 43 |he READM|E >ESPEC|
|00000270| 49 41 4c 4c 59 20 49 46 | 20 59 4f 55 20 52 55 4e |IALLY IF| YOU RUN|
|00000280| 20 41 20 0a 44 42 4d 2d | 66 6f 72 6d 61 74 65 64 | A .DBM-|formated|
|00000290| 20 64 61 74 61 62 61 73 | 65 3c 20 2e 2e 2e 2e 0a | databas|e< .....|
|000002a0| 0a 54 68 65 20 6e 65 78 | 74 20 76 65 72 73 69 6f |.The nex|t versio|
|000002b0| 6e 20 6f 66 20 75 75 6d | 61 69 6c 20 77 69 6c 6c |n of uum|ail will|
|000002c0| 20 63 6f 6e 74 61 69 6e | 20 73 6f 6d 65 20 6d 6f | contain| some mo|
|000002d0| 72 65 20 6f 70 74 69 6f | 6e 73 0a 74 6f 20 61 6c |re optio|ns.to al|
|000002e0| 6c 6f 77 20 68 65 61 64 | 65 72 20 6d 75 6e 67 69 |low head|er mungi|
|000002f0| 6e 67 20 61 6e 64 20 70 | 61 74 68 20 6f 70 74 69 |ng and p|ath opti|
|00000300| 6d 69 7a 61 74 69 6f 6e | 20 28 49 20 68 6f 70 65 |mization| (I hope|
|00000310| 29 2e 0a 49 66 20 79 6f | 75 20 61 6c 72 65 61 64 |)..If yo|u alread|
|00000320| 79 20 68 61 76 65 20 73 | 6f 6d 65 20 69 64 65 61 |y have s|ome idea|
|00000330| 73 20 6f 72 20 63 6f 64 | 65 20 74 68 61 74 20 79 |s or cod|e that y|
|00000340| 6f 75 27 64 20 6c 69 6b | 65 20 74 6f 0a 64 6f 6e |ou'd lik|e to.don|
|00000350| 61 74 65 20 74 6f 20 74 | 68 65 20 63 61 75 73 65 |ate to t|he cause|
|00000360| 2c 20 73 65 6e 64 20 69 | 74 20 61 6c 6f 6e 67 2e |, send i|t along.|
|00000370| 0a 0a 48 61 76 65 20 61 | 20 67 6f 6f 64 20 68 6f |..Have a| good ho|
|00000380| 6c 69 64 61 79 2c 20 6f | 72 20 69 66 20 74 68 69 |liday, o|r if thi|
|00000390| 73 20 63 6f 6d 65 73 20 | 6f 75 74 20 69 6e 20 31 |s comes |out in 1|
|000003a0| 39 38 36 2c 20 48 61 76 | 65 0a 61 20 67 6f 6f 64 |986, Hav|e.a good|
|000003b0| 20 79 65 61 72 2e 0a 0a | 23 21 20 2f 62 69 6e 2f | year...|#! /bin/|
|000003c0| 73 68 0a 23 20 54 68 69 | 73 20 69 73 20 61 20 73 |sh.# Thi|s is a s|
|000003d0| 68 65 6c 6c 20 61 72 63 | 68 69 76 65 2c 20 6d 65 |hell arc|hive, me|
|000003e0| 61 6e 69 6e 67 3a 0a 23 | 20 31 2e 20 52 65 6d 6f |aning:.#| 1. Remo|
|000003f0| 76 65 20 65 76 65 72 79 | 74 68 69 6e 67 20 61 62 |ve every|thing ab|
|00000400| 6f 76 65 20 74 68 65 20 | 23 21 20 2f 62 69 6e 2f |ove the |#! /bin/|
|00000410| 73 68 20 6c 69 6e 65 2e | 0a 23 20 32 2e 20 53 61 |sh line.|.# 2. Sa|
|00000420| 76 65 20 74 68 65 20 72 | 65 73 75 6c 74 69 6e 67 |ve the r|esulting|
|00000430| 20 74 65 78 74 20 69 6e | 20 61 20 66 69 6c 65 2e | text in| a file.|
|00000440| 0a 23 20 33 2e 20 45 78 | 65 63 75 74 65 20 74 68 |.# 3. Ex|ecute th|
|00000450| 65 20 66 69 6c 65 20 77 | 69 74 68 20 2f 62 69 6e |e file w|ith /bin|
|00000460| 2f 73 68 20 28 6e 6f 74 | 20 63 73 68 29 20 74 6f |/sh (not| csh) to|
|00000470| 20 63 72 65 61 74 65 20 | 74 68 65 20 66 69 6c 65 | create |the file|
|00000480| 73 3a 0a 23 09 52 45 41 | 44 4d 45 0a 23 09 6d 61 |s:.#.REA|DME.#.ma|
|00000490| 6b 65 66 69 6c 65 0a 23 | 09 64 6f 6d 61 69 6e 73 |kefile.#|.domains|
|000004a0| 0a 23 09 70 61 6c 69 61 | 73 0a 23 09 61 64 64 72 |.#.palia|s.#.addr|
|000004b0| 65 73 73 2e 31 0a 23 09 | 61 64 64 72 65 73 73 2e |ess.1.#.|address.|
|000004c0| 63 0a 23 09 67 65 74 68 | 6f 73 74 6e 61 6d 2e 63 |c.#.geth|ostnam.c|
|000004d0| 0a 23 09 67 65 74 70 61 | 74 68 2e 63 0a 23 09 6f |.#.getpa|th.c.#.o|
|000004e0| 70 61 74 68 2e 33 0a 23 | 09 6f 70 61 74 68 2e 63 |path.3.#|.opath.c|
|000004f0| 0a 23 09 72 6d 61 69 6c | 2e 63 0a 23 09 75 75 63 |.#.rmail|.c.#.uuc|
|00000500| 6f 6e 66 2e 68 0a 23 09 | 75 75 6d 61 69 6c 2e 31 |onf.h.#.|uumail.1|
|00000510| 0a 23 09 75 75 6d 61 69 | 6c 2e 63 0a 23 09 75 75 |.#.uumai|l.c.#.uu|
|00000520| 70 61 74 68 2e 31 0a 23 | 09 75 75 70 61 74 68 2e |path.1.#|.uupath.|
|00000530| 63 0a 23 20 54 68 69 73 | 20 61 72 63 68 69 76 65 |c.# This| archive|
|00000540| 20 63 72 65 61 74 65 64 | 3a 20 54 75 65 20 44 65 | created|: Tue De|
|00000550| 63 20 32 34 20 30 39 3a | 33 31 3a 31 38 20 31 39 |c 24 09:|31:18 19|
|00000560| 38 35 0a 65 78 70 6f 72 | 74 20 50 41 54 48 3b 20 |85.expor|t PATH; |
|00000570| 50 41 54 48 3d 2f 62 69 | 6e 3a 24 50 41 54 48 0a |PATH=/bi|n:$PATH.|
|00000580| 65 63 68 6f 20 73 68 61 | 72 3a 20 65 78 74 72 61 |echo sha|r: extra|
|00000590| 63 74 69 6e 67 20 22 27 | 52 45 41 44 4d 45 27 22 |cting "'|README'"|
|000005a0| 20 27 28 34 30 32 33 20 | 63 68 61 72 61 63 74 65 | '(4023 |characte|
|000005b0| 72 73 29 27 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |rs)'.if |test -f |
|000005c0| 27 52 45 41 44 4d 45 27 | 0a 74 68 65 6e 0a 09 65 |'README'|.then..e|
|000005d0| 63 68 6f 20 73 68 61 72 | 3a 20 77 69 6c 6c 20 6e |cho shar|: will n|
|000005e0| 6f 74 20 6f 76 65 72 2d | 77 72 69 74 65 20 65 78 |ot over-|write ex|
|000005f0| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 22 27 52 45 |isting f|ile "'RE|
|00000600| 41 44 4d 45 27 22 0a 65 | 6c 73 65 0a 63 61 74 20 |ADME'".e|lse.cat |
|00000610| 3c 3c 20 5c 53 48 41 52 | 5f 45 4f 46 20 3e 20 27 |<< \SHAR|_EOF > '|
|00000620| 52 45 41 44 4d 45 27 0a | 54 68 69 73 20 69 73 20 |README'.|This is |
|00000630| 61 6e 20 75 70 64 61 74 | 65 64 20 76 65 72 73 69 |an updat|ed versi|
|00000640| 6f 6e 20 6f 66 20 75 75 | 6d 61 69 6c 20 28 61 6e |on of uu|mail (an|
|00000650| 64 20 75 75 70 61 74 68 | 29 20 74 68 61 74 20 63 |d uupath|) that c|
|00000660| 61 6e 20 0a 61 63 63 65 | 73 73 20 61 20 70 61 74 |an .acce|ss a pat|
|00000670| 68 61 6c 69 61 73 2d 67 | 65 6e 65 72 61 74 65 64 |halias-g|enerated|
|00000680| 20 64 61 74 61 62 61 73 | 65 20 74 6f 20 66 61 63 | databas|e to fac|
|00000690| 69 6c 69 74 61 74 65 20 | 72 6f 75 74 69 6e 65 20 |ilitate |routine |
|000006a0| 6d 61 69 6c 2e 0a 0a 54 | 68 65 73 65 20 70 72 6f |mail...T|hese pro|
|000006b0| 67 72 61 6d 20 63 61 6e | 20 63 6f 70 65 20 77 69 |gram can| cope wi|
|000006c0| 74 68 20 44 42 4d 20 61 | 6e 64 20 73 74 61 6e 64 |th DBM a|nd stand|
|000006d0| 61 72 64 20 6c 69 6e 65 | 2d 6f 72 69 65 6e 74 65 |ard line|-oriente|
|000006e0| 64 20 66 6f 72 6d 73 20 | 6f 66 20 0a 70 61 74 68 |d forms |of .path|
|000006f0| 61 6c 69 61 73 2d 67 65 | 6e 65 72 61 74 65 64 20 |alias-ge|nerated |
|00000700| 64 61 74 61 62 61 73 65 | 73 2e 0a 0a 54 68 69 73 |database|s...This|
|00000710| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 75 75 6d 61 | version| of uuma|
|00000720| 69 6c 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 61 |il can b|e used a|
|00000730| 73 20 75 75 70 61 74 68 | 20 62 79 20 6c 69 6e 6b |s uupath| by link|
|00000740| 69 6e 67 20 75 75 6d 61 | 69 6c 20 74 6f 0a 75 75 |ing uuma|il to.uu|
|00000750| 70 61 74 68 2e 20 41 6c | 73 6f 2c 20 74 68 69 73 |path. Al|so, this|
|00000760| 20 76 65 72 73 69 6f 6e | 20 63 61 6e 20 68 61 6e | version| can han|
|00000770| 64 6c 65 20 64 6f 6d 61 | 69 6e 20 61 64 64 72 65 |dle doma|in addre|
|00000780| 73 73 65 73 20 28 75 73 | 65 72 40 68 6f 73 74 2e |sses (us|er@host.|
|00000790| 64 6f 6d 61 69 6e 29 2e | 0a 59 6f 75 20 63 61 6e |domain).|.You can|
|000007a0| 20 70 75 74 20 61 73 20 | 6d 61 6e 79 20 61 64 64 | put as |many add|
|000007b0| 72 65 73 73 65 73 20 6f | 6e 20 61 20 6c 69 6e 65 |resses o|n a line|
|000007c0| 20 61 73 20 79 6f 75 20 | 6c 69 6b 65 2e 0a 0a 54 | as you |like...T|
|000007d0| 68 69 73 20 76 65 72 73 | 69 6f 6e 20 66 69 78 65 |his vers|ion fixe|
|000007e0| 73 20 61 20 66 65 77 20 | 62 75 67 73 20 69 6e 20 |s a few |bugs in |
|000007f0| 74 68 65 20 70 72 65 76 | 69 6f 75 73 20 72 65 6c |the prev|ious rel|
|00000800| 65 61 73 65 2e 20 53 6f | 6d 65 20 61 64 64 69 74 |ease. So|me addit|
|00000810| 69 6f 6e 61 6c 20 0a 66 | 75 6e 63 74 69 6f 6e 61 |ional .f|unctiona|
|00000820| 6c 69 74 79 20 61 6e 64 | 20 72 6f 62 75 73 74 6e |lity and| robustn|
|00000830| 65 73 73 20 61 72 65 20 | 61 64 64 65 64 20 61 73 |ess are |added as|
|00000840| 20 77 65 6c 6c 2e 20 54 | 68 65 20 62 75 67 73 20 | well. T|he bugs |
|00000850| 69 6e 63 6c 75 64 65 64 | 20 0a 6c 61 63 6b 20 6f |included| .lack o|
|00000860| 66 20 69 6e 69 74 69 6c | 69 7a 61 74 69 6f 6e 20 |f initil|ization |
|00000870| 6f 66 20 73 6f 6d 65 20 | 76 61 72 69 61 62 6c 65 |of some |variable|
|00000880| 73 20 69 6e 20 61 64 64 | 72 65 73 73 2e 63 2c 20 |s in add|ress.c, |
|00000890| 69 6e 63 6f 6e 73 69 73 | 74 61 6e 74 20 63 61 6c |inconsis|tant cal|
|000008a0| 6c 69 6e 67 0a 6f 66 20 | 67 65 74 70 61 74 68 20 |ling.of |getpath |
|000008b0| 69 6e 20 75 75 6d 61 69 | 6c 2c 20 61 64 64 72 65 |in uumai|l, addre|
|000008c0| 73 73 20 61 6e 64 20 6f | 70 61 74 68 2c 20 61 6e |ss and o|path, an|
|000008d0| 64 20 66 61 69 6c 75 72 | 65 20 74 6f 20 68 61 6e |d failur|e to han|
|000008e0| 64 6c 65 20 25 20 69 6e | 20 61 64 64 72 65 73 73 |dle % in| address|
|000008f0| 65 73 0a 63 6f 72 72 65 | 63 74 6c 79 2e 20 41 64 |es.corre|ctly. Ad|
|00000900| 64 69 74 69 6f 6e 61 6c | 20 66 65 61 74 75 72 65 |ditional| feature|
|00000910| 73 20 69 6e 63 6c 75 64 | 65 20 20 74 68 65 20 61 |s includ|e the a|
|00000920| 62 69 6c 69 74 79 20 6f | 66 20 67 65 74 70 61 74 |bility o|f getpat|
|00000930| 68 20 74 6f 20 64 65 74 | 65 63 74 20 77 68 65 6e |h to det|ect when|
|00000940| 0a 74 68 65 20 64 61 74 | 61 62 61 73 65 20 69 73 |.the dat|abase is|
|00000950| 20 62 65 69 6e 67 20 75 | 70 64 61 74 65 64 20 61 | being u|pdated a|
|00000960| 6e 64 20 77 61 69 74 20 | 6f 72 20 61 62 6f 72 74 |nd wait |or abort|
|00000970| 20 61 73 20 6e 65 63 65 | 73 73 61 72 79 2c 20 74 | as nece|ssary, t|
|00000980| 68 65 20 61 62 69 6c 69 | 74 79 20 74 6f 20 0a 72 |he abili|ty to .r|
|00000990| 65 74 72 79 20 61 63 63 | 65 73 73 69 6e 67 20 74 |etry acc|essing t|
|000009a0| 68 65 20 64 61 74 61 62 | 61 73 65 20 77 68 65 6e |he datab|ase when|
|000009b0| 20 69 74 20 77 69 6c 6c | 20 6e 6f 74 20 6f 70 65 | it will| not ope|
|000009c0| 6e 20 28 61 73 20 6d 69 | 67 68 74 20 62 65 20 74 |n (as mi|ght be t|
|000009d0| 68 65 20 63 61 73 65 20 | 77 68 65 6e 0a 75 70 64 |he case |when.upd|
|000009e0| 61 74 69 6e 67 20 69 74 | 29 2c 20 74 68 65 20 61 |ating it|), the a|
|000009f0| 62 69 6c 69 74 79 20 28 | 69 66 20 74 68 65 20 64 |bility (|if the d|
|00000a00| 61 74 61 62 61 73 65 20 | 69 73 20 73 6f 72 74 65 |atabase |is sorte|
|00000a10| 64 29 20 74 6f 20 73 65 | 61 72 63 68 20 61 20 70 |d) to se|arch a p|
|00000a20| 6c 61 69 6e 2d 74 65 78 | 74 0a 64 61 74 61 62 61 |lain-tex|t.databa|
|00000a30| 73 65 20 6d 75 63 68 20 | 66 61 73 74 65 72 2e 0a |se much |faster..|
|00000a40| 0a 20 2a 20 20 20 20 49 | 46 20 59 4f 55 20 41 52 |. * I|F YOU AR|
|00000a50| 45 20 55 53 49 4e 47 20 | 41 20 44 42 4d 20 44 41 |E USING |A DBM DA|
|00000a60| 54 41 42 41 53 45 2c 20 | 52 45 41 44 20 54 48 49 |TABASE, |READ THI|
|00000a70| 53 21 0a 20 2a 20 20 20 | 20 49 66 20 74 68 65 20 |S!. * | If the |
|00000a80| 73 70 65 63 69 61 6c 20 | 73 65 6e 74 69 6e 65 6c |special |sentinel|
|00000a90| 20 76 61 6c 75 65 20 6f | 66 20 40 40 40 20 69 73 | value o|f @@@ is|
|00000aa0| 20 6e 6f 74 20 70 72 65 | 73 65 6e 74 20 69 6e 20 | not pre|sent in |
|00000ab0| 74 68 65 0a 20 2a 20 20 | 20 20 64 61 74 61 62 61 |the. * | databa|
|00000ac0| 73 65 2c 20 74 68 65 6e | 20 67 65 74 70 61 74 68 |se, then| getpath|
|00000ad0| 20 77 69 6c 6c 20 61 73 | 73 75 6d 65 64 20 74 68 | will as|sumed th|
|00000ae0| 61 74 20 74 68 65 20 64 | 61 74 61 62 61 73 65 20 |at the d|atabase |
|00000af0| 69 73 20 62 65 69 6e 67 | 0a 20 2a 20 20 20 20 72 |is being|. * r|
|00000b00| 65 62 75 69 6c 74 20 61 | 6e 64 20 77 69 6c 6c 20 |ebuilt a|nd will |
|00000b10| 62 6c 6f 63 6b 20 66 6f | 72 20 54 49 4d 45 4f 55 |block fo|r TIMEOU|
|00000b20| 54 20 28 64 65 66 61 75 | 6c 74 20 3d 20 31 38 30 |T (defau|lt = 180|
|00000b30| 29 20 73 65 63 6f 6e 64 | 73 2e 20 20 0a 20 2a 20 |) second|s. . * |
|00000b40| 20 20 20 49 66 2c 20 61 | 66 74 65 72 20 35 20 73 | If, a|fter 5 s|
|00000b50| 75 63 68 20 62 6c 6f 63 | 6b 73 2c 20 74 68 65 20 |uch bloc|ks, the |
|00000b60| 73 65 6e 74 69 6e 65 6c | 20 69 73 20 6e 6f 74 20 |sentinel| is not |
|00000b70| 70 72 65 73 65 6e 74 2c | 0a 20 2a 20 20 20 20 74 |present,|. * t|
|00000b80| 68 65 20 65 72 72 6f 72 | 20 63 6f 64 65 20 45 58 |he error| code EX|
|00000b90| 5f 54 45 4d 50 46 41 49 | 4c 20 69 73 20 72 65 74 |_TEMPFAI|L is ret|
|00000ba0| 75 72 6e 65 64 2e 0a 20 | 2a 20 20 20 20 54 68 65 |urned.. |* The|
|00000bb0| 20 73 61 6d 65 20 69 73 | 20 74 72 75 65 20 69 66 | same is| true if|
|00000bc0| 20 74 68 65 20 64 62 6d | 20 66 69 6c 65 73 20 63 | the dbm| files c|
|00000bd0| 61 6e 6e 6f 74 20 62 65 | 20 69 6e 69 74 69 61 6c |annot be| initial|
|00000be0| 69 7a 65 64 2e 0a 20 2a | 20 20 20 20 50 6c 65 61 |ized.. *| Plea|
|00000bf0| 73 65 20 62 65 20 73 75 | 72 65 20 74 6f 20 61 64 |se be su|re to ad|
|00000c00| 64 20 74 68 65 20 73 65 | 6e 74 69 6e 61 6c 20 74 |d the se|ntinal t|
|00000c10| 6f 20 74 68 65 20 44 42 | 4d 20 64 61 74 61 62 61 |o the DB|M databa|
|00000c20| 73 65 20 77 68 65 6e 0a | 20 2a 20 20 20 20 69 74 |se when.| * it|
|00000c30| 20 69 73 20 63 72 65 61 | 74 65 64 2e 0a 20 2a 0a | is crea|ted.. *.|
|00000c40| 0a 54 68 65 72 65 20 61 | 72 65 20 73 6f 6d 65 20 |.There a|re some |
|00000c50| 63 6f 6d 70 69 6c 65 20 | 66 6c 61 67 73 20 74 6f |compile |flags to|
|00000c60| 20 62 65 20 61 77 61 72 | 65 20 6f 66 20 77 68 65 | be awar|e of whe|
|00000c70| 6e 20 6d 61 6b 69 6e 67 | 20 75 75 6d 61 69 6c 2e |n making| uumail.|
|00000c80| 0a 48 65 72 65 20 69 73 | 20 61 20 6c 69 73 74 20 |.Here is| a list |
|00000c90| 6f 66 20 74 68 65 6d 2e | 0a 0a 44 45 42 55 47 20 |of them.|..DEBUG |
|00000ca0| 63 6f 6d 70 69 6c 65 73 | 20 69 6e 20 74 68 65 20 |compiles| in the |
|00000cb0| 64 65 62 75 67 67 69 6e | 67 20 63 6f 64 65 2e 0a |debuggin|g code..|
|00000cc0| 4f 50 41 54 48 20 63 61 | 75 73 65 73 20 74 68 65 |OPATH ca|uses the|
|00000cd0| 20 6f 70 61 74 68 20 73 | 75 62 72 6f 75 74 69 6e | opath s|ubroutin|
|00000ce0| 65 20 74 6f 20 62 65 20 | 75 73 65 64 20 74 6f 20 |e to be |used to |
|00000cf0| 72 65 73 6f 6c 76 65 20 | 61 64 64 72 65 73 73 65 |resolve |addresse|
|00000d00| 73 2e 0a 49 66 20 79 6f | 75 20 64 6f 20 6e 6f 74 |s..If yo|u do not|
|00000d10| 20 75 73 65 20 74 68 69 | 73 20 66 6c 61 67 2c 20 | use thi|s flag, |
|00000d20| 79 6f 75 20 63 61 6e 6e | 6f 74 20 75 73 65 20 74 |you cann|ot use t|
|00000d30| 68 65 20 75 73 65 72 40 | 68 6f 73 74 2e 64 6f 6d |he user@|host.dom|
|00000d40| 61 69 6e 20 73 74 79 6c | 65 0a 61 64 64 72 65 73 |ain styl|e.addres|
|00000d50| 73 65 73 20 77 69 74 68 | 20 75 75 6d 61 69 6c 2e |ses with| uumail.|
|00000d60| 0a 44 42 4d 20 63 61 75 | 73 65 73 20 75 75 6d 61 |.DBM cau|ses uuma|
|00000d70| 69 6c 20 74 6f 20 75 73 | 65 20 74 68 65 20 44 42 |il to us|e the DB|
|00000d80| 4d 20 66 6f 72 6d 61 74 | 20 70 61 74 61 6c 69 61 |M format| patalia|
|00000d90| 73 20 64 61 74 61 62 61 | 73 65 2e 20 49 66 20 79 |s databa|se. If y|
|00000da0| 6f 75 20 64 6f 20 6e 6f | 74 0a 68 61 76 65 20 74 |ou do no|t.have t|
|00000db0| 68 65 20 64 62 6d 20 6c | 69 62 72 61 72 69 65 73 |he dbm l|ibraries|
|00000dc0| 2c 20 64 6f 20 6e 6f 74 | 20 75 73 65 20 74 68 69 |, do not| use thi|
|00000dd0| 73 20 66 6c 61 67 2e 0a | 53 59 53 49 49 49 20 77 |s flag..|SYSIII w|
|00000de0| 69 6c 6c 20 6d 61 6b 65 | 20 61 64 6a 75 73 74 6d |ill make| adjustm|
|00000df0| 65 6e 74 73 20 66 6f 72 | 20 73 79 73 74 65 6d 20 |ents for| system |
|00000e00| 74 68 61 74 20 61 72 65 | 20 64 65 72 69 76 65 64 |that are| derived|
|00000e10| 20 66 72 6f 6d 20 55 4e | 49 58 20 53 79 73 74 65 | from UN|IX Syste|
|00000e20| 6d 0a 49 49 49 20 6f 72 | 20 53 79 73 74 65 6d 20 |m.III or| System |
|00000e30| 56 2e 0a 4e 4f 47 52 41 | 44 45 20 73 68 6f 75 6c |V..NOGRA|DE shoul|
|00000e40| 64 20 62 65 20 75 73 65 | 64 20 69 66 20 79 6f 75 |d be use|d if you|
|00000e50| 72 20 75 75 78 20 64 6f | 65 73 20 6e 6f 74 20 75 |r uux do|es not u|
|00000e60| 6e 64 65 72 73 74 61 6e | 64 20 74 68 65 20 2d 67 |nderstan|d the -g|
|00000e70| 20 66 6c 61 67 2e 0a 4e | 4f 52 45 54 55 52 4e 20 | flag..N|ORETURN |
|00000e80| 73 68 6f 75 6c 64 20 62 | 65 20 75 73 65 64 20 69 |should b|e used i|
|00000e90| 66 20 79 6f 75 72 20 75 | 75 78 20 64 6f 65 73 20 |f your u|ux does |
|00000ea0| 6e 6f 74 20 75 6e 64 65 | 72 73 74 61 6e 64 20 74 |not unde|rstand t|
|00000eb0| 68 65 20 2d 61 20 66 6c | 61 67 2e 0a 4c 4f 47 20 |he -a fl|ag..LOG |
|00000ec0| 77 69 6c 6c 20 65 6e 61 | 62 6c 65 20 6c 6f 67 67 |will ena|ble logg|
|00000ed0| 69 6e 67 20 6f 66 20 75 | 75 6d 61 69 6c 20 74 72 |ing of u|umail tr|
|00000ee0| 61 66 66 69 63 2e 0a 55 | 47 4c 59 55 55 43 50 20 |affic..U|GLYUUCP |
|00000ef0| 63 61 75 73 65 73 20 74 | 68 65 20 46 72 6f 6d 5f |causes t|he From_|
|00000f00| 20 6c 69 6e 65 20 70 72 | 6f 64 75 63 65 64 20 62 | line pr|oduced b|
|00000f10| 79 20 75 75 6d 61 69 6c | 20 74 6f 20 63 6f 6e 74 |y uumail| to cont|
|00000f20| 61 69 6e 20 74 68 65 0a | 22 72 65 6d 6f 74 65 20 |ain the.|"remote |
|00000f30| 66 72 6f 6d 20 68 6f 73 | 74 6e 61 6d 65 22 20 73 |from hos|tname" s|
|00000f40| 74 72 69 6e 67 2e 0a 47 | 45 54 48 4f 53 54 4e 41 |tring..G|ETHOSTNA|
|00000f50| 4d 45 20 77 69 6c 6c 20 | 63 61 75 73 65 20 74 68 |ME will |cause th|
|00000f60| 65 20 73 79 73 74 65 6d | 20 63 61 6c 6c 20 67 65 |e system| call ge|
|00000f70| 74 68 6f 73 74 6e 61 6d | 65 20 74 6f 20 62 65 20 |thostnam|e to be |
|00000f80| 75 73 65 64 2e 20 49 66 | 20 79 6f 75 0a 61 72 65 |used. If| you.are|
|00000f90| 20 61 20 42 53 44 20 73 | 69 74 65 2c 20 64 65 66 | a BSD s|ite, def|
|00000fa0| 69 6e 65 20 74 68 69 73 | 2e 0a 53 59 53 54 45 4d |ine this|..SYSTEM|
|00000fb0| 4e 41 4d 45 20 77 69 6c | 6c 20 63 61 75 73 65 20 |NAME wil|l cause |
|00000fc0| 74 68 65 20 73 79 73 74 | 65 6d 6e 61 6d 65 20 74 |the syst|emname t|
|00000fd0| 6f 20 62 65 20 64 65 72 | 69 76 65 64 20 66 72 6f |o be der|ived fro|
|00000fe0| 6d 20 74 68 65 20 66 69 | 6c 65 0a 2f 75 73 72 2f |m the fi|le./usr/|
|00000ff0| 6c 69 62 2f 75 75 63 70 | 2f 53 59 53 54 45 4d 4e |lib/uucp|/SYSTEMN|
|00001000| 41 4d 45 2e 20 54 68 69 | 73 20 73 68 6f 75 6c 64 |AME. Thi|s should|
|00001010| 20 62 65 20 64 65 66 69 | 6e 65 64 20 69 66 20 79 | be defi|ned if y|
|00001020| 6f 75 72 20 6d 61 63 68 | 69 6e 65 0a 69 73 20 61 |our mach|ine.is a|
|00001030| 20 53 70 65 72 72 79 20 | 35 30 30 30 2e 0a 53 4f | Sperry |5000..SO|
|00001040| 52 54 45 44 20 77 69 6c | 6c 20 63 61 75 73 65 20 |RTED wil|l cause |
|00001050| 74 68 65 20 6e 6f 6e 2d | 44 42 4d 20 64 61 74 61 |the non-|DBM data|
|00001060| 62 61 73 65 20 74 6f 20 | 62 65 20 73 65 61 72 63 |base to |be searc|
|00001070| 68 65 64 20 66 61 73 74 | 65 64 2c 20 42 55 54 0a |hed fast|ed, BUT.|
|00001080| 69 74 20 61 73 73 75 6d | 65 73 20 74 68 61 74 20 |it assum|es that |
|00001090| 74 68 69 73 20 64 61 74 | 61 62 61 73 65 20 69 73 |this dat|abase is|
|000010a0| 20 53 4f 52 54 45 44 2e | 20 49 66 20 79 6f 75 20 | SORTED.| If you |
|000010b0| 64 6f 20 6e 6f 74 20 73 | 6f 72 74 20 79 6f 75 72 |do not s|ort your|
|000010c0| 0a 64 61 74 61 62 61 73 | 65 2c 20 64 6f 20 6e 6f |.databas|e, do no|
|000010d0| 74 20 64 65 66 69 6e 65 | 20 74 68 69 73 2e 0a 0a |t define| this...|
|000010e0| 49 66 20 79 6f 75 20 77 | 61 6e 74 20 74 6f 20 69 |If you w|ant to i|
|000010f0| 6e 73 74 61 6c 6c 20 74 | 68 69 73 20 73 79 73 74 |nstall t|his syst|
|00001100| 65 6d 2c 20 75 73 65 20 | 22 6d 61 6b 65 20 69 6e |em, use |"make in|
|00001110| 73 74 61 6c 6c 22 2e 20 | 49 66 20 79 6f 75 20 77 |stall". |If you w|
|00001120| 61 6e 74 0a 74 6f 20 68 | 61 76 65 20 69 74 20 64 |ant.to h|ave it d|
|00001130| 6f 20 61 6c 6c 20 74 68 | 65 20 77 6f 72 6b 20 66 |o all th|e work f|
|00001140| 6f 72 20 69 6e 63 6f 6d | 69 6e 67 20 6d 61 69 6c |or incom|ing mail|
|00001150| 2c 20 74 79 70 65 20 22 | 6d 61 6b 65 20 6d 61 69 |, type "|make mai|
|00001160| 6c 65 72 22 2e 20 59 6f | 75 0a 70 72 6f 62 61 62 |ler". Yo|u.probab|
|00001170| 6c 79 20 64 6f 20 6e 6f | 74 20 77 61 6e 74 20 74 |ly do no|t want t|
|00001180| 6f 20 22 6d 61 6b 65 20 | 6d 61 69 6c 65 72 22 20 |o "make |mailer" |
|00001190| 69 66 20 79 6f 75 20 72 | 75 6e 20 73 65 6e 64 6d |if you r|un sendm|
|000011a0| 61 69 6c 2e 0a 0a 48 65 | 72 65 20 69 73 20 74 68 |ail...He|re is th|
|000011b0| 65 20 6d 61 69 6c 65 72 | 20 73 65 67 6d 65 6e 74 |e mailer| segment|
|000011c0| 20 6f 66 20 61 20 73 65 | 6e 64 6d 61 69 6c 20 63 | of a se|ndmail c|
|000011d0| 6f 6e 66 69 67 75 72 61 | 74 69 6f 6e 20 66 69 6c |onfigura|tion fil|
|000011e0| 65 20 74 68 61 74 20 79 | 6f 75 0a 63 61 6e 20 75 |e that y|ou.can u|
|000011f0| 73 65 20 74 6f 20 64 65 | 66 69 6e 65 20 74 68 65 |se to de|fine the|
|00001200| 20 75 75 6d 61 69 6c 20 | 70 72 6f 67 72 61 6d 20 | uumail |program |
|00001210| 61 73 20 61 20 6d 61 69 | 6c 65 72 2e 0a 2d 2d 2d |as a mai|ler..---|
|00001220| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001230| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001240| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001250| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001260| 0a 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |.#######|########|
|00001270| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001280| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001290| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 0a 23 23 |########|#####.##|
|000012a0| 23 23 20 54 68 69 73 20 | 69 73 20 61 20 73 70 65 |## This |is a spe|
|000012b0| 63 69 61 6c 20 6d 61 69 | 6c 65 72 20 74 68 61 74 |cial mai|ler that|
|000012c0| 20 74 61 6b 65 73 20 61 | 64 76 61 6e 74 61 67 65 | takes a|dvantage|
|000012d0| 20 6f 66 20 20 20 20 23 | 23 23 0a 23 23 23 23 20 | of #|##.#### |
|000012e0| 75 73 65 6d 61 70 20 64 | 61 74 61 62 61 73 65 20 |usemap d|atabase |
|000012f0| 66 6f 72 20 61 64 64 72 | 65 73 73 65 73 20 74 6f |for addr|esses to|
|00001300| 20 55 55 43 50 20 73 69 | 74 65 73 20 20 20 20 20 | UUCP si|tes |
|00001310| 20 20 20 20 23 23 23 0a | 23 23 23 23 23 23 23 23 | ###.|########|
|00001320| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001330| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001340| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001350| 23 23 23 23 0a 0a 4d 75 | 75 6d 61 69 6c 2c 20 50 |####..Mu|umail, P|
|00001360| 3d 2f 75 73 72 2f 6c 69 | 62 2f 75 75 63 70 2f 75 |=/usr/li|b/uucp/u|
|00001370| 75 6d 61 69 6c 2c 46 3d | 73 44 46 68 75 55 4d 2c |umail,F=|sDFhuUM,|
|00001380| 53 3d 31 33 2c 52 3d 32 | 33 2c 4d 3d 31 30 30 30 |S=13,R=2|3,M=1000|
|00001390| 30 30 30 2c 0a 09 41 3d | 75 75 6d 61 69 6c 20 2d |000,..A=|uumail -|
|000013a0| 68 20 2d 67 43 20 2d 66 | 24 67 20 24 68 21 24 75 |h -gC -f|$g $h!$u|
|000013b0| 0a 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.-------|--------|
|000013c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000013d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000013e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0a |--------|-------.|
|000013f0| 50 6c 65 61 73 65 20 62 | 65 20 73 75 72 65 20 74 |Please b|e sure t|
|00001400| 68 61 74 20 74 68 65 20 | 53 3d 20 61 6e 64 20 52 |hat the |S= and R|
|00001410| 3d 20 72 75 6c 65 73 20 | 61 72 65 20 63 6f 72 72 |= rules |are corr|
|00001420| 65 63 74 20 66 6f 72 20 | 79 6f 75 72 0a 73 79 73 |ect for |your.sys|
|00001430| 74 65 6d 2e 20 54 68 65 | 79 20 73 68 6f 75 6c 64 |tem. The|y should|
|00001440| 20 6d 61 74 63 68 20 74 | 68 65 20 75 75 63 70 20 | match t|he uucp |
|00001450| 6d 61 69 6c 65 72 20 72 | 75 6c 65 73 20 65 78 61 |mailer r|ules exa|
|00001460| 63 74 6c 79 2e 0a 0a 41 | 20 6d 61 6e 75 61 6c 20 |ctly...A| manual |
|00001470| 70 61 67 65 20 66 6f 72 | 20 61 64 64 72 65 73 73 |page for| address|
|00001480| 2c 20 6f 70 61 74 68 2c | 20 75 75 6d 61 69 6c 20 |, opath,| uumail |
|00001490| 61 6e 64 20 75 75 70 61 | 74 68 20 61 72 65 20 69 |and uupa|th are i|
|000014a0| 6e 63 6c 75 64 65 64 2e | 0a 0a 50 6c 65 61 73 65 |ncluded.|..Please|
|000014b0| 20 66 6f 72 77 61 72 64 | 20 63 6f 6d 6d 65 6e 74 | forward| comment|
|000014c0| 73 20 61 6e 64 20 62 75 | 67 20 66 69 78 65 73 20 |s and bu|g fixes |
|000014d0| 74 6f 20 6d 65 20 61 74 | 20 73 6f 62 40 72 69 63 |to me at| sob@ric|
|000014e0| 65 2e 65 64 75 20 6f 72 | 20 0a 69 68 6e 70 34 21 |e.edu or| .ihnp4!|
|000014f0| 73 68 65 6c 6c 21 6e 65 | 75 72 6f 31 21 73 6f 62 |shell!ne|uro1!sob|
|00001500| 20 6f 72 20 74 65 78 73 | 75 6e 21 64 72 69 6c 6c | or texs|un!drill|
|00001510| 74 65 63 68 21 73 6f 62 | 0a 0a 53 74 61 6e 20 42 |tech!sob|..Stan B|
|00001520| 61 72 62 65 72 0a 42 61 | 79 6c 6f 72 20 43 6f 6c |arber.Ba|ylor Col|
|00001530| 6c 65 67 65 20 6f 66 20 | 4d 65 64 69 63 69 6e 65 |lege of |Medicine|
|00001540| 0a 48 6f 75 73 74 6f 6e | 2c 20 54 65 78 61 73 0a |.Houston|, Texas.|
|00001550| 0a 50 2e 53 2e 20 4d 79 | 20 74 68 61 6e 6b 73 20 |.P.S. My| thanks |
|00001560| 74 6f 20 61 6c 6c 20 74 | 68 6f 73 65 20 77 68 6f |to all t|hose who|
|00001570| 20 72 65 70 6f 72 74 65 | 64 20 62 75 67 73 20 66 | reporte|d bugs f|
|00001580| 72 6f 6d 20 74 68 65 20 | 70 72 65 76 69 6f 75 73 |rom the |previous|
|00001590| 20 72 65 6c 65 61 73 65 | 2e 0a 50 6c 65 61 73 65 | release|..Please|
|000015a0| 20 63 6f 6e 74 69 6e 75 | 65 20 74 6f 20 73 65 6e | continu|e to sen|
|000015b0| 64 20 74 68 65 6d 20 69 | 6e 2c 20 61 6e 64 20 49 |d them i|n, and I|
|000015c0| 20 77 69 6c 6c 20 74 72 | 79 20 74 6f 20 6b 65 65 | will tr|y to kee|
|000015d0| 70 20 66 69 78 69 6e 67 | 20 74 68 65 6d 2e 0a 53 |p fixing| them..S|
|000015e0| 48 41 52 5f 45 4f 46 0a | 69 66 20 74 65 73 74 20 |HAR_EOF.|if test |
|000015f0| 34 30 32 33 20 2d 6e 65 | 20 22 60 77 63 20 2d 63 |4023 -ne| "`wc -c|
|00001600| 20 3c 20 27 52 45 41 44 | 4d 45 27 60 22 0a 74 68 | < 'READ|ME'`".th|
|00001610| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 65 |en..echo| shar: e|
|00001620| 72 72 6f 72 20 74 72 61 | 6e 73 6d 69 74 74 69 6e |rror tra|nsmittin|
|00001630| 67 20 22 27 52 45 41 44 | 4d 45 27 22 20 27 28 73 |g "'READ|ME'" '(s|
|00001640| 68 6f 75 6c 64 20 68 61 | 76 65 20 62 65 65 6e 20 |hould ha|ve been |
|00001650| 34 30 32 33 20 63 68 61 | 72 61 63 74 65 72 73 29 |4023 cha|racters)|
|00001660| 27 0a 66 69 0a 66 69 0a | 65 63 68 6f 20 73 68 61 |'.fi.fi.|echo sha|
|00001670| 72 3a 20 65 78 74 72 61 | 63 74 69 6e 67 20 22 27 |r: extra|cting "'|
|00001680| 6d 61 6b 65 66 69 6c 65 | 27 22 20 27 28 33 32 36 |makefile|'" '(326|
|00001690| 35 20 63 68 61 72 61 63 | 74 65 72 73 29 27 0a 69 |5 charac|ters)'.i|
|000016a0| 66 20 74 65 73 74 20 2d | 66 20 27 6d 61 6b 65 66 |f test -|f 'makef|
|000016b0| 69 6c 65 27 0a 74 68 65 | 6e 0a 09 65 63 68 6f 20 |ile'.the|n..echo |
|000016c0| 73 68 61 72 3a 20 77 69 | 6c 6c 20 6e 6f 74 20 6f |shar: wi|ll not o|
|000016d0| 76 65 72 2d 77 72 69 74 | 65 20 65 78 69 73 74 69 |ver-writ|e existi|
|000016e0| 6e 67 20 66 69 6c 65 20 | 22 27 6d 61 6b 65 66 69 |ng file |"'makefi|
|000016f0| 6c 65 27 22 0a 65 6c 73 | 65 0a 63 61 74 20 3c 3c |le'".els|e.cat <<|
|00001700| 20 5c 53 48 41 52 5f 45 | 4f 46 20 3e 20 27 6d 61 | \SHAR_E|OF > 'ma|
|00001710| 6b 65 66 69 6c 65 27 0a | 23 23 23 23 23 23 23 23 |kefile'.|########|
|00001720| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001730| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001740| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001750| 23 23 23 23 23 23 23 23 | 23 23 23 23 0a 23 20 6d |########|####.# m|
|00001760| 61 6b 65 66 69 6c 65 20 | 66 6f 72 20 75 75 6d 61 |akefile |for uuma|
|00001770| 69 6c 20 26 20 75 75 70 | 61 74 68 0a 23 20 70 72 |il & uup|ath.# pr|
|00001780| 6f 67 72 61 6d 20 74 6f | 20 69 6e 74 65 67 72 61 |ogram to| integra|
|00001790| 74 65 20 77 69 74 68 20 | 70 61 74 68 61 6c 69 61 |te with |pathalia|
|000017a0| 73 20 63 72 65 61 74 65 | 64 20 75 75 63 70 6d 61 |s create|d uucpma|
|000017b0| 70 20 64 61 74 61 62 61 | 73 65 73 0a 23 20 70 72 |p databa|ses.# pr|
|000017c0| 6f 67 72 61 6d 73 20 6f | 72 69 67 69 6e 61 6c 6c |ograms o|riginall|
|000017d0| 79 20 64 65 76 65 6c 6f | 70 65 64 20 62 79 20 4a |y develo|ped by J|
|000017e0| 65 66 66 20 44 6f 6e 6e | 65 6c 6c 79 0a 23 20 75 |eff Donn|elly.# u|
|000017f0| 70 64 61 74 65 64 20 74 | 6f 20 75 73 65 20 70 61 |pdated t|o use pa|
|00001800| 74 68 61 6c 69 61 73 20 | 64 61 74 61 62 61 73 65 |thalias |database|
|00001810| 20 62 79 20 53 74 61 6e | 20 42 61 72 62 65 72 0a | by Stan| Barber.|
|00001820| 23 20 24 48 65 61 64 65 | 72 3a 20 6d 61 6b 65 66 |# $Heade|r: makef|
|00001830| 69 6c 65 2c 76 20 31 2e | 34 20 38 35 2f 31 32 2f |ile,v 1.|4 85/12/|
|00001840| 31 30 20 32 30 3a 34 30 | 3a 34 35 20 73 6f 62 20 |10 20:40|:45 sob |
|00001850| 45 78 70 20 24 0a 23 0a | 23 20 74 68 65 20 66 6f |Exp $.#.|# the fo|
|00001860| 6c 6c 6f 77 69 6e 67 20 | 64 65 66 69 6e 65 73 20 |llowing |defines |
|00001870| 73 68 6f 75 6c 64 20 62 | 65 20 63 6f 6e 66 69 67 |should b|e config|
|00001880| 75 72 65 64 20 66 6f 72 | 20 79 6f 75 20 73 69 74 |ured for| you sit|
|00001890| 65 0a 23 20 61 64 64 20 | 2d 44 44 42 4d 20 74 6f |e.# add |-DDBM to|
|000018a0| 20 43 43 46 4c 41 47 53 | 20 69 66 20 79 6f 75 72 | CCFLAGS| if your|
|000018b0| 20 70 61 74 68 61 6c 69 | 61 73 20 64 61 74 61 62 | pathali|as datab|
|000018c0| 61 73 65 20 75 73 65 64 | 20 74 68 65 0a 23 20 64 |ase used| the.# d|
|000018d0| 62 6d 28 33 29 20 72 6f | 75 74 69 6e 65 73 0a 23 |bm(3) ro|utines.#|
|000018e0| 20 69 66 20 79 6f 75 20 | 61 72 65 20 61 20 41 54 | if you |are a AT|
|000018f0| 54 20 73 79 73 74 65 6d | 20 49 49 49 20 6f 72 20 |T system| III or |
|00001900| 73 79 73 74 65 6d 20 56 | 20 73 69 74 65 0a 23 20 |system V| site.# |
|00001910| 6f 72 20 61 20 6d 61 73 | 73 63 6f 6d 70 20 61 64 |or a mas|scomp ad|
|00001920| 64 20 74 68 65 20 2d 44 | 53 59 53 49 49 49 20 66 |d the -D|SYSIII f|
|00001930| 6c 61 67 73 0a 23 20 49 | 66 20 79 6f 75 20 77 61 |lags.# I|f you wa|
|00001940| 6e 74 20 74 6f 20 75 73 | 65 20 74 68 65 20 6f 70 |nt to us|e the op|
|00001950| 61 74 68 20 73 75 62 72 | 6f 75 74 69 6e 65 20 74 |ath subr|outine t|
|00001960| 6f 20 64 65 61 6c 20 77 | 69 74 68 0a 23 20 64 6f |o deal w|ith.# do|
|00001970| 6d 61 69 6e 20 6e 61 6d | 65 73 20 61 64 64 20 74 |main nam|es add t|
|00001980| 68 65 20 2d 44 4f 50 41 | 54 48 20 66 6c 61 67 20 |he -DOPA|TH flag |
|00001990| 74 6f 20 74 68 65 20 43 | 46 4c 41 47 53 20 6c 69 |to the C|FLAGS li|
|000019a0| 6e 65 0a 23 20 79 6f 75 | 20 6d 61 79 20 77 61 6e |ne.# you| may wan|
|000019b0| 74 20 74 6f 20 6d 6f 64 | 69 66 79 20 74 68 65 20 |t to mod|ify the |
|000019c0| 4c 49 42 53 20 6c 69 6e | 65 20 74 6f 20 63 6f 72 |LIBS lin|e to cor|
|000019d0| 72 65 73 70 6f 6e 64 20 | 74 6f 20 0a 23 20 6c 69 |respond |to .# li|
|000019e0| 62 72 61 72 69 65 73 20 | 74 68 61 74 20 79 6f 75 |braries |that you|
|000019f0| 20 6d 61 79 20 6e 65 65 | 64 20 61 74 20 79 6f 75 | may nee|d at you|
|00001a00| 20 73 69 74 65 0a 23 20 | 73 65 65 20 63 6f 6e 66 | site.# |see conf|
|00001a10| 2e 68 20 66 6f 72 20 6f | 74 68 65 72 20 63 68 61 |.h for o|ther cha|
|00001a20| 6e 67 65 73 20 74 68 61 | 74 20 6d 61 79 20 6e 65 |nges tha|t may ne|
|00001a30| 65 64 20 62 65 20 6d 61 | 64 65 0a 23 20 49 66 20 |ed be ma|de.# If |
|00001a40| 79 6f 75 20 44 4f 20 4e | 4f 54 20 75 73 65 20 61 |you DO N|OT use a|
|00001a50| 20 44 42 4d 20 66 6f 72 | 6d 61 74 74 65 64 20 64 | DBM for|matted d|
|00001a60| 61 74 61 62 61 73 65 20 | 61 6e 64 20 77 6f 75 6c |atabase |and woul|
|00001a70| 64 20 6c 69 6b 65 20 74 | 6f 0a 23 20 67 65 74 20 |d like t|o.# get |
|00001a80| 74 68 65 20 62 65 73 74 | 20 70 6f 73 73 69 62 6c |the best| possibl|
|00001a90| 65 20 73 70 65 65 64 20 | 66 72 6f 6d 20 75 75 6d |e speed |from uum|
|00001aa0| 61 69 6c 2c 20 61 64 64 | 20 74 68 65 20 2d 44 53 |ail, add| the -DS|
|00001ab0| 4f 52 54 45 44 0a 23 20 | 66 6c 61 67 20 61 6e 64 |ORTED.# |flag and|
|00001ac0| 20 62 65 20 73 75 72 65 | 20 74 6f 20 73 6f 72 74 | be sure| to sort|
|00001ad0| 20 79 6f 75 72 20 64 61 | 74 61 62 61 73 65 0a 23 | your da|tabase.#|
|00001ae0| 20 49 4d 50 4f 52 54 41 | 4e 54 20 49 4e 46 4f 52 | IMPORTA|NT INFOR|
|00001af0| 4d 41 54 49 4f 4e 20 41 | 42 4f 55 54 20 55 55 43 |MATION A|BOUT UUC|
|00001b00| 50 0a 23 20 49 66 20 79 | 6f 75 72 20 75 75 63 70 |P.# If y|our uucp|
|00001b10| 20 64 6f 65 73 20 6e 6f | 74 20 75 6e 64 65 72 73 | does no|t unders|
|00001b20| 74 61 6e 64 20 74 68 65 | 20 2d 67 20 28 67 72 61 |tand the| -g (gra|
|00001b30| 64 65 29 20 66 6c 61 67 | 0a 23 20 61 64 64 20 74 |de) flag|.# add t|
|00001b40| 68 65 20 2d 44 4e 4f 47 | 52 41 44 45 20 66 6c 61 |he -DNOG|RADE fla|
|00001b50| 67 20 74 6f 20 43 46 4c | 41 47 53 2e 0a 23 20 49 |g to CFL|AGS..# I|
|00001b60| 66 20 79 6f 75 72 20 75 | 75 63 70 20 64 6f 65 73 |f your u|ucp does|
|00001b70| 20 6e 6f 74 20 6b 6e 6f | 77 20 61 62 6f 75 74 20 | not kno|w about |
|00001b80| 74 68 65 20 2d 61 20 28 | 72 65 74 75 72 6e 74 6f |the -a (|returnto|
|00001b90| 29 20 66 6c 61 67 0a 23 | 20 61 64 64 20 74 68 65 |) flag.#| add the|
|00001ba0| 20 2d 44 4e 4f 52 45 54 | 55 52 4e 20 66 6c 61 67 | -DNORET|URN flag|
|00001bb0| 20 74 6f 20 43 46 4c 41 | 47 53 0a 23 20 24 4c 6f | to CFLA|GS.# $Lo|
|00001bc0| 67 3a 09 6d 61 6b 65 66 | 69 6c 65 2c 76 20 24 0a |g:.makef|ile,v $.|
|00001bd0| 23 20 52 65 76 69 73 69 | 6f 6e 20 31 2e 34 20 20 |# Revisi|on 1.4 |
|00001be0| 38 35 2f 31 32 2f 31 30 | 20 20 32 30 3a 34 30 3a |85/12/10| 20:40:|
|00001bf0| 34 35 20 20 73 6f 62 0a | 23 20 41 64 64 65 64 20 |45 sob.|# Added |
|00001c00| 69 6e 73 74 61 6c 6c 2c | 20 6d 61 69 6c 65 72 20 |install,| mailer |
|00001c10| 61 6e 64 20 61 6c 6c 20 | 6d 61 6b 65 20 6f 70 74 |and all |make opt|
|00001c20| 69 6f 6e 73 2e 20 41 6c | 73 6f 20 64 65 66 69 6e |ions. Al|so defin|
|00001c30| 65 64 20 42 49 4e 44 49 | 52 2c 20 55 55 43 50 44 |ed BINDI|R, UUCPD|
|00001c40| 49 52 0a 23 20 61 6e 64 | 20 6f 74 68 65 72 20 75 |IR.# and| other u|
|00001c50| 73 65 66 75 6c 20 74 68 | 69 6e 67 73 0a 23 20 0a |seful th|ings.# .|
|00001c60| 23 20 52 65 76 69 73 69 | 6f 6e 20 31 2e 33 20 20 |# Revisi|on 1.3 |
|00001c70| 38 35 2f 30 38 2f 30 33 | 20 20 30 30 3a 33 38 3a |85/08/03| 00:38:|
|00001c80| 33 33 20 20 55 55 43 50 | 0a 23 20 41 64 64 65 64 |33 UUCP|.# Added|
|00001c90| 20 73 75 70 70 6f 72 74 | 20 66 6f 72 20 73 68 61 | support| for sha|
|00001ca0| 72 20 61 6e 64 20 52 43 | 53 2e 0a 23 20 43 68 61 |r and RC|S..# Cha|
|00001cb0| 6e 67 65 64 20 6e 61 6d | 65 20 6f 66 20 67 65 74 |nged nam|e of get|
|00001cc0| 68 6f 73 74 6e 61 6d 65 | 20 74 6f 20 67 65 74 68 |hostname| to geth|
|00001cd0| 6f 73 74 6e 61 6d 20 74 | 6f 20 61 6c 6c 6f 77 20 |ostnam t|o allow |
|00001ce0| 52 43 53 20 74 6f 20 77 | 6f 72 6b 20 72 69 67 68 |RCS to w|ork righ|
|00001cf0| 74 2e 0a 23 20 53 74 61 | 6e 20 42 61 72 62 65 72 |t..# Sta|n Barber|
|00001d00| 0a 23 20 0a 23 20 52 65 | 76 69 73 69 6f 6e 20 31 |.# .# Re|vision 1|
|00001d10| 2e 32 20 20 38 35 2f 30 | 37 2f 31 31 20 20 31 39 |.2 85/0|7/11 19|
|00001d20| 3a 32 38 3a 35 32 20 20 | 73 6f 62 0a 23 20 75 70 |:28:52 |sob.# up|
|00001d30| 64 61 74 65 64 20 77 69 | 74 68 20 67 65 74 68 6f |dated wi|th getho|
|00001d40| 73 74 6e 61 6d 65 2e 63 | 0a 23 20 0a 23 20 52 65 |stname.c|.# .# Re|
|00001d50| 76 69 73 69 6f 6e 20 31 | 2e 31 20 20 38 35 2f 30 |vision 1|.1 85/0|
|00001d60| 37 2f 31 31 20 20 31 39 | 3a 32 33 3a 32 32 20 20 |7/11 19|:23:22 |
|00001d70| 73 6f 62 0a 23 20 49 6e | 69 74 69 61 6c 20 72 65 |sob.# In|itial re|
|00001d80| 76 69 73 69 6f 6e 0a 23 | 20 0a 23 23 23 23 23 23 |vision.#| .######|
|00001d90| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001da0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001db0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001dc0| 23 23 23 23 23 23 23 23 | 23 0a 2e 53 55 46 46 49 |########|#..SUFFI|
|00001dd0| 58 45 53 3a 20 2e 63 2c | 76 20 2e 68 2c 76 0a 0a |XES: .c,|v .h,v..|
|00001de0| 43 46 4c 41 47 53 3d 20 | 2d 4f 20 2d 44 53 59 53 |CFLAGS= |-O -DSYS|
|00001df0| 49 49 49 20 2d 44 44 45 | 42 55 47 20 2d 44 4f 50 |III -DDE|BUG -DOP|
|00001e00| 41 54 48 20 2d 44 55 47 | 4c 59 55 55 43 50 20 2d |ATH -DUG|LYUUCP -|
|00001e10| 44 4c 4f 47 20 2d 44 53 | 4f 52 54 45 44 0a 0a 4c |DLOG -DS|ORTED..L|
|00001e20| 49 42 53 3d 0a 0a 42 49 | 4e 44 49 52 3d 2f 75 73 |IBS=..BI|NDIR=/us|
|00001e30| 72 2f 6c 62 69 6e 0a 0a | 55 55 43 50 44 49 52 3d |r/lbin..|UUCPDIR=|
|00001e40| 2f 75 73 72 2f 6c 69 62 | 2f 75 75 63 70 0a 0a 4c |/usr/lib|/uucp..L|
|00001e50| 49 42 44 49 52 3d 2f 75 | 73 72 2f 6c 69 62 0a 0a |IBDIR=/u|sr/lib..|
|00001e60| 2e 63 2c 76 2e 63 3a 0a | 09 63 6f 20 2d 71 20 24 |.c,v.c:.|.co -q $|
|00001e70| 2a 2e 63 0a 0a 2e 68 2c | 76 2e 68 3a 0a 09 63 6f |*.c...h,|v.h:..co|
|00001e80| 20 2d 71 20 24 2a 2e 68 | 0a 0a 61 6c 6c 3a 20 75 | -q $*.h|..all: u|
|00001e90| 75 6d 61 69 6c 20 72 6d | 61 69 6c 20 61 64 64 72 |umail rm|ail addr|
|00001ea0| 65 73 73 0a 0a 75 75 6d | 61 69 6c 3a 20 67 65 74 |ess..uum|ail: get|
|00001eb0| 70 61 74 68 2e 6f 20 75 | 75 6d 61 69 6c 2e 6f 20 |path.o u|umail.o |
|00001ec0| 67 65 74 68 6f 73 74 6e | 61 6d 2e 6f 20 6f 70 61 |gethostn|am.o opa|
|00001ed0| 74 68 2e 6f 0a 09 63 63 | 20 24 28 43 46 4c 41 47 |th.o..cc| $(CFLAG|
|00001ee0| 53 29 20 67 65 74 70 61 | 74 68 2e 6f 20 75 75 6d |S) getpa|th.o uum|
|00001ef0| 61 69 6c 2e 6f 20 67 65 | 74 68 6f 73 74 6e 61 6d |ail.o ge|thostnam|
|00001f00| 2e 6f 20 6f 70 61 74 68 | 2e 6f 20 2d 6f 20 75 75 |.o opath|.o -o uu|
|00001f10| 6d 61 69 6c 20 24 28 4c | 49 42 53 29 0a 0a 61 64 |mail $(L|IBS)..ad|
|00001f20| 64 72 65 73 73 3a 61 64 | 64 72 65 73 73 2e 6f 20 |dress:ad|dress.o |
|00001f30| 6f 70 61 74 68 2e 6f 20 | 67 65 74 70 61 74 68 2e |opath.o |getpath.|
|00001f40| 6f 0a 09 63 63 20 24 28 | 43 46 4c 41 47 53 29 20 |o..cc $(|CFLAGS) |
|00001f50| 61 64 64 72 65 73 73 2e | 6f 20 6f 70 61 74 68 2e |address.|o opath.|
|00001f60| 6f 20 67 65 74 70 61 74 | 68 2e 6f 20 2d 6f 20 61 |o getpat|h.o -o a|
|00001f70| 64 64 72 65 73 73 20 24 | 28 4c 49 42 53 29 0a 0a |ddress $|(LIBS)..|
|00001f80| 67 65 74 70 61 74 68 2e | 6f 3a 20 67 65 74 70 61 |getpath.|o: getpa|
|00001f90| 74 68 2e 63 20 75 75 63 | 6f 6e 66 2e 68 0a 0a 75 |th.c uuc|onf.h..u|
|00001fa0| 75 70 61 74 68 2e 6f 3a | 20 75 75 70 61 74 68 2e |upath.o:| uupath.|
|00001fb0| 63 20 75 75 63 6f 6e 66 | 2e 68 0a 0a 75 75 6d 61 |c uuconf|.h..uuma|
|00001fc0| 69 6c 2e 6f 3a 20 75 75 | 6d 61 69 6c 2e 63 20 75 |il.o: uu|mail.c u|
|00001fd0| 75 63 6f 6e 66 2e 68 0a | 0a 67 65 74 68 6f 73 74 |uconf.h.|.gethost|
|00001fe0| 6e 61 6d 2e 6f 3a 67 65 | 74 68 6f 73 74 6e 61 6d |nam.o:ge|thostnam|
|00001ff0| 2e 63 0a 0a 61 64 64 72 | 65 73 73 2e 6f 3a 61 64 |.c..addr|ess.o:ad|
|00002000| 64 72 65 73 73 2e 63 0a | 0a 6f 70 61 74 68 2e 6f |dress.c.|.opath.o|
|00002010| 3a 6f 70 61 74 68 2e 63 | 0a 0a 72 6d 61 69 6c 3a |:opath.c|..rmail:|
|00002020| 20 72 6d 61 69 6c 2e 63 | 20 67 65 74 68 6f 73 74 | rmail.c| gethost|
|00002030| 6e 61 6d 2e 6f 0a 09 63 | 63 20 24 28 43 46 4c 41 |nam.o..c|c $(CFLA|
|00002040| 47 53 29 20 72 6d 61 69 | 6c 2e 63 20 67 65 74 68 |GS) rmai|l.c geth|
|00002050| 6f 73 74 6e 61 6d 2e 6f | 20 2d 6f 20 72 6d 61 69 |ostnam.o| -o rmai|
|00002060| 6c 20 24 28 4c 49 42 53 | 29 0a 0a 69 6e 73 74 61 |l $(LIBS|)..insta|
|00002070| 6c 6c 3a 20 75 75 6d 61 | 69 6c 20 61 64 64 72 65 |ll: uuma|il addre|
|00002080| 73 73 20 64 6f 6d 61 69 | 6e 73 20 70 61 6c 69 61 |ss domai|ns palia|
|00002090| 73 0a 09 63 70 20 61 64 | 64 72 65 73 73 20 24 28 |s..cp ad|dress $(|
|000020a0| 42 49 4e 44 49 52 29 0a | 09 63 70 20 75 75 6d 61 |BINDIR).|.cp uuma|
|000020b0| 69 6c 20 64 6f 6d 61 69 | 6e 73 20 70 61 6c 69 61 |il domai|ns palia|
|000020c0| 73 20 24 28 55 55 43 50 | 44 49 52 29 0a 09 40 65 |s $(UUCP|DIR)..@e|
|000020d0| 63 68 6f 20 22 54 6f 20 | 69 6e 73 74 61 6c 6c 20 |cho "To |install |
|000020e0| 72 6d 61 69 6c 20 69 6e | 20 70 6c 61 63 65 20 6f |rmail in| place o|
|000020f0| 66 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 72 6d |f the cu|rrent rm|
|00002100| 61 69 6c 2c 20 74 79 70 | 65 22 0a 09 40 65 63 68 |ail, typ|e"..@ech|
|00002110| 6f 20 22 6d 61 6b 65 20 | 6d 61 69 6c 65 72 22 0a |o "make |mailer".|
|00002120| 09 6c 6e 20 24 28 55 55 | 43 50 44 49 52 29 2f 75 |.ln $(UU|CPDIR)/u|
|00002130| 75 6d 61 69 6c 20 24 28 | 42 49 4e 44 49 52 29 2f |umail $(|BINDIR)/|
|00002140| 75 75 70 61 74 68 0a 0a | 6d 61 69 6c 65 72 3a 20 |uupath..|mailer: |
|00002150| 72 6d 61 69 6c 0a 09 6d | 61 6b 65 20 69 6e 73 74 |rmail..m|ake inst|
|00002160| 61 6c 6c 0a 09 72 6d 20 | 2d 72 66 20 2f 62 69 6e |all..rm |-rf /bin|
|00002170| 2f 72 6d 61 69 6c 0a 09 | 63 70 20 72 6d 61 69 6c |/rmail..|cp rmail|
|00002180| 20 2f 62 69 6e 2f 72 6d | 61 69 6c 0a 09 0a 0a 6c | /bin/rm|ail....l|
|00002190| 69 6e 74 3a 0a 09 6c 69 | 6e 74 20 24 28 43 46 4c |int:..li|nt $(CFL|
|000021a0| 41 47 53 29 20 67 65 74 | 70 61 74 68 2e 63 20 75 |AGS) get|path.c u|
|000021b0| 75 6d 61 69 6c 2e 63 20 | 67 65 74 68 6f 73 74 6e |umail.c |gethostn|
|000021c0| 61 6d 2e 63 20 6f 70 61 | 74 68 2e 63 0a 0a 63 6c |am.c opa|th.c..cl|
|000021d0| 65 61 6e 3a 20 0a 09 72 | 6d 20 2d 66 20 2a 2e 6f |ean: ..r|m -f *.o|
|000021e0| 20 2a 2e 43 4b 50 20 2a | 2e 42 41 4b 20 2a 2e 62 | *.CKP *|.BAK *.b|
|000021f0| 61 6b 0a 0a 64 6f 63 3a | 20 75 75 6d 61 69 6c 2e |ak..doc:| uumail.|
|00002200| 31 20 75 75 70 61 74 68 | 2e 31 20 61 64 64 72 65 |1 uupath|.1 addre|
|00002210| 73 73 2e 31 20 6f 70 61 | 74 68 2e 33 0a 09 6e 72 |ss.1 opa|th.3..nr|
|00002220| 6f 66 66 20 2d 6d 61 6e | 20 75 75 6d 61 69 6c 2e |off -man| uumail.|
|00002230| 31 20 3e 75 75 6d 61 69 | 6c 2e 63 61 74 3b 20 6e |1 >uumai|l.cat; n|
|00002240| 72 6f 66 66 20 2d 6d 61 | 6e 20 75 75 70 61 74 68 |roff -ma|n uupath|
|00002250| 2e 31 20 3e 75 75 70 61 | 74 68 2e 63 61 74 3b 20 |.1 >uupa|th.cat; |
|00002260| 6e 72 6f 66 66 20 2d 6d | 61 6e 20 61 64 64 72 65 |nroff -m|an addre|
|00002270| 73 73 2e 31 20 3e 61 64 | 64 72 65 73 73 2e 63 61 |ss.1 >ad|dress.ca|
|00002280| 74 3b 20 6e 72 6f 66 66 | 20 2d 6d 61 6e 20 6f 70 |t; nroff| -man op|
|00002290| 61 74 68 2e 33 20 3e 6f | 70 61 74 68 2e 63 61 74 |ath.3 >o|path.cat|
|000022a0| 0a 0a 73 68 61 72 3a 20 | 64 6f 6d 61 69 6e 73 20 |..shar: |domains |
|000022b0| 70 61 6c 69 61 73 20 72 | 6d 61 69 6c 2e 63 20 6f |palias r|mail.c o|
|000022c0| 70 61 74 68 2e 63 20 61 | 64 64 72 65 73 73 2e 63 |path.c a|ddress.c|
|000022d0| 20 75 75 6d 61 69 6c 2e | 63 20 75 75 63 6f 6e 66 | uumail.|c uuconf|
|000022e0| 2e 68 20 67 65 74 68 6f | 73 74 6e 61 6d 2e 63 20 |.h getho|stnam.c |
|000022f0| 75 75 70 61 74 68 2e 63 | 20 67 65 74 70 61 74 68 |uupath.c| getpath|
|00002300| 2e 63 20 52 45 41 44 4d | 45 20 6d 61 6b 65 66 69 |.c READM|E makefi|
|00002310| 6c 65 20 75 75 6d 61 69 | 6c 2e 31 20 75 75 70 61 |le uumai|l.1 uupa|
|00002320| 74 68 2e 31 20 20 6f 70 | 61 74 68 2e 33 20 61 64 |th.1 op|ath.3 ad|
|00002330| 64 72 65 73 73 2e 31 0a | 09 73 68 61 72 20 52 45 |dress.1.|.shar RE|
|00002340| 41 44 4d 45 20 64 6f 6d | 61 69 6e 73 20 70 61 6c |ADME dom|ains pal|
|00002350| 69 61 73 20 72 6d 61 69 | 6c 2e 63 20 6f 70 61 74 |ias rmai|l.c opat|
|00002360| 68 2e 63 20 61 64 64 72 | 65 73 73 2e 63 20 75 75 |h.c addr|ess.c uu|
|00002370| 6d 61 69 6c 2e 63 20 75 | 75 63 6f 6e 66 2e 68 20 |mail.c u|uconf.h |
|00002380| 67 65 74 68 6f 73 74 6e | 61 6d 2e 63 20 75 75 70 |gethostn|am.c uup|
|00002390| 61 74 68 2e 63 20 67 65 | 74 70 61 74 68 2e 63 20 |ath.c ge|tpath.c |
|000023a0| 6d 61 6b 65 66 69 6c 65 | 20 75 75 6d 61 69 6c 2e |makefile| uumail.|
|000023b0| 31 20 75 75 70 61 74 68 | 2e 31 20 20 6f 70 61 74 |1 uupath|.1 opat|
|000023c0| 68 2e 33 20 61 64 64 72 | 65 73 73 2e 31 3e 20 73 |h.3 addr|ess.1> s|
|000023d0| 68 61 72 2e 6f 75 74 0a | 0a 53 48 41 52 5f 45 4f |har.out.|.SHAR_EO|
|000023e0| 46 0a 69 66 20 74 65 73 | 74 20 33 32 36 35 20 2d |F.if tes|t 3265 -|
|000023f0| 6e 65 20 22 60 77 63 20 | 2d 63 20 3c 20 27 6d 61 |ne "`wc |-c < 'ma|
|00002400| 6b 65 66 69 6c 65 27 60 | 22 0a 74 68 65 6e 0a 09 |kefile'`|".then..|
|00002410| 65 63 68 6f 20 73 68 61 | 72 3a 20 65 72 72 6f 72 |echo sha|r: error|
|00002420| 20 74 72 61 6e 73 6d 69 | 74 74 69 6e 67 20 22 27 | transmi|tting "'|
|00002430| 6d 61 6b 65 66 69 6c 65 | 27 22 20 27 28 73 68 6f |makefile|'" '(sho|
|00002440| 75 6c 64 20 68 61 76 65 | 20 62 65 65 6e 20 33 32 |uld have| been 32|
|00002450| 36 35 20 63 68 61 72 61 | 63 74 65 72 73 29 27 0a |65 chara|cters)'.|
|00002460| 66 69 0a 66 69 0a 65 63 | 68 6f 20 73 68 61 72 3a |fi.fi.ec|ho shar:|
|00002470| 20 65 78 74 72 61 63 74 | 69 6e 67 20 22 27 64 6f | extract|ing "'do|
|00002480| 6d 61 69 6e 73 27 22 20 | 27 28 31 30 39 33 20 63 |mains'" |'(1093 c|
|00002490| 68 61 72 61 63 74 65 72 | 73 29 27 0a 69 66 20 74 |haracter|s)'.if t|
|000024a0| 65 73 74 20 2d 66 20 27 | 64 6f 6d 61 69 6e 73 27 |est -f '|domains'|
|000024b0| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|000024c0| 3a 20 77 69 6c 6c 20 6e | 6f 74 20 6f 76 65 72 2d |: will n|ot over-|
|000024d0| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 20 66 |write ex|isting f|
|000024e0| 69 6c 65 20 22 27 64 6f | 6d 61 69 6e 73 27 22 0a |ile "'do|mains'".|
|000024f0| 65 6c 73 65 0a 63 61 74 | 20 3c 3c 20 5c 53 48 41 |else.cat| << \SHA|
|00002500| 52 5f 45 4f 46 20 3e 20 | 27 64 6f 6d 61 69 6e 73 |R_EOF > |'domains|
|00002510| 27 0a 23 0a 23 20 44 6f | 6d 61 69 6e 20 54 61 62 |'.#.# Do|main Tab|
|00002520| 6c 65 0a 23 0a 23 20 46 | 6f 72 6d 61 74 3a 20 3c |le.#.# F|ormat: <|
|00002530| 64 6f 6d 61 69 6e 3e 2c | 3c 70 72 65 66 69 78 3e |domain>,|<prefix>|
|00002540| 2c 3c 73 75 66 66 69 78 | 3e 2c 3c 74 65 6d 70 6c |,<suffix|>,<templ|
|00002550| 61 74 65 3e 0a 23 0a 23 | 20 57 68 65 72 65 20 3c |ate>.#.#| Where <|
|00002560| 74 65 6d 70 6c 61 74 65 | 3e 20 6d 61 79 20 63 6f |template|> may co|
|00002570| 6e 74 61 69 6e 3a 0a 23 | 20 20 20 20 20 20 20 25 |ntain:.#| %|
|00002580| 50 20 2d 20 70 72 65 66 | 69 78 20 73 74 72 69 6e |P - pref|ix strin|
|00002590| 67 0a 23 20 20 20 20 20 | 20 20 25 53 20 2d 20 73 |g.# | %S - s|
|000025a0| 75 66 66 69 78 20 73 74 | 72 69 6e 67 0a 23 20 20 |uffix st|ring.# |
|000025b0| 20 20 20 20 20 25 55 20 | 2d 20 64 65 73 74 69 6e | %U |- destin|
|000025c0| 61 74 69 6f 6e 20 75 73 | 65 72 20 6e 61 6d 65 0a |ation us|er name.|
|000025d0| 23 20 20 20 20 20 20 20 | 25 4e 20 2d 20 64 65 73 |# |%N - des|
|000025e0| 74 69 6e 61 74 69 6f 6e | 20 73 69 74 65 20 6e 61 |tination| site na|
|000025f0| 6d 65 0a 23 20 20 20 20 | 20 20 20 25 44 20 2d 20 |me.# | %D - |
|00002600| 64 65 73 74 69 6e 61 74 | 69 6f 6e 20 73 69 74 65 |destinat|ion site|
|00002610| 20 6e 61 6d 65 20 77 69 | 74 68 20 64 6f 6d 61 69 | name wi|th domai|
|00002620| 6e 20 73 75 66 66 69 78 | 0a 23 20 20 20 20 20 20 |n suffix|.# |
|00002630| 20 25 25 20 2d 20 61 20 | 70 65 72 63 65 6e 74 20 | %% - a |percent |
|00002640| 28 25 29 20 73 69 67 6e | 0a 23 20 20 20 20 20 20 |(%) sign|.# |
|00002650| 20 25 52 20 2d 20 70 61 | 74 68 61 6c 69 61 73 20 | %R - pa|thalias |
|00002660| 72 6f 75 74 65 20 74 6f | 20 74 68 65 20 64 65 73 |route to| the des|
|00002670| 74 69 6e 61 74 69 6f 6e | 20 73 69 74 65 0a 23 0a |tination| site.#.|
|00002680| 2e 57 41 2e 55 55 43 50 | 2c 2c 2c 25 52 21 25 55 |.WA.UUCP|,,,%R!%U|
|00002690| 0a 2e 4f 52 2e 55 55 43 | 50 2c 2c 2c 25 52 21 25 |..OR.UUC|P,,,%R!%|
|000026a0| 55 0a 2e 4e 2d 43 41 2e | 55 55 43 50 2c 2c 2c 25 |U..N-CA.|UUCP,,,%|
|000026b0| 52 21 25 55 0a 2e 53 2d | 43 41 2e 55 55 43 50 2c |R!%U..S-|CA.UUCP,|
|000026c0| 2c 2c 25 52 21 25 55 0a | 2e 4d 54 4e 2e 55 55 43 |,,%R!%U.|.MTN.UUC|
|000026d0| 50 2c 2c 2c 25 52 21 25 | 55 0a 2e 53 2d 43 45 4e |P,,,%R!%|U..S-CEN|
|000026e0| 2e 55 55 43 50 2c 2c 2c | 25 52 21 25 55 0a 2e 4d |.UUCP,,,|%R!%U..M|
|000026f0| 49 44 2d 57 2e 55 55 43 | 50 2c 2c 2c 25 52 21 25 |ID-W.UUC|P,,,%R!%|
|00002700| 55 0a 2e 53 2d 45 41 53 | 54 2e 55 55 43 50 2c 2c |U..S-EAS|T.UUCP,,|
|00002710| 2c 25 52 21 25 55 0a 2e | 41 54 4c 2e 55 55 43 50 |,%R!%U..|ATL.UUCP|
|00002720| 2c 2c 2c 25 52 21 25 55 | 0a 2e 4e 2d 45 4e 47 2e |,,,%R!%U|..N-ENG.|
|00002730| 55 55 43 50 2c 2c 2c 25 | 52 21 25 55 0a 2e 48 49 |UUCP,,,%|R!%U..HI|
|00002740| 2e 55 55 43 50 2c 2c 2c | 25 52 21 25 55 0a 2e 57 |.UUCP,,,|%R!%U..W|
|00002750| 2d 43 41 4e 2e 55 55 43 | 50 2c 2c 2c 25 52 21 25 |-CAN.UUC|P,,,%R!%|
|00002760| 55 0a 2e 45 2d 43 41 4e | 2e 55 55 43 50 2c 2c 2c |U..E-CAN|.UUCP,,,|
|00002770| 25 52 21 25 55 0a 2e 45 | 55 52 2e 55 55 43 50 2c |%R!%U..E|UR.UUCP,|
|00002780| 2c 2c 25 52 21 25 55 0a | 2e 55 4b 2e 55 55 43 50 |,,%R!%U.|.UK.UUCP|
|00002790| 2c 2c 2c 25 52 21 25 55 | 0a 2e 41 55 53 2e 55 55 |,,,%R!%U|..AUS.UU|
|000027a0| 43 50 2c 2c 2c 25 52 21 | 25 55 0a 2e 49 53 52 41 |CP,,,%R!|%U..ISRA|
|000027b0| 45 4c 2e 55 55 43 50 2c | 2c 2c 25 52 21 25 55 0a |EL.UUCP,|,,%R!%U.|
|000027c0| 2e 41 54 54 2e 55 55 43 | 50 2c 3e 69 68 6e 70 34 |.ATT.UUC|P,>ihnp4|
|000027d0| 2c 2c 25 50 21 25 44 21 | 25 55 0a 2e 48 50 2e 55 |,,%P!%D!|%U..HP.U|
|000027e0| 55 43 50 2c 2c 2c 25 52 | 21 25 55 0a 2e 50 45 2e |UCP,,,%R|!%U..PE.|
|000027f0| 55 55 43 50 2c 2c 2c 25 | 52 21 25 55 0a 2e 55 55 |UUCP,,,%|R!%U..UU|
|00002800| 43 50 2c 2c 2c 25 52 21 | 25 55 0a 2e 43 53 4e 45 |CP,,,%R!|%U..CSNE|
|00002810| 54 2c 3e 72 69 63 65 2c | 2c 25 50 21 25 55 25 25 |T,>rice,|,%P!%U%%|
|00002820| 25 44 40 43 53 4e 45 54 | 2d 52 45 4c 41 59 2e 41 |%D@CSNET|-RELAY.A|
|00002830| 52 50 41 0a 2e 4d 41 49 | 4c 4e 45 54 2c 3e 72 69 |RPA..MAI|LNET,>ri|
|00002840| 63 65 2c 2c 25 50 21 25 | 55 25 25 25 44 40 4d 55 |ce,,%P!%|U%%%D@MU|
|00002850| 4c 54 49 43 53 2e 4d 49 | 54 2e 45 44 55 0a 23 20 |LTICS.MI|T.EDU.# |
|00002860| 2e 42 49 54 4e 45 54 2c | 3e 72 69 63 65 2c 2c 25 |.BITNET,|>rice,,%|
|00002870| 50 21 25 55 25 25 25 44 | 40 57 49 53 43 56 4d 2e |P!%U%%%D|@WISCVM.|
|00002880| 41 52 50 41 0a 2e 58 45 | 52 4f 58 2c 3e 72 69 63 |ARPA..XE|ROX,>ric|
|00002890| 65 2c 2c 25 50 21 25 55 | 2e 25 44 40 58 45 52 4f |e,,%P!%U|.%D@XERO|
|000028a0| 58 2e 41 52 50 41 0a 2e | 44 45 43 2c 3e 64 65 63 |X.ARPA..|DEC,>dec|
|000028b0| 77 72 6c 2c 2c 25 50 21 | 25 55 40 25 44 0a 2e 41 |wrl,,%P!|%U@%D..A|
|000028c0| 52 50 41 2c 3e 72 69 63 | 65 2c 2c 25 50 21 25 55 |RPA,>ric|e,,%P!%U|
|000028d0| 40 25 44 0a 2e 45 44 55 | 2c 3e 72 69 63 65 2c 2c |@%D..EDU|,>rice,,|
|000028e0| 25 50 21 25 55 40 25 44 | 0a 2e 43 4f 4d 2c 3e 72 |%P!%U@%D|..COM,>r|
|000028f0| 69 63 65 2c 2c 25 50 21 | 25 55 40 25 44 0a 2e 47 |ice,,%P!|%U@%D..G|
|00002900| 4f 56 2c 3e 72 69 63 65 | 2c 2c 25 50 21 25 55 40 |OV,>rice|,,%P!%U@|
|00002910| 25 44 0a 2e 4d 49 4c 2c | 3e 72 69 63 65 2c 2c 25 |%D..MIL,|>rice,,%|
|00002920| 50 21 25 55 40 25 44 0a | 2e 4f 54 48 2c 3e 72 69 |P!%U@%D.|.OTH,>ri|
|00002930| 63 65 2c 2c 25 50 21 25 | 55 40 25 44 0a 2e 42 49 |ce,,%P!%|U@%D..BI|
|00002940| 54 4e 45 54 2c 3e 70 73 | 75 76 61 78 2c 2c 25 50 |TNET,>ps|uvax,,%P|
|00002950| 21 25 55 40 25 44 0a 53 | 48 41 52 5f 45 4f 46 0a |!%U@%D.S|HAR_EOF.|
|00002960| 69 66 20 74 65 73 74 20 | 31 30 39 33 20 2d 6e 65 |if test |1093 -ne|
|00002970| 20 22 60 77 63 20 2d 63 | 20 3c 20 27 64 6f 6d 61 | "`wc -c| < 'doma|
|00002980| 69 6e 73 27 60 22 0a 74 | 68 65 6e 0a 09 65 63 68 |ins'`".t|hen..ech|
|00002990| 6f 20 73 68 61 72 3a 20 | 65 72 72 6f 72 20 74 72 |o shar: |error tr|
|000029a0| 61 6e 73 6d 69 74 74 69 | 6e 67 20 22 27 64 6f 6d |ansmitti|ng "'dom|
|000029b0| 61 69 6e 73 27 22 20 27 | 28 73 68 6f 75 6c 64 20 |ains'" '|(should |
|000029c0| 68 61 76 65 20 62 65 65 | 6e 20 31 30 39 33 20 63 |have bee|n 1093 c|
|000029d0| 68 61 72 61 63 74 65 72 | 73 29 27 0a 66 69 0a 66 |haracter|s)'.fi.f|
|000029e0| 69 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 65 78 74 |i.echo s|har: ext|
|000029f0| 72 61 63 74 69 6e 67 20 | 22 27 70 61 6c 69 61 73 |racting |"'palias|
|00002a00| 27 22 20 27 28 31 35 31 | 20 63 68 61 72 61 63 74 |'" '(151| charact|
|00002a10| 65 72 73 29 27 0a 69 66 | 20 74 65 73 74 20 2d 66 |ers)'.if| test -f|
|00002a20| 20 27 70 61 6c 69 61 73 | 27 0a 74 68 65 6e 0a 09 | 'palias|'.then..|
|00002a30| 65 63 68 6f 20 73 68 61 | 72 3a 20 77 69 6c 6c 20 |echo sha|r: will |
|00002a40| 6e 6f 74 20 6f 76 65 72 | 2d 77 72 69 74 65 20 65 |not over|-write e|
|00002a50| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 22 27 70 |xisting |file "'p|
|00002a60| 61 6c 69 61 73 27 22 0a | 65 6c 73 65 0a 63 61 74 |alias'".|else.cat|
|00002a70| 20 3c 3c 20 5c 53 48 41 | 52 5f 45 4f 46 20 3e 20 | << \SHA|R_EOF > |
|00002a80| 27 70 61 6c 69 61 73 27 | 0a 62 61 79 6c 6f 72 20 |'palias'|.baylor |
|00002a90| 62 61 79 6c 6f 72 21 25 | 73 0a 64 65 63 77 72 6c |baylor!%|s.decwrl|
|00002aa0| 20 73 68 65 6c 6c 21 69 | 68 6e 70 34 21 64 65 63 | shell!i|hnp4!dec|
|00002ab0| 77 72 6c 21 25 73 0a 69 | 68 6e 70 34 20 73 68 65 |wrl!%s.i|hnp4 she|
|00002ac0| 6c 6c 21 69 68 6e 70 34 | 21 25 73 0a 6b 69 74 74 |ll!ihnp4|!%s.kitt|
|00002ad0| 79 20 62 61 79 6c 6f 72 | 21 6b 69 74 74 79 21 25 |y baylor|!kitty!%|
|00002ae0| 73 0a 6e 65 75 72 6f 31 | 20 25 73 0a 70 73 75 76 |s.neuro1| %s.psuv|
|00002af0| 61 78 20 73 68 65 6c 6c | 21 70 73 75 76 61 78 21 |ax shell|!psuvax!|
|00002b00| 25 73 0a 72 69 63 65 20 | 20 72 69 63 65 21 25 73 |%s.rice | rice!%s|
|00002b10| 0a 73 68 65 6c 6c 20 73 | 68 65 6c 6c 21 25 73 0a |.shell s|hell!%s.|
|00002b20| 53 48 41 52 5f 45 4f 46 | 0a 69 66 20 74 65 73 74 |SHAR_EOF|.if test|
|00002b30| 20 31 35 31 20 2d 6e 65 | 20 22 60 77 63 20 2d 63 | 151 -ne| "`wc -c|
|00002b40| 20 3c 20 27 70 61 6c 69 | 61 73 27 60 22 0a 74 68 | < 'pali|as'`".th|
|00002b50| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 65 |en..echo| shar: e|
|00002b60| 72 72 6f 72 20 74 72 61 | 6e 73 6d 69 74 74 69 6e |rror tra|nsmittin|
|00002b70| 67 20 22 27 70 61 6c 69 | 61 73 27 22 20 27 28 73 |g "'pali|as'" '(s|
|00002b80| 68 6f 75 6c 64 20 68 61 | 76 65 20 62 65 65 6e 20 |hould ha|ve been |
|00002b90| 31 35 31 20 63 68 61 72 | 61 63 74 65 72 73 29 27 |151 char|acters)'|
|00002ba0| 0a 66 69 0a 66 69 0a 65 | 63 68 6f 20 73 68 61 72 |.fi.fi.e|cho shar|
|00002bb0| 3a 20 65 78 74 72 61 63 | 74 69 6e 67 20 22 27 61 |: extrac|ting "'a|
|00002bc0| 64 64 72 65 73 73 2e 31 | 27 22 20 27 28 33 35 38 |ddress.1|'" '(358|
|00002bd0| 39 20 63 68 61 72 61 63 | 74 65 72 73 29 27 0a 69 |9 charac|ters)'.i|
|00002be0| 66 20 74 65 73 74 20 2d | 66 20 27 61 64 64 72 65 |f test -|f 'addre|
|00002bf0| 73 73 2e 31 27 0a 74 68 | 65 6e 0a 09 65 63 68 6f |ss.1'.th|en..echo|
|00002c00| 20 73 68 61 72 3a 20 77 | 69 6c 6c 20 6e 6f 74 20 | shar: w|ill not |
|00002c10| 6f 76 65 72 2d 77 72 69 | 74 65 20 65 78 69 73 74 |over-wri|te exist|
|00002c20| 69 6e 67 20 66 69 6c 65 | 20 22 27 61 64 64 72 65 |ing file| "'addre|
|00002c30| 73 73 2e 31 27 22 0a 65 | 6c 73 65 0a 63 61 74 20 |ss.1'".e|lse.cat |
|00002c40| 3c 3c 20 5c 53 48 41 52 | 5f 45 4f 46 20 3e 20 27 |<< \SHAR|_EOF > '|
|00002c50| 61 64 64 72 65 73 73 2e | 31 27 0a 2e 54 48 20 41 |address.|1'..TH A|
|00002c60| 44 44 52 45 53 53 20 31 | 20 6c 6f 63 61 6c 0a 2e |DDRESS 1| local..|
|00002c70| 53 48 20 4e 41 4d 45 0a | 61 64 64 72 65 73 73 20 |SH NAME.|address |
|00002c80| 2d 20 64 69 73 70 6c 61 | 79 20 74 68 65 20 70 61 |- displa|y the pa|
|00002c90| 74 68 20 67 65 6e 65 72 | 61 74 65 64 20 62 79 20 |th gener|ated by |
|00002ca0| 5c 66 42 64 65 6c 69 76 | 65 72 5c 66 52 20 66 6f |\fBdeliv|er\fR fo|
|00002cb0| 72 20 61 6e 0a 52 46 43 | 38 32 32 2d 66 6f 72 6d |r an.RFC|822-form|
|00002cc0| 61 74 20 61 64 64 72 65 | 73 73 2e 0a 2e 53 48 20 |at addre|ss...SH |
|00002cd0| 53 59 4e 4f 50 53 49 53 | 0a 61 64 64 72 65 73 73 |SYNOPSIS|.address|
|00002ce0| 20 72 66 63 2d 61 64 64 | 72 65 73 73 20 5b 20 2e | rfc-add|ress [ .|
|00002cf0| 2e 2e 20 5d 0a 2e 53 48 | 20 44 45 53 43 52 49 50 |.. ]..SH| DESCRIP|
|00002d00| 54 49 4f 4e 0a 54 68 69 | 73 20 70 72 6f 67 72 61 |TION.Thi|s progra|
|00002d10| 6d 20 61 6c 6c 6f 77 73 | 20 79 6f 75 20 74 6f 20 |m allows| you to |
|00002d20| 63 68 65 63 6b 20 74 68 | 65 20 55 55 43 50 20 6d |check th|e UUCP m|
|00002d30| 61 69 6c 20 72 6f 75 74 | 69 6e 67 20 70 61 74 68 |ail rout|ing path|
|00002d40| 20 74 68 61 74 20 77 69 | 6c 6c 0a 62 65 20 67 65 | that wi|ll.be ge|
|00002d50| 6e 65 72 61 74 65 64 20 | 62 79 20 74 68 65 20 55 |nerated |by the U|
|00002d60| 55 43 50 20 6d 61 69 6c | 65 72 20 5c 66 42 64 65 |UCP mail|er \fBde|
|00002d70| 6c 69 76 65 72 5c 66 52 | 20 69 66 20 79 6f 75 20 |liver\fR| if you |
|00002d80| 73 70 65 63 69 66 79 20 | 61 6e 0a 52 46 43 38 32 |specify |an.RFC82|
|00002d90| 32 2d 66 6f 72 6d 61 74 | 20 61 64 64 72 65 73 73 |2-format| address|
|00002da0| 20 5c 66 42 72 66 63 2d | 61 64 64 72 65 73 73 5c | \fBrfc-|address\|
|00002db0| 66 52 20 69 6e 20 74 68 | 65 20 60 60 54 6f 3a 27 |fR in th|e ``To:'|
|00002dc0| 27 20 66 69 65 6c 64 20 | 6f 66 20 74 68 65 20 6d |' field |of the m|
|00002dd0| 61 69 6c 20 68 65 61 64 | 65 72 2e 0a 46 6f 72 20 |ail head|er..For |
|00002de0| 65 61 63 68 20 52 46 43 | 2d 73 74 79 6c 65 20 61 |each RFC|-style a|
|00002df0| 64 64 72 65 73 73 20 6f | 6e 20 74 68 65 20 63 6f |ddress o|n the co|
|00002e00| 6d 6d 61 6e 64 20 6c 69 | 6e 65 2c 20 5c 66 42 61 |mmand li|ne, \fBa|
|00002e10| 64 64 72 65 73 73 5c 66 | 52 20 65 63 68 6f 65 73 |ddress\f|R echoes|
|00002e20| 20 74 68 65 0a 61 64 64 | 72 65 73 73 20 74 6f 20 | the.add|ress to |
|00002e30| 74 68 65 20 73 74 61 6e | 64 61 72 64 20 6f 75 74 |the stan|dard out|
|00002e40| 70 75 74 2c 20 66 6f 6c | 6c 6f 77 65 64 20 62 79 |put, fol|lowed by|
|00002e50| 20 61 20 63 6f 6c 6f 6e | 2c 20 66 6f 6c 6c 6f 77 | a colon|, follow|
|00002e60| 65 64 20 62 79 0a 74 68 | 65 20 55 55 43 50 20 61 |ed by.th|e UUCP a|
|00002e70| 64 64 72 65 73 73 20 74 | 68 61 74 20 77 69 6c 6c |ddress t|hat will|
|00002e80| 20 62 65 20 75 73 65 64 | 20 74 6f 20 73 65 6e 64 | be used| to send|
|00002e90| 20 74 68 65 20 6d 65 73 | 73 61 67 65 20 74 6f 20 | the mes|sage to |
|00002ea0| 74 68 61 74 20 61 64 64 | 72 65 73 73 2e 0a 0a 2e |that add|ress....|
|00002eb0| 53 48 20 22 41 44 44 52 | 45 53 53 20 46 4f 52 4d |SH "ADDR|ESS FORM|
|00002ec0| 41 54 22 0a 42 72 69 65 | 66 6c 79 2c 20 74 68 65 |AT".Brie|fly, the|
|00002ed0| 20 52 46 43 38 32 32 2d | 66 6f 72 6d 61 74 20 61 | RFC822-|format a|
|00002ee0| 64 64 72 65 73 73 20 69 | 73 20 6f 66 20 74 68 65 |ddress i|s of the|
|00002ef0| 20 66 6f 72 6d 0a 2e 6e | 66 0a 2e 73 70 20 31 0a | form..n|f..sp 1.|
|00002f00| 09 3c 6c 6f 63 61 6c 61 | 64 64 72 65 73 73 3e 40 |.<locala|ddress>@|
|00002f10| 3c 68 6f 73 74 6e 61 6d | 65 3e 2e 3c 6e 65 74 77 |<hostnam|e>.<netw|
|00002f20| 6f 72 6b 3e 0a 2e 73 70 | 20 31 0a 2e 66 69 0a 77 |ork>..sp| 1..fi.w|
|00002f30| 68 65 72 65 20 3c 68 6f | 73 74 6e 61 6d 65 3e 20 |here <ho|stname> |
|00002f40| 69 73 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |is the n|ame of t|
|00002f50| 68 65 20 73 79 73 74 65 | 6d 20 79 6f 75 20 61 72 |he syste|m you ar|
|00002f60| 65 20 73 65 6e 64 69 6e | 67 20 74 68 65 20 6d 65 |e sendin|g the me|
|00002f70| 73 73 61 67 65 0a 74 6f | 2c 20 3c 6e 65 74 77 6f |ssage.to|, <netwo|
|00002f80| 72 6b 3e 20 69 73 20 61 | 20 6d 6f 64 69 66 69 65 |rk> is a| modifie|
|00002f90| 72 20 66 6f 72 20 3c 68 | 6f 73 74 6e 61 6d 65 3e |r for <h|ostname>|
|00002fa0| 20 69 64 65 6e 74 69 66 | 79 69 6e 67 20 74 68 65 | identif|ying the|
|00002fb0| 20 6e 65 74 77 6f 72 6b | 20 69 6e 0a 77 68 69 63 | network| in.whic|
|00002fc0| 68 20 74 68 65 20 61 64 | 64 72 65 73 73 20 69 73 |h the ad|dress is|
|00002fd0| 20 74 6f 20 62 65 20 69 | 6e 74 65 72 70 72 65 74 | to be i|nterpret|
|00002fe0| 65 64 20 28 55 55 43 50 | 2c 20 41 52 50 41 2c 20 |ed (UUCP|, ARPA, |
|00002ff0| 4d 41 49 4c 4e 45 54 2c | 20 43 53 4e 45 54 2c 20 |MAILNET,| CSNET, |
|00003000| 65 74 63 29 3b 0a 61 6e | 64 20 3c 6c 6f 63 61 6c |etc);.an|d <local|
|00003010| 61 64 64 72 65 73 73 3e | 20 69 73 20 61 6e 20 61 |address>| is an a|
|00003020| 64 64 72 65 73 73 20 73 | 74 72 69 6e 67 20 74 6f |ddress s|tring to|
|00003030| 20 62 65 20 69 6e 74 65 | 72 70 72 65 74 65 64 20 | be inte|rpreted |
|00003040| 6f 6e 20 74 68 65 20 68 | 6f 73 74 0a 6d 61 63 68 |on the h|ost.mach|
|00003050| 69 6e 65 2e 0a 0a 54 68 | 65 20 3c 6c 6f 63 61 6c |ine...Th|e <local|
|00003060| 61 64 64 72 65 73 73 3e | 20 66 69 65 6c 64 20 6d |address>| field m|
|00003070| 61 79 20 63 6f 6e 74 61 | 69 6e 20 66 75 72 74 68 |ay conta|in furth|
|00003080| 65 72 20 72 65 6d 6f 74 | 65 20 61 64 64 72 65 73 |er remot|e addres|
|00003090| 73 65 73 20 74 6f 20 62 | 65 0a 69 6e 74 65 72 70 |ses to b|e.interp|
|000030a0| 72 65 74 65 64 20 6f 6e | 20 74 68 65 20 68 6f 73 |reted on| the hos|
|000030b0| 74 20 6d 61 63 68 69 6e | 65 2e 20 20 54 79 70 69 |t machin|e. Typi|
|000030c0| 63 61 6c 6c 79 20 74 68 | 69 73 20 77 69 6c 6c 20 |cally th|is will |
|000030d0| 62 65 20 61 6e 20 61 64 | 64 72 65 73 73 20 66 6f |be an ad|dress fo|
|000030e0| 72 0a 6d 61 69 6c 69 6e | 67 20 76 69 61 20 61 6e |r.mailin|g via an|
|000030f0| 6f 74 68 65 72 20 6e 65 | 74 77 6f 72 6b 3b 20 61 |other ne|twork; a|
|00003100| 6e 64 20 69 6e 20 70 61 | 72 74 69 63 75 6c 61 72 |nd in pa|rticular|
|00003110| 2c 20 74 68 65 20 3c 6c | 6f 63 61 6c 61 64 64 72 |, the <l|ocaladdr|
|00003120| 65 73 73 3e 20 6d 61 79 | 0a 28 72 65 63 75 72 73 |ess> may|.(recurs|
|00003130| 69 76 65 6c 79 29 20 62 | 65 20 69 64 65 6e 74 69 |ively) b|e identi|
|00003140| 63 61 6c 20 69 6e 20 66 | 6f 72 6d 61 74 20 74 6f |cal in f|ormat to|
|00003150| 20 74 68 65 20 52 46 43 | 20 61 64 64 72 65 73 73 | the RFC| address|
|00003160| 2c 20 62 75 74 20 77 69 | 74 68 0a 74 68 65 20 73 |, but wi|th.the s|
|00003170| 79 6d 62 6f 6c 20 60 25 | 27 20 72 65 70 6c 61 63 |ymbol `%|' replac|
|00003180| 69 6e 67 20 74 68 65 20 | 73 79 6d 62 6f 6c 20 60 |ing the |symbol `|
|00003190| 40 27 20 69 6e 20 74 68 | 65 20 73 74 61 6e 64 61 |@' in th|e standa|
|000031a0| 72 64 20 61 64 64 72 65 | 73 73 20 66 6f 72 6d 61 |rd addre|ss forma|
|000031b0| 74 2e 0a 57 68 65 72 65 | 20 74 68 69 73 20 66 6f |t..Where| this fo|
|000031c0| 72 6d 20 69 73 20 75 73 | 65 64 2c 20 74 68 65 20 |rm is us|ed, the |
|000031d0| 72 69 67 68 74 6d 6f 73 | 74 20 25 20 69 73 20 72 |rightmos|t % is r|
|000031e0| 65 70 6c 61 63 65 64 20 | 62 79 20 61 6e 0a 40 20 |eplaced |by an.@ |
|000031f0| 62 65 66 6f 72 65 20 74 | 68 65 20 68 6f 73 74 20 |before t|he host |
|00003200| 6d 61 63 68 69 6e 65 20 | 73 65 6e 64 73 20 74 68 |machine |sends th|
|00003210| 65 20 6d 65 73 73 61 67 | 65 20 6f 75 74 2e 0a 0a |e messag|e out...|
|00003220| 4f 6e 20 6f 75 72 20 73 | 79 73 74 65 6d 2c 20 74 |On our s|ystem, t|
|00003230| 68 65 20 70 72 65 73 65 | 6e 74 6c 79 0a 76 61 6c |he prese|ntly.val|
|00003240| 69 64 20 3c 6e 65 74 77 | 6f 72 6b 3e 73 20 61 72 |id <netw|ork>s ar|
|00003250| 65 20 55 55 43 50 2c 20 | 41 52 50 41 2c 20 43 53 |e UUCP, |ARPA, CS|
|00003260| 4e 45 54 2c 20 61 6e 64 | 20 4d 41 49 4c 4e 45 54 |NET, and| MAILNET|
|00003270| 2e 0a 54 68 65 20 72 65 | 63 65 6e 74 6c 79 20 70 |..The re|cently p|
|00003280| 72 6f 70 6f 73 65 64 20 | 55 55 43 50 20 64 6f 6d |roposed |UUCP dom|
|00003290| 61 69 6e 20 6e 61 6d 65 | 73 20 61 72 65 20 61 6c |ain name|s are al|
|000032a0| 73 6f 20 61 63 63 65 70 | 74 65 64 2c 20 61 6c 74 |so accep|ted, alt|
|000032b0| 68 6f 75 67 68 0a 74 68 | 65 79 20 61 72 65 20 74 |hough.th|ey are t|
|000032c0| 72 65 61 74 65 64 20 74 | 68 65 20 73 61 6d 65 20 |reated t|he same |
|000032d0| 61 73 20 70 6c 61 69 6e | 20 60 60 55 55 43 50 27 |as plain| ``UUCP'|
|000032e0| 27 2e 0a 4f 6d 69 74 74 | 69 6e 67 0a 74 68 65 20 |'..Omitt|ing.the |
|000032f0| 3c 6e 65 74 77 6f 72 6b | 3e 20 63 61 75 73 65 73 |<network|> causes|
|00003300| 20 74 68 65 20 6e 65 74 | 77 6f 72 6b 20 74 6f 20 | the net|work to |
|00003310| 64 65 66 61 75 6c 74 20 | 74 6f 20 55 55 43 50 2e |default |to UUCP.|
|00003320| 20 20 54 68 65 20 3c 68 | 6f 73 74 6e 61 6d 65 3e | The <h|ostname>|
|00003330| 0a 73 68 6f 75 6c 64 20 | 62 65 20 74 68 65 20 6e |.should |be the n|
|00003340| 61 6d 65 20 6f 66 20 61 | 20 72 65 6d 6f 74 65 20 |ame of a| remote |
|00003350| 6d 61 63 68 69 6e 65 20 | 74 6f 20 77 68 69 63 68 |machine |to which|
|00003360| 20 74 68 65 20 6d 65 73 | 73 61 67 65 20 69 73 0a | the mes|sage is.|
|00003370| 64 69 72 65 63 74 65 64 | 3b 20 73 65 65 20 5c 66 |directed|; see \f|
|00003380| 49 2f 75 73 72 2f 6c 69 | 62 2f 75 75 63 70 2f 75 |I/usr/li|b/uucp/u|
|00003390| 75 61 64 64 72 65 73 73 | 2e 61 6c 70 68 61 5c 66 |uaddress|.alpha\f|
|000033a0| 52 20 66 6f 72 20 61 20 | 6c 69 73 74 20 6f 66 20 |R for a |list of |
|000033b0| 61 6c 6c 0a 6b 6e 6f 77 | 6e 20 55 55 43 50 20 68 |all.know|n UUCP h|
|000033c0| 6f 73 74 6e 61 6d 65 73 | 2e 20 20 49 74 20 69 73 |ostnames|. It is|
|000033d0| 20 5c 66 49 6e 6f 74 5c | 66 52 20 6e 65 63 65 73 | \fInot\|fR neces|
|000033e0| 73 61 72 79 20 74 6f 20 | 73 70 65 63 69 66 79 20 |sary to |specify |
|000033f0| 61 20 55 55 43 50 20 70 | 61 74 68 6e 61 6d 65 0a |a UUCP p|athname.|
|00003400| 77 68 65 6e 20 75 73 69 | 6e 67 20 74 68 69 73 20 |when usi|ng this |
|00003410| 66 6f 72 6d 61 74 3b 20 | 74 68 65 20 70 61 74 68 |format; |the path|
|00003420| 6e 61 6d 65 20 69 73 20 | 61 75 74 6f 6d 61 74 69 |name is |automati|
|00003430| 63 61 6c 6c 79 20 64 65 | 74 65 72 6d 69 6e 65 64 |cally de|termined|
|00003440| 20 66 6f 72 20 79 6f 75 | 0a 61 6e 64 20 73 75 62 | for you|.and sub|
|00003450| 73 74 69 74 75 74 65 64 | 20 69 6e 74 6f 20 74 68 |stituted| into th|
|00003460| 65 20 61 64 64 72 65 73 | 73 20 62 65 66 6f 72 65 |e addres|s before|
|00003470| 20 6d 61 69 6c 69 6e 67 | 2e 20 20 54 68 65 20 73 | mailing|. The s|
|00003480| 65 6c 65 63 74 65 64 20 | 70 61 74 68 6e 61 6d 65 |elected |pathname|
|00003490| 0a 69 73 20 64 65 74 65 | 72 6d 69 6e 65 64 20 75 |.is dete|rmined u|
|000034a0| 73 69 6e 67 20 74 68 65 | 20 5c 66 42 70 61 74 68 |sing the| \fBpath|
|000034b0| 61 6c 69 61 73 5c 66 52 | 20 64 61 74 61 62 61 73 |alias\fR| databas|
|000034c0| 65 2c 20 61 6e 64 20 69 | 73 20 73 75 70 70 6f 73 |e, and i|s suppos|
|000034d0| 65 64 0a 74 6f 20 62 65 | 20 6f 70 74 69 6d 61 6c |ed.to be| optimal|
|000034e0| 2c 20 74 61 6b 69 6e 67 | 20 69 6e 74 6f 20 63 6f |, taking| into co|
|000034f0| 6e 73 69 64 65 72 61 74 | 69 6f 6e 20 69 6e 66 6f |nsiderat|ion info|
|00003500| 72 6d 61 74 69 6f 6e 20 | 70 72 6f 76 69 64 65 64 |rmation |provided|
|00003510| 20 62 79 0a 65 61 63 68 | 20 73 69 74 65 20 61 62 | by.each| site ab|
|00003520| 6f 75 74 20 68 6f 77 20 | 6f 66 74 65 6e 20 74 68 |out how |often th|
|00003530| 65 79 20 73 65 6e 64 20 | 6d 61 69 6c 20 6f 75 74 |ey send |mail out|
|00003540| 2c 20 65 74 63 2e 0a 0a | 2e 53 48 20 45 58 41 4d |, etc...|.SH EXAM|
|00003550| 50 4c 45 53 0a 2e 48 50 | 20 35 0a 6a 6f 65 0a 2e |PLES..HP| 5.joe..|
|00003560| 62 72 0a 54 68 65 20 6d | 65 73 73 61 67 65 20 69 |br.The m|essage i|
|00003570| 73 20 73 65 6e 74 20 74 | 6f 20 74 68 65 20 75 73 |s sent t|o the us|
|00003580| 65 72 20 60 60 6a 6f 65 | 27 27 20 6f 6e 20 74 68 |er ``joe|'' on th|
|00003590| 65 20 6c 6f 63 61 6c 20 | 73 79 73 74 65 6d 2e 0a |e local |system..|
|000035a0| 2e 48 50 20 35 0a 6a 6f | 65 40 75 63 62 76 61 78 |.HP 5.jo|e@ucbvax|
|000035b0| 0a 2e 62 72 0a 54 68 65 | 20 6d 65 73 73 61 67 65 |..br.The| message|
|000035c0| 20 69 73 20 73 65 6e 74 | 20 74 6f 20 6a 6f 65 20 | is sent| to joe |
|000035d0| 6f 6e 20 74 68 65 20 55 | 55 43 50 20 73 79 73 74 |on the U|UCP syst|
|000035e0| 65 6d 20 6e 61 6d 65 64 | 20 60 60 75 63 62 76 61 |em named| ``ucbva|
|000035f0| 78 27 27 3b 20 74 68 69 | 73 0a 61 64 64 72 65 73 |x''; thi|s.addres|
|00003600| 73 20 69 73 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |s is aut|omatical|
|00003610| 6c 79 20 74 72 61 6e 73 | 6c 61 74 65 64 20 74 6f |ly trans|lated to|
|00003620| 20 61 20 70 72 6f 70 65 | 72 20 28 61 6e 64 20 6f | a prope|r (and o|
|00003630| 73 74 65 6e 73 69 62 6c | 79 0a 6f 70 74 69 6d 61 |stensibl|y.optima|
|00003640| 6c 29 20 55 55 43 50 20 | 70 61 74 68 2e 0a 2e 48 |l) UUCP |path...H|
|00003650| 50 20 35 0a 6a 6f 65 40 | 75 63 62 76 61 78 2e 55 |P 5.joe@|ucbvax.U|
|00003660| 55 43 50 0a 2e 62 72 0a | 53 61 6d 65 20 61 73 20 |UCP..br.|Same as |
|00003670| 6a 6f 65 40 75 63 62 76 | 61 78 0a 2e 48 50 20 35 |joe@ucbv|ax..HP 5|
|00003680| 0a 6a 6f 65 40 75 63 62 | 76 61 78 2e 41 52 50 41 |.joe@ucb|vax.ARPA|
|00003690| 0a 2e 62 72 0a 54 68 65 | 20 6d 65 73 73 61 67 65 |..br.The| message|
|000036a0| 20 69 73 20 61 64 64 72 | 65 73 73 65 64 20 74 6f | is addr|essed to|
|000036b0| 20 6a 6f 65 20 61 74 20 | 75 63 62 76 61 78 2c 20 | joe at |ucbvax, |
|000036c0| 75 73 69 6e 67 20 74 68 | 65 20 41 52 50 41 20 6e |using th|e ARPA n|
|000036d0| 65 74 77 6f 72 6b 2e 0a | 54 68 65 20 6d 65 73 73 |etwork..|The mess|
|000036e0| 61 67 65 20 77 69 6c 6c | 20 62 65 20 72 6f 75 74 |age will| be rout|
|000036f0| 65 64 20 74 6f 20 74 68 | 65 20 41 52 50 41 6e 65 |ed to th|e ARPAne|
|00003700| 74 20 76 69 61 20 61 20 | 55 55 43 50 2d 41 52 50 |t via a |UUCP-ARP|
|00003710| 41 6e 65 74 20 67 61 74 | 65 77 61 79 2e 0a 2e 48 |Anet gat|eway...H|
|00003720| 50 20 35 0a 6a 6f 65 25 | 6d 69 74 2d 6d 75 6c 74 |P 5.joe%|mit-mult|
|00003730| 69 63 73 2e 41 52 50 41 | 40 75 63 62 76 61 78 0a |ics.ARPA|@ucbvax.|
|00003740| 2e 62 72 0a 54 68 65 20 | 6d 65 73 73 61 67 65 20 |.br.The |message |
|00003750| 69 73 20 73 65 6e 74 20 | 74 6f 20 75 63 62 76 61 |is sent |to ucbva|
|00003760| 78 2c 20 77 68 6f 20 74 | 68 65 6e 20 75 73 65 73 |x, who t|hen uses|
|00003770| 20 74 68 65 20 61 64 64 | 72 65 73 73 0a 6a 6f 65 | the add|ress.joe|
|00003780| 40 6d 69 74 2d 6d 75 6c | 74 69 63 73 2e 41 52 50 |@mit-mul|tics.ARP|
|00003790| 41 20 74 6f 20 73 65 6e | 64 20 74 68 65 20 6d 65 |A to sen|d the me|
|000037a0| 73 73 61 67 65 20 6f 6e | 20 74 6f 20 6d 69 74 2d |ssage on| to mit-|
|000037b0| 6d 75 6c 74 69 63 73 20 | 76 69 61 20 74 68 65 0a |multics |via the.|
|000037c0| 41 52 50 41 6e 65 74 2e | 20 20 53 69 6e 63 65 20 |ARPAnet.| Since |
|000037d0| 75 63 62 76 61 78 20 69 | 73 20 6f 6e 20 74 68 65 |ucbvax i|s on the|
|000037e0| 20 61 72 70 61 6e 65 74 | 2c 20 74 68 69 73 20 61 | arpanet|, this a|
|000037f0| 64 64 72 65 73 73 20 77 | 69 6c 6c 20 77 6f 72 6b |ddress w|ill work|
|00003800| 20 63 6f 72 72 65 63 74 | 6c 79 0a 28 61 73 20 6c | correct|ly.(as l|
|00003810| 6f 6e 67 20 61 73 20 74 | 68 65 72 65 20 69 73 20 |ong as t|here is |
|00003820| 73 6f 6d 65 6f 6e 65 20 | 6e 61 6d 65 64 20 6a 6f |someone |named jo|
|00003830| 65 20 6f 6e 20 74 68 65 | 20 4d 49 54 20 6d 75 6c |e on the| MIT mul|
|00003840| 74 69 63 73 20 6d 61 63 | 68 69 6e 65 29 2e 0a 2e |tics mac|hine)...|
|00003850| 48 50 20 35 0a 6a 6f 65 | 25 76 61 6e 64 65 72 62 |HP 5.joe|%vanderb|
|00003860| 69 6c 74 2e 4d 41 49 4c | 4e 45 54 25 6d 69 74 2d |ilt.MAIL|NET%mit-|
|00003870| 6d 75 6c 74 69 63 73 2e | 41 52 50 41 40 75 63 62 |multics.|ARPA@ucb|
|00003880| 76 61 78 0a 2e 62 72 0a | 54 68 65 20 6d 65 73 73 |vax..br.|The mess|
|00003890| 61 67 65 20 69 73 20 73 | 65 6e 74 20 76 69 61 20 |age is s|ent via |
|000038a0| 55 55 43 50 20 74 6f 20 | 75 63 62 76 61 78 2c 20 |UUCP to |ucbvax, |
|000038b0| 77 68 6f 20 74 68 65 6e | 20 73 65 6e 64 73 20 74 |who then| sends t|
|000038c0| 68 65 20 6d 65 73 73 61 | 67 65 0a 74 6f 20 6d 69 |he messa|ge.to mi|
|000038d0| 74 2d 6d 75 6c 74 69 63 | 73 20 76 69 61 20 74 68 |t-multic|s via th|
|000038e0| 65 20 61 72 70 61 6e 65 | 74 3b 20 6d 69 74 2d 6d |e arpane|t; mit-m|
|000038f0| 75 6c 74 69 63 73 20 74 | 68 65 6e 20 73 65 6e 64 |ultics t|hen send|
|00003900| 73 20 74 68 65 20 6d 65 | 73 73 61 67 65 0a 74 6f |s the me|ssage.to|
|00003910| 20 6a 6f 65 40 76 61 6e | 64 65 72 62 69 6c 74 20 | joe@van|derbilt |
|00003920| 76 69 61 20 4d 41 49 4c | 4e 45 54 2e 20 20 53 69 |via MAIL|NET. Si|
|00003930| 6e 63 65 20 74 68 65 20 | 61 62 6f 76 65 20 6d 61 |nce the |above ma|
|00003940| 63 68 69 6e 65 73 20 65 | 61 63 68 20 68 61 76 65 |chines e|ach have|
|00003950| 20 61 63 63 65 73 73 0a | 74 6f 20 74 68 65 20 6e | access.|to the n|
|00003960| 65 74 77 6f 72 6b 73 20 | 6e 61 6d 65 64 20 69 6e |etworks |named in|
|00003970| 20 74 68 65 20 61 64 64 | 72 65 73 73 2c 20 74 68 | the add|ress, th|
|00003980| 69 73 20 61 64 64 72 65 | 73 73 20 77 69 6c 6c 20 |is addre|ss will |
|00003990| 77 6f 72 6b 20 63 6f 72 | 72 65 63 74 6c 79 2e 0a |work cor|rectly..|
|000039a0| 2e 53 48 20 46 49 4c 45 | 53 0a 2f 75 73 72 2f 6c |.SH FILE|S./usr/l|
|000039b0| 69 62 2f 75 75 63 70 2f | 64 6f 6d 61 69 6e 73 20 |ib/uucp/|domains |
|000039c0| 2d 20 44 6f 6d 61 69 6e | 2f 67 61 74 65 77 61 79 |- Domain|/gateway|
|000039d0| 20 74 61 62 6c 65 0a 2e | 62 72 0a 2f 75 73 72 2f | table..|br./usr/|
|000039e0| 6c 69 62 2f 75 75 63 70 | 2f 70 61 6c 69 61 73 20 |lib/uucp|/palias |
|000039f0| 2d 20 50 61 74 68 61 6c | 69 61 73 20 64 61 74 61 |- Pathal|ias data|
|00003a00| 62 61 73 65 0a 2e 53 48 | 20 22 53 45 45 20 41 4c |base..SH| "SEE AL|
|00003a10| 53 4f 22 0a 6f 70 61 74 | 68 28 33 29 2c 20 75 75 |SO".opat|h(3), uu|
|00003a20| 70 61 74 68 28 31 29 2c | 20 75 75 6d 61 69 6c 28 |path(1),| uumail(|
|00003a30| 38 29 0a 2e 53 48 20 41 | 55 54 48 4f 52 0a 45 72 |8)..SH A|UTHOR.Er|
|00003a40| 69 63 20 52 6f 73 6b 6f | 73 2c 20 43 4f 4e 43 55 |ic Rosko|s, CONCU|
|00003a50| 52 52 45 4e 54 20 43 4f | 4d 50 55 54 45 52 53 0a |RRENT CO|MPUTERS.|
|00003a60| 53 48 41 52 5f 45 4f 46 | 0a 69 66 20 74 65 73 74 |SHAR_EOF|.if test|
|00003a70| 20 33 35 38 39 20 2d 6e | 65 20 22 60 77 63 20 2d | 3589 -n|e "`wc -|
|00003a80| 63 20 3c 20 27 61 64 64 | 72 65 73 73 2e 31 27 60 |c < 'add|ress.1'`|
|00003a90| 22 0a 74 68 65 6e 0a 09 | 65 63 68 6f 20 73 68 61 |".then..|echo sha|
|00003aa0| 72 3a 20 65 72 72 6f 72 | 20 74 72 61 6e 73 6d 69 |r: error| transmi|
|00003ab0| 74 74 69 6e 67 20 22 27 | 61 64 64 72 65 73 73 2e |tting "'|address.|
|00003ac0| 31 27 22 20 27 28 73 68 | 6f 75 6c 64 20 68 61 76 |1'" '(sh|ould hav|
|00003ad0| 65 20 62 65 65 6e 20 33 | 35 38 39 20 63 68 61 72 |e been 3|589 char|
|00003ae0| 61 63 74 65 72 73 29 27 | 0a 66 69 0a 66 69 0a 65 |acters)'|.fi.fi.e|
|00003af0| 63 68 6f 20 73 68 61 72 | 3a 20 65 78 74 72 61 63 |cho shar|: extrac|
|00003b00| 74 69 6e 67 20 22 27 61 | 64 64 72 65 73 73 2e 63 |ting "'a|ddress.c|
|00003b10| 27 22 20 27 28 31 30 33 | 35 20 63 68 61 72 61 63 |'" '(103|5 charac|
|00003b20| 74 65 72 73 29 27 0a 69 | 66 20 74 65 73 74 20 2d |ters)'.i|f test -|
|00003b30| 66 20 27 61 64 64 72 65 | 73 73 2e 63 27 0a 74 68 |f 'addre|ss.c'.th|
|00003b40| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 77 |en..echo| shar: w|
|00003b50| 69 6c 6c 20 6e 6f 74 20 | 6f 76 65 72 2d 77 72 69 |ill not |over-wri|
|00003b60| 74 65 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |te exist|ing file|
|00003b70| 20 22 27 61 64 64 72 65 | 73 73 2e 63 27 22 0a 65 | "'addre|ss.c'".e|
|00003b80| 6c 73 65 0a 63 61 74 20 | 3c 3c 20 5c 53 48 41 52 |lse.cat |<< \SHAR|
|00003b90| 5f 45 4f 46 20 3e 20 27 | 61 64 64 72 65 73 73 2e |_EOF > '|address.|
|00003ba0| 63 27 0a 2f 2a 0a 20 2a | 20 61 64 64 72 65 73 73 |c'./*. *| address|
|00003bb0| 20 2d 20 72 75 6e 20 6f | 70 61 74 68 20 74 6f 20 | - run o|path to |
|00003bc0| 73 65 65 20 77 68 61 74 | 20 61 20 74 72 61 6e 73 |see what| a trans|
|00003bd0| 6c 61 74 65 64 20 52 46 | 43 38 32 32 20 61 64 64 |lated RF|C822 add|
|00003be0| 72 65 73 73 20 77 69 6c | 6c 20 63 6f 6d 65 0a 20 |ress wil|l come. |
|00003bf0| 2a 20 6f 75 74 20 61 73 | 2e 0a 20 2a 0a 20 2a 20 |* out as|.. *. * |
|00003c00| 42 79 20 45 2e 20 52 6f | 73 6b 6f 73 20 31 2f 31 |By E. Ro|skos 1/1|
|00003c10| 36 2f 38 35 0a 20 2a 20 | 24 4c 6f 67 3a 09 61 64 |6/85. * |$Log:.ad|
|00003c20| 64 72 65 73 73 2e 63 2c | 76 20 24 0a 20 2a 20 52 |dress.c,|v $. * R|
|00003c30| 65 76 69 73 69 6f 6e 20 | 31 2e 33 20 20 38 35 2f |evision |1.3 85/|
|00003c40| 31 31 2f 32 34 20 20 31 | 34 3a 35 30 3a 30 31 20 |11/24 1|4:50:01 |
|00003c50| 20 73 6f 62 0a 20 2a 20 | 41 64 64 65 64 20 63 6f | sob. * |Added co|
|00003c60| 72 72 65 63 74 69 6f 6e | 73 20 70 72 6f 76 69 64 |rrection|s provid|
|00003c70| 65 64 20 62 79 20 72 65 | 67 69 6e 61 21 6d 61 72 |ed by re|gina!mar|
|00003c80| 6b 0a 20 2a 20 0a 20 2a | 20 52 65 76 69 73 69 6f |k. * . *| Revisio|
|00003c90| 6e 20 31 2e 32 20 20 38 | 35 2f 30 39 2f 31 36 20 |n 1.2 8|5/09/16 |
|00003ca0| 20 31 38 3a 33 31 3a 35 | 33 20 20 73 6f 62 0a 20 | 18:31:5|3 sob. |
|00003cb0| 2a 20 41 64 64 65 64 20 | 44 45 42 55 47 20 66 6c |* Added |DEBUG fl|
|00003cc0| 61 67 0a 20 2a 20 0a 20 | 2a 20 52 65 76 69 73 69 |ag. * . |* Revisi|
|00003cd0| 6f 6e 20 31 2e 31 20 20 | 38 35 2f 30 39 2f 31 36 |on 1.1 |85/09/16|
|00003ce0| 20 20 31 37 3a 35 30 3a | 32 34 20 20 73 6f 62 0a | 17:50:|24 sob.|
|00003cf0| 20 2a 20 49 6e 69 74 69 | 61 6c 20 72 65 76 69 73 | * Initi|al revis|
|00003d00| 69 6f 6e 0a 20 2a 20 0a | 20 2a 2f 0a 23 64 65 66 |ion. * .| */.#def|
|00003d10| 69 6e 65 20 5f 44 45 46 | 49 4e 45 0a 23 69 6e 63 |ine _DEF|INE.#inc|
|00003d20| 6c 75 64 65 20 22 75 75 | 63 6f 6e 66 2e 68 22 0a |lude "uu|conf.h".|
|00003d30| 0a 73 74 61 74 69 63 20 | 63 68 61 72 20 72 63 73 |.static |char rcs|
|00003d40| 69 64 5b 5d 20 3d 20 22 | 24 48 65 61 64 65 72 3a |id[] = "|$Header:|
|00003d50| 20 61 64 64 72 65 73 73 | 2e 63 2c 76 20 31 2e 33 | address|.c,v 1.3|
|00003d60| 20 38 35 2f 31 31 2f 32 | 34 20 31 34 3a 35 30 3a | 85/11/2|4 14:50:|
|00003d70| 30 31 20 73 6f 62 20 45 | 78 70 20 24 22 3b 0a 0a |01 sob E|xp $";..|
|00003d80| 45 58 54 45 52 4e 20 63 | 68 61 72 20 2a 70 61 74 |EXTERN c|har *pat|
|00003d90| 68 73 3b 0a 63 68 61 72 | 20 2a 6f 70 61 74 68 28 |hs;.char| *opath(|
|00003da0| 29 3b 0a 69 6e 74 20 44 | 65 62 75 67 3b 0a 0a 6d |);.int D|ebug;..m|
|00003db0| 61 69 6e 28 61 72 67 63 | 2c 61 72 67 76 29 0a 69 |ain(argc|,argv).i|
|00003dc0| 6e 74 20 61 72 67 63 3b | 0a 63 68 61 72 20 2a 2a |nt argc;|.char **|
|00003dd0| 61 72 67 76 3b 0a 7b 0a | 63 68 61 72 20 2a 70 3b |argv;.{.|char *p;|
|00003de0| 0a 69 6e 74 20 75 73 77 | 69 74 63 68 3b 0a 0a 70 |.int usw|itch;..p|
|00003df0| 61 74 68 73 20 3d 20 44 | 41 54 41 42 41 53 45 3b |aths = D|ATABASE;|
|00003e00| 0a 43 6f 6e 66 46 69 6c | 65 3d 43 4f 4e 46 49 47 |.ConfFil|e=CONFIG|
|00003e10| 46 49 4c 45 3b 0a 0a 09 | 69 66 20 28 61 72 67 63 |FILE;...|if (argc|
|00003e20| 20 3c 20 32 29 0a 09 7b | 0a 09 09 66 70 72 69 6e | < 2)..{|...fprin|
|00003e30| 74 66 28 73 74 64 65 72 | 72 2c 22 75 73 61 67 65 |tf(stder|r,"usage|
|00003e40| 3a 20 25 73 20 72 66 63 | 61 64 64 72 65 73 73 20 |: %s rfc|address |
|00003e50| 5b 2e 2e 2e 5d 5c 6e 22 | 2c 0a 09 09 09 61 72 67 |[...]\n"|,....arg|
|00003e60| 76 5b 30 5d 29 3b 0a 09 | 09 65 78 69 74 28 31 29 |v[0]);..|.exit(1)|
|00003e70| 3b 0a 09 7d 0a 0a 09 77 | 68 69 6c 65 20 28 2d 2d |;..}...w|hile (--|
|00003e80| 61 72 67 63 29 0a 09 7b | 0a 09 09 70 20 3d 20 2a |argc)..{|...p = *|
|00003e90| 2b 2b 61 72 67 76 3b 0a | 09 09 69 66 20 28 2a 70 |++argv;.|..if (*p|
|00003ea0| 3d 3d 27 2d 27 29 0a 09 | 09 7b 0a 09 09 09 73 77 |=='-')..|.{....sw|
|00003eb0| 69 74 63 68 28 2a 2b 2b | 70 29 0a 09 09 09 7b 0a |itch(*++|p)....{.|
|00003ec0| 09 09 09 63 61 73 65 20 | 27 75 27 3a 20 75 73 77 |...case |'u': usw|
|00003ed0| 69 74 63 68 2b 2b 3b 0a | 09 09 09 09 20 20 63 6f |itch++;.|.... co|
|00003ee0| 6e 74 69 6e 75 65 3b 0a | 09 09 09 63 61 73 65 20 |ntinue;.|...case |
|00003ef0| 27 64 27 3a 20 44 65 62 | 75 67 2b 2b 3b 0a 09 09 |'d': Deb|ug++;...|
|00003f00| 09 20 20 20 20 20 20 20 | 20 20 20 63 6f 6e 74 69 |. | conti|
|00003f10| 6e 75 65 3b 0a 09 09 09 | 64 65 66 61 75 6c 74 3a |nue;....|default:|
|00003f20| 20 20 70 72 69 6e 74 66 | 28 22 75 6e 6b 6e 6f 77 | printf|("unknow|
|00003f30| 6e 20 73 77 69 74 63 68 | 3a 20 25 63 5c 6e 22 2c |n switch|: %c\n",|
|00003f40| 2a 70 29 3b 0a 09 09 09 | 09 20 20 63 6f 6e 74 69 |*p);....|. conti|
|00003f50| 6e 75 65 3b 0a 09 09 09 | 7d 0a 09 09 09 63 6f 6e |nue;....|}....con|
|00003f60| 74 69 6e 75 65 3b 0a 09 | 09 7d 0a 09 09 70 72 69 |tinue;..|.}...pri|
|00003f70| 6e 74 66 28 22 25 73 3a | 20 25 73 5c 6e 22 2c 70 |ntf("%s:| %s\n",p|
|00003f80| 2c 75 73 77 69 74 63 68 | 3f 6f 75 70 61 74 68 28 |,uswitch|?oupath(|
|00003f90| 70 29 3a 6f 70 61 74 68 | 28 70 29 29 3b 0a 09 7d |p):opath|(p));..}|
|00003fa0| 0a 0a 09 65 78 69 74 28 | 30 29 3b 0a 7d 0a 53 48 |...exit(|0);.}.SH|
|00003fb0| 41 52 5f 45 4f 46 0a 69 | 66 20 74 65 73 74 20 31 |AR_EOF.i|f test 1|
|00003fc0| 30 33 35 20 2d 6e 65 20 | 22 60 77 63 20 2d 63 20 |035 -ne |"`wc -c |
|00003fd0| 3c 20 27 61 64 64 72 65 | 73 73 2e 63 27 60 22 0a |< 'addre|ss.c'`".|
|00003fe0| 74 68 65 6e 0a 09 65 63 | 68 6f 20 73 68 61 72 3a |then..ec|ho shar:|
|00003ff0| 20 65 72 72 6f 72 20 74 | 72 61 6e 73 6d 69 74 74 | error t|ransmitt|
|00004000| 69 6e 67 20 22 27 61 64 | 64 72 65 73 73 2e 63 27 |ing "'ad|dress.c'|
|00004010| 22 20 27 28 73 68 6f 75 | 6c 64 20 68 61 76 65 20 |" '(shou|ld have |
|00004020| 62 65 65 6e 20 31 30 33 | 35 20 63 68 61 72 61 63 |been 103|5 charac|
|00004030| 74 65 72 73 29 27 0a 66 | 69 0a 66 69 0a 65 63 68 |ters)'.f|i.fi.ech|
|00004040| 6f 20 73 68 61 72 3a 20 | 65 78 74 72 61 63 74 69 |o shar: |extracti|
|00004050| 6e 67 20 22 27 67 65 74 | 68 6f 73 74 6e 61 6d 2e |ng "'get|hostnam.|
|00004060| 63 27 22 20 27 28 31 33 | 37 32 20 63 68 61 72 61 |c'" '(13|72 chara|
|00004070| 63 74 65 72 73 29 27 0a | 69 66 20 74 65 73 74 20 |cters)'.|if test |
|00004080| 2d 66 20 27 67 65 74 68 | 6f 73 74 6e 61 6d 2e 63 |-f 'geth|ostnam.c|
|00004090| 27 0a 74 68 65 6e 0a 09 | 65 63 68 6f 20 73 68 61 |'.then..|echo sha|
|000040a0| 72 3a 20 77 69 6c 6c 20 | 6e 6f 74 20 6f 76 65 72 |r: will |not over|
|000040b0| 2d 77 72 69 74 65 20 65 | 78 69 73 74 69 6e 67 20 |-write e|xisting |
|000040c0| 66 69 6c 65 20 22 27 67 | 65 74 68 6f 73 74 6e 61 |file "'g|ethostna|
|000040d0| 6d 2e 63 27 22 0a 65 6c | 73 65 0a 63 61 74 20 3c |m.c'".el|se.cat <|
|000040e0| 3c 20 5c 53 48 41 52 5f | 45 4f 46 20 3e 20 27 67 |< \SHAR_|EOF > 'g|
|000040f0| 65 74 68 6f 73 74 6e 61 | 6d 2e 63 27 0a 23 69 66 |ethostna|m.c'.#if|
|00004100| 6e 64 65 66 20 6c 69 6e | 74 0a 73 74 61 74 69 63 |ndef lin|t.static|
|00004110| 20 63 68 61 72 09 73 63 | 63 73 69 64 5b 5d 20 3d | char.sc|csid[] =|
|00004120| 20 22 40 28 23 29 67 65 | 74 68 6f 73 74 6e 61 6d | "@(#)ge|thostnam|
|00004130| 2e 63 09 36 2e 31 20 28 | 64 6f 77 6e 21 68 6f 6e |.c.6.1 (|down!hon|
|00004140| 65 79 29 20 38 35 2f 30 | 31 2f 32 31 22 3b 0a 73 |ey) 85/0|1/21";.s|
|00004150| 74 61 74 69 63 20 63 68 | 61 72 09 72 63 73 69 64 |tatic ch|ar.rcsid|
|00004160| 5b 5d 20 3d 20 22 24 48 | 65 61 64 65 72 3a 20 67 |[] = "$H|eader: g|
|00004170| 65 74 68 6f 73 74 6e 61 | 6d 2e 63 2c 76 20 36 2e |ethostna|m.c,v 6.|
|00004180| 33 20 38 35 2f 31 31 2f | 32 33 20 30 35 3a 33 30 |3 85/11/|23 05:30|
|00004190| 3a 30 34 20 55 55 43 50 | 20 45 78 70 20 24 22 3b |:04 UUCP| Exp $";|
|000041a0| 0a 23 65 6e 64 69 66 20 | 6c 69 6e 74 0a 0a 23 69 |.#endif |lint..#i|
|000041b0| 66 6e 64 65 66 20 47 45 | 54 48 4f 53 54 4e 41 4d |fndef GE|THOSTNAM|
|000041c0| 45 0a 23 69 6e 63 6c 75 | 64 65 20 22 75 75 63 6f |E.#inclu|de "uuco|
|000041d0| 6e 66 2e 68 22 0a 0a 76 | 6f 69 64 0a 67 65 74 68 |nf.h"..v|oid.geth|
|000041e0| 6f 73 74 6e 61 6d 65 28 | 6e 61 6d 65 2c 20 6c 65 |ostname(|name, le|
|000041f0| 6e 29 0a 63 68 61 72 09 | 2a 6e 61 6d 65 3b 0a 7b |n).char.|*name;.{|
|00004200| 0a 09 46 49 4c 45 09 2a | 77 68 6f 61 6d 69 2c 20 |..FILE.*|whoami, |
|00004210| 2a 66 6f 70 65 6e 28 29 | 2c 20 2a 70 6f 70 65 6e |*fopen()|, *popen|
|00004220| 28 29 3b 0a 09 63 68 61 | 72 09 2a 70 74 72 2c 20 |();..cha|r.*ptr, |
|00004230| 2a 69 6e 64 65 78 28 29 | 3b 0a 23 69 66 20 64 65 |*index()|;.#if de|
|00004240| 66 69 6e 65 64 28 53 59 | 53 49 49 49 29 20 26 26 |fined(SY|SIII) &&|
|00004250| 20 21 64 65 66 69 6e 65 | 64 28 53 59 53 54 45 4d | !define|d(SYSTEM|
|00004260| 4e 41 4d 45 29 0a 09 73 | 74 72 75 63 74 20 75 74 |NAME)..s|truct ut|
|00004270| 73 6e 61 6d 65 20 75 74 | 73 6e 3b 0a 23 65 6e 64 |sname ut|sn;.#end|
|00004280| 69 66 0a 0a 09 2a 6e 61 | 6d 65 20 3d 20 27 5c 30 |if...*na|me = '\0|
|00004290| 27 3b 0a 23 69 66 6e 64 | 65 66 20 53 59 53 54 45 |';.#ifnd|ef SYSTE|
|000042a0| 4d 4e 41 4d 45 0a 23 69 | 66 64 65 66 20 53 59 53 |MNAME.#i|fdef SYS|
|000042b0| 49 49 49 0a 09 69 66 20 | 28 75 6e 61 6d 65 28 26 |III..if |(uname(&|
|000042c0| 75 74 73 6e 29 20 21 3d | 20 2d 31 29 0a 09 7b 0a |utsn) !=| -1)..{.|
|000042d0| 09 09 73 74 72 63 70 79 | 28 6e 61 6d 65 2c 75 74 |..strcpy|(name,ut|
|000042e0| 73 6e 2e 6e 6f 64 65 6e | 61 6d 65 29 3b 0a 09 09 |sn.noden|ame);...|
|000042f0| 6c 65 6e 20 3d 20 73 74 | 72 6c 65 6e 28 6e 61 6d |len = st|rlen(nam|
|00004300| 65 29 3b 0a 09 20 20 09 | 72 65 74 75 72 6e 3b 0a |e);.. .|return;.|
|00004310| 09 7d 0a 23 65 6e 64 69 | 66 0a 23 65 6e 64 69 66 |.}.#endi|f.#endif|
|00004320| 0a 0a 23 69 66 64 65 66 | 20 53 59 53 54 45 4d 4e |..#ifdef| SYSTEMN|
|00004330| 41 4d 45 0a 09 2f 2a 20 | 74 72 79 20 2f 75 73 72 |AME../* |try /usr|
|00004340| 2f 6c 69 62 2f 75 75 63 | 70 2f 53 59 53 54 45 4d |/lib/uuc|p/SYSTEM|
|00004350| 4e 41 4d 45 20 2a 2f 0a | 09 69 66 20 28 28 77 68 |NAME */.|.if ((wh|
|00004360| 6f 61 6d 69 20 3d 20 66 | 6f 70 65 6e 28 22 2f 75 |oami = f|open("/u|
|00004370| 73 72 2f 6c 69 62 2f 75 | 75 63 70 2f 53 59 53 54 |sr/lib/u|ucp/SYST|
|00004380| 45 4d 4e 41 4d 45 22 2c | 20 22 72 22 29 29 20 21 |EMNAME",| "r")) !|
|00004390| 3d 20 30 29 20 7b 0a 09 | 09 28 76 6f 69 64 29 20 |= 0) {..|.(void) |
|000043a0| 66 67 65 74 73 28 6e 61 | 6d 65 2c 20 6c 65 6e 2c |fgets(na|me, len,|
|000043b0| 20 77 68 6f 61 6d 69 29 | 3b 0a 09 09 28 76 6f 69 | whoami)|;...(voi|
|000043c0| 64 29 20 66 63 6c 6f 73 | 65 28 77 68 6f 61 6d 69 |d) fclos|e(whoami|
|000043d0| 29 3b 0a 09 09 69 66 20 | 28 28 70 74 72 20 3d 20 |);...if |((ptr = |
|000043e0| 69 6e 64 65 78 28 6e 61 | 6d 65 2c 20 27 5c 6e 27 |index(na|me, '\n'|
|000043f0| 29 29 20 21 3d 20 30 29 | 0a 09 09 09 2a 70 74 72 |)) != 0)|....*ptr|
|00004400| 20 3d 20 27 5c 30 27 3b | 0a 09 7d 0a 09 69 66 20 | = '\0';|..}..if |
|00004410| 28 2a 6e 61 6d 65 29 0a | 09 09 72 65 74 75 72 6e |(*name).|..return|
|00004420| 3b 0a 23 65 6e 64 69 66 | 0a 09 2f 2a 20 74 72 79 |;.#endif|../* try|
|00004430| 20 2f 75 73 72 2f 69 6e | 63 6c 75 64 65 2f 77 68 | /usr/in|clude/wh|
|00004440| 6f 61 6d 69 2e 68 20 2a | 2f 0a 09 69 66 20 28 28 |oami.h *|/..if ((|
|00004450| 77 68 6f 61 6d 69 20 3d | 20 66 6f 70 65 6e 28 22 |whoami =| fopen("|
|00004460| 2f 75 73 72 2f 69 6e 63 | 6c 75 64 65 2f 77 68 6f |/usr/inc|lude/who|
|00004470| 61 6d 69 2e 68 22 2c 20 | 22 72 22 29 29 20 21 3d |ami.h", |"r")) !=|
|00004480| 20 30 29 20 7b 0a 09 09 | 77 68 69 6c 65 20 28 21 | 0) {...|while (!|
|00004490| 66 65 6f 66 28 77 68 6f | 61 6d 69 29 29 20 7b 0a |feof(who|ami)) {.|
|000044a0| 09 09 09 63 68 61 72 09 | 62 75 66 5b 31 30 30 5d |...char.|buf[100]|
|000044b0| 3b 0a 0a 09 09 09 69 66 | 20 28 66 67 65 74 73 28 |;.....if| (fgets(|
|000044c0| 62 75 66 2c 20 31 30 30 | 2c 20 77 68 6f 61 6d 69 |buf, 100|, whoami|
|000044d0| 29 20 3d 3d 20 30 29 0a | 09 09 09 09 62 72 65 61 |) == 0).|....brea|
|000044e0| 6b 3b 0a 09 09 09 69 66 | 20 28 73 73 63 61 6e 66 |k;....if| (sscanf|
|000044f0| 28 62 75 66 2c 20 22 23 | 64 65 66 69 6e 65 20 73 |(buf, "#|define s|
|00004500| 79 73 6e 61 6d 65 20 5c | 22 25 5b 5e 5c 22 5d 5c |ysname \|"%[^\"]\|
|00004510| 22 22 2c 20 6e 61 6d 65 | 29 29 0a 09 09 09 09 62 |"", name|)).....b|
|00004520| 72 65 61 6b 3b 0a 09 09 | 7d 0a 09 09 28 76 6f 69 |reak;...|}...(voi|
|00004530| 64 29 20 66 63 6c 6f 73 | 65 28 77 68 6f 61 6d 69 |d) fclos|e(whoami|
|00004540| 29 3b 0a 09 09 69 66 20 | 28 2a 6e 61 6d 65 29 0a |);...if |(*name).|
|00004550| 09 09 09 72 65 74 75 72 | 6e 3b 0a 09 7d 0a 0a 09 |...retur|n;..}...|
|00004560| 2f 2a 20 61 73 6b 20 75 | 75 63 70 20 2a 2f 0a 09 |/* ask u|ucp */..|
|00004570| 69 66 20 28 28 77 68 6f | 61 6d 69 20 3d 20 70 6f |if ((who|ami = po|
|00004580| 70 65 6e 28 22 75 75 6e | 61 6d 65 20 2d 6c 22 2c |pen("uun|ame -l",|
|00004590| 20 22 72 22 29 29 20 21 | 3d 20 30 29 20 7b 0a 09 | "r")) !|= 0) {..|
|000045a0| 09 28 76 6f 69 64 29 20 | 66 67 65 74 73 28 6e 61 |.(void) |fgets(na|
|000045b0| 6d 65 2c 20 6c 65 6e 2c | 20 77 68 6f 61 6d 69 29 |me, len,| whoami)|
|000045c0| 3b 0a 09 09 28 76 6f 69 | 64 29 20 70 63 6c 6f 73 |;...(voi|d) pclos|
|000045d0| 65 28 77 68 6f 61 6d 69 | 29 3b 0a 09 09 69 66 20 |e(whoami|);...if |
|000045e0| 28 28 70 74 72 20 3d 20 | 69 6e 64 65 78 28 6e 61 |((ptr = |index(na|
|000045f0| 6d 65 2c 20 27 5c 6e 27 | 29 29 20 21 3d 20 30 29 |me, '\n'|)) != 0)|
|00004600| 0a 09 09 09 2a 70 74 72 | 20 3d 20 27 5c 30 27 3b |....*ptr| = '\0';|
|00004610| 0a 09 7d 0a 09 69 66 20 | 28 2a 6e 61 6d 65 29 0a |..}..if |(*name).|
|00004620| 09 09 72 65 74 75 72 6e | 3b 0a 09 0a 09 2f 2a 20 |..return|;..../* |
|00004630| 66 61 69 6c 75 72 65 20 | 2a 2f 0a 09 72 65 74 75 |failure |*/..retu|
|00004640| 72 6e 3b 0a 7d 0a 23 65 | 6e 64 69 66 20 47 45 54 |rn;.}.#e|ndif GET|
|00004650| 48 4f 53 54 4e 41 4d 45 | 0a 53 48 41 52 5f 45 4f |HOSTNAME|.SHAR_EO|
|00004660| 46 0a 69 66 20 74 65 73 | 74 20 31 33 37 32 20 2d |F.if tes|t 1372 -|
|00004670| 6e 65 20 22 60 77 63 20 | 2d 63 20 3c 20 27 67 65 |ne "`wc |-c < 'ge|
|00004680| 74 68 6f 73 74 6e 61 6d | 2e 63 27 60 22 0a 74 68 |thostnam|.c'`".th|
|00004690| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 65 |en..echo| shar: e|
|000046a0| 72 72 6f 72 20 74 72 61 | 6e 73 6d 69 74 74 69 6e |rror tra|nsmittin|
|000046b0| 67 20 22 27 67 65 74 68 | 6f 73 74 6e 61 6d 2e 63 |g "'geth|ostnam.c|
|000046c0| 27 22 20 27 28 73 68 6f | 75 6c 64 20 68 61 76 65 |'" '(sho|uld have|
|000046d0| 20 62 65 65 6e 20 31 33 | 37 32 20 63 68 61 72 61 | been 13|72 chara|
|000046e0| 63 74 65 72 73 29 27 0a | 66 69 0a 66 69 0a 65 63 |cters)'.|fi.fi.ec|
|000046f0| 68 6f 20 73 68 61 72 3a | 20 65 78 74 72 61 63 74 |ho shar:| extract|
|00004700| 69 6e 67 20 22 27 67 65 | 74 70 61 74 68 2e 63 27 |ing "'ge|tpath.c'|
|00004710| 22 20 27 28 36 36 30 36 | 20 63 68 61 72 61 63 74 |" '(6606| charact|
|00004720| 65 72 73 29 27 0a 69 66 | 20 74 65 73 74 20 2d 66 |ers)'.if| test -f|
|00004730| 20 27 67 65 74 70 61 74 | 68 2e 63 27 0a 74 68 65 | 'getpat|h.c'.the|
|00004740| 6e 0a 09 65 63 68 6f 20 | 73 68 61 72 3a 20 77 69 |n..echo |shar: wi|
|00004750| 6c 6c 20 6e 6f 74 20 6f | 76 65 72 2d 77 72 69 74 |ll not o|ver-writ|
|00004760| 65 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |e existi|ng file |
|00004770| 22 27 67 65 74 70 61 74 | 68 2e 63 27 22 0a 65 6c |"'getpat|h.c'".el|
|00004780| 73 65 0a 63 61 74 20 3c | 3c 20 5c 53 48 41 52 5f |se.cat <|< \SHAR_|
|00004790| 45 4f 46 20 3e 20 27 67 | 65 74 70 61 74 68 2e 63 |EOF > 'g|etpath.c|
|000047a0| 27 0a 2f 2a 0a 20 2a 20 | 4e 61 6d 65 3a 20 67 65 |'./*. * |Name: ge|
|000047b0| 74 70 61 74 68 20 2d 2d | 20 72 65 74 75 72 6e 20 |tpath --| return |
|000047c0| 74 68 65 20 66 75 6c 6c | 20 75 73 65 6e 65 74 20 |the full| usenet |
|000047d0| 70 61 74 68 20 6f 66 20 | 74 68 65 20 67 69 76 65 |path of |the give|
|000047e0| 6e 20 6e 61 6d 65 0a 20 | 2a 0a 20 2a 20 50 61 72 |n name. |*. * Par|
|000047f0| 61 6d 61 74 65 72 73 3a | 20 73 79 73 6e 61 6d 65 |amaters:| sysname|
|00004800| 20 28 69 6e 70 75 74 29 | 20 2d 2d 20 54 68 65 20 | (input)| -- The |
|00004810| 73 79 73 74 65 6d 20 6e | 61 6d 65 20 74 6f 20 62 |system n|ame to b|
|00004820| 65 20 65 78 70 61 6e 64 | 65 64 0a 20 2a 09 20 20 |e expand|ed. *. |
|00004830| 20 20 20 20 20 70 61 74 | 68 6e 61 6d 65 20 28 6f | pat|hname (o|
|00004840| 75 74 70 75 74 29 20 20 | 54 68 65 20 75 73 65 6e |utput) |The usen|
|00004850| 65 74 20 70 61 74 68 20 | 6f 66 20 74 68 65 20 67 |et path |of the g|
|00004860| 69 76 65 6e 20 73 79 73 | 74 65 6d 20 6e 61 6d 65 |iven sys|tem name|
|00004870| 0a 20 2a 09 20 20 20 20 | 20 20 20 70 61 74 68 66 |. *. | pathf|
|00004880| 69 6c 65 20 28 69 6e 70 | 75 74 29 20 74 68 65 20 |ile (inp|ut) the |
|00004890| 66 69 6c 65 20 74 6f 20 | 73 65 61 72 63 68 20 66 |file to |search f|
|000048a0| 6f 72 20 74 68 65 20 73 | 79 73 74 65 6d 20 6e 61 |or the s|ystem na|
|000048b0| 6d 65 0a 20 2a 0a 20 2a | 20 52 65 74 75 72 6e 73 |me. *. *| Returns|
|000048c0| 3a 20 45 58 5f 4f 4b 20 | 20 20 20 20 2d 2d 20 70 |: EX_OK | -- p|
|000048d0| 61 74 68 20 66 6f 75 6e | 64 0a 20 2a 09 20 20 20 |ath foun|d. *. |
|000048e0| 20 45 58 5f 4e 4f 48 4f | 53 54 20 2d 2d 20 70 61 | EX_NOHO|ST -- pa|
|000048f0| 74 68 20 6e 6f 74 20 66 | 6f 75 6e 64 0a 20 2a 09 |th not f|ound. *.|
|00004900| 20 20 20 20 45 58 5f 4e | 4f 49 4e 50 55 54 2d 2d | EX_N|OINPUT--|
|00004910| 20 75 6e 61 62 6c 65 20 | 74 6f 20 6f 70 65 6e 20 | unable |to open |
|00004920| 75 73 65 6d 61 70 0a 20 | 2a 20 20 20 20 20 20 20 |usemap. |* |
|00004930| 20 20 20 45 58 5f 54 45 | 4d 50 46 41 49 4c 20 2d | EX_TE|MPFAIL -|
|00004940| 2d 20 64 61 74 61 62 61 | 73 65 20 62 65 69 6e 67 |- databa|se being|
|00004950| 20 72 65 62 75 69 6c 74 | 0a 20 2a 0a 20 2a 20 41 | rebuilt|. *. * A|
|00004960| 75 74 68 6f 72 3a 20 4a | 2e 20 44 6f 6e 6e 65 6c |uthor: J|. Donnel|
|00004970| 6c 79 20 20 20 33 2f 38 | 32 0a 20 2a 0a 20 2a 2f |ly 3/8|2. *. */|
|00004980| 0a 0a 2f 2a 20 20 20 20 | 49 46 20 59 4f 55 20 41 |../* |IF YOU A|
|00004990| 52 45 20 55 53 49 4e 47 | 20 41 20 44 42 4d 20 44 |RE USING| A DBM D|
|000049a0| 41 54 41 42 41 53 45 2c | 20 52 45 41 44 20 54 48 |ATABASE,| READ TH|
|000049b0| 49 53 21 0a 20 2a 20 20 | 20 20 49 66 20 74 68 65 |IS!. * | If the|
|000049c0| 20 73 70 65 63 69 61 6c | 20 73 65 6e 74 69 6e 65 | special| sentine|
|000049d0| 6c 20 76 61 6c 75 65 20 | 6f 66 20 40 40 40 20 69 |l value |of @@@ i|
|000049e0| 73 20 6e 6f 74 20 70 72 | 65 73 65 6e 74 20 69 6e |s not pr|esent in|
|000049f0| 20 74 68 65 0a 20 2a 20 | 20 20 20 64 61 74 61 62 | the. * | datab|
|00004a00| 61 73 65 2c 20 74 68 65 | 6e 20 69 74 20 69 73 20 |ase, the|n it is |
|00004a10| 61 73 73 75 6d 65 64 20 | 74 68 61 74 20 74 68 65 |assumed |that the|
|00004a20| 20 64 61 74 61 62 61 73 | 65 20 69 73 20 62 65 69 | databas|e is bei|
|00004a30| 6e 67 0a 20 2a 20 20 20 | 20 72 65 62 75 69 6c 74 |ng. * | rebuilt|
|00004a40| 20 61 6e 64 20 74 68 65 | 20 72 65 71 75 65 73 74 | and the| request|
|00004a50| 69 6e 67 20 70 72 6f 63 | 65 73 73 20 69 73 20 62 |ing proc|ess is b|
|00004a60| 6c 6f 63 6b 65 64 20 66 | 6f 72 20 54 49 4d 45 4f |locked f|or TIMEO|
|00004a70| 55 54 0a 20 2a 20 20 20 | 20 28 64 65 66 61 75 6c |UT. * | (defaul|
|00004a80| 74 20 3d 20 31 38 30 29 | 20 73 65 63 6f 6e 64 73 |t = 180)| seconds|
|00004a90| 2e 20 20 49 66 2c 20 61 | 66 74 65 72 20 35 20 73 |. If, a|fter 5 s|
|00004aa0| 75 63 68 20 62 6c 6f 63 | 6b 73 2c 20 74 68 65 0a |uch bloc|ks, the.|
|00004ab0| 20 2a 20 20 20 20 73 65 | 6e 74 69 6e 65 6c 20 69 | * se|ntinel i|
|00004ac0| 73 20 6e 6f 74 20 70 72 | 65 73 65 6e 74 2c 20 74 |s not pr|esent, t|
|00004ad0| 68 65 20 65 72 72 6f 72 | 20 63 6f 64 65 20 45 58 |he error| code EX|
|00004ae0| 5f 54 45 4d 50 46 41 49 | 4c 20 69 73 20 72 65 74 |_TEMPFAI|L is ret|
|00004af0| 75 72 6e 65 64 2e 0a 20 | 2a 20 20 20 20 54 68 65 |urned.. |* The|
|00004b00| 20 73 61 6d 65 20 69 73 | 20 74 72 75 65 20 69 66 | same is| true if|
|00004b10| 20 74 68 65 20 64 62 6d | 20 66 69 6c 65 73 20 63 | the dbm| files c|
|00004b20| 61 6e 6e 6f 74 20 62 65 | 20 69 6e 69 74 69 61 6c |annot be| initial|
|00004b30| 69 7a 65 64 2e 0a 20 2a | 2f 0a 0a 2f 2a 20 32 32 |ized.. *|/../* 22|
|00004b40| 2d 6a 75 6e 2d 38 33 20 | 53 68 65 70 70 61 72 64 |-jun-83 |Sheppard|
|00004b50| 0a 20 2a 20 6d 6f 64 69 | 66 69 65 64 20 74 6f 20 |. * modi|fied to |
|00004b60| 72 65 77 69 6e 64 20 70 | 61 74 68 20 66 69 6c 65 |rewind p|ath file|
|00004b70| 20 28 69 66 20 6f 70 65 | 6e 29 2c 20 72 61 74 68 | (if ope|n), rath|
|00004b80| 65 72 20 74 68 61 6e 20 | 6f 70 65 6e 20 61 67 61 |er than |open aga|
|00004b90| 69 6e 0a 20 2a 0a 20 2a | 20 24 4c 6f 67 3a 09 67 |in. *. *| $Log:.g|
|00004ba0| 65 74 70 61 74 68 2e 63 | 2c 76 20 24 0a 20 2a 20 |etpath.c|,v $. * |
|00004bb0| 52 65 76 69 73 69 6f 6e | 20 31 2e 31 34 20 20 38 |Revision| 1.14 8|
|00004bc0| 35 2f 31 32 2f 31 33 20 | 20 31 35 3a 32 33 3a 32 |5/12/13 | 15:23:2|
|00004bd0| 31 20 20 73 6f 62 0a 20 | 2a 20 41 64 64 65 64 20 |1 sob. |* Added |
|00004be0| 70 61 74 63 68 65 73 20 | 66 72 6f 6d 20 75 6d 64 |patches |from umd|
|00004bf0| 2d 63 73 21 73 74 65 76 | 65 0a 20 2a 20 0a 20 2a |-cs!stev|e. * . *|
|00004c00| 20 52 65 76 69 73 69 6f | 6e 20 31 2e 31 33 20 20 | Revisio|n 1.13 |
|00004c10| 38 35 2f 31 32 2f 31 30 | 20 20 32 30 3a 33 36 3a |85/12/10| 20:36:|
|00004c20| 35 38 20 20 73 6f 62 0a | 20 2a 20 41 64 64 65 64 |58 sob.| * Added|
|00004c30| 20 6d 6f 64 69 66 69 63 | 61 74 69 6f 6e 73 20 73 | modific|ations s|
|00004c40| 75 67 67 65 73 74 65 64 | 20 69 6e 20 67 61 74 65 |uggested| in gate|
|00004c50| 63 68 27 73 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |ch's ver|sion of |
|00004c60| 75 75 6d 61 69 6c 2e 0a | 20 2a 20 4e 6f 77 2c 20 |uumail..| * Now, |
|00004c70| 74 68 65 20 44 42 4d 20 | 76 65 72 73 69 6f 6e 20 |the DBM |version |
|00004c80| 6f 66 20 74 68 65 20 64 | 61 74 61 62 61 73 65 20 |of the d|atabase |
|00004c90| 6e 65 65 64 73 20 74 6f | 20 68 61 76 65 20 61 20 |needs to| have a |
|00004ca0| 53 45 4e 54 49 4e 41 4c | 20 69 6e 20 69 74 0a 20 |SENTINAL| in it. |
|00004cb0| 2a 20 74 6f 20 69 6e 64 | 69 63 61 74 65 20 74 68 |* to ind|icate th|
|00004cc0| 61 74 20 74 68 65 20 44 | 41 54 41 42 41 53 45 20 |at the D|ATABASE |
|00004cd0| 69 73 20 6e 6f 74 20 62 | 65 69 6e 67 20 75 70 64 |is not b|eing upd|
|00004ce0| 61 74 65 64 2e 20 41 6c | 73 6f 20 61 64 64 65 64 |ated. Al|so added|
|00004cf0| 20 73 69 6d 69 6c 69 61 | 72 0a 20 2a 20 69 6e 64 | similia|r. * ind|
|00004d00| 69 63 61 74 6f 72 73 20 | 74 6f 20 74 68 65 20 6e |icators |to the n|
|00004d10| 6f 6e 2d 44 42 4d 20 76 | 65 72 73 69 6f 6e 20 74 |on-DBM v|ersion t|
|00004d20| 6f 20 63 6f 6d 70 61 72 | 65 20 6d 6f 64 69 66 69 |o compar|e modifi|
|00004d30| 63 61 74 69 6f 6e 20 74 | 69 6d 65 73 20 61 6e 64 |cation t|imes and|
|00004d40| 20 61 63 74 0a 20 2a 20 | 61 63 63 6f 72 64 69 6e | act. * |accordin|
|00004d50| 67 6c 79 2e 20 0a 20 2a | 20 0a 20 2a 20 52 65 76 |gly. . *| . * Rev|
|00004d60| 69 73 69 6f 6e 20 31 2e | 31 32 20 20 38 35 2f 31 |ision 1.|12 85/1|
|00004d70| 32 2f 30 32 20 20 31 35 | 3a 34 38 3a 33 39 20 20 |2/02 15|:48:39 |
|00004d80| 73 6f 62 0a 20 2a 20 43 | 6f 6d 62 69 6e 65 64 20 |sob. * C|ombined |
|00004d90| 73 70 65 65 64 20 68 61 | 63 6b 73 20 61 6e 64 20 |speed ha|cks and |
|00004da0| 6f 6c 64 20 77 61 79 20 | 6f 66 20 72 65 61 64 69 |old way |of readi|
|00004db0| 6e 67 20 64 61 74 61 62 | 61 73 65 20 61 6e 64 0a |ng datab|ase and.|
|00004dc0| 20 2a 20 61 64 64 65 64 | 20 63 6f 6d 70 69 6c 65 | * added| compile|
|00004dd0| 20 66 6c 61 67 20 53 4f | 52 54 45 44 2e 20 49 66 | flag SO|RTED. If|
|00004de0| 20 64 61 74 61 62 61 73 | 65 20 69 73 20 53 4f 52 | databas|e is SOR|
|00004df0| 54 45 44 20 61 6e 64 20 | 6e 6f 74 20 44 42 4d 2c |TED and |not DBM,|
|00004e00| 20 75 73 65 0a 20 2a 20 | 2d 44 53 4f 52 54 45 44 | use. * |-DSORTED|
|00004e10| 20 69 6e 20 43 46 4c 41 | 47 53 20 74 6f 20 6d 61 | in CFLA|GS to ma|
|00004e20| 6b 65 20 69 74 20 66 61 | 73 74 2e 20 49 66 20 64 |ke it fa|st. If d|
|00004e30| 61 74 61 62 61 73 65 20 | 69 73 20 6e 6f 74 20 73 |atabase |is not s|
|00004e40| 6f 72 74 65 64 0a 20 2a | 20 44 4f 20 4e 4f 54 20 |orted. *| DO NOT |
|00004e50| 75 73 65 20 74 68 69 73 | 20 66 6c 61 67 2e 0a 20 |use this| flag.. |
|00004e60| 2a 20 0a 20 2a 20 52 65 | 76 69 73 69 6f 6e 20 31 |* . * Re|vision 1|
|00004e70| 2e 31 31 20 20 38 35 2f | 31 31 2f 32 34 20 20 31 |.11 85/|11/24 1|
|00004e80| 35 3a 30 33 3a 34 31 20 | 20 73 6f 62 0a 20 2a 20 |5:03:41 | sob. * |
|00004e90| 41 64 64 65 64 20 63 68 | 61 6e 67 65 73 20 73 75 |Added ch|anges su|
|00004ea0| 67 67 65 73 74 65 64 20 | 62 79 20 72 65 67 69 6e |ggested |by regin|
|00004eb0| 61 21 6d 61 72 6b 0a 20 | 2a 20 0a 20 2a 20 52 65 |a!mark. |* . * Re|
|00004ec0| 76 69 73 69 6f 6e 20 31 | 2e 31 30 20 20 38 35 2f |vision 1|.10 85/|
|00004ed0| 31 31 2f 32 34 20 20 30 | 34 3a 32 31 3a 34 35 20 |11/24 0|4:21:45 |
|00004ee0| 20 73 6f 62 0a 20 2a 20 | 41 64 64 65 64 20 65 66 | sob. * |Added ef|
|00004ef0| 66 69 63 69 65 6e 63 79 | 20 68 61 63 6b 73 20 73 |ficiency| hacks s|
|00004f00| 75 70 70 6c 69 65 64 20 | 62 79 20 6d 65 63 63 74 |upplied |by mecct|
|00004f10| 73 21 61 73 62 79 20 28 | 53 68 61 6e 65 20 50 2e |s!asby (|Shane P.|
|00004f20| 20 4d 63 43 61 72 72 6f | 6e 29 0a 20 2a 20 0a 20 | McCarro|n). * . |
|00004f30| 2a 20 52 65 76 69 73 69 | 6f 6e 20 31 2e 39 20 20 |* Revisi|on 1.9 |
|00004f40| 38 35 2f 31 31 2f 31 34 | 20 20 32 30 3a 32 31 3a |85/11/14| 20:21:|
|00004f50| 34 39 20 20 73 6f 62 0a | 20 2a 20 41 64 64 65 64 |49 sob.| * Added|
|00004f60| 20 23 69 66 64 65 66 20 | 44 45 42 55 47 20 74 6f | #ifdef |DEBUG to|
|00004f70| 20 61 6c 6c 6f 77 20 63 | 6f 6d 70 69 6c 61 74 69 | allow c|ompilati|
|00004f80| 6f 6e 20 77 69 74 68 6f | 75 74 20 44 45 42 55 47 |on witho|ut DEBUG|
|00004f90| 0a 20 2a 20 0a 20 2a 20 | 52 65 76 69 73 69 6f 6e |. * . * |Revision|
|00004fa0| 20 31 2e 38 20 20 38 35 | 2f 31 31 2f 30 38 20 20 | 1.8 85|/11/08 |
|00004fb0| 30 33 3a 30 34 3a 34 39 | 20 20 73 6f 62 0a 20 2a |03:04:49| sob. *|
|00004fc0| 20 72 65 6c 65 61 73 65 | 20 76 65 72 73 69 6f 6e | release| version|
|00004fd0| 0a 20 2a 20 0a 20 2a 20 | 52 65 76 69 73 69 6f 6e |. * . * |Revision|
|00004fe0| 20 31 2e 37 20 20 38 35 | 2f 30 39 2f 33 30 20 20 | 1.7 85|/09/30 |
|00004ff0| 30 32 3a 34 37 3a 34 30 | 20 20 73 6f 62 0a 20 2a |02:47:40| sob. *|
|00005000| 20 41 6c 74 65 72 65 64 | 20 74 6f 20 75 73 65 20 | Altered| to use |
|00005010| 70 61 74 68 20 66 69 6c | 65 6e 61 6d 65 20 66 72 |path fil|ename fr|
|00005020| 6f 6d 20 67 6c 6f 62 61 | 6c 20 76 61 72 69 61 62 |om globa|l variab|
|00005030| 6c 65 2e 0a 20 2a 20 0a | 20 2a 20 52 65 76 69 73 |le.. * .| * Revis|
|00005040| 69 6f 6e 20 31 2e 36 20 | 20 38 35 2f 30 38 2f 30 |ion 1.6 | 85/08/0|
|00005050| 33 20 20 30 30 3a 34 38 | 3a 35 37 20 20 55 55 43 |3 00:48|:57 UUC|
|00005060| 50 0a 20 2a 20 43 6c 65 | 61 6e 65 64 20 75 70 20 |P. * Cle|aned up |
|00005070| 77 69 74 68 20 6c 69 6e | 74 2e 0a 20 2a 20 53 74 |with lin|t.. * St|
|00005080| 61 6e 20 42 61 72 62 65 | 72 0a 20 2a 20 0a 20 2a |an Barbe|r. * . *|
|00005090| 20 52 65 76 69 73 69 6f | 6e 20 31 2e 35 20 20 38 | Revisio|n 1.5 8|
|000050a0| 35 2f 30 37 2f 31 39 20 | 20 31 37 3a 34 35 3a 31 |5/07/19 | 17:45:1|
|000050b0| 33 20 20 55 55 43 50 0a | 20 2a 20 41 64 64 65 64 |3 UUCP.| * Added|
|000050c0| 20 5c 74 20 61 73 20 61 | 20 76 61 6c 69 64 20 73 | \t as a| valid s|
|000050d0| 65 70 65 72 61 74 69 6f | 6e 20 63 68 61 72 61 63 |eperatio|n charac|
|000050e0| 74 65 72 20 66 6f 72 20 | 74 68 65 20 64 61 74 61 |ter for |the data|
|000050f0| 62 61 73 65 0a 20 2a 20 | 69 6e 20 74 68 65 20 6e |base. * |in the n|
|00005100| 6f 6e 20 44 42 4d 20 63 | 61 73 65 2e 20 54 68 69 |on DBM c|ase. Thi|
|00005110| 73 20 69 73 20 77 68 61 | 74 20 70 61 74 68 61 6c |s is wha|t pathal|
|00005120| 69 61 73 20 75 73 65 73 | 2e 0a 20 2a 20 0a 20 2a |ias uses|.. * . *|
|00005130| 20 52 65 76 69 73 69 6f | 6e 20 31 2e 34 20 20 38 | Revisio|n 1.4 8|
|00005140| 35 2f 30 37 2f 31 39 20 | 20 31 36 3a 34 34 3a 30 |5/07/19 | 16:44:0|
|00005150| 37 20 20 55 55 43 50 0a | 20 2a 20 72 65 76 69 73 |7 UUCP.| * revis|
|00005160| 65 64 20 74 6f 20 72 65 | 74 75 72 6e 20 70 72 6f |ed to re|turn pro|
|00005170| 70 65 72 20 74 68 69 6e | 67 73 20 69 6e 20 61 63 |per thin|gs in ac|
|00005180| 63 6f 72 64 61 6e 63 65 | 20 77 69 74 68 20 73 79 |cordance| with sy|
|00005190| 73 65 78 69 74 73 0a 20 | 2a 20 53 74 61 6e 0a 20 |sexits. |* Stan. |
|000051a0| 2a 20 0a 20 2a 20 52 65 | 76 69 73 69 6f 6e 20 31 |* . * Re|vision 1|
|000051b0| 2e 33 20 20 38 35 2f 30 | 37 2f 31 31 20 20 31 39 |.3 85/0|7/11 19|
|000051c0| 3a 33 30 3a 33 31 20 20 | 73 6f 62 0a 20 2a 20 61 |:30:31 |sob. * a|
|000051d0| 64 64 65 64 20 22 75 75 | 63 6f 6e 66 2e 68 22 20 |dded "uu|conf.h" |
|000051e0| 69 6e 63 6c 75 64 65 20 | 66 69 6c 65 20 61 6e 64 |include |file and|
|000051f0| 20 64 65 6c 65 74 65 64 | 20 64 75 70 6c 69 63 61 | deleted| duplica|
|00005200| 74 65 64 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 0a |ted info|rmation.|
|00005210| 20 2a 20 0a 20 2a 20 52 | 65 76 69 73 69 6f 6e 20 | * . * R|evision |
|00005220| 31 2e 32 20 20 38 35 2f | 30 37 2f 31 30 20 20 31 |1.2 85/|07/10 1|
|00005230| 38 3a 33 30 3a 35 39 20 | 20 73 6f 62 0a 20 2a 20 |8:30:59 | sob. * |
|00005240| 75 70 64 61 74 65 64 20 | 74 6f 20 61 64 64 20 44 |updated |to add D|
|00005250| 42 4d 20 63 61 70 61 62 | 69 6c 69 74 69 65 73 0a |BM capab|ilities.|
|00005260| 20 2a 20 53 74 61 6e 20 | 42 61 72 62 65 72 2c 20 | * Stan |Barber, |
|00005270| 42 61 79 6c 6f 72 20 43 | 6f 6c 6c 65 67 65 20 6f |Baylor C|ollege o|
|00005280| 66 20 4d 65 64 69 63 69 | 6e 65 0a 20 2a 20 0a 20 |f Medici|ne. * . |
|00005290| 2a 20 52 65 76 69 73 69 | 6f 6e 20 31 2e 31 20 20 |* Revisi|on 1.1 |
|000052a0| 38 35 2f 30 37 2f 31 30 | 20 20 31 38 3a 30 33 3a |85/07/10| 18:03:|
|000052b0| 32 38 20 20 73 6f 62 0a | 20 2a 20 49 6e 69 74 69 |28 sob.| * Initi|
|000052c0| 61 6c 20 72 65 76 69 73 | 69 6f 6e 0a 20 2a 20 0a |al revis|ion. * .|
|000052d0| 20 2a 2f 0a 0a 23 69 6e | 63 6c 75 64 65 09 22 75 | */..#in|clude."u|
|000052e0| 75 63 6f 6e 66 2e 68 22 | 0a 23 69 66 6e 64 65 66 |uconf.h"|.#ifndef|
|000052f0| 20 44 42 4d 0a 23 69 6e | 63 6c 75 64 65 20 3c 73 | DBM.#in|clude <s|
|00005300| 79 73 2f 74 79 70 65 73 | 2e 68 3e 0a 23 69 6e 63 |ys/types|.h>.#inc|
|00005310| 6c 75 64 65 20 3c 73 79 | 73 2f 73 74 61 74 2e 68 |lude <sy|s/stat.h|
|00005320| 3e 0a 23 65 6e 64 69 66 | 0a 0a 73 74 61 74 69 63 |>.#endif|..static|
|00005330| 20 63 68 61 72 20 72 63 | 73 69 64 5b 5d 20 3d 20 | char rc|sid[] = |
|00005340| 22 24 48 65 61 64 65 72 | 3a 20 67 65 74 70 61 74 |"$Header|: getpat|
|00005350| 68 2e 63 2c 76 20 31 2e | 31 34 20 38 35 2f 31 32 |h.c,v 1.|14 85/12|
|00005360| 2f 31 33 20 31 35 3a 32 | 33 3a 32 31 20 73 6f 62 |/13 15:2|3:21 sob|
|00005370| 20 45 78 70 20 24 22 3b | 0a 0a 46 49 4c 45 20 2a | Exp $";|..FILE *|
|00005380| 20 66 6f 70 65 6e 20 28 | 29 2c 20 2a 69 6e 3b 0a | fopen (|), *in;.|
|00005390| 0a 69 6e 74 20 67 65 74 | 70 61 74 68 20 28 73 79 |.int get|path (sy|
|000053a0| 73 6e 61 6d 65 2c 20 70 | 61 74 68 6e 61 6d 65 2c |sname, p|athname,|
|000053b0| 70 61 74 68 66 69 6c 65 | 29 0a 63 68 61 72 20 20 |pathfile|).char |
|000053c0| 20 2a 73 79 73 6e 61 6d | 65 2c 20 2a 70 61 74 68 | *sysnam|e, *path|
|000053d0| 6e 61 6d 65 2c 2a 70 61 | 74 68 66 69 6c 65 3b 0a |name,*pa|thfile;.|
|000053e0| 7b 0a 20 20 20 20 69 6e | 74 20 72 65 74 76 61 6c |{. in|t retval|
|000053f0| 2c 69 6e 64 78 3b 0a 23 | 69 66 64 65 66 20 44 42 |,indx;.#|ifdef DB|
|00005400| 4d 0a 20 20 20 20 64 61 | 74 75 6d 20 6c 68 73 2c |M. da|tum lhs,|
|00005410| 72 68 73 3b 0a 23 65 6c | 73 65 0a 09 73 74 72 75 |rhs;.#el|se..stru|
|00005420| 63 74 20 73 74 61 74 20 | 73 74 3b 0a 20 20 20 20 |ct stat |st;. |
|00005430| 20 20 20 20 74 69 6d 65 | 5f 74 20 6d 6f 64 74 69 | time|_t modti|
|00005440| 6d 65 3b 0a 23 69 66 64 | 65 66 20 53 4f 52 54 45 |me;.#ifd|ef SORTE|
|00005450| 44 0a 09 69 6e 74 20 73 | 63 6f 6d 70 28 29 3b 0a |D..int s|comp();.|
|00005460| 0a 09 6c 6f 6e 67 20 6c | 6f 2c 68 69 3b 0a 09 6c |..long l|o,hi;..l|
|00005470| 6f 6e 67 20 63 75 72 3b | 0a 09 6c 6f 6e 67 20 6c |ong cur;|..long l|
|00005480| 61 73 74 3b 0a 09 73 74 | 61 74 69 63 20 63 68 61 |ast;..st|atic cha|
|00005490| 72 20 62 75 66 5b 32 35 | 36 5d 3b 0a 23 65 6c 73 |r buf[25|6];.#els|
|000054a0| 65 0a 20 20 20 20 63 68 | 61 72 20 20 20 20 6e 61 |e. ch|ar na|
|000054b0| 6d 65 5b 4e 41 4d 45 53 | 49 5a 5d 2c 2a 70 2c 74 |me[NAMES|IZ],*p,t|
|000054c0| 3b 0a 23 65 6e 64 69 66 | 0a 23 65 6e 64 69 66 0a |;.#endif|.#endif.|
|000054d0| 0a 23 69 66 64 65 66 20 | 44 45 42 55 47 0a 69 66 |.#ifdef |DEBUG.if|
|000054e0| 20 28 44 65 62 75 67 3e | 32 29 0a 09 70 72 69 6e | (Debug>|2)..prin|
|000054f0| 74 66 28 22 49 6e 20 67 | 65 74 70 61 74 68 3a 20 |tf("In g|etpath: |
|00005500| 53 79 73 6e 61 6d 65 20 | 3d 20 25 73 2c 20 50 61 |Sysname |= %s, Pa|
|00005510| 74 68 66 69 6c 65 20 3d | 20 25 73 5c 6e 22 2c 73 |thfile =| %s\n",s|
|00005520| 79 73 6e 61 6d 65 2c 70 | 61 74 68 73 29 3b 0a 23 |ysname,p|aths);.#|
|00005530| 65 6e 64 69 66 0a 0a 23 | 69 66 64 65 66 20 44 42 |endif..#|ifdef DB|
|00005540| 4d 0a 20 20 20 20 66 6f | 72 20 28 69 6e 64 78 20 |M. fo|r (indx |
|00005550| 3d 20 30 3b 20 69 6e 64 | 78 20 3c 20 35 3b 20 69 |= 0; ind|x < 5; i|
|00005560| 6e 64 78 2b 2b 29 0a 20 | 20 20 20 7b 0a 09 69 66 |ndx++). | {..if|
|00005570| 20 28 28 72 65 74 76 61 | 6c 20 3d 20 64 62 6d 69 | ((retva|l = dbmi|
|00005580| 6e 69 74 20 28 70 61 74 | 68 66 69 6c 65 29 29 20 |nit (pat|hfile)) |
|00005590| 3e 3d 20 30 29 0a 09 20 | 20 20 20 62 72 65 61 6b |>= 0).. | break|
|000055a0| 3b 0a 09 0a 23 69 66 64 | 65 66 20 44 45 42 55 47 |;...#ifd|ef DEBUG|
|000055b0| 0a 09 69 66 20 28 44 65 | 62 75 67 3e 32 29 0a 09 |..if (De|bug>2)..|
|000055c0| 20 20 20 20 66 70 72 69 | 6e 74 66 20 28 73 74 64 | fpri|ntf (std|
|000055d0| 65 72 72 2c 20 22 44 61 | 74 61 62 61 73 65 20 75 |err, "Da|tabase u|
|000055e0| 6e 61 76 61 69 6c 61 62 | 6c 65 2e 20 20 53 6c 65 |navailab|le. Sle|
|000055f0| 65 70 69 6e 67 2e 5c 6e | 22 29 3b 0a 23 65 6e 64 |eping.\n|");.#end|
|00005600| 69 66 0a 09 73 6c 65 65 | 70 20 28 54 49 4d 45 4f |if..slee|p (TIMEO|
|00005610| 55 54 29 3b 0a 20 20 20 | 20 7d 0a 0a 20 20 20 20 |UT);. | }.. |
|00005620| 69 66 20 28 72 65 74 76 | 61 6c 20 3c 20 30 29 0a |if (retv|al < 0).|
|00005630| 09 72 65 74 75 72 6e 28 | 45 58 5f 4e 4f 49 4e 50 |.return(|EX_NOINP|
|00005640| 55 54 29 3b 0a 0a 20 20 | 20 20 6c 68 73 2e 64 70 |UT);.. | lhs.dp|
|00005650| 74 72 20 3d 20 53 45 4e | 54 49 4e 45 4c 3b 0a 20 |tr = SEN|TINEL;. |
|00005660| 20 20 20 6c 68 73 2e 64 | 73 69 7a 65 20 3d 20 73 | lhs.d|size = s|
|00005670| 74 72 6c 65 6e 20 28 53 | 45 4e 54 49 4e 45 4c 29 |trlen (S|ENTINEL)|
|00005680| 20 2b 20 31 3b 0a 20 20 | 20 20 66 6f 72 20 28 69 | + 1;. | for (i|
|00005690| 6e 64 78 20 3d 20 30 3b | 20 69 6e 64 78 20 3c 20 |ndx = 0;| indx < |
|000056a0| 35 3b 20 69 6e 64 78 2b | 2b 29 0a 20 20 20 20 7b |5; indx+|+). {|
|000056b0| 0a 09 72 68 73 20 3d 20 | 66 65 74 63 68 20 28 6c |..rhs = |fetch (l|
|000056c0| 68 73 29 3b 0a 09 69 66 | 20 28 72 68 73 2e 64 73 |hs);..if| (rhs.ds|
|000056d0| 69 7a 65 20 3e 20 30 29 | 0a 09 20 20 20 20 62 72 |ize > 0)|.. br|
|000056e0| 65 61 6b 3b 0a 09 0a 23 | 69 66 64 65 66 20 44 45 |eak;...#|ifdef DE|
|000056f0| 42 55 47 0a 09 69 66 20 | 28 44 65 62 75 67 3e 32 |BUG..if |(Debug>2|
|00005700| 29 0a 09 20 20 20 20 66 | 70 72 69 6e 74 66 20 28 |).. f|printf (|
|00005710| 73 74 64 65 72 72 2c 20 | 22 44 61 74 61 62 61 73 |stderr, |"Databas|
|00005720| 65 20 69 6e 63 6f 6d 70 | 6c 65 74 65 2e 20 20 53 |e incomp|lete. S|
|00005730| 6c 65 65 70 69 6e 67 2e | 5c 6e 22 29 3b 0a 23 65 |leeping.|\n");.#e|
|00005740| 6e 64 69 66 0a 09 73 6c | 65 65 70 20 28 54 49 4d |ndif..sl|eep (TIM|
|00005750| 45 4f 55 54 29 3b 0a 20 | 20 20 20 7d 0a 20 20 20 |EOUT);. | }. |
|00005760| 20 69 66 20 28 72 68 73 | 2e 64 73 69 7a 65 20 3c | if (rhs|.dsize <|
|00005770| 3d 20 30 29 0a 09 72 65 | 74 75 72 6e 28 45 58 5f |= 0)..re|turn(EX_|
|00005780| 54 45 4d 50 46 41 49 4c | 29 3b 0a 0a 20 20 20 20 |TEMPFAIL|);.. |
|00005790| 09 6c 68 73 2e 64 70 74 | 72 20 3d 20 73 79 73 6e |.lhs.dpt|r = sysn|
|000057a0| 61 6d 65 3b 0a 09 6c 68 | 73 2e 64 73 69 7a 65 20 |ame;..lh|s.dsize |
|000057b0| 3d 20 73 74 72 6c 65 6e | 28 73 79 73 6e 61 6d 65 |= strlen|(sysname|
|000057c0| 29 2b 31 3b 0a 09 72 68 | 73 20 3d 20 66 65 74 63 |)+1;..rh|s = fetc|
|000057d0| 68 28 6c 68 73 29 3b 0a | 09 69 66 20 28 72 68 73 |h(lhs);.|.if (rhs|
|000057e0| 2e 64 70 74 72 20 3d 3d | 20 4e 55 4c 4c 29 20 72 |.dptr ==| NULL) r|
|000057f0| 65 74 75 72 6e 28 45 58 | 5f 4e 4f 48 4f 53 54 29 |eturn(EX|_NOHOST)|
|00005800| 3b 20 2f 2a 20 6e 6f 20 | 6e 61 6d 65 20 66 6f 75 |; /* no |name fou|
|00005810| 6e 64 20 2a 2f 0a 09 73 | 74 72 63 70 79 28 70 61 |nd */..s|trcpy(pa|
|00005820| 74 68 6e 61 6d 65 2c 72 | 68 73 2e 64 70 74 72 29 |thname,r|hs.dptr)|
|00005830| 3b 0a 20 20 20 20 20 20 | 20 20 72 65 74 75 72 6e |;. | return|
|00005840| 28 45 58 5f 4f 4b 29 3b | 09 09 09 2f 2a 20 73 79 |(EX_OK);|.../* sy|
|00005850| 73 74 65 6d 20 6e 61 6d | 65 20 66 6f 75 6e 64 20 |stem nam|e found |
|00005860| 2a 2f 0a 0a 23 65 6c 73 | 65 0a 69 66 20 28 69 6e |*/..#els|e.if (in|
|00005870| 20 3d 3d 20 4e 55 4c 4c | 29 20 0a 20 20 20 20 7b | == NULL|) . {|
|00005880| 0a 09 66 6f 72 20 28 69 | 6e 64 78 20 3d 20 30 3b |..for (i|ndx = 0;|
|00005890| 20 69 6e 64 78 20 3c 20 | 35 3b 20 69 6e 64 78 2b | indx < |5; indx+|
|000058a0| 2b 29 0a 09 20 20 20 20 | 7b 0a 09 09 69 66 20 28 |+).. |{...if (|
|000058b0| 28 69 6e 20 3d 20 66 6f | 70 65 6e 28 70 61 74 68 |(in = fo|pen(path|
|000058c0| 66 69 6c 65 2c 20 22 72 | 22 29 29 20 21 3d 20 4e |file, "r|")) != N|
|000058d0| 55 4c 4c 29 0a 09 09 20 | 20 20 20 62 72 65 61 6b |ULL)... | break|
|000058e0| 3b 0a 09 0a 23 69 66 64 | 65 66 20 44 45 42 55 47 |;...#ifd|ef DEBUG|
|000058f0| 0a 09 09 69 66 20 28 44 | 65 62 75 67 3e 32 29 0a |...if (D|ebug>2).|
|00005900| 09 09 20 20 20 20 66 70 | 72 69 6e 74 66 20 28 73 |.. fp|rintf (s|
|00005910| 74 64 65 72 72 2c 20 22 | 44 61 74 61 62 61 73 65 |tderr, "|Database|
|00005920| 20 75 6e 61 76 61 69 6c | 61 62 6c 65 2e 20 20 53 | unavail|able. S|
|00005930| 6c 65 65 70 69 6e 67 2e | 5c 6e 22 29 3b 0a 23 65 |leeping.|\n");.#e|
|00005940| 6e 64 69 66 0a 09 09 73 | 6c 65 65 70 20 28 54 49 |ndif...s|leep (TI|
|00005950| 4d 45 4f 55 54 29 3b 0a | 09 20 20 20 20 7d 0a 20 |MEOUT);.|. }. |
|00005960| 20 20 20 69 66 20 28 69 | 6e 20 3d 3d 20 4e 55 4c | if (i|n == NUL|
|00005970| 4c 29 0a 09 72 65 74 75 | 72 6e 28 45 58 5f 4e 4f |L)..retu|rn(EX_NO|
|00005980| 49 4e 50 55 54 29 3b 0a | 20 20 20 20 7d 0a 20 20 |INPUT);.| }. |
|00005990| 20 20 65 6c 73 65 0a 09 | 72 65 77 69 6e 64 28 69 | else..|rewind(i|
|000059a0| 6e 29 3b 0a 20 20 20 20 | 69 6e 64 78 20 3d 20 30 |n);. |indx = 0|
|000059b0| 3b 0a 72 65 73 74 61 72 | 74 3a 0a 09 69 6e 64 78 |;.restar|t:..indx|
|000059c0| 2b 2b 3b 0a 09 69 66 20 | 28 69 6e 64 78 20 3e 20 |++;..if |(indx > |
|000059d0| 35 29 20 72 65 74 75 72 | 6e 28 45 58 5f 54 45 4d |5) retur|n(EX_TEM|
|000059e0| 50 46 41 49 4c 29 3b 0a | 09 73 74 61 74 28 70 61 |PFAIL);.|.stat(pa|
|000059f0| 74 68 66 69 6c 65 2c 20 | 26 73 74 29 3b 0a 09 6d |thfile, |&st);..m|
|00005a00| 6f 64 74 69 6d 65 3d 73 | 74 2e 73 74 5f 6d 74 69 |odtime=s|t.st_mti|
|00005a10| 6d 65 3b 20 2f 2a 20 6f | 72 69 67 69 6e 61 6c 20 |me; /* o|riginal |
|00005a20| 6c 61 73 74 20 6d 6f 64 | 69 66 69 63 61 74 69 6f |last mod|ificatio|
|00005a30| 6e 20 74 69 6d 65 20 2a | 2f 0a 0a 23 69 66 64 65 |n time *|/..#ifde|
|00005a40| 66 20 53 4f 52 54 45 44 | 0a 09 6c 6f 20 3d 20 30 |f SORTED|..lo = 0|
|00005a50| 3b 0a 09 68 69 20 3d 20 | 73 74 2e 73 74 5f 73 69 |;..hi = |st.st_si|
|00005a60| 7a 65 3b 0a 09 6c 61 73 | 74 20 3d 20 30 3b 0a 09 |ze;..las|t = 0;..|
|00005a70| 63 75 72 20 3d 20 68 69 | 20 3e 3e 20 31 3b 0a 0a |cur = hi| >> 1;..|
|00005a80| 09 77 68 69 6c 65 20 28 | 63 75 72 20 3e 20 6c 6f |.while (|cur > lo|
|00005a90| 20 26 26 20 63 75 72 20 | 3c 20 68 69 29 0a 09 7b | && cur |< hi)..{|
|00005aa0| 0a 09 09 73 74 61 74 28 | 70 61 74 68 66 69 6c 65 |...stat(|pathfile|
|00005ab0| 2c 26 73 74 29 3b 0a 09 | 09 69 66 20 28 73 74 2e |,&st);..|.if (st.|
|00005ac0| 73 74 5f 6d 74 69 6d 65 | 20 3e 20 6d 6f 64 74 69 |st_mtime| > modti|
|00005ad0| 6d 65 29 20 67 6f 74 6f | 20 72 65 73 74 61 72 74 |me) goto| restart|
|00005ae0| 3b 0a 09 09 66 73 65 65 | 6b 28 69 6e 2c 20 63 75 |;...fsee|k(in, cu|
|00005af0| 72 2c 20 30 29 3b 0a 09 | 09 66 67 65 74 73 28 62 |r, 0);..|.fgets(b|
|00005b00| 75 66 2c 20 73 69 7a 65 | 6f 66 28 62 75 66 29 2c |uf, size|of(buf),|
|00005b10| 20 69 6e 29 3b 0a 09 09 | 63 75 72 20 3d 20 66 74 | in);...|cur = ft|
|00005b20| 65 6c 6c 28 69 6e 29 3b | 0a 09 09 66 67 65 74 73 |ell(in);|...fgets|
|00005b30| 28 62 75 66 2c 20 73 69 | 7a 65 6f 66 28 62 75 66 |(buf, si|zeof(buf|
|00005b40| 29 2c 20 69 6e 29 3b 0a | 0a 23 69 66 64 65 66 09 |), in);.|.#ifdef.|
|00005b50| 44 45 42 55 47 0a 09 69 | 66 20 28 44 65 62 75 67 |DEBUG..i|f (Debug|
|00005b60| 20 3e 20 34 29 0a 09 09 | 70 72 69 6e 74 66 28 22 | > 4)...|printf("|
|00005b70| 46 6f 75 6e 64 20 73 69 | 74 65 20 25 73 5c 6e 22 |Found si|te %s\n"|
|00005b80| 2c 20 62 75 66 29 3b 0a | 23 65 6e 64 69 66 0a 09 |, buf);.|#endif..|
|00005b90| 09 69 66 20 28 73 63 6f | 6d 70 28 73 79 73 6e 61 |.if (sco|mp(sysna|
|00005ba0| 6d 65 2c 20 62 75 66 29 | 20 3c 20 30 29 20 68 69 |me, buf)| < 0) hi|
|00005bb0| 20 3d 20 63 75 72 3b 0a | 09 09 65 6c 73 65 0a 09 | = cur;.|..else..|
|00005bc0| 09 69 66 20 28 73 63 6f | 6d 70 28 73 79 73 6e 61 |.if (sco|mp(sysna|
|00005bd0| 6d 65 2c 20 62 75 66 29 | 20 3e 20 30 29 20 6c 6f |me, buf)| > 0) lo|
|00005be0| 20 3d 20 63 75 72 3b 0a | 09 09 65 6c 73 65 0a 09 | = cur;.|..else..|
|00005bf0| 09 7b 0a 09 09 09 62 75 | 66 5b 73 74 72 6c 65 6e |.{....bu|f[strlen|
|00005c00| 28 62 75 66 29 2d 31 5d | 20 3d 20 27 5c 30 27 3b |(buf)-1]| = '\0';|
|00005c10| 0a 09 09 09 73 74 72 63 | 70 79 28 70 61 74 68 6e |....strc|py(pathn|
|00005c20| 61 6d 65 2c 20 28 63 68 | 61 72 20 2a 29 69 6e 64 |ame, (ch|ar *)ind|
|00005c30| 65 78 28 62 75 66 2c 20 | 27 5c 74 27 29 20 2b 20 |ex(buf, |'\t') + |
|00005c40| 31 29 3b 0a 09 09 09 72 | 65 74 75 72 6e 28 45 58 |1);....r|eturn(EX|
|00005c50| 5f 4f 4b 29 3b 0a 09 09 | 7d 0a 09 09 63 75 72 20 |_OK);...|}...cur |
|00005c60| 3d 20 6c 6f 20 2b 20 28 | 28 68 69 20 2d 20 6c 6f |= lo + (|(hi - lo|
|00005c70| 29 3e 3e 31 29 3b 0a 09 | 09 69 66 20 28 6c 61 73 |)>>1);..|.if (las|
|00005c80| 74 20 3d 3d 20 63 75 72 | 29 20 0a 09 09 7b 0a 09 |t == cur|) ...{..|
|00005c90| 09 09 66 73 65 65 6b 28 | 69 6e 2c 20 6c 6f 2c 20 |..fseek(|in, lo, |
|00005ca0| 30 29 3b 0a 09 09 09 64 | 6f 0a 09 09 09 7b 0a 09 |0);....d|o....{..|
|00005cb0| 09 09 09 66 67 65 74 73 | 28 62 75 66 2c 20 73 69 |...fgets|(buf, si|
|00005cc0| 7a 65 6f 66 28 62 75 66 | 29 2c 20 69 6e 29 3b 0a |zeof(buf|), in);.|
|00005cd0| 09 09 09 09 6c 6f 20 3d | 20 66 74 65 6c 6c 28 69 |....lo =| ftell(i|
|00005ce0| 6e 29 3b 0a 09 09 09 09 | 69 66 20 28 73 63 6f 6d |n);.....|if (scom|
|00005cf0| 70 28 73 79 73 6e 61 6d | 65 2c 20 62 75 66 29 20 |p(sysnam|e, buf) |
|00005d00| 3d 3d 20 30 29 0a 09 09 | 09 09 7b 0a 09 09 09 09 |== 0)...|..{.....|
|00005d10| 09 62 75 66 5b 73 74 72 | 6c 65 6e 28 62 75 66 29 |.buf[str|len(buf)|
|00005d20| 2d 31 5d 20 3d 20 27 5c | 30 27 3b 0a 09 09 09 09 |-1] = '\|0';.....|
|00005d30| 09 73 74 72 63 70 79 28 | 70 61 74 68 6e 61 6d 65 |.strcpy(|pathname|
|00005d40| 2c 20 28 63 68 61 72 20 | 2a 29 69 6e 64 65 78 28 |, (char |*)index(|
|00005d50| 62 75 66 2c 20 27 5c 74 | 27 29 20 2b 20 31 29 3b |buf, '\t|') + 1);|
|00005d60| 0a 09 09 09 09 09 72 65 | 74 75 72 6e 28 45 58 5f |......re|turn(EX_|
|00005d70| 4f 4b 29 3b 0a 09 09 09 | 09 7d 0a 09 09 09 7d 20 |OK);....|.}....} |
|00005d80| 77 68 69 6c 65 20 28 6c | 6f 20 3c 3d 20 68 69 29 |while (l|o <= hi)|
|00005d90| 3b 0a 09 09 09 62 72 65 | 61 6b 3b 0a 09 09 7d 20 |;....bre|ak;...} |
|00005da0| 2f 2a 20 65 6e 64 20 69 | 66 20 2a 2f 0a 09 09 6c |/* end i|f */...l|
|00005db0| 61 73 74 20 3d 20 63 75 | 72 3b 0a 09 7d 20 2f 2a |ast = cu|r;..} /*|
|00005dc0| 20 65 6e 64 20 77 68 69 | 6c 65 20 2a 2f 0a 09 72 | end whi|le */..r|
|00005dd0| 65 74 75 72 6e 28 45 58 | 5f 4e 4f 48 4f 53 54 29 |eturn(EX|_NOHOST)|
|00005de0| 3b 0a 23 65 6c 73 65 0a | 0a 20 20 20 20 66 6f 72 |;.#else.|. for|
|00005df0| 20 28 3b 3b 29 0a 20 20 | 20 20 7b 0a 09 70 20 3d | (;;). | {..p =|
|00005e00| 20 26 6e 61 6d 65 5b 30 | 5d 3b 0a 09 77 68 69 6c | &name[0|];..whil|
|00005e10| 65 20 28 28 74 20 3d 20 | 67 65 74 63 28 69 6e 29 |e ((t = |getc(in)|
|00005e20| 29 20 21 3d 20 45 4f 46 | 20 26 26 20 28 2a 70 2b |) != EOF| && (*p+|
|00005e30| 2b 20 3d 20 74 29 20 21 | 3d 20 27 20 27 20 26 26 |+ = t) !|= ' ' &&|
|00005e40| 20 74 20 21 3d 20 27 5c | 74 27 29 3b 20 2f 2a 20 | t != '\|t'); /* |
|00005e50| 72 65 61 64 20 74 68 65 | 20 73 79 73 74 65 6d 20 |read the| system |
|00005e60| 6e 61 6d 65 20 2a 2f 0a | 20 20 20 20 20 20 20 20 |name */.| |
|00005e70| 73 74 61 74 28 70 61 74 | 68 66 69 6c 65 2c 26 73 |stat(pat|hfile,&s|
|00005e80| 74 29 3b 0a 20 20 20 20 | 20 20 20 20 69 66 20 28 |t);. | if (|
|00005e90| 73 74 2e 73 74 5f 6d 74 | 69 6d 65 20 3e 20 6d 6f |st.st_mt|ime > mo|
|00005ea0| 64 74 69 6d 65 29 20 67 | 6f 74 6f 20 72 65 73 74 |dtime) g|oto rest|
|00005eb0| 61 72 74 3b 09 09 2f 2a | 20 64 61 74 61 62 61 73 |art;../*| databas|
|00005ec0| 65 20 75 70 64 61 74 65 | 20 69 6e 20 70 72 6f 67 |e update| in prog|
|00005ed0| 72 65 73 73 20 2a 2f 0a | 09 69 66 28 20 74 20 3d |ress */.|.if( t =|
|00005ee0| 3d 20 45 4f 46 29 20 72 | 65 74 75 72 6e 28 45 58 |= EOF) r|eturn(EX|
|00005ef0| 5f 4e 4f 48 4f 53 54 29 | 3b 0a 09 2a 2d 2d 70 20 |_NOHOST)|;..*--p |
|00005f00| 3d 20 27 5c 30 27 3b 09 | 09 09 09 09 2f 2a 20 73 |= '\0';.|..../* s|
|00005f10| 65 74 20 65 6e 64 20 6f | 66 20 73 74 72 69 6e 67 |et end o|f string|
|00005f20| 20 2a 2f 0a 09 70 20 3d | 20 26 6e 61 6d 65 5b 30 | */..p =| &name[0|
|00005f30| 5d 3b 0a 23 69 66 64 65 | 66 20 44 45 42 55 47 0a |];.#ifde|f DEBUG.|
|00005f40| 09 69 66 20 28 44 65 62 | 75 67 3e 34 29 20 70 72 |.if (Deb|ug>4) pr|
|00005f50| 69 6e 74 66 28 22 46 6f | 75 6e 64 20 25 73 5c 6e |intf("Fo|und %s\n|
|00005f60| 22 2c 70 29 3b 0a 23 65 | 6e 64 69 66 0a 09 69 66 |",p);.#e|ndif..if|
|00005f70| 20 28 73 74 72 63 6d 70 | 20 28 70 2c 73 79 73 6e | (strcmp| (p,sysn|
|00005f80| 61 6d 65 29 20 3d 3d 20 | 30 29 0a 09 20 20 20 20 |ame) == |0).. |
|00005f90| 62 72 65 61 6b 3b 0a 09 | 77 68 69 6c 65 20 28 28 |break;..|while ((|
|00005fa0| 67 65 74 63 20 28 69 6e | 29 20 21 3d 20 27 5c 6e |getc (in|) != '\n|
|00005fb0| 27 29 29 3b 09 09 09 2f | 2a 20 73 6b 69 70 20 74 |'));.../|* skip t|
|00005fc0| 68 69 73 20 70 61 74 68 | 20 2a 2f 0a 20 20 20 20 |his path| */. |
|00005fd0| 7d 0a 20 20 20 20 70 20 | 3d 20 70 61 74 68 6e 61 |}. p |= pathna|
|00005fe0| 6d 65 3b 09 09 09 09 09 | 2f 2a 20 73 61 76 65 20 |me;.....|/* save |
|00005ff0| 73 74 61 72 74 20 6c 6f | 63 20 6f 66 20 70 61 74 |start lo|c of pat|
|00006000| 68 6e 61 6d 65 20 2a 2f | 0a 20 20 20 20 77 68 69 |hname */|. whi|
|00006010| 6c 65 20 28 28 2a 70 61 | 74 68 6e 61 6d 65 2b 2b |le ((*pa|thname++|
|00006020| 20 3d 20 67 65 74 63 20 | 28 69 6e 29 29 20 21 3d | = getc |(in)) !=|
|00006030| 20 27 5c 6e 27 29 3b 0a | 20 20 20 20 2a 2d 2d 70 | '\n');.| *--p|
|00006040| 61 74 68 6e 61 6d 65 20 | 3d 20 27 5c 30 27 3b 0a |athname |= '\0';.|
|00006050| 20 20 20 20 70 61 74 68 | 6e 61 6d 65 20 3d 20 70 | path|name = p|
|00006060| 3b 0a 20 20 20 20 72 65 | 74 75 72 6e 28 45 58 5f |;. re|turn(EX_|
|00006070| 4f 4b 29 3b 09 09 09 2f | 2a 20 73 79 73 74 65 6d |OK);.../|* system|
|00006080| 20 6e 61 6d 65 20 66 6f | 75 6e 64 20 2a 2f 0a 0a | name fo|und */..|
|00006090| 23 65 6e 64 69 66 0a 23 | 65 6e 64 69 66 0a 7d 0a |#endif.#|endif.}.|
|000060a0| 0a 23 69 66 64 65 66 09 | 53 4f 52 54 45 44 0a 23 |.#ifdef.|SORTED.#|
|000060b0| 64 65 66 69 6e 65 20 4d | 41 50 54 41 42 28 63 29 |define M|APTAB(c)|
|000060c0| 20 28 28 63 3d 3d 27 5c | 74 27 29 3f 27 5c 30 27 | ((c=='\|t')?'\0'|
|000060d0| 3a 63 29 0a 0a 69 6e 74 | 20 73 63 6f 6d 70 28 61 |:c)..int| scomp(a|
|000060e0| 2c 62 29 0a 63 68 61 72 | 20 2a 61 2c 2a 62 3b 0a |,b).char| *a,*b;.|
|000060f0| 7b 0a 69 6e 74 20 72 3b | 0a 09 77 68 69 6c 65 20 |{.int r;|..while |
|00006100| 28 21 28 72 3d 28 4d 41 | 50 54 41 42 28 2a 61 29 |(!(r=(MA|PTAB(*a)|
|00006110| 2d 4d 41 50 54 41 42 28 | 2a 62 29 29 29 20 26 26 |-MAPTAB(|*b))) &&|
|00006120| 20 2a 61 20 26 26 20 2a | 62 20 26 26 20 2a 61 21 | *a && *|b && *a!|
|00006130| 3d 27 5c 74 27 20 26 26 | 20 2a 62 21 3d 27 5c 74 |='\t' &&| *b!='\t|
|00006140| 27 29 0a 09 7b 0a 09 20 | 20 20 20 20 20 20 61 2b |')..{.. | a+|
|00006150| 2b 3b 20 62 2b 2b 3b 0a | 09 7d 0a 09 72 65 74 75 |+; b++;.|.}..retu|
|00006160| 72 6e 28 72 29 3b 0a 7d | 0a 23 65 6e 64 69 66 0a |rn(r);.}|.#endif.|
|00006170| 53 48 41 52 5f 45 4f 46 | 0a 69 66 20 74 65 73 74 |SHAR_EOF|.if test|
|00006180| 20 36 36 30 36 20 2d 6e | 65 20 22 60 77 63 20 2d | 6606 -n|e "`wc -|
|00006190| 63 20 3c 20 27 67 65 74 | 70 61 74 68 2e 63 27 60 |c < 'get|path.c'`|
|000061a0| 22 0a 74 68 65 6e 0a 09 | 65 63 68 6f 20 73 68 61 |".then..|echo sha|
|000061b0| 72 3a 20 65 72 72 6f 72 | 20 74 72 61 6e 73 6d 69 |r: error| transmi|
|000061c0| 74 74 69 6e 67 20 22 27 | 67 65 74 70 61 74 68 2e |tting "'|getpath.|
|000061d0| 63 27 22 20 27 28 73 68 | 6f 75 6c 64 20 68 61 76 |c'" '(sh|ould hav|
|000061e0| 65 20 62 65 65 6e 20 36 | 36 30 36 20 63 68 61 72 |e been 6|606 char|
|000061f0| 61 63 74 65 72 73 29 27 | 0a 66 69 0a 66 69 0a 65 |acters)'|.fi.fi.e|
|00006200| 63 68 6f 20 73 68 61 72 | 3a 20 65 78 74 72 61 63 |cho shar|: extrac|
|00006210| 74 69 6e 67 20 22 27 6f | 70 61 74 68 2e 33 27 22 |ting "'o|path.3'"|
|00006220| 20 27 28 34 38 38 39 20 | 63 68 61 72 61 63 74 65 | '(4889 |characte|
|00006230| 72 73 29 27 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |rs)'.if |test -f |
|00006240| 27 6f 70 61 74 68 2e 33 | 27 0a 74 68 65 6e 0a 09 |'opath.3|'.then..|
|00006250| 65 63 68 6f 20 73 68 61 | 72 3a 20 77 69 6c 6c 20 |echo sha|r: will |
|00006260| 6e 6f 74 20 6f 76 65 72 | 2d 77 72 69 74 65 20 65 |not over|-write e|
|00006270| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 22 27 6f |xisting |file "'o|
|00006280| 70 61 74 68 2e 33 27 22 | 0a 65 6c 73 65 0a 63 61 |path.3'"|.else.ca|
|00006290| 74 20 3c 3c 20 5c 53 48 | 41 52 5f 45 4f 46 20 3e |t << \SH|AR_EOF >|
|000062a0| 20 27 6f 70 61 74 68 2e | 33 27 0a 2e 54 48 20 4f | 'opath.|3'..TH O|
|000062b0| 50 41 54 48 20 33 20 22 | 43 4f 4e 43 55 52 52 45 |PATH 3 "|CONCURRE|
|000062c0| 4e 54 22 0a 2e 53 48 20 | 4e 41 4d 45 0a 6f 70 61 |NT"..SH |NAME.opa|
|000062d0| 74 68 20 2d 20 47 65 6e | 65 72 61 74 65 20 61 20 |th - Gen|erate a |
|000062e0| 55 55 43 50 20 72 6f 75 | 74 65 20 66 72 6f 6d 20 |UUCP rou|te from |
|000062f0| 61 6e 20 52 46 43 38 32 | 32 20 61 64 64 72 65 73 |an RFC82|2 addres|
|00006300| 73 0a 2e 62 72 0a 6f 75 | 70 61 74 68 20 2d 20 47 |s..br.ou|path - G|
|00006310| 65 6e 65 72 61 74 65 20 | 61 20 55 55 43 50 20 72 |enerate |a UUCP r|
|00006320| 6f 75 74 65 20 66 72 6f | 6d 20 61 20 28 70 6f 73 |oute fro|m a (pos|
|00006330| 73 69 62 6c 79 20 64 69 | 73 63 6f 6e 6e 65 63 74 |sibly di|sconnect|
|00006340| 65 64 29 20 55 55 43 50 | 20 70 61 74 68 0a 2e 53 |ed) UUCP| path..S|
|00006350| 48 20 53 59 4e 4f 50 53 | 49 53 0a 63 68 61 72 20 |H SYNOPS|IS.char |
|00006360| 2a 6f 70 61 74 68 28 73 | 29 0a 2e 62 72 0a 63 68 |*opath(s|)..br.ch|
|00006370| 61 72 20 2a 73 3b 0a 2e | 73 70 20 31 0a 63 68 61 |ar *s;..|sp 1.cha|
|00006380| 72 20 2a 6f 75 70 61 74 | 68 28 73 29 0a 2e 62 72 |r *oupat|h(s)..br|
|00006390| 0a 63 68 61 72 20 2a 73 | 3b 0a 2e 53 48 20 44 45 |.char *s|;..SH DE|
|000063a0| 53 43 52 49 50 54 49 4f | 4e 0a 54 68 65 73 65 20 |SCRIPTIO|N.These |
|000063b0| 72 6f 75 74 69 6e 65 73 | 20 75 73 65 20 74 68 65 |routines| use the|
|000063c0| 20 5c 66 42 70 61 74 68 | 61 6c 69 61 73 5c 66 52 | \fBpath|alias\fR|
|000063d0| 20 64 61 74 61 62 61 73 | 65 20 74 6f 20 67 65 6e | databas|e to gen|
|000063e0| 65 72 61 74 65 20 55 55 | 43 50 20 72 6f 75 74 69 |erate UU|CP routi|
|000063f0| 6e 67 0a 70 61 74 68 73 | 20 66 72 6f 6d 20 79 6f |ng.paths| from yo|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.