Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ MUSHclient 256 colour support.

MUSHclient 256 colour support.

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Robert Powell   Australia  (367 posts)  Bio
Date Tue 28 Jul 2009 11:34 PM (UTC)
Message
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.

Just a guy having a bit of fun. Nothing more, nothing less, I do not need I WIN to feel validated.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 28 Jul 2009 11:42 PM (UTC)
Message
Check out this thread:

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

On about page 3 are screendumps of the colours.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Robert Powell   Australia  (367 posts)  Bio
Date Reply #2 on Tue 28 Jul 2009 11:54 PM (UTC)
Message
Thanks Nick, now to add a subset of the 256 colours to my mud, for use in maps and stuff..

Just a guy having a bit of fun. Nothing more, nothing less, I do not need I WIN to feel validated.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #3 on Tue 28 Jul 2009 11:56 PM (UTC)

Amended on Tue 28 Jul 2009 11:57 PM (UTC) by Nick Gammon

Message
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")


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


15,620 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.