Received: with ECARTIS (v1.0.0; list gopher); Thu, 06 Mar 2003 08:11:11 -0600 (CST) Return-Path: X-Original-To: gopher@complete.org Delivered-To: gopher@complete.org Received: from wile.excelhustler.com (unknown [68.99.114.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by gesundheit.complete.org (Postfix) with ESMTP id 3BD6D18320D0; Thu, 6 Mar 2003 08:11:10 -0600 (CST) Received: by wile.excelhustler.com (Postfix, from userid 1000) id 09526776E; Thu, 6 Mar 2003 08:10:58 -0600 (CST) Date: Thu, 6 Mar 2003 08:10:57 -0600 From: John Goerzen To: gopher@complete.org Subject: [gopher] Re: Exciting PyGopherd news Message-ID: <20030306141057.GA19899@wile.excelhustler.com> References: <20030305225749.GA734@wile.excelhustler.com> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Content-Transfer-Encoding: 8bit X-archive-position: 730 X-ecartis-version: Ecartis v1.0.0 Sender: gopher-bounce@complete.org Errors-to: gopher-bounce@complete.org X-original-sender: jgoerzen@complete.org Precedence: bulk Reply-to: gopher@complete.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: Gopher X-List-ID: Gopher List-subscribe: List-owner: List-post: List-archive: X-list: gopher On Thu, Mar 06, 2003 at 10:06:27AM +0000, MJ Ray wrote: > John Goerzen 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 :-)