delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/06/25/09:18:36

From: andrewd AT axonet DOT com DOT au (Andrew Dalgleish)
Subject: RE: Fseek Help?
25 Jun 1998 09:18:36 -0700 :
Message-ID: <91A8FD196436D1118EC2006008186C960A36D3.cygnus.gnu-win32@server1.axonet.com.au>
To: gnu-win32 AT cygnus DOT com

[big snip]
> I hope this sheds some light on the latest incarnation of a problem
> that has been around since the first C compilers ran under DOS so
> many years ago.
Using CR-LF for end-of-line pre-dates both DOS and UNIX.

Have you ever wondered why it is CR-LF instead of LF-CR?
It is because a paper teletype takes much longer to do a carriage return
than to do a line feed.
Sending the CR first allows you to send the LF while the TTY is still
doing the physical carriage return.
This saves you the time it takes to send one character.
Of course this only works if the TTY can buffer the extra character. 
That's one new idea that will never catch on. :-)


Regards,
Andrew Dalgleish

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019