[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with gzip to pkzip?



aa382@freenet3.carleton.ca (Marc Sira) writes:

>>[Eric couldn't unpack the zip archive and thought it was from a Mac]

I used pkzip 2.04g on my PCTransporter. I had no problems myself with Angel
although I took the liberty of having the OS of the pkzip be $0A, and added
a zipfile comment.

>Do you mean the first posting? Macbinary header, possibly...

Just a mangled binscii, I don't have a Mac.

>The second posting unpacked with Angel for me. gz2pkz works, but the routine
>to read a filename is mildly muddled - it drops the first character you give
>it. Thus you'll need to specify "xfoo.gz" for file foo.gz.
>
>Still a welcome addition, nonexistent user interface and all. ;)

It isn't really meant to be run as a standalone although I put that option in
there. I didn't notice that it gobbled the first character of an entered name
but then I don't use it like that. Recommended use is with a shell like ECP8
with gz2pkz in your cmds directory ('gz2pkz foo.gz' creates 'foo.zip') or
from the Finder (double-click the icon).

I wasn't aware that the source code binscii got mangled too so I'll repost it
to the binaries (thanks to the person who mentioned the utexas gateway).

It shouldn't be too hard to convert into a GS/OS shell command (I have no
idea how one is made or I'd do it). And it certainly could be optimized for
speed (larger file buffer).


Internet: tlarson@pro-greens.benton-city.wa.us