|
From: | Peder Stray |
Subject: | Re: 256 colors |
Date: | Tue, 31 Jul 2007 23:25:33 +0200 (CEST) |
On Tue, 31 Jul 2007, Robert Anderson wrote:
On 7/31/07, Peder Stray <address@hidden> wrote:On Tue, 31 Jul 2007, Robert Anderson wrote:On 7/30/07, Peder Stray <address@hidden> 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[38http://www.cs.rice.edu/~scrosby/software/tf256color/src/256colors2.plwell 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
[Prev in Thread] | Current Thread | [Next in Thread] |