From owner-freebsd-current Wed Aug 28 12: 8: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA0D837B408 for ; Wed, 28 Aug 2002 12:07:59 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0ECB43EA3 for ; Wed, 28 Aug 2002 12:07:54 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g7SJ6sk7038510; Wed, 28 Aug 2002 14:06:54 -0500 (CDT) (envelope-from dan) Date: Wed, 28 Aug 2002 14:06:54 -0500 From: Dan Nelson To: Jens Schweikhardt Cc: Sheldon Hearn , freebsd-current@FreeBSD.ORG Subject: Re: CURRENT's termcap broken Message-ID: <20020828190654.GA6528@dan.emsphone.com> References: <20020828124821.GA6231@starjuice.net> <20020828190424.A1294@schweikhardt.net> <20020828173532.GA64845@starjuice.net> <20020828203206.C1294@schweikhardt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020828203206.C1294@schweikhardt.net> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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. If "tput Co" prints '8', your termcap entry supports colors. If "ldd usr/local/bin/mutt" shows libslang instead of libncurses, it'll display colors no matter what. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message