Complete.Org: Mailing Lists: Archives: gopher: March 2003:
[gopher] Re: Exciting PyGopherd news
Home

[gopher] Re: Exciting PyGopherd news

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: gopher@xxxxxxxxxxxx
Subject: [gopher] Re: Exciting PyGopherd news
From: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Date: Thu, 6 Mar 2003 08:10:57 -0600
Reply-to: gopher@xxxxxxxxxxxx

On Thu, Mar 06, 2003 at 10:06:27AM +0000, MJ Ray wrote:
> John Goerzen <jgoerzen@xxxxxxxxxxxx> wrote:
> > And so, I am introducing virtual filesystem support for PyGopherd.
>  
> Why not just use lufs, avfs, hurd's translators, or any of the
> other dozens of ways to do this?

The problem with all those examples is that it is tied to the kernel.  It
would be unusable for people on a FreeBSD, or even some Linux, boxes.

I have looked at AVFS before, when I was interested in implementing a Gopher
client, and it seemed way out of date (not working with kernel 2.4 at all),
and had a combersome and ill-documented interface.

Really, the more appropriate things for this situation would be Gnome/mc
libvfs or KDE kio.  True, those are a possibility, but they would take the
project away from being pure Python, and thus introduce lots of build deps
and other nasties.  Python has a nice zipfile module, so I just used that. 
It scratched my itch :-) It was less work this way.

Though, now that we have the framework, it should not be as hard to extend
this framework to support libvfs or kio.

The other problem with libvfs and kio are that neither of them make looking
into a file completely transparent from the pathname point of view.  libvfs,
if memory serves, uses '#' to designate component parts.  kio uses something
like zip://blahblah.

Anyway, thanks for keeping me on my toes :-)


[Prev in Thread] Current Thread [Next in Thread]