Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ucdavis!iris!lim From: lim@iris.ucdavis.edu (Lloyd Lim) Newsgroups: comp.sys.mac Subject: Re: Shouldn't StuffIt implement atob/btoa? Message-ID: <3782@ucdavis.ucdavis.edu> Date: 10 Mar 89 01:25:34 GMT References: <604@tekno.chalmers.se> <570@salgado.stan.UUCP> Sender: uucp@ucdavis.ucdavis.edu Reply-To: lim@iris.ucdavis.edu (Lloyd Lim) Organization: U.C. Davis - Department of Electrical Engineering and Computer Science Lines: 24 In article <570@salgado.stan.UUCP> dce@salgado.UUCP (David Elliott) writes: >[...] It's a real pain unbinhexing 221 Technical > Notes files one at a time. [...] I agree. However, I find its always easier and faster to do the binhex decoding on the UNIX side. Use xbin to decode the binhex to the three files that macput/macget use (filename.data, filename.rsrc, filename.info). Then use macbin to combine these three files into one in MacBinary format (filename.bin). This resulting file can be transferred by many communication programs that support MacBinary. (I use MicroPhone II.) The file you download is much smaller than the binhex you would have downloaded. The power of the UNIX shell also lets you do stuff like xbin *.hqx which certainly beats doing them one at a time on the Mac side. I'm not against atob/btoa - I think it's a good idea too. I just thought I'd let you know there's a better way than decoding on the Mac side when you have a UNIX system. Source for xbin and macbin is at most ftp sites with Mac archives. Hope this makes your life easier. +++ Lloyd Lim Internet: lim@iris.ucdavis.edu Compuserve: 72647,660 US Mail: 146 Lysle Leach Hall, U.C. Davis, Davis, CA 95616