1. Re: No joy in linux (& Q for Rob)
- Posted by irvm at ellijay.com
Jul 20, 2001
On Friday 20 July 2001 22:39, David Mosley wrote:
>
> Hi All Linux Euphorians
> It's been a long day:)
> I will try this tonight and get back to you I wanted to know if I made a
> program in dos Euphoria and bind it can I run it in Linux? if so How,. I
> noticed that exu does not have a file .ext do all programs in linux are
> like this?.
> Thanks for all the help and I MEAN THANKS!!
No. The Linux pdexu (and exu) is different from the DOS
pdex, (ex). Less than half the size, for one thing, and
uses a different set of calls to the OS (writing to the screen,
etc.)
Most Linux programs don't use file extensions, the OS knows
what kind of file it is by other means. You can use them if
you wish, it's just a bit more typing. BTW, Linux filenames
can use spaces, and as many dots as you want:
My Euphoria Calendar.version.1.2 is a valid Linux filename,
for instance.
The problem with using spaces in a name is you have to
quote the name to run it:
exu "My Eupho..." The good part is Linux has command completion.
You only have to type part of a filename, then hit TAB to automatically
complete the name.
Also, there's no need to "associate" euphoria source code with
an executable, but instead you can call exu directly from the source
file, using the #!
Regards,
Irv