Re: Independent Euphoria Interpreter
- Posted by Matt Lewis <matthewwalkerlewis at ?mail?com> Dec 14, 2007
- 569 views
c.k.lester wrote: > > I tried to reply to your message at the wiki, matt, but every time i logged > in and then went to the wiki, it logged me out (or kept asking for me to > login again, which i did, but then couldn't post because it kept asking me > to login again, which i did, but then...) Yeah, they've been changing the sf.net page recently, and there are several things that annoy me, not the least being that it never remembers you when you return to the site. > anyway, i think there are two issues here that might be somewhat related and > they need to be separated. > > 1. unix installations > 2. euphoria interpreter environment variables > > Item 2 is important to CGI, even for Windows, so the Windows interpreter > needs to take into account the same config file functionality as > Linux/FreeBSD. That is, all the interpreters need to look for the config > file before running on their respective platform. You're absolutely right. I think that every place where 'portable' is mentioned, you can imagine that it also says 'cgi'--I'll edit the page to reflect this. But that doesn't change the meat of what's on the page. Here are the relevant parts of the page (with editing to show only the Win32/DOS32 parts): The interpreters/translators would search for the configuration file firstly in their own directory (important if they are on a portable device). If no configuration file is found there, then they'll look for it in some standard places. That could be (see below for more detail): * on Windows: %ALLUSERSPROFILE%\euphoria\euinc.conf : %APPDATA%\euphoria\euinc.conf * on DOS : ??? Probably just a local conf file, since there are no users Matt