Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Date: Wed, 4 Oct 2000 14:16:53 -0400 Message-Id: <200010041816.OAA22312@envy.delorie.com> From: DJ Delorie To: ryans@svisionllc.com CC: cygwin@sourceware.cygnus.com In-reply-to: Subject: Re: CR/LF translation References: A text file created by Notepad will always have the CR at the end of the line. This is the "normal" DOS text format. Use "cat -v" to actually *see* the CRs as printable characters. "od -c foo" will also show you exactly which characters are in your file (`foo' in the example). MSVC will *always* treat a file as DOS text unless specified otherwise (so it eats CRs). I'm not sure how to change stdin to binary with MSVC. With Cygwin, you should be able to do setmode(0,O_BINARY). -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com