From: Bertram Scharpf Date: 2007-08-22T09:11:36+09:00 Subject: Re: Writing to Binary Files Hi, Am Mittwoch, 22. Aug 2007, 08:51:17 +0900 schrieb Michael T. Richter: > On Wed, 2007-22-08 at 08:13 +0900, Bertram Scharpf wrote: > > > The distinction between "text" and "binary" is the archetype > > misdesign in DOS and Windows. > > And this explains the distinction between opening binary vs. opening > text in UNIX APIs since *LONG* before MS-DOS how? > > MS-DOS was a hack off of a CP/M clone for the new 8086 processor and, as > such, inherited CP/M's approach to text files (and command line > switches) which itself was inherited from IBM's (and others') various > operating systems. > > So the system that had to do it different? Wasn't Microsoft's. Nor > even IBM's. UNIX was the one that had to be different from everybody > else. And it is UNIX that is to blame for this artificial text/binary > file distinction. You're right. I almost forgot that. It's not fair to imply MS invented anything. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de