Re: [Nautilus-list] Tar content view



Well I went along looking for gnome-vfs docs and I found this on Ximian
site:
http://www.ximian.com/devzone/tech/gnome-vfs.html#VFS-URIS

It was showing how to concat the tar method to the file method as you
proposed.  However, either something is completely borked with the tar
method, it dosn't exist, or I am doing something compeletly wrong.

This is what I did.  I made a few files, a test.tar, test.tar.gz, and
test.tar.bz2.  Then on each file I went to nautilus and typed:
file:/home/michael/test.tar#tar/home/michael/test/

And for the the gzip I attacted the #gzip method.  Each game me the
error: "Nautilus has not installed view capable ..."

Then I figured it must be my gnome-vfs.  So I got the head gnome-vfs and
compiled and then recompiled nautlius.  Still the same.  I began
seaching thought the modules section of the gnome-vfs and although I saw
bzip and gzip methods I saw no tar method.  So if my conclusions are
correct, although it is highly possible they are not, a new tar method
would have to be written for gnome-vfs.

If anyone else from here who has more experience with gnome-vfs I would
be much appreciative.
On Fri, 2002-01-25 at 13:04, Darin Adler wrote:
> On 1/25/02 9:39 AM, "Michael Petnuch" <michael technologyreview org> wrote:
> 
> > Looking at the recent messages about regaining the functionality of the
> > gmc program in respect to viewing a tar archive, I would like to offer
> > to write it.  I just have a few questions.  Is it acceptable to use an
> > external program like tar to untar the archives.  Also any pointers
> > before I start writing would be appreciated.  Thanks.
> 
> The original design was that there's a module in gnome-vfs that knows how to
> interpret tar archives and make them seem like files to any program using
> gnome-vfs including Nautilus, using special URLs. There's a module in
> gnome-vfs already. Look in gnome-vfs/modules. You might also ask on
> gnome-vfs list about the syntax used for these special URLs. There's some
> kind of chaining scheme where you attack the "tar" URL to the end of a
> normal "file" URL, as I recall.
> 
> So the first part of this is to make sure that feature works, by finding out
> what the special URLs were supposed to be like, and then typing them into
> Nautilus and testing things like dragging files in and out of such windows.
> Then find and fix the bugs that prevent it from working nicely.
> 
> The second part is to figure out how Nautilus should figure out to use that
> kind of URL when you open a .tar archive. There's a first cut at this too,
> but there's no reason to waste any time on this until the first step is
> done. The tricky part about this is that we still want the "Go Up" button to
> work, even though the URL looks nothing like the original.
> 
> Or you might find some totally different way to do it.
> 
>     -- Darin
> 





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