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.

Operating Systems

Recent releases

  •  20 Jun 2010 06:27

    Release Notes: A compiling issue on newer Fedora (and possibly other) distributions was fixed.

    •  25 Sep 2007 17:43

      Release Notes: 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.

      •  26 Sep 2005 19:06

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

        •  19 Sep 2005 16:19

          Release Notes: 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.

          •  22 Mar 2005 16:59

            Release Notes: 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.

            Recent comments

            10 Jan 2005 21:41 vade79

            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.

            28 Dec 2004 11:42 vade79

            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.

            27 Oct 2004 10:13 vade79

            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.

            25 Oct 2004 17:46 wildberger

            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.


            17 Aug 2004 15:58 TormentoR

            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!


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.