pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/p5-Term-ANSIColor



Module Name:    pkgsrc
Committed By:   he
Date:           Tue Jan 20 00:33:42 UTC 2009

Update of /cvsroot/pkgsrc/devel/p5-Term-ANSIColor
In directory ivanova.netbsd.org:/tmp/cvs-serv29640

Log Message:
Import p5-Term-ANSIColor version 1.12.

This module has two interfaces, one through color() and colored()
and the other through constants. It also offers the utility function
uncolor(), which has to be explicitly imported to be used (see
"SYNOPSIS").

color() takes any number of strings as arguments and considers them
to be space-separated lists of attributes. It then forms and returns
the escape sequence to set those attributes. It doesn't print it
out, just returns it, so you'll have to print it yourself if you
want to (this is so that you can save it as a string, pass it to
something else, send it to a file handle, or do anything else with
it that you might care to).

uncolor() performs the opposite translation, turning escape sequences
into a list of strings.


Status:

Vendor Tag:     TNF
Release Tags:   pkgsrc-base
                
N pkgsrc/devel/p5-Term-ANSIColor/Makefile
N pkgsrc/devel/p5-Term-ANSIColor/DESCR
N pkgsrc/devel/p5-Term-ANSIColor/distinfo

No conflicts created by this import



Home | Main Index | Thread Index | Old Index