Re: Recalling previous commands

2016-01-02 Thread Kaare Rasmussen
Hi Linenoise is included in Task::Star. https://github.com/tadzik/Task-Star/commit/8ff101ae15 So it's strange I had to install it after I installed rakudo, panda, and Task::Star. I guess things aren't really streamlined to perfection yet. /kaare

Re: Recalling previous commands

2016-01-01 Thread Brent Laabs
Linenoise is included in Task::Star. https://github.com/tadzik/Task-Star/commit/8ff101ae15 As a bit of history, Linenoise used to be part of the Rakudo repo, but it was split off in the interest of making the base install smaller, keeping separate software separate, and making it more pluggable.

Re: Recalling previous commands

2016-01-01 Thread Kaare Rasmussen
Hi Try Out Linenoise https://github.com/hoelzro/p6-linenoise/ panda install Linenoise Command history is essential to the user experience of a REPL. I wonder why Linenoise just isn't included in Task::Star (?) /kaare

Re: Recalling previous commands

2016-01-01 Thread Patrick R. Michaud
While I recall that we've often discussed building command history into Rakudo's REPL directly, the workaround suggested to me was to use 'rlwrap': $ rlwrap ./perl6 Then the arrow keys work, as well as CTRL-P and other bash-like history commands. I've never used CTRL-K for history, but rlw

Re: Recalling previous commands

2016-01-01 Thread James Ellis Osborne III
Try Out Linenoise https://github.com/hoelzro/p6-linenoise/ panda install Linenoise -jas On 1 January 2016 at 13:52, Brandon Allbery wrote: > On Fri, Jan 1, 2016 at 4:47 PM, Parrot Raiser <1parr...@gmail.com> wrote: >> >> Every time I make a typo in a complex command, I reflexively hit >> ctrl-k

Re: Recalling previous commands

2016-01-01 Thread Brandon Allbery
On Fri, Jan 1, 2016 at 4:47 PM, Parrot Raiser <1parr...@gmail.com> wrote: > Every time I make a typo in a complex command, I reflexively hit > ctrl-k before remembering I'm not in bash any more. :-)* > ...ctrl-k? wtf is bash misteaching people any more? I'd expect ctrl-p, like pretty much anythi

Recalling previous commands

2016-01-01 Thread Parrot Raiser
Is there any way to recall a previous command (for correction or re-running), when using Perl 6 in the interactive REPL mode? Every time I make a typo in a complex command, I reflexively hit ctrl-k before remembering I'm not in bash any more. :-)*