Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^5: perldoc Bold, Italic etc

by LanX (Saint)
on Sep 01, 2021 at 01:24 UTC ( [id://11136322]=note: print w/replies, xml ) Need Help??


in reply to Re^4: perldoc Bold, Italic etc
in thread perldoc Bold, Italic etc

Thanks! :)

It should load Pod::Perldoc::ToTerm, could you please check if an explicit -oterm loads it?

If it's available, I can't tell from this output why it's not chosen. (apart from the missing commas)

probably comparing the ENV variables sheds some light.

I'd also play with setting PERLDOCDEBUG

> Having PERLDOCDEBUG set to a positive integer will make perldoc emit even more descriptive output than the -D switch does; the higher the number, the more it emits.

If this doesn't give a clue I'm afraid I'm out of ideas.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^6: perldoc Bold, Italic etc
by miguelnixon (Novice) on Sep 01, 2021 at 12:17 UTC
    If I run perldoc -oterm junk2
    all I get is as below, with "ESC" in Inverse color (ie: not rendered graphically)
    ESC[1mESC[1mBold headingESC[0mESC[0m * ESC[4mItalic itemESC[0m Description of the first argument. * ESC[4malso ItalicESC[0m Description of the second argument. /tmp/cXitYT435j (END)
    As I said, only perldoc -oman junk2 actually renders the Bold, italic etc.
      My guess is that you have another terminal now which isn't enabled to render escape sequences.

      But it's still guessing, not enough infos to tell and I don't have a Linux at hand to check

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery

        OK I checked with an old VM image with ubuntu14

        something like

        > PERLDOCDEBUG=2 perldoc tst.pod

        will show you plenty of details, like the found formatters and nroff binaries.

        This might give you a hint how the two systems are differing.

        (On a side note: the supposedly italic text was underlined in my terminal)

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11136322]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-24 09:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found