Subject: Re: NetBSD termcap vs. Xterm vs. libcurses and/or ncurses (was:
To: NetBSD Userlevel Technical Discussion List <tech-userlevel@NetBSD.ORG>
From: Dave <>
List: tech-userlevel
Date: 03/23/2004 17:59:55
On Tue, 23 Mar 2004, Greg A. Woods wrote:

> [ On Monday, March 22, 2004 at 12:19:58 (-0800), Dave wrote: ]
> > Subject: Re: ncurses vs. BSD curses
> >
> > 1) It seems that it's up to the curses library to decide if a program may
> > or may not use color.  For example, if you use compile Frotz to use
> > ncurses on a NetBSD machine, it won't let you use color on an xterm.
> > Why?  Xterm on NetBSD uses termcap, and for some funny reason ncurses
> > doesn't want to play nice with termcap.
> That makes no sense to me at all.
> Let's go back over the basics, though of course you may know some or all
> of this:

[snip curses basics and lots of depressing stuff about standards and

Ugh.  So you're saying that I'm probably doing the Right Thing with
BSD-curses, but ncurses is using the wrong termcap/terminfo database?

David Griffith