1. Euphoria problem: clicking on Linux programs
- Posted by Jerry Story <jstory at ocii.com> Aug 14, 2005
- 502 views
euphoria/demo/linux: bindu mouse.exu ./mouse no problem nautilus: click on mouse doesn't do anything But most Linux executable files (other than those made with Euphoria) are clickable. Why not Euphoria?
2. Re: Euphoria problem: clicking on Linux programs
- Posted by Kenneth Rhodes <ken_rhodes30436 at yahoo.com> Aug 14, 2005
- 460 views
Jerry Story wrote: > > euphoria/demo/linux: > bindu mouse.exu > ./mouse > no problem > > nautilus: > click on mouse > doesn't do anything > > But most Linux executable files (other than those made with Euphoria) are > clickable. > > Why not Euphoria? > Jerry, I believe what you need to do is configure a file type association for your particular desktop. For example, in KDE go to control center, select 'file associations', select 'add" - enter "euphoria source code" in the description field, select 'add' - enter the path to exu and check the box for the program to run in terminal. I'm not sure, but I think editing the mime type in this manner from KDE may suffice for your GNOME and/or Nautilus/Gentoo needs. Hope this helps, Ken Rhodes SuSE Linux 9.3 100% MicroSoft Free
3. Re: Euphoria problem: clicking on Linux programs
- Posted by Jerry Story <jstory at ocii.com> Aug 14, 2005
- 451 views
Kenneth Rhodes wrote: > > Jerry Story wrote: > > > > euphoria/demo/linux: > > bindu mouse.exu > > ./mouse > > no problem > > > > nautilus: > > click on mouse > > doesn't do anything > > > > But most Linux executable files (other than those made with Euphoria) > > are clickable. > > > > Why not Euphoria? > > > > Jerry, > > I believe what you need to do is configure a file type association > for your particular > desktop. For example, in KDE go to control center, select 'file > associations', select > 'add" - enter "euphoria source code" in the description field, > select 'add' - enter > the path to exu and check the box for the program to run in terminal. > > I'm not sure, but I think editing the mime type in this manner > from KDE may suffice > for your GNOME and/or Nautilus/Gentoo needs. That probably will work for source code. But what I'm talking about is the binded executable file. It has no file type other than it is executable. The reason why binded files must be clickable is that most people out there don't have Euphoria and probably won't be motivated to download and install Euphoria just to run a program. I suppose I could tell them to download and install Euphoria so they can run the source code or else do the ./ thing to run the executable. But they expect to be able to run the executable by clicking on it. Before it's worth putting on freshmeat, the binded executable must be clickable.
4. Re: Euphoria problem: clicking on Linux programs
- Posted by Alexander Toresson <alexander.toresson at gmail.com> Aug 14, 2005
- 466 views
Jerry Story wrote: > > Kenneth Rhodes wrote: > > > > Jerry Story wrote: > > > > > > euphoria/demo/linux: > > > bindu mouse.exu > > > ./mouse > > > no problem > > > > > > nautilus: > > > click on mouse > > > doesn't do anything > > > > > > But most Linux executable files (other than those made with Euphoria) > > > are clickable. > > > > > > Why not Euphoria? > > > > > > > Jerry, > > > > I believe what you need to do is configure a file type association > > for your particular > > desktop. For example, in KDE go to control center, select 'file > > associations', select > > 'add" - enter "euphoria source code" in the description field, > > select 'add' - enter > > the path to exu and check the box for the program to run in terminal. > > > > I'm not sure, but I think editing the mime type in this manner > > from KDE may suffice > > for your GNOME and/or Nautilus/Gentoo needs. > > That probably will work for source code. But what I'm talking about is the > binded executable > file. It has no file type other than it is executable. > > The reason why binded files must be clickable is that most people out there > don't have > Euphoria and probably won't be motivated to download and install Euphoria just > to run > a program. I suppose I could tell them to download and install Euphoria so > they can > run the source code or else do the ./ thing to run the executable. But they > expect > to be able to run the executable by clicking on it. Before it's worth putting > on freshmeat, > the binded executable must be clickable. > Is your program a console or a gui program? Regards, Alexander Toresson
5. Re: Euphoria problem: clicking on Linux programs
- Posted by Kenneth Rhodes <ken_rhodes30436 at yahoo.com> Aug 14, 2005
- 466 views
- Last edited Aug 15, 2005
> Jerry Story wrote: > > > > Kenneth Rhodes wrote: > > > > > > Jerry Story wrote: > > > > > > > > euphoria/demo/linux: > > > > bindu mouse.exu > > > > ./mouse > > > > no problem > > > > > > > > nautilus: > > > > click on mouse > > > > doesn't do anything > > > > > > > > But most Linux executable files (other than those made with Euphoria) > > > > are clickable. > > > > > > > > Why not Euphoria? > > > > > > > > > > Jerry, > > > > > > I believe what you need to do is configure a file type association > > > for your particular > > > desktop. For example, in KDE go to control center, select 'file > > > associations', select > > > 'add" - enter "euphoria source code" in the description field, > > > select 'add' - enter > > > the path to exu and check the box for the program to run in terminal. > > > > > > I'm not sure, but I think editing the mime type in this manner > > > from KDE may suffice > > > for your GNOME and/or Nautilus/Gentoo needs. > > > > That probably will work for source code. But what I'm talking about is the > > binded executable > > file. It has no file type other than it is executable. > > > > The reason why binded files must be clickable is that most people out there > > don't have > > Euphoria and probably won't be motivated to download and install Euphoria > > just to run > > a program. I suppose I could tell them to download and install Euphoria so > > they can > > run the source code or else do the ./ thing to run the executable. But they > > expect > > to be able to run the executable by clicking on it. Before it's worth > > putting on freshmeat, > > the binded executable must be clickable. mouse.exu is a console program which to the best of my knowledge will not run from a gui without associating it with a terminal. In an earlier post you mentioned that freecell.exu, a wxEuphoria program would not run from Nautilus. I believe that freecell.exu will run from from Nautilus when clicked or double clicked if it is bound or translated/compiled. I believe it would also run when clicked if it was shrouded, this would virtually require installation of euphoria or additional instructions similar to using exu to execute the source code. So.... when freecell.exu failed to execute was it bound or translated/compiled? Just out of curiosity, which version/distribtion of Linux are you using? Ken Rhodes SuSE Linux 9.3 100% MicroSoft Free
6. Re: Euphoria problem: clicking on Linux programs
- Posted by Kenneth Rhodes <ken_rhodes30436 at yahoo.com> Aug 15, 2005
- 484 views
I have replicated Jerry Story's prolem with freecell.exw, I think... With Euphoria 2.5, WxEuphoria 7.2: Bound and shrouded versions of some of the WxEuphoria demo programs run properly from the command line and when doubled click from a gui file manager. However, Freecell executables will only partially run when clicked in a gui file manager - a window pops up reporting that card.png cannot be found, even though it is in the same directory. I am able to run the freecell executables from a terminal with ./freecell - just as Jerry. freecell.exw will not compile to an executable under my system. I get this error message: ... init_0.c linking gcc: /usr/lib/libncurses.a: No such file or directory you can now execute: ./freecell However, no freecell file was created. Maybe Rob or Matt Lewis have some answers. Ken Rhodes SuSE Linux 9.3 100% MicroSoft Free
7. Re: Euphoria problem: clicking on Linux programs
- Posted by Jerry Story <jstory at ocii.com> Aug 15, 2005
- 448 views
Alexander Toresson wrote: > > Jerry Story wrote: > > The reason why binded files must be clickable is that most > > people out there don't have > > Euphoria and probably won't be motivated to download and > > install Euphoria just to run > > a program. I suppose I could tell them to download and > > install Euphoria so they can > > run the source code or else do the ./ thing to run the executable. > > But they expect > > to be able to run the executable by clicking on it. > > Before it's worth putting on freshmeat, > > the binded executable must be clickable. > > Is your program a console or a gui program? It's a GUI program, with wxEuphoria.
8. Re: Euphoria problem: clicking on Linux programs
- Posted by Jerry Story <jstory at ocii.com> Aug 15, 2005
- 459 views
Kenneth Rhodes wrote: > > mouse.exu is a console program which to the best of my knowledge > will not run from a gui without associating it with a terminal. > > In an earlier post you mentioned that freecell.exu, a wxEuphoria program > would not run from Nautilus. I believe that freecell.exu will run > from Nautilus when clicked or double clicked if it is bound or > translated/compiled. I believe it would also run > when clicked if it was shrouded, this would virtually require > installation of euphoria or additional instructions similar to > using exu to execute the source code. > > So.... when freecell.exu failed to execute was it bound or > translated/compiled? > > Just out of curiosity, which version/distribtion of Linux are you > using? I tried freecell binded and it did not run on Nautilus by clicking on it. I'm using Mandrake 9.2 and Eu 2.5
9. Re: Euphoria problem: clicking on Linux programs
- Posted by Robert Craig <rds at RapidEuphoria.com> Aug 15, 2005
- 456 views
Kenneth Rhodes wrote: > freecell.exw will not compile to an executable under my system. I get this > error message: > ... > init_0.c > linking > gcc: /usr/lib/libncurses.a: No such file or directory > you can now execute: ./freecell > > However, no freecell file was created. > > Maybe Rob or Matt Lewis have some answers. Translated code needs to link with the ncurses library, which should be on your system somewhere, or available from somewhere. It sounds like you can't translate/compile *any* program. Is that right? The message "you can now execute..." comes out even if there has been an error. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com
10. Re: Euphoria problem: clicking on Linux programs
- Posted by Kenneth Rhodes <ken_rhodes30436 at yahoo.com> Aug 15, 2005
- 496 views
Robert Craig wrote: > > Kenneth Rhodes wrote: > > freecell.exw will not compile to an executable under my system. I get this > > error message: > > ... > > init_0.c > > linking > > gcc: /usr/lib/libncurses.a: No such file or directory > > you can now execute: ./freecell > > > > However, no freecell file was created. > > > > Maybe Rob or Matt Lewis have some answers. > > Translated code needs to link with the ncurses library, > which should be on your system somewhere, or available > from somewhere. It sounds like you can't translate/compile > *any* program. Is that right? > The message "you can now execute..." comes out even if there > has been an error. > > Regards, > Rob Craig > Rapid Deployment Software > <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a> > You were right of course. Installation of the ncurses development library solved that problem. Thanks. Ken Rhodes SuSE Linux 9.3 100% MicroSoft Free
11. Re: Euphoria problem: clicking on Linux programs
- Posted by Jerry Story <jstory at ocii.com> Aug 16, 2005
- 505 views
The problem remains unsolved. The problem has nothing to do with translating from Eu to C. I am not trying to do that. Only: bindu freecell.exu (This is a demo in wxEuphoria.) Now there is a binded file called freecell. I can run it by: ./freecell What I want to do is run it by clicking on it.
12. Re: Euphoria problem: clicking on Linux programs
- Posted by Alexander Toresson <alexander.toresson at gmail.com> Aug 17, 2005
- 465 views
Jerry Story wrote: > > The problem remains unsolved. > > The problem has nothing to do with translating from Eu to C. > I am not trying to do that. > > Only: > bindu freecell.exu > (This is a demo in wxEuphoria.) > > Now there is a binded file called freecell. > > I can run it by: > ./freecell > > What I want to do is run it by clicking on it. > Is the file made executable? Regards, Alexander Toresson
13. Re: Euphoria problem: clicking on Linux programs
- Posted by Jerry Story <jstory at ocii.com> Aug 17, 2005
- 496 views
Alexander Toresson wrote: > > Jerry Story wrote: > > > > The problem remains unsolved. > > > > The problem has nothing to do with translating from Eu to C. > > I am not trying to do that. > > > > Only: > > bindu freecell.exu > > (This is a demo in wxEuphoria.) > > > > Now there is a binded file called freecell. > > > > I can run it by: > > ./freecell > > > > What I want to do is run it by clicking on it. > > > > Is the file made executable? > > Regards, Alexander Toresson All the permissions allow it to execute, if that's what you mean.
14. Re: Euphoria problem: clicking on Linux programs
- Posted by Chris Burch <chriscrylex at aol.com> Aug 17, 2005
- 496 views
Jerry Story wrote: > > Alexander Toresson wrote: > > > > Jerry Story wrote: > > > > > > The problem remains unsolved. > > > > > > The problem has nothing to do with translating from Eu to C. > > > I am not trying to do that. > > > > > > Only: > > > bindu freecell.exu > > > (This is a demo in wxEuphoria.) > > > > > > Now there is a binded file called freecell. > > > > > > I can run it by: > > > ./freecell > > > > > > What I want to do is run it by clicking on it. > > > > > > > Is the file made executable? > > > > Regards, Alexander Toresson > > All the permissions allow it to execute, if that's what you mean. > See http://www.listfilter.com/EUforum/m1981.html Chris http://members.aol.com/chriscrylex/euphoria.htm http://uboard.proboards32.com/
15. Re: Euphoria problem: clicking on Linux programs
- Posted by Michael Raley <thinkways at yahoo.com> Aug 17, 2005
- 484 views
- Last edited Aug 18, 2005
you can try chmod u+x freecell to set your permissions to executable on it. --"ask about our layaway plan". --
16. Re: Euphoria problem: clicking on Linux programs
- Posted by Chris Burch <chriscrylex at aol.com> Aug 17, 2005
- 453 views
- Last edited Aug 18, 2005
GRRRRR No ones listening to me. ITS A PATH PROBLEM!! see http://www.listfilter.com/EUforum/m1981.html Chris ( ) http://members.aol.com/chriscrylex/euphoria.htm http://uboard.proboards32.com/