MUSHclient 256 colour support.

Posted by Robert Powell on Tue 28 Jul 2009 11:34 PM — 4 posts, 19,871 views.

Australia #0
I remember reading somewhere that you added 256 colour support the the client, whats required on the server end to complete this chain, just the ability to send the correct codes? or do you need to add some other magic under the bonnet.
Australia Forum Administrator #1
Check out this thread:

http://www.gammon.com.au/forum/bbshowpost.php?id=7761

On about page 3 are screendumps of the colours.
Australia #2
Thanks Nick, now to add a subset of the 256 colours to my mud, for use in maps and stuff..
Australia Forum Administrator #3
Also see:

http://www.gammon.com.au/scripts/showrelnote.php?version=4.02&productid=0

I don't think AnsiNote supports these colours, however they are supported if they arrive from the server, eg.


for i = 0, 255 do
  Simulate (string.char (27) .. '[0m' ..
   tostring (i) .. " - " .. 
   string.char (27) .. '[48;5;' .. tostring (i) .. 'm' .. "TEST\n")
end


And try in the command window:


/Debug ("colours256")