Chris Phillips wrote:
On Wed, 2003-02-26 at 05:13, Thanos Tsouanas wrote:
Ive never managed to see colored output on an Xterm on FreeBSD..
i mean, the -bg, -fg <color> switches work fine...
but i cant see the colors of vim, nor when i ls -G etc etc.
Try changing your TERM to xterm-color.
I too, would like to see similar colours to what I used to, when I was
running Mandrake. For example, you'd get different file types shown in
different colours (when doing "ls") & even in vi you'd get code coloured
in a nice & helpful fashion. Editing HTML was a joy!
My favoured shell is zsh (it's what we use at work, so I am sticking
with it) & I've searched for some .zshrc examples but not had any great
joy I'm afraid.
Please can somebody point me in the right direction?
The TERM setting isn't the only thing you need to do. ls doesn't use colors
by default, so you need to configure it to use colors. vi is the same
(as far as I know). See the man page for each program that you want to see
colors with, to see how to configure it for color. Most of these programs
will let you set an environment varialbe in (in your case) the .zshrc file.
For example, in ls you set CLICOLOR and LSCOLORS.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message