From owner-freebsd-questions Wed Feb 20 14:57:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 3315837B416 for ; Wed, 20 Feb 2002 14:57:54 -0800 (PST) Received: (from dan@localhost) by dan.emsphone.com (8.11.6/8.11.6) id g1KMvnN86788; Wed, 20 Feb 2002 16:57:49 -0600 (CST) (envelope-from dan) Date: Wed, 20 Feb 2002 16:57:49 -0600 From: Dan Nelson To: Roman Neuhauser Cc: freebsd-questions@FreeBSD.ORG Subject: Re: terminal color problems Message-ID: <20020220225749.GA31497@dan.emsphone.com> References: <20020215213729.A3410@lymond.lvcablemodem.com> <20020218182502.GR418@roman.mobil.cz> <20020220194448.GD4350@dan.emsphone.com> <20020220230139.GS418@roman.mobil.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020220230139.GS418@roman.mobil.cz> User-Agent: Mutt/1.3.27i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error Sender: owner-freebsd-questions@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 (Feb 21), Roman Neuhauser said: > From: Dan Nelson > > In the last episode (Feb 18), Roman Neuhauser said: > > > From: Dale Morris > > > > #1 I have some sort of termcap problem. My terminal in Xwindows > > > > doesn't have color (xterm) when I use mutt or vim, but rxvt > > > > does. In the console, muttrc colors don't work properly and > > > > when I'm in rxvt I don't have color in vim, but I have color > > > > with vim in the console. ??? I'm sure there's some easy > > > > solution to this but it's way beyond me. Also, my backspace > > > > keys don't work properly in vim. Yet they work properly > > > > otherwise. > > > > > > FreeBSD termcap database is fucked up. Get Thomas E. Dickey's > > > termcap.src.gz. > > > > easier solution: set TERM=xterm-color > > easier? yes. correct? no. color *will* work, but other stuff will > break. xterm-color is *not* the correct description of the terminal. Considering that xterm-color is simply xterm-color|xterm-co|xterm with ANSI colors:\ :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:tc=xterm: (i.e. it's the xterm entry plus color codes) I can't imagine what would break. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message