You may have to manually install the Gnu Readline library.  It’s becoming 
enough of a pain in the butt to get installed, that an Alien::ReadLine might be 
called for...

> On Apr 13, 2018, at 3:23 PM, William Schmidt <t.william.schm...@gmail.com> 
> wrote:
> 
> Hmm,
> 
> Tried that.
> 
> $ cpanm Term::ReadLine::Gnu
> Term::ReadLine::Gnu is up to date. (1.35)
> 
> Does it require config or enabling?
> 
> Will
> 
> 
> 
> 
> On Fri, Apr 13, 2018 at 4:20 PM, Craig DeForest <defor...@boulder.swri.edu 
> <mailto:defor...@boulder.swri.edu>> wrote:
> The problem is that Term::ReadLine is suffering from bit rot.  Try installing 
> Term::ReadLine::Gnu.
> 
>> On Apr 13, 2018, at 3:14 PM, William Schmidt <t.william.schm...@gmail.com 
>> <mailto:t.william.schm...@gmail.com>> wrote:
>> 
>> Hello piddlers,
>> 
>> perldl is one great prototyping tool, and I am making great progress 
>> understanding and mastering PDL running it in macOS, but thus far, enabling 
>> history list and command line editing inside perldl has been a total bust. 
>> The docos say the command line editor is emacs-like. I would prefer vi but 
>> any command line editing is welcome, given how I am using perldl to learn 
>> PDL. However, I cannot enable the history list nor edit a previous line 
>> other than doing very precise cut and paste. Here is the initial 
>> announcement when I start perldl:
>> 
>> $ perldl
>> perlDL shell v1.357
>>  PDL comes with ABSOLUTELY NO WARRANTY. For details, see the file
>>  'COPYING' in the PDL distribution. This is free software and you
>>  are welcome to redistribute it under certain conditions, see
>>  the same file for details.
>> ReadLines, NiceSlice, MultiLines  enabled
>> Reading /Users/carly/.perldlrc...
>> Found docs database 
>> /Users/carly/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/darwin-2level/PDL/pdldoc.db
>> Type 'help' for online help
>> Type 'demo' for online demos
>> Loaded PDL v2.018 (supports bad values)
>> 
>> 
>> Notice, ReadLines is enabled.
>> 
>> And here is what I get with the l command, 'l', not '1';
>> 
>> Can't locate object method "GetHistory" via package "Term::ReadLine::Stub" 
>> at /Users/carly/perl5/perlbrew/perls/perl-5.20.3/bin/perldl line 313, 
>> <STDIN> line 2.
>> 
>> What am I missing? What Perl/PDL modules must be present? Getting history 
>> and command editing working would truly make perldl an effective learning 
>> tool.
>> 
>> Thanks and regards,
>> Will Schmidt
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org <http://slashdot.org/>! 
>> http://sdm.link/slashdot_______________________________________________ 
>> <http://sdm.link/slashdot_______________________________________________>
>> pdl-general mailing list
>> pdl-general@lists.sourceforge.net <mailto:pdl-general@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/pdl-general 
>> <https://lists.sourceforge.net/lists/listinfo/pdl-general>
> 
> 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pdl-general mailing list
pdl-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to