1. Linux GPM ?

Is there away to compile a version of EXU with the GPM mouse enabled ?

The 3.1.1 source still contains the GPM code.

I still do not understand why this was removed it has nothing to do

with ncurses.

How can pure Euphoria code be used in Linux without mouse support ?

How does this improve the use of Euphoria on Linux ?

Bernie

My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API 

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

new topic     » topic index » view message » categorize

2. Re: Linux GPM ?

Bernie Ryan wrote:
> 
> Is there away to compile a version of EXU with the GPM mouse enabled ?
> The 3.1.1 source still contains the GPM code.
> I still do not understand why this was removed it has nothing to do
> with ncurses.
> 
> How can pure Euphoria code be used in Linux without mouse support ?

I write lots of console stuff that doesn't use mouse.

> How does this improve the use of Euphoria on Linux ?

libgpm was causing a lot of problems due to incompatible versions.
See the discussions here:

http://www.openeuphoria.org/cgi-bin/esearch.exu?fromMonth=6&fromYear=9&toMonth=1&toYear=D&postedBy=&keywords=gpm

Matt

new topic     » goto parent     » topic index » view message » categorize

3. Re: Linux GPM ?

Matt Lewis wrote:
> 
> Bernie Ryan wrote:
> > 
> > Is there away to compile a version of EXU with the GPM mouse enabled ?
> > The 3.1.1 source still contains the GPM code.
> > I still do not understand why this was removed it has nothing to do
> > with ncurses.
> > 
> > How can pure Euphoria code be used in Linux without mouse support ?
> 
> I write lots of console stuff that doesn't use mouse.
> 
> > How does this improve the use of Euphoria on Linux ?
> 
> libgpm was causing a lot of problems due to incompatible versions.
> See the discussions here:
> 
> <a
> href="http://www.openeuphoria.org/cgi-bin/esearch.exu?fromMonth=6&fromYear=9&toMonth=1&toYear=D&postedBy=&keywords=gpm">http://www.openeuphoria.org/cgi-bin/esearch.exu?fromMonth=6&fromYear=9&toMonth=1&toYear=D&postedBy=&keywords=gpm</a>
> 

Matt:
   
   It's seems to me that you have had problems with shared objects

   with wxWindows but didn't ask the users to quit using it.

   Try doing frame buffer coding in Euphoria without access to a mouse.

   Using Euphoria I have graphics working, keyboard working, Fonts,

   Colored Text, and NO MOUSE.  

   I have tried placing gpm code in a shared object but I can't get a

   way to interface to it with Euphoria. A compiled "C" program will

   run the GPM mouse. It seems the only way is to have GPM built into

   Euphoria is the only way I can get access to a mouse.  

Bernie

My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API 

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

new topic     » goto parent     » topic index » view message » categorize

4. Re: Linux GPM ?

Bernie Ryan wrote:
>    
>    It's seems to me that you have had problems with shared objects
>    with wxWindows but didn't ask the users to quit using it.

True, but they didn't have a problem running the interpreter.

>    Try doing frame buffer coding in Euphoria without access to a mouse.
>    Using Euphoria I have graphics working, keyboard working, Fonts,
>    Colored Text, and NO MOUSE.  

>    I have tried placing gpm code in a shared object but I can't get a
>    way to interface to it with Euphoria. A compiled "C" program will
>    run the GPM mouse. It seems the only way is to have GPM built into
>    Euphoria is the only way I can get access to a mouse.  

I seriously doubt that.  If the interpreter could dynamically link, then
we should be able to do that from euphoria.  I haven't really used gpm at
all, so I'm not familiar enough to help out with a wrapper.

Matt

new topic     » goto parent     » topic index » view message » categorize

5. Re: Linux GPM ?

Matt Lewis wrote:
> 
> Bernie Ryan wrote:
> >    
> >    It's seems to me that you have had problems with shared objects
> >    with wxWindows but didn't ask the users to quit using it.
> 
> True, but they didn't have a problem running the interpreter.
> 
> >    Try doing frame buffer coding in Euphoria without access to a mouse.
> >    Using Euphoria I have graphics working, keyboard working, Fonts,
> >    Colored Text, and NO MOUSE.  
> 
> >    I have tried placing gpm code in a shared object but I can't get a
> >    way to interface to it with Euphoria. A compiled "C" program will
> >    run the GPM mouse. It seems the only way is to have GPM built into
> >    Euphoria is the only way I can get access to a mouse.  
> 
> I seriously doubt that.  If the interpreter could dynamically link, then
> we should be able to do that from euphoria.  I haven't really used gpm at
> all, so I'm not familiar enough to help out with a wrapper.
> 
> Matt

Not to butt in too much, but can't Bernie just define EGPM in the makefile or on
the command line or in one of the headers? It's just a switch, right?

Then Bernie can see whether it works on his system.

--
A complex system that works is invariably found to have evolved from a simple
system that works.
--John Gall's 15th law of Systemantics.

"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare

j.

new topic     » goto parent     » topic index » view message » categorize

6. Re: Linux GPM ?

Jason Gade wrote:
> 
> Not to butt in too much, but can't Bernie just define EGPM in the makefile or
> on the command line or in one of the headers? It's just a switch, right?
> 
> Then Bernie can see whether it works on his system.

Yeah, he could re-integrate the gpm code into the source.  I doubt it would
go into the official distribution, for the same reasons it left in the first
place, unless we could fix them, which might be possible.

Matt

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu