Re: Irv: Your win GTK wrapper

new topic     » goto parent     » topic index » view thread      » older message » newer message

Al Getz wrote:
> 
> Hello again Irv,
> 
> Im no stranger to .dll's.  The WinClass library links to
> many of them.  I've created my own dll's for windows also,
> some small, some large, written in C, C++, or asm.
> 
> I've got gigabytes of documentation on Windows programming,
> dll's, and related dll's included with most win distros,
> and whatnot mostly in C and C++ (including the large set of
> include files that comes with the Platform SDK).

> Now im branching out to the Linux platform, and have little
> or no documentation on any libraries, and not even that
> good of an idea what the basics are in Linux.

See the book I recommended earlier / look in the documentation which 
comes with a full install / search the web / study the C header files 
for the specific library you're interested in.

The major packages such as GTK have an API, see the website. 
I repeat: "Google is your friend".

> Back to Euphoria on Linux:
> I tried running exu but it said something like
> 'what do you want to open it with'
> so i got stuck.

I'm guessing that you got a dialog window which has at the top:
Open with:
then a drop-down list, 
and below that, a tree-view type display titled: Known Applications.

Correct?

Well, if so, the answer is none of the above. You don't want to open exu, 
using any other program, what you want is to run some euphoria source code 
*using* exu.

> In Windows, the command processor opens exw.exe, so
> what should open exu under linux and how do i set it
> to do that automatically as in windows with exw?

You should start by using the text console.
There should be a small icon which looks like a computer 
screen on the taskbar. The tooltip will say "terminal program".
Click that.

If you can't find that, look in the start menu for system/terminals/konsole.

That will open an xterm (which is like the DOS box in Windows).
In the xterm, type exu <enter>, and you'll 
see the familiar Euphoria welcome message, along with a prompt: 
"file name to execute?".
>From there, things should be obvious. 

>From that same xterm, you type things like
dir -- with the obvious results,
ls -- same as above.
ls -l -- long version (file dates, sizes, etc)
ls -a -- list all (including hidden files)
lsd -- list only directories,
cp file1 file2   -- copy
rm filex   -- short for remove (del)
mv file1 /home/al/euphoria -- move file1 from the current directory to
 /home/al/euphoria 

Then use a text editor (kwrite is good) to create your Euphoria 
"Hello World" program, and run it in the usual manner (exu hello).

Hope that helps.

Irv




Regards,
Irv

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu