This is the mail archive of the cygwin-developers@sourceware.cygnus.com 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]

Re: hybrid text/binary mount


--- DJ Delorie <dj@delorie.com> 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: <mailto:earnie_boyd@yahoo.com>
            __Cygwin: POSIX on Windows__
Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
           __Minimalist GNU for Windows__
  Mingw32 List: <http://www.egroups.com/group/mingw32/>
    Mingw Home: <http://www.mingw.org/>

__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com

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