[erlang-questions] Redirect -remsh output

Serge Aleynikov <>
Fri Sep 26 06:25:58 CEST 2008

I believe you are right, as tab-expansion works only on some standard 
modules (e.g. stdlib, kernel, etc) that are in the path on both nodes.

So, adding the appropriate rpc:call/4 in both places should fix the issue.


Geoff Cant wrote:
> It's not that there's a lack of tab expansion, it's just that the
> expansions are being calculated on the wrong node. As far as I can tell,
> they're getting calculated on the group_leader? (local) node and not the
> evaluator node (remote).
> http://github.com/mfoemmel/erlang-otp/tree/master/lib/stdlib/src/edlin_expand.erl
> at line 45 and 51 probably just needs to ensure Mod:module_info() and
> code:loaded() get evaluated on the right node. 
> I'm not completely sure of my terminology here (evaluator node
> vs. group_leader/IO node), but I think that's the problem.
> Cheers,
> --Geoff
> "Edwin Fine" <> writes:
>> +1
>> The lack of tab keyword expansion on remsh annoys the heck out of me. I am
>> glad you brought it up.
>> On Thu, Sep 25, 2008 at 3:48 PM, Serge Aleynikov <> wrote:
>>> When using -remsh option to start a shell on a remote node, is there a
>>> way to have tab expansion in the shell work by printing the expansion
>>> hints in the remote shell?
>>> Serge
> _______________________________________________
> erlang-questions mailing list
> http://www.erlang.org/mailman/listinfo/erlang-questions

More information about the erlang-questions mailing list