ANSI colours not displaying

Posted by StelardActek on Mon 05 Nov 2001 11:06 PM — 10 posts, 31,018 views.

Australia #0
I've noticed that at times, when using ANSI colours and wrapping, the colours don't display.
My case in point is one where a line has been wrapped to make five lines. The ANSI code is neard, but not at, the beginning of that fifth line, yet MUSHclient doesn't display it. Changing the wrapping value from 80 to 81 makes no difference to the positioning of the text on this particular line, but now the colour shows up correctly.
What's going on?

-- Stelard Actek
Australia Forum Administrator #1
Very strange. I have not heard of this problem before. Can you tell me which version of MUSHclient you are using, and where I can connect to, to reproduce the problem?

Or, turn on "debug packets" (from the Edit menu), obtain the room description (or whatever it was), and turn off "debug packets" again. Then post the resulting output here (or email it to me).

Don't leave the debug packets on for longer than necessary or it will slow the program right down and use a lot of memory.
Australia #2
I'm using MC 3.17, and I'll get the debug packets.
Yes, it's a room description, but on a MUCK I now only
use for testing Multi-User Forth scripts. As such, I can't
tell you how to connect, since I only run it on my home
machine.
Still, it's a problem that might effect an actual MUCK.
Australia Forum Administrator #3
I have confirmed that MUSHclient does exactly as you describe. It seems that it is getting a line transition (line wrapping) at the exact character that has the ANSI code for the bold character (ESC [1m) - somehow starting a new line is causing it to discard the style change.

This is clearly a bug, and I will look into finding a fix for it. :)

I have added this to the bug/suggestion database as #418.
Amended on Wed 07 Nov 2001 04:13 AM by Nick Gammon
USA #4
I am new to this forum and I have a problem with ansi on one of my Mu*s as well. The mu* admin tell me that there is ansi color just about everywhere on it, but the only time I see color is when I look at the WHO list there. Can you help me?

Nala5065
Australia Forum Administrator #5
ANSI normally works fine - can you give the MUD address/port and I'll try it.

You may have to enable it - on quite a few MUDs it is an option whether or not you get the ANSI codes.
Amended on Mon 19 Aug 2002 03:48 AM by Nick Gammon
USA #6
I have it enabled there and the address is: 161.57.201.4 4201. Thank you for responding so quickly to my problem.

Nala5065
Australia Forum Administrator #7
I suppose it depends on what you mean by 'colour everywhere'. I connected as a guest and saw some colours, sure the WHO list had a coloured line, but the help rooms had some colours too (see below, purple text, bold white text). It might be that you are expecting more colours than you are getting. If not, can you say which room you expect to see colours in (and how to get there), and what colours you are expecting that you are not getting?


WHO
Player Name     Sta  On For   Idle  Doing                                   
Guest-1        (NEW)  00:07     0s  
Galin          (AFK)  02:09     2h  All reported bugs corrected
Mudnet         (IC)  10d 21:46     8h  See `mnhelp' and www.mudnet.org
There are 3 players connected.
l
Newbie Help Room #1 <Nexus>
The following rooms, and much of the code on the MUSH utilize color and Ansi
 graphics. To set these flags on yourself type @SET ME=COLOR and then @SET
 ME=ANSI. These flags will allow you to see the beautiful colorized ansi text
 and graphics. More help on this can be found in NEWS COLORS. Color is also
 dependant on your telnet client and terminal settings. There are several
 clients out there that can make your mush life alot eaiser. For more
 information on this topic, type NEWS CLIENTS. In the following rooms commands
 that you might find helpful have been placed in color in order to make them
 more identifiable to you.

Obvious exits:
Forward-<F>  Backward-<B>  
f
You continue onward.
Newbie Help Room #2 <Nexus>
This room and the following rooms are designed to help players new to MUSHing
 to gain a basic understanding of MUSH commands and general workings of
 Battlestar MUSH. There are several different sources of help and information
 available for in case you might have any questions. These systems are called
 ,Help, +HELP, NEWS, and lastly EVENTS. These sources are multileveled
 providing a wealth of of useful information to assist you. To utilize them
 type their name. ie. EVENTS.

Obvious exits:
Forward-<F>  Backward-<B>  

Amended on Tue 20 Aug 2002 12:41 AM by Nick Gammon
Australia Forum Administrator #8
You might want to tell them too that the news is "NEWS COLOR" not "NEWS COLORS" as specified in the newbie help room. Having incorrect help in one of the very first rooms is a bit offputting for newbies.
USA #9
ok I will let them know. Thanks again for helping me with the situation. I guess I was expecting to see more colors than I was seeing.

Nala5065