in reply to Re: cpan on mac os x yosemite
in thread cpan on mac os x yosemite

Thanks Anonymous -- that worked. No idea how though. The TERM variable changes from xterm-256color to dumb and my alias ls='ls -GpF -h' does not give color output anymore, but cpan is now visible. And thanks for the post crosslinking tip.

Replies are listed 'Best First'.
Re^3: cpan on mac os x yosemite
by Anonymous Monk on Apr 05, 2015 at 09:36 UTC

    Well :) you could always set term=dumb for perl only through perl options PERL5OPT / sitecustomize... even CPAN/MyConfig.pm ... after all its just an %ENV entry

    Also, depending on which Term::ReadLine:: you got there might be hints in the bug queue , rt://Term-ReadLine-Perl... or you might submit a bug report

      I have installed Term::Readline::Perl; btw did not find any existing bug reports similar to what I have. Adding term => q[dumb] to MyConfig.pm does not help. Setting term_ornaments => q[0] returns visibility to a cpan shell, but only export TERM=dumb fixes the issue for both cpan and perl debugger.
        If anyone is interested, setting $ENV{TERM} = q[dumb]; in CPAN/MyConfig.pm and in /System/Library/Perl/5.18/perl5db.pl (need sudo here) restores expected behavior to both cpan and debugger shells. I lost readline/history functionality but that is less important. Thanks again!
Re^3: cpan on mac os x yosemite
by abualiga (Scribe) on Apr 05, 2015 at 03:32 UTC
    Also, export TERM=dumb does not play nice with vim.