This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: two text/binary oddities (Users Guide Alert)


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]