[erlang-questions] Erlang Shell History: enabled.

Xavier Maillard xavier@REDACTED
Wed Dec 21 11:25:03 CET 2011


Hi Fred,

On Mon, 21 Nov 2011 13:23:25 -0500, Fred Hebert <mononcqc@REDACTED> wrote:
 
> last week I was on a bus after work and decided to keep on going with a
> small project started at the EUC hackathon -- adding shell history to the
> Erlang shell.

Sounds like a pretty useful thing !
 
> I'm presenting the result of the quick hack:
> https://github.com/ferd/erlang-history

[ ... SNIP ... ]
 
> Let me know what you think of it. Also: enjoy!

I have tried it here but here is what I got as soon as I press the UP
and DOWN key:

=ERROR REPORT==== 21-Dec-2011::00:34:01 ===
Error in process <0.67.0> with exit value:
{undef,[{edlin,current_line,[{line,"1>
",{[],[]},none}]},{group,get_line1,4},{group,get_chars_loop,8},{group,io_request,5},{group,server_loop,3}]}

THis happens on a slackware GNU/linux system with Erlang R13. Is it
supposed to work with any Erlang OTP release ?

Regards

/Xavier




More information about the erlang-questions mailing list