From 7cd34c574e0ec69b213965d5f60d415cf5b25f64 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 23 Apr 2007 15:07:52 +0000 Subject: [PATCH] Upgrade to Term::ANSIColor 1.12. p4raw-id: //depot/perl@31036 --- lib/Term/ANSIColor.pm | 16 ++++++++-------- lib/Term/ANSIColor/ChangeLog | 14 ++++++++++++++ lib/Term/ANSIColor/README | 5 ++++- 3 files changed, 26 insertions(+), 9 deletions(-) diff --git a/lib/Term/ANSIColor.pm b/lib/Term/ANSIColor.pm index 927b61c..571d4b0 100644 --- a/lib/Term/ANSIColor.pm +++ b/lib/Term/ANSIColor.pm @@ -1,5 +1,5 @@ # Term::ANSIColor -- Color screen output using ANSI escape sequences. -# $Id: ANSIColor.pm 58 2006-07-12 22:30:55Z eagle $ +# $Id: ANSIColor.pm 64 2007-03-23 17:58:18Z eagle $ # # Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2005, 2006 # by Russ Allbery and Zenin @@ -32,7 +32,7 @@ use Exporter (); ON_CYAN ON_WHITE)]); Exporter::export_ok_tags ('constants'); -$VERSION = '1.11_01'; +$VERSION = '1.12'; ############################################################################## # Internal data structures @@ -239,13 +239,13 @@ do anything else with it that you might care to). uncolor() performs the opposite translation, turning escape sequences into a list of strings. -The recognized attributes (all of which should be fairly intuitive) are -clear, reset, dark, bold, underline, underscore, blink, reverse, concealed, -black, red, green, yellow, blue, magenta, on_black, on_red, on_green, +The recognized attributes (all of which should be fairly intuitive) are clear, +reset, dark, bold, underline, underscore, blink, reverse, concealed, black, +red, green, yellow, blue, magenta, cyan, white, on_black, on_red, on_green, on_yellow, on_blue, on_magenta, on_cyan, and on_white. Case is not -significant. Underline and underscore are equivalent, as are clear and -reset, so use whichever is the most intuitive to you. The color alone sets -the foreground color, and on_color sets the background color. +significant. Underline and underscore are equivalent, as are clear and reset, +so use whichever is the most intuitive to you. The color alone sets the +foreground color, and on_color sets the background color. Note that not all attributes are supported by all terminal types, and some terminals may not support any of these sequences. Dark, blink, and diff --git a/lib/Term/ANSIColor/ChangeLog b/lib/Term/ANSIColor/ChangeLog index d488dae..ec78ca2 100644 --- a/lib/Term/ANSIColor/ChangeLog +++ b/lib/Term/ANSIColor/ChangeLog @@ -1,3 +1,17 @@ +2007-04-22 Russ Allbery + + * ANSIColor.pm: Version 1.12 released. + +2007-03-23 Russ Allbery + + * ANSIColor.pm: Use the right syntax for internal POD links. + Thanks, Rafael Garcia-Suarez. + +2007-02-10 Russ Allbery + + * ANSIColor.pm: Add cyan and white to the list of supported + attributes. Not sure how I managed to omit them before. + 2006-07-12 Russ Allbery * ANSIColor.pm: Version 1.11 released. diff --git a/lib/Term/ANSIColor/README b/lib/Term/ANSIColor/README index cea39dc..4447bf7 100644 --- a/lib/Term/ANSIColor/README +++ b/lib/Term/ANSIColor/README @@ -1,4 +1,4 @@ - Term::ANSIColor version 1.11 + Term::ANSIColor version 1.12 (A simple ANSI text attribute control module) Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2005, 2006 Russ Allbery @@ -101,4 +101,7 @@ THANKS To Helge Kreutzmann for pointing out the need for warnings in the documentation about background colors that span newlines. + To Baron Schwartz for pointing out that cyan and white were missing from + the documentation. + To Larry Wall, as always, for Perl. -- 2.7.4