Color issue on one server

Posted by Fearless on Mon 13 May 2024 02:38 AM — 7 posts, 11,720 views.

#0
bbs.game-master.com port 23 is monochrome in Mushclient but it has color in Putty. I suspect the server is doing some kind of ANSI feature check with the client. Is there any hope of working around this? I have no idea where to start.
Australia Forum Administrator #1
I just connected and made a new account, and it all appeared in colour, see below:



As far as I know MUSHclient renders in colour automatically, I don't think there is any negotiation. I did get asked initially if I could see colours, as below:


The following word may or may not be colored or blinking: ANSI
Is it colored or blinking (Y/N)?  y

Good!  Your answer has been recorded.



You may have to change some account setting on the server side for it to send you colours.

Template:version
Please help us by advising the version of MUSHclient you are using. Use the Help menu -> About MUSHclient.





The rendering of some characters looks odd, you may have to change the settings for that too.


GM's Main Menu (MAIN)
Make your selection (G,T,E,F,L,M,V,D,R,? for help, or X to exit):  

ÄÄ Ú¿¿¿Ú¿ Ú¿Ú¿Ú¿ڿڿ¿Ú¿Ú¿ÂÚ¿Ú¿ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
ÄÄÄ ³ ôà  ³¿Ã´³ ³Ã ³³³Ã´À¿³Ã ÿ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Main Menu ÄÄ
ÄÄÄ ³ ÙÙÀÙ ³³ÙÙÙ ÙÀÙ³ ³ÙÙÀÙÙÀÙÙÀ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
ÚÀÙ ÙÞ ÀÙÀ¿ÀÙÀٿٳٳ٠٠ÄÃÚÞÞ Ùô³¼º¿Àͼ´ÃÄÙ´ÃÚÄ¿ÀÞÞ ÍÄ´³Ù´ÃÚͼ´ÙóÄÚ¿´³ÌóÀÄó
»ÃÚÍÝÝÝÙijĿɴ³ÀÙô³ÄÚº³ÀÙÃÝÝÝ»ÄȻڿ´ÄÀÙ´ÍÚÌ¿ÀÃÍÙÌÝÝÝûÀÙ´Ìͼ¿ÀÃÌÙijÚÍ´ÄÀͼ»ÄÚÍ
»¼ÍÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿¼ÚÍ¿
¿ÌͳÞGÝ Games              ÞEÝ Electronic Mail    ÞLÝ File Library      Þ ³ÀÙÌ
»ÚijÞTÝ Teleconference     ÞFÝ Public Forums                            ÞݳÀÙ³Ù
³¼Ã³                       ÞVÝ Voting Polls                            ÞÝ ³ÀÙÍ»
ÌÍÁ³ÞMÝ Member's Corner    ÞDÝ Daily History      ÞRÝ Registry of Users ß ³ÈÙ³³
ÁÙÚ³                                                                  Þ Þ Ý  »¼
ûÙÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÞ ÄÄÞÞÞÞÝÞ  Ù
»¼ÍÌÞÞ Ì´Ä¼À¼Ã¹Ä³¿Àٴ̼ÄÚ¿ÀÞÞ ÌÄôÄÚ¿À³ÄÚ¿ÍÙóÄû³ÞÞ À¿ÙÍÃÀ³Í¿ÙÀ³  Ý  ÞÞÛÞ  Þ
ڴóÝÝÝ¿ÀóĴÌÚÄ¿ÀÙô³Ä¼Í»ÄÝÝÝÈٳϼ³ÀÄÚ¼ÍٳͼÚÌ¿ÃÝÝÝÙÀ»Ã»¼Ã³ÀÍ̳  ß   ÞÛÞ  ß
´»Í»ÝÝÝÀ¼¼Í»¿Ä³Í¼´Ì³ÄÚ¿³ÃÙÄÝÝÝÄÈ¿À³ÃÙÄóÄڿ̳ÃÙÄ´ÍÝÝݼÀ´Ã³Ä¿ÍÚ³Ù» ÞÞÞ  ÞÛÞ ÞÞÞ
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÞÞ ßßßßß ÞÞÄ
ÄÄ[67  Other Users Online    ]ÄÄÄÄÄÄÄ Online Rules: "/GO RULES" Ä ßßßß ²Û± ßßßß
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄ Þ Ä ²Û± Ä ÝÄ
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ßßß Ü ßßß Ä
                                                                                


Try turning on UTF-8 in the Output configuration tab.
Amended on Mon 13 May 2024 08:57 PM by Nick Gammon
#2
Thanks, Nick!

I'm using 5.06 and I'm still stumped. I extracted the mushclient installer to a new folder to avoid my personal settings but I still have the same problem. I tried on Windows 10 and Lubuntu with wine 9.0.

With Mushclient, I get monochrome ASCII before the logon prompt and also after logging on. With Putty, I get color before the logon prompt and also after logging on the same account.
Australia Forum Administrator #3
Yeah, but, if your account is configured to not serve up colours, that is exactly what you would expect. Check the server for an option to show colours.
Australia Forum Administrator #4
Make a new account just to test this theory.
Australia Forum Administrator #5
It might be something to do with the "termtype" query.

There is not a query, as far as I remember, to say whether or not the client supports colours. But the "Telnet Terminal Type" might influence the server. Check the Output configuration page (bottom RH corner).

Try setting it to "xterm" which appears to be the putty default.
Amended on Tue 14 May 2024 08:15 AM by Nick Gammon
#6
I enabled color by having this in a trigger:
SendPkt(string.char(27).."[5;26R")

Explanation:
The BBS probably sends ESC[6n and checks to see if the client responds with the cursor position, which is what the trigger output is faking. The two integer values don't seem to matter. That was just my guess about where the cursor would be. I think I am triggering on the line before ESC[6n is sent because I think the BBS detection scheme will not end with a newline. Either my timing is lucky or the BBS buffers my SendPkt data.

I made many assumptions but it works. No, I am not going to spend all year learning how to use Wireshark to verify any of this. :)