book of anecdotes

A: Before the computer still does not appear, there is thing called teletype (Teletype Model 33), and can play 10 characters per second, but it has a problem, it's time to wrap the finish line, to use 0.2 seconds, just to play two characters. If at this 0.2 seconds inside, there are new characters pass over, then the character will be lost. Thus, the development staff thought of a way to solve this problem is to add two after each line Indicates the end of a character called "Enter", told the typewriter print head is positioned at the left margin; another is called "wrap", told the paper in the typewriter down one line which is "wrap" and "Enter" in origin , from their English names can also be seen 12. later, the invention of computers, these two concepts will like to be on the computer. then, the memory is very expensive, some scientists believe that at the end of each line plus two characters too wasteful, you can add a result, there have been differences .Unix system, only the end of each line, "" that "\ n."; Windows system which, at the end of each line is "", ie, "\ n \ r "; Mac system, at the end of each line is Enter. "

Guess you like

Origin www.cnblogs.com/misakimei/p/12207966.html