forked from Lainports/opnsense-ports
10 lines
531 B
Perl
10 lines
531 B
Perl
--- cpan/Pod-Perldoc/lib/Pod/Perldoc.pm.orig 2015-04-27 14:10:52 UTC
|
|
+++ cpan/Pod-Perldoc/lib/Pod/Perldoc.pm
|
|
@@ -1920,6 +1920,7 @@ sub page { # apply a pager to the outpu
|
|
# fix visible escape codes in ToTerm output
|
|
# https://bugs.debian.org/758689
|
|
local $ENV{LESS} = defined $ENV{LESS} ? "$ENV{LESS} -R" : "-R";
|
|
+ local $ENV{MORE} = defined $ENV{MORE} ? "$ENV{MORE} -R" : "-R";
|
|
last if system("$pager \"$output\"") == 0;
|
|
}
|
|
}
|