Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
wrym
Magician


Joined: 06 Jul 2007
Posts: 349
Location: The big palace, My own lil world

PostPosted: Sat Jun 27, 2009 11:56 pm   

color syntax & cmud generated lines
 
1) from untitled session, enable color syntax, and configure foreground color for your mud, in my case |fF, and numbers for the various colors
2) from command line "#print this is a test"
3) select that line, ctrl+c, and paste it into the command line
4) notice how the "F" was not expanded into a number.
5) from command line "#print test %ansi(red) test"
6) select that line, ctrl+c, and paste it into the command line
7) notice how the 2n'd color, red the "F" was correctly expanded into a number, but the first one still was left as an "F"

I'm also getting the same problem for background colors.


Can anyone confirm this problem?
_________________
"To the engineer, all matter in the universe can be placed into one of two categories: (1) things that need to be fixed, and (2) things that will need to be fixed after you've had a few minutes to play with them" - Scott Adams, The Dilbert Principle
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Jun 29, 2009 6:25 pm   
 
Yep, confirmed. The issue is that #PRINT is displaying the text on the screen using a Style. And there is no way to convert a Style color into an ANSI color since Styles can use any 24-bit color value. The %ansi(red) generates a specific ANSI color, so it *can* be converted.

However, you are correct that it shouldn't just insert the |fF just because of the style, so I'll add that to the bug list.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net