Hi

I'm very used to tweak the perl-debugger for my needs to get a shell experience.

Under Win it's not that easy anymore because of the lack of CTRL shortcuts.

I can get used to the fact that CMD translates CTRL-a to select-all instead of beginning-of-line ...

... but CTRL-r for reverse searching the history is a life saver!

DB<1> (reverse-i-search)`':

Now I tried calling the debugger under Git-Bash, which has a decent xterm emulation under bash. Unless when I call perl -de0 this is lost.

I also tried to install Term::ReadLine::Perl and Term::ReadLine::Zoid and did set %PERL_RL% accordingly.

I also tried installing Devel::REPL (incl. dependencies) and Reply but no luck with reverse search.

My best bet ATM is to run the debugger under emacs.

so ... what do you use and does it work the same under Win and Linux?

My requirements:

Nice-to-Have This seems to be all available for Linux, but poorly tested resp. hard to achieve under Win.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

°) !!dir in the debugger returns escape codes which "destroy" the terminal


In reply to Best Perl REPL/Shell on Win (and Linux)? 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.