Projects / color wrapper

color wrapper

cw is a non-intrusive real-time ANSI color wrapper for common Unix-based commands. It is designed to simulate the environment of the commands being executed, so that if a person types 'du', 'df', 'ping', etc. in their shell it will automatically color the output in real-time according to a definition file containing the color format desired. It has support for wildcard match coloring, tokenized coloring, headers/footers, case scenario coloring, command-line- dependent definition coloring, and includes over 50 pre- made definition files.

Tags Desktop Environment Utilities Text Processing General Filters Application Themes Shells Theme Engine tools Operating Systems Theme Resources
Licenses GPL
Operating Systems POSIX Linux BSD FreeBSD GNU/Hurd Mac OS X OpenBSD NetBSD Windows Windows Cygwin Solaris
Implementation Other Scripting Engines C

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  25 Sep 2007 10:43
  • Rrelease-after

Changes: This release fixes a "make install" failure that occurred on some systems. It fixes compiler warnings of execle() calls that occurred on some systems. 10 new definition files have been added.

  • Rrelease-mid
  •  26 Sep 2005 12:06
  • Rrelease-after

Changes: Fixes a bug that could crash cw, introduced in the previous version.

  • Rrelease-mid
  •  19 Sep 2005 09:19
  • Rrelease-after

Changes: The following command-line options were added: --cw-colorize, --cw-invert, --cw-nocolor, --cw-norandom, --cw-usepty, and --cw-supermap. These are to be used for on-the-fly changes in conjunction with wrapped programs. The "noaddhelp" definition instruction was added to disable the display of cw options when "--help" is passed to the wrapped program.

  • Rrelease-mid
  •  22 Mar 2005 08:59
  • Rrelease-after

Changes: Support for compiling on QNX was added. The "nowarnings" and "warnings" definition instructions were added. The configure arguments --prefix and --mandir are now fully operational, including relation to colorcfg. The real program filename reference was changed to strip the path and only show the filename. The "path" definition instruction was changed to allow the PATH environment variable to be included with other paths. Many minor features were changed.

  • Rrelease-mid
  •  28 Feb 2005 09:06
  • Rrelease-after

Changes: The "cwe" command was added. The "supermap" definition instruction and the "CW_SUPERMAP" environment variable check were added to change the internal color format to a completely different color format, such as HTML tags. The "lborder", "rborder", "forcecolor", "print", "noeol", and "proctitle" definition instructions and "CW_LBORDER", "CW_RBORDER", and "CW_RANDOM" environment variable checks were added. Automatic proctitle support was added to improve process listing appearance. Handling of user interrupts (CTRL-C) was changed. Multiple bugs were fixed.

Rss Recent comments

Rcomment-before 10 Jan 2005 21:41 Rcomment-trans vade79 Rcomment-after

Re: strange solution
as an update of sorts:

regex(regular expressions) has been implemented in the form of the "regex" definition instruction in v1.0.7 for those who desire it.

Rcomment-before 28 Dec 2004 11:42 Rcomment-trans vade79 Rcomment-after

Re: color wrapper cw-1.0.4
This should be fixed by now (1.0.6), although I have personally not experienced the problem I can GUESS at the reason. If anyone experiences this problem for some reason, after v1.0.6, please e-mail me.

Rcomment-before 27 Oct 2004 10:13 Rcomment-trans vade79 Rcomment-after

Re: color wrapper cw-1.0.4
if you'd send me an email with the specific source that this
occured on, os/dist and such information id be happy to
check into it.

Rcomment-before 25 Oct 2004 17:46 Rcomment-trans wildberger Rcomment-after

color wrapper cw-1.0.4
With cw enabled I experienced problems with installation of programs from source. The config.guess that is invoked during the 'make depend' stage can no longer guess the system type. Removing cw eliminates this problem.

John

Rcomment-before 17 Aug 2004 15:58 Rcomment-trans TormentoR Rcomment-after

Awesome :)
I just installed this on my shell!

It looks very l33t ;)

Loads of users are gonna like this, me most of all :)

Thanks! And keep on updating the commands and coloring!

308fcaafbc1c17fa624a0db75195057f_thumb

Project Spotlight

otr4j

A Java OTR (Off-the-Record) messaging library.

No-screenshot

Project Spotlight

Passwd

A password management application.