<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="index" title="Text File" newcontext="true">
<p>
Received: with LISTAR (v1.0.0; list gopher);
 Mon, 09 Jul 2001 16:59:41 -0500 (EST)
Return-Path: &lt;vze292gs@verizon.net&gt;
Delivered-To: gopher@complete.org
Received: from smtp6ve.mailsrvcs.net (smtp6vepub.gte.net [206.46.170.27])
	by pi.glockenspiel.complete.org (Postfix) with ESMTP id DADB43B81B
	for &lt;gopher@complete.org&gt;; Mon,  9 Jul 2001 16:59:40 -0500 (EST)
Received: from mothra (adsl-141-152-12-193.bellatlantic.net [141.152.12.193])
	by smtp6ve.mailsrvcs.net (8.9.1/8.9.1) with ESMTP id VAA41131523;
	Mon, 9 Jul 2001 21:59:33 GMT
Received: from x by mothra with local (Exim 3.22 #1 (Debian))
	id 15Jitv-00083E-00; Mon, 09 Jul 2001 17:49:07 -0400
Date: Mon, 9 Jul 2001 17:49:07 -0400
From: David Allen &lt;mda@idatar.com&gt;
To: adam@gurno.com
Cc: gopher@complete.org
Subject: [gopher] Re: PyGS - a Python Gopher Server...
Message-ID: &lt;20010709174907.A30925@mothra&gt;
References: &lt;20010709095538.A8046@volkerding.charter.net&gt;
 &lt;200107091500.IAA11888@stockholm.ptloma.edu&gt;
 &lt;20010709103409.A8091@volkerding.charter.net&gt; &lt;20010709122529.A30522@mothra&gt;
 &lt;20010709125711.A8168@volkerding.charter.net&gt;
Mime-Version: 1.0
Content-type: text/plain
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: &lt;20010709125711.A8168@volkerding.charter.net&gt;;
 from gurno@charter.net on Mon, Jul 09, 2001 at 12:57:11PM -0500
Content-Transfer-Encoding: 8bit
X-archive-position: 192
X-listar-version: Listar v1.0.0
Sender: gopher-bounce@complete.org
Errors-to: gopher-bounce@complete.org
X-original-sender: mda@idatar.com
Precedence: bulk
Reply-to: gopher@complete.org
List-help: &lt;mailto:listar@complete.org?Subject=help&gt;
List-unsubscribe: &lt;mailto:gopher-request@complete.org?Subject=unsubscribe&gt;
List-software: Listar version 1.0.0
X-List-ID: Gopher &lt;gopher.complete.org&gt;
List-subscribe: &lt;mailto:gopher-request@complete.org?Subject=subscribe&gt;
List-owner: &lt;mailto:jgoerzen@complete.org&gt;
List-post: &lt;mailto:gopher@complete.org&gt;
List-archive: &lt;http://www.complete.org/mailinglists/archives/&gt;
X-list: gopher
</p>
<p>Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
</p>
<p>On Mon, Jul 09, 2001 at 12:57:11PM -0500, Adam Gurno wrote:
&gt; On Mon, Jul 09, 2001 at 12:25:29PM -0400, David Allen wrote:
&gt; &gt;=20
&gt; &gt; I&#x27;m interested in finding out if there&#x27;s anything wrong with the
&gt; &gt; client though - if you could let me know if FORG munges any specific
&gt; &gt; directories or displays, please let me know and give me the selector.
&gt; &gt; Also let me know how it&#x27;s munged, since gopher.floodgap.com looks
&gt; &gt; fine through FORG 0.4.1
&gt; &gt; (http://opop.nols.com/proggie/forg-0.4.1.tar.gz)
&gt;=20
&gt; 	It could very well be just my server.  I&#x27;ve attached a screen shot of=20
&gt; FORG 0.4.1 on the site (gopher://abg.sytes.net)
</p>
<p>Well, it&#x27;s sort of your server.  Truth be told I think it&#x27;s both of
our faults...  :)
</p>
<p>&gt; 	The thing that I&#x27;m seeing is the &#x27;foo&#x27; after every i line.
&gt;=20
&gt; 	This is what is being sent out...
&gt; 	iText Goes here\tfoo\t\t70\r\n
</p>
<p>No, that&#x27;s not what you&#x27;re sending out, (or at least not what&#x27;s
causing the error condition) and that&#x27;s what had me so
confused.  Attached is a file that I created by telnetting to port 70
of your server.  This was so I could see exactly what your server was
outputting.
</p>
<p>On the &quot;foo&quot; lines, here&#x27;s the problem - you seem to have put a spacer
in the directory listing so the clients will just display an empty
line.  Nothing wrong with that, but here&#x27;s what the server is spitting
out:=20
</p>
<p>i&lt;tab&gt;foo&lt;tab&gt;70
</p>
<p>That&#x27;s just like:
iSomeText&lt;tab&gt;foo&lt;tab&gt;70
(which is handled correctly) the only difference being that SomeText
is &quot;&quot; in this case.  THAT is the problem.  The &quot;name&quot; field is NULL in
this situation.
</p>
<p>I don&#x27;t know if this violates the gopher protocol, the protocol says
how things should be, but it doesn&#x27;t explicitly disallow this
situation.  I&#x27;m going to fix the FORG so it works with this data, but
if netscape and/or lynx isn&#x27;t working with it, my suggestion would be
to change the server so it doesn&#x27;t send NULL name fields.  The easiest
way to do that would be to have it send one space &quot; &quot; instead of
nothing.  That way it doesn&#x27;t get displayed as anything, and you&#x27;re
not messing clients up.
</p>
<p>Like I said, I&#x27;ll fix this in the FORG and the change should be in CVS
in a few hours hopefully, but I&#x27;d recommend you tweak the server so
this doesn&#x27;t happen if you&#x27;re having problems with clients other than
just mine.
</p>
<p>I&#x27;m sending this to the list too because I think it might be of wider
interest - Cameron, does bucktooth ever do this?  John, do you know if
UMN gopherd ever does this?  (I&#x27;ll check if I get the time...)
</p>
<p>What do you guys think?  Is this a violation of gopher?
--=20
David Allen
http://opop.nols.com/
----------------------------------------
Majority, n.: That quality that distinguishes a crime from a law
</p>
<p></p>
<p>-- Attached file included as plaintext by Listar --
</p>
<p>Trying 24.216.41.200...
Connected to 24-216-41-200.hsacorp.net.
Escape character is &#x27;^]&#x27;.
</p>
<p>^R
</p>
<p>iWelcome to abg.sytes.net&#x27;s gopher server!	foo		70
i	foo		70
iThis server is running PyGS v. 0.3 - an asynchronous gopher server	foo		70
iwritten in Python.  More information is here and more is available from	foo		70
ihttp://gurno.com/adam/pygs/.	foo		70
i	foo		70
iHappy gophering! - Adam	foo		70
i	foo		70
0A Welcome Message - sort of.	/Welcome.txt	abg.sytes.net	70
1Funny Stuff	/humor	abg.sytes.net	70
0About this server	/ats.txt	abg.sytes.net	70
0My Public Key	/public.txt	abg.sytes.net	70
1Test Directory - no need to go here.	/test	abg.sytes.net	70
1King of all gopher sites	/	gopher.floodgap.com	70
1Main Gopher Site at the UMN	/	gopher.tc.umn.edu	70
</p>
<p>.
Connection closed by foreign host.
[x@mothra forg]$ exit
</p>
<p></p>
<p></p>
<p>-- Attached file included as plaintext by Listar --
</p>
<p>-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
</p>
<p>iEYEARECAAYFAjtKJtIACgkQojcCUvYOdJw0kQCgiA6Vr+GFPLpGN3Jdcf4SYbui
opAAn3wsAI5FOp3ZLrQzgivSs25VftX4
=ZjyS
-----END PGP SIGNATURE-----
</p>
<p></p>
<p></p>
</card>
</wml>
