home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / system / mail / mailhand / metamail.z / metamail
Tape Archive  |  1993-03-23  |  710.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Tape Archive (archive/tar).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Tape Archive (archive/tar) magic Supported
100% file POSIX tar archive (GNU) default
99% file POSIX tar archive (GNU), file README, mode 644 , uid 625 , gid 1 , size 17761 , seconds 5167104037, user mguerra, group other default
98% file data default
41% TrID Sybase iAnywhere database files default (weak)
36% TrID TAR - Tape ARchive (GNU) default
21% TrID TAR - Tape ARchive (file) default
100% siegfried x-fmt/265 Tape Archive Format default
100% lsar Tar default
100% gt2 TAR Archiv gefunden (Auflistung ist deaktiviert) default
100% disktype GNU tar archive default
100% detectItEasy Archive: tar default
100% binwalkID POSIX tar archive (GNU) default
100% xdgMime application/x-tar default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 52 45 41 44 4d 45 00 00 | 00 00 00 00 00 00 00 00 |README..|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 20 36 |.... 6|44 . 6|
|00000070| 32 35 20 00 20 20 20 20 | 20 31 20 00 20 20 20 20 |25 . | 1 . |
|00000080| 20 20 31 37 37 36 31 20 | 20 35 31 36 37 31 30 34 | 17761 | 5167104|
|00000090| 30 33 37 20 20 31 30 36 | 36 36 00 20 30 00 00 00 |037 106|66. 0...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 75 73 74 61 72 20 20 | 00 6d 67 75 65 72 72 61 |.ustar |.mguerra|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 6f 74 68 65 72 00 00 |........|.other..|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000210| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000220| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000230| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000240| 0a 43 6f 70 79 72 69 67 | 68 74 20 28 63 29 20 31 |.Copyrig|ht (c) 1|
|00000250| 39 39 31 20 42 65 6c 6c | 20 43 6f 6d 6d 75 6e 69 |991 Bell| Communi|
|00000260| 63 61 74 69 6f 6e 73 20 | 52 65 73 65 61 72 63 68 |cations |Research|
|00000270| 2c 20 49 6e 63 2e 20 28 | 42 65 6c 6c 63 6f 72 65 |, Inc. (|Bellcore|
|00000280| 29 0a 0a 50 65 72 6d 69 | 73 73 69 6f 6e 20 74 6f |)..Permi|ssion to|
|00000290| 20 75 73 65 2c 20 63 6f | 70 79 2c 20 6d 6f 64 69 | use, co|py, modi|
|000002a0| 66 79 2c 20 61 6e 64 20 | 64 69 73 74 72 69 62 75 |fy, and |distribu|
|000002b0| 74 65 20 74 68 69 73 20 | 6d 61 74 65 72 69 61 6c |te this |material|
|000002c0| 20 0a 66 6f 72 20 61 6e | 79 20 70 75 72 70 6f 73 | .for an|y purpos|
|000002d0| 65 20 61 6e 64 20 77 69 | 74 68 6f 75 74 20 66 65 |e and wi|thout fe|
|000002e0| 65 20 69 73 20 68 65 72 | 65 62 79 20 67 72 61 6e |e is her|eby gran|
|000002f0| 74 65 64 2c 20 70 72 6f | 76 69 64 65 64 20 0a 74 |ted, pro|vided .t|
|00000300| 68 61 74 20 74 68 65 20 | 61 62 6f 76 65 20 63 6f |hat the |above co|
|00000310| 70 79 72 69 67 68 74 20 | 6e 6f 74 69 63 65 20 61 |pyright |notice a|
|00000320| 6e 64 20 74 68 69 73 20 | 70 65 72 6d 69 73 73 69 |nd this |permissi|
|00000330| 6f 6e 20 6e 6f 74 69 63 | 65 20 0a 61 70 70 65 61 |on notic|e .appea|
|00000340| 72 20 69 6e 20 61 6c 6c | 20 63 6f 70 69 65 73 2c |r in all| copies,|
|00000350| 20 61 6e 64 20 74 68 61 | 74 20 74 68 65 20 6e 61 | and tha|t the na|
|00000360| 6d 65 20 6f 66 20 42 65 | 6c 6c 63 6f 72 65 20 6e |me of Be|llcore n|
|00000370| 6f 74 20 62 65 20 0a 75 | 73 65 64 20 69 6e 20 61 |ot be .u|sed in a|
|00000380| 64 76 65 72 74 69 73 69 | 6e 67 20 6f 72 20 70 75 |dvertisi|ng or pu|
|00000390| 62 6c 69 63 69 74 79 20 | 70 65 72 74 61 69 6e 69 |blicity |pertaini|
|000003a0| 6e 67 20 74 6f 20 74 68 | 69 73 20 0a 6d 61 74 65 |ng to th|is .mate|
|000003b0| 72 69 61 6c 20 77 69 74 | 68 6f 75 74 20 74 68 65 |rial wit|hout the|
|000003c0| 20 73 70 65 63 69 66 69 | 63 2c 20 70 72 69 6f 72 | specifi|c, prior|
|000003d0| 20 77 72 69 74 74 65 6e | 20 70 65 72 6d 69 73 73 | written| permiss|
|000003e0| 69 6f 6e 20 0a 6f 66 20 | 61 6e 20 61 75 74 68 6f |ion .of |an autho|
|000003f0| 72 69 7a 65 64 20 72 65 | 70 72 65 73 65 6e 74 61 |rized re|presenta|
|00000400| 74 69 76 65 20 6f 66 20 | 42 65 6c 6c 63 6f 72 65 |tive of |Bellcore|
|00000410| 2e 20 20 42 45 4c 4c 43 | 4f 52 45 20 0a 4d 41 4b |. BELLC|ORE .MAK|
|00000420| 45 53 20 4e 4f 20 52 45 | 50 52 45 53 45 4e 54 41 |ES NO RE|PRESENTA|
|00000430| 54 49 4f 4e 53 20 41 42 | 4f 55 54 20 54 48 45 20 |TIONS AB|OUT THE |
|00000440| 41 43 43 55 52 41 43 59 | 20 4f 52 20 53 55 49 54 |ACCURACY| OR SUIT|
|00000450| 41 42 49 4c 49 54 59 20 | 0a 4f 46 20 54 48 49 53 |ABILITY |.OF THIS|
|00000460| 20 4d 41 54 45 52 49 41 | 4c 20 46 4f 52 20 41 4e | MATERIA|L FOR AN|
|00000470| 59 20 50 55 52 50 4f 53 | 45 2e 20 20 49 54 20 49 |Y PURPOS|E. IT I|
|00000480| 53 20 50 52 4f 56 49 44 | 45 44 20 22 41 53 20 49 |S PROVID|ED "AS I|
|00000490| 53 22 2c 20 0a 57 49 54 | 48 4f 55 54 20 41 4e 59 |S", .WIT|HOUT ANY|
|000004a0| 20 45 58 50 52 45 53 53 | 20 4f 52 20 49 4d 50 4c | EXPRESS| OR IMPL|
|000004b0| 49 45 44 20 57 41 52 52 | 41 4e 54 49 45 53 2e 0a |IED WARR|ANTIES..|
|000004c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000004d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000004e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000004f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000500| 0a 0a 49 2e 20 49 4e 54 | 52 4f 44 55 43 54 49 4f |..I. INT|RODUCTIO|
|00000510| 4e 0a 0a 54 68 69 73 20 | 69 73 20 61 20 74 72 65 |N..This |is a tre|
|00000520| 65 20 6f 66 20 66 69 6c | 65 73 20 74 68 61 74 20 |e of fil|es that |
|00000530| 77 69 6c 6c 20 62 75 69 | 6c 64 20 74 68 65 20 6d |will bui|ld the m|
|00000540| 65 74 61 6d 61 69 6c 20 | 70 72 6f 67 72 61 6d 2c |etamail |program,|
|00000550| 20 77 68 69 63 68 20 63 | 61 6e 0a 62 65 20 75 73 | which c|an.be us|
|00000560| 65 64 20 74 6f 20 74 75 | 72 6e 20 76 69 72 74 75 |ed to tu|rn virtu|
|00000570| 61 6c 6c 79 20 61 6e 79 | 20 6d 61 69 6c 2d 72 65 |ally any| mail-re|
|00000580| 61 64 69 6e 67 20 70 72 | 6f 67 72 61 6d 20 69 6e |ading pr|ogram in|
|00000590| 74 6f 20 61 20 6d 75 6c | 74 69 6d 65 64 69 61 0a |to a mul|timedia.|
|000005a0| 6d 61 69 6c 20 72 65 61 | 64 65 72 2c 20 61 73 20 |mail rea|der, as |
|000005b0| 77 65 6c 6c 20 61 73 20 | 70 72 6f 67 72 61 6d 73 |well as |programs|
|000005c0| 20 74 68 61 74 20 77 69 | 6c 6c 20 61 6c 6c 6f 77 | that wi|ll allow|
|000005d0| 20 6d 65 74 61 6d 61 69 | 6c 20 74 6f 20 64 69 73 | metamai|l to dis|
|000005e0| 70 6c 61 79 0a 73 65 76 | 65 72 61 6c 20 73 70 65 |play.sev|eral spe|
|000005f0| 63 69 66 69 63 20 74 79 | 70 65 73 20 6f 66 20 6d |cific ty|pes of m|
|00000600| 75 6c 74 69 6d 65 64 69 | 61 20 6d 61 69 6c 2e 0a |ultimedi|a mail..|
|00000610| 0a 4d 65 74 61 6d 61 69 | 6c 20 69 73 20 61 6e 20 |.Metamai|l is an |
|00000620| 69 6d 70 6c 65 6d 65 6e | 74 61 74 69 6f 6e 20 6f |implemen|tation o|
|00000630| 66 20 4d 49 4d 45 2c 20 | 74 68 65 20 4d 75 6c 74 |f MIME, |the Mult|
|00000640| 69 70 75 72 70 6f 73 65 | 20 49 6e 74 65 72 6e 65 |ipurpose| Interne|
|00000650| 74 20 0a 4d 61 69 6c 20 | 45 78 74 65 6e 73 69 6f |t .Mail |Extensio|
|00000660| 6e 73 2c 20 61 20 70 72 | 6f 70 6f 73 65 64 20 73 |ns, a pr|oposed s|
|00000670| 74 61 6e 64 61 72 64 20 | 66 6f 72 20 6d 75 6c 74 |tandard |for mult|
|00000680| 69 6d 65 64 69 61 20 6d | 61 69 6c 20 6f 6e 20 74 |imedia m|ail on t|
|00000690| 68 65 20 49 6e 74 65 72 | 6e 65 74 2e 0a 4d 65 74 |he Inter|net..Met|
|000006a0| 61 6d 61 69 6c 20 69 6d | 70 6c 65 6d 65 6e 74 73 |amail im|plements|
|000006b0| 20 4d 49 4d 45 2c 20 61 | 6e 64 20 61 6c 73 6f 20 | MIME, a|nd also |
|000006c0| 69 6d 70 6c 65 6d 65 6e | 74 73 20 65 78 74 65 6e |implemen|ts exten|
|000006d0| 73 69 62 69 6c 69 74 79 | 20 61 6e 64 0a 63 6f 6e |sibility| and.con|
|000006e0| 66 69 67 75 72 61 74 69 | 6f 6e 20 76 69 61 20 74 |figurati|on via t|
|000006f0| 68 65 20 22 6d 61 69 6c | 63 61 70 22 20 6d 65 63 |he "mail|cap" mec|
|00000700| 68 61 6e 69 73 6d 20 64 | 65 73 63 72 69 62 65 64 |hanism d|escribed|
|00000710| 20 69 6e 20 61 6e 20 69 | 6e 66 6f 72 6d 61 74 69 | in an i|nformati|
|00000720| 6f 6e 61 6c 0a 52 46 43 | 20 74 68 61 74 20 69 73 |onal.RFC| that is|
|00000730| 20 61 20 63 6f 6d 70 61 | 6e 69 6f 6e 20 74 6f 20 | a compa|nion to |
|00000740| 74 68 65 20 4d 49 4d 45 | 20 64 6f 63 75 6d 65 6e |the MIME| documen|
|00000750| 74 2e 0a 0a 49 49 2e 20 | 42 55 49 4c 44 49 4e 47 |t...II. |BUILDING|
|00000760| 20 4d 45 54 41 4d 41 49 | 4c 0a 0a 54 6f 20 63 6f | METAMAI|L..To co|
|00000770| 6d 70 69 6c 65 20 6d 65 | 74 61 6d 61 69 6c 20 61 |mpile me|tamail a|
|00000780| 6e 64 20 61 20 66 65 77 | 20 75 73 65 66 75 6c 20 |nd a few| useful |
|00000790| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 2c 20 6a 75 |applicat|ions, ju|
|000007a0| 73 74 20 74 79 70 65 20 | 22 6d 61 6b 65 22 20 69 |st type |"make" i|
|000007b0| 6e 20 0a 74 68 65 20 74 | 6f 70 2d 6c 65 76 65 6c |n .the t|op-level|
|000007c0| 20 64 69 72 65 63 74 6f | 72 79 2e 20 20 4e 6f 74 | directo|ry. Not|
|000007d0| 65 20 74 68 61 74 20 79 | 6f 75 20 6d 61 79 20 6e |e that y|ou may n|
|000007e0| 65 65 64 20 74 6f 20 63 | 68 61 6e 67 65 20 74 68 |eed to c|hange th|
|000007f0| 65 20 6c 69 6e 65 20 69 | 6e 20 0a 74 68 65 20 74 |e line i|n .the t|
|00000800| 6f 70 2d 6c 65 76 65 6c | 20 4d 61 6b 65 66 69 6c |op-level| Makefil|
|00000810| 65 20 74 68 61 74 20 64 | 65 66 69 6e 65 73 20 74 |e that d|efines t|
|00000820| 68 65 20 41 54 4f 4d 49 | 43 4d 41 49 4c 20 63 6f |he ATOMI|CMAIL co|
|00000830| 6e 73 74 61 6e 74 2e 20 | 20 0a 54 68 69 73 20 73 |nstant. | .This s|
|00000840| 68 6f 75 6c 64 20 62 65 | 20 74 68 65 20 65 6d 70 |hould be| the emp|
|00000850| 74 79 20 73 74 72 69 6e | 67 20 69 66 20 79 6f 75 |ty strin|g if you|
|00000860| 20 68 61 76 65 20 74 68 | 65 20 6d 65 74 61 6d 61 | have th|e metama|
|00000870| 69 6c 20 64 69 73 74 72 | 69 62 75 74 69 6f 6e 20 |il distr|ibution |
|00000880| 0a 57 49 54 48 4f 55 54 | 20 74 68 65 20 41 54 4f |.WITHOUT| the ATO|
|00000890| 4d 49 43 4d 41 49 4c 20 | 73 6f 66 74 77 61 72 65 |MICMAIL |software|
|000008a0| 2c 20 61 6e 64 20 73 68 | 6f 75 6c 64 20 62 65 20 |, and sh|ould be |
|000008b0| 73 65 74 20 74 6f 0a 22 | 61 74 6f 6d 69 63 6d 61 |set to."|atomicma|
|000008c0| 69 6c 22 20 69 66 20 79 | 6f 75 20 68 61 76 65 20 |il" if y|ou have |
|000008d0| 74 68 65 20 66 75 6c 6c | 65 72 2c 20 6d 6f 72 65 |the full|er, more|
|000008e0| 20 70 72 6f 70 72 69 65 | 74 61 72 79 20 64 69 73 | proprie|tary dis|
|000008f0| 74 72 69 62 75 74 69 6f | 6e 2e 0a 0a 49 49 2e 61 |tributio|n...II.a|
|00000900| 2e 20 20 53 49 54 45 20 | 43 4f 4e 46 49 47 55 52 |. SITE |CONFIGUR|
|00000910| 41 54 49 4f 4e 0a 0a 54 | 68 65 72 65 20 61 72 65 |ATION..T|here are|
|00000920| 20 61 20 66 65 77 20 74 | 68 69 6e 67 73 20 74 68 | a few t|hings th|
|00000930| 61 74 20 61 72 65 20 73 | 69 74 65 2d 63 6f 6e 66 |at are s|ite-conf|
|00000940| 69 67 75 72 61 62 6c 65 | 20 62 65 66 6f 72 65 20 |igurable| before |
|00000950| 74 68 65 20 62 75 69 6c | 64 2e 0a 49 66 20 79 6f |the buil|d..If yo|
|00000960| 75 20 77 61 6e 74 20 74 | 6f 20 63 68 65 63 6b 20 |u want t|o check |
|00000970| 74 68 65 6d 20 6f 76 65 | 72 2c 20 6c 6f 6f 6b 20 |them ove|r, look |
|00000980| 69 6e 20 22 63 6f 6e 66 | 69 67 2e 68 22 20 69 6e |in "conf|ig.h" in|
|00000990| 20 74 68 65 20 74 6f 70 | 2d 6c 65 76 65 6c 20 0a | the top|-level .|
|000009a0| 64 69 72 65 63 74 6f 72 | 79 2e 20 20 41 6c 73 6f |director|y. Also|
|000009b0| 2c 20 69 66 20 79 6f 75 | 20 6e 65 65 64 20 74 6f |, if you| need to|
|000009c0| 20 63 68 61 6e 67 65 20 | 74 68 65 20 43 46 4c 41 | change |the CFLA|
|000009d0| 47 53 20 4d 61 6b 65 66 | 69 6c 65 20 76 61 72 69 |GS Makef|ile vari|
|000009e0| 61 62 6c 65 2c 0a 79 6f | 75 20 63 61 6e 20 6a 75 |able,.yo|u can ju|
|000009f0| 73 74 20 63 68 61 6e 67 | 65 20 69 74 20 69 6e 20 |st chang|e it in |
|00000a00| 74 68 65 20 74 6f 70 2d | 6c 65 76 65 6c 20 4d 61 |the top-|level Ma|
|00000a10| 6b 65 66 69 6c 65 20 61 | 6e 64 20 69 74 20 77 69 |kefile a|nd it wi|
|00000a20| 6c 6c 20 70 72 6f 70 6f | 67 61 74 65 0a 74 6f 20 |ll propo|gate.to |
|00000a30| 74 68 65 20 73 75 62 64 | 69 72 65 63 74 6f 72 69 |the subd|irectori|
|00000a40| 65 73 20 61 73 20 6c 6f | 6e 67 20 61 73 20 79 6f |es as lo|ng as yo|
|00000a50| 75 20 61 6c 77 61 79 73 | 20 64 6f 20 61 20 74 6f |u always| do a to|
|00000a60| 70 2d 6c 65 76 65 6c 20 | 6d 61 6b 65 20 69 6e 73 |p-level |make ins|
|00000a70| 74 65 61 64 0a 6f 66 20 | 63 64 27 69 6e 67 20 74 |tead.of |cd'ing t|
|00000a80| 6f 20 61 20 73 75 62 64 | 69 72 65 63 74 6f 72 79 |o a subd|irectory|
|00000a90| 20 61 6e 64 20 74 79 70 | 69 6e 67 20 6d 61 6b 65 | and typ|ing make|
|00000aa0| 2e 20 20 53 69 6d 69 6c | 61 72 6c 79 2c 20 79 6f |. Simil|arly, yo|
|00000ab0| 75 20 63 61 6e 20 63 68 | 61 6e 67 65 20 0a 74 68 |u can ch|ange .th|
|00000ac0| 65 20 4c 44 4c 49 42 53 | 20 76 61 72 69 61 62 6c |e LDLIBS| variabl|
|00000ad0| 65 20 69 6e 20 74 68 65 | 20 74 6f 70 2d 6c 65 76 |e in the| top-lev|
|00000ae0| 65 6c 20 4d 61 6b 65 66 | 69 6c 65 20 61 6e 64 20 |el Makef|ile and |
|00000af0| 69 74 20 77 69 6c 6c 20 | 62 65 20 70 61 73 73 65 |it will |be passe|
|00000b00| 64 20 0a 64 6f 77 6e 20 | 61 75 74 6f 6d 61 74 69 |d .down |automati|
|00000b10| 63 61 6c 6c 79 2e 20 20 | 20 20 4c 44 4c 49 42 53 |cally. | LDLIBS|
|00000b20| 20 6d 61 79 20 62 65 20 | 6e 65 63 65 73 73 61 72 | may be |necessar|
|00000b30| 79 20 69 6e 20 6f 72 64 | 65 72 20 74 6f 20 67 65 |y in ord|er to ge|
|00000b40| 74 20 74 68 65 20 0a 67 | 65 74 68 6f 73 74 6e 61 |t the .g|ethostna|
|00000b50| 6d 65 28 29 20 63 61 6c | 6c 20 74 6f 20 63 6f 6d |me() cal|l to com|
|00000b60| 70 69 6c 65 2c 20 69 6e | 20 70 61 72 74 69 63 75 |pile, in| particu|
|00000b70| 6c 61 72 2e 20 20 55 73 | 65 72 73 20 6f 66 20 53 |lar. Us|ers of S|
|00000b80| 79 73 74 65 6d 20 56 20 | 6f 72 0a 6f 74 68 65 72 |ystem V |or.other|
|00000b90| 20 73 79 73 74 65 6d 73 | 20 77 69 74 68 6f 75 74 | systems| without|
|00000ba0| 20 73 79 6d 62 6f 6c 69 | 63 20 6c 69 6e 6b 73 20 | symboli|c links |
|00000bb0| 73 68 6f 75 6c 64 20 61 | 6c 73 6f 20 72 65 6d 6f |should a|lso remo|
|00000bc0| 76 65 20 74 68 65 20 22 | 2d 73 22 0a 66 72 6f 6d |ve the "|-s".from|
|00000bd0| 20 74 68 65 20 64 65 66 | 69 6e 69 74 69 6f 6e 20 | the def|inition |
|00000be0| 6f 66 20 22 4c 4e 22 20 | 69 6e 20 74 68 65 20 74 |of "LN" |in the t|
|00000bf0| 6f 70 2d 6c 65 76 65 6c | 20 4d 61 6b 65 66 69 6c |op-level| Makefil|
|00000c00| 65 2e 20 20 49 66 20 79 | 6f 75 27 72 65 20 75 73 |e. If y|ou're us|
|00000c10| 69 6e 67 0a 74 68 65 20 | 6e 6f 6e 2d 41 53 43 49 |ing.the |non-ASCI|
|00000c20| 49 20 66 6f 6e 74 73 20 | 66 72 6f 6d 20 74 68 65 |I fonts |from the|
|00000c30| 20 66 6f 6e 74 73 20 64 | 69 72 65 63 74 6f 72 79 | fonts d|irectory|
|00000c40| 2c 20 61 6e 64 20 79 6f | 75 20 70 6c 61 6e 20 74 |, and yo|u plan t|
|00000c50| 6f 20 69 6e 73 74 61 6c | 6c 0a 74 68 65 6d 20 69 |o instal|l.them i|
|00000c60| 6e 20 61 20 73 79 73 74 | 65 6d 20 66 6f 6e 74 20 |n a syst|em font |
|00000c70| 64 69 72 65 63 74 6f 72 | 79 2c 20 79 6f 75 27 6c |director|y, you'l|
|00000c80| 6c 20 70 72 6f 62 61 62 | 6c 79 20 77 61 6e 74 20 |l probab|ly want |
|00000c90| 74 6f 20 63 68 61 6e 67 | 65 20 74 68 65 20 76 61 |to chang|e the va|
|00000ca0| 6c 75 65 0a 66 6f 72 20 | 4d 59 46 4f 4e 54 44 49 |lue.for |MYFONTDI|
|00000cb0| 52 20 69 6e 20 65 61 63 | 68 20 6f 66 20 74 68 65 |R in eac|h of the|
|00000cc0| 20 27 2a 2e 73 6f 75 72 | 63 65 22 20 66 69 6c 65 | '*.sour|ce" file|
|00000cd0| 73 20 69 6e 20 74 68 65 | 20 22 66 6f 6e 74 73 22 |s in the| "fonts"|
|00000ce0| 20 64 69 72 65 63 74 6f | 72 79 2e 0a 0a 46 69 6e | directo|ry...Fin|
|00000cf0| 61 6c 6c 79 2c 20 69 66 | 20 79 6f 75 20 68 61 76 |ally, if| you hav|
|00000d00| 65 20 74 68 65 20 64 69 | 73 74 72 69 62 75 74 69 |e the di|stributi|
|00000d10| 6f 6e 20 74 68 61 74 20 | 69 6e 63 6c 75 64 65 73 |on that |includes|
|00000d20| 20 74 68 65 20 41 54 4f | 4d 49 43 4d 41 49 4c 20 | the ATO|MICMAIL |
|00000d30| 73 79 73 74 65 6d 2c 20 | 0a 74 68 65 72 65 20 69 |system, |.there i|
|00000d40| 73 20 61 20 66 69 6c 65 | 20 63 61 6c 6c 65 64 20 |s a file| called |
|00000d50| 22 73 69 74 65 2e 68 22 | 20 69 6e 20 74 68 65 20 |"site.h"| in the |
|00000d60| 74 6f 70 2d 6c 65 76 65 | 6c 20 41 54 4f 4d 49 43 |top-leve|l ATOMIC|
|00000d70| 4d 41 49 4c 20 64 69 72 | 65 63 74 6f 72 79 2c 20 |MAIL dir|ectory, |
|00000d80| 0d 69 6e 20 77 68 69 63 | 68 20 66 75 72 74 68 65 |.in whic|h furthe|
|00000d90| 72 20 63 75 73 74 6f 6d | 69 7a 61 74 69 6f 6e 20 |r custom|ization |
|00000da0| 69 73 20 70 6f 73 73 69 | 62 6c 65 2e 0a 0a 49 49 |is possi|ble...II|
|00000db0| 2e 62 2e 20 20 54 48 45 | 20 44 49 52 45 43 54 4f |.b. THE| DIRECTO|
|00000dc0| 52 59 20 53 54 52 55 43 | 54 55 52 45 0a 0a 41 6c |RY STRUC|TURE..Al|
|00000dd0| 74 68 6f 75 67 68 20 79 | 6f 75 20 70 72 6f 62 61 |though y|ou proba|
|00000de0| 62 6c 79 20 64 6f 6e 27 | 74 20 6e 65 65 64 20 74 |bly don'|t need t|
|00000df0| 6f 20 6b 6e 6f 77 20 73 | 75 63 68 20 64 65 74 61 |o know s|uch deta|
|00000e00| 69 6c 73 2c 20 74 68 65 | 20 64 69 73 74 72 69 62 |ils, the| distrib|
|00000e10| 75 74 69 6f 6e 20 63 6f | 6d 65 73 20 0a 77 69 74 |ution co|mes .wit|
|00000e20| 68 20 34 20 6f 72 20 35 | 20 73 6f 75 72 63 65 20 |h 4 or 5| source |
|00000e30| 64 69 72 65 63 74 6f 72 | 69 65 73 3a 20 20 22 6d |director|ies: "m|
|00000e40| 65 74 61 6d 61 69 6c 22 | 20 63 6f 6e 74 61 69 6e |etamail"| contain|
|00000e50| 73 20 74 68 65 20 6d 65 | 74 61 6d 61 69 6c 0a 70 |s the me|tamail.p|
|00000e60| 72 6f 67 72 61 6d 20 69 | 74 73 65 6c 66 2e 20 20 |rogram i|tself. |
|00000e70| 22 72 69 63 68 6d 61 69 | 6c 22 20 63 6f 6e 74 61 |"richmai|l" conta|
|00000e80| 69 6e 73 20 74 68 65 20 | 70 72 6f 67 72 61 6d 73 |ins the |programs|
|00000e90| 20 66 6f 72 20 64 65 61 | 6c 69 6e 67 20 77 69 74 | for dea|ling wit|
|00000ea0| 68 0a 65 6d 61 69 6c 27 | 73 20 22 72 69 63 68 74 |h.email'|s "richt|
|00000eb0| 65 78 74 22 20 66 6f 72 | 6d 61 74 2e 20 20 22 65 |ext" for|mat. "e|
|00000ec0| 7a 76 69 65 77 22 20 63 | 6f 6e 74 61 69 6e 73 20 |zview" c|ontains |
|00000ed0| 61 20 73 69 6d 70 6c 65 | 20 70 72 6f 67 72 61 6d |a simple| program|
|00000ee0| 20 66 6f 72 0a 74 72 61 | 6e 73 66 6f 72 6d 69 6e | for.tra|nsformin|
|00000ef0| 67 20 41 6e 64 72 65 77 | 2d 66 6f 72 6d 61 74 20 |g Andrew|-format |
|00000f00| 6d 61 69 6c 20 74 6f 20 | 70 6c 61 69 6e 20 74 65 |mail to |plain te|
|00000f10| 78 74 2e 20 20 22 66 6f | 6e 74 73 22 20 63 6f 6e |xt. "fo|nts" con|
|00000f20| 74 61 69 6e 73 20 64 61 | 74 61 0a 61 6e 64 20 73 |tains da|ta.and s|
|00000f30| 63 72 69 70 74 73 20 66 | 6f 72 20 64 69 73 70 6c |cripts f|or displ|
|00000f40| 61 79 20 6e 6f 6e 2d 41 | 53 43 49 49 20 6d 61 69 |ay non-A|SCII mai|
|00000f50| 6c 20 62 6f 64 69 65 73 | 2c 20 61 62 6f 75 74 20 |l bodies|, about |
|00000f60| 77 68 69 63 68 20 6d 6f | 72 65 20 69 73 20 0a 73 |which mo|re is .s|
|00000f70| 61 69 64 20 69 6e 20 61 | 20 73 70 65 63 69 61 6c |aid in a| special|
|00000f80| 20 73 65 63 74 69 6f 6e | 20 62 65 6c 6f 77 2e 20 | section| below. |
|00000f90| 20 20 22 6d 69 73 63 22 | 20 63 6f 6e 74 61 69 6e | "misc"| contain|
|00000fa0| 73 20 61 20 0a 6e 75 6d | 62 65 72 20 6f 66 20 73 |s a .num|ber of s|
|00000fb0| 68 65 6c 6c 20 73 63 72 | 69 70 74 73 20 66 6f 72 |hell scr|ipts for|
|00000fc0| 20 76 69 65 77 69 6e 67 | 20 69 6d 61 67 65 73 2c | viewing| images,|
|00000fd0| 20 61 75 64 69 6f 2c 20 | 70 61 72 74 69 61 6c 20 | audio, |partial |
|00000fe0| 6d 65 73 73 61 67 65 73 | 2c 0a 65 78 74 65 72 6e |messages|,.extern|
|00000ff0| 61 6c 20 6d 65 73 73 61 | 67 65 73 2c 20 65 74 63 |al messa|ges, etc|
|00001000| 2e 2c 20 61 6e 64 20 72 | 75 64 69 6d 65 6e 74 61 |., and r|udimenta|
|00001010| 72 79 20 73 68 65 6c 6c | 20 73 63 72 69 70 74 73 |ry shell| scripts|
|00001020| 20 66 6f 72 20 53 45 4e | 44 49 4e 47 0a 6e 6f 6e | for SEN|DING.non|
|00001030| 2d 74 65 78 74 20 6d 61 | 69 6c 2e 20 20 46 69 6e |-text ma|il. Fin|
|00001040| 61 6c 6c 79 2c 20 69 66 | 20 79 6f 75 20 68 61 76 |ally, if| you hav|
|00001050| 65 20 74 68 65 20 76 65 | 72 73 69 6f 6e 20 6f 66 |e the ve|rsion of|
|00001060| 20 74 68 65 20 64 69 73 | 74 72 69 62 75 74 69 6f | the dis|tributio|
|00001070| 6e 20 74 68 61 74 0a 69 | 6e 63 6c 75 64 65 73 20 |n that.i|ncludes |
|00001080| 74 68 65 20 41 54 4f 4d | 49 43 4d 41 49 4c 20 73 |the ATOM|ICMAIL s|
|00001090| 6f 66 74 77 61 72 65 2c | 20 74 68 69 73 20 69 73 |oftware,| this is|
|000010a0| 20 63 6f 6e 74 61 69 6e | 65 64 20 69 6e 20 74 68 | contain|ed in th|
|000010b0| 65 0a 22 61 74 6f 6d 69 | 63 6d 61 69 6c 22 20 73 |e."atomi|cmail" s|
|000010c0| 75 62 64 69 72 65 63 74 | 6f 72 79 2e 0a 0a 49 49 |ubdirect|ory...II|
|000010d0| 49 2e 20 20 49 4e 53 54 | 41 4c 4c 49 4e 47 20 54 |I. INST|ALLING T|
|000010e0| 48 45 20 4d 45 54 41 4d | 41 49 4c 20 42 49 4e 41 |HE METAM|AIL BINA|
|000010f0| 52 49 45 53 0a 0a 57 68 | 65 6e 20 74 68 65 20 6d |RIES..Wh|en the m|
|00001100| 61 6b 65 20 69 73 20 63 | 6f 6d 70 6c 65 74 65 2c |ake is c|omplete,|
|00001110| 20 79 6f 75 27 6c 6c 20 | 6e 65 65 64 20 74 6f 20 | you'll |need to |
|00001120| 69 6e 73 74 61 6c 6c 20 | 74 68 65 20 62 69 6e 61 |install |the bina|
|00001130| 72 69 65 73 20 61 6e 64 | 20 61 20 0a 6d 61 69 6c |ries and| a .mail|
|00001140| 63 61 70 20 66 69 6c 65 | 2e 20 20 46 6f 72 20 63 |cap file|. For c|
|00001150| 6f 6e 76 65 6e 69 65 6e | 63 65 2c 20 74 68 65 20 |onvenien|ce, the |
|00001160| 6d 61 6b 65 20 70 72 6f | 63 65 73 73 20 77 69 6c |make pro|cess wil|
|00001170| 6c 20 69 6e 73 74 61 6c | 6c 20 53 59 4d 42 4f 4c |l instal|l SYMBOL|
|00001180| 49 43 20 0a 4c 49 4e 4b | 53 20 74 6f 20 61 6c 6c |IC .LINK|S to all|
|00001190| 20 74 68 65 20 6e 65 65 | 64 65 64 20 62 69 6e 61 | the nee|ded bina|
|000011a0| 72 69 65 73 20 28 6f 72 | 20 63 6f 70 69 65 73 2c |ries (or| copies,|
|000011b0| 20 69 6e 20 74 68 65 20 | 63 61 73 65 20 6f 66 20 | in the |case of |
|000011c0| 73 68 65 6c 6c 20 0a 73 | 63 72 69 70 74 73 29 20 |shell .s|cripts) |
|000011d0| 69 6e 20 74 68 65 20 74 | 6f 70 2d 6c 65 76 65 6c |in the t|op-level|
|000011e0| 20 22 62 69 6e 22 20 64 | 69 72 65 63 74 6f 72 79 | "bin" d|irectory|
|000011f0| 2c 20 61 6e 64 20 6d 61 | 6e 20 65 6e 74 72 69 65 |, and ma|n entrie|
|00001200| 73 20 69 6e 20 74 68 65 | 20 0a 74 6f 70 2d 6c 65 |s in the| .top-le|
|00001210| 76 65 6c 20 22 6d 61 6e | 22 20 64 69 72 65 63 74 |vel "man|" direct|
|00001220| 6f 72 79 2e 20 20 59 6f | 75 20 73 68 6f 75 6c 64 |ory. Yo|u should|
|00001230| 20 70 72 6f 62 61 62 6c | 79 20 63 6f 70 79 20 61 | probabl|y copy a|
|00001240| 6c 6c 20 6f 66 20 74 68 | 65 73 65 20 74 6f 20 0a |ll of th|ese to .|
|00001250| 61 20 6d 6f 72 65 20 61 | 70 70 72 6f 70 72 69 61 |a more a|ppropria|
|00001260| 74 65 20 73 70 6f 74 20 | 6f 6e 20 79 6f 75 72 20 |te spot |on your |
|00001270| 73 79 73 74 65 6d 2e 20 | 20 0a 0a 49 56 2e 20 20 |system. | ..IV. |
|00001280| 59 4f 55 52 20 4d 41 49 | 4c 43 41 50 20 46 49 4c |YOUR MAI|LCAP FIL|
|00001290| 45 0a 0a 59 6f 75 27 6c | 6c 20 61 6c 73 6f 20 6e |E..You'l|l also n|
|000012a0| 65 65 64 20 74 6f 20 69 | 6e 73 74 61 6c 6c 20 61 |eed to i|nstall a|
|000012b0| 20 6d 61 69 6c 63 61 70 | 20 66 69 6c 65 2e 20 20 | mailcap| file. |
|000012c0| 41 20 70 72 6f 74 6f 74 | 79 70 65 20 6d 61 69 6c |A protot|ype mail|
|000012d0| 63 61 70 20 66 69 6c 65 | 20 69 73 20 0a 69 6e 63 |cap file| is .inc|
|000012e0| 6c 75 64 65 64 20 69 6e | 20 74 68 65 20 74 6f 70 |luded in| the top|
|000012f0| 20 6c 65 76 65 6c 20 64 | 69 72 65 63 74 6f 72 79 | level d|irectory|
|00001300| 2c 20 62 75 74 20 79 6f | 75 20 6d 69 67 68 74 20 |, but yo|u might |
|00001310| 77 61 6e 74 20 74 6f 20 | 6d 6f 64 69 66 79 20 69 |want to |modify i|
|00001320| 74 20 0a 28 73 65 65 20 | 6d 65 74 61 6d 61 69 6c |t .(see |metamail|
|00001330| 2e 31 20 66 6f 72 20 64 | 65 74 61 69 6c 73 20 61 |.1 for d|etails a|
|00001340| 62 6f 75 74 20 6d 61 69 | 6c 63 61 70 20 66 69 6c |bout mai|lcap fil|
|00001350| 65 73 29 2e 20 20 0a 0a | 42 79 20 64 65 66 61 75 |es). ..|By defau|
|00001360| 6c 74 2c 20 74 68 65 20 | 6d 61 69 6c 63 61 70 20 |lt, the |mailcap |
|00001370| 66 69 6c 65 20 73 68 6f | 75 6c 64 20 62 65 20 69 |file sho|uld be i|
|00001380| 6e 73 74 61 6c 6c 65 64 | 20 69 6e 20 65 69 74 68 |nstalled| in eith|
|00001390| 65 72 20 2f 65 74 63 20 | 6f 72 20 0a 2f 75 73 72 |er /etc |or ./usr|
|000013a0| 2f 65 74 63 2f 20 6f 72 | 20 2f 75 73 72 2f 6c 6f |/etc/ or| /usr/lo|
|000013b0| 63 61 6c 2f 65 74 63 2e | 20 20 48 6f 77 65 76 65 |cal/etc.| Howeve|
|000013c0| 72 2c 20 79 6f 75 20 63 | 61 6e 20 65 61 73 69 6c |r, you c|an easil|
|000013d0| 79 20 0a 63 68 61 6e 67 | 65 20 74 68 69 73 20 64 |y .chang|e this d|
|000013e0| 65 66 61 75 6c 74 20 6c | 6f 63 61 74 69 6f 6e 20 |efault l|ocation |
|000013f0| 69 6e 20 74 68 65 20 6d | 65 74 61 6d 61 69 6c 20 |in the m|etamail |
|00001400| 73 6f 75 72 63 65 20 63 | 6f 64 65 2e 0a 28 54 68 |source c|ode..(Th|
|00001410| 69 73 20 63 6f 64 65 20 | 69 73 20 66 6f 75 6e 64 |is code |is found|
|00001420| 20 69 6e 20 6d 65 74 61 | 6d 61 69 6c 2f 6d 65 74 | in meta|mail/met|
|00001430| 61 6d 61 69 6c 2e 63 2e | 29 0a 0a 49 6e 20 70 61 |amail.c.|)..In pa|
|00001440| 72 74 69 63 75 6c 61 72 | 2c 20 69 66 20 79 6f 75 |rticular|, if you|
|00001450| 20 64 6f 6e 27 74 20 68 | 61 76 65 20 74 68 65 20 | don't h|ave the |
|00001460| 43 4d 55 20 41 6e 64 72 | 65 77 20 73 6f 66 74 77 |CMU Andr|ew softw|
|00001470| 61 72 65 20 69 6e 73 74 | 61 6c 6c 65 64 20 0a 61 |are inst|alled .a|
|00001480| 74 20 79 6f 75 72 20 73 | 69 74 65 2c 20 79 6f 75 |t your s|ite, you|
|00001490| 20 70 72 6f 62 61 62 6c | 79 20 77 61 6e 74 20 74 | probabl|y want t|
|000014a0| 6f 20 63 68 61 6e 67 65 | 20 74 68 65 20 77 61 79 |o change| the way|
|000014b0| 20 74 68 65 20 6d 61 69 | 6c 63 61 70 20 66 69 6c | the mai|lcap fil|
|000014c0| 65 20 0a 68 61 6e 64 6c | 65 73 20 22 74 65 78 74 |e .handl|es "text|
|000014d0| 2f 72 69 63 68 74 65 78 | 74 22 20 66 72 6f 6d 0a |/richtex|t" from.|
|000014e0| 0a 74 65 78 74 2f 72 69 | 63 68 74 65 78 74 3b 20 |.text/ri|chtext; |
|000014f0| 72 69 63 68 74 6f 61 74 | 6b 20 3c 20 25 73 20 7c |richtoat|k < %s ||
|00001500| 20 65 7a 76 69 65 77 20 | 2d 20 3b 20 63 6f 70 69 | ezview |- ; copi|
|00001510| 6f 75 73 6f 75 74 70 75 | 74 0a 0a 74 6f 0a 0a 74 |ousoutpu|t..to..t|
|00001520| 65 78 74 2f 72 69 63 68 | 74 65 78 74 3b 20 72 69 |ext/rich|text; ri|
|00001530| 63 68 74 65 78 74 20 25 | 73 3b 20 63 6f 70 69 6f |chtext %|s; copio|
|00001540| 75 73 6f 75 74 70 75 74 | 0a 0a 56 2e 20 4d 4f 44 |usoutput|..V. MOD|
|00001550| 49 46 59 49 4e 47 20 59 | 4f 55 52 20 4d 41 49 4c |IFYING Y|OUR MAIL|
|00001560| 2d 52 45 41 44 49 4e 47 | 20 50 52 4f 47 52 41 4d |-READING| PROGRAM|
|00001570| 53 0a 0a 54 68 65 20 68 | 61 72 64 65 73 74 20 70 |S..The h|ardest p|
|00001580| 61 72 74 20 6f 66 20 6d | 65 74 61 6d 61 69 6c 20 |art of m|etamail |
|00001590| 69 6e 73 74 61 6c 6c 61 | 74 69 6f 6e 2c 20 62 79 |installa|tion, by|
|000015a0| 20 66 61 72 2c 20 69 73 | 20 74 68 65 20 6d 6f 64 | far, is| the mod|
|000015b0| 69 66 69 63 61 74 69 6f | 6e 20 6f 66 20 0a 79 6f |ificatio|n of .yo|
|000015c0| 75 72 20 6c 6f 63 61 6c | 20 6d 61 69 6c 2d 72 65 |ur local| mail-re|
|000015d0| 61 64 69 6e 67 20 70 72 | 6f 67 72 61 6d 73 20 74 |ading pr|ograms t|
|000015e0| 6f 20 6d 61 6b 65 20 74 | 68 65 6d 20 75 73 65 20 |o make t|hem use |
|000015f0| 6d 65 74 61 6d 61 69 6c | 20 66 6f 72 20 6e 6f 6e |metamail| for non|
|00001600| 2d 74 65 78 74 20 0a 6d | 61 69 6c 2e 20 20 54 68 |-text .m|ail. Th|
|00001610| 69 73 20 68 61 73 20 62 | 65 65 6e 20 64 6f 6e 65 |is has b|een done|
|00001620| 20 66 6f 72 20 6f 76 65 | 72 20 61 20 64 6f 7a 65 | for ove|r a doze|
|00001630| 6e 20 6f 66 20 74 68 65 | 20 6d 6f 73 74 20 63 6f |n of the| most co|
|00001640| 6d 6d 6f 6e 6c 79 2d 75 | 73 65 64 20 0a 55 4e 49 |mmonly-u|sed .UNI|
|00001650| 58 20 6d 61 69 6c 20 72 | 65 61 64 69 6e 67 20 70 |X mail r|eading p|
|00001660| 72 6f 67 72 61 6d 73 2e | 20 20 41 6e 20 65 78 70 |rograms.| An exp|
|00001670| 6c 61 6e 61 74 69 6f 6e | 20 6f 66 20 68 6f 77 20 |lanation| of how |
|00001680| 74 6f 20 6d 6f 64 69 66 | 79 20 74 68 65 73 65 20 |to modif|y these |
|00001690| 6d 61 69 6c 0a 72 65 61 | 64 65 72 73 20 63 61 6e |mail.rea|ders can|
|000016a0| 20 62 65 20 66 6f 75 6e | 64 20 28 69 6e 20 76 61 | be foun|d (in va|
|000016b0| 72 69 6f 75 73 20 66 6f | 72 6d 61 74 73 29 20 69 |rious fo|rmats) i|
|000016c0| 6e 20 74 68 65 20 66 69 | 6c 65 28 73 29 20 6d 61 |n the fi|le(s) ma|
|000016d0| 69 6c 65 72 73 2e 74 78 | 74 2e 0a 0a 4f 6e 63 65 |ilers.tx|t...Once|
|000016e0| 20 79 6f 75 20 68 61 76 | 65 20 69 6e 73 74 61 6c | you hav|e instal|
|000016f0| 6c 65 64 20 61 6c 6c 20 | 74 68 65 20 62 69 6e 61 |led all |the bina|
|00001700| 72 69 65 73 20 41 4e 44 | 20 74 68 65 20 6d 6f 64 |ries AND| the mod|
|00001710| 69 66 69 65 64 20 76 65 | 72 73 69 6f 6e 73 20 6f |ified ve|rsions o|
|00001720| 66 20 0a 74 68 65 20 6d | 61 69 6c 2d 72 65 61 64 |f .the m|ail-read|
|00001730| 69 6e 67 20 70 72 6f 67 | 72 61 6d 73 2c 20 79 6f |ing prog|rams, yo|
|00001740| 75 20 73 68 6f 75 6c 64 | 20 68 61 76 65 20 61 20 |u should| have a |
|00001750| 76 65 72 79 20 65 78 74 | 65 6e 73 69 62 6c 65 20 |very ext|ensible |
|00001760| 6d 75 6c 74 69 6d 65 64 | 69 61 20 0a 6d 61 69 6c |multimed|ia .mail|
|00001770| 20 73 79 73 74 65 6d 20 | 69 6e 73 74 61 6c 6c 65 | system |installe|
|00001780| 64 20 61 74 20 79 6f 75 | 72 20 73 69 74 65 2e 20 |d at you|r site. |
|00001790| 20 4d 65 74 61 6d 61 69 | 6c 20 61 6e 64 20 72 65 | Metamai|l and re|
|000017a0| 6c 61 74 65 64 20 73 6f | 66 74 77 61 72 65 20 61 |lated so|ftware a|
|000017b0| 72 65 20 0a 64 69 73 63 | 75 73 73 65 64 20 6f 6e |re .disc|ussed on|
|000017c0| 20 74 68 65 20 49 4e 46 | 4f 2d 4d 45 54 41 4d 41 | the INF|O-METAMA|
|000017d0| 49 4c 20 6d 61 69 6c 69 | 6e 67 20 6c 69 73 74 2e |IL maili|ng list.|
|000017e0| 20 20 49 66 20 79 6f 75 | 20 77 61 6e 74 20 74 6f | If you| want to|
|000017f0| 20 73 69 67 6e 20 75 70 | 20 66 6f 72 20 74 68 69 | sign up| for thi|
|00001800| 73 0a 6d 61 69 6c 69 6e | 67 20 6c 69 73 74 2c 20 |s.mailin|g list, |
|00001810| 73 65 6e 64 20 6d 61 69 | 6c 20 74 6f 20 69 6e 66 |send mai|l to inf|
|00001820| 6f 2d 6d 65 74 61 6d 61 | 69 6c 2d 72 65 71 75 65 |o-metama|il-reque|
|00001830| 73 74 40 74 68 75 6d 70 | 65 72 2e 62 65 6c 6c 63 |st@thump|er.bellc|
|00001840| 6f 72 65 2e 63 6f 6d 2e | 0a 49 66 20 79 6f 75 20 |ore.com.|.If you |
|00001850| 64 6f 20 6e 6f 74 20 77 | 69 73 68 20 74 6f 20 6a |do not w|ish to j|
|00001860| 6f 69 6e 20 74 68 65 20 | 6d 61 69 6c 69 6e 67 20 |oin the |mailing |
|00001870| 6c 69 73 74 2c 20 62 75 | 74 20 79 6f 75 20 44 4f |list, bu|t you DO|
|00001880| 20 77 61 6e 74 20 74 6f | 20 6b 6e 6f 77 20 61 62 | want to| know ab|
|00001890| 6f 75 74 20 0a 66 75 74 | 75 72 65 20 72 65 6c 65 |out .fut|ure rele|
|000018a0| 61 73 65 73 20 6f 66 20 | 6d 65 74 61 6d 61 69 6c |ases of |metamail|
|000018b0| 2c 20 70 6c 65 61 73 65 | 20 73 65 6e 64 20 6d 61 |, please| send ma|
|000018c0| 69 6c 20 69 6e 64 69 63 | 61 74 69 6e 67 20 74 68 |il indic|ating th|
|000018d0| 69 73 20 69 6e 74 65 72 | 65 73 74 20 74 6f 20 0a |is inter|est to .|
|000018e0| 4e 61 74 68 61 6e 69 65 | 6c 20 42 6f 72 65 6e 73 |Nathanie|l Borens|
|000018f0| 74 65 69 6e 20 3c 6e 73 | 62 40 62 65 6c 6c 63 6f |tein <ns|b@bellco|
|00001900| 72 65 2e 63 6f 6d 3e 0a | 0a 56 49 2e 20 20 54 68 |re.com>.|.VI. Th|
|00001910| 65 20 22 66 6f 6e 74 73 | 22 20 64 69 72 65 63 74 |e "fonts|" direct|
|00001920| 6f 72 79 2e 0a 0a 54 68 | 65 20 66 6f 6e 74 73 20 |ory...Th|e fonts |
|00001930| 64 69 72 65 63 74 6f 72 | 79 20 63 6f 6e 74 61 69 |director|y contai|
|00001940| 6e 73 20 73 6f 66 74 77 | 61 72 65 20 66 6f 72 20 |ns softw|are for |
|00001950| 6e 6f 6e 2d 41 53 43 49 | 49 20 6d 61 69 6c 2e 20 |non-ASCI|I mail. |
|00001960| 20 49 74 20 69 6e 69 74 | 69 61 6c 6c 79 20 6f 6e | It init|ially on|
|00001970| 6c 79 0a 73 75 70 70 6f | 72 74 73 20 49 53 4f 2d |ly.suppo|rts ISO-|
|00001980| 38 38 35 39 2d 38 20 28 | 48 65 62 72 65 77 29 20 |8859-8 (|Hebrew) |
|00001990| 61 6e 64 20 61 6e 20 61 | 6c 69 61 73 20 66 6f 72 |and an a|lias for|
|000019a0| 20 61 20 66 61 69 72 6c | 79 20 63 6f 6d 6d 6f 6e | a fairl|y common|
|000019b0| 20 41 64 6f 62 65 0a 66 | 6f 6e 74 20 74 68 61 74 | Adobe.f|ont that|
|000019c0| 20 73 75 70 70 6f 72 74 | 73 20 49 53 4f 2d 38 38 | support|s ISO-88|
|000019d0| 35 39 2d 31 20 28 57 2e | 20 45 75 72 6f 70 65 29 |59-1 (W.| Europe)|
|000019e0| 2c 20 62 75 74 20 61 6c | 73 6f 20 70 72 6f 76 69 |, but al|so provi|
|000019f0| 64 65 73 20 61 20 74 65 | 6d 70 6c 61 74 65 20 66 |des a te|mplate f|
|00001a00| 6f 72 0a 68 6f 77 20 6f | 74 68 65 72 20 63 68 61 |or.how o|ther cha|
|00001a10| 72 61 63 74 65 72 20 73 | 65 74 73 20 63 61 6e 20 |racter s|ets can |
|00001a20| 62 65 20 73 75 70 70 6f | 72 74 65 64 2c 20 67 69 |be suppo|rted, gi|
|00001a30| 76 65 6e 20 74 68 65 20 | 72 69 67 68 74 20 66 6f |ven the |right fo|
|00001a40| 6e 74 73 2e 20 20 4e 4f | 54 45 20 54 48 41 54 0a |nts. NO|TE THAT.|
|00001a50| 20 49 46 20 59 4f 55 20 | 44 4f 20 4e 4f 54 20 55 | IF YOU |DO NOT U|
|00001a60| 53 45 20 58 31 31 20 54 | 48 45 20 22 66 6f 6e 74 |SE X11 T|HE "font|
|00001a70| 73 22 20 44 49 52 45 43 | 54 4f 52 59 20 49 53 20 |s" DIREC|TORY IS |
|00001a80| 55 53 45 4c 45 53 53 2c | 20 41 4e 44 20 0a 54 48 |USELESS,| AND .TH|
|00001a90| 41 54 20 49 46 20 59 4f | 55 20 44 4f 20 4e 4f 54 |AT IF YO|U DO NOT|
|00001aa0| 20 48 41 56 45 20 22 62 | 64 66 74 6f 73 6e 66 22 | HAVE "b|dftosnf"|
|00001ab0| 20 49 4e 53 54 41 4c 4c | 45 44 20 54 48 45 20 42 | INSTALL|ED THE B|
|00001ac0| 55 49 4c 44 0a 4d 41 59 | 20 46 41 49 4c 20 49 4e |UILD.MAY| FAIL IN|
|00001ad0| 20 54 48 45 20 46 4f 4e | 54 53 20 44 49 52 45 43 | THE FON|TS DIREC|
|00001ae0| 54 4f 52 59 2e 20 20 46 | 4f 52 20 4e 4f 4e 2d 58 |TORY. F|OR NON-X|
|00001af0| 20 53 49 54 45 53 2c 20 | 49 46 0a 59 4f 55 20 47 | SITES, |IF.YOU G|
|00001b00| 45 54 20 52 49 44 20 4f | 46 20 41 4e 59 20 52 45 |ET RID O|F ANY RE|
|00001b10| 46 45 52 45 4e 43 45 20 | 54 4f 20 49 54 20 49 4e |FERENCE |TO IT IN|
|00001b20| 20 54 48 45 20 54 4f 50 | 20 4c 45 56 45 4c 20 0a | THE TOP| LEVEL .|
|00001b30| 4d 41 4b 45 46 49 4c 45 | 2c 20 49 54 20 57 49 4c |MAKEFILE|, IT WIL|
|00001b40| 4c 20 4e 45 56 45 52 20 | 47 45 54 20 49 4e 20 59 |L NEVER |GET IN Y|
|00001b50| 4f 55 52 20 57 41 59 2e | 20 0a 0a 4e 6f 74 65 20 |OUR WAY.| ..Note |
|00001b60| 61 6c 73 6f 20 74 68 61 | 74 20 74 68 65 20 22 66 |also tha|t the "f|
|00001b70| 6f 6e 74 73 22 20 64 69 | 72 65 63 74 6f 72 79 20 |onts" di|rectory |
|00001b80| 62 75 69 6c 64 73 20 62 | 75 74 20 64 6f 65 73 20 |builds b|ut does |
|00001b90| 6e 6f 74 20 69 6e 73 74 | 61 6c 6c 20 74 68 65 20 |not inst|all the |
|00001ba0| 73 6e 66 2c 20 0a 66 6f | 6e 74 73 2e 61 6c 69 61 |snf, .fo|nts.alia|
|00001bb0| 73 2c 20 61 6e 64 20 66 | 6f 6e 74 73 2e 64 69 72 |s, and f|onts.dir|
|00001bc0| 20 66 69 6c 65 73 2e 20 | 20 49 74 20 62 75 69 6c | files. | It buil|
|00001bd0| 64 73 20 61 20 66 65 20 | 73 63 72 69 70 74 73 20 |ds a fe |scripts |
|00001be0| 74 68 61 74 20 6d 61 6b | 65 0a 72 65 66 65 72 65 |that mak|e.refere|
|00001bf0| 6e 63 65 20 74 68 65 20 | 62 75 69 6c 64 20 64 69 |nce the |build di|
|00001c00| 72 65 63 74 6f 72 79 2e | 20 20 49 66 20 79 6f 75 |rectory.| If you|
|00001c10| 20 61 72 65 20 69 6e 73 | 74 61 6c 6c 69 6e 67 20 | are ins|talling |
|00001c20| 74 68 69 6e 67 73 20 65 | 6c 73 65 77 68 65 72 65 |things e|lsewhere|
|00001c30| 2c 0a 79 6f 75 20 77 69 | 6c 6c 20 6e 65 65 64 20 |,.you wi|ll need |
|00001c40| 74 6f 20 63 68 61 6e 67 | 65 20 74 68 65 20 70 61 |to chang|e the pa|
|00001c50| 74 68 20 72 65 66 65 72 | 65 6e 63 65 20 69 6e 20 |th refer|ence in |
|00001c60| 74 68 65 20 22 2a 2e 73 | 6f 75 72 63 65 22 20 73 |the "*.s|ource" s|
|00001c70| 63 72 69 70 74 73 0a 28 | 74 68 65 20 4d 59 46 4f |cripts.(|the MYFO|
|00001c80| 4e 54 44 49 52 20 76 61 | 72 69 61 62 6c 65 29 20 |NTDIR va|riable) |
|00001c90| 69 66 20 79 6f 75 20 77 | 61 6e 74 20 6e 6f 6e 2d |if you w|ant non-|
|00001ca0| 41 53 43 49 49 20 6d 61 | 69 6c 20 74 6f 20 77 6f |ASCII ma|il to wo|
|00001cb0| 72 6b 20 70 72 6f 70 65 | 72 6c 79 2e 0a 0a 56 49 |rk prope|rly...VI|
|00001cc0| 49 2e 20 20 46 55 54 55 | 52 45 20 56 45 52 53 49 |I. FUTU|RE VERSI|
|00001cd0| 4f 4e 53 20 4f 46 20 4d | 45 54 41 4d 41 49 4c 0a |ONS OF M|ETAMAIL.|
|00001ce0| 0a 54 68 65 20 6d 65 74 | 61 6d 61 69 6c 20 73 6f |.The met|amail so|
|00001cf0| 66 74 77 61 72 65 20 69 | 73 20 62 65 69 6e 67 20 |ftware i|s being |
|00001d00| 67 69 76 65 6e 20 61 77 | 61 79 20 66 72 65 65 6c |given aw|ay freel|
|00001d10| 79 20 62 79 20 42 65 6c | 6c 63 6f 72 65 20 69 6e |y by Bel|lcore in|
|00001d20| 20 74 68 65 0a 69 6e 74 | 65 72 65 73 74 20 6f 66 | the.int|erest of|
|00001d30| 20 70 72 6f 6d 6f 74 69 | 6e 67 20 61 20 77 69 64 | promoti|ng a wid|
|00001d40| 65 20 75 73 65 72 20 63 | 6f 6d 6d 75 6e 69 74 79 |e user c|ommunity|
|00001d50| 20 66 6f 72 20 74 68 65 | 20 65 6d 65 72 67 69 6e | for the| emergin|
|00001d60| 67 0a 49 6e 74 65 72 65 | 6e 74 20 73 74 61 6e 64 |g.Intere|nt stand|
|00001d70| 61 72 64 73 20 66 6f 72 | 20 6d 75 6c 74 69 6d 65 |ards for| multime|
|00001d80| 64 69 61 20 6d 61 69 6c | 2e 20 20 54 68 65 20 6d |dia mail|. The m|
|00001d90| 65 74 61 6d 61 69 6c 20 | 73 6f 66 74 77 61 72 65 |etamail |software|
|00001da0| 20 69 73 20 62 79 0a 6e | 6f 20 6d 65 61 6e 73 20 | is by.n|o means |
|00001db0| 61 20 66 69 6e 69 73 68 | 65 64 20 70 72 6f 64 75 |a finish|ed produ|
|00001dc0| 63 74 2c 20 6e 6f 72 20 | 69 73 20 69 74 20 61 73 |ct, nor |is it as|
|00001dd0| 20 70 6f 6c 69 73 68 65 | 64 20 61 73 20 73 6f 66 | polishe|d as sof|
|00001de0| 74 77 61 72 65 0a 70 72 | 6f 64 75 63 65 64 20 66 |tware.pr|oduced f|
|00001df0| 6f 72 20 63 6f 6d 6d 65 | 72 63 69 61 6c 20 70 75 |or comme|rcial pu|
|00001e00| 72 70 6f 73 65 73 2e 20 | 20 49 74 20 69 73 20 6f |rposes. | It is o|
|00001e10| 75 72 20 68 6f 70 65 20 | 74 68 61 74 20 75 73 65 |ur hope |that use|
|00001e20| 72 73 20 77 69 6c 6c 0a | 62 65 20 74 6f 6c 65 72 |rs will.|be toler|
|00001e30| 61 6e 74 20 6f 66 20 61 | 6e 79 20 77 61 72 74 73 |ant of a|ny warts|
|00001e40| 20 74 68 65 79 20 6d 61 | 79 20 66 69 6e 64 2c 20 | they ma|y find, |
|00001e50| 61 6e 64 20 77 69 6c 6c | 20 63 6f 6e 74 72 69 62 |and will| contrib|
|00001e60| 75 74 65 20 74 68 65 69 | 72 0a 6f 77 6e 20 69 6d |ute thei|r.own im|
|00001e70| 70 72 6f 76 65 6d 65 6e | 74 73 2c 20 76 69 61 20 |provemen|ts, via |
|00001e80| 74 68 65 20 49 4e 46 4f | 2d 4d 45 54 41 4d 41 49 |the INFO|-METAMAI|
|00001e90| 4c 20 6d 61 69 6c 69 6e | 67 20 6c 69 73 74 2c 20 |L mailin|g list, |
|00001ea0| 66 6f 72 20 69 6e 63 6f | 72 70 6f 72 61 74 69 6f |for inco|rporatio|
|00001eb0| 6e 0a 69 6e 74 6f 20 66 | 75 74 75 72 65 20 72 65 |n.into f|uture re|
|00001ec0| 6c 65 61 73 65 73 20 6f | 66 20 74 68 65 20 6d 65 |leases o|f the me|
|00001ed0| 74 61 6d 61 69 6c 20 73 | 6f 66 74 77 61 72 65 2e |tamail s|oftware.|
|00001ee0| 0a 0a 56 49 49 49 2e 20 | 20 54 45 53 54 49 4e 47 |..VIII. | TESTING|
|00001ef0| 20 4d 45 54 41 4d 41 49 | 4c 20 26 20 4d 49 4d 45 | METAMAI|L & MIME|
|00001f00| 20 53 55 50 50 4f 52 54 | 0a 0a 49 66 20 79 6f 75 | SUPPORT|..If you|
|00001f10| 20 77 61 6e 74 20 61 20 | 73 65 74 20 6f 66 20 74 | want a |set of t|
|00001f20| 65 73 74 20 6d 65 73 73 | 61 67 65 73 20 69 6e 20 |est mess|ages in |
|00001f30| 4d 49 4d 45 20 66 6f 72 | 6d 61 74 2c 20 65 78 65 |MIME for|mat, exe|
|00001f40| 72 63 69 73 69 6e 67 20 | 76 61 72 69 6f 75 73 20 |rcising |various |
|00001f50| 0a 66 65 61 74 75 72 65 | 73 20 6f 66 20 6d 74 61 |.feature|s of mta|
|00001f60| 6d 61 69 6c 20 61 6e 64 | 20 4d 49 4d 45 2c 20 79 |mail and| MIME, y|
|00001f70| 6f 75 20 6d 61 79 20 66 | 74 70 20 74 68 65 6d 20 |ou may f|tp them |
|00001f80| 66 72 6f 6d 20 74 68 75 | 6d 70 65 72 2e 62 65 6c |from thu|mper.bel|
|00001f90| 6c 63 6f 72 65 2e 63 6f | 6d 2c 0a 77 68 65 72 65 |lcore.co|m,.where|
|00001fa0| 20 74 68 65 72 65 20 69 | 73 20 61 20 64 69 72 65 | there i|s a dire|
|00001fb0| 63 74 6f 72 79 20 63 61 | 6c 6c 65 64 20 22 70 75 |ctory ca|lled "pu|
|00001fc0| 62 2f 6e 73 62 2f 73 61 | 6d 70 6c 65 73 22 2e 20 |b/nsb/sa|mples". |
|00001fd0| 20 45 61 63 68 20 66 69 | 6c 65 20 69 6e 0a 74 68 | Each fi|le in.th|
|00001fe0| 61 74 20 64 69 72 65 63 | 74 6f 72 79 20 69 73 20 |at direc|tory is |
|00001ff0| 61 20 73 65 70 61 72 61 | 74 65 20 4d 49 4d 45 2d |a separa|te MIME-|
|00002000| 63 6f 6d 70 6c 69 61 6e | 74 20 6d 65 73 73 61 67 |complian|t messag|
|00002010| 65 20 77 68 69 63 68 20 | 73 68 6f 75 6c 64 0a 64 |e which |should.d|
|00002020| 6f 20 73 6f 6d 65 74 68 | 69 6e 67 20 69 6e 74 65 |o someth|ing inte|
|00002030| 72 65 73 74 69 6e 67 20 | 69 66 20 76 69 65 77 65 |resting |if viewe|
|00002040| 64 20 77 69 74 68 20 61 | 20 6d 65 74 61 6d 61 69 |d with a| metamai|
|00002050| 6c 2d 6d 6f 64 69 66 69 | 65 64 20 6d 61 69 6c 2d |l-modifi|ed mail-|
|00002060| 72 65 61 64 65 72 2e 0a | 0a 49 58 2e 20 20 46 55 |reader..|.IX. FU|
|00002070| 52 54 48 45 52 20 44 4f | 43 55 4d 45 4e 54 41 54 |RTHER DO|CUMENTAT|
|00002080| 49 4f 4e 0a 0a 44 72 61 | 66 74 73 20 6f 66 20 74 |ION..Dra|fts of t|
|00002090| 68 65 20 4d 49 4d 45 20 | 61 6e 64 20 6d 61 69 6c |he MIME |and mail|
|000020a0| 63 61 70 20 64 6f 63 75 | 6d 65 6e 74 73 20 61 72 |cap docu|ments ar|
|000020b0| 65 20 61 76 61 69 6c 61 | 62 6c 65 20 69 6e 20 74 |e availa|ble in t|
|000020c0| 68 65 0a 70 75 62 2f 6e | 73 62 20 64 69 72 65 63 |he.pub/n|sb direc|
|000020d0| 74 6f 72 79 20 6f 6e 20 | 74 68 75 6d 70 65 72 2e |tory on |thumper.|
|000020e0| 62 65 6c 6c 63 6f 72 65 | 2e 63 6f 6d 2e 20 20 4f |bellcore|.com. O|
|000020f0| 74 68 65 72 20 64 6f 63 | 75 6d 65 6e 74 73 20 6d |ther doc|uments m|
|00002100| 61 79 20 61 6c 73 6f 0a | 62 65 63 6f 6d 65 20 61 |ay also.|become a|
|00002110| 76 61 69 6c 61 62 6c 65 | 20 66 72 6f 6d 20 74 69 |vailable| from ti|
|00002120| 6d 65 20 74 6f 20 74 69 | 6d 65 20 69 6e 20 74 68 |me to ti|me in th|
|00002130| 61 74 20 64 69 72 65 63 | 74 6f 72 79 20 2d 2d 20 |at direc|tory -- |
|00002140| 66 65 65 6c 20 66 72 65 | 65 20 74 6f 20 0a 62 72 |feel fre|e to .br|
|00002150| 6f 77 73 65 2e 0a 0a 54 | 68 65 20 61 6e 6f 6e 79 |owse...T|he anony|
|00002160| 6d 6f 75 73 20 66 74 70 | 20 64 69 72 65 63 74 6f |mous ftp| directo|
|00002170| 72 79 20 66 72 6f 6d 20 | 74 68 75 6d 70 65 72 20 |ry from |thumper |
|00002180| 69 73 20 6d 69 72 72 6f | 72 65 64 20 66 6f 72 20 |is mirro|red for |
|00002190| 74 68 65 0a 53 63 61 6e | 64 69 6e 61 76 69 61 6e |the.Scan|dinavian|
|000021a0| 20 63 6f 75 6e 74 72 69 | 65 73 20 6f 6e 20 20 66 | countri|es on f|
|000021b0| 74 70 2e 66 75 6e 65 74 | 2e 66 69 2c 20 77 68 65 |tp.funet|.fi, whe|
|000021c0| 72 65 20 69 74 20 63 61 | 6e 20 62 65 20 66 6f 75 |re it ca|n be fou|
|000021d0| 6e 64 20 69 6e 0a 20 2f | 70 75 62 2f 75 6e 69 78 |nd in. /|pub/unix|
|000021e0| 2f 6d 61 69 6c 2f 6d 65 | 74 61 6d 61 69 6c 2f 2d |/mail/me|tamail/-|
|000021f0| 0a 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002200| 62 69 6e 2f 00 00 00 00 | 00 00 00 00 00 00 00 00 |bin/....|........|
|00002210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002260| 00 00 00 00 20 20 20 37 | 35 35 20 00 20 20 20 36 |.... 7|55 . 6|
|00002270| 32 35 20 00 20 20 20 20 | 20 31 20 00 20 20 20 20 |25 . | 1 . |
|00002280| 20 20 20 20 20 20 30 20 | 20 35 33 35 33 36 31 37 | 0 | 5353617|
|00002290| 35 36 30 20 20 31 30 34 | 35 31 00 20 35 00 00 00 |560 104|51. 5...|
|000022a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002300| 00 75 73 74 61 72 20 20 | 00 6d 67 75 65 72 72 61 |.ustar |.mguerra|
|00002310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002320| 00 00 00 00 00 00 00 00 | 00 6f 74 68 65 72 00 00 |........|.other..|
|00002330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002400| 62 69 6e 2f 73 68 6f 77 | 61 75 64 69 6f 00 00 00 |bin/show|audio...|
|00002410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002460| 00 00 00 00 20 20 20 37 | 35 35 20 00 20 20 20 36 |.... 7|55 . 6|
|00002470| 32 35 20 00 20 20 20 20 | 20 31 20 00 20 20 20 20 |25 . | 1 . |
|00002480| 20 20 31 33 30 35 30 20 | 20 35 32 31 33 34 37 35 | 13050 | 5213475|
|00002490| 31 32 37 20 20 31 32 34 | 37 34 00 20 30 00 00 00 |127 124|74. 0...|
|000024a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002500| 00 75 73 74 61 72 20 20 | 00 6d 67 75 65 72 72 61 |.ustar |.mguerra|
|00002510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002520| 00 00 00 00 00 00 00 00 | 00 6f 74 68 65 72 00 00 |........|.other..|
|00002530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002600| 23 21 2f 62 69 6e 2f 63 | 73 68 20 2d 66 0a 23 20 |#!/bin/c|sh -f.# |
|00002610| 43 6f 70 79 72 69 67 68 | 74 20 28 63 29 20 31 39 |Copyrigh|t (c) 19|
|00002620| 39 31 20 42 65 6c 6c 20 | 43 6f 6d 6d 75 6e 69 63 |91 Bell |Communic|
|00002630| 61 74 69 6f 6e 73 20 52 | 65 73 65 61 72 63 68 2c |ations R|esearch,|
|00002640| 20 49 6e 63 2e 20 28 42 | 65 6c 6c 63 6f 72 65 29 | Inc. (B|ellcore)|
|00002650| 0a 23 20 0a 23 20 50 65 | 72 6d 69 73 73 69 6f 6e |.# .# Pe|rmission|
|00002660| 20 74 6f 20 75 73 65 2c | 20 63 6f 70 79 2c 20 6d | to use,| copy, m|
|00002670| 6f 64 69 66 79 2c 20 61 | 6e 64 20 64 69 73 74 72 |odify, a|nd distr|
|00002680| 69 62 75 74 65 20 74 68 | 69 73 20 6d 61 74 65 72 |ibute th|is mater|
|00002690| 69 61 6c 20 0a 23 20 66 | 6f 72 20 61 6e 79 20 70 |ial .# f|or any p|
|000026a0| 75 72 70 6f 73 65 20 61 | 6e 64 20 77 69 74 68 6f |urpose a|nd witho|
|000026b0| 75 74 20 66 65 65 20 69 | 73 20 68 65 72 65 62 79 |ut fee i|s hereby|
|000026c0| 20 67 72 61 6e 74 65 64 | 2c 20 70 72 6f 76 69 64 | granted|, provid|
|000026d0| 65 64 20 0a 23 20 74 68 | 61 74 20 74 68 65 20 61 |ed .# th|at the a|
|000026e0| 62 6f 76 65 20 63 6f 70 | 79 72 69 67 68 74 20 6e |bove cop|yright n|
|000026f0| 6f 74 69 63 65 20 61 6e | 64 20 74 68 69 73 20 70 |otice an|d this p|
|00002700| 65 72 6d 69 73 73 69 6f | 6e 20 6e 6f 74 69 63 65 |ermissio|n notice|
|00002710| 20 0a 23 20 61 70 70 65 | 61 72 20 69 6e 20 61 6c | .# appe|ar in al|
|00002720| 6c 20 63 6f 70 69 65 73 | 2c 20 61 6e 64 20 74 68 |l copies|, and th|
|00002730| 61 74 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 42 |at the n|ame of B|
|00002740| 65 6c 6c 63 6f 72 65 20 | 6e 6f 74 20 62 65 20 0a |ellcore |not be .|
|00002750| 23 20 75 73 65 64 20 69 | 6e 20 61 64 76 65 72 74 |# used i|n advert|
|00002760| 69 73 69 6e 67 20 6f 72 | 20 70 75 62 6c 69 63 69 |ising or| publici|
|00002770| 74 79 20 70 65 72 74 61 | 69 6e 69 6e 67 20 74 6f |ty perta|ining to|
|00002780| 20 74 68 69 73 20 0a 23 | 20 6d 61 74 65 72 69 61 | this .#| materia|
|00002790| 6c 20 77 69 74 68 6f 75 | 74 20 74 68 65 20 73 70 |l withou|t the sp|
|000027a0| 65 63 69 66 69 63 2c 20 | 70 72 69 6f 72 20 77 72 |ecific, |prior wr|
|000027b0| 69 74 74 65 6e 20 70 65 | 72 6d 69 73 73 69 6f 6e |itten pe|rmission|
|000027c0| 20 0a 23 20 6f 66 20 61 | 6e 20 61 75 74 68 6f 72 | .# of a|n author|
|000027d0| 69 7a 65 64 20 72 65 70 | 72 65 73 65 6e 74 61 74 |ized rep|resentat|
|000027e0| 69 76 65 20 6f 66 20 42 | 65 6c 6c 63 6f 72 65 2e |ive of B|ellcore.|
|000027f0| 20 20 42 45 4c 4c 43 4f | 52 45 20 0a 23 20 4d 41 | BELLCO|RE .# MA|
|00002800| 4b 45 53 20 4e 4f 20 52 | 45 50 52 45 53 45 4e 54 |KES NO R|EPRESENT|
|00002810| 41 54 49 4f 4e 53 20 41 | 42 4f 55 54 20 54 48 45 |ATIONS A|BOUT THE|
|00002820| 20 41 43 43 55 52 41 43 | 59 20 4f 52 20 53 55 49 | ACCURAC|Y OR SUI|
|00002830| 54 41 42 49 4c 49 54 59 | 20 0a 23 20 4f 46 20 54 |TABILITY| .# OF T|
|00002840| 48 49 53 20 4d 41 54 45 | 52 49 41 4c 20 46 4f 52 |HIS MATE|RIAL FOR|
|00002850| 20 41 4e 59 20 50 55 52 | 50 4f 53 45 2e 20 20 49 | ANY PUR|POSE. I|
|00002860| 54 20 49 53 20 50 52 4f | 56 49 44 45 44 20 22 41 |T IS PRO|VIDED "A|
|00002870| 53 20 49 53 22 2c 20 0a | 23 20 57 49 54 48 4f 55 |S IS", .|# WITHOU|
|00002880| 54 20 41 4e 59 20 45 58 | 50 52 45 53 53 20 4f 52 |T ANY EX|PRESS OR|
|00002890| 20 49 4d 50 4c 49 45 44 | 20 57 41 52 52 41 4e 54 | IMPLIED| WARRANT|
|000028a0| 49 45 53 2e 0a 23 0a 23 | 20 46 69 72 73 74 2c 20 |IES..#.#| First, |
|000028b0| 66 69 67 75 72 65 20 6f | 75 74 20 77 68 69 63 68 |figure o|ut which|
|000028c0| 20 6d 61 63 68 69 6e 65 | 20 74 6f 20 70 6c 61 79 | machine| to play|
|000028d0| 20 69 74 20 6f 6e 21 0a | 73 65 74 20 74 68 69 73 | it on!.|set this|
|000028e0| 68 6f 73 74 3d 60 68 6f | 73 74 6e 61 6d 65 60 0a |host=`ho|stname`.|
|000028f0| 0a 23 20 4e 6f 74 65 20 | 74 68 61 74 20 74 68 65 |.# Note |that the|
|00002900| 72 65 20 61 72 65 20 73 | 6f 6d 65 20 73 70 65 63 |re are s|ome spec|
|00002910| 69 61 6c 20 6c 69 6e 65 | 73 20 69 6e 20 68 65 72 |ial line|s in her|
|00002920| 65 20 74 68 61 74 20 6f | 6e 6c 79 20 77 6f 72 6b |e that o|nly work|
|00002930| 20 61 74 20 42 65 6c 6c | 63 6f 72 65 2c 0a 23 20 | at Bell|core,.# |
|00002940| 53 70 65 63 69 66 69 63 | 61 6c 6c 79 20 69 6e 76 |Specific|ally inv|
|00002950| 6f 6c 76 69 6e 67 20 70 | 68 6f 6e 65 20 70 6c 61 |olving p|hone pla|
|00002960| 79 62 61 63 6b 20 66 72 | 6f 6d 20 74 68 65 20 6d |yback fr|om the m|
|00002970| 61 63 68 69 6e 65 20 22 | 67 72 65 65 6e 62 75 73 |achine "|greenbus|
|00002980| 68 22 2e 0a 23 20 45 76 | 65 72 79 74 68 69 6e 67 |h"..# Ev|erything|
|00002990| 20 73 68 6f 75 6c 64 20 | 77 6f 72 6b 20 66 69 6e | should |work fin|
|000029a0| 65 20 61 74 20 6f 74 68 | 65 72 20 73 69 74 65 73 |e at oth|er sites|
|000029b0| 2c 20 74 68 6f 75 67 68 | 0a 73 65 74 20 41 55 44 |, though|.set AUD|
|000029c0| 49 4f 42 49 4e 44 49 52 | 3d 2f 75 2f 61 6e 64 72 |IOBINDIR|=/u/andr|
|000029d0| 65 77 2f 70 68 6f 6e 65 | 2d 73 61 75 2f 62 69 6e |ew/phone|-sau/bin|
|000029e0| 0a 73 65 74 20 41 55 44 | 49 4f 50 48 4f 4e 45 48 |.set AUD|IOPHONEH|
|000029f0| 4f 53 54 3d 67 72 65 65 | 6e 62 75 73 68 0a 73 65 |OST=gree|nbush.se|
|00002a00| 74 20 41 55 44 49 4f 50 | 48 4f 4e 45 48 4f 53 54 |t AUDIOP|HONEHOST|
|00002a10| 4c 4f 4e 47 3d 67 72 65 | 65 6e 62 75 73 68 2e 62 |LONG=gre|enbush.b|
|00002a20| 65 6c 6c 63 6f 72 65 2e | 63 6f 6d 0a 73 65 74 20 |ellcore.|com.set |
|00002a30| 41 55 44 49 4f 4c 4f 47 | 4d 41 49 4c 3d 61 6e 64 |AUDIOLOG|MAIL=and|
|00002a40| 72 65 77 40 74 68 75 6d | 70 65 72 2e 62 65 6c 6c |rew@thum|per.bell|
|00002a50| 63 6f 72 65 2e 63 6f 6d | 0a 73 65 74 20 4f 52 47 |core.com|.set ORG|
|00002a60| 3d 22 42 65 6c 6c 63 6f | 72 65 22 0a 69 66 20 28 |="Bellco|re".if (|
|00002a70| 24 31 20 3d 3d 20 22 2d | 70 22 29 20 74 68 65 6e |$1 == "-|p") then|
|00002a80| 0a 20 20 20 20 73 65 74 | 20 41 55 44 49 4f 50 48 |. set| AUDIOPH|
|00002a90| 4f 4e 45 3d 24 32 0a 20 | 20 20 20 73 68 69 66 74 |ONE=$2. | shift|
|00002aa0| 0a 20 20 20 20 73 68 69 | 66 74 0a 65 6e 64 69 66 |. shi|ft.endif|
|00002ab0| 0a 69 66 20 28 24 31 20 | 3d 3d 20 22 2d 73 22 29 |.if ($1 |== "-s")|
|00002ac0| 20 74 68 65 6e 0a 20 20 | 20 20 73 65 74 20 41 55 | then. | set AU|
|00002ad0| 44 49 4f 53 50 45 41 4b | 45 52 46 4f 52 43 45 20 |DIOSPEAK|ERFORCE |
|00002ae0| 3d 20 31 0a 20 20 20 20 | 73 68 69 66 74 0a 65 6e |= 1. |shift.en|
|00002af0| 64 69 66 0a 69 66 20 28 | 24 3f 41 55 44 49 4f 50 |dif.if (|$?AUDIOP|
|00002b00| 48 4f 4e 45 20 7c 7c 20 | 24 3f 41 55 44 49 4f 50 |HONE || |$?AUDIOP|
|00002b10| 48 4f 4e 45 46 4f 52 43 | 45 29 20 74 68 65 6e 0a |HONEFORC|E) then.|
|00002b20| 20 20 20 20 67 6f 74 6f | 20 70 6c 61 79 70 68 6f | goto| playpho|
|00002b30| 6e 65 0a 65 6e 64 69 66 | 0a 69 66 20 28 21 20 2d |ne.endif|.if (! -|
|00002b40| 64 20 24 41 55 44 49 4f | 42 49 4e 44 49 52 29 20 |d $AUDIO|BINDIR) |
|00002b50| 74 68 65 6e 0a 20 20 20 | 20 73 65 74 20 41 55 44 |then. | set AUD|
|00002b60| 49 4f 53 50 45 41 4b 45 | 52 46 4f 52 43 45 3d 31 |IOSPEAKE|RFORCE=1|
|00002b70| 0a 65 6e 64 69 66 0a 09 | 0a 69 66 20 28 21 20 24 |.endif..|.if (! $|
|00002b80| 3f 41 55 44 49 4f 53 50 | 45 41 4b 45 52 46 4f 52 |?AUDIOSP|EAKERFOR|
|00002b90| 43 45 20 26 26 20 21 20 | 24 3f 41 55 44 49 4f 50 |CE && ! |$?AUDIOP|
|00002ba0| 48 4f 4e 45 46 4f 52 43 | 45 29 20 74 68 65 6e 0a |HONEFORC|E) then.|
|00002bb0| 20 20 20 20 69 66 20 28 | 24 3f 4d 4d 5f 4e 4f 54 | if (|$?MM_NOT|
|00002bc0| 54 54 59 29 20 74 68 65 | 6e 0a 09 69 66 20 28 24 |TTY) the|n..if ($|
|00002bd0| 4d 4d 5f 4e 4f 54 54 54 | 59 20 3d 3d 20 31 29 20 |MM_NOTTT|Y == 1) |
|00002be0| 74 68 65 6e 0a 09 20 20 | 20 20 73 65 74 65 6e 76 |then.. | setenv|
|00002bf0| 20 4d 4d 5f 4e 4f 54 54 | 54 59 20 30 0a 09 20 20 | MM_NOTT|TY 0.. |
|00002c00| 20 20 78 74 65 72 6d 20 | 2d 65 20 73 68 6f 77 61 | xterm |-e showa|
|00002c10| 75 64 69 6f 20 24 2a 0a | 09 20 20 20 20 65 78 69 |udio $*.|. exi|
|00002c20| 74 20 30 0a 09 65 6e 64 | 69 66 0a 20 20 20 20 65 |t 0..end|if. e|
|00002c30| 6e 64 69 66 0a 63 68 6f | 6f 73 65 68 61 72 64 77 |ndif.cho|osehardw|
|00002c40| 61 72 65 3a 0a 20 20 20 | 20 65 63 68 6f 20 54 68 |are:. | echo Th|
|00002c50| 69 73 20 70 72 6f 67 72 | 61 6d 20 63 61 6e 20 64 |is progr|am can d|
|00002c60| 69 73 70 6c 61 79 20 61 | 75 64 69 6f 20 6f 6e 20 |isplay a|udio on |
|00002c70| 74 68 65 20 73 70 65 61 | 6b 65 72 73 20 6f 66 20 |the spea|kers of |
|00002c80| 73 6f 6d 65 20 77 6f 72 | 6b 73 74 61 74 69 6f 6e |some wor|kstation|
|00002c90| 73 2c 20 0a 20 20 20 20 | 65 63 68 6f 20 22 6f 72 |s, . |echo "or|
|00002ca0| 20 28 61 74 20 73 6f 6d | 65 20 73 69 74 65 73 29 | (at som|e sites)|
|00002cb0| 20 69 74 20 63 61 6e 20 | 63 61 6c 6c 20 79 6f 75 | it can |call you|
|00002cc0| 20 6f 6e 20 74 68 65 20 | 74 65 6c 65 70 68 6f 6e | on the |telephon|
|00002cd0| 65 2e 20 20 50 6c 65 61 | 73 65 20 63 68 6f 6f 73 |e. Plea|se choos|
|00002ce0| 65 20 6f 6e 65 3a 22 0a | 20 20 20 20 65 63 68 6f |e one:".| echo|
|00002cf0| 20 22 22 0a 20 20 20 20 | 65 63 68 6f 20 22 31 20 | "". |echo "1 |
|00002d00| 2d 2d 20 55 73 65 20 74 | 68 65 20 63 6f 6d 70 75 |-- Use t|he compu|
|00002d10| 74 65 72 27 73 20 73 70 | 65 61 6b 65 72 22 0a 20 |ter's sp|eaker". |
|00002d20| 20 20 20 65 63 68 6f 20 | 22 32 20 2d 2d 20 43 61 | echo |"2 -- Ca|
|00002d30| 6c 6c 20 6d 65 20 6f 6e | 20 74 68 65 20 74 65 6c |ll me on| the tel|
|00002d40| 65 70 68 6f 6e 65 22 0a | 20 20 20 20 65 63 68 6f |ephone".| echo|
|00002d50| 20 22 22 0a 20 20 20 20 | 65 63 68 6f 20 2d 6e 20 | "". |echo -n |
|00002d60| 22 57 68 69 63 68 20 64 | 6f 20 79 6f 75 20 70 72 |"Which d|o you pr|
|00002d70| 65 66 65 72 20 28 31 20 | 6f 72 20 32 29 3f 20 22 |efer (1 |or 2)? "|
|00002d80| 0a 20 20 20 20 73 65 74 | 20 61 6e 73 3d 24 3c 0a |. set| ans=$<.|
|00002d90| 20 20 20 20 69 66 20 28 | 24 61 6e 73 20 3d 3d 20 | if (|$ans == |
|00002da0| 32 29 20 20 74 68 65 6e | 0a 09 65 63 68 6f 20 22 |2) then|..echo "|
|00002db0| 4f 4b 2c 20 77 65 27 6c | 6c 20 75 73 65 20 74 68 |OK, we'l|l use th|
|00002dc0| 65 20 74 65 6c 65 70 68 | 6f 6e 65 2e 2e 2e 22 0a |e teleph|one...".|
|00002dd0| 09 73 65 74 20 41 55 44 | 49 4f 50 48 4f 4e 45 46 |.set AUD|IOPHONEF|
|00002de0| 4f 52 43 45 3d 31 0a 09 | 65 63 68 6f 20 22 49 6e |ORCE=1..|echo "In|
|00002df0| 20 74 68 65 20 66 75 74 | 75 72 65 2c 20 79 6f 75 | the fut|ure, you|
|00002e00| 20 63 61 6e 20 61 76 6f | 69 64 20 74 68 69 73 20 | can avo|id this |
|00002e10| 71 75 65 73 74 69 6f 6e | 20 62 79 20 73 65 74 74 |question| by sett|
|00002e20| 69 6e 67 20 74 68 65 20 | 65 6e 76 69 72 6f 6e 6d |ing the |environm|
|00002e30| 65 6e 74 20 76 61 72 69 | 61 62 6c 65 22 0a 09 65 |ent vari|able"..e|
|00002e40| 63 68 6f 20 22 41 55 44 | 49 4f 50 48 4f 4e 45 46 |cho "AUD|IOPHONEF|
|00002e50| 4f 52 43 45 20 74 6f 20 | 31 22 0a 09 67 6f 74 6f |ORCE to |1"..goto|
|00002e60| 20 70 6c 61 79 70 68 6f | 6e 65 0a 20 20 20 20 65 | playpho|ne. e|
|00002e70| 6c 73 65 20 69 66 20 28 | 24 61 6e 73 20 3d 3d 20 |lse if (|$ans == |
|00002e80| 31 29 20 74 68 65 6e 0a | 20 20 20 20 09 65 63 68 |1) then.| .ech|
|00002e90| 6f 20 22 4f 4b 2c 20 41 | 74 74 65 6d 70 74 69 6e |o "OK, A|ttemptin|
|00002ea0| 67 20 74 6f 20 70 6c 61 | 79 20 74 68 65 20 61 75 |g to pla|y the au|
|00002eb0| 64 69 6f 20 75 73 69 6e | 67 20 79 6f 75 72 20 63 |dio usin|g your c|
|00002ec0| 6f 6d 70 75 74 65 72 27 | 73 20 73 70 65 61 6b 65 |omputer'|s speake|
|00002ed0| 72 2e 2e 22 0a 20 20 20 | 20 09 73 65 74 20 41 55 |r..". | .set AU|
|00002ee0| 44 49 4f 53 50 45 41 4b | 45 52 46 4f 52 43 45 3d |DIOSPEAK|ERFORCE=|
|00002ef0| 31 0a 09 65 63 68 6f 20 | 22 49 6e 20 74 68 65 20 |1..echo |"In the |
|00002f00| 66 75 74 75 72 65 2c 20 | 79 6f 75 20 63 61 6e 20 |future, |you can |
|00002f10| 61 76 6f 69 64 20 74 68 | 69 73 20 71 75 65 73 74 |avoid th|is quest|
|00002f20| 69 6f 6e 20 62 79 20 73 | 65 74 74 69 6e 67 20 74 |ion by s|etting t|
|00002f30| 68 65 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 76 |he envir|onment v|
|00002f40| 61 72 69 61 62 6c 65 22 | 0a 09 65 63 68 6f 20 22 |ariable"|..echo "|
|00002f50| 41 55 44 49 4f 53 50 45 | 41 4b 45 52 46 4f 52 43 |AUDIOSPE|AKERFORC|
|00002f60| 45 20 74 6f 20 31 22 0a | 20 20 20 20 65 6c 73 65 |E to 1".| else|
|00002f70| 0a 09 65 63 68 6f 20 22 | 54 68 61 74 20 69 73 20 |..echo "|That is |
|00002f80| 4e 4f 54 20 6f 6e 65 20 | 6f 66 20 79 6f 75 72 20 |NOT one |of your |
|00002f90| 63 68 6f 69 63 65 73 2e | 22 0a 09 67 6f 74 6f 20 |choices.|"..goto |
|00002fa0| 63 68 6f 6f 73 65 68 61 | 72 64 77 61 72 65 0a 20 |chooseha|rdware. |
|00002fb0| 20 20 20 65 6e 64 69 66 | 0a 65 6e 64 69 66 0a 0a | endif|.endif..|
|00002fc0| 69 66 20 28 24 31 20 3d | 3d 20 22 2d 22 29 20 74 |if ($1 =|= "-") t|
|00002fd0| 68 65 6e 0a 20 20 20 20 | 73 65 74 20 53 54 44 49 |hen. |set STDI|
|00002fe0| 4e 50 55 54 3d 31 0a 20 | 20 20 20 73 68 69 66 74 |NPUT=1. | shift|
|00002ff0| 0a 65 6e 64 69 66 0a 0a | 73 65 74 20 61 75 64 69 |.endif..|set audi|
|00003000| 6f 68 6f 73 74 3d 24 74 | 68 69 73 68 6f 73 74 0a |ohost=$t|hishost.|
|00003010| 69 66 20 28 24 3f 44 49 | 53 50 4c 41 59 29 20 74 |if ($?DI|SPLAY) t|
|00003020| 68 65 6e 0a 20 20 20 20 | 73 65 74 20 61 75 64 69 |hen. |set audi|
|00003030| 6f 68 6f 73 74 3d 60 65 | 63 68 6f 20 24 44 49 53 |ohost=`e|cho $DIS|
|00003040| 50 4c 41 59 20 7c 20 73 | 65 64 20 2d 65 20 27 73 |PLAY | s|ed -e 's|
|00003050| 2f 3a 2e 2a 2f 2f 27 60 | 0a 20 20 20 20 69 66 20 |/:.*//'`|. if |
|00003060| 28 24 61 75 64 69 6f 68 | 6f 73 74 20 3d 3d 20 22 |($audioh|ost == "|
|00003070| 75 6e 69 78 22 29 20 73 | 65 74 20 61 75 64 69 6f |unix") s|et audio|
|00003080| 68 6f 73 74 3d 24 74 68 | 69 73 68 6f 73 74 0a 20 |host=$th|ishost. |
|00003090| 20 20 20 69 66 20 28 24 | 61 75 64 69 6f 68 6f 73 | if ($|audiohos|
|000030a0| 74 20 3d 3d 20 22 22 29 | 20 73 65 74 20 61 75 64 |t == "")| set aud|
|000030b0| 69 6f 68 6f 73 74 3d 24 | 74 68 69 73 68 6f 73 74 |iohost=$|thishost|
|000030c0| 0a 65 6e 64 69 66 0a 69 | 66 20 28 24 3f 41 55 44 |.endif.i|f ($?AUD|
|000030d0| 49 4f 48 4f 53 54 29 20 | 74 68 65 6e 0a 09 73 65 |IOHOST) |then..se|
|000030e0| 74 20 61 75 64 69 6f 68 | 6f 73 74 3d 24 41 55 44 |t audioh|ost=$AUD|
|000030f0| 49 4f 48 4f 53 54 0a 65 | 6e 64 69 66 0a 0a 69 66 |IOHOST.e|ndif..if|
|00003100| 20 28 24 61 75 64 69 6f | 68 6f 73 74 20 21 3d 20 | ($audio|host != |
|00003110| 24 74 68 69 73 68 6f 73 | 74 29 20 74 68 65 6e 0a |$thishos|t) then.|
|00003120| 20 20 20 20 65 63 68 6f | 20 53 65 6e 64 69 6e 67 | echo| Sending|
|00003130| 20 61 75 64 69 6f 20 74 | 6f 20 24 61 75 64 69 6f | audio t|o $audio|
|00003140| 68 6f 73 74 2e 2e 2e 0a | 20 20 20 20 69 66 20 28 |host....| if (|
|00003150| 24 3f 4d 4d 53 5f 41 55 | 44 49 4f 29 20 74 68 65 |$?MMS_AU|DIO) the|
|00003160| 6e 0a 20 20 20 20 20 20 | 20 20 69 66 20 28 24 3f |n. | if ($?|
|00003170| 53 54 44 49 4e 50 55 54 | 29 20 74 68 65 6e 0a 20 |STDINPUT|) then. |
|00003180| 20 20 20 20 20 20 20 20 | 20 20 20 63 61 74 20 7c | | cat ||
|00003190| 20 6d 6d 73 20 2d 68 6f | 73 74 20 24 61 75 64 69 | mms -ho|st $audi|
|000031a0| 6f 68 6f 73 74 20 22 73 | 68 6f 77 20 61 75 64 69 |ohost "s|how audi|
|000031b0| 6f 2f 62 61 73 69 63 22 | 20 2d 0a 20 20 20 20 20 |o/basic"| -. |
|000031c0| 20 20 20 65 6c 73 65 0a | 20 20 20 20 20 20 20 20 | else.| |
|000031d0| 20 20 20 20 63 61 74 20 | 24 2a 20 7c 20 6d 6d 73 | cat |$* | mms|
|000031e0| 20 2d 68 6f 73 74 20 24 | 61 75 64 69 6f 68 6f 73 | -host $|audiohos|
|000031f0| 74 20 22 73 68 6f 77 20 | 61 75 64 69 6f 2f 62 61 |t "show |audio/ba|
|00003200| 73 69 63 22 20 2d 0a 20 | 20 20 20 20 20 20 20 65 |sic" -. | e|
|00003210| 6e 64 69 66 0a 20 20 20 | 20 20 20 20 20 65 78 69 |ndif. | exi|
|00003220| 74 20 30 0a 20 20 20 20 | 65 6e 64 69 66 0a 0a 23 |t 0. |endif..#|
|00003230| 20 54 68 65 20 6e 65 78 | 74 20 74 77 6f 20 6c 69 | The nex|t two li|
|00003240| 6e 65 73 20 61 72 65 20 | 76 65 72 79 20 69 6e 65 |nes are |very ine|
|00003250| 66 66 69 63 69 65 6e 74 | 2c 20 62 75 74 20 6e 6f |fficient|, but no|
|00003260| 74 20 65 76 65 72 79 6f | 6e 65 20 68 61 73 20 74 |t everyo|ne has t|
|00003270| 68 65 69 72 20 70 61 74 | 68 20 72 69 67 68 74 20 |heir pat|h right |
|00003280| 66 6f 72 20 61 6e 20 72 | 73 68 0a 20 20 20 20 70 |for an r|sh. p|
|00003290| 75 73 68 64 20 7e 20 3e | 26 20 2f 64 65 76 2f 6e |ushd ~ >|& /dev/n|
|000032a0| 75 6c 6c 0a 20 20 20 20 | 73 65 74 20 74 68 69 73 |ull. |set this|
|000032b0| 70 72 6f 67 3d 60 77 68 | 69 63 68 20 73 68 6f 77 |prog=`wh|ich show|
|000032c0| 61 75 64 69 6f 60 0a 20 | 20 20 20 70 6f 70 64 20 |audio`. | popd |
|000032d0| 3e 26 20 2f 64 65 76 2f | 6e 75 6c 6c 0a 20 20 20 |>& /dev/|null. |
|000032e0| 20 69 66 20 28 24 3f 53 | 54 44 49 4e 50 55 54 29 | if ($?S|TDINPUT)|
|000032f0| 20 74 68 65 6e 0a 20 20 | 20 20 20 20 20 20 63 61 | then. | ca|
|00003300| 74 20 7c 20 72 73 68 20 | 24 61 75 64 69 6f 68 6f |t | rsh |$audioho|
|00003310| 73 74 20 24 74 68 69 73 | 70 72 6f 67 20 2d 73 20 |st $this|prog -s |
|00003320| 2d 0a 20 20 20 20 65 6c | 73 65 0a 20 20 20 20 20 |-. el|se. |
|00003330| 20 20 20 63 61 74 20 24 | 2a 20 7c 20 72 73 68 20 | cat $|* | rsh |
|00003340| 24 61 75 64 69 6f 68 6f | 73 74 20 24 74 68 69 73 |$audioho|st $this|
|00003350| 70 72 6f 67 20 20 2d 73 | 20 2d 0a 20 20 20 20 65 |prog -s| -. e|
|00003360| 6e 64 69 66 0a 20 20 20 | 20 65 78 69 74 20 30 0a |ndif. | exit 0.|
|00003370| 65 6e 64 69 66 0a 0a 69 | 66 20 28 2d 66 20 2f 75 |endif..i|f (-f /u|
|00003380| 73 72 2f 73 62 69 6e 2f | 73 66 70 6c 61 79 29 20 |sr/sbin/|sfplay) |
|00003390| 74 68 65 6e 0a 20 20 20 | 20 69 66 20 28 24 23 61 |then. | if ($#a|
|000033a0| 72 67 76 20 3e 3d 20 31 | 29 20 74 68 65 6e 0a 09 |rgv >= 1|) then..|
|000033b0| 65 78 65 63 20 2f 75 73 | 72 2f 73 62 69 6e 2f 73 |exec /us|r/sbin/s|
|000033c0| 66 70 6c 61 79 20 2d 69 | 20 6d 75 2d 6c 61 77 20 |fplay -i| mu-law |
|000033d0| 63 68 61 6e 20 31 20 72 | 61 74 65 20 38 30 30 30 |chan 1 r|ate 8000|
|000033e0| 20 65 6e 64 20 24 2a 0a | 20 20 20 20 65 6c 73 65 | end $*.| else|
|000033f0| 0a 09 63 61 74 20 3e 20 | 2f 74 6d 70 2f 61 75 64 |..cat > |/tmp/aud|
|00003400| 69 6f 2e 24 24 0a 09 2f | 75 73 72 2f 73 62 69 6e |io.$$../|usr/sbin|
|00003410| 2f 73 66 70 6c 61 79 20 | 2d 69 20 6d 75 2d 6c 61 |/sfplay |-i mu-la|
|00003420| 77 20 63 68 61 6e 20 31 | 20 72 61 74 65 20 38 30 |w chan 1| rate 80|
|00003430| 30 30 20 65 6e 64 20 2f | 74 6d 70 2f 61 75 64 69 |00 end /|tmp/audi|
|00003440| 6f 2e 24 24 0a 09 72 6d | 20 2f 74 6d 70 2f 61 75 |o.$$..rm| /tmp/au|
|00003450| 64 69 6f 2e 24 24 0a 09 | 65 78 69 74 20 30 0a 20 |dio.$$..|exit 0. |
|00003460| 20 20 20 65 6e 64 69 66 | 0a 65 6c 73 65 20 69 66 | endif|.else if|
|00003470| 20 28 2d 64 20 2f 75 73 | 72 2f 73 6f 6e 79 29 20 | (-d /us|r/sony) |
|00003480| 74 68 65 6e 0a 20 20 20 | 20 73 65 74 20 64 65 76 |then. | set dev|
|00003490| 3d 2f 64 65 76 2f 73 62 | 30 0a 65 6c 73 65 0a 20 |=/dev/sb|0.else. |
|000034a0| 20 20 20 73 65 74 20 64 | 65 76 3d 2f 64 65 76 2f | set d|ev=/dev/|
|000034b0| 61 75 64 69 6f 0a 65 6e | 64 69 66 0a 0a 69 66 20 |audio.en|dif..if |
|000034c0| 28 2d 77 20 24 64 65 76 | 29 20 74 68 65 6e 0a 65 |(-w $dev|) then.e|
|000034d0| 63 68 6f 20 50 6c 61 79 | 69 6e 67 20 61 75 64 69 |cho Play|ing audi|
|000034e0| 6f 20 6f 6e 20 24 74 68 | 69 73 68 6f 73 74 20 75 |o on $th|ishost u|
|000034f0| 73 69 6e 67 20 24 64 65 | 76 2c 20 6f 6e 65 20 6d |sing $de|v, one m|
|00003500| 6f 6d 65 6e 74 20 70 6c | 65 61 73 65 2e 2e 2e 0a |oment pl|ease....|
|00003510| 69 66 20 28 24 23 61 72 | 67 76 20 3e 3d 20 31 29 |if ($#ar|gv >= 1)|
|00003520| 20 74 68 65 6e 0a 20 20 | 20 20 20 20 20 20 63 61 | then. | ca|
|00003530| 74 20 24 2a 20 3e 20 24 | 64 65 76 0a 65 6c 73 65 |t $* > $|dev.else|
|00003540| 0a 20 20 20 20 20 20 20 | 20 63 61 74 20 3e 20 24 |. | cat > $|
|00003550| 64 65 76 0a 65 6e 64 69 | 66 0a 65 78 69 74 20 30 |dev.endi|f.exit 0|
|00003560| 0a 65 6e 64 69 66 0a 0a | 70 6c 61 79 70 68 6f 6e |.endif..|playphon|
|00003570| 65 3a 0a 69 66 20 28 2d | 64 20 24 41 55 44 49 4f |e:.if (-|d $AUDIO|
|00003580| 42 49 4e 44 49 52 29 20 | 74 68 65 6e 0a 20 20 20 |BINDIR) |then. |
|00003590| 20 20 20 20 20 20 20 20 | 20 20 20 73 65 74 20 74 | | set t|
|000035a0| 68 69 73 70 72 6f 67 3d | 60 77 68 69 63 68 20 73 |hisprog=|`which s|
|000035b0| 68 6f 77 61 75 64 69 6f | 60 0a 09 69 66 20 28 21 |howaudio|`..if (!|
|000035c0| 20 24 3f 41 55 44 49 4f | 50 48 4f 4e 45 29 20 74 | $?AUDIO|PHONE) t|
|000035d0| 68 65 6e 0a 09 20 20 20 | 20 69 66 20 28 24 3f 4d |hen.. | if ($?M|
|000035e0| 4d 5f 4e 4f 54 54 54 59 | 29 20 74 68 65 6e 0a 09 |M_NOTTTY|) then..|
|000035f0| 09 69 66 20 28 24 4d 4d | 5f 4e 4f 54 54 54 59 20 |.if ($MM|_NOTTTY |
|00003600| 3d 3d 20 31 29 20 74 68 | 65 6e 0a 09 09 20 20 20 |== 1) th|en... |
|00003610| 20 73 65 74 65 6e 76 20 | 4d 4d 5f 4e 4f 54 54 54 | setenv |MM_NOTTT|
|00003620| 59 20 30 0a 09 09 20 20 | 20 20 78 74 65 72 6d 20 |Y 0... | xterm |
|00003630| 2d 65 20 24 74 68 69 73 | 70 72 6f 67 20 24 2a 0a |-e $this|prog $*.|
|00003640| 09 09 20 20 20 20 65 78 | 69 74 20 30 0a 09 09 65 |.. ex|it 0...e|
|00003650| 6e 64 69 66 0a 09 20 20 | 20 20 65 6e 64 69 66 0a |ndif.. | endif.|
|00003660| 09 20 20 20 20 65 63 68 | 6f 20 54 68 69 73 20 6d |. ech|o This m|
|00003670| 65 73 73 61 67 65 20 63 | 6f 6e 74 61 69 6e 73 20 |essage c|ontains |
|00003680| 61 75 64 69 6f 2c 20 77 | 68 69 63 68 20 63 61 6e |audio, w|hich can|
|00003690| 20 62 65 20 73 65 6e 74 | 20 74 6f 20 79 6f 75 72 | be sent| to your|
|000036a0| 20 74 65 6c 65 70 68 6f | 6e 65 2e 0a 09 20 20 20 | telepho|ne... |
|000036b0| 20 65 63 68 6f 20 50 6c | 65 61 73 65 20 65 6e 74 | echo Pl|ease ent|
|000036c0| 65 72 20 74 68 65 20 74 | 65 6c 65 70 68 6f 6e 65 |er the t|elephone|
|000036d0| 20 6e 75 6d 62 65 72 20 | 61 74 20 77 68 69 63 68 | number |at which|
|000036e0| 20 79 6f 75 20 77 6f 75 | 6c 64 20 6c 69 6b 65 20 | you wou|ld like |
|000036f0| 74 6f 20 68 65 61 72 20 | 74 68 69 73 0a 09 20 20 |to hear |this.. |
|00003700| 20 20 65 63 68 6f 20 2d | 6e 20 22 61 75 64 69 6f | echo -|n "audio|
|00003710| 20 6d 65 73 73 61 67 65 | 20 61 73 20 79 6f 75 20 | message| as you |
|00003720| 77 6f 75 6c 64 20 64 69 | 61 6c 20 69 74 20 66 72 |would di|al it fr|
|00003730| 6f 6d 20 49 4e 53 49 44 | 45 20 24 7b 4f 52 47 7d |om INSID|E ${ORG}|
|00003740| 3a 20 20 22 0a 09 20 20 | 20 20 73 65 74 20 41 55 |: ".. | set AU|
|00003750| 44 49 4f 50 48 4f 4e 45 | 3d 24 3c 0a 09 65 6e 64 |DIOPHONE|=$<..end|
|00003760| 69 66 0a 09 69 66 20 28 | 24 74 68 69 73 68 6f 73 |if..if (|$thishos|
|00003770| 74 20 3d 3d 20 24 41 55 | 44 49 4f 50 48 4f 4e 45 |t == $AU|DIOPHONE|
|00003780| 48 4f 53 54 20 7c 7c 20 | 24 74 68 69 73 68 6f 73 |HOST || |$thishos|
|00003790| 74 20 3d 3d 20 24 41 55 | 44 49 4f 50 48 4f 4e 45 |t == $AU|DIOPHONE|
|000037a0| 48 4f 53 54 4c 4f 4e 47 | 29 20 74 68 65 6e 0a 09 |HOSTLONG|) then..|
|000037b0| 20 20 20 20 65 63 68 6f | 20 43 61 6c 6c 69 6e 67 | echo| Calling|
|000037c0| 20 50 68 6f 6e 65 20 6e | 75 6d 62 65 72 20 24 41 | Phone n|umber $A|
|000037d0| 55 44 49 4f 50 48 4f 4e | 45 0a 09 20 20 20 20 65 |UDIOPHON|E.. e|
|000037e0| 63 68 6f 20 22 59 6f 75 | 20 4d 55 53 54 20 53 41 |cho "You| MUST SA|
|000037f0| 59 20 48 45 4c 4c 4f 20 | 77 68 65 6e 20 79 6f 75 |Y HELLO |when you|
|00003800| 20 61 6e 73 77 65 72 20 | 74 68 65 20 70 68 6f 6e | answer |the phon|
|00003810| 65 2c 20 6f 72 20 79 6f | 75 20 77 69 6c 6c 20 6e |e, or yo|u will n|
|00003820| 6f 74 20 68 65 61 72 20 | 74 68 65 20 6d 65 73 73 |ot hear |the mess|
|00003830| 61 67 65 2e 22 0a 09 20 | 20 20 20 6d 61 69 6c 20 |age.".. | mail |
|00003840| 2d 73 20 22 73 68 6f 77 | 61 75 64 69 6f 3a 20 60 |-s "show|audio: `|
|00003850| 77 68 6f 61 6d 69 60 20 | 63 61 6c 6c 65 64 20 24 |whoami` |called $|
|00003860| 41 55 44 49 4f 50 48 4f | 4e 45 22 20 24 41 55 44 |AUDIOPHO|NE" $AUD|
|00003870| 49 4f 4c 4f 47 4d 41 49 | 4c 20 3c 20 2f 64 65 76 |IOLOGMAI|L < /dev|
|00003880| 2f 6e 75 6c 6c 0a 09 20 | 20 20 20 69 66 20 28 24 |/null.. | if ($|
|00003890| 3f 53 54 44 49 4e 50 55 | 54 29 20 74 68 65 6e 0a |?STDINPU|T) then.|
|000038a0| 09 20 20 20 20 20 20 20 | 20 63 61 74 20 24 41 55 |. | cat $AU|
|000038b0| 44 49 4f 42 49 4e 44 49 | 52 2f 2e 2e 2f 47 52 45 |DIOBINDI|R/../GRE|
|000038c0| 45 54 2e 61 75 20 24 2a | 20 2d 20 7c 20 24 41 55 |ET.au $*| - | $AU|
|000038d0| 44 49 4f 42 49 4e 44 49 | 52 2f 70 6c 61 79 20 2d |DIOBINDI|R/play -|
|000038e0| 5c 23 20 24 41 55 44 49 | 4f 50 48 4f 4e 45 20 2d |\# $AUDI|OPHONE -|
|000038f0| 0a 09 20 20 20 20 65 6c | 73 65 0a 09 20 20 20 20 |.. el|se.. |
|00003900| 20 20 20 20 63 61 74 20 | 24 41 55 44 49 4f 42 49 | cat |$AUDIOBI|
|00003910| 4e 44 49 52 2f 2e 2e 2f | 47 52 45 45 54 2e 61 75 |NDIR/../|GREET.au|
|00003920| 20 24 2a 20 7c 20 24 41 | 55 44 49 4f 42 49 4e 44 | $* | $A|UDIOBIND|
|00003930| 49 52 2f 70 6c 61 79 20 | 2d 5c 23 20 24 41 55 44 |IR/play |-\# $AUD|
|00003940| 49 4f 50 48 4f 4e 45 20 | 2d 0a 09 20 20 20 20 65 |IOPHONE |-.. e|
|00003950| 6e 64 69 66 0a 09 20 20 | 20 20 65 63 68 6f 20 41 |ndif.. | echo A|
|00003960| 6c 6c 20 64 6f 6e 65 0a | 09 20 20 20 20 65 78 69 |ll done.|. exi|
|00003970| 74 20 30 0a 09 65 6c 73 | 65 0a 09 20 20 20 20 65 |t 0..els|e.. e|
|00003980| 63 68 6f 20 54 72 79 69 | 6e 67 20 74 6f 20 72 73 |cho Tryi|ng to rs|
|00003990| 68 20 74 6f 20 24 41 55 | 44 49 4f 50 48 4f 4e 45 |h to $AU|DIOPHONE|
|000039a0| 48 4f 53 54 20 74 6f 20 | 73 65 6e 64 20 61 75 64 |HOST to |send aud|
|000039b0| 69 6f 20 76 69 61 20 74 | 65 6c 65 70 68 6f 6e 65 |io via t|elephone|
|000039c0| 0a 09 20 20 20 20 63 61 | 74 20 24 2a 20 7c 20 72 |.. ca|t $* | r|
|000039d0| 73 68 20 24 41 55 44 49 | 4f 50 48 4f 4e 45 48 4f |sh $AUDI|OPHONEHO|
|000039e0| 53 54 20 24 74 68 69 73 | 70 72 6f 67 20 2d 70 20 |ST $this|prog -p |
|000039f0| 24 41 55 44 49 4f 50 48 | 4f 4e 45 20 2d 0a 09 20 |$AUDIOPH|ONE -.. |
|00003a00| 20 20 20 65 78 69 74 20 | 30 0a 09 65 6e 64 69 66 | exit |0..endif|
|00003a10| 0a 65 6e 64 69 66 0a 65 | 63 68 6f 20 22 22 0a 65 |.endif.e|cho "".e|
|00003a20| 63 68 6f 20 54 68 69 73 | 20 6d 65 73 73 61 67 65 |cho This| message|
|00003a30| 20 63 6f 6e 74 61 69 6e | 73 20 61 6e 20 61 75 64 | contain|s an aud|
|00003a40| 69 6f 20 6d 65 73 61 67 | 65 2c 20 77 68 69 63 68 |io mesag|e, which|
|00003a50| 20 63 61 6e 20 6e 6f 74 | 20 63 75 72 72 65 6e 74 | can not| current|
|00003a60| 6c 79 20 62 65 0a 65 63 | 68 6f 20 70 6c 61 79 65 |ly be.ec|ho playe|
|00003a70| 64 20 6f 6e 20 74 68 69 | 73 20 74 79 70 65 20 6f |d on thi|s type o|
|00003a80| 66 20 77 6f 72 6b 73 74 | 61 74 69 6f 6e 2e 20 20 |f workst|ation. |
|00003a90| 20 49 66 20 79 6f 75 20 | 6c 6f 67 20 69 6e 74 6f | If you |log into|
|00003aa0| 20 61 6e 20 61 70 70 72 | 6f 70 72 69 61 74 65 20 | an appr|opriate |
|00003ab0| 0a 65 63 68 6f 20 22 6d | 61 63 68 69 6e 65 20 28 |.echo "m|achine (|
|00003ac0| 63 75 72 72 65 6e 74 6c | 79 20 61 20 53 50 41 52 |currentl|y a SPAR|
|00003ad0| 43 73 74 61 74 69 6f 6e | 73 20 6f 72 20 53 6f 6e |Cstation|s or Son|
|00003ae0| 79 20 4e 65 77 73 20 77 | 6f 72 6b 73 74 61 74 69 |y News w|orkstati|
|00003af0| 6f 6e 29 22 0a 65 63 68 | 6f 20 61 6e 64 20 72 65 |on)".ech|o and re|
|00003b00| 61 64 20 74 68 69 73 20 | 6d 65 73 73 61 67 65 20 |ad this |message |
|00003b10| 74 68 65 72 65 2c 20 79 | 6f 75 20 73 68 6f 75 6c |there, y|ou shoul|
|00003b20| 64 20 62 65 20 61 62 6c | 65 20 74 6f 20 68 65 61 |d be abl|e to hea|
|00003b30| 72 20 74 68 65 20 61 75 | 64 69 6f 0a 65 63 68 6f |r the au|dio.echo|
|00003b40| 20 6d 65 73 73 61 67 65 | 2e 20 20 0a 65 63 68 6f | message|. .echo|
|00003b50| 20 22 22 0a 65 63 68 6f | 20 2d 6e 20 22 44 6f 20 | "".echo| -n "Do |
|00003b60| 79 6f 75 20 77 61 6e 74 | 20 74 6f 20 77 72 69 74 |you want| to writ|
|00003b70| 65 20 74 68 65 20 61 75 | 64 69 6f 20 6f 75 74 20 |e the au|dio out |
|00003b80| 74 6f 20 61 20 66 69 6c | 65 20 5b 79 5d 20 3f 20 |to a fil|e [y] ? |
|00003b90| 22 0a 73 65 74 20 41 4e | 53 3d 24 3c 0a 69 66 20 |".set AN|S=$<.if |
|00003ba0| 28 22 24 41 4e 53 22 20 | 3d 7e 20 6e 2a 20 7c 7c |("$ANS" |=~ n* |||
|00003bb0| 20 20 22 24 41 4e 53 22 | 20 3d 7e 20 4e 2a 20 29 | "$ANS"| =~ N* )|
|00003bc0| 20 65 78 69 74 20 30 0a | 65 63 68 6f 20 2d 6e 20 | exit 0.|echo -n |
|00003bd0| 22 46 69 6c 65 20 6e 61 | 6d 65 3a 22 0a 73 65 74 |"File na|me:".set|
|00003be0| 20 66 6e 61 6d 65 3d 24 | 3c 0a 63 70 20 24 31 20 | fname=$|<.cp $1 |
|00003bf0| 24 66 6e 61 6d 65 0a 69 | 66 20 28 24 73 74 61 74 |$fname.i|f ($stat|
|00003c00| 75 73 20 3d 3d 20 30 29 | 20 65 63 68 6f 20 57 72 |us == 0)| echo Wr|
|00003c10| 6f 74 65 20 66 69 6c 65 | 20 24 66 6e 61 6d 65 0a |ote file| $fname.|
|00003c20| 65 78 69 74 20 30 0a 0a | 00 00 00 00 00 00 00 00 |exit 0..|........|
|00003c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e00| 62 69 6e 2f 73 68 6f 77 | 70 69 63 74 75 72 65 00 |bin/show|picture.|
|00003e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e60| 00 00 00 00 20 20 20 37 | 35 35 20 00 20 20 20 36 |.... 7|55 . 6|
|00003e70| 32 35 20 00 20 20 20 20 | 20 31 20 00 20 20 20 20 |25 . | 1 . |
|00003e80| 20 20 20 33 33 34 33 20 | 20 35 32 31 34 37 31 35 | 3343 | 5214715|
|00003e90| 37 30 37 20 20 31 33 30 | 33 34 00 20 30 00 00 00 |707 130|34. 0...|
|00003ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f00| 00 75 73 74 61 72 20 20 | 00 6d 67 75 65 72 72 61 |.ustar |.mguerra|
|00003f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f20| 00 00 00 00 00 00 00 00 | 00 6f 74 68 65 72 00 00 |........|.other..|
|00003f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004000| 23 21 2f 62 69 6e 2f 63 | 73 68 20 2d 66 0a 23 20 |#!/bin/c|sh -f.# |
|00004010| 43 6f 70 79 72 69 67 68 | 74 20 28 63 29 20 31 39 |Copyrigh|t (c) 19|
|00004020| 39 31 20 42 65 6c 6c 20 | 43 6f 6d 6d 75 6e 69 63 |91 Bell |Communic|
|00004030| 61 74 69 6f 6e 73 20 52 | 65 73 65 61 72 63 68 2c |ations R|esearch,|
|00004040| 20 49 6e 63 2e 20 28 42 | 65 6c 6c 63 6f 72 65 29 | Inc. (B|ellcore)|
|00004050| 0a 23 20 0a 23 20 50 65 | 72 6d 69 73 73 69 6f 6e |.# .# Pe|rmission|
|00004060| 20 74 6f 20 75 73 65 2c | 20 63 6f 70 79 2c 20 6d | to use,| copy, m|
|00004070| 6f 64 69 66 79 2c 20 61 | 6e 64 20 64 69 73 74 72 |odify, a|nd distr|
|00004080| 69 62 75 74 65 20 74 68 | 69 73 20 6d 61 74 65 72 |ibute th|is mater|
|00004090| 69 61 6c 20 0a 23 20 66 | 6f 72 20 61 6e 79 20 70 |ial .# f|or any p|
|000040a0| 75 72 70 6f 73 65 20 61 | 6e 64 20 77 69 74 68 6f |urpose a|nd witho|
|000040b0| 75 74 20 66 65 65 20 69 | 73 20 68 65 72 65 62 79 |ut fee i|s hereby|
|000040c0| 20 67 72 61 6e 74 65 64 | 2c 20 70 72 6f 76 69 64 | granted|, provid|
|000040d0| 65 64 20 0a 23 20 74 68 | 61 74 20 74 68 65 20 61 |ed .# th|at the a|
|000040e0| 62 6f 76 65 20 63 6f 70 | 79 72 69 67 68 74 20 6e |bove cop|yright n|
|000040f0| 6f 74 69 63 65 20 61 6e | 64 20 74 68 69 73 20 70 |otice an|d this p|
|00004100| 65 72 6d 69 73 73 69 6f | 6e 20 6e 6f 74 69 63 65 |ermissio|n notice|
|00004110| 20 0a 23 20 61 70 70 65 | 61 72 20 69 6e 20 61 6c | .# appe|ar in al|
|00004120| 6c 20 63 6f 70 69 65 73 | 2c 20 61 6e 64 20 74 68 |l copies|, and th|
|00004130| 61 74 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 42 |at the n|ame of B|
|00004140| 65 6c 6c 63 6f 72 65 20 | 6e 6f 74 20 62 65 20 0a |ellcore |not be .|
|00004150| 23 20 75 73 65 64 20 69 | 6e 20 61 64 76 65 72 74 |# used i|n advert|
|00004160| 69 73 69 6e 67 20 6f 72 | 20 70 75 62 6c 69 63 69 |ising or| publici|
|00004170| 74 79 20 70 65 72 74 61 | 69 6e 69 6e 67 20 74 6f |ty perta|ining to|
|00004180| 20 74 68 69 73 20 0a 23 | 20 6d 61 74 65 72 69 61 | this .#| materia|
|00004190| 6c 20 77 69 74 68 6f 75 | 74 20 74 68 65 20 73 70 |l withou|t the sp|
|000041a0| 65 63 69 66 69 63 2c 20 | 70 72 69 6f 72 20 77 72 |ecific, |prior wr|
|000041b0| 69 74 74 65 6e 20 70 65 | 72 6d 69 73 73 69 6f 6e |itten pe|rmission|
|000041c0| 20 0a 23 20 6f 66 20 61 | 6e 20 61 75 74 68 6f 72 | .# of a|n author|
|000041d0| 69 7a 65 64 20 72 65 70 | 72 65 73 65 6e 74 61 74 |ized rep|resentat|
|000041e0| 69 76 65 20 6f 66 20 42 | 65 6c 6c 63 6f 72 65 2e |ive of B|ellcore.|
|000041f0| 20 20 42 45 4c 4c 43 4f | 52 45 20 0a 23 20 4d 41 | BELLCO|RE .# MA|
|00004200| 4b 45 53 20 4e 4f 20 52 | 45 50 52 45 53 45 4e 54 |KES NO R|EPRESENT|
|00004210| 41 54 49 4f 4e 53 20 41 | 42 4f 55 54 20 54 48 45 |ATIONS A|BOUT THE|
|00004220| 20 41 43 43 55 52 41 43 | 59 20 4f 52 20 53 55 49 | ACCURAC|Y OR SUI|
|00004230| 54 41 42 49 4c 49 54 59 | 20 0a 23 20 4f 46 20 54 |TABILITY| .# OF T|
|00004240| 48 49 53 20 4d 41 54 45 | 52 49 41 4c 20 46 4f 52 |HIS MATE|RIAL FOR|
|00004250| 20 41 4e 59 20 50 55 52 | 50 4f 53 45 2e 20 20 49 | ANY PUR|POSE. I|
|00004260| 54 20 49 53 20 50 52 4f | 56 49 44 45 44 20 22 41 |T IS PRO|VIDED "A|
|00004270| 53 20 49 53 22 2c 20 0a | 23 20 57 49 54 48 4f 55 |S IS", .|# WITHOU|
|00004280| 54 20 41 4e 59 20 45 58 | 50 52 45 53 53 20 4f 52 |T ANY EX|PRESS OR|
|00004290| 20 49 4d 50 4c 49 45 44 | 20 57 41 52 52 41 4e 54 | IMPLIED| WARRANT|
|000042a0| 49 45 53 2e 0a 23 0a 69 | 66 20 28 21 20 24 3f 58 |IES..#.i|f (! $?X|
|000042b0| 5f 56 49 45 57 45 52 29 | 20 74 68 65 6e 0a 73 65 |_VIEWER)| then.se|
|000042c0| 74 20 58 5f 56 49 45 57 | 45 52 3d 22 78 6c 6f 61 |t X_VIEW|ER="xloa|
|000042d0| 64 69 6d 61 67 65 20 2d | 76 69 65 77 20 2d 71 75 |dimage -|view -qu|
|000042e0| 69 65 74 20 2d 67 65 6f | 6d 65 74 72 79 20 2b 31 |iet -geo|metry +1|
|000042f0| 2b 31 22 0a 23 20 73 65 | 74 20 58 5f 56 49 45 57 |+1".# se|t X_VIEW|
|00004300| 45 52 3d 22 78 76 20 2d | 67 65 6f 6d 65 74 72 79 |ER="xv -|geometry|
|00004310| 20 2b 31 2b 31 22 0a 65 | 6e 64 69 66 0a 69 66 20 | +1+1".e|ndif.if |
|00004320| 28 24 31 20 3d 3d 20 22 | 2d 76 69 65 77 65 72 22 |($1 == "|-viewer"|
|00004330| 20 26 26 20 24 23 61 72 | 67 76 20 3e 20 31 29 20 | && $#ar|gv > 1) |
|00004340| 74 68 65 6e 0a 20 20 20 | 20 73 65 74 20 58 5f 56 |then. | set X_V|
|00004350| 49 45 57 45 52 20 3d 20 | 24 32 0a 20 20 20 20 73 |IEWER = |$2. s|
|00004360| 68 69 66 74 0a 20 20 20 | 20 73 68 69 66 74 0a 65 |hift. | shift.e|
|00004370| 6e 64 69 66 0a 0a 69 66 | 20 28 21 20 24 3f 44 49 |ndif..if| (! $?DI|
|00004380| 53 50 4c 41 59 29 20 74 | 68 65 6e 0a 20 20 20 20 |SPLAY) t|hen. |
|00004390| 65 63 68 6f 20 22 22 0a | 20 20 20 20 65 63 68 6f |echo "".| echo|
|000043a0| 20 54 68 69 73 20 6d 65 | 73 73 61 67 65 20 63 6f | This me|ssage co|
|000043b0| 6e 74 61 69 6e 73 20 61 | 20 70 69 63 74 75 72 65 |ntains a| picture|
|000043c0| 2c 20 77 68 69 63 68 20 | 63 61 6e 20 63 75 72 72 |, which |can curr|
|000043d0| 65 6e 74 6c 79 20 6f 6e | 6c 79 20 62 65 0a 20 20 |ently on|ly be. |
|000043e0| 20 20 65 63 68 6f 20 76 | 69 65 77 65 64 20 77 68 | echo v|iewed wh|
|000043f0| 65 6e 20 72 75 6e 6e 69 | 6e 67 20 58 31 31 2e 20 |en runni|ng X11. |
|00004400| 20 49 66 20 79 6f 75 20 | 72 65 61 64 20 74 68 69 | If you |read thi|
|00004410| 73 20 6d 65 73 73 61 67 | 65 20 77 68 69 6c 65 20 |s messag|e while |
|00004420| 72 75 6e 6e 69 6e 67 0a | 20 20 20 20 65 63 68 6f |running.| echo|
|00004430| 20 58 31 31 2c 20 61 6e | 64 20 68 61 76 65 20 79 | X11, an|d have y|
|00004440| 6f 75 72 20 44 49 53 50 | 4c 41 59 20 76 61 72 69 |our DISP|LAY vari|
|00004450| 61 62 6c 65 20 73 65 74 | 2c 20 79 6f 75 20 77 69 |able set|, you wi|
|00004460| 6c 6c 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |ll then.| echo|
|00004470| 20 62 65 20 61 62 6c 65 | 20 74 6f 20 73 65 65 20 | be able| to see |
|00004480| 74 68 65 20 70 69 63 74 | 75 72 65 20 70 72 6f 70 |the pict|ure prop|
|00004490| 65 72 6c 79 2e 0a 20 20 | 20 20 65 63 68 6f 20 22 |erly.. | echo "|
|000044a0| 22 0a 20 20 20 20 65 63 | 68 6f 20 2d 6e 20 22 44 |". ec|ho -n "D|
|000044b0| 6f 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 20 77 72 |o you wa|nt to wr|
|000044c0| 69 74 65 20 74 68 65 20 | 70 69 63 74 75 72 65 20 |ite the |picture |
|000044d0| 6f 75 74 20 74 6f 20 61 | 20 66 69 6c 65 20 5b 79 |out to a| file [y|
|000044e0| 5d 20 3f 20 22 0a 20 20 | 20 20 73 65 74 20 41 4e |] ? ". | set AN|
|000044f0| 53 3d 24 3c 0a 20 20 20 | 20 69 66 20 28 22 24 41 |S=$<. | if ("$A|
|00004500| 4e 53 22 20 3d 7e 20 6e | 2a 20 7c 7c 20 20 22 24 |NS" =~ n|* || "$|
|00004510| 41 4e 53 22 20 3d 7e 20 | 4e 2a 20 29 20 65 78 69 |ANS" =~ |N* ) exi|
|00004520| 74 20 30 0a 20 20 20 20 | 65 63 68 6f 20 2d 6e 20 |t 0. |echo -n |
|00004530| 22 46 69 6c 65 20 6e 61 | 6d 65 3a 22 0a 20 20 20 |"File na|me:". |
|00004540| 20 73 65 74 20 66 6e 61 | 6d 65 3d 24 3c 0a 20 20 | set fna|me=$<. |
|00004550| 20 20 63 70 20 24 31 20 | 24 66 6e 61 6d 65 0a 20 | cp $1 |$fname. |
|00004560| 20 20 20 69 66 20 28 24 | 73 74 61 74 75 73 20 3d | if ($|status =|
|00004570| 3d 20 30 29 20 65 63 68 | 6f 20 57 72 6f 74 65 20 |= 0) ech|o Wrote |
|00004580| 66 69 6c 65 20 24 66 6e | 61 6d 65 0a 20 20 20 20 |file $fn|ame. |
|00004590| 65 78 69 74 20 30 0a 65 | 6e 64 69 66 0a 0a 65 63 |exit 0.e|ndif..ec|
|000045a0| 68 6f 20 4e 4f 54 45 3a | 20 20 54 4f 20 4d 41 4b |ho NOTE:| TO MAK|
|000045b0| 45 20 54 48 45 20 50 49 | 43 54 55 52 45 20 57 49 |E THE PI|CTURE WI|
|000045c0| 4e 44 4f 57 20 47 4f 20 | 41 57 41 59 2c 20 4a 55 |NDOW GO |AWAY, JU|
|000045d0| 53 54 20 54 59 50 45 20 | 27 71 27 20 49 4e 20 49 |ST TYPE |'q' IN I|
|000045e0| 54 2e 0a 65 63 68 6f 20 | 22 22 0a 69 66 20 28 24 |T..echo |"".if ($|
|000045f0| 23 61 72 67 76 20 3d 3d | 20 30 29 20 74 68 65 6e |#argv ==| 0) then|
|00004600| 0a 20 20 20 20 24 58 5f | 56 49 45 57 45 52 20 73 |. $X_|VIEWER s|
|00004610| 74 64 69 6e 0a 65 6c 73 | 65 0a 66 6f 72 65 61 63 |tdin.els|e.foreac|
|00004620| 68 20 69 20 28 24 2a 29 | 0a 20 20 20 20 73 65 74 |h i ($*)|. set|
|00004630| 20 64 69 72 3d 24 69 3a | 68 0a 20 20 20 20 69 66 | dir=$i:|h. if|
|00004640| 20 28 24 64 69 72 20 21 | 3d 20 24 69 29 20 74 68 | ($dir !|= $i) th|
|00004650| 65 6e 0a 09 23 20 4d 61 | 6b 65 20 74 68 65 20 6c |en..# Ma|ke the l|
|00004660| 6e 20 73 75 72 65 20 74 | 6f 20 77 6f 72 6b 09 0a |n sure t|o work..|
|00004670| 09 63 64 20 24 64 69 72 | 0a 20 20 20 20 65 6e 64 |.cd $dir|. end|
|00004680| 69 66 0a 20 20 20 20 6c | 6e 20 24 69 20 24 24 2e |if. l|n $i $$.|
|00004690| 50 52 45 53 53 2d 71 2d | 54 4f 2d 45 58 49 54 20 |PRESS-q-|TO-EXIT |
|000046a0| 0a 20 20 20 20 24 58 5f | 56 49 45 57 45 52 20 24 |. $X_|VIEWER $|
|000046b0| 24 2e 50 52 45 53 53 2d | 71 2d 54 4f 2d 45 58 49 |$.PRESS-|q-TO-EXI|
|000046c0| 54 0a 20 20 20 20 72 6d | 20 24 24 2e 50 52 45 53 |T. rm| $$.PRES|
|000046d0| 53 2d 71 2d 54 4f 2d 45 | 58 49 54 20 0a 65 6e 64 |S-q-TO-E|XIT .end|
|000046e0| 69 66 0a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |if......|........|
|000046f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004800| 62 69 6e 2f 6d 65 74 61 | 73 65 6e 64 00 00 00 00 |bin/meta|send....|
|00004810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004860| 00 00 00 00 20 20 20 37 | 35 35 20 00 20 20 20 36 |.... 7|55 . 6|
|00004870| 32 35 20 00 20 20 20 20 | 20 31 20 00 20 20 20 20 |25 . | 1 . |
|00004880| 20 20 31 33 35 31 36 20 | 20 35 32 30 31 35 34 35 | 13516 | 5201545|
|00004890| 35 34 30 20 20 31 32 32 | 37 33 00 20 30 00 00 00 |540 122|73. 0...|
|000048a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004900| 00 75 73 74 61 72 20 20 | 00 6d 67 75 65 72 72 61 |.ustar |.mguerra|
|00004910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004920| 00 00 00 00 00 00 00 00 | 00 6f 74 68 65 72 00 00 |........|.other..|
|00004930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a00| 23 21 2f 62 69 6e 2f 63 | 73 68 20 2d 66 0a 23 20 |#!/bin/c|sh -f.# |
|00004a10| 43 6f 70 79 72 69 67 68 | 74 20 28 63 29 20 31 39 |Copyrigh|t (c) 19|
|00004a20| 39 31 20 42 65 6c 6c 20 | 43 6f 6d 6d 75 6e 69 63 |91 Bell |Communic|
|00004a30| 61 74 69 6f 6e 73 20 52 | 65 73 65 61 72 63 68 2c |ations R|esearch,|
|00004a40| 20 49 6e 63 2e 20 28 42 | 65 6c 6c 63 6f 72 65 29 | Inc. (B|ellcore)|
|00004a50| 0a 23 20 0a 23 20 50 65 | 72 6d 69 73 73 69 6f 6e |.# .# Pe|rmission|
|00004a60| 20 74 6f 20 75 73 65 2c | 20 63 6f 70 79 2c 20 6d | to use,| copy, m|
|00004a70| 6f 64 69 66 79 2c 20 61 | 6e 64 20 64 69 73 74 72 |odify, a|nd distr|
|00004a80| 69 62 75 74 65 20 74 68 | 69 73 20 6d 61 74 65 72 |ibute th|is mater|
|00004a90| 69 61 6c 20 0a 23 20 66 | 6f 72 20 61 6e 79 20 70 |ial .# f|or any p|
|00004aa0| 75 72 70 6f 73 65 20 61 | 6e 64 20 77 69 74 68 6f |urpose a|nd witho|
|00004ab0| 75 74 20 66 65 65 20 69 | 73 20 68 65 72 65 62 79 |ut fee i|s hereby|
|00004ac0| 20 67 72 61 6e 74 65 64 | 2c 20 70 72 6f 76 69 64 | granted|, provid|
|00004ad0| 65 64 20 0a 23 20 74 68 | 61 74 20 74 68 65 20 61 |ed .# th|at the a|
|00004ae0| 62 6f 76 65 20 63 6f 70 | 79 72 69 67 68 74 20 6e |bove cop|yright n|
|00004af0| 6f 74 69 63 65 20 61 6e | 64 20 74 68 69 73 20 70 |otice an|d this p|
|00004b00| 65 72 6d 69 73 73 69 6f | 6e 20 6e 6f 74 69 63 65 |ermissio|n notice|
|00004b10| 20 0a 23 20 61 70 70 65 | 61 72 20 69 6e 20 61 6c | .# appe|ar in al|
|00004b20| 6c 20 63 6f 70 69 65 73 | 2c 20 61 6e 64 20 74 68 |l copies|, and th|
|00004b30| 61 74 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 42 |at the n|ame of B|
|00004b40| 65 6c 6c 63 6f 72 65 20 | 6e 6f 74 20 62 65 20 0a |ellcore |not be .|
|00004b50| 23 20 75 73 65 64 20 69 | 6e 20 61 64 76 65 72 74 |# used i|n advert|
|00004b60| 69 73 69 6e 67 20 6f 72 | 20 70 75 62 6c 69 63 69 |ising or| publici|
|00004b70| 74 79 20 70 65 72 74 61 | 69 6e 69 6e 67 20 74 6f |ty perta|ining to|
|00004b80| 20 74 68 69 73 20 0a 23 | 20 6d 61 74 65 72 69 61 | this .#| materia|
|00004b90| 6c 20 77 69 74 68 6f 75 | 74 20 74 68 65 20 73 70 |l withou|t the sp|
|00004ba0| 65 63 69 66 69 63 2c 20 | 70 72 69 6f 72 20 77 72 |ecific, |prior wr|
|00004bb0| 69 74 74 65 6e 20 70 65 | 72 6d 69 73 73 69 6f 6e |itten pe|rmission|
|00004bc0| 20 0a 23 20 6f 66 20 61 | 6e 20 61 75 74 68 6f 72 | .# of a|n author|
|00004bd0| 69 7a 65 64 20 72 65 70 | 72 65 73 65 6e 74 61 74 |ized rep|resentat|
|00004be0| 69 76 65 20 6f 66 20 42 | 65 6c 6c 63 6f 72 65 2e |ive of B|ellcore.|
|00004bf0| 20 20 42 45 4c 4c 43 4f | 52 45 20 0a 23 20 4d 41 | BELLCO|RE .# MA|
|00004c00| 4b 45 53 20 4e 4f 20 52 | 45 50 52 45 53 45 4e 54 |KES NO R|EPRESENT|
|00004c10| 41 54 49 4f 4e 53 20 41 | 42 4f 55 54 20 54 48 45 |ATIONS A|BOUT THE|
|00004c20| 20 41 43 43 55 52 41 43 | 59 20 4f 52 20 53 55 49 | ACCURAC|Y OR SUI|
|00004c30| 54 41 42 49 4c 49 54 59 | 20 0a 23 20 4f 46 20 54 |TABILITY| .# OF T|
|00004c40| 48 49 53 20 4d 41 54 45 | 52 49 41 4c 20 46 4f 52 |HIS MATE|RIAL FOR|
|00004c50| 20 41 4e 59 20 50 55 52 | 50 4f 53 45 2e 20 20 49 | ANY PUR|POSE. I|
|00004c60| 54 20 49 53 20 50 52 4f | 56 49 44 45 44 20 22 41 |T IS PRO|VIDED "A|
|00004c70| 53 20 49 53 22 2c 20 0a | 23 20 57 49 54 48 4f 55 |S IS", .|# WITHOU|
|00004c80| 54 20 41 4e 59 20 45 58 | 50 52 45 53 53 20 4f 52 |T ANY EX|PRESS OR|
|00004c90| 20 49 4d 50 4c 49 45 44 | 20 57 41 52 52 41 4e 54 | IMPLIED| WARRANT|
|00004ca0| 49 45 53 2e 0a 23 0a 0a | 73 65 74 20 4d 75 73 74 |IES..#..|set Must|
|00004cb0| 44 65 6c 65 74 65 3d 30 | 0a 73 65 74 20 62 61 74 |Delete=0|.set bat|
|00004cc0| 63 68 6d 6f 64 65 3d 30 | 0a 73 65 74 20 73 70 6c |chmode=0|.set spl|
|00004cd0| 69 74 73 69 7a 65 20 3d | 20 31 30 30 30 30 30 0a |itsize =| 100000.|
|00004ce0| 77 68 69 6c 65 20 28 24 | 23 61 72 67 76 20 3e 20 |while ($|#argv > |
|00004cf0| 30 29 0a 20 20 20 20 73 | 77 69 74 63 68 20 28 24 |0). s|witch ($|
|00004d00| 31 29 0a 20 20 20 20 20 | 20 20 20 63 61 73 65 20 |1). | case |
|00004d10| 22 2d 53 22 3a 0a 20 20 | 20 20 20 20 20 20 20 20 |"-S":. | |
|00004d20| 20 20 73 68 69 66 74 0a | 20 20 20 20 20 20 20 20 | shift.| |
|00004d30| 20 20 20 20 69 66 20 28 | 24 23 61 72 67 76 20 3d | if (|$#argv =|
|00004d40| 3d 20 30 29 20 74 68 65 | 6e 0a 20 20 20 20 20 20 |= 0) the|n. |
|00004d50| 20 20 20 20 20 20 20 20 | 20 20 65 63 68 6f 20 22 | | echo "|
|00004d60| 2d 53 20 72 65 71 75 69 | 72 65 73 20 61 20 66 6f |-S requi|res a fo|
|00004d70| 6c 6c 6f 77 69 6e 67 20 | 61 72 67 75 6d 65 6e 74 |llowing |argument|
|00004d80| 2c 20 74 68 65 20 53 50 | 4c 49 54 20 74 68 72 65 |, the SP|LIT thre|
|00004d90| 73 68 68 6f 6c 64 22 0a | 20 20 20 20 20 20 20 20 |shhold".| |
|00004da0| 20 20 20 20 20 20 20 20 | 65 78 69 74 0a 20 20 20 | |exit. |
|00004db0| 20 20 20 20 20 20 20 20 | 20 65 6e 64 69 66 0a 20 | | endif. |
|00004dc0| 20 20 20 20 20 20 20 20 | 20 20 20 73 65 74 20 73 | | set s|
|00004dd0| 70 6c 69 74 73 69 7a 65 | 3d 24 31 0a 20 20 20 20 |plitsize|=$1. |
|00004de0| 20 20 20 20 20 20 20 20 | 73 68 69 66 74 0a 20 20 | |shift. |
|00004df0| 20 20 20 20 20 20 20 20 | 20 20 62 72 65 61 6b 73 | | breaks|
|00004e00| 77 0a 20 20 20 20 20 20 | 20 20 63 61 73 65 20 22 |w. | case "|
|00004e10| 2d 62 22 3a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |-b":. | |
|00004e20| 20 23 20 42 61 74 63 68 | 20 6d 6f 64 65 20 2d 2d | # Batch| mode --|
|00004e30| 20 41 4c 4c 20 61 72 67 | 73 20 6d 75 73 74 20 62 | ALL arg|s must b|
|00004e40| 65 20 6f 6e 20 63 6f 6d | 6d 61 6e 64 20 6c 69 6e |e on com|mand lin|
|00004e50| 65 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 73 65 |e. | se|
|00004e60| 74 20 62 61 74 63 68 6d | 6f 64 65 20 3d 20 31 0a |t batchm|ode = 1.|
|00004e70| 20 20 20 20 20 20 20 20 | 20 20 20 20 73 68 69 66 | | shif|
|00004e80| 74 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 62 72 |t. | br|
|00004e90| 65 61 6b 73 77 0a 20 20 | 20 20 20 20 20 20 63 61 |eaksw. | ca|
|00004ea0| 73 65 20 22 2d 63 22 3a | 0a 20 20 20 20 20 20 20 |se "-c":|. |
|00004eb0| 20 20 20 20 20 73 68 69 | 66 74 0a 20 20 20 20 20 | shi|ft. |
|00004ec0| 20 20 20 20 20 20 20 69 | 66 20 28 24 23 61 72 67 | i|f ($#arg|
|00004ed0| 76 20 3d 3d 20 30 29 20 | 74 68 65 6e 0a 20 20 20 |v == 0) |then. |
|00004ee0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 65 63 68 | | ech|
|00004ef0| 6f 20 22 2d 63 20 72 65 | 71 75 69 72 65 73 20 61 |o "-c re|quires a|
|00004f00| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 61 72 67 75 6d | followi|ng argum|
|00004f10| 65 6e 74 2c 20 74 68 65 | 20 43 43 20 61 64 64 72 |ent, the| CC addr|
|00004f20| 65 73 73 22 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ess". | |
|00004f30| 20 20 20 20 20 65 78 69 | 74 0a 20 20 20 20 20 20 | exi|t. |
|00004f40| 20 20 20 20 20 20 65 6e | 64 69 66 0a 20 20 20 20 | en|dif. |
|00004f50| 20 20 20 20 20 20 20 20 | 73 65 74 20 63 63 3d 24 | |set cc=$|
|00004f60| 31 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 73 68 |1. | sh|
|00004f70| 69 66 74 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ift. | |
|00004f80| 62 72 65 61 6b 73 77 0a | 20 20 20 20 20 20 20 20 |breaksw.| |
|00004f90| 63 61 73 65 20 22 2d 73 | 22 3a 0a 20 20 20 20 20 |case "-s|":. |
|00004fa0| 20 20 20 20 20 20 20 73 | 68 69 66 74 0a 20 20 20 | s|hift. |
|00004fb0| 20 20 20 20 20 20 20 20 | 20 69 66 20 28 24 23 61 | | if ($#a|
|00004fc0| 72 67 76 20 3d 3d 20 30 | 29 20 74 68 65 6e 0a 20 |rgv == 0|) then. |
|00004fd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 65 | | e|
|00004fe0| 63 68 6f 20 22 2d 73 20 | 72 65 71 75 69 72 65 73 |cho "-s |requires|
|00004ff0| 20 61 20 66 6f 6c 6c 6f | 77 69 6e 67 20 61 72 67 | a follo|wing arg|
|00005000| 75 6d 65 6e 74 2c 20 74 | 68 65 20 53 55 42 4a 45 |ument, t|he SUBJE|
|00005010| 43 54 22 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |CT". | |
|00005020| 20 20 20 20 65 78 69 74 | 0a 20 20 20 20 20 20 20 | exit|. |
|00005030| 20 20 20 20 20 65 6e 64 | 69 66 0a 20 20 20 20 20 | end|if. |
|00005040| 20 20 20 20 20 20 20 73 | 65 74 20 73 75 62 6a 65 | s|et subje|
|00005050| 63 74 3d 22 24 31 22 0a | 20 20 20 20 20 20 20 20 |ct="$1".| |
|00005060| 20 20 20 20 73 68 69 66 | 74 0a 20 20 20 20 20 20 | shif|t. |
|00005070| 20 20 20 20 20 20 62 72 | 65 61 6b 73 77 0a 20 20 | br|eaksw. |
|00005080| 20 20 20 20 20 20 63 61 | 73 65 20 22 2d 74 22 3a | ca|se "-t":|
|00005090| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 73 68 69 |. | shi|
|000050a0| 66 74 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 69 |ft. | i|
|000050b0| 66 20 28 24 23 61 72 67 | 76 20 3d 3d 20 30 29 20 |f ($#arg|v == 0) |
|000050c0| 74 68 65 6e 0a 20 20 20 | 20 20 20 20 20 20 20 20 |then. | |
|000050d0| 20 20 20 20 20 65 63 68 | 6f 20 22 2d 74 20 72 65 | ech|o "-t re|
|000050e0| 71 75 69 72 65 73 20 61 | 20 66 6f 6c 6c 6f 77 69 |quires a| followi|
|000050f0| 6e 67 20 61 72 67 75 6d | 65 6e 74 2c 20 74 68 65 |ng argum|ent, the|
|00005100| 20 54 4f 20 61 64 64 72 | 65 73 73 22 0a 20 20 20 | TO addr|ess". |
|00005110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 65 78 69 | | exi|
|00005120| 74 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 65 6e |t. | en|
|00005130| 64 69 66 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |dif. | |
|00005140| 73 65 74 20 74 6f 3d 22 | 24 31 22 0a 20 20 20 20 |set to="|$1". |
|00005150| 20 20 20 20 20 20 20 20 | 73 68 69 66 74 0a 20 20 | |shift. |
|00005160| 20 20 20 20 20 20 20 20 | 20 20 62 72 65 61 6b 73 | | breaks|
|00005170| 77 0a 20 20 20 20 20 20 | 20 20 63 61 73 65 20 22 |w. | case "|
|00005180| 2d 65 22 3a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |-e":. | |
|00005190| 20 73 68 69 66 74 0a 20 | 20 20 20 20 20 20 20 20 | shift. | |
|000051a0| 20 20 20 69 66 20 28 24 | 23 61 72 67 76 20 3d 3d | if ($|#argv ==|
|000051b0| 20 30 29 20 74 68 65 6e | 0a 20 20 20 20 20 20 20 | 0) then|. |
|000051c0| 20 20 20 20 20 20 20 20 | 20 65 63 68 6f 20 22 2d | | echo "-|
|000051d0| 65 20 72 65 71 75 69 72 | 65 73 20 61 20 66 6f 6c |e requir|es a fol|
|000051e0| 6c 6f 77 69 6e 67 20 61 | 72 67 75 6d 65 6e 74 2c |lowing a|rgument,|
|000051f0| 20 74 68 65 20 45 4e 43 | 4f 44 49 4e 47 20 76 61 | the ENC|ODING va|
|00005200| 6c 75 65 22 0a 20 20 20 | 20 20 20 20 20 20 20 20 |lue". | |
|00005210| 20 20 20 20 20 65 78 69 | 74 0a 20 20 20 20 20 20 | exi|t. |
|00005220| 20 20 20 20 20 20 65 6e | 64 69 66 0a 20 20 20 20 | en|dif. |
|00005230| 20 20 20 20 20 20 20 20 | 73 65 74 20 65 6e 63 6f | |set enco|
|00005240| 64 65 3d 24 31 0a 20 20 | 20 20 20 20 20 20 20 20 |de=$1. | |
|00005250| 20 20 73 68 69 66 74 0a | 20 20 20 20 20 20 20 20 | shift.| |
|00005260| 20 20 20 20 62 72 65 61 | 6b 73 77 0a 20 20 20 20 | brea|ksw. |
|00005270| 20 20 20 20 63 61 73 65 | 20 22 2d 66 22 3a 0a 20 | case| "-f":. |
|00005280| 20 20 20 20 20 20 20 20 | 20 20 20 73 68 69 66 74 | | shift|
|00005290| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 69 66 20 |. | if |
|000052a0| 28 24 23 61 72 67 76 20 | 3d 3d 20 30 29 20 74 68 |($#argv |== 0) th|
|000052b0| 65 6e 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |en. | |
|000052c0| 20 20 20 65 63 68 6f 20 | 22 2d 66 20 72 65 71 75 | echo |"-f requ|
|000052d0| 69 72 65 73 20 61 20 66 | 6f 6c 6c 6f 77 69 6e 67 |ires a f|ollowing|
|000052e0| 20 61 72 67 75 6d 65 6e | 74 2c 20 74 68 65 20 44 | argumen|t, the D|
|000052f0| 41 54 41 20 46 49 4c 45 | 22 0a 20 20 20 20 20 20 |ATA FILE|". |
|00005300| 20 20 20 20 20 20 20 20 | 20 20 65 78 69 74 0a 20 | | exit. |
|00005310| 20 20 20 20 20 20 20 20 | 20 20 20 65 6e 64 69 66 | | endif|
|00005320| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 73 65 74 |. | set|
|00005330| 20 64 61 74 61 66 69 6c | 65 3d 24 31 0a 20 20 20 | datafil|e=$1. |
|00005340| 20 20 20 20 20 20 20 20 | 20 73 68 69 66 74 0a 20 | | shift. |
|00005350| 20 20 20 20 20 20 20 20 | 20 20 20 62 72 65 61 6b | | break|
|00005360| 73 77 0a 20 20 20 20 20 | 20 20 20 63 61 73 65 20 |sw. | case |
|00005370| 22 2d 6d 22 3a 0a 20 20 | 20 20 20 20 20 20 20 20 |"-m":. | |
|00005380| 20 20 73 68 69 66 74 0a | 20 20 20 20 20 20 20 20 | shift.| |
|00005390| 20 20 20 20 69 66 20 28 | 24 23 61 72 67 76 20 3d | if (|$#argv =|
|000053a0| 3d 20 30 29 20 74 68 65 | 6e 0a 20 20 20 20 20 20 |= 0) the|n. |
|000053b0| 20 20 20 20 20 20 20 20 | 20 20 65 63 68 6f 20 22 | | echo "|
|000053c0| 2d 6d 20 72 65 71 75 69 | 72 65 73 20 61 20 66 6f |-m requi|res a fo|
|000053d0| 6c 6c 6f 77 69 6e 67 20 | 61 72 67 75 6d 65 6e 74 |llowing |argument|
|000053e0| 2c 20 74 68 65 20 4d 49 | 4d 45 20 43 4f 4e 54 45 |, the MI|ME CONTE|
|000053f0| 4e 54 2d 54 59 50 45 22 | 0a 20 20 20 20 20 20 20 |NT-TYPE"|. |
|00005400| 20 20 20 20 20 20 20 20 | 20 65 78 69 74 0a 20 20 | | exit. |
|00005410| 20 20 20 20 20 20 20 20 | 20 20 65 6e 64 69 66 0a | | endif.|
|00005420| 20 20 20 20 20 20 20 20 | 20 20 20 20 73 65 74 20 | | set |
|00005430| 63 74 79 70 65 3d 24 31 | 0a 20 20 20 20 20 20 20 |ctype=$1|. |
|00005440| 20 20 20 20 20 73 68 69 | 66 74 0a 20 20 20 20 20 | shi|ft. |
|00005450| 20 20 20 20 20 20 20 62 | 72 65 61 6b 73 77 0a 20 | b|reaksw. |
|00005460| 20 20 20 20 20 20 20 63 | 61 73 65 20 22 2d 7a 22 | c|ase "-z"|
|00005470| 3a 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 73 65 |:. | se|
|00005480| 74 20 4d 75 73 74 44 65 | 6c 65 74 65 3d 31 0a 20 |t MustDe|lete=1. |
|00005490| 20 20 20 20 20 20 20 20 | 20 20 20 73 68 69 66 74 | | shift|
|000054a0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 62 72 65 |. | bre|
|000054b0| 61 6b 73 77 0a 20 20 20 | 20 20 20 20 20 64 65 66 |aksw. | def|
|000054c0| 61 75 6c 74 3a 0a 20 20 | 20 20 20 20 20 20 20 20 |ault:. | |
|000054d0| 20 20 65 63 68 6f 20 55 | 4e 52 45 43 4f 47 4e 49 | echo U|NRECOGNI|
|000054e0| 5a 45 44 20 4d 45 54 41 | 53 45 4e 44 20 4f 50 54 |ZED META|SEND OPT|
|000054f0| 49 4f 4e 3a 20 24 31 0a | 20 20 20 20 20 20 20 20 |ION: $1.| |
|00005500| 20 20 20 20 65 78 69 74 | 0a 20 20 20 20 65 6e 64 | exit|. end|
|00005510| 73 77 0a 65 6e 64 0a 0a | 69 66 20 28 24 62 61 74 |sw.end..|if ($bat|
|00005520| 63 68 6d 6f 64 65 20 3d | 3d 20 30 29 20 74 68 65 |chmode =|= 0) the|
|00005530| 6e 0a 20 20 20 20 69 66 | 20 28 21 20 24 3f 74 6f |n. if| (! $?to|
|00005540| 29 20 74 68 65 6e 0a 20 | 20 20 20 20 20 20 20 65 |) then. | e|
|00005550| 63 68 6f 20 2d 6e 20 22 | 54 6f 3a 20 22 0a 20 20 |cho -n "|To: ". |
|00005560| 20 20 20 20 20 20 73 65 | 74 20 74 6f 20 3d 20 24 | se|t to = $|
|00005570| 3c 0a 20 20 20 20 65 6e | 64 69 66 0a 20 20 20 20 |<. en|dif. |
|00005580| 69 66 20 28 21 20 24 3f | 73 75 62 6a 65 63 74 29 |if (! $?|subject)|
|00005590| 20 74 68 65 6e 0a 20 20 | 20 20 20 20 20 20 65 63 | then. | ec|
|000055a0| 68 6f 20 2d 6e 20 22 53 | 75 62 6a 65 63 74 3a 20 |ho -n "S|ubject: |
|000055b0| 22 0a 20 20 20 20 20 20 | 20 20 73 65 74 20 73 75 |". | set su|
|000055c0| 62 6a 65 63 74 20 3d 20 | 24 3c 0a 20 20 20 20 65 |bject = |$<. e|
|000055d0| 6e 64 69 66 0a 20 20 20 | 20 69 66 20 28 21 20 24 |ndif. | if (! $|
|000055e0| 3f 63 63 29 20 74 68 65 | 6e 0a 20 20 20 20 20 20 |?cc) the|n. |
|000055f0| 20 20 65 63 68 6f 20 2d | 6e 20 22 43 43 3a 20 22 | echo -|n "CC: "|
|00005600| 0a 20 20 20 20 20 20 20 | 20 73 65 74 20 63 63 20 |. | set cc |
|00005610| 3d 20 24 3c 0a 20 20 20 | 20 65 6e 64 69 66 0a 20 |= $<. | endif. |
|00005620| 20 20 20 69 66 20 28 21 | 20 24 3f 63 74 79 70 65 | if (!| $?ctype|
|00005630| 29 20 74 68 65 6e 0a 20 | 20 20 20 20 20 20 20 65 |) then. | e|
|00005640| 63 68 6f 20 2d 6e 20 22 | 43 6f 6e 74 65 6e 74 2d |cho -n "|Content-|
|00005650| 74 79 70 65 3a 20 22 0a | 20 20 20 20 20 20 20 20 |type: ".| |
|00005660| 73 65 74 20 63 74 79 70 | 65 20 3d 20 24 3c 0a 20 |set ctyp|e = $<. |
|00005670| 20 20 20 65 6e 64 69 66 | 0a 20 20 20 20 69 66 20 | endif|. if |
|00005680| 28 21 20 24 3f 64 61 74 | 61 66 69 6c 65 29 20 74 |(! $?dat|afile) t|
|00005690| 68 65 6e 0a 20 20 20 20 | 20 20 20 20 67 65 74 66 |hen. | getf|
|000056a0| 69 6c 65 3a 0a 20 20 20 | 20 20 20 20 20 65 63 68 |ile:. | ech|
|000056b0| 6f 20 2d 6e 20 22 4e 61 | 6d 65 20 6f 66 20 66 69 |o -n "Na|me of fi|
|000056c0| 6c 65 20 63 6f 6e 74 61 | 69 6e 69 6e 67 20 24 63 |le conta|ining $c|
|000056d0| 74 79 70 65 20 64 61 74 | 61 3a 20 22 0a 20 20 20 |type dat|a: ". |
|000056e0| 20 20 20 20 20 73 65 74 | 20 64 61 74 61 66 69 6c | set| datafil|
|000056f0| 65 20 3d 20 24 3c 0a 20 | 20 20 20 20 20 20 20 69 |e = $<. | i|
|00005700| 66 20 28 21 20 2d 65 20 | 20 24 64 61 74 61 66 69 |f (! -e | $datafi|
|00005710| 6c 65 29 20 74 68 65 6e | 0a 20 20 20 20 20 20 20 |le) then|. |
|00005720| 20 20 20 20 20 65 63 68 | 6f 20 54 68 65 20 66 69 | ech|o The fi|
|00005730| 6c 65 20 24 64 61 74 61 | 66 69 6c 65 20 64 6f 65 |le $data|file doe|
|00005740| 73 20 6e 6f 74 20 65 78 | 69 73 74 2e 0a 20 20 20 |s not ex|ist.. |
|00005750| 20 20 20 20 20 20 20 20 | 20 67 6f 74 6f 20 67 65 | | goto ge|
|00005760| 74 66 69 6c 65 0a 20 20 | 20 20 20 20 20 20 65 6e |tfile. | en|
|00005770| 64 69 66 0a 20 20 20 20 | 65 6e 64 69 66 0a 20 20 |dif. |endif. |
|00005780| 20 20 69 66 20 28 21 20 | 24 3f 65 6e 63 6f 64 65 | if (! |$?encode|
|00005790| 29 20 74 68 65 6e 0a 20 | 20 20 20 20 20 20 20 72 |) then. | r|
|000057a0| 65 74 72 79 3a 0a 20 20 | 20 20 20 20 20 20 65 63 |etry:. | ec|
|000057b0| 68 6f 20 22 44 6f 20 79 | 6f 75 20 77 61 6e 74 20 |ho "Do y|ou want |
|000057c0| 74 6f 20 65 6e 63 6f 64 | 65 20 74 68 69 73 20 64 |to encod|e this d|
|000057d0| 61 74 61 20 66 6f 72 20 | 73 65 6e 64 69 6e 67 20 |ata for |sending |
|000057e0| 74 68 72 6f 75 67 68 20 | 74 68 65 20 6d 61 69 6c |through |the mail|
|000057f0| 3f 22 0a 20 20 20 20 20 | 20 20 20 65 63 68 6f 20 |?". | echo |
|00005800| 22 20 20 31 20 2d 2d 20 | 4e 6f 2c 20 69 74 20 69 |" 1 -- |No, it i|
|00005810| 73 20 61 6c 72 65 61 64 | 79 20 69 6e 20 37 20 62 |s alread|y in 7 b|
|00005820| 69 74 20 41 53 43 49 49 | 22 0a 20 20 20 20 20 20 |it ASCII|". |
|00005830| 20 20 65 63 68 6f 20 22 | 20 20 32 20 2d 2d 20 59 | echo "| 2 -- Y|
|00005840| 65 73 2c 20 65 6e 63 6f | 64 65 20 69 6e 20 62 61 |es, enco|de in ba|
|00005850| 73 65 36 34 20 28 6d 6f | 73 74 20 65 66 66 69 63 |se64 (mo|st effic|
|00005860| 69 65 6e 74 29 22 0a 20 | 20 20 20 20 20 20 20 65 |ient)". | e|
|00005870| 63 68 6f 20 22 20 20 33 | 20 2d 2d 20 59 65 73 2c |cho " 3| -- Yes,|
|00005880| 20 65 6e 63 6f 64 65 20 | 69 6e 20 71 75 6f 74 65 | encode |in quote|
|00005890| 64 2d 70 72 69 6e 74 61 | 62 6c 65 20 28 6c 65 73 |d-printa|ble (les|
|000058a0| 73 20 65 66 66 69 63 69 | 65 6e 74 2c 20 6d 6f 72 |s effici|ent, mor|
|000058b0| 65 20 72 65 61 64 61 62 | 6c 65 29 22 0a 20 20 20 |e readab|le)". |
|000058c0| 20 20 20 20 20 65 63 68 | 6f 20 22 20 20 34 20 2d | ech|o " 4 -|
|000058d0| 2d 20 59 65 73 2c 20 65 | 6e 63 6f 64 65 20 69 74 |- Yes, e|ncode it|
|000058e0| 20 75 73 69 6e 67 20 75 | 75 65 6e 63 6f 64 65 20 | using u|uencode |
|000058f0| 28 6e 6f 74 20 73 74 61 | 6e 64 61 72 64 2c 20 62 |(not sta|ndard, b|
|00005900| 65 69 6e 67 20 70 68 61 | 73 65 64 20 6f 75 74 29 |eing pha|sed out)|
|00005910| 22 0a 20 20 20 20 20 20 | 20 20 73 65 74 20 65 6e |". | set en|
|00005920| 63 6f 64 65 3d 24 3c 0a | 20 20 20 20 20 20 20 20 |code=$<.| |
|00005930| 73 77 69 74 63 68 20 28 | 22 24 65 6e 63 6f 64 65 |switch (|"$encode|
|00005940| 22 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 63 |"). | c|
|00005950| 61 73 65 20 31 3a 0a 20 | 20 20 20 20 20 20 20 20 |ase 1:. | |
|00005960| 20 20 20 20 20 20 20 73 | 65 74 20 65 6e 63 6f 64 | s|et encod|
|00005970| 69 6e 67 70 72 6f 67 20 | 3d 20 63 61 74 0a 09 20 |ingprog |= cat.. |
|00005980| 20 73 65 74 20 65 6e 63 | 6f 64 65 20 3d 20 37 62 | set enc|ode = 7b|
|00005990| 69 74 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |it. | |
|000059a0| 20 20 20 62 72 65 61 6b | 73 77 0a 20 20 20 20 20 | break|sw. |
|000059b0| 20 20 20 20 20 20 20 63 | 61 73 65 20 32 3a 0a 20 | c|ase 2:. |
|000059c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 73 | | s|
|000059d0| 65 74 20 65 6e 63 6f 64 | 69 6e 67 70 72 6f 67 20 |et encod|ingprog |
|000059e0| 3d 20 22 6d 6d 65 6e 63 | 6f 64 65 20 2d 62 22 0a |= "mmenc|ode -b".|
|000059f0| 09 20 20 73 65 74 20 65 | 6e 63 6f 64 65 20 3d 20 |. set e|ncode = |
|00005a00| 62 61 73 65 36 34 0a 20 | 20 20 20 20 20 20 20 20 |base64. | |
|00005a10| 20 20 20 20 20 20 20 62 | 72 65 61 6b 73 77 0a 20 | b|reaksw. |
|00005a20| 20 20 20 20 20 20 20 20 | 20 20 20 63 61 73 65 20 | | case |
|00005a30| 33 3a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |3:. | |
|00005a40| 20 20 20 73 65 74 20 65 | 6e 63 6f 64 69 6e 67 70 | set e|ncodingp|
|00005a50| 72 6f 67 20 3d 20 22 6d | 6d 65 6e 63 6f 64 65 20 |rog = "m|mencode |
|00005a60| 2d 71 22 0a 09 20 20 73 | 65 74 20 65 6e 63 6f 64 |-q".. s|et encod|
|00005a70| 65 20 3d 20 71 75 6f 74 | 65 64 2d 70 72 69 6e 74 |e = quot|ed-print|
|00005a80| 61 62 6c 65 0a 20 20 20 | 20 20 20 20 20 20 20 20 |able. | |
|00005a90| 20 20 20 20 20 62 72 65 | 61 6b 73 77 0a 20 20 20 | bre|aksw. |
|00005aa0| 20 20 20 20 20 20 20 20 | 20 63 61 73 65 20 34 3a | | case 4:|
|00005ab0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005ac0| 20 73 65 74 20 65 6e 63 | 6f 64 69 6e 67 70 72 6f | set enc|odingpro|
|00005ad0| 67 20 3d 20 22 75 75 65 | 6e 63 6f 64 65 20 24 64 |g = "uue|ncode $d|
|00005ae0| 61 74 61 66 69 6c 65 22 | 0a 09 20 20 73 65 74 20 |atafile"|.. set |
|00005af0| 65 6e 63 6f 64 65 20 3d | 20 78 2d 75 75 65 0a 20 |encode =| x-uue. |
|00005b00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 62 | | b|
|00005b10| 72 65 61 6b 73 77 0a 20 | 20 20 20 20 20 20 20 20 |reaksw. | |
|00005b20| 20 20 20 64 65 66 61 75 | 6c 74 3a 0a 20 20 20 20 | defau|lt:. |
|00005b30| 20 20 20 20 20 20 20 20 | 20 20 20 20 65 63 68 6f | | echo|
|00005b40| 20 55 6e 72 65 63 6f 67 | 6e 69 7a 65 64 20 61 6e | Unrecog|nized an|
|00005b50| 73 77 65 72 2c 20 70 6c | 65 61 73 65 20 74 72 79 |swer, pl|ease try|
|00005b60| 20 61 67 61 69 6e 2e 0a | 20 20 20 20 20 20 20 20 | again..| |
|00005b70| 20 20 20 20 20 20 20 20 | 67 6f 74 6f 20 72 65 74 | |goto ret|
|00005b80| 72 79 0a 20 20 20 20 20 | 20 20 20 65 6e 64 73 77 |ry. | endsw|
|00005b90| 0a 20 20 20 20 65 6e 64 | 69 66 0a 65 6c 73 65 0a |. end|if.else.|
|00005ba0| 20 20 20 20 69 66 20 28 | 21 20 24 3f 74 6f 20 7c | if (|! $?to ||
|00005bb0| 7c 20 21 20 24 3f 73 75 | 62 6a 65 63 74 20 7c 7c || ! $?su|bject |||
|00005bc0| 20 21 20 24 3f 63 74 79 | 70 65 20 7c 7c 20 21 20 | ! $?cty|pe || ! |
|00005bd0| 24 3f 64 61 74 61 66 69 | 6c 65 29 20 74 68 65 6e |$?datafi|le) then|
|00005be0| 0a 20 20 20 20 20 20 20 | 20 65 63 68 6f 20 6d 65 |. | echo me|
|00005bf0| 74 61 73 65 6e 64 3a 20 | 69 6e 20 62 61 74 63 68 |tasend: |in batch|
|00005c00| 20 6d 6f 64 65 2c 20 2d | 74 2c 20 2d 73 2c 20 2d | mode, -|t, -s, -|
|00005c10| 66 2c 20 61 6e 64 20 2d | 6d 20 61 72 65 20 61 6c |f, and -|m are al|
|00005c20| 6c 20 72 65 71 75 69 72 | 65 64 0a 20 20 20 20 20 |l requir|ed. |
|00005c30| 20 20 20 65 78 69 74 0a | 20 20 20 20 65 6e 64 69 | exit.| endi|
|00005c40| 66 0a 20 20 20 20 69 66 | 20 28 21 20 2d 65 20 20 |f. if| (! -e |
|00005c50| 24 64 61 74 61 66 69 6c | 65 29 20 74 68 65 6e 0a |$datafil|e) then.|
|00005c60| 20 20 20 20 20 20 20 20 | 65 63 68 6f 20 6d 65 74 | |echo met|
|00005c70| 61 73 65 6e 64 3a 20 20 | 54 68 65 20 66 69 6c 65 |asend: |The file|
|00005c80| 20 24 64 61 74 61 66 69 | 6c 65 20 64 6f 65 73 20 | $datafi|le does |
|00005c90| 6e 6f 74 20 65 78 69 73 | 74 0a 20 20 20 20 20 20 |not exis|t. |
|00005ca0| 20 20 65 78 69 74 0a 20 | 20 20 20 65 6e 64 69 66 | exit. | endif|
|00005cb0| 0a 20 20 20 20 69 66 20 | 28 21 20 24 3f 63 63 29 |. if |(! $?cc)|
|00005cc0| 20 73 65 74 20 63 63 3d | 22 22 0a 20 20 20 20 69 | set cc=|"". i|
|00005cd0| 66 20 28 21 20 24 3f 65 | 6e 63 6f 64 65 29 20 74 |f (! $?e|ncode) t|
|00005ce0| 68 65 6e 0a 20 20 20 20 | 20 20 20 20 69 66 20 28 |hen. | if (|
|00005cf0| 22 24 63 74 79 70 65 22 | 20 3d 7e 20 74 65 78 74 |"$ctype"| =~ text|
|00005d00| 2a 29 20 74 68 65 6e 0a | 09 73 65 74 20 65 6e 63 |*) then.|.set enc|
|00005d10| 6f 64 69 6e 67 70 72 6f | 67 20 3d 20 22 6d 6d 65 |odingpro|g = "mme|
|00005d20| 6e 63 6f 64 65 20 2d 71 | 22 0a 09 73 65 74 20 65 |ncode -q|"..set e|
|00005d30| 6e 63 6f 64 65 20 3d 20 | 22 71 75 6f 74 65 64 2d |ncode = |"quoted-|
|00005d40| 70 72 69 6e 74 61 62 6c | 65 22 0a 20 20 20 20 20 |printabl|e". |
|00005d50| 20 20 20 65 6c 73 65 0a | 20 20 20 20 20 20 20 20 | else.| |
|00005d60| 20 20 20 20 73 65 74 20 | 65 6e 63 6f 64 69 6e 67 | set |encoding|
|00005d70| 70 72 6f 67 20 3d 20 22 | 6d 6d 65 6e 63 6f 64 65 |prog = "|mmencode|
|00005d80| 20 2d 62 22 0a 20 20 20 | 20 20 20 20 20 20 20 20 | -b". | |
|00005d90| 20 73 65 74 20 65 6e 63 | 6f 64 65 20 3d 20 62 61 | set enc|ode = ba|
|00005da0| 73 65 36 34 0a 20 20 20 | 20 20 20 20 20 65 6e 64 |se64. | end|
|00005db0| 69 66 0a 20 20 20 20 65 | 6c 73 65 20 69 66 20 28 |if. e|lse if (|
|00005dc0| 24 65 6e 63 6f 64 65 20 | 3d 3d 20 22 62 61 73 65 |$encode |== "base|
|00005dd0| 36 34 22 29 20 74 68 65 | 6e 0a 20 20 20 20 20 20 |64") the|n. |
|00005de0| 20 20 73 65 74 20 65 6e | 63 6f 64 69 6e 67 70 72 | set en|codingpr|
|00005df0| 6f 67 20 3d 20 22 6d 6d | 65 6e 63 6f 64 65 20 2d |og = "mm|encode -|
|00005e00| 62 22 0a 20 20 20 20 65 | 6c 73 65 20 69 66 20 28 |b". e|lse if (|
|00005e10| 24 65 6e 63 6f 64 65 20 | 3d 3d 20 22 78 2d 75 75 |$encode |== "x-uu|
|00005e20| 65 22 29 20 74 68 65 6e | 0a 20 20 20 20 20 20 20 |e") then|. |
|00005e30| 20 73 65 74 20 65 6e 63 | 6f 64 69 6e 67 70 72 6f | set enc|odingpro|
|00005e40| 67 20 3d 20 22 75 75 65 | 6e 63 6f 64 65 20 6d 61 |g = "uue|ncode ma|
|00005e50| 69 6c 2d 62 6f 64 79 22 | 0a 20 20 20 20 65 6c 73 |il-body"|. els|
|00005e60| 65 20 69 66 20 28 24 65 | 6e 63 6f 64 65 20 3d 3d |e if ($e|ncode ==|
|00005e70| 20 22 37 62 69 74 22 29 | 20 74 68 65 6e 0a 20 20 | "7bit")| then. |
|00005e80| 20 20 20 20 20 20 73 65 | 74 20 65 6e 63 6f 64 69 | se|t encodi|
|00005e90| 6e 67 70 72 6f 67 20 3d | 20 63 61 74 0a 20 20 20 |ngprog =| cat. |
|00005ea0| 20 65 6c 73 65 0a 20 20 | 20 20 20 20 20 20 73 65 | else. | se|
|00005eb0| 74 20 65 6e 63 6f 64 69 | 6e 67 70 72 6f 67 20 3d |t encodi|ngprog =|
|00005ec0| 20 22 6d 6d 65 6e 63 6f | 64 65 20 2d 71 22 0a 20 | "mmenco|de -q". |
|00005ed0| 20 20 20 20 20 20 20 73 | 65 74 20 65 6e 63 6f 64 | s|et encod|
|00005ee0| 65 20 3d 20 22 71 75 6f | 74 65 64 2d 70 72 69 6e |e = "quo|ted-prin|
|00005ef0| 74 61 62 6c 65 22 0a 20 | 20 20 20 65 6e 64 69 66 |table". | endif|
|00005f00| 0a 65 6e 64 69 66 0a 0a | 73 65 74 20 66 6e 61 6d |.endif..|set fnam|
|00005f10| 65 20 3d 20 2f 74 6d 70 | 2f 6d 65 74 61 73 65 6e |e = /tmp|/metasen|
|00005f20| 64 2e 24 24 0a 65 63 68 | 6f 20 22 54 6f 3a 20 22 |d.$$.ech|o "To: "|
|00005f30| 20 22 24 74 6f 22 20 3e | 20 24 66 6e 61 6d 65 0a | "$to" >| $fname.|
|00005f40| 65 63 68 6f 20 22 53 75 | 62 6a 65 63 74 3a 20 22 |echo "Su|bject: "|
|00005f50| 20 22 24 73 75 62 6a 65 | 63 74 22 20 3e 3e 20 24 | "$subje|ct" >> $|
|00005f60| 66 6e 61 6d 65 0a 65 63 | 68 6f 20 22 43 43 3a 20 |fname.ec|ho "CC: |
|00005f70| 22 20 22 24 63 63 22 20 | 3e 3e 20 24 66 6e 61 6d |" "$cc" |>> $fnam|
|00005f80| 65 0a 65 63 68 6f 20 22 | 4d 49 4d 45 2d 56 65 72 |e.echo "|MIME-Ver|
|00005f90| 73 69 6f 6e 3a 20 31 2e | 30 22 20 3e 3e 20 24 66 |sion: 1.|0" >> $f|
|00005fa0| 6e 61 6d 65 0a 65 63 68 | 6f 20 22 43 6f 6e 74 65 |name.ech|o "Conte|
|00005fb0| 6e 74 2d 74 79 70 65 3a | 20 22 20 24 63 74 79 70 |nt-type:| " $ctyp|
|00005fc0| 65 20 3e 3e 20 24 66 6e | 61 6d 65 0a 65 63 68 6f |e >> $fn|ame.echo|
|00005fd0| 20 22 43 6f 6e 74 65 6e | 74 2d 54 72 61 6e 73 66 | "Conten|t-Transf|
|00005fe0| 65 72 2d 45 6e 63 6f 64 | 69 6e 67 3a 20 22 20 24 |er-Encod|ing: " $|
|00005ff0| 65 6e 63 6f 64 65 20 3e | 3e 20 24 66 6e 61 6d 65 |encode >|> $fname|
|00006000| 0a 65 63 68 6f 20 20 22 | 22 20 3e 3e 20 24 66 6e |.echo "|" >> $fn|
|00006010| 61 6d 65 0a 24 65 6e 63 | 6f 64 69 6e 67 70 72 6f |ame.$enc|odingpro|
|00006020| 67 20 3c 20 24 64 61 74 | 61 66 69 6c 65 20 3e 3e |g < $dat|afile >>|
|00006030| 20 24 66 6e 61 6d 65 0a | 23 20 45 6e 73 75 72 65 | $fname.|# Ensure|
|00006040| 20 6c 61 73 74 20 6c 69 | 6e 65 20 68 61 73 20 74 | last li|ne has t|
|00006050| 72 61 69 6c 69 6e 67 20 | 63 61 72 72 61 69 67 65 |railing |carraige|
|00006060| 20 72 65 74 75 72 6e 0a | 65 63 68 6f 20 22 22 20 | return.|echo "" |
|00006070| 3e 3e 20 24 66 6e 61 6d | 65 0a 0a 73 70 6c 69 74 |>> $fnam|e..split|
|00006080| 6d 61 69 6c 20 2d 73 20 | 24 73 70 6c 69 74 73 69 |mail -s |$splitsi|
|00006090| 7a 65 20 2d 64 20 24 66 | 6e 61 6d 65 0a 69 66 20 |ze -d $f|name.if |
|000060a0| 28 21 20 24 73 74 61 74 | 75 73 29 20 74 68 65 6e |(! $stat|us) then|
|000060b0| 0a 20 20 20 20 72 6d 20 | 24 66 6e 61 6d 65 0a 65 |. rm |$fname.e|
|000060c0| 6c 73 65 20 69 66 20 28 | 24 4d 75 73 74 44 65 6c |lse if (|$MustDel|
|000060d0| 65 74 65 20 3d 3d 20 31 | 29 20 74 68 65 6e 0a 20 |ete == 1|) then. |
|000060e0| 20 20 20 65 63 68 6f 20 | 4d 61 69 6c 20 64 65 6c | echo |Mail del|
|000060f0| 69 76 65 72 79 20 66 61 | 69 6c 65 64 0a 20 20 20 |ivery fa|iled. |
|00006100| 20 72 6d 20 24 66 6e 61 | 6d 65 0a 65 6c 73 65 0a | rm $fna|me.else.|
|00006110| 20 20 20 20 65 63 68 6f | 20 4d 61 69 6c 20 64 65 | echo| Mail de|
|00006120| 6c 69 76 65 72 79 20 66 | 61 69 6c 65 64 2c 20 64 |livery f|ailed, d|
|00006130| 72 61 66 74 20 6d 61 69 | 6c 20 69 73 20 69 6e 20 |raft mai|l is in |
|00006140| 24 66 6e 61 6d 65 0a 65 | 6e 64 69 66 0a 0a 00 00 |$fname.e|ndif....|
|00006150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006200| 62 69 6e 2f 73 68 6f 77 | 70 61 72 74 69 61 6c 00 |bin/show|partial.|
|00006210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006260| 00 00 00 00 20 20 20 37 | 35 35 20 00 20 20 20 36 |.... 7|55 . 6|
|00006270| 32 35 20 00 20 20 20 20 | 20 31 20 00 20 20 20 20 |25 . | 1 . |
|00006280| 20 20 20 34 34 32 33 20 | 20 35 32 30 31 35 35 35 | 4423 | 5201555|
|00006290| 30 31 33 20 20 31 33 30 | 30 31 00 20 30 00 00 00 |013 130|01. 0...|
|000062a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006300| 00 75 73 74 61 72 20 20 | 00 6d 67 75 65 72 72 61 |.ustar |.mguerra|
|00006310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006320| 00 00 00 00 00 00 00 00 | 00 6f 74 68 65 72 00 00 |........|.other..|
|00006330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.