in reply to Re: term::readline::gnu extra spaces on completion
in thread term::readline::gnu extra spaces on completion

Thanks for you suggestions:
use Term::ReadLine; my $pkg = Term::ReadLine->ReadLine(); print "Term::ReadLine->ReadLine() says \'$pkg\'\n"; my $pkg2 = $ENV{PERL_RL}; print "ENV(PERL_RL) says \'$pkg2\'\n"; print "\@Term::ReadLine::ISA says ", @Term::ReadLine::ISA, "\n";
gives:

$ perl ../Tools/term_check.pl
Term::ReadLine->ReadLine() says 'Term::ReadLine::Gnu'
ENV(PERL_RL) says ''
@Term::ReadLine::ISA says Term::ReadLine::GnuTerm::ReadLine::Stub

So, as far as I can tell, I am running the Gnu version.

Replies are listed 'Best First'.
Re^3: term::readline::gnu extra spaces on completion
by Eily (Monsignor) on Feb 04, 2014 at 10:19 UTC

    Hmm ... You could check the version of your GRL, it has to be higher than 4.3 for rl_completion_suppress_append to work.

    I don't have any more ideas after that I'm afraid.

      According to the cygwin installer, I'm using readline7. So it /should/ work. I also checked the installed dlls and indeed it is version7.