[DGD]Colour?

Nico Lammers n.lammers at home.nl
Mon Jun 11 07:22:49 CEST 2001


This is about where my knowledge ends. I know it's possible, and I've seen it,
and that's it. I know there's a file with the ansi patch file that describes
ansi definitions. Maybe that can be of some help...

-- Nico Lammers

>I think I vaguely understand ;)
>
>Sorry my knowledge of LPC and DGD is still quite limited. I understand the
>easy stuff but I have a bit more trouble when it comes to driver stuff.
>
>So what you are saying is to implement colours (and stuff like bold?) I need
>to send escape characters to the driver?
>
>Is that like the "\n" for a line return? If so does anyone know what the
>escape commands are for colours etc. Or can anyone point me in the right
>direction to find out about them?
>
>Does anyone actually have a Mud running with ansi colour?
>
>Um ... Think that's it. Thanks for the help :)
>
>Matt
>
>>> There is a patch for DGD1.1 which will also work for DGD1.2, although
>>> you need to apply it manually. The 'old' patch can be found here:
>>>
>>> ftp://ftp.imaginary.com/pub/LPC/servers/DGD/pkg/1.1/
>>>
>>> You will also need to add some things to the lib so that it will send a
>>> string to the driver that is to be translated to an escape character. Or
>>> something like that.. never did that myself.. I only patched both DGD 1.1
>>> and DGD 1.2 and the code in the lib worked ;)
>>>
>>> -- Nico Lammers
>>
>> On second thought.. the patch is applied to remove the filter for escape
>> characters I think. So basically you need to send escape codes to the 
driver
>> from within the mudlib. I think you can alter the send_message() to that 
end.
>> *is still unsure*
>>
>> -- Nico Lammers


List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list