Re: Those wretched ^M's!

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 11/13/97


On Thu, 13 Nov 1997, Michael Simons wrote:

>Now that we're on the subject, anyone want to clear something up for
>me?  Why exactly do we have all of the \r's in there in the first place?
>What system's require the use of them?  When I took C/C++ I never used
>them for any of my project.

They're the carriage return in the the carriage-return line-feed pair that
the telnet standard mandates.  Unix stores them as \n so CircleMUD loads
them into memory as \r\n to readily send them over the telnet line.
DOS/Windows use \r\n in files, hence the dos2unix converters.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST