What program can help a REPL shell remember and search history?
-
06-09-2019 - |
Question
I'm playing with Paul Graham's arc, and it's getting really annoying that the up arrow inserts ^[[A instead of the previous command, and ^R doesn't work as in shell. I vaguely remember there being a simple way to run Arc's REPL in a program which will remember the input history - does anyone know what it is?
Solution
Perhaps you're thinking of rlwrap?
OTHER TIPS
nex3's arc on github comes with a script arc.sh which calls rlwrap by default, and an emacs mode to use the history with alt+P and alt+N.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow