Perfect! thank you!

It's much clearer for me now.


Paul



On Sunday, July 7, 2002, at 06:20 , Martin Costabel wrote:

> Individual . . wrote:
> []
>> Anyway on some systems, to get the same effect that you're used to on 
>> the mac, the text editor program needs to write "newline" plis 
>> "linefeed" (or was it "return") .. anyway, this is extremely muddled 
>> in my head. Maybe someone else can clarify.
>
> OK, I'll bite.
> There are these two control characters, one (CR) originally meaning 
> that you want to continue your text in the first column, the other (LF) 
> meaning that you want to continue on the next line.
>
> CR: "carriage return", ASCII char 13 (hex 0d), Ctrl-M, C code "\r"
> LF: "line feed",       ASCII char 10 (hex 0a), Ctrl-J, C code "\n"
>
> Now, if you remember those things called typewriters, you didn't do two 
> things to go to the next line (maybe you did with the first models, but 
> even I don't remember those). On the mechanical ones I remember, you 
> had a lever to the right that you used to push the carriage to the 
> left, and at the same time some gear turned and shifted the paper so 
> that you continued on the next line. On the electrical ones from which 
> we all inherited the computer keyboards, there was only one RETURN key 
> (actually there were also keys that did only CR and only LF, but you 
> didn't need them for normal writing). This is why UNIX and the Mac use 
> only one control character to do CR/LF:
>
> UNIX uses only LF, the Mac uses only CR, and DOS uses both CR and LF.
>
> -- Martin
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> We have stuff for geeks like you.
> http://thinkgeek.com/sf
> _______________________________________________
> Fink-beginners mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/fink-beginners
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
We have stuff for geeks like you.
http://thinkgeek.com/sf
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to