Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Aug 2000 22:06:53 -0400
From:      Chris <kingsqueak@kingsqueak.org>
To:        "M. Avillez" <mavillez@amnh.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Color ls in xterm
Message-ID:  <20000826220653.B71794@kingsqueak.org>
In-Reply-To: <39A868FF.1CB9232B@amnh.org>; from mavillez@amnh.org on Sat, Aug 26, 2000 at 08:03:59PM -0500
References:  <39A868FF.1CB9232B@amnh.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 26, 2000 at 08:03:59PM -0500, M. Avillez wrote:
> Hi All,
> 
> I was able to get colors in the console using "ls -G"
> 
> But I aint able to get colors on xterm or rxvt.
> 
> Any suggestions?
> 

Sure, add this to your shell's rc file

if (test $DISPLAY); then
   export TERM=xterm-color
fi

Then when you startx next go TERM will be set appropriately.



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?20000826220653.B71794>