🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.apps
Article #4903

Re: ZIP & PKUNZIP ok together? Questions...

#4903
From: Cave Newt
Date: Tue, 17 Sep 1996 00:00
32 lines
2181 bytes
David Charlap <david@visix.com> wrote:
>Keith Bennett <kbennett@cpcug.org> wrote:
>
>>I know that the -k option tells ZIP to create a PKZIP-compatible zip
>>file.  What exactly does this translate to in terms of file structure?
>
>I'm not sure about this, but I think the -k option is meant to make a
>zip file compatible with the OS/2 version of PKUNZIP.

Nope.  -k mungs the filenames to 8.3 format and fakes the "OS made by"
byte to indicate DOS FAT.  I'm not sure if it affects EAs or not.  In
general PKUNZIP doesn't mind long filenames, but it will barf if the
file has multiple dots in it, I think.

>>What about files with extended attributes?  Obviously, PKUNZIP would
>>ignore EA's, but will their presence confuse it?

No, EAs are ignored, except when you use PKZIP to update an archive (in
which case it will destroy *all* of the EAs).

>If for some reason it doesn't work, the InfoZip utilities have been
>compiled for DOS and Win32.  They should be available wherever you
>find DOS and Windows apps.  You can make them available to your users
>on your network.  It will certainly do the "right thing" when
>extracting files with EAs.

...and you'll keep your long filenames under Win95 VFAT or NT's NTFS.

--
Greg Roelofs            newt@pobox.com            http://pobox.com/~newt/
Newtware, Info-ZIP, PNG Group, U Chicago, Philips Research, ...        
Technical Details
Message-ID: <DxwCLq.Lt3@midway.uchicago.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <519br6$hr2@cpcug.org> <519s1a$kg1@shelby.visix.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1044c2,b134292c1c8a4d71
X-Google-Attributes: gid1044c2,public
X-Google-Thread: 112d6c,b134292c1c8a4d71
X-Google-Attributes: gid112d6c,public
X-Google-Thread: 10cd94,b134292c1c8a4d71
X-Google-Attributes: gid10cd94,public
From: Cave Newt <newt@pobox.com>
Subject: Re: ZIP & PKUNZIP ok together?  Questions...
Date: 1996/09/17
Message-ID: <DxwCLq.Lt3@midway.uchicago.edu>
X-Deja-AN: 181271177
sender: news@midway.uchicago.edu (News Administrator)
x-nntp-posting-host: ellis-nfs.uchicago.edu
references: <519br6$hr2@cpcug.org> <519s1a$kg1@shelby.visix.com>
organization: University of Chicago
newsgroups: comp.os.os2.apps,comp.os.os2.misc,bit.listserv.os2-l
originator: roe2@midway.uchicago.edu (Cave Newt)