Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2002 13:46:05 -0700
From:      "David O'Brien" <dev-null@NUXI.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        Jens Schweikhardt <schweikh@schweikhardt.net>, Sheldon Hearn <sheldonh@starjuice.net>, freebsd-current@FreeBSD.org
Subject:   Re: CURRENT's termcap broken
Message-ID:  <20020829204605.GC55107@dragon.nuxi.com>
In-Reply-To: <20020828190654.GA6528@dan.emsphone.com>
References:  <20020828124821.GA6231@starjuice.net> <20020828190424.A1294@schweikhardt.net> <20020828173532.GA64845@starjuice.net> <20020828203206.C1294@schweikhardt.net> <20020828190654.GA6528@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 28, 2002 at 02:06:54PM -0500, Dan Nelson wrote:
> In the last episode (Aug 28), Jens Schweikhardt said:
> > On Wed, Aug 28, 2002 at 07:35:32PM +0200, Sheldon Hearn wrote:
> > # On (2002/08/28 19:04), Jens Schweikhardt wrote:
> > # > Yes, use plain TERM=xterm. It's got color now as it should. I'm
> > # > thinking of removing xterm-color if I can't resolve the
> > # > enter_alt_charset_mode stuff. Let me know if TERM=xterm does not
> > # > work as expected in mutt et al. I'll post a minor HEADS UP to
> > # > current@.
> > # 
> > # Doesn't work for centericq or mutt.
> > 
> > Are you sure? I use mutt too (in an rxvt), and TERM=xterm works
> > wonderfully with colors. Hang on, will test mutt in plain xterm...
> > yes, works there too.
> 
> Older versions of the mutt port used the slang terminal library, which
> had (has?) a bug that assumed that all xterms supported color.  It
> didn't matter what your termcap says.

This is *totally* UNTRUE:

/usr/local/bin//mutt:
        libslang.so => /usr/local/lib/libslang.so (0x280e5000)
        libm.so.2 => /usr/lib/libm.so.2 (0x28148000)
        libssl.so.2 => /usr/lib/libssl.so.2 (0x28167000)
        libcrypto.so.2 => /usr/lib/libcrypto.so.2 (0x28199000)
        libxpg4.so.3 => /usr/lib/libxpg4.so.3 (0x28263000)
        libintl.so.2 => /usr/local/lib/libintl.so.2 (0x28265000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2826c000)
        libncurses.so.5 => /usr/lib/libncurses.so.5 (0x28340000)
        libc.so.5 => /usr/lib/libc.so.5 (0x28382000)

note the use of libslang.  TERM=xterm and not having COLORTERM set, mutt
will not use colors.  TERM=xterm and COLORTERM=yes, mutt will use colors.
TERM=xterm-color (COLORTERM set or not), mutt will use colors.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020829204605.GC55107>