[89] in Coldmud discussion meeting

root meeting help first first in chain previous in chain previous next next in chain last in chain last

Re: ANSI codes and unreadables

daemon@ATHENA.MIT.EDU (Sat Dec 4 04:06:11 1993 )

To: coldstuff@MIT.EDU
In-Reply-To: Your message of "Fri, 03 Dec 1993 21:13:37 PST."
             <199312040513.VAA00409@mail.netcom.com> 
Date: Sat, 04 Dec 1993 00:37:01 -0800
From: Ian McCloghrie <imcclogh@cs.ucsd.edu>

> I don't believe that control characters in MUD output would actually "break"
> most clients per se.  The point is that if you allow anyone to put control

	that depends on what you define as "break".  tf line wrapping
breaks, as thus works by counting characters.  ^[[5m is 4 characters,
but they don't show up on the screen, so a line with one of those
embedded wraps in the wrong place.

	This discussion has been had, many times, on rec.games.mud.*.
ANSI escape codes are _not_ a good thing to put into the server.  If
you want to do color hiliting, etc, have a flag the player can set
which enables this, and have him load triggers into his tf, which
supports color hiliting in the later version.  Basically, design a
protocol so that the server can send display independant information,
and the client can translate this into whatever is appropriate
behaviour for the local display.

--
 /~> Ian McCloghrie      | Commandant of Secret Police - Cal Animage Beta.
< <  /~\ |~\ |~> |  | <~ | email: ian@ucsd.edu               Net/2, USL 0!
 \_> \_/ |_/ |~\ |__| _> | Card Carrying Member, UCSD Secret Islandia Club