Re: Annoying Pager

From: Alex (fletchra@qsilver.queensu.ca)
Date: 05/23/99


> If you're like me, the pager probably bugs you, when you send out something
> like the motd (from in the game), and page_string() cuts it into tiny pieces
> even though there're fewer lines than PAGE_WIDTH (modify.c I believe)
> which is 22.
>
> The thing is, if you write up to 79 characters, your \r\n adds two more,
> making that 81 characters when strlen() counts it.
Best thing to do is to merely '\n' rather than '\r\n'.  After all, all
standard telnet clients (and mud clients) handle '\n' by itself (that and
it is the proper method for unix systems anyhow, and that's what really
matters... (= )

That'll correct that problem in a better way.

Ae.


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



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