Sent 30Sep02 from mskowr to kinzler
+---------- Re: [vshnu] no colors ----------
| > http://www.cs.indiana.edu/~kinzler/home/binp/termcolors
| yes it works ok.
| | /usr/local/bin/perl -e 'use Term::ANSIColor; print colored("test\n",
| | "red")'
| yes, the word "test" is in red.
Okay, so far so good ...
| i really want to use vshnu and i guess i'm spolied by color highliting.
vshnu's great with color & I'm sure you can get it to work
| i tried running vshnu with some other terms that and they also don't
| work the way i expected.
Try this now ... within vshnu type ":" to get the "Shell:" prompt, then
type this there:
;print "$ncolors\n"
It should print out a number greater than 1. If not, your termcap
definition for your terminal isn't claiming color capabilities.
Vshnu believes what your termcap says.
If this is the problem, you may be able to set your terminal type (ie TERM
environment variable) to something like "xterm-16color" or "color_xterm"
or something like that instead of just "xterm" to get it to work --
see your termcap file (usually /etc/termcap or /usr/share/misc/termcap)
for what's available.
--
from the brain of Steve Kinzler /o)\ steve@...
an organ with a mind of its own \(o/ www.kinzler.com
Progeny upwind / demitasse carnivore defile / patentee wattle.