Re: Those wretched ^M's!

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


On Thu, 13 Nov 1997, Sammy wrote:

>That's not really a bug in fread_string.  On a unix system, it's necessary
>to add the \r to have multiline text from db files comply with the telnet
>rfc.  It may cause problems with windows or macs, since they use different
>text file arrangements.

>Only when an olc addition saves a multiline description, so stock circle
>won't ever do this.

True, must have been using a hacked world file...stock world didn't do it,
although we probably could kill extra \r's in fread_string anyway.

>> Maybe in bpl13 we can throw away all those string strippers. :)
>
>Using your patch or my extra checks, you'll still get ^M's in your files
>on a unix system every time you save, tho they won't stack up.

That'll be better...have to find the real reason those things pop up, but
there's a place to stop it spreading.

--
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