[erlang-questions] shell-questions

Bernard Duggan bernie@REDACTED
Tue Apr 20 00:53:25 CEST 2010


I did a bunch of reading on and tinkering with rlwrap after the last
time this was raised as a (quite valid) issue.  It looks, sadly, like
the answer at the moment is 'no'.  From memory, it was a limitation of
the readline library and the configuration thereof.  If anyone wants to
correct me, though, I'd be more than happy for them to do so (I'd love
to have tab-completion back) :)

B

Hynek Vychodil wrote:
> Unfortunately rlwrap filters out ^G which is show stopper for me. Is
> there any workaround?
>
> On Mon, Apr 19, 2010 at 4:52 PM, Evans, Matthew <mevans@REDACTED> wrote:
>   
>> Someone posted this a few weeks ago:
>>
>>     
>>> 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).
>>>       
>> -----Original Message-----
>> From: erlang-questions@REDACTED [mailto:erlang-questions@REDACTED] On Behalf Of Jesper Pettersson
>> Sent: Monday, April 19, 2010 2:42 AM
>> To: erlang-questions@REDACTED
>> Subject: [erlang-questions] shell-questions
>>
>> I have two questions about the erlang shell:
>>
>> 1) Is there any way to make the history persistent between sessions?
>> 2) Is there any way to enable emacs-style backwards search in the command
>> history using CTRL-R?
>>
>> Thanks in advance,
>>
>> Jesper Pettersson
>> Klarna AB
>>
>> ________________________________________________________________
>> erlang-questions (at) erlang.org mailing list.
>> See http://www.erlang.org/faq.html
>> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>>
>>
>>     
>
>
>
>   



More information about the erlang-questions mailing list