summaryrefslogtreecommitdiff
path: root/lib/Pod/Text
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-11-28 03:30:03 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-11-28 03:30:03 +0000
commitb84d8b9e11834d68db2708d1f1bc13609c180c9a (patch)
treef81478bfa9322136f1b4bfc0e854920754e3c750 /lib/Pod/Text
parent701a277b5182d929c4baa83d419c46c6d08d2101 (diff)
downloadperl-b84d8b9e11834d68db2708d1f1bc13609c180c9a.tar.gz
Upgrade to podlators 1.17.
p4raw-id: //depot/perl@13333
Diffstat (limited to 'lib/Pod/Text')
-rw-r--r--lib/Pod/Text/Color.pm6
-rw-r--r--lib/Pod/Text/Overstrike.pm8
-rw-r--r--lib/Pod/Text/Termcap.pm6
3 files changed, 10 insertions, 10 deletions
diff --git a/lib/Pod/Text/Color.pm b/lib/Pod/Text/Color.pm
index 44462e98c3..6ec9164448 100644
--- a/lib/Pod/Text/Color.pm
+++ b/lib/Pod/Text/Color.pm
@@ -1,5 +1,5 @@
# Pod::Text::Color -- Convert POD data to formatted color ASCII text
-# $Id: Color.pm,v 1.2 2001/11/15 08:04:18 eagle Exp $
+# $Id: Color.pm,v 1.3 2001/11/28 01:16:54 eagle Exp $
#
# Copyright 1999, 2001 by Russ Allbery <rra@stanford.edu>
#
@@ -29,7 +29,7 @@ use vars qw(@ISA $VERSION);
# Don't use the CVS revision as the version, since this module is also in Perl
# core and too many things could munge CVS magic revision strings. This
# number should ideally be the same as the CVS revision in podlators, however.
-$VERSION = 1.02;
+$VERSION = 1.03;
##############################################################################
@@ -52,7 +52,7 @@ sub cmd_head2 {
$self->SUPER::cmd_head2 (colored ($_, 'bold'));
}
-# Fix the various interior sequences.
+# Fix the various formatting codes.
sub seq_b { return colored ($_[1], 'bold') }
sub seq_f { return colored ($_[1], 'cyan') }
sub seq_i { return colored ($_[1], 'yellow') }
diff --git a/lib/Pod/Text/Overstrike.pm b/lib/Pod/Text/Overstrike.pm
index a20aa4b5c9..7e23c0d174 100644
--- a/lib/Pod/Text/Overstrike.pm
+++ b/lib/Pod/Text/Overstrike.pm
@@ -1,5 +1,5 @@
# Pod::Text::Overstrike -- Convert POD data to formatted overstrike text
-# $Id: Overstrike.pm,v 1.5 2001/11/23 09:57:15 eagle Exp $
+# $Id: Overstrike.pm,v 1.6 2001/11/28 01:16:54 eagle Exp $
#
# Created by Joe Smith <Joe.Smith@inwap.com> 30-Nov-2000
# (based on Pod::Text::Color by Russ Allbery <rra@stanford.edu>)
@@ -36,7 +36,7 @@ use vars qw(@ISA $VERSION);
# Don't use the CVS revision as the version, since this module is also in Perl
# core and too many things could munge CVS magic revision strings. This
# number should ideally be the same as the CVS revision in podlators, however.
-$VERSION = 1.05;
+$VERSION = 1.06;
##############################################################################
@@ -88,7 +88,7 @@ sub heading {
$self->output (' ' x $indent . $text . "\n");
}
-# Fix the various interior sequences.
+# Fix the various formatting codes.
sub seq_b { local $_ = strip_format (@_); s/(.)/$1\b$1/g; $_ }
sub seq_f { local $_ = strip_format (@_); s/(.)/_\b$1/g; $_ }
sub seq_i { local $_ = strip_format (@_); s/(.)/_\b$1/g; $_ }
@@ -101,7 +101,7 @@ sub output_code {
}
# We unfortunately have to override the wrapping code here, since the normal
-# wrapping code gets really confused by all the escape sequences.
+# wrapping code gets really confused by all the backspaces.
sub wrap {
my $self = shift;
local $_ = shift;
diff --git a/lib/Pod/Text/Termcap.pm b/lib/Pod/Text/Termcap.pm
index 4733a811aa..6d8513bded 100644
--- a/lib/Pod/Text/Termcap.pm
+++ b/lib/Pod/Text/Termcap.pm
@@ -1,5 +1,5 @@
# Pod::Text::Termcap -- Convert POD data to ASCII text with format escapes.
-# $Id: Termcap.pm,v 1.4 2001/11/26 07:54:54 eagle Exp $
+# $Id: Termcap.pm,v 1.5 2001/11/28 00:21:28 eagle Exp $
#
# Copyright 1999, 2001 by Russ Allbery <rra@stanford.edu>
#
@@ -30,7 +30,7 @@ use vars qw(@ISA $VERSION);
# Don't use the CVS revision as the version, since this module is also in Perl
# core and too many things could munge CVS magic revision strings. This
# number should ideally be the same as the CVS revision in podlators, however.
-$VERSION = 1.04;
+$VERSION = 1.05;
##############################################################################
@@ -140,7 +140,7 @@ text using the correct termcap escape sequences for the current terminal.
Apart from the format codes, it in all ways functions like Pod::Text. See
L<Pod::Text> for details and available options.
-=head NOTES
+=head1 NOTES
This module uses Term::Cap to retrieve the formatting escape sequences for
the current terminal, and falls back on the ECMA-48 (the same in this