<?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 ECARTIS (v1.0.0; list gopher);
 Wed, 27 Mar 2002 10:43:52 -0500 (EST)
Return-Path: &lt;jgoerzen@complete.org&gt;
Delivered-To: gopher@complete.org
Received: from christoph.complete.org (unknown [168.215.193.254])
	by pi.glockenspiel.complete.org (Postfix) with ESMTP id C34173B80B
	for &lt;gopher@complete.org&gt;; Wed, 27 Mar 2002 10:43:51 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
	by christoph.complete.org (Postfix) with ESMTP id 7065C5A483
	for &lt;gopher@complete.org&gt;; Wed, 27 Mar 2002 10:43:50 -0500 (EST)
Date: Wed, 27 Mar 2002 10:43:50 -0500
Subject: [gopher] Re: Existing \r\n Behaviour
Content-type: text/plain; charset=US-ASCII
Mime-Version: 1.0 (Apple Message framework v481)
From: John Goerzen &lt;jgoerzen@complete.org&gt;
To: gopher@complete.org
Content-Transfer-Encoding: 8bit
In-Reply-To: &lt;3C9BFB0C.5B519894@sympatico.ca&gt;
Message-Id: &lt;6EF3872E-4199-11D6-863F-0003930BF072@complete.org&gt;
X-Mailer: Apple Mail (2.481)
X-archive-position: 536
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: &lt;mailto:ecartis@complete.org?Subject=help&gt;
List-unsubscribe: &lt;mailto:gopher-request@complete.org?Subject=unsubscribe&gt;
List-software: Ecartis version 1.0.0
List-ID: Gopher &lt;gopher.complete.org&gt;
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></p>
<p>On Friday, March 22, 2002, at 10:48  PM, Ralph Furmaniak wrote:
</p>
<p>&gt; While we&#x27;re looking for things to ammend, how about the translation \n
&gt; -&gt; \r\n in files.  Nowadays, there is no problem if the files just have
</p>
<p>I&#x27;m a bit lost -- where exactly does this translation occur?  Nothing in
the RFC or Gopher+ spec seems to indicate it.
</p>
<p>&gt; \n (unless you are using notepad, but who is?).  But the problem is that
&gt; if you do this to a unix script file (shell, perl, etc) it will no
&gt; longer work, because of the \r at the end of the first line (ie, it
&gt; would try to execute /usr/bin/perl\r).  It also breaks other things such
&gt; as pdf files (which are a mix of text and binary, and are reported to be
&gt; text files).
</p>
<p>UMN gopherd has some issues with correctly identifying file types.
That&#x27;s one reason I&#x27;m working on pygopherd right now.  Perhaps it can
one day be a drop-in replacement.
</p>
<p>-- John
</p>
<p></p>
</card>
</wml>
