Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!oddjob!gargoyle!ihnp4!cuae2!killer!academ!uhnix1!sugar!peter From: peter@sugar.UUCP (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: Distinguished pointers (was Re: Weird syscall returns) Message-ID: <503@sugar.UUCP> Date: Sat, 15-Aug-87 09:20:20 EDT Article-I.D.: sugar.503 Posted: Sat Aug 15 09:20:20 1987 Date-Received: Thu, 20-Aug-87 06:28:15 EDT References: <1158@copper.TEK.COM> <6858@auspyr.UUCP> <17171@cca.CCA.COM> <1847@ttrdc.UUCP> Organization: Sugar Land UNIX - Houston, TX Lines: 16 Summary: I don't think that means OS/9 is broken... > What is an implementation of C supposed to do on an OS/machine/character-code > combination that doesn't have the foggiest that there is such a thing > as distinct "new line" and "carriage return" characters? From the looks of > the discussion here, I'd gather that OS9 is just such a beast and its C > compiler is making the best of this brain damaged situation that it can. There is no "new line" character in ASCII. UNIX uses "line feed" as the new line character. OS/9 uses "carriage return". I'd say the 'C' language itself is suffering from parochialism here. Disclaimer: I have never used OS/9, and I don't know anything more of this aspect of the operating system than what I have read here. I would say that since OS/9 is a UNIX lookalike, using CR for NL instead of LF was probably not the best choice... but at least it's better than using both of them. -- -- Peter da Silva `-_-' ...!seismo!soma!uhnix1!sugar!peter (I said, NO PHOTOS!)