[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: httpfs, tarfs --help
From: |
Adam Olsen |
Subject: |
Re: httpfs, tarfs --help |
Date: |
Fri, 21 Dec 2001 18:40:21 +0000 |
User-agent: |
Mutt/1.3.23i |
On Fri, Dec 21, 2001 at 10:22:41AM -0800, James Morrison wrote:
> --- Adam Olsen <rhamph@d2dc.net> wrote:
> > There's two ways for an app to support gzipped files:
> > a) within the app itself, by recognising files with a .gz extension
>
> This is bad, extensions should not be trusted. Magic can
> be used to determine if a file is compressed, and if so what library
> function
> to call to decompress it. There probably should be a hurd library to
> do this
> stuff so at some point we would be able to run both gzipped binaries
> and bzip2'd
> binaries.
>
> > b) using a translator
> >
> > You can't use the translator *all* the time, because you may want
> > to
> > manipulate the gzipped file itself. And doing it in the app has to
> > be
> > duplicated for every app. Therefore there IS no "right way". Do
> > whatever is most convenient.
> >
> > >
> > I agree. Btw, naming a non-gzipped file .gz breaks opening them
> > with
> > vim, and presumably every other app that already supports gzipped
> > files. Being compatable is very important.
>
> Humm, it seems vim is broken.
It'd seem so. gv otoh works perfectly. I think quakeforge would be
broken too (but it's *not* completely transparently handling of
gzipped files - it'll send them over the network compressed). I can't
think of any other apps at the moment.
--
Adam Olsen, aka Rhamphoryncus
- Re: httpfs, tarfs --help, Jeroen Dekkers, 2001/12/21
- Re: httpfs, tarfs --help, Adam Olsen, 2001/12/21
- Re: httpfs, tarfs --help, Jeroen Dekkers, 2001/12/21
- Re: httpfs, tarfs --help, Adam Olsen, 2001/12/21
- Re: httpfs, tarfs --help, James Morrison, 2001/12/21
- Re: httpfs, tarfs --help,
Adam Olsen <=
- Re: httpfs, tarfs --help, Jeroen Dekkers, 2001/12/21
- Re: httpfs, tarfs --help, Moritz Schulte, 2001/12/21
- Re: httpfs, tarfs --help, Jeroen Dekkers, 2001/12/21
- Re: httpfs, tarfs --help, Adam Olsen, 2001/12/21
- Re: httpfs, tarfs --help, Jeroen Dekkers, 2001/12/21
Re: httpfs, tarfs --help, Marcus Brinkmann, 2001/12/22