Re: [ Problem ] Hmm How to send new prompt to char...

From: Gary Barnett (gbarnett@POLARNET.COM)
Date: 08/29/97


On Fri, 29 Aug 1997 09:52:59 +0200
David Klasinc <bigwhale@CAPYBARA.SK-PTTSC.LJ.EDUS.SI> wrote:

<snip>

>       send_to_char("\n\r", ch);
>

Ack! Don't do the \n\r thing.

It's my belief (am I wrong?) that \r\n is correct, and \n\r really
frustrates those who would write a mud client.

See http://www.zuggsoft.com/   .. on his page somewhere I remember
him griping about people using non-standard line endings.

In addition, the stock code uses \r\n everywhere, so I assume that's
the correct method.

The two blank lines is probably from your telnet app seeing the \n\r
and creating two blank lines.

--Mallory


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