Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2002 17:34:45 +0000
From:      Ceri <setantae@submonkey.net>
To:        Anthony Campbell <ac@acampbell.org.uk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Still can't get color in xterm properly.
Message-ID:  <20020114173445.GA4614@rhadamanth>
In-Reply-To: <20020114170518.GA7846@debian.local>
References:  <20020114170518.GA7846@debian.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 14, 2002 at 05:05:18PM +0000, Anthony Campbell wrote:
> I can set 
> 
> 	TERM=xterm-color; export TERM
> 
> In an  xterm window and it will work for that window, but not in others.
> If I put it in $HOME/.profile or in /etc/profile it causes wrong symbols
> to appear in the consoles and doesn't work in X.
> 
> Where is one supposed to put it so that it is the default for X?

This looks like you want something more like :

if [ "$TERM" == "xterm" ]; then
        export TERM=xterm-color
fi

-- 
keep a mild groove on

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?20020114173445.GA4614>