[csw-users] Perl, CPAN, and CSWpm_termreadlineg

Peter Bonivart bonivart at opencsw.org
Thu Jan 5 10:17:44 CET 2012


On Thu, Jan 5, 2012 at 9:19 AM, Larry Siden <lsiden at gmail.com> wrote:
> Installing pm_termradlineg breaks cpan, because it will quickly exit with a
> message that it has run out of memory.  This is on a system with 32G and the
> histfile was short, so the problem is elsewhere.  I think someone else
> complained about it too.
>
> My only recourse was to uninstall this module and forego command history
> edits in cpan.
>
> Of course there is still cpanm (
> http://search.cpan.org/~miyagawa/App-cpanminus-1.5007/bin/cpanm ) which will
> allow you to do everything in your favorite Unix shell, and thus take
> advantage of your system-wide console readline command-history-edit
> capabilities.

I never use CPAN any more, instead I add whatever is needed as an
OpenCSW package but to test this I started CPAN for the first time on
a system, it auto-configured and worked, although without any history,
when exiting it also said this:

"Terminal does not support AddHistory."

I installed pm_termradlineg, started CPAN and history worked, I could
use the arrow keys to edit previous commands. Is that what you meant
did not work for you?

/peter


More information about the users mailing list