Blame README

Packit Service d987f3
                           Term::ANSIColor 4.06
Packit Service d987f3
               (simple ANSI text attribute control module)
Packit Service d987f3
                Maintained by Russ Allbery <rra@cpan.org>
Packit Service d987f3
Packit Service d987f3
  Copyright 1996-1998, 2000-2002, 2005-2006, 2008-2016 Russ Allbery
Packit Service d987f3
  <rra@cpan.org>.  Copyright 1996 Zenin.  Copyright 2012 Kurt Starsinic
Packit Service d987f3
  <kstarsinic@gmail.com>.  This software is distributed under the same
Packit Service d987f3
  terms as Perl itself.  Please see the section LICENSE below for more
Packit Service d987f3
  information.
Packit Service d987f3
Packit Service d987f3
BLURB
Packit Service d987f3
Packit Service d987f3
  Term::ANSIColor provides constants and simple functions for setting ANSI
Packit Service d987f3
  text attributes, most notably colors.  It can be used to set the current
Packit Service d987f3
  text attributes or to apply a set of attributes to a string and reset
Packit Service d987f3
  the current text attributes at the end of that string.  Eight-color,
Packit Service d987f3
  sixteen-color, and 256-color escape sequences are all supported.
Packit Service d987f3
Packit Service d987f3
DESCRIPTION
Packit Service d987f3
Packit Service d987f3
  This Perl module is a simple and convenient interface to the ANSI
Packit Service d987f3
  terminal escape sequences for color (from ECMA-48, also included in ISO
Packit Service d987f3
  6429).  The color sequences are provided in two forms, either as
Packit Service d987f3
  constants for each color or via a function that takes the names of
Packit Service d987f3
  colors and returns the appropriate escape codes or wraps them around the
Packit Service d987f3
  provided text.  The non-color text style codes from ANSI X3.64 (bold,
Packit Service d987f3
  dark, underline, and reverse, for example), which were also included in
Packit Service d987f3
  ECMA-48 and ISO 6429, are also supported.  Also supported are the
Packit Service d987f3
  extended colors used for sixteen-color and 256-color emulators.
Packit Service d987f3
Packit Service d987f3
  This module is very stable, and I've used it in a wide variety of
Packit Service d987f3
  applications.  It has been included in the core Perl distribution
Packit Service d987f3
  starting with version 5.6.0, so you don't need to download and install
Packit Service d987f3
  it yourself unless you have an old version of Perl or need a newer
Packit Service d987f3
  version of the module than comes with your version of Perl.  I continue
Packit Service d987f3
  to maintain it as a separate module, and the version included in Perl is
Packit Service d987f3
  resynced with mine before each release.
Packit Service d987f3
Packit Service d987f3
  The original module came out of a discussion in comp.lang.perl.misc and
Packit Service d987f3
  is a combination of two approaches, one with constants by Zenin and one
Packit Service d987f3
  with functions that I wrote.  I offered to maintain a combined module
Packit Service d987f3
  that included both approaches.
Packit Service d987f3
Packit Service d987f3
REQUIREMENTS
Packit Service d987f3
Packit Service d987f3
  Term::ANSIColor is written in pure Perl and has no module dependencies
Packit Service d987f3
  that aren't found in Perl core.  It should work with any version of Perl
Packit Service d987f3
  after 5.6, although it hasn't been tested with old versions in some
Packit Service d987f3
  time.
Packit Service d987f3
Packit Service d987f3
  In order to actually see color, you will need to use a terminal window
Packit Service d987f3
  that supports the ANSI escape sequences for color.  Any recent version
Packit Service d987f3
  of xterm, most xterm derivatives and replacements, and most telnet and
Packit Service d987f3
  ssh clients for Windows and Macintosh should work, as will the MacOS X
Packit Service d987f3
  Terminal application (although Terminal.app reportedly doesn't support
Packit Service d987f3
  256 colors).  The console windows for Windows NT and Windows 2000 will
Packit Service d987f3
  not work, as they do not even attempt to support ANSI X3.64.
Packit Service d987f3
Packit Service d987f3
  For a complete (to my current knowledge) compatibility list, see the
Packit Service d987f3
  Term::ANSIColor module documentation.  If you have any additions to the
Packit Service d987f3
  table in the documentation, please send them to me.
Packit Service d987f3
Packit Service d987f3
  The test suite requires Test::More (part of Perl since 5.6.2).  The
Packit Service d987f3
  following additional Perl modules will be used by the test suite if
Packit Service d987f3
  present:
Packit Service d987f3
Packit Service d987f3
  * Devel::Cover
Packit Service d987f3
  * Test::MinimumVersion
Packit Service d987f3
  * Test::Perl::Critic
Packit Service d987f3
  * Test::Pod
Packit Service d987f3
  * Test::Pod::Coverage
Packit Service d987f3
  * Test::Spelling
Packit Service d987f3
  * Test::Strict
Packit Service d987f3
  * Test::Synopsis
Packit Service d987f3
  * Test::Warn
Packit Service d987f3
Packit Service d987f3
  All are available on CPAN.  Those tests will be skipped if the modules
Packit Service d987f3
  are not available.
Packit Service d987f3
Packit Service d987f3
  To enable tests that don't detect functionality problems but are used to
Packit Service d987f3
  sanity-check the release, set the environment variable RELEASE_TESTING
Packit Service d987f3
  to a true value.  To enable tests that may be sensitive to the local
Packit Service d987f3
  environment or that produce a lot of false positives without uncovering
Packit Service d987f3
  many problems, set the environment variable AUTHOR_TESTING to a true
Packit Service d987f3
  value.
Packit Service d987f3
Packit Service d987f3
BUILDING AND INSTALLATION
Packit Service d987f3
Packit Service d987f3
  Term::ANSIColor uses ExtUtils::MakeMaker and can be installed using the
Packit Service d987f3
  same process as any other ExtUtils::MakeMaker module:
Packit Service d987f3
Packit Service d987f3
      perl Makefile.PL
Packit Service d987f3
      make
Packit Service d987f3
      make test
Packit Service d987f3
      make install
Packit Service d987f3
Packit Service d987f3
  You'll probably need to do the last as root unless you're installing
Packit Service d987f3
  into a local Perl module tree in your home directory.
Packit Service d987f3
Packit Service d987f3
SUPPORT
Packit Service d987f3
Packit Service d987f3
  The Term::ANSIColor web page at:
Packit Service d987f3
Packit Service d987f3
      https://www.eyrie.org/~eagle/software/ansicolor/
Packit Service d987f3
Packit Service d987f3
  will always have the current version of this package, the current
Packit Service d987f3
  documentation, and pointers to any additional resources.
Packit Service d987f3
Packit Service d987f3
  For bug tracking, use the CPAN bug tracker at:
Packit Service d987f3
Packit Service d987f3
      https://rt.cpan.org/Dist/Display.html?Name=Term-ANSIColor
Packit Service d987f3
Packit Service d987f3
  However, please be aware that I tend to be extremely busy and work
Packit Service d987f3
  projects often take priority.  I'll save your report and get to it as
Packit Service d987f3
  soon as I can, but it may take me a couple of months.
Packit Service d987f3
Packit Service d987f3
SOURCE REPOSITORY
Packit Service d987f3
Packit Service d987f3
  Term::ANSIColor is maintained using Git.  You can access the current
Packit Service d987f3
  source on GitHub at:
Packit Service d987f3
Packit Service d987f3
      https://github.com/rra/ansicolor
Packit Service d987f3
Packit Service d987f3
  or by cloning the repository at:
Packit Service d987f3
Packit Service d987f3
      https://git.eyrie.org/git/perl/ansicolor.git
Packit Service d987f3
Packit Service d987f3
  or view the repository via the web at:
Packit Service d987f3
Packit Service d987f3
      https://git.eyrie.org/?p=perl/ansicolor.git
Packit Service d987f3
Packit Service d987f3
  The eyrie.org repository is the canonical one, maintained by the author,
Packit Service d987f3
  but using GitHub is probably more convenient for most purposes.  Pull
Packit Service d987f3
  requests are gratefully reviewed and normally accepted.  It's probably
Packit Service d987f3
  better to use the CPAN bug tracker than GitHub issues, though, to keep
Packit Service d987f3
  all Perl module issues in the same place.
Packit Service d987f3
Packit Service d987f3
LICENSE
Packit Service d987f3
Packit Service d987f3
  The Term::ANSIColor package as a whole is covered by the following
Packit Service d987f3
  copyright statement and license:
Packit Service d987f3
Packit Service d987f3
    Copyright 1996-1998, 2000-2002, 2005-2006, 2008-2016
Packit Service d987f3
        Russ Allbery <rra@cpan.org>
Packit Service d987f3
    Copyright 1996 Zenin
Packit Service d987f3
    Copyright 2012 Kurt Starsinic <kstarsinic@gmail.com>
Packit Service d987f3
Packit Service d987f3
    This program is free software; you may redistribute it and/or modify
Packit Service d987f3
    it under the same terms as Perl itself.  This means that you may
Packit Service d987f3
    choose between the two licenses that Perl is released under: the GNU
Packit Service d987f3
    GPL and the Artistic License.  Please see your Perl distribution for
Packit Service d987f3
    the details and copies of the licenses.
Packit Service d987f3
Packit Service d987f3
    PUSH/POP support submitted 2007 by openmethods.com voice solutions
Packit Service d987f3
Packit Service d987f3
  Some files in this distribution are individually released under
Packit Service d987f3
  different licenses, all of which are compatible with the above general
Packit Service d987f3
  package license but which may require preservation of additional
Packit Service d987f3
  notices.  All required notices, and detailed information about the
Packit Service d987f3
  licensing of each file, are recorded in the LICENSE file.
Packit Service d987f3
Packit Service d987f3
  For any copyright range specified by files in this package as YYYY-ZZZZ,
Packit Service d987f3
  the range specifies every single year in that closed interval.