I recently upgraded to RH Linux 8.0 and perldoc seems to be displaying escape sequences. It runs just fine, but output appears as follows

$ perldoc Class::DBI

Class::DBI(3)         User Contributed Perl Documentation        Class::DBI(3)


ESC[1mNAMEESC[0m
               Class::DBI - Simple Database Abstraction

ESC[1mSYNOPSISESC[0m
               package Music::DBI;
               use base 'Class::DBI';
               Music::DBI->set_db('Main', 'dbi:mysql', 'username', 'password');

(Note that "ESC" is actually white text on a black background).

Frankly, I haven't a clue on how to debug this. Is this a general Linux issue? My man pages appear fine. General info:

A quick discussion in the chatterbox has revealed that I am not the only monk to have this problem. Petruchio notes that he has a similar problem and redirecting the output to a file and examining it with a hex editor reveals that the escape sequences appear to be properly formed.

I can get around this with perldoc -t module_name, but it would be nice to get this working.

Cheers,
Ovid

New address of my CGI Course.
Silence is Evil (feel free to copy and distribute widely - note copyright text)


In reply to Perldoc Problem: Linux or Perl? by Ovid

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.