Received: with ECARTIS (v1.0.0; list gopher); Sat, 31 Dec 2005 10:46:53 -0600 (CST) Received: from mo-69-69-114-6.sta.sprint-hsd.net ([69.69.114.6] helo=erwin.lan.complete.org) by glockenspiel.complete.org with esmtps (with TLS-1.0:RSA_AES_256_CBC_SHA:32) (TLS peer CN erwin.complete.org, certificate verified) (Exim 4.50) id 1EsjsY-00088Z-FC; Sat, 31 Dec 2005 10:46:52 -0600 Received: from katherina.lan.complete.org ([10.200.0.4]) by erwin.lan.complete.org with esmtps (with TLS-1.0:RSA_AES_256_CBC_SHA:32) (No TLS peer certificate) (Exim 4.50) id 1EsjsS-0004vV-0F; Sat, 31 Dec 2005 10:46:44 -0600 Received: from jgoerzen by katherina.lan.complete.org with local (Exim 4.60) (envelope-from ) id 1EsjsR-0007xC-Rk; Sat, 31 Dec 2005 10:46:43 -0600 Date: Sat, 31 Dec 2005 10:46:43 -0600 From: John Goerzen To: gopher@complete.org Subject: [gopher] Re: PyGopherd and Gopher+ Message-ID: <20051231164643.GB28740@katherina.lan.complete.org> References: <20051231155642.GA9489@SDF.LONESTAR.ORG> MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051231155642.GA9489@SDF.LONESTAR.ORG> User-Agent: Mutt/1.5.11 X-Spam-Status: No (score 0.1): AWL=0.008, FORGED_RCVD_HELO=0.05 X-Virus-Scanned: by Exiscan on glockenspiel.complete.org at Sat, 31 Dec 2005 10:46:52 -0600 Content-Transfer-Encoding: 8bit X-archive-position: 1207 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 Sat, Dec 31, 2005 at 09:56:42AM -0600, Benn Newman wrote: > Since all you client people say you don't make Gopher+ clients > because there aren't any servers taking advantage of it, no more! :) Hmm, who are all these client people? ;-) In general, let me say that after implementing at least part of Gopher+ in PyGopherd, I've come to the conclusion that it isn't very "Gophery". It's rather complex in some cases and there are a lot of special cases. > But, I have some questions about how things work in PyGopherd. > > How do I get multiple views of an item? I have a client.png file on > my server; I tried just having a client.gif, but that did not work. PyGopherd doesn't provide any automated support for multiple views of a single file like UMN Gopherd did, because this feature was broken in every way I could see it. UMN gopher client didn't handle it well, and things were even worse for gopher0 clients, who generally didn't get offered any option. That said, you can probably specify a custom +VIEWS block using the PyGopherd general method for specifying custom Gopher+ blocks, but I have never tested that. > And more the way of bugs, for extended attributes, like abstracts, > if you define a mapping for example admin, it would overwrite the > other information for that attribute. I found this out by trying to > define an items copyright in the ADMIN block. I remember reading in > gopherd, that you can have a diretory have a different admin, > how/can you do this in PyGopherd? The only way I have figured out > only does the main directory. You could create a .admin file in the directory, I think. (Again, untested, but that should do the trick.) > PyGopherd also defines the wrong item type for sounds, if you read > the Gopher+ spe, it is not s, this is also incorrect in the UMN > curses client. It does the correct thing according to gopherd(8). As far as I can tell, nobody actually follows what the Gopher+ chapter says on that, so I consider the Gopher+ chapter broken. > And while I am complaining about everything :), in bucktooth and > PyGopherd, a selector manualy marked as a Gopher+ server is ignored > in gophermaps. Good point. I guess I never anticipated people using gophermaps with Gopher+. BTW, if anybody would like to send in patches for pygopherd, you can check out its darcs repository with: darcs get --partial http://darcs.complete.org/pygopherd or darcs get --partial http://darcs.complete.org/gopher for UMN curses client. As you hack away, use "darcs record" to commit your changes, and then run "darcs send" to send me a patchset by e-mail. -- John