My experience with 32bit win32 SPP and ASP was that if you set term to dumb you get dumb---no command line anything. On the other hand, something may have changed for the 64bit OS/perl.
I still have my 64bit perl and PDL install on the to do list but won't be able to get to it until after PDL-2.006 is out. I'll be sure to check it out then. --Chris On Thu, Mar 7, 2013 at 1:12 AM, <[email protected]> wrote: > > From: Clifford Sobchuk > Sent: Thursday, March 07, 2013 2:35 PM > To: [email protected] > Subject: [Perldl] PDL2.4.11 pdl2 shell Win 7 ActivePerl 5.14.3 64 bit - > term-readline problems > > >> when I enter the pdl2 shell I have no line editing, no history, even >> though the .perldl_hist file is there and being updated. > > > I've just installed all the stuff needed for the pdl2 shell on x64 > perl-5.16.0 (MS Windows 7) and I probably get the same as Clifford (OP). > I can't use the arrow keys to move around on the current line, and I can't > use them to get back to a previous line. > > Chris, do we need a specific setting for $ENV{TERM} ? (Mine is currently > unset.) > If I set it to 'dumb', I then get the desired behaviour back ... but it > seems that 'dumb' is *not* the recommended setting. > > FYI, I get the following when I fire up the pdl2 shell with TERM unset: > > ======================================= > C:\_32>pdl2 > load_rcfile: got $HOME = C:/Users/sisyphus > load_rcfile: loading PDL/default.pdl > Perldl2 Shell v0.007 > 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. > Loaded plugins: > CleanErrors > Commands > Completion > CompletionDriver::INC > CompletionDriver::Keywords > CompletionDriver::LexEnv > CompletionDriver::Methods > DDS > FindVariable > History > LexEnv > MultiLine::PPI > NiceSlice > PDLCommands > Packages > PrintControl > ReadLineHistory > Type 'help' for online help > Type Ctrl-D or quit to exit > Loaded PDL v2.004_012 > ======================================= > If I set TERM to dumb, pdl2 shell functionality is vastly improved, but I > get > ======================================= > C:\_32>pdl2 > load_rcfile: got $HOME = C:/Users/sisyphus > load_rcfile: loading PDL/default.pdl > > ****************************************** > * Warning: TERM type is dumb! * > * Limited ReadLine functionality will be * > * available. Please unset TERM or use a * > * different terminal type. * > ****************************************** > > Perldl2 Shell v0.007 > 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. > Loaded plugins: > CleanErrors > Commands > Completion > CompletionDriver::INC > CompletionDriver::Keywords > CompletionDriver::LexEnv > CompletionDriver::Methods > DDS > FindVariable > History > LexEnv > MultiLine::PPI > NiceSlice > PDLCommands > Packages > PrintControl > ReadLineHistory > Type 'help' for online help > Type Ctrl-D or quit to exit > Loaded PDL v2.004_012 > ======================================= > > Seems that the advice to unset TERM is *not* the right thing for Windows 7. > Or might it depend on the version of one of the pre-requisite modules ? > > Cheers, > Rob > > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
