Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Term::ReadLine editing in perl5db.pl vs reply on Win10 ?

by perlfan (Vicar)
on Jun 13, 2020 at 18:01 UTC ( [id://11118026]=note: print w/replies, xml ) Need Help??


in reply to Term::ReadLine editing in perl5db.pl vs reply on Win10 ?

idk if this would be helpful, but readline is what gives you line navigation in a shell, right? You said like in emacs, but I think most would know it for using to jump to the start (CTRL-a) and end (CTRL-e) of lines in the shell as you're typing; I know mysql cli client supports it, *nix shells, etc.

It is a library that must be available, so if it's not available the Perl interfaces are probably going to not function (but also not break):

On windows, the readline library page says, "If you are running Windows, I recommend that you use Cygwin, who currently ship readline-7.0 for x86 and readline-7.0 for x86_64, or MinGW, which currently has packages for readline-5.2.". My first thought was to suggest installing the library via cygwin, and this is pretty much what they suggest also.

So checkout https://tiswww.case.edu/php/chet/readline/rltop.html and maybe adding it via Cygwin will help - not sure how to link up the RL modules or how setting PERL_RL may be involved, but hopefully this gives you some new ideas.

Replies are listed 'Best First'.
Re^2: Term::ReadLine editing in perl5db.pl vs reply on Win10 ?
by LanX (Saint) on Jun 13, 2020 at 20:42 UTC
    Thanks, but I need to use the debugger interactively in the same environment like my client, and that's unfortunately active state for 5.24.

    My guess so far - we had similar discussions before - was that AS messed it up.

    That's why I asked how Reply - great tool BTW - solved it.

    Apart from this I'm very interested to have an out of the box REPL in CORE. I think that's crucial for Perl. :)

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11118026]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-19 09:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found