delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/20/08:39:03

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019