nando ha scritto:
> I got a chuckle from this one.
> A typewriter, those mechanical things that are only in black and white movies
> and museum actually performed CRLF using that bar to perform the line feed 
> and 
> carriage return.  And CR LF comes from that. 
> All the software I write for HTTP, ascii files, When reading, I only look for 
> the LF.
> If I find a CR, I just ignore it. I have yet to find a case it normally
> doesn't work with.
>   
I agree partially with you - I don't like the CR-LF convention: I think 
that a single LF is enough.
But your programs, even if they ignore LF when reading, still use CR-LF 
when writing (I hope!), otherwise they did not respect the standard.

And about the standard... someone in the past said a single LF would be 
the line terminator. But someone else thought that CR was enough (Apple 
computers for example, and before, other mainframes like VAX). Then, 
still someone else thought that neither was good, and used CRLF. If the 
american DoD, from which our Internet comes, decided CR-LF was the way 
to go, they too had good reasons, I think, even if I don't know them. I 
admire so much who invented IP, TCP/IP, FTP, HTTP, that I take for good 
what they said: CR-LF is the right line terminator even if I don't like it.

Pardon me for getting this so hot, I find it difficult to think that 
CR-LF is bad only because is so old... :-), the only important thing is 
to cooperate in a common standard. Well: the IP/TCP/HTTP/HTML standard 
is out there, and it works. It has been developed in full democracy (you 
know what RFC stands for), and so many different kinds of computer can 
intercommunicate, thanks to this standard. Do you want to say this is a 
stupid thing?

And finally... I still use what you could call "old museum printers", 
which need CR *and* LF. There are some around, even if you don't see 
them... the world is not only made from 4Gb ram computers and 30PPM 
laser printers...

Best regards, and don't get too angry with me...

-- 
Doriano Blengino

"Listen twice before you speak.
This is why we have two ears, but only one mouth."


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to