Re: ls in color

2023-12-11 Thread David Demelier
On Mon, 2023-12-11 at 08:55 +0100, David Demelier wrote:
> On Fri, 2023-12-08 at 19:45 +0100, Karel Lucas wrote:
> > 
> > 
> > Op 08-12-2023 om 19:42 schreef Theo de Raadt:
> > > Karel Lucas  wrote:
> > > 
> > > > In openBSD V7.4 I would like to see the output of ls in color,
> > > > and
> > > > therefore would like to know how to configure that. The output
> > > > of
> > > > "man
> > > > ls" provides no information about this. Can anyone give me a
> > > > tip?
> > > Black and white are also colours.
> > > 
> > That is not what I had in mind!
> > 
> 
> You can install colorls and alias it to ls.
> 
> https://openports.pl/path/sysutils/colorls
> 

Oops, sorry the mail was stuck in the mailbox and sent very much late
in the party.



Re: ls in color

2023-12-10 Thread David Demelier
On Fri, 2023-12-08 at 19:45 +0100, Karel Lucas wrote:
> 
> 
> Op 08-12-2023 om 19:42 schreef Theo de Raadt:
> > Karel Lucas  wrote:
> > 
> > > In openBSD V7.4 I would like to see the output of ls in color,
> > > and
> > > therefore would like to know how to configure that. The output of
> > > "man
> > > ls" provides no information about this. Can anyone give me a tip?
> > Black and white are also colours.
> > 
> That is not what I had in mind!
> 

You can install colorls and alias it to ls.

https://openports.pl/path/sysutils/colorls

-- 
David



Re: ls in color

2023-12-09 Thread Jean-François Simon

Also can be using parameters for example:

export CLICOLOR=1
export LSCOLORS=ExfxcxdxCxegedabagacad

Jean-François

On 12/8/23 19:47, Mike Larkin wrote:

On Fri, Dec 08, 2023 at 07:41:23PM +0100, Karel Lucas wrote:

Hi all,

In openBSD V7.4 I would like to see the output of ls in color, and therefore
would like to know how to configure that. The output of "man ls" provides no
information about this. Can anyone give me a tip?


pkg_add colorls

alias ls='/usr/local/bin/colorls -GF'





Re: ls in color

2023-12-08 Thread Jan Stary
On Dec 08 19:41:23, cahlu...@planet.nl wrote:
> In openBSD V7.4 I would like to see the output of ls in color, and therefore
> would like to know how to configure that. The output of "man ls" provides no
> information about this. Can anyone give me a tip?

Put your brown goggles on.



Re: ls in color

2023-12-08 Thread Otto Moerbeek
On Fri, Dec 08, 2023 at 07:45:06PM +0100, Karel Lucas wrote:

> 
> 
> Op 08-12-2023 om 19:42 schreef Theo de Raadt:
> > Karel Lucas  wrote:
> > 
> > > In openBSD V7.4 I would like to see the output of ls in color, and
> > > therefore would like to know how to configure that. The output of "man
> > > ls" provides no information about this. Can anyone give me a tip?
> > Black and white are also colours.
> > 
> That is not what I had in mind!

How about green or amber on black?

-Otto





Re: ls in color

2023-12-08 Thread Mike Larkin
On Fri, Dec 08, 2023 at 07:41:23PM +0100, Karel Lucas wrote:
>
> Hi all,
>
> In openBSD V7.4 I would like to see the output of ls in color, and therefore
> would like to know how to configure that. The output of "man ls" provides no
> information about this. Can anyone give me a tip?
>

pkg_add colorls

alias ls='/usr/local/bin/colorls -GF'



Re: ls in color

2023-12-08 Thread Allan Streib
On Fri, Dec 8, 2023, at 13:41, Karel Lucas wrote:

> In openBSD V7.4 I would like to see the output of ls in color, and 
> therefore would like to know how to configure that. The output of "man 
> ls" provides no information about this. Can anyone give me a tip?

You could install colorls from packages, and optionally alias
ls=/usr/local/bin/colorls



Re: ls in color

2023-12-08 Thread Karel Lucas




Op 08-12-2023 om 19:42 schreef Theo de Raadt:

Karel Lucas  wrote:


In openBSD V7.4 I would like to see the output of ls in color, and
therefore would like to know how to configure that. The output of "man
ls" provides no information about this. Can anyone give me a tip?

Black and white are also colours.


That is not what I had in mind!



Re: ls in color

2023-12-08 Thread Theo de Raadt
Karel Lucas  wrote:

> In openBSD V7.4 I would like to see the output of ls in color, and
> therefore would like to know how to configure that. The output of "man
> ls" provides no information about this. Can anyone give me a tip?

Black and white are also colours.



ls in color

2023-12-08 Thread Karel Lucas



Hi all,

In openBSD V7.4 I would like to see the output of ls in color, and 
therefore would like to know how to configure that. The output of "man 
ls" provides no information about this. Can anyone give me a tip?