LanX has asked for the wisdom of the Perl Monks concerning the following question:
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:
- Command Up/Down with arrow keys
- Interactive reverse search in history
- REPL
- Persistent Command-History
- Shell out commands °
- Aliases
- Configuration via .rc file
- tab-completion
- multi-line detection
- option for persistent lexical vars
- color-support
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