delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/20/02:34:20

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 01:34:09 -0600
From: Joshua Daniel Franklin <joshuadfranklin AT yahoo DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: two text/binary oddities (Users Guide Alert)
Message-ID: <20040220013409.A8591@ns1.iocc.com>
References: <c12voo$tre$1 AT sea DOT gmane DOT org> <20040219232155 DOT GC23994 AT redhat DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5.1i
In-Reply-To: <20040219232155.GC23994@redhat.com>; from cgf-no-personal-reply-please@cygwin.com on Thu, Feb 19, 2004 at 06:21:55PM -0500

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.)

--
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