Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!shawnee.cis.ohio-state.edu!martens From: martens@shawnee.cis.ohio-state.edu (Jeff Martens) Newsgroups: comp.sys.amiga Subject: Re: Amiga to Mac? Message-ID: <42377@tut.cis.ohio-state.edu> Date: 9 Apr 89 04:54:37 GMT References: <7568@phoenix.Princeton.EDU> <2368@cps3xx.UUCP> <8YCefHy00Vsf4=7K5l@andrew.cmu.edu> <3696@sugar.hackercorp.com> Sender: news@tut.cis.ohio-state.edu Reply-To: Jeff Martens Organization: Ohio State University Computer and Information Science Lines: 24 In article <3696@sugar.hackercorp.com> peter@sugar.hackercorp.com (Peter da Silva) writes: >In article <8YCefHy00Vsf4=7K5l@andrew.cmu.edu>, mp1u+@andrew.cmu.edu (Michael Portuesi) writes: :: The Amiga uses LF as a line terminator, while the Mac uses CR. : :I wish people wouldn't do that. ASCII defines two alternatives for the :'new-line' sequence: either CR-LF or (if a single character is to be used) :just plain LF. The whole point to splitting LF and CR was to allow using :CR for overstriking, which doesn't work if you do a linefeed when you see :a CR. Actually, I'd rather see people use CR than linefeed, for a couple reasons: 1) Until Unix came along, just about everybody used CR for end-of-line. Unix was the renegade, and now a lot of newer systems are copying the Unix "standard." 2) Terminals use CR rather than LF to end the line, so somewhere along the way, to get a program to think a LF has been typed rather than a CR, CR has to be mapped to LF. Just think, AmigaDOS could be about 3 words shorter and run imperceptibly faster. -=- -- Jeff (martens@cis.ohio-state.edu) ..and on Wall St., the Tao is down in heavy trading...