Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2002 16:57:49 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Roman Neuhauser <neuhauser@mobil.cz>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: terminal color problems
Message-ID:  <20020220225749.GA31497@dan.emsphone.com>
In-Reply-To: <20020220230139.GS418@roman.mobil.cz>
References:  <20020215213729.A3410@lymond.lvcablemodem.com> <20020218182502.GR418@roman.mobil.cz> <20020220194448.GD4350@dan.emsphone.com> <20020220230139.GS418@roman.mobil.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 21), Roman Neuhauser said:
> From: Dan Nelson <dnelson@allantgroup.com>
> > In the last episode (Feb 18), Roman Neuhauser said:
> > > From: Dale Morris <dlm@well.com>
> > > > #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




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