Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 20 Feb 2004 08:38:01 -0500
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: two text/binary oddities (Users Guide Alert)
Message-ID: <20040220133801.GA1796@redhat.com>
Mail-Followup-To: cygwin@cygwin.com
References: <c12voo$tre$1@sea.gmane.org> <20040219232155.GC23994@redhat.com> <20040220013409.A8591@ns1.iocc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20040220013409.A8591@ns1.iocc.com>
User-Agent: Mutt/1.4.1i
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com

On Fri, Feb 20, 2004 at 01:34:09AM -0600, Joshua Daniel Franklin wrote:
>On Thu, Feb 19, 2004 at 06:21:55PM -0500, Christopher Faylor wrote:
>> On Thu, Feb 19, 2004 at 06:37:12PM +0000, Robert R Schneck wrote:
>> >Short form:
>> >1) "cat > foo" creates foo with DOS line endings... no matter what.
>> >2) A control-Z in a file doesn't act as end-of-file in text mode, 
>> >despite what the Cygwin User's Guide says.
>> 
>> Joshua, could you remove anything which indicates that CTRL-Z is
>> equivalent to an EOF from the user's guide?
>
>Done. The CYGWIN=tty section now reads, "Defaults to not set, in which case the
>tty is opened in text mode. Note that this has been changed such that ^D works
>as expected instead of ^Z, and is settable via stty." Does this sound accurate?
>
>I also removed the sentence "On reading in text mode, a CR followed by an NL is
>deleted and a ^Z character signals the end of file" from the Using Text and
>Binary Modes section, the whole of which seems somewhat outdated. Ah,
>(volunteer) job security.
>
>I also changed all mentions of ^M to ^S, just to be mean. (Just kidding.)

This all sounds good.  Thanks.

I especially liked the ^M to ^S, but that's no surprise.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

