Sent this to Andres, forwarding... ----- Forwarded message from Nezmer <git@nezmer.info> ----- Date: Thu, 14 Oct 2010 20:34:15 +0300 From: Nezmer <git@nezmer.info> To: Andres Perera <andres.p@zoho.com> Subject: Re: [pacman-dev] [PATCH 1/3] makepkg: fallback to legacy termcap capabilities User-Agent: Mutt/1.5.20 (2009-06-14) On Thu, Oct 14, 2010 at 12:47:02PM -0430, Andres Perera wrote:
On Thu, Oct 14, 2010 at 12:41 PM, Nezmer <git@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?
First of all, Don't assume I know what I'm talking about. If I say something stupid, please correct me. Currently, makepkg with colours work just fine in FreeBSD's default cons25 term. The patch will assume cons25 can't handle colours and will disable them, right? So, from a user prospective. This does not improve the experience in FreeBSD. Feel free to shout at my stupidity. * PS: xterm is the new default in 9-CURRENT. Hopefully It will make it to STABLE soon If It didn't already. ----- End forwarded message -----