1. Re: *nix configuration

Matt Lewis wrote:

> Juergen Luethje wrote:

<snip>

> These are good inputs.  I hadn't really thought too much about carrying
> this effort over into a windows environment, but you made great points.
> 
> Please update the wiki:
> <a
> href="http://rapideuphoria.wiki.sourceforge.net/nix+config">http://rapideuphoria.wiki.sourceforge.net/nix+config</a>

Done.

> On *nix, my idea was to look in a standard place, such as 
> /etc/euphoria/euinc.conf
> 
> And euinc.conf would probably be a plain text file, with one path per
> line that specified where to search for include files.  On windows, it
> could be stored in %APPDATA%\euphoria\euinc.conf.
> 
> But there should be a way to get a different conf file, which leads into
> another idea regarding allowing interpreter specific command line switches
> before the file name:
> 
> $ exu -c ./myinc.conf myapp.exu
> 
> > exw -i c:\wxeu wxeuapp.exw
> 
> command_line() would still work the same (so the interpreter would fiddle
> with the actual command line passed in),

I also tried to include this information from you, as well as C.K.'s input.

> and we might want to add an 
> additional routine like interpreter_options() to access those switches...
> or maybe not.

I think adding such a routine could be helpful for debugging purposes.
Sometimes programmers might be confused, because their program does not
do what they expected. The reason might be, that Euphoria does use a
different configuration file (and so includes different source code)
than they expected. So there should be a way to check, which
configuration file is actually used by a given instance of Euphoria.
I wrote this opinion in the wiki, too.

Please look at the wiki page, and correct, rearrange, or supplement
things as required.

Regards,
   Juergen

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu