[erlang-questions] lfe shell via lfe_boot

Robert Virding rvirding@REDACTED
Tue Dec 16 22:23:30 CET 2008


Hi,

Hmm. The magical incantation you are using is right

erl -noshell -noinput -s lfe_boot start

What I am wondering is how you have set your paths so it can find all the
files? I assume that as you have no problems running the compiler they are
set up right, but if you are having having problems this may be the cause.
Let me know.

Note that the lfe shell doesn't have as many built-in commands as the
vanilla shell but you can use many of them by directly calling the
corresponding function in the module 'c'. This is what the vanilla shell
does. So for example you want the help info then you would do:

> (: c help)

LFE is progressing and I intend to work more on it soon. It depends on what
input I get. Let me know how it goes and if you find any bugs,

Robert

2008/12/16 Raoul Duke <raould@REDACTED>

> hi,
>
> still a newbie, here, malheuresement. i have lfe under
> erl5.6.5./lib/lfe and am trying to use the lfe shell & haven't figured
> it out yet. i'm on winxp+cygwin. i can fire up erl and use
> lfe_comp:file() just dandy, but:
>
> bash-3.2$ bin/erl -noshell -noinput -s lfe_boot start
> =ERROR REPORT==== 15-Dec-2008::22:33:13 ===
> Error in process <0.27.0> with exit value:
> {badarg,[{erlang,register,[user,<0.28.0>]},{user,start_port,1}]}
>
> i also, cargo-cult-pattern-matching-esque, tried "bin/erl -noshell
> -noinput -pa lib/life/src -s lfe_boot start", and got the same badarg.
>
> might anybody have an idea of what i'm doing wrong / need to do instead?
> thank you!
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081216/1f76a3ee/attachment.htm>


More information about the erlang-questions mailing list