MudBytes
» MUDBytes Community » Codebase Specific » DikuMUD » Rom » RaM » Lope's Colour Codes
Pages: << prev ... 2, 3, 4, 5, 6 next >>
Lope's Colour Codes
David Haley
Wizard






Group: Members
Posts: 5,727
Joined: Jun 30, 2007

Go to the bottom of the page Go to the top of the page
#76 Posted Feb 16, 2009, 1:15 pm

At this point I think the best thing to do, if this really is an issue for you, is to figure out what exactly is going on regarding the interaction between ls, terminfo, termcap, etc. We don't know if ls is the one keeping separate configuration files, we don't know if the library operates by saying "give me the color red", etc.
.........................
-- d.c.h --
BabbleMUD Project (custom codebase)
Legends of the Darkstone (head coder)
http://david.the-haleys.org
.........................

quixadhal
Wizard






Group: Members
Posts: 1,256
Joined: Oct 17, 2007

Go to the bottom of the page Go to the top of the page
#77 Posted Feb 16, 2009, 1:33 pm

Heh, it's an issue in much the same way it would be an issue if I got a new television and it refused to display the Home Shopping Network.  I don't particularly care about HSN, but it would bug me to no end to have a new TV that refuses to show a channel my old TV showed just fine.
.........................
http://i302.photobucket.com/albums/nn96/quixadhal/Alelord_banner.png

David Haley
Wizard






Group: Members
Posts: 5,727
Joined: Jun 30, 2007

Go to the bottom of the page Go to the top of the page
#78 Posted Feb 16, 2009, 1:43 pm

Have you established that nothing at all shows the kind of red you're looking for when you log in using that termtype? I'm still not convinced that this is a "bug", and might have been a configuration decision (and were it a bug, it could be from one of several components).
.........................
-- d.c.h --
BabbleMUD Project (custom codebase)
Legends of the Darkstone (head coder)
http://david.the-haleys.org
.........................

quixadhal
Wizard






Group: Members
Posts: 1,256
Joined: Oct 17, 2007

Go to the bottom of the page Go to the top of the page
#79 Posted Mar 2, 2009, 4:19 am

Just to tendorize the dead horse so it makes better glue....

Here are a pair of screenshots showing my investigation into a mismatch between the ANSI sequence values (as seen in Putty) and the xterm sequence values (also as seen in Putty).

http://s302.photobucket.com/albums/nn96/quixadhal/th_xterm256_mismatch.png vs. http://s302.photobucket.com/albums/nn96/quixadhal/th_xterm256_mismatch_adjusted.png

The first one assumes the RGB values for the plain ANSI values and the extended xterm values use the same 6 points from 0 to 255.... namely, 0x00,0x55,0x88,0xBB,0xDD,0xFF.

The second sets the RGB values for the plain ANSI codes to be 0x00,0x55,0x88,0xBB,0xDD,0xFF, but uses the xterm documentation values for the xterm extended values of 0x00,0x5F,0x87,0xAF,0xD7,0xFF.

This appears to be correct, since if you examine the solid backgrounds of the text at the bottom, you'll see the yellows and reds are not quite the same.

Obviously, the actual colors show will be what they will be, regardless of anything else... but it does affect what the "nearest match" code selects, as you can see.  Does anyone care?  Probably not.

Which one looks better?  Hmmm, you decide. :)
.........................
http://i302.photobucket.com/albums/nn96/quixadhal/Alelord_banner.png

Scandum
Wizard






Group: Members
Posts: 1,105
Joined: Aug 8, 2006

Go to the bottom of the page Go to the top of the page
#80 Posted Mar 2, 2009, 9:41 am

Keep in mind there are also bold background colors using: \e[100m to \e[107m

Pages:<< prev ... 2, 3, 4, 5, 6 next >>

Valid XHTML 1.1! Valid CSS!