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.


In reply to Re: Term::ReadLine editing in perl5db.pl vs reply on Win10 ? by perlfan
in thread Term::ReadLine editing in perl5db.pl vs reply on Win10 ? by LanX

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.