Ovid has asked for the wisdom of the Perl Monks concerning the following question:
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:
- This is perl, v5.8.0 built for i686-linux-thread-multi
- GNU bash, version 2.05b.0(1)-release (i686-pc-linux-gnu)
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)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Perldoc Problem: Linux or Perl?
by jasonk (Parson) on Mar 16, 2003 at 16:54 UTC | |
by zby (Vicar) on Mar 17, 2003 at 09:58 UTC | |
Re: Perldoc Problem: Linux or Perl?
by Elian (Parson) on Mar 16, 2003 at 16:30 UTC | |
Re: Perldoc Problem: Linux or Perl?
by allolex (Curate) on Mar 16, 2003 at 23:28 UTC | |
by jasonk (Parson) on Mar 16, 2003 at 23:56 UTC | |
by allolex (Curate) on Mar 17, 2003 at 10:29 UTC | |
by jasonk (Parson) on Mar 17, 2003 at 16:31 UTC | |
by blm (Hermit) on Mar 17, 2003 at 03:41 UTC |