[erlang-patches] shell line buffer behavior

Bernard Duggan <>
Mon Mar 8 22:19:49 CET 2010

Winston Smith wrote:
> On Sun, Mar 7, 2010 at 1:15 PM, Dave Peticolas <> wrote:
>> Here's some work to make the Erlang shell history
>> more like readline:
> The killer feature here is if you can make it record the shell history
> between invocations (maybe in ~/.erl_history).
For anyone who hasn't found it, there's a great little utility (on
Linux, at least) called 'rlwrap' which gives you the full readline
feature set on any command line system (like, say, the erlang shell).  I
simply have 'erl' aliased to 'rlwrap -a erl'.  It gives you everything
provided by this patch as well as as a searchable history (just like you
get in bash with Ctrl-r).

(This isn't meant to suggest that the patch isn't worthwhile, just to
note an alternative).



More information about the erlang-patches mailing list