@Markus
I can sort of understand both the Windows and Unix versions, but not really the old Mac version.
The Windows version emulates the way a typewriter works. First snapping back to the start of the line "\r", and then pulling the paper one line up "\n".
The Unix version is more "digital". Text is a string of characters, and when you add a new line, it is natural for the next character after the "\n" to become the first character of the new line. (Think; splitting the text into lines on "\n", and printing each line.) -- For the new line to start at the same point where it's parent ended, the new line would have to be padded with spaces, which is just pointless. The "\r" has no purpose in this context.
The old Mac version makes no sense. The "\r", carriage-return, only ever returned a typewriter to the start of the same line. How that results in you being in the next line I do not know. -- Which is probably partly why they abandoned it. The latest versions apparently use the Unix EOF now, or so I hear. (Well, the latest Macs
are Unix based, so that makes sense.)
It kind of surprises me that Notepad
still doesn't recognize "\n" as a new-line, or at least has an option to make it recognize it. It's such a small modification that would make such a large difference.- I don't know how many times I've tried to make minor modifications to my PHP code in Notepad, only to have it all be wrapped into a single line.