1. Newbie in crisis
- Posted by dstanger at belco.bc.ca Apr 28, 2001
- 393 views
Hello All, I have just downloaded Euphoria and am all geared up and ready to go....except I can't run any of the demos or included programs (when I try I am told that the file cannot be found), and the editor does not have the EX command so that I can run my program code, nor does the code change color (for instance, when I type 'atom' shouldn't it change color?). Needless to say, this is extremely frusterating! What am I doing wrong here? Please help me. To have discovered wonderful Euphoria and then not be able to use it is not good for my blood pressure;) Thank you, David
2. Re: Newbie in crisis
- Posted by Michael Sabal <mikes at notations.com> Apr 28, 2001
- 404 views
David, First off, welcome to Euphoria. Once you get going, you'll wonder how = you ever programmed in any other language . In order to get going, you = need to fix your path entry in autoexec.bat. Add the following 2 lines, = assuming you installed Euphoria to the C: drive: path=3D%path%;c:\euphoria\bin set eudir=3Dc:\euphoria Without these two environment variables set correctly, you will not be = able to run any programs or demos unless everything is in the same current = directory. HTH & GL, Michael J. Sabal >>> dstanger at belco.bc.ca 04/13/01 02:45PM >>> Hello All, I have just downloaded Euphoria and am all geared up and ready to go....except I can't run any of the demos or included programs (when I try = I am told that the file cannot be found), and the editor does not have the = EX command so that I can run my program code, nor does the code change color (for instance, when I type 'atom' shouldn't it change color?). Needless to say, this is extremely frusterating! What am I doing wrong = here? Please help me. To have discovered wonderful Euphoria and then not be able to use it is not good for my blood pressure;) Thank you, David
3. Re: Newbie in crisis
- Posted by Derek Parnell <ddparnell at bigpond.com> Apr 28, 2001
- 383 views
----- Original Message ----- From: <dstanger at belco.bc.ca> To: "EUforum" <EUforum at topica.com> Subject: Newbie in crisis > I have just downloaded Euphoria and am all geared up and ready to > go....except I can't run any of the demos or included programs > (when I try I am told that the file cannot be found), and the > editor does not have the EX command so that I can run my program code, > nor does the code change color (for instance, when I type 'atom' > shouldn't it change color?). > > Needless to say, this is extremely frusterating! What am I doing > wrong here? > > Please help me. To have discovered wonderful Euphoria and then > not be able to use it is not good for my blood pressure;) Hello David, after you downloaded Euphoria, can you describe in detail what you did to install it? At this stage, it sounds like it hasn't been installed correctly. I'm assuming you installed it in the C:\EUPHORIA directory. In which case your DOS path should have this directory included in it. Do you know how to update your DOS PATH? Euphoria's EX program is a DOS program. It runs from the DOS prompt. Which editor are you referring to? Do you have the DOS environment variable EUDIR set up to point to the directory in which you installed Euphoria? eg. EUDIR=C:\EUPHORIA ------ Derek Parnell Melbourne, Australia "To finish a job quickly, go slower."
4. Re: Newbie in crisis
- Posted by "Thomas Parslow (PatRat)" <patrat at rat-software.com> Apr 28, 2001
- 380 views
> Hello All, > > I have just downloaded Euphoria and am all geared up and ready to > go....except I can't run any of the demos or included programs (when I try I > am told that the file cannot be found), and the editor does not have the EX > command so that I can run my program code, nor does the code change color > (for instance, when I type 'atom' shouldn't it change color?). > > Needless to say, this is extremely frusterating! What am I doing wrong here? > > Please help me. To have discovered wonderful Euphoria and then not be able > to use it is not good for my blood pressure;) > > Thank you, > David Welcome to the list (and to euphoria) :) Ok, sounds like the enviroment variables aren't set up properly: For windows 95/98/ME -------------------- *) Goto the start menu then select run, type in "sysedit" and press enter. *) Select autoexec.bat (it should be one of the windows that comes up and add the following lines to the bottom (if c:\euphoria is not where you installed euphoria then change it the correct path): set EUDIR=c:\euphoria\ set PATH=%PATH%;c:\euphoria\bin *) Close sysedit (saving) and restart your computer For Windows 2000 (and probably NT as well, can't remember) *) Goto Start Menu -> Settings -> Control Panel -> System -> Advanced then click the "Environment Variables" button *) Click the top "New..." button then enter "EUDIR" as the Variable Name and "c:\euphoria" (or whathever is correct) for the value then click OK. *) Find "Path" in the top list, select it then click "Edit..." *) Add ";C:\euphoria" to the end of the value and click ok *) Click ok twice more *) It should work now :) If you using Linux then I can't help you but there are loads of people on this list who can... Thomas Parslow (PatRat) ICQ #:26359483 Rat Software http://www.rat-software.com/ Please leave quoted text in place when replying
5. Re: Newbie in crisis
- Posted by jbrown105 at HotPOP.com Apr 28, 2001
- 388 views
Thomas is right, I can help you. For Linux, assuming <eupdir> is where you installed euphoria, add these lines: PATH="<eupdir>:$PATH" EUDIR="<eupdir>" in your .bashrc file if you use bash. For csh: setenv PATH "<eupdir>:$PATH" setenv EUDIR "<eupdir>" in your .profile, and if you use a diffrent shell, try both, and see which works for you. (Try the bash version first.) On Sat, Apr 28, 2001 at 03:54:31PM +0100, Thomas Parslow (PatRat) wrote: > > > > Hello All, > > > > I have just downloaded Euphoria and am all geared up and ready to > > go....except I can't run any of the demos or included programs (when I try I > > am told that the file cannot be found), and the editor does not have the EX > > command so that I can run my program code, nor does the code change color > > (for instance, when I type 'atom' shouldn't it change color?). > > > > Needless to say, this is extremely frusterating! What am I doing wrong here? > > > > Please help me. To have discovered wonderful Euphoria and then not be able > > to use it is not good for my blood pressure;) > > > > Thank you, > > David > > Welcome to the list (and to euphoria) :) > > Ok, sounds like the enviroment variables aren't set up properly: > > For windows 95/98/ME > -------------------- > > *) Goto the start menu then select run, type in "sysedit" and press > enter. > *) Select autoexec.bat (it should be one of the windows that comes > up and add the following lines to the bottom (if c:\euphoria is not > where you installed euphoria then change it the correct path): > > set EUDIR=c:\euphoria\ > set PATH=%PATH%;c:\euphoria\bin > > *) Close sysedit (saving) and restart your computer > > For Windows 2000 (and probably NT as well, can't remember) > > *) Goto Start Menu -> Settings -> Control Panel -> System -> Advanced > then click the "Environment Variables" button > *) Click the top "New..." button then enter "EUDIR" as the Variable > Name and "c:\euphoria" (or whathever is correct) for the value then > click OK. > *) Find "Path" in the top list, select it then click "Edit..." > *) Add ";C:\euphoria" to the end of the value and click ok > *) Click ok twice more > *) It should work now :) > > > If you using Linux then I can't help you but there are loads of people > on this list who can... > <snip> > > Linux User:190064 Linux Machine:84163 http://jbrown105.1avenue.com
6. Re: Newbie in crisis
- Posted by Irv Mullins <irvm at ellijay.com> Apr 28, 2001
- 418 views
----- Original Message ----- From: <dstanger at belco.bc.ca> > I have just downloaded Euphoria and am all geared up and ready to > go....except I can't run any of the demos or included programs (when I try I > am told that the file cannot be found), and the editor does not have the EX > command so that I can run my program code, nor does the code change color > (for instance, when I type 'atom' shouldn't it change color?). > > Needless to say, this is extremely frusterating! What am I doing wrong here? > First of all, welcome. Next, it would help a lot if you could tell us whether you are trying to run Euphoria on a DOS, Windows, or Linux machine. If Windows, which version? If Linux, in console mode or under xWindow? Also, when you are told 'the file cannot be found', what is telling you that? That sounds like a Linux error message, not DOS or Windows. What did you type to get that message? And at what prompt? Regards, Irv