[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no colour in vt220 termcap?



Quoting Benjamin Lewis (bclewis@cs.sfu.ca):
> Andreas Kahari wrote:
> 
> > On Tue, Feb 17, 2004 at 12:08:57AM -0800, Benjamin Lewis wrote:
> >> When my TERM is set to vt220 I don't get any colour in curses
> >> applications
> >> -- a work-around that seems to work is setting TERM to pcvt25 or screen
> >> (and possibly others).  Is there some reason colour is not enabled in the
> >> vt220 termcap entry by default?  Is there a more ideal solution to this
> >> problem for me?  (I'm not really familiar with termcap entry syntax.)
> >>
> >> (Still tryin' to get nethack working nicely.  It works with DEC
> >> graphics, which is enough to make it playable for me, although I'd
> >> prefer the IBM fonts.  Old habits and all...)
> >
> > The vt220 terminal does not support colour.
> 
> Well, probably it's not a "real vt220 terminal".  This is the default
> install on an i366 box, and it uses the vga driver.  The default console
> definitely does support ansi colour, and the TERM is set to vt220.  Perhaps
> it should be set to something else?

My vt420 and 520 have color...  A quick look shows that there are entries
in Net|Open|Free BSD.  Solaris 8|9|10b don't have it (I suppose 1994 is after
the last time they updated a termcap).

Most Linux distros do, I believe.

And it works fine on a vt520.  Dunno about those "pee cee" things.