in reply to CPAN shell command formatting

Well, in principle it's
my $bold = "\e[1m"; my $plain = "\e[m"; print "${bold}Bold text${plain} Plain text\n";
Don't know about the CPAN shell specifically, but if it's to produce "fancy" looking output, it needs to send escape sequences to the terminal, like the ones above...

Replies are listed 'Best First'.
Re^2: CPAN shell command formatting
by Anonymous Monk on May 30, 2022 at 06:49 UTC
    So I checked the xfce4-terminal (version 0.8.7.4) and it does have a setting "Allow bold text". When I disable it all bolded text is displayed as plain. It's in Edit -> Preferences -> Appearance. So maybe it's just your terminal.
      Yes, I have xfce4-terminal 1.0.3 and that options is available and enabled.