On 1/10/02 1:38 PM, "Chris Devers" <[EMAIL PROTECTED]> wrote:

> On Thu, 10 Jan 2002, John Gruber wrote:
> 
>> (BBEdit is about as agnostic about
>> line endings as an editor can get.)
> 
> Vim is pretty agnostic too -- it'll just optionally put a little [dos] or
> [mac] or [unix] in the corner if you ask it to -- but that's not really
> the core issue here. I mean, what *is* the default line terminator on OSX
> supposed to be? It seems like half the software, the old Classic stuff, is
> making one assumption while the other hald, the old NeXT stuff, is making
> the opposite assumption, with a small agnostic middle ground.
> 
> If OSX "is" Unix, then it either needs to adopt Unix line endings (and the
> Classic stuff will just have to Deal With It), or it the installed set of
> Unix tools should be adapted to recognize Mac endings. Or something.
> 

This is annoying, but workable.  The classic mac users that don't use UNIX
won't be using UNIX tools and won't care about UNIX line endings.  The ones
that do use UNIX are already aware of the issue and know how to deal with
it.

> Unfortunately, this problem doesn't seem like it will be going away any
> time soon....
> 

Well, UNIX stuff should keep using the UNIX line endings to maintain
compatibility with other UNIXes.  Cocoa stuff should continue to use the
UNIX line endings for the same reason.  It's the carbon stuff that should
eventually transition to use the UNIX line endings.  Hopefully as the
platform matures more people will be writing to the Cocoa APIs, and the
Carbon developers will be forced to use (or at least tolerate) UNIX line
endings to maintain compatibility with everything else.

Ian

Reply via email to