[pacman-dev] [PATCH 1/3] makepkg: fallback to legacy termcap capabilities

Andres Perera andres.p at zoho.com
Thu Oct 14 13:17:02 EDT 2010

On Thu, Oct 14, 2010 at 12:41 PM, Nezmer <git at nezmer.info> wrote:
> If you're running FreeBSD. The default $TERM in ttyv<int> is cons25(1) and
> it can handle the colours just fine. So I don't know how the hard-coded
> list is relevant.
> (1) I heard this vintage default will change soon.

There's really no stopping at that point; the default terminal in OpenBSD is
"vt220" and it can handle colors, so can Linux's "linux" terminal.

So it's screwing some terminals up vs. replicating ncurses in Bash -- since
that's exactly what ncurses does, it looks at the TERM string and compares it
to a list. Once this "vintage" changes, I guess makepkg is supposed to be
updated, if the second option is any good.

Are you proposing that it should check for all these terminals or just grant
these bonuses to those who link against terminfo?

More information about the pacman-dev mailing list