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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |