OK, so I think the new setup if finally working.
config.flx is moved to

        lib/std/felix/config.flx

and it supplies two variables:

        FLX_SHARE_DIR
        FLX_TARGET_DIR

to its client. Now, there is one more critical directory: the cache.
At present that's calculated by

        lib/std/felix/flx/flx_profile.flx

from $HOME etc. In fact it calculates HOME.  Actually the core directory 
should be

        FLX_HOME_DIR

which would be 

        $HOME/.felix

by default. So config should use this (instead of doing its own calculation).
The question is: why is config in std/felix,whilst HOME is in std/felix/flx?

Who needs to know FLX_SHARE/TARGET_DIR? Who needs FLX_HOME_DIR?

Obviously "flx" needs these things. However applications may need some stuff
too. For a start, LD_LIBRARY_PATH needs to be set to get plugins and shared
libs. If plugins live elsewhere, we need that. The webserver tracks teh 
installation
too and so do the build tools.

The GUI needs a standard font. From where? From FLX_HOME_DIR/config?
Or from the TARGET database?




--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to