Re: Was: Introduction Code

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 11/14/97

On Fri, 14 Nov 1997, j f chaos wrote:

->  How on earth did that extra /r get in there(not too familiar w/
->fread_string() )

fread_string() reads "\n" and converts it to "\r\n".  The problem is
that, then, when you write it out, you have to strip the "\r",
otherwise it is saved as "\r\n" and next time you read it in,
fread_string() again converts "\n" to "\r\n", giving you "\r\r\n".
The more you save without stripping the "\r"s, the more "\r"s get

Now, what I am not understanding is how George is going to side-step
this?  You should write out the "\r\n" pair over telnet, but you
should only write "\n" to files.  I fail to see how changing
fread_string() will produce the desired results and meet the two above

daniel koepke /

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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