LanX has asked for the wisdom of the Perl Monks concerning the following question:
I was very surprised to find out at work that the local Win/Activestate/Perl5.16 supports arrow-key navigation of the history of multi-liners typed after a blank 'perl RET'.
For instance this is the sobering effect with my Linux 5.20 installation
~$ perl $a=42; print $a; __END__ 42 ~$ perl ^[[A^[[A^[[A^C # Arrow keys no avail ~$
Term::Readline is of course installed for the debugger, so this can't be the reason.
Now I'm wondering how to activate this feature on Linux too or at least to understand the differences between the OS versions better.
Any insights?
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Navigating history of STDIN-multiliners after 'perl RET'
by BrowserUk (Patriarch) on Dec 24, 2016 at 16:31 UTC | |
|
Re: Navigating history of STDIN-multiliners after 'perl RET'
by kschwab (Vicar) on Dec 25, 2016 at 12:59 UTC | |
by LanX (Saint) on Dec 25, 2016 at 21:41 UTC | |
|
Re: Navigating history of STDIN-multiliners after 'perl RET'
by Anonymous Monk on Dec 25, 2016 at 15:14 UTC |