Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: cygwin AT cygwin DOT com Subject: Re: two text/binary oddities (Users Guide Alert) Message-ID: <20040220013409.A8591@ns1.iocc.com> References: <20040219232155 DOT GC23994 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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/