This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: hybrid text/binary mount
- To: DJ Delorie <dj at delorie dot com>, cygwin-developers at sourceware dot cygnus dot com
- Subject: Re: hybrid text/binary mount
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Mon, 24 Apr 2000 12:21:33 -0700 (PDT)
- Reply-To: earnie_boyd at yahoo dot com
--- 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