Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Message-ID: <20000424192133.12882.qmail@web123.yahoomail.com> Date: Mon, 24 Apr 2000 12:21:33 -0700 (PDT) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com Subject: Re: hybrid text/binary mount To: DJ Delorie , cygwin-developers AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- DJ Delorie wrote: > > Hey, I've got an idea. How about a mount mode where files opened for > reading do CR/LF conversion *if* they look like text files (i.e. no > binary characters, all CR/LF are part of CR/LF pair), and files open > for writing always write files in binary mode. > > Of course, programs that specify text or binary would get what they > wanted. I had suggested this earlier. I'm cleaning up a patch I did for bash and ash that will convert \r to \n for scripts but if this is done it would make my bash and ash patches needless. ===== --- Earnie Boyd: __Cygwin: POSIX on Windows__ Cygwin Newbies: __Minimalist GNU for Windows__ Mingw32 List: Mingw Home: __________________________________________________ Do You Yahoo!? Send online invitations with Yahoo! Invites. http://invites.yahoo.com