CR/LF problems after upgrade
Wed Jan 17 17:36:00 GMT 2007
Buchbinder, Barry (NIH/NIAID) [E] wrote:
> From: Luke Kendall
>> I wonder how many centuries of human endeavour has been
>> absorbed because of the decision to use CR+LF as line
>> endings in DOS?
> To be fair, \r\n seems to go back to Gary Kildall's CP/M.
As far as I know, Unix is actually the oddball, using only a single
character to represent two actions on the old ttys, a carriage return
followed by a line feed. All oses I used before I was exposed to Unix had
<cr><lf> line endings - these included various other mini and microcomputer
oses of the late 70s early 80s era.
Note that it was important to send the carriage return *before* the line
feed, to give the carriage head more time to actually return all the way to
the start of the line. If you did the line feed before the carriage return,
the next character after the carriage return could start printing while the
carriage was still returning! (Actually, this is only true of really old
style KSRs that didn't have much buffering, etc., but shows the history of
And now that I'm way off topic, I'll just add that if anyone else wants to
continue reminiscing, lets take it to -talk.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin