delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/15/17:22:15

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.1.2.20011115171819.022a4aa0@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Thu, 15 Nov 2001 17:20:05 -0500
To: cygwin AT cygwin DOT com, cygwin AT cygwin DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: indent.exe strangeness
In-Reply-To: <20011115220832.GA11912@redhat.com>
References: <049e01c16e1e$e3efeab0$0200a8c0 AT lifelesswks>
<FFC7351A4632D411820000508B2E1C2C01CB16B1 AT hqexch01 DOT citrix DOT com>
<20011115030821 DOT GA3841 AT redhat DOT com>
<00a101c16d86$54e0d2f0$0200a8c0 AT lifelesswks>
<1543920176 DOT 20011115124023 AT familiehaase DOT de>
<02ba01c16dcf$bc7b2750$0200a8c0 AT lifelesswks>
<20011115192147 DOT GF9348 AT redhat DOT com>
<049e01c16e1e$e3efeab0$0200a8c0 AT lifelesswks>
Mime-Version: 1.0

At 05:08 PM 11/15/2001, Christopher Faylor wrote:
>On Fri, Nov 16, 2001 at 08:45:48AM +1100, Robert Collins wrote:
> >
> >===
> >----- Original Message -----
> >From: "Christopher Faylor" <cgf AT redhat DOT com>
> >To: <cygwin AT cygwin DOT com>
> >Sent: Friday, November 16, 2001 6:21 AM
> >Subject: Re: indent.exe strangeness
> >
> >
> >> On Thu, Nov 15, 2001 at 11:19:12PM +1100, Robert Collins wrote:
> >>>>What about a patch that would fopen() every file in binmode and write
> >>>>it back according to the mount?
> >>>
> >>>I think that textmode.o is the correct tool rather than a patch - >read
> >>>every file in textmode (they are source after all :]) and write in
> >>>textmode.
> >>
> >>No.  That would end up putting CRLF on every file.  I doubt that people
> >>with binmode mounts would be pleased.
> >
> >They shouldn't care if all the text process tools have been ported
> >correctly.  Thats the whole point of textmode and binmode ain't it?
>
>Well, *I* care if a system which purports to emulate linux outputs
>text files with CRLF line endings with no way to control this.
>
>I would think that someone who is using binmode defaults would prefer
>that their files not be translated from LF to CRLF line endings.  That
>would bypass the whole point of the mount settings.  It would mean
>that if you were trying to share files with UNIX, you'd have to
>run the files through a "strip the CR" converter.
>
>Maybe you could say the same thing for people who have text files in
>MS-DOS format.  I'm sure that there is some other bit of crucial
>software out there that croaks unless it is fed a text file with CRLF
>endings but it is certainly not going to be a UNIX program.
>
>As I said, the last I heard this was only an issue for notepad.
>Although, I will admit to the horrifying possibility that it is all
>versions of notepad, not just older versions.



At the risk of this becoming a "me too" message, I agree with Chris on
the text/binary issue here.  As far as Notepad goes, it is apparently
one application that MS refuses to fix and also refuses to stop 
delivering! ;-)



Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019