./sysutils/colorls [ls(1) that can use color to display file attributes]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 6.0, Package name: colorls-6.0
Maintained by: Christian Weisgerber
Master sites:
Description
This is a simple hack, taken from FreeBSD, to OpenBSD's ls(1) to
use ANSI sequences to display file attributes in color. There is
a -G flag (somewhat similar to the -F flag). Take a look at the
man page for details. The program is called "colorls", so you may
want to use an alias such as ls=${PREFIX}/bin/colorls.

Note that you need a color-capable terminal to enable colorls. This
means you should set your TERM to "wsvt25" on the wscons(4) console
and to "sun-color" when using the Sun console, not "vt220" and
"sun", respectively, which are not color-capable in termcap(5).


Filesize: 13.127 KB
Version History (View Complete History)
  • (2016-08-06) Updated to version: colorls-6.0
  • (2016-04-07) Updated to version: colorls-5.9
  • (2015-03-16) Updated to version: colorls-5.7
  • (2014-11-30) Updated to version: colorls-5.6
  • (2013-08-18) Updated to version: colorls-5.4
  • (2013-03-23) Updated to version: colorls-5.3
  • (2011-11-12) Updated to version: colorls-5.0
  • (2010-10-22) Updated to version: colorls-4.8
  • (2010-10-19) Updated to version: ls-4.8
  • (2009-12-04) Updated to version: colorls-4.6p0
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2016-08-05 13:52:19 by Christian Weisgerber | Files touched by this commit (5)
Log message:
sync with OpenBSD 6.0
   2016-08-05 13:52:19 by Christian Weisgerber | Files touched by this commit (5)
Log message:
sync with OpenBSD 6.0
   2016-08-05 13:52:19 by Christian Weisgerber | Files touched by this commit (5)
Log message:
sync with OpenBSD 6.0
   2016-08-05 13:52:19 by Christian Weisgerber | Files touched by this commit (5)
Log message:
sync with OpenBSD 6.0
   2016-08-05 13:52:19 by Christian Weisgerber | Files touched by this commit (5)
Log message:
sync with OpenBSD 6.0
   2016-04-06 12:53:16 by Christian Weisgerber | Files touched by this commit (8)
Log message:
Update to 5.9, which has pledge(2) and UTF-8 improvements.
From Lauri Tirkkonen <lotheac@iki.fi>.
   2016-04-06 12:53:16 by Christian Weisgerber | Files touched by this commit (8)
Log message:
Update to 5.9, which has pledge(2) and UTF-8 improvements.
From Lauri Tirkkonen <lotheac@iki.fi>.
   2016-04-06 12:53:16 by Christian Weisgerber | Files touched by this commit (8)
Log message:
Update to 5.9, which has pledge(2) and UTF-8 improvements.
From Lauri Tirkkonen <lotheac@iki.fi>.
   2016-04-06 12:53:16 by Christian Weisgerber | Files touched by this commit (8)
Log message:
Update to 5.9, which has pledge(2) and UTF-8 improvements.
From Lauri Tirkkonen <lotheac@iki.fi>.
   2016-04-06 12:53:16 by Christian Weisgerber | Files touched by this commit (8)
Log message:
Update to 5.9, which has pledge(2) and UTF-8 improvements.
From Lauri Tirkkonen <lotheac@iki.fi>.
   2016-04-06 12:53:16 by Christian Weisgerber | Files touched by this commit (8)
Log message:
Update to 5.9, which has pledge(2) and UTF-8 improvements.
From Lauri Tirkkonen <lotheac@iki.fi>.
   2016-04-06 12:53:16 by Christian Weisgerber | Files touched by this commit (8)
Log message:
Update to 5.9, which has pledge(2) and UTF-8 improvements.
From Lauri Tirkkonen <lotheac@iki.fi>.
   2016-04-06 12:53:16 by Christian Weisgerber | Files touched by this commit (8)
Log message:
Update to 5.9, which has pledge(2) and UTF-8 improvements.
From Lauri Tirkkonen <lotheac@iki.fi>.
   2015-10-30 08:12:42 by Anthony J. Bentley | Files touched by this commit (6)
Log message:
Calculate Unicode column widths correctly.
ok naddy@ (maintainer)
   2015-10-30 08:12:42 by Anthony J. Bentley | Files touched by this commit (6)
Log message:
Calculate Unicode column widths correctly.
ok naddy@ (maintainer)
   2015-10-30 08:12:42 by Anthony J. Bentley | Files touched by this commit (6)
Log message:
Calculate Unicode column widths correctly.
ok naddy@ (maintainer)
   2015-10-30 08:12:42 by Anthony J. Bentley | Files touched by this commit (6)
Log message:
Calculate Unicode column widths correctly.
ok naddy@ (maintainer)
   2015-10-30 08:12:42 by Anthony J. Bentley | Files touched by this commit (6)
Log message:
Calculate Unicode column widths correctly.
ok naddy@ (maintainer)
   2015-10-30 08:12:42 by Anthony J. Bentley | Files touched by this commit (6)
Log message:
Calculate Unicode column widths correctly.
ok naddy@ (maintainer)
   2015-06-18 14:43:01 by Christian Weisgerber | Files touched by this commit (2)
Log message:
Sync with FreeBSD: When doing "ls -G /path/to/symlink", use the symlink
color instead of the color of the link target.
   2015-06-18 14:43:01 by Christian Weisgerber | Files touched by this commit (2)
Log message:
Sync with FreeBSD: When doing "ls -G /path/to/symlink", use the symlink
color instead of the color of the link target.
   2015-03-16 08:17:48 by Christian Weisgerber | Files touched by this commit (3)
Log message:
Update to 5.7.
Stop using <tzfile.h>.  Based on ls(1), so apply the same changes here.
   2015-03-16 08:17:48 by Christian Weisgerber | Files touched by this commit (3)
Log message:
Update to 5.7.
Stop using <tzfile.h>.  Based on ls(1), so apply the same changes here.
   2015-03-16 08:17:48 by Christian Weisgerber | Files touched by this commit (3)
Log message:
Update to 5.7.
Stop using <tzfile.h>.  Based on ls(1), so apply the same changes here.
   2015-01-30 09:46:46 by Christian Weisgerber | Files touched by this commit (2)
Log message:
There is no compelling reason to build this as a static executable.
   2015-01-30 09:46:46 by Christian Weisgerber | Files touched by this commit (2)
Log message:
There is no compelling reason to build this as a static executable.
   2014-11-29 12:16:48 by Christian Weisgerber | Files touched by this commit (5)
Log message:
sync with OpenBSD 5.6
   2014-11-29 12:16:48 by Christian Weisgerber | Files touched by this commit (5)
Log message:
sync with OpenBSD 5.6
   2014-11-29 12:16:48 by Christian Weisgerber | Files touched by this commit (5)
Log message:
sync with OpenBSD 5.6
   2014-11-29 12:16:48 by Christian Weisgerber | Files touched by this commit (5)
Log message:
sync with OpenBSD 5.6
   2014-11-29 12:16:48 by Christian Weisgerber | Files touched by this commit (5)
Log message:
sync with OpenBSD 5.6
   2011-06-23 16:50:30 by Christian Weisgerber | Files touched by this commit (137)
Log message:
Cope with bsd.man.mk changes and install source man pages.
While here, also update some PLISTs, fix PREFIX use, etc.
ok landry@
   2011-06-23 16:50:30 by Christian Weisgerber | Files touched by this commit (137)
Log message:
Cope with bsd.man.mk changes and install source man pages.
While here, also update some PLISTs, fix PREFIX use, etc.
ok landry@
   2011-06-23 16:50:30 by Christian Weisgerber | Files touched by this commit (137)
Log message:
Cope with bsd.man.mk changes and install source man pages.
While here, also update some PLISTs, fix PREFIX use, etc.
ok landry@
   2010-10-22 07:45:02 by Christian Weisgerber | Files touched by this commit (1)
Log message:
oops, restore package name; from RD Thrush
   2010-10-19 08:37:01 by Christian Weisgerber | Files touched by this commit (2)
Log message:
sync with 4.8, no need for groff
   2010-10-19 08:37:01 by Christian Weisgerber | Files touched by this commit (2)
Log message:
sync with 4.8, no need for groff
   2010-10-19 01:43:05 by Marc Espie | Files touched by this commit (132)
Log message:
USE_GROFF=Yes
   2009-12-04 08:44:44 by Nicholas Marriott | Files touched by this commit (2)
Log message:
TERM=xterm now has colour by default in -current, so change the notes in DESCR
to talk about sun/sun-color instead.
ok naddy
   2009-12-04 08:44:44 by Nicholas Marriott | Files touched by this commit (2)
Log message:
TERM=xterm now has colour by default in -current, so change the notes in DESCR
to talk about sun/sun-color instead.
ok naddy
   2009-10-29 14:10:39 by Christian Weisgerber | Files touched by this commit (6)
Log message:
sync with 4.6 and drop mention of xterm-xfree86
   2009-10-29 14:10:39 by Christian Weisgerber | Files touched by this commit (6)
Log message:
sync with 4.6 and drop mention of xterm-xfree86
   2009-10-29 14:10:39 by Christian Weisgerber | Files touched by this commit (6)
Log message:
sync with 4.6 and drop mention of xterm-xfree86
   2009-10-29 14:10:39 by Christian Weisgerber | Files touched by this commit (6)
Log message:
sync with 4.6 and drop mention of xterm-xfree86
   2009-10-29 14:10:39 by Christian Weisgerber | Files touched by this commit (6)
Log message:
sync with 4.6 and drop mention of xterm-xfree86
   2009-10-29 14:10:39 by Christian Weisgerber | Files touched by this commit (6)
Log message:
sync with 4.6 and drop mention of xterm-xfree86
   2009-02-14 09:39:28 by Christian Weisgerber | Files touched by this commit (5)
Log message:
sync with -current ls
   2009-02-14 09:39:28 by Christian Weisgerber | Files touched by this commit (5)
Log message:
sync with -current ls
   2009-02-14 09:39:28 by Christian Weisgerber | Files touched by this commit (5)
Log message:
sync with -current ls
   2009-02-14 09:39:28 by Christian Weisgerber | Files touched by this commit (5)
Log message:
sync with -current ls
   2009-02-14 09:39:28 by Christian Weisgerber | Files touched by this commit (5)
Log message:
sync with -current ls
   2007-08-11 12:41:28 by Christian Weisgerber | Files touched by this commit (2)
Log message:
word around CVS keyword in patch
   2007-08-11 12:41:28 by Christian Weisgerber | Files touched by this commit (2)
Log message:
word around CVS keyword in patch
   2007-08-11 11:52:11 by Christian Weisgerber | Files touched by this commit (8)
Log message:
sync with 4.2
   2007-08-11 11:52:11 by Christian Weisgerber | Files touched by this commit (8)
Log message:
sync with 4.2
   2007-08-11 11:52:11 by Christian Weisgerber | Files touched by this commit (8)
Log message:
sync with 4.2
   2007-08-11 11:52:11 by Christian Weisgerber | Files touched by this commit (8)
Log message:
sync with 4.2
   2007-08-11 11:52:11 by Christian Weisgerber | Files touched by this commit (8)
Log message:
sync with 4.2
   2007-08-11 11:52:11 by Christian Weisgerber | Files touched by this commit (8)
Log message:
sync with 4.2
   2007-08-11 11:52:11 by Christian Weisgerber | Files touched by this commit (8)
Log message:
sync with 4.2
   2007-08-11 11:52:11 by Christian Weisgerber | Files touched by this commit (8)
Log message:
sync with 4.2
   2007-04-05 11:26:27 by Marc Espie | Files touched by this commit (815)
Log message:
more base64 checksums


   2006-10-21 03:42:32 by Christian Weisgerber | Files touched by this commit (4)
Log message:
move distfiles from dying machine
   2006-05-26 22:35:21 by Christian Weisgerber | Files touched by this commit (4)
Log message:
sync with 3.9


   2006-05-26 22:35:21 by Christian Weisgerber | Files touched by this commit (4)
Log message:
sync with 3.9


   2006-05-26 22:35:21 by Christian Weisgerber | Files touched by this commit (4)
Log message:
sync with 3.9


   2006-05-26 22:35:21 by Christian Weisgerber | Files touched by this commit (4)
Log message:
sync with 3.9


   2005-09-05 05:55:47 by Marc Espie | Files touched by this commit (4)
Log message:
fix manpage.
Like, come on, it's not like there are hundreds of instances of ls
that need replacing, thx to .Nm, only the examples need replacing.
install it in the right location.
respect stylistic issues. This is a man page, not an introduction
document.


   2005-09-05 05:55:47 by Marc Espie | Files touched by this commit (4)
Log message:
fix manpage.
Like, come on, it's not like there are hundreds of instances of ls
that need replacing, thx to .Nm, only the examples need replacing.
install it in the right location.
respect stylistic issues. This is a man page, not an introduction
document.


   2005-09-05 05:55:47 by Marc Espie | Files touched by this commit (4)
Log message:
fix manpage.
Like, come on, it's not like there are hundreds of instances of ls
that need replacing, thx to .Nm, only the examples need replacing.
install it in the right location.
respect stylistic issues. This is a man page, not an introduction
document.


   2005-09-05 05:55:47 by Marc Espie | Files touched by this commit (4)
Log message:
fix manpage.
Like, come on, it's not like there are hundreds of instances of ls
that need replacing, thx to .Nm, only the examples need replacing.
install it in the right location.
respect stylistic issues. This is a man page, not an introduction
document.


   2005-06-21 12:26:21 by Christian Weisgerber | Files touched by this commit (7)
Log message:
sync with system ls(1)


   2005-06-21 12:26:21 by Christian Weisgerber | Files touched by this commit (7)
Log message:
sync with system ls(1)


   2005-06-21 12:26:21 by Christian Weisgerber | Files touched by this commit (7)
Log message:
sync with system ls(1)


   2005-06-21 12:26:21 by Christian Weisgerber | Files touched by this commit (7)
Log message:
sync with system ls(1)


   2005-06-21 12:26:21 by Christian Weisgerber | Files touched by this commit (7)
Log message:
sync with system ls(1)


   2005-06-21 12:26:21 by Christian Weisgerber | Files touched by this commit (7)
Log message:
sync with system ls(1)


   2005-06-21 12:26:21 by Christian Weisgerber | Files touched by this commit (7)
Log message:
sync with system ls(1)


   2005-02-27 10:37:46 by Christian Weisgerber | Files touched by this commit (6)
Log message:
synchronize with latest OpenBSD and FreeBSD ls; cosmetic changes only


   2005-02-27 10:37:46 by Christian Weisgerber | Files touched by this commit (6)
Log message:
synchronize with latest OpenBSD and FreeBSD ls; cosmetic changes only


   2005-02-27 10:37:46 by Christian Weisgerber | Files touched by this commit (6)
Log message:
synchronize with latest OpenBSD and FreeBSD ls; cosmetic changes only


   2005-02-27 10:37:46 by Christian Weisgerber | Files touched by this commit (6)
Log message:
synchronize with latest OpenBSD and FreeBSD ls; cosmetic changes only


   2005-02-27 10:37:46 by Christian Weisgerber | Files touched by this commit (6)
Log message:
synchronize with latest OpenBSD and FreeBSD ls; cosmetic changes only


   2005-02-27 10:37:46 by Christian Weisgerber | Files touched by this commit (6)
Log message:
synchronize with latest OpenBSD and FreeBSD ls; cosmetic changes only


   2005-01-05 10:29:43 by Christian Weisgerber | Files touched by this commit (94)
Log message:
SIZE


   2004-05-28 16:03:49 by Christian Weisgerber | Files touched by this commit (3)
Log message:
Sync with -current ls to make the field width agree for long listings with
human-readable sizes.


   2004-05-28 16:03:49 by Christian Weisgerber | Files touched by this commit (3)
Log message:
Sync with -current ls to make the field width agree for long listings with
human-readable sizes.


   2004-05-28 16:03:49 by Christian Weisgerber | Files touched by this commit (3)
Log message:
Sync with -current ls to make the field width agree for long listings with
human-readable sizes.


   2004-02-25 15:25:11 by Christian Weisgerber | Files touched by this commit (2)
Log message:
sync with latest ls(1)


   2004-02-25 15:25:11 by Christian Weisgerber | Files touched by this commit (2)
Log message:
sync with latest ls(1)


   2003-08-26 18:41:51 by Christian Weisgerber | Files touched by this commit (9)
Log message:
sync with 3.4 and FreeBSD


   2003-08-26 18:41:51 by Christian Weisgerber | Files touched by this commit (9)
Log message:
sync with 3.4 and FreeBSD


   2003-08-26 18:41:51 by Christian Weisgerber | Files touched by this commit (9)
Log message:
sync with 3.4 and FreeBSD


   2003-08-26 18:41:51 by Christian Weisgerber | Files touched by this commit (9)
Log message:
sync with 3.4 and FreeBSD


   2003-08-26 18:41:51 by Christian Weisgerber | Files touched by this commit (9)
Log message:
sync with 3.4 and FreeBSD


   2003-08-26 18:41:51 by Christian Weisgerber | Files touched by this commit (9)
Log message:
sync with 3.4 and FreeBSD


   2003-08-26 18:41:51 by Christian Weisgerber | Files touched by this commit (9)
Log message:
sync with 3.4 and FreeBSD


   2003-08-26 18:41:51 by Christian Weisgerber | Files touched by this commit (9)
Log message:
sync with 3.4 and FreeBSD


   2003-08-26 18:41:51 by Christian Weisgerber | Files touched by this commit (9)
Log message:
sync with 3.4 and FreeBSD


   2003-01-19 18:45:14 by Christian Weisgerber | Files touched by this commit (9)
Log message:
Update to OpenBSD 3.2 base and FreeBSD 5.0 color code.
Add -h flag (human readable sizes).  Link statically, just in case.


   2003-01-19 18:45:14 by Christian Weisgerber | Files touched by this commit (9)
Log message:
Update to OpenBSD 3.2 base and FreeBSD 5.0 color code.
Add -h flag (human readable sizes).  Link statically, just in case.


   2003-01-19 18:45:14 by Christian Weisgerber | Files touched by this commit (9)
Log message:
Update to OpenBSD 3.2 base and FreeBSD 5.0 color code.
Add -h flag (human readable sizes).  Link statically, just in case.


   2003-01-19 18:45:14 by Christian Weisgerber | Files touched by this commit (9)
Log message:
Update to OpenBSD 3.2 base and FreeBSD 5.0 color code.
Add -h flag (human readable sizes).  Link statically, just in case.


   2003-01-19 18:45:14 by Christian Weisgerber | Files touched by this commit (9)
Log message:
Update to OpenBSD 3.2 base and FreeBSD 5.0 color code.
Add -h flag (human readable sizes).  Link statically, just in case.


   2003-01-19 18:45:14 by Christian Weisgerber | Files touched by this commit (9)
Log message:
Update to OpenBSD 3.2 base and FreeBSD 5.0 color code.
Add -h flag (human readable sizes).  Link statically, just in case.


   2003-01-19 18:45:14 by Christian Weisgerber | Files touched by this commit (9)
Log message:
Update to OpenBSD 3.2 base and FreeBSD 5.0 color code.
Add -h flag (human readable sizes).  Link statically, just in case.


   2003-01-19 18:45:14 by Christian Weisgerber | Files touched by this commit (9)
Log message:
Update to OpenBSD 3.2 base and FreeBSD 5.0 color code.
Add -h flag (human readable sizes).  Link statically, just in case.


   2003-01-19 18:45:14 by Christian Weisgerber | Files touched by this commit (9)
Log message:
Update to OpenBSD 3.2 base and FreeBSD 5.0 color code.
Add -h flag (human readable sizes).  Link statically, just in case.


   2002-12-29 13:19:12 by Federico G. Schwindt | Files touched by this commit (83)
Log message:
and more..