[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell colors
On 2002-03-18 17:10:55 +0100, Rob Sessink wrote:
> On Sun, 17 Mar 2002 23:49:58 +1100
> Dave Harrison <D.Harrison@isu.usyd.edu.au> wrote:
> > Im only just starting out with Open BSD so I am trying to acclimatize
> > with the little things at the moment.
> > I am not getting colors in my shell. In Debian I used to start of
> > dircolors and then use the flags of programs like ls to see the colored
> > lists etc and vim would do its syntax highlighting.
> for color support in your shell set xterm-color, rcons-color or ansi in
> $TERM or set it with tset
For a permanent fix put 'XTerm*termName: xterm-color' in your
> if you want colored output of ls use the colorls package in the ports
> tree. 'colorls -G' should give you colorized output, look also at
> manpage for colorls to change te colors
Or use the gnuls package, the ls(1) you're used to from Linux, part of
the fileutils port, installs as gls, end set up an alias in your shell.
> the installed lynx already has color output, but the vim that comes with
> openbsd is colorized. Look at the ports tree for another 'vim'
OpenBSD uses nex/nvi version 1.79.
Have a nice day
Morten Liebach <firstname.lastname@example.org>, webpages at http://kallisti.dk/
PGP-key: http://kallisti.dk/ml.asc or Key-ID 0xD796A4EB on keyserver.net