Bug#758689: perldoc now outputs visible escape sequences

Olly Betts olly at survex.com
Wed Aug 20 06:15:55 UTC 2014


Package: perl
Version: 5.20.0-4
Severity: normal

The output from perldoc now contains visible escape sequences, e.g.:

$ perldoc perlfaq
ESC[1mNAMEESC[0m
    perlfaq - frequently asked questions about Perl

ESC[1mDESCRIPTIONESC[0m
    The perlfaq comprises several documents that answer the most commonly
    asked questions about Perl and Perl programming. It's divided by topic
    into nine major sections outlined in this document.

(With the "ESC" in reverse video).

If I pipe output through more, it looks correct, e.g.:
$ perldoc perlfaq|more
NAME
    perlfaq - frequently asked questions about Perl

DESCRIPTION
    The perlfaq comprises several documents that answer the most commonly
    asked questions about Perl and Perl programming. It's divided by topic
    into nine major sections outlined in this document.

(with "NAME" and "DESCRIPTION" in bold).

I think this start to happen after I upgraded to perl 5.20 - it
certainly didn't happen last time I used perldoc.

Cheers,
    Olly

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages perl depends on:
ii  libbz2-1.0    1.0.6-7
ii  libc6         2.19-9
ii  libdb5.3      5.3.28-5
ii  libgdbm3      1.8.3-13
ii  perl-base     5.20.0-4
ii  perl-modules  5.20.0-4
ii  zlib1g        1:1.2.8.dfsg-2

Versions of packages perl recommends:
ii  netbase  5.2
ii  rename   0.20-3

Versions of packages perl suggests:
pn  libterm-readline-gnu-perl | libterm-readline-perl-perl  <none>
ii  make                                                    4.0-8
ii  perl-doc                                                5.20.0-4

-- no debconf information




More information about the Perl-maintainers mailing list