delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/03/09/19:13:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19990310111253.60943@murlibobo.cs.mu.OZ.AU>
Date: Wed, 10 Mar 1999 11:12:53 +1100
From: Fergus Henderson <fjh AT cs DOT mu DOT OZ DOT AU>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: text vs binary mode yet again
References: <c=DK%a=_%p=CD-Danmark%l=CDDKSERVER-990309155825Z-3420 AT cddkserver DOT cddk DOT dk> <4798-Tue09Mar1999190417+0100-vzell AT de DOT oracle DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 0.88
In-Reply-To: <4798-Tue09Mar1999190417+0100-vzell@de.oracle.com>; from Dr. Volker Zell on Tue, Mar 09, 1999 at 07:04:17PM +0100

On 09-Mar-1999, Dr. Volker Zell <vzell AT de DOT oracle DOT com> wrote:
> 
>     >> Re text/binary: NOTEPAD is not a text editor. It is a
>     >> bug. NOTEPAD compatibility is not a valid concern. Seriously!
> 
>     >> Why hang on to ancient conventions such as the distinction
>     >> between binary and text mode?

Why hang on to ^&%$&%$ operating systems like Windows?

If you're using cygwin at all, it's presumably because compatibility
with existing software is of some concern.  Otherwise, just use Linux!

>     >> Why should I want to open a file in 'text' mode? What if I run
>     >> a cygwin application to write a 'text' file that is part of a
>     >> MacOS application?  I need three different record separators,
>     >> and I can't infer which to use just from what OS the
>     >> application is running on. BTW, this is an actual example of
>     >> what I use cygwin tools for.

In that particular case, you wouldn't want to open the file in text mode.
But there are plenty of other cases where text mode does make sense.

-- 
Fergus Henderson <fjh AT cs DOT mu DOT oz DOT au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh AT 128 DOT 250 DOT 37 DOT 3        |     -- the last words of T. S. Garp.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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