From: SMTP%"RELAY-INFO-VAX@CRVAX.SRI.COM" 10-JUN-1994 12:31:48.34 To: EVERHART CC: Subj: Re: BASE64 decoding ? X-Newsgroups: comp.os.vms From: vaxs09@alpha.vitro.com Subject: Re: BASE64 decoding ? Message-ID: <1994Jun9.091103@alpha.vitro.com> Lines: 40 Sender: news@vitro.com (USENET News System) Organization: Vitro Corporation Date: Thu, 9 Jun 1994 13:11:03 GMT To: Info-VAX@CRVAX.SRI.COM X-Gateway-Source-Info: USENET In article <01HD97V8U1PU8WW07T@ubvms.cc.buffalo.edu>, Ragdol writes: >>Some time ago I got a mail that was BASE64 coded, presumably >>on a VMS machine. Something in the header menthioned MIME. > >>There's a program called munpack that will do the job. It compiles >>under VAX C with a couple of changes. > >>ftp.andrew.cmu.edu:/pub/mpack > > To add my 2 cents... I have the same problem. I was kind of hoping this would > come up. But what do you do if you don't have VAX C? Again, I will take any > software for VMS, UNIX, or DOS. > For DOS: Try anonymous ftp to thumper.bellcore.com file /pub/nsb/mm2.7.dos.zip (or something very similar). For VMS/Unix (requires a C compiler, but other people may be interested) Same place file /pub/nsb/mm2.7.tar.Z (or something similar) In these kits, the piece you want is mmencode.exe On VMS, it is used as: $ mmencode == "$disk:[directory]mmencode.exe" $ mmencode -u -b filename [-o outfile] ^ ^ | Base64 Decode On Unix or DOS, it's used the same way, but you don't need to define the foreign command. Instead, you just make sure the executable is in your path. Other options are -q for "QUOTED-PRINTABLE" encoding/decoding. John Briggs briggs@vitro.com