About windows I can't help you but with -user
I can. -user
is used to specify which top-level user interface to start. If you
don't give the flag then the default with the ^G and multishell version
is used.
lfe
does a -user lfe_init
which means that lfe_int:start/0
will be called. lfe_init:start/0
first checks if we want to evaluate a string, given with -lfe_eval
, or run a script. When running a script you don't want the default terminal interface but a simpler one which is started with user:start()
.
If neither then it calls the default top-level terminal interface, the
one with ^G handling, but with the LFE shell instead of the normal
erlang shell. The 'tty_sl -c -e'
means start up a character based terminal input, again this is the same as the default.
The whole startup mechanism is a bit messy because there are no clear orthogonal but a mishmash of overlapping options with a lot of "extra" functionality.
My guess is that somehow the windows erl
doesn't "see" the -user
option so it goes into the default handling with the erlang shell. We clearly need a proper .bat file for this or we fix up lfeexec
.
I can do the lfeexec if necessary but .bat help is definitely needed.
First step what do the startup files look like under windows? Maybe we
can copy them. Unfortunately I don't have access to a windows I can play
with but I will try and fix this.
--
You received this message because you are subscribed to the Google Groups "Lisp Flavoured Erlang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lisp-flavoured-e...@googlegroups.com.
To post to this group, send email to lisp-flavo...@googlegroups.com.
Visit this group at http://groups.google.com/group/lisp-flavoured-erlang.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to lisp-flavoured-erlang+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to lisp-flavoured-e...@googlegroups.com.
Visit this group at https://groups.google.com/group/lisp-flavoured-erlang.
To unsubscribe from this group and stop receiving emails from it, send an email to lisp-flavoured-e...@googlegroups.com.
To post to this group, send email to lisp-flavo...@googlegroups.com.
Visit this group at http://groups.google.com/group/lisp-flavoured-erlang.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Lisp Flavoured Erlang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lisp-flavoured-e...@googlegroups.com.
To post to this group, send email to lisp-flavo...@googlegroups.com.
Visit this group at https://groups.google.com/group/lisp-flavoured-erlang.
For more options, visit https://groups.google.com/d/optout.