From owner-freebsd-questions Mon Jan 14 9:35: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from relay3-gui.server.ntli.net (relay3-gui.server.ntli.net [194.168.4.200]) by hub.freebsd.org (Postfix) with ESMTP id 1ED6837B41F for ; Mon, 14 Jan 2002 09:35:01 -0800 (PST) Received: from pc3-card4-0-cust122.cdf.cable.ntl.com ([62.254.251.122] helo=rhadamanth.private.submonkey.net ident=exim) by relay3-gui.server.ntli.net with esmtp (Exim 3.03 #2) id 16QB0e-0000Eh-00; Mon, 14 Jan 2002 17:35:00 +0000 Received: from setantae by rhadamanth.private.submonkey.net with local (Exim 3.34 #1) id 16QB0P-0001ED-00; Mon, 14 Jan 2002 17:34:45 +0000 Date: Mon, 14 Jan 2002 17:34:45 +0000 From: Ceri To: Anthony Campbell Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Still can't get color in xterm properly. Message-ID: <20020114173445.GA4614@rhadamanth> Mail-Followup-To: Ceri , Anthony Campbell , freebsd-questions@FreeBSD.ORG References: <20020114170518.GA7846@debian.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020114170518.GA7846@debian.local> User-Agent: Mutt/1.3.25i 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 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