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

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.

Replies are listed 'Best First'.
Re^7: perldoc Bold, Italic etc
by LanX (Saint) on Sep 01, 2021 at 12:23 UTC
    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

        Life is too short to fret over cosmetics (I retired from programming professionally more than 10 years ago)
        Anyhoo: the quick-fix is just to create an alias as I mentioned earlier.
        A little piece of Perly-bandaid and the problem has gone for me. ;-)
        Thanks so much for the comments & input!