The NetBSD Project

CVS log for pkgsrc/devel/p5-Term-ANSIColor/Makefile

[BACK] Up to [] / pkgsrc / devel / p5-Term-ANSIColor

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jul 6 09:40:06 2023 UTC (2 months, 4 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, HEAD
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

*: recursive bump for perl 5.38

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jun 28 11:33:18 2022 UTC (15 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

*: recursive bump for perl 5.36

Revision 1.28 / (download) - annotate - [select for diffs], Tue May 31 21:03:08 2022 UTC (16 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Changes since 1.27: +4 -5 lines
Diff to previous 1.27 (colored)

p5-Term-ANSIColor: add version 5.01

This module has two interfaces, one through color() and colored() and the
other through constants. It also offers the utility functions uncolor(),
colorstrip(), colorvalid(), and coloralias(), which have to be explicitly
imported to be used.

Revision 1.27, Fri Sep 4 13:30:51 2020 UTC (3 years ago) by wiz
Branch: MAIN
Changes since 1.26: +1 -1 lines

p5-Term-ANSIColor: remove, part of perl since 2000

Revision 1.26 / (download) - annotate - [select for diffs], Mon Aug 31 18:08:55 2020 UTC (3 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)

*: bump PKGREVISION for perl-5.32.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Apr 18 01:33:53 2020 UTC (3 years, 5 months ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.24: +2 -3 lines
Diff to previous 1.24 (colored)

(devel/p5-Term-ANSIColor) Updated 4.06 to 5.01

Term::ANSIColor 5.01 (2020-01-17)

    Add support for NO_COLOR <> to suppress all
    formatting sequences.  Thanks, Andrea Telatin.

    Document that aliases are expanded during alias definition, and thus
    an alias defined in terms of another alias will not change if the
    other alias is redefined.

    Fix SYNOPSIS example of uncolor.  The function returns a list, not a
    reference to a list.  Thanks, Joe Smith.  (#131414)

Term::ANSIColor 5.00 (2020-01-05)

    Drop support for Perl 5.6.  The minimum supported version is now Perl
    5.8.  Perl 5.6 isn't supported by Travis-CI and is only spottily
    tested, so true support is dubious.

    Add suport for true color (24-bit color) via new rNNNgNNNbNNN and
    on_rNNNgNNNbNNN attributes.  These are only supported via the function
    interface, not in the constant interface.  Based on work by Lars
    Dɪᴮⶶᴡ迪  (#130083)

    Allow color aliases to map to multiple attributes instead of only one
    attribute.  Based on work by Yanick Champoux.

    Aliases may now be defined in terms of other aliases.

    Document bad interactions between colored output to standard output
    and standard error when standard output is line-buffered in a couple
    of places in the manual and suggest setting autoflush() or EACHLINE
    as a fix.  (#121974)

    Document how to support CLICOLOR <> in
    programs using Term::ANSIColor.  (Due to backward compatibility and
    non-output uses, there's no easy way to support CLICOLOR in the module

    Update to rra-c-util 8.1:

    * Update perlcritic configuration.
    * Add SPDX-License-Identifier headers to all significant files.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Aug 11 13:20:24 2019 UTC (4 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Bump PKGREVISIONs for perl 5.30.0

Revision 1.23 / (download) - annotate - [select for diffs], Sun Jun 30 20:15:47 2019 UTC (4 years, 3 months ago) by nia
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Update packages using a HOMEPAGE to

The former now redirects to the latter.

This covers the most simple cases where
can be changed to

Reviewed by hand to hopefully make sure no unwanted changes sneak in.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Aug 22 09:44:41 2018 UTC (5 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Recursive bump for perl5-5.28.0

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jun 5 14:23:38 2017 UTC (6 years, 4 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

Recursive revbump from lang/perl5 5.26.0

Revision 1.20 / (download) - annotate - [select for diffs], Sun Oct 30 05:10:10 2016 UTC (6 years, 11 months ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Updated devel/p5-Term-ANSIColor to 4.06
Term::ANSIColor 4.06 (2016-10-28)
    Add aliases ansi16 through ansi255 and on_ansi16 through on_ansi255
    (plus the corresponding constants) for the grey and rgb colors so that
    one can refer to all of the 256 ANSI colors with consistent names.
    These are aliases; the colors returned by uncolor will still use the
    grey and rgb names.  (#118267)

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jul 28 02:47:11 2016 UTC (7 years, 2 months ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.18: +2 -4 lines
Diff to previous 1.18 (colored)

Update to 4.05

Upstream changes:
Term::ANSIColor 4.05 (2016-03-20)

    Color aliases are now restricted to ASCII alphanumerics, due to the
    below change.

    Delay loading of the Carp module and avoid using [:upper:], \w, and \d
    in regular expressions to reduce the amount of memory this module
    consumes.  (Normally, I wouldn't worry about this, but this module is
    very light-weight and can be useful even in highly space-constrained
    environments, and the impact is slight.)  Thanks, Nicolas R.

    Provide a mailto address in bug tracking metadata, use the shorter
    form of the RT bug tracker URL, and fix the license value to match the
    new metadata specification.  Rework Makefile.PL so that the munging
    for older versions of ExtUtils::MakeMaker is less intrusive.

Term::ANSIColor 4.04 (2015-12-06)

    Revert the build system back to ExtUtils::MakeMaker.  This is the
    build system actually used in Perl core, so this removes a level of
    indirectly generated files and means that normal module development
    tests the same build system used by Perl.  Update Makefile.PL with the
    additional metadata from the Module::Build build system.

    For versions of Perl prior to 5.11, install the module into the Perl
    core module directories, since in those versions site modules did not
    take precedence over Perl core modules.

    Rename NEWS to Changes to match the normal Perl convention.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jun 8 19:23:33 2016 UTC (7 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Bump PKGREVISION for perl-5.24.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 12 10:49:46 2015 UTC (8 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Feb 17 06:02:24 2015 UTC (8 years, 7 months ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.15: +1 -2 lines
Diff to previous 1.15 (colored)

Remove unnecessary (overwritten) MASTER_SITES line.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Feb 17 05:59:58 2015 UTC (8 years, 7 months ago) by mef
Branch: MAIN
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 (colored)

  - Add following line
    PERL5_MODULE_TYPE=     Module::Build
  - Update to 4.03
Term::ANSIColor 4.03 (2014-03-23)

    Switch the module build system to Module::Build, but still generate a
    Makefile.PL file for backward compatibility and for the use of Perl

    Fix typo in SYNOPSIS (colorstrip example) and duplicated word.
    Thanks, Olivier Mengue and David Steinbrunner.  (#85480, #94006)

    Skip POD and some other style tests unless doing automated or release
    testing.  Skip POD spelling, coverage, and Perl::Critic tests unless
    doing author testing.  Use the Lancaster Consensus environment
    variables instead of RRA_MAINTAINER_TESTS.  (#93474)

    Add SEE ALSO reference to Win32::Console::ANSI.  (#87295)

Revision 1.14 / (download) - annotate - [select for diffs], Thu Oct 9 14:06:27 2014 UTC (8 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.13: +1 -3 lines
Diff to previous 1.13 (colored)

Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.

Revision 1.13 / (download) - annotate - [select for diffs], Thu May 29 23:36:19 2014 UTC (9 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Nov 24 10:05:32 2013 UTC (9 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4
Changes since 1.11: +4 -5 lines
Diff to previous 1.11 (colored)

Update to 4.02:

2013-01-07  Russ Allbery  <>

	* Version 4.02 released.

	* Makefile.PL: Add the minimum Perl version to the package

	* t/basic256.t: List the tag first in the import list for
	compatibility with the Exporter from Perl 5.6.2.  Thanks to David
	Cantrell for the testing and debugging.

2012-12-31  Russ Allbery  <>

	* Version 4.01 released.

	* t/strict.t: During coverage checking, skip generic tests that
	don't run module code for a significant speed-up.

	* examples/generate-colors: Add POD documentation.
	* t/critic.t: Also check the examples directory.
	* t/pod.t: Likewise.
	* t/pod-spelling.t: Likewise.

	* t/aliases-env.t: Fix logic for skipping tests when Test::Warn is
	not installed.

2012-12-30  Russ Allbery  <>

	* Version 4.00 released.

	* LICENSE: New file summarizing copyright and license information.

	* examples/generate-colors: Add support for "basic" and "bright"
	test file types that test all the other supported attributes.
	* tests/README: Remove VT100 test files.  The license was unclear,
	and the new generate-colors example script does everything they do
	of significance for this package plus more.
	* tests/ansicolor: Likewise.
	* tests/vt100-torture: Likewise.

	* (PUSHCOLOR): Take an array like all the other
	constant functions and join all arguments together before
	manipulating it.
	* t/basic.t: Multiple new tests for various weird edge cases.

	is set to a true value.
	(color): Likewise.
	(colored): Likewise.
	* t/basic.t: Test that ANSI_COLORS_DISABLED must be true.

	* t/synopsis.t: New test for SYNOPSIS syntax.

	* Add COMPATIBILITY section to the documentation,
	collecting all information about when features were introduced and
	adding the version of Perl that they shipped with.  Add
	appropriate version numbers to the use statements in the SYNOPSIS.

	* Use coloralias to load aliases from the
	environment.  Improve commenting in the SYNOPSIS.  Document the
	new alias name restrictions.
	(coloralias): New function to set a color alias.  Enforce
	restrictions on the acceptable alias name.

	* t/aliases-env.t: Adjust warning test for new error message.
	* t/aliases-func.t: New test of coloralias.

2012-12-29  Stephen Thirlwall  <>
	    Russ Allbery  <>

	* Add support for custom color names configured with
	the ANSI_COLORS_ALIASES environment variable as set during module
	(color): Support custom colors.
	(colorvalid): Likewise.
	* t/aliases-env.t: New test of custom colors from the environment.
	* t/basic.t: Delete ANSI_COLORS_ALIASES from the environment before
	module load to avoid any effects from the test runner's settings.
	* t/basic256.t: Likewise.
	* t/eval.t: Likewise.
	* t/stringify.t: Likewise.
	* t/taint.t: Likewise.

2012-12-28  Kurt Starsinic  <>
	    Russ Allbery  <>

	* Add constants (with tag :constants256) and
	attributes for 256-color emulators.
	(uncolor): Support the three-part 256-color codes.
	* t/basic256.t: New test for 256-color support.
	* examples/generate-colors: New script to generate 256-color test
	or demonstration files.

2012-12-28  Russ Allbery  <>

	* t/basic.t: Test uncolor with \e[m and '' as only arguments.

	* $AUTOLOCAL takes precedence over $AUTORESET,
	reversing the previous behvior.  Document the precedence.
	* t/basic.t: Test for $AUTOLOCAL vs. $AUTORESET precedence.

	* t/taint.t: New check for proper untainting in AUTOLOAD.
	* Comment the untainting of $AUTOLOAD so that it
	isn't accidentally removed as apparently unnecessary.

	* t/strict.t: Ignore t/taint.t for coverage checking, since
	Test::Strict doesn't know how to invoke tests that require

	* t/strict.t: Add test suite coverage checking if running the test
	in maintainer mode.
	* (AUTOLOAD): Drop a redundant check on the result of
	eval so that 100% test coverage can be achieved.
	* t/basic.t: Remove taint checking, which is incompatible with
	coverage testing.  Add tests to achieve 100% coverage.
	* t/eval.t: Remove taint checking.
	* t/stringify.t: Likewise.

	* Document $Term::ANSIColor::AUTOLOCAL.

	generated constant subs.  Fixes a bug where the environment
	variable would be ignored if the constant were used before it was
	* t/basic.t: Test for proper ANSI_COLORS_DISABLED support in
	generated constant subs.

	* t/critic.t: New test that runs perlcritic (and perltidy) on all
	source files and checks for violations.
	* t/data/perlcriticrc: New file.
	* t/data/perltidyrc: New file.
	* Substantial reworking to improve coding style and
	layout.  Update to Perl 5.6 syntax.  Unconditionally load Carp for
	* Makefile.PL: Require Perl 5.6.  Remove conditionals for
	configuration that was not supported prior to Perl 5.6.
	* t/basic.t: Update coding style.
	* t/eval.t: Likewise.
	* t/stringify.t: Likewise.

	* t/minimum-version.t: New test for the minimum required version
	of Perl.

	* t/pod-coverage.t: New test for POD coverage.

	* Add use warnings.
	* Makefile.PL: Add use strict and use warnings.
	* t/strict.t: New test for strict and warnings in all code.

	* t/pod.t: Update coding style.
	* t/pod-spelling.t: Use Test::Spelling instead of including a
	less-tested version of the same code.  Update coding style.

2012-03-18  Russ Allbery  <>

	* Version 3.02 released.

	* (AUTOLOAD): Only return pass-through behavior if
	the function that was called was one of our constants, rather than
	turning every unknown function in the Term::ANSIColor namespace
	into a passthrough join function when colors are disabled.
	* t/basic.t: Test proper error reporting with colors disabled.

	* (AUTOLOAD): Preserve an existing value of $@ when
	generating a constant sub and restore it afterwards.  Diagnose
	errors in creating the constant sub and die instead of ignoring
	* t/eval.t: New test for $@ preservation.

	* Add italic and the ITALIC constant.  Document that
	the support for it is rare.
	* t/basic.t: Test italic and ITALIC support.

	* Add "mistyped" as a stopword, required by the
	latest aspell on Debian.

2011-07-20  Russ Allbery  <>

	* Version 3.01 released.

	* Makefile.PL: Change the DISTNAME to Term-ANSIColor.

	* (colored): Only interpret an initial array
	reference as a list of colors, not any initial reference, allowing
	the colored function to work properly on objects with
	stringification defined.  Thanks, Revilo Reegiles.
	* t/stringify.t: New test for proper behavior with non-array
	references in colored.

2011-03-13  Russ Allbery  <>

	* Fix two syntax errors in the SYNOPSIS.  Thanks,
	Jan Hartung.

2010-10-08  Russ Allbery  <>

	* Warn in the documentation that attributes are not
	supported in and will not work with Perl formats.

2010-04-11  Russ Allbery  <>

	* Update the URL for ECMA-048 in the documentation.

Revision 1.11 / (download) - annotate - [select for diffs], Fri May 31 12:40:46 2013 UTC (10 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 31 11:19:00 2012 UTC (10 years, 11 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.9: +1 -2 lines
Diff to previous 1.9 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Oct 3 21:55:38 2012 UTC (11 years ago) by wiz
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Aug 14 12:26:38 2011 UTC (12 years, 1 month ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Revision bump after updating perl5 to 5.14.1.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Aug 21 16:34:29 2010 UTC (13 years, 1 month ago) by seb
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 15 16:33:43 2010 UTC (13 years, 7 months ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.5: +2 -3 lines
Diff to previous 1.5 (colored)

Updating devel/p5-Term-ANSIColor from 2.02 to 3.00

Upstream changes:
2010-01-24  Russ Allbery  <>
	* Version 3.00 released.
	* t/basic.t: Add some basic tests for bright color support.
	* Reorganize the documentation and be clearer about
	  the function interface parameters.  Reword the explanation of
	  bright and regular colors, and provide some advice about which
	  to use.

2010-01-24  Jakob Ilves  <>
	* Add bright versions of the basic eight foreground
	  and background colors using the 9x and 10x codes, supported by
	  emulators with 16 color support.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Sep 12 21:36:14 2009 UTC (14 years ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Updating devel/p5-Term-ANSIColor from 2.01 to 2.02

Upstream changes:
2009-08-30  Russ Allbery  <>
	* Version 2.02 released.

	* Update compatibility matrix to reflect that xterm
	now supports blink.

	* (colorvalid): New function to check whether an
	attribute is known.
	* t/basic.t: Test colorvalid.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jul 7 15:58:31 2009 UTC (14 years, 3 months ago) by sno
Branch: MAIN
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored)

pkgsrc changes:
  - Updating package for p5 module ANSIColor from 2.00 to 2.01
  - Adding licese (perl license as named in META.yml)
  - Adding destdir support

Upstream changes:
2009-07-04  Russ Allbery  <>

	* Version 2.01 released.

	* t/basic.t: Test error handling in color, colored, and uncolor.

	* (uncolor): When reporting errors for bad escape
	  sequences, don't include the leading \e[ or trailing m in the
	  error message.

	* Add section headings to the DESCRIPTION section of
	  the module since it's getting rather long.
	  (colorstrip): New function to remove ANSI color codes from
	  strings.  Thanks, Paul Miller.
	* t/basic.t: New tests for colorstrip.

	* (AUTOLOAD): Untaint $AUTOLOAD, required by Perl
	  5.10 when running in taint mode.  Thanks, Tim Bellinghausen.
	* t/basic.t: Two new tests for AUTOLOAD error handling.  Enable
	  warnings and taint mode.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jun 13 06:46:46 2009 UTC (14 years, 3 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Ran pkglint --autofix on the devel/ category. Most of the changes are
simple white-space issues like indentation and trailing spaces. The
others are cross-references for Makefile.common.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Apr 24 06:56:27 2009 UTC (14 years, 5 months ago) by sno
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

PkgSrc changes:
  - Updating package for p5 module Term::ANSIColor to 2.00

Upstream changes:
2009-02-28  Russ Allbery  <>

	* Version 2.00 released.

	* Makefile.PL: Add LICENSE to the distribution metadata for Perl
	5.10 and later.

	* Add explicit return statements instead of relying
	on the implicit return of the last expression.  Use all caps for
	all global variables.

	* Add the new functions to a :pushpop export tag.
	(PUSHCOLOR): New function that stores in an internal stack the
	attributes that are being set.
	(POPCOLOR): New function that pops the attributes being set and
	sets the attributes previously found on the stack.
	(LOCALCOLOR): New function that surrounds its argument in
	(AUTOLOAD): If $AUTOLOCAL is set, surround all color constants
	with an implicit LOCALCOLOR.

	* t/pod-spelling.t: Rewrite to use Test::More.  Support and prefer

	* Fix additional spelling errors and rewrap the POD
	documentation to a 74-character margin.

	* t/basic.t: Rewrite to use Test::More.
	* t/pod.t: Likewise.

	the stringified arguments rather than creating a sub.  This allows
	colors to work later if ANSI_COLORS_DISABLED is unset rather than
	making its effects permanent.  It also avoids adding a reset
	escape sequence when $AUTORESET and ANSI_COLORS_DISABLED are both

2008-09-14  Russ Allbery  <>

	* Add faint as a synonym for dark and improve the
	documentation of text attributes.

	* t/pod-spelling.t: New check to spell-check POD documentation
	using ispell with Pod::Spell.
	* Fix spelling and markup errors in documentation
	and add stop-words where appropriate.

Revision / (download) - annotate - [select for diffs] (vendor branch), Tue Jan 20 00:33:42 2009 UTC (14 years, 8 months ago) by he
Branch: TNF
CVS Tags: pkgsrc-base, pkgsrc-2009Q1-base, pkgsrc-2009Q1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

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

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.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jan 20 00:33:42 2009 UTC (14 years, 8 months ago) by he
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>