Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Mon, 3 Sep 2001 05:22:30 +0200 From: John Marshall To: cygwin AT cygwin DOT com Subject: Re: Press for Cygwin Message-ID: <20010903052230.A1113@kahikatea.pohutukawa.gen.nz> References: <4 DOT 3 DOT 1 DOT 2 DOT 20010830155843 DOT 022e12c0 AT pop DOT ma DOT ultranet DOT com> <20010830160636 DOT A16405 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010830160636.A16405@redhat.com>; from cgf@redhat.com on Thu, Aug 30, 2001 at 04:06:36PM -0400 X-OriginalArrivalTime: 03 Sep 2001 03:22:44.0922 (UTC) FILETIME=[B2AE49A0:01C13427] On Thu, Aug 30, 2001 at 04:06:36PM -0400, Christopher Faylor wrote: > Does anyone know how we can adapt the archives so that they are not WinZip > readable? Would just converting everything to .bz2 do that? Amusingly enough, making the archive names self-identifying as packages-for-use-with-Cygwin's-setup would solve this problem too. For example (and this idea is the "better suggestion" I alluded to in my previous email) if we substituted e.g. "cygwinpkg" for "tar" so that a bunch of archives were called bash-2.05-6.cygwinpkg.gz bash-2.05-6-src.cygwinpkg.gz fileutils-4.1-1.cygwinpkg.bz2 then WinZip would ungzip the .gz ones but not realise there was a tarball inside (because it looks for files ending in ".tar"). This is a little bit similar to Debian .deb packages. If you use the file command on a .deb package, it will tell you that it's just an ar archive. And ar and other tools do indeed work on .deb files. But they're ar archives with particular contents, for use with dpkg (or whatever the tool is called), so the name tells you that. Separation of implementation and interface, and all that. So even though tar still works on bash-2.05-6.cygwinpkg.gz and friends, the name stops WinZip from seeing inside them, and emphasises that they're special archives that work with setup.exe. It seems to me that that's an understandable change to filename parsing. But I'm still churning through the cygwin-developer mail archives in the hope that I might be able to make intelligent comments one day. :-) John -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/