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 |
Recent releases


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.


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


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.


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.


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.
- All comments
Recent commentsRe: 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.
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.
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.
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
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!