[erlang-patches] shell line buffer behavior

Dave Peticolas dave@REDACTED
Tue Mar 9 04:20:03 CET 2010


Bernard Duggan wrote:
> Winston Smith wrote:
>> On Sun, Mar 7, 2010 at 1:15 PM, Dave Peticolas <dave@REDACTED> 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).

That's a cool utility, thanks.


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

Yep, I think it might still be useful for systems you can't install
extra stuff to.

> Cheers,
> 
> Bernard
> 



More information about the erlang-patches mailing list