Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2002 08:55:58 +0200
From:      Frank Heitmann <fh31415@gmx.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: xterm and colors
Message-ID:  <20020928085558.D307@host1.myhost.mydomain>
In-Reply-To: <20020928005410.A37493@insightbb.com>; from bryanc2000@insightbb.com on Sat, Sep 28, 2002 at 12:54:10AM -0500
References:  <20020928005410.A37493@insightbb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 28, 2002 at 12:54:10AM -0500, Bryan Cassidy wrote:

> How do i set the colors so when I just use "ls" I get the color
> directories and the rest of colors? I just want the basic colors
> that I can get without having to do alot of configuring.
Have you set your TERM environment variable to 'xterm-color' ?

The way to do this differs depending on the shell you use, if it's
bash just type:
export TERM=xterm-color

if it's csh type:
setenv TERM xterm-color

(There are more shells, look at the man page of your shell for more
details!)

Hope that helps,
Cheers and Good Morning :)
Frank

P.S. I have read that in new versions of FreeBSD the TERM variable
is set to xterm-color by default, but I have forgotten if this is
already done in -stable or if this is done in -current - and I
don't know which version of FreeBSD you are running :)

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?20020928085558.D307>