On Tue, 31 Jul 2007, Robert Anderson wrote:
On 7/31/07, Peder Stray <[EMAIL PROTECTED]> wrote:
On Tue, 31 Jul 2007, Robert Anderson wrote:
On 7/30/07, Peder Stray <[EMAIL PROTECTED]> wrote:
How can i tell if the screen i am using really understands 256 colors
or not? i try 'tput 39' both within screen and outside, both
actually send \e[38
http://www.cs.rice.edu/~scrosby/software/tf256color/src/256colors2.pl
well yes, but that doesn't really tell if screen actually supports
256-colors does it?
Either you see the 256 colors or you don't. That answers your question:
"How can i tell if the screen i am using really understands 256 colors
or not?"
Well, no... it tells wheter screen thinks my terminal understands 256
colors or not by visual inspection.
But I think what you are asking is a different question: whether or not
it can support 256 colors. I don't know.
I know it understands the 38;5;<num>m escape, since it actually maps to a
similar-looking color in the 8 or 16 color space. but why does it not
send them on? As i said, both my screen and xterm-256color terminfo
entries says the understand 256 colors and have setaf-enties to match.
--
Peder Stray
_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users