Re: name change from ed.ex to edx.ex
- Posted by jimcbrown (admin) Jan 30, 2014
- 1505 views
I don't understand why all the changes are needed ?
I thought that that the whole idea of eu.cfg was to solve problems like this .
If you setup eu.cfg in a directory to point to ed.ex and you type 'ed' Euphoria
should use ed.ex .
This is just so wrong that it's hard to know where to start.
Well, I'll try anyways.
eu.cfg is designed to tell the interpreter what environmental options you want to pass to it. This includes the location of Euphoria include files, among other things.
The issue here is that before the interpreter is started, even before the interpreter is allowed to look at eu.cfg, even before the interpreter is given a PID, the command line shell will look at 'ed' and start looking for it. Obviously, the command line shell does not know or care about eu.cfg. Instead, it uses the PATH to find 'ed' - and it'll typically find the one that came with the distro, rather than the Euphoria version.