On 2006-04-21, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> in respect of colorschemes: What is the "best" setting for the TERM
> environmental variable ? I did a ":help TERM" but found nothing which
> would answer my question.
I guess it would be "xterm-256color", if your xterm supports that
many colors. It probably does. Otherwise, "xterm-88color" or
"xterm-16color" would still give you more than the 8 colors
supported by "xterm-color" or "xterm".
> The colorscheme section of that pages
> stated that "xterm-color" would have color, but my current settings
> are "TERM=xterm" and I do have (less? only a few?) colors...
>
> Unfortunately I only have the compiled version of the terminfo
> database...
To see the terminfo database description of your terminal ($TERM) on
a Linux system, execute "infocmp" at the shell prompt. The third
line of output from that command should contain the numerical
parameters and their values; "colors#" will have the number of
colors supported.
To see what terminals are supported by your terminfo database,
execute "toe" (or maybe "toe | grep xterm") for a listing of
terminal types and their descriptions.
You can find out more about the terminfo database and tools to
access and manipulate it from these man pages:
terminfo
infocmp
tic
toe
Making a personal, customizable copy of the terminfo database entry
for your terminal isn't too difficult, should you need to so. I
wouldn't think you'd need to do that on a Linux system, though.
HTH,
Gary
--
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | Wireless Division
| Spokane, Washington, USA