Skip to content
A colourful wrapper for terminal programs http://stuff.cytzol.org/cope/
Perl
Find file
Pull request Compare This branch is 10 commits ahead of yogan:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
inc/Module
lib/App Remove the scripts directory from the PATH before running one, to (pr…
scripts Add the year to the date regex in scripts/ls
t Test the new line-buffering ability, both on and off. Also, let tests…
.gitignore
Makefile.PL Added scripts/ping, and a Regexp::Common dependency.
README Put the horrible command to find the script directory's path into its…
cope_path.pl Put the horrible command to find the script directory's path into its…

README

cope is a wrapper around programs that output to a terminal, to give
them colour for utility and aesthetics while still keeping them the
same at the text level.

Adding colours on top of text makes it easy to see when something's
amiss. For utility, you can stop hunting through your terminal's
scroll buffer to locate an error when it's clearly highlighted in red,
or locating a network address hidden in dense output when they're
marked in yellow and blue (local and foreign, respectively). As for
aesthetics, even the simplest utility can be brightened up by adding a
dash of colour on top.

cope's scripts are written in Perl, so they're as flexible (and fast)
as Perl allows.

---

You'll need Perl >= 5.10, and a working version of CPAN.

Installation is the standard procedure:

$ perl Makefile.PL
$ make
$ make test
$ sudo make install

Then, find out where perl put the scripts:

$ perl cope_path.pl

And add that to your $PATH.
Something went wrong with that request. Please try again.