Re: Ping Larry and Friends: Need NativeCall help

2018-09-18 Thread ToddAndMargo
On 9/18/18 7:05 PM, Timo Paulssen wrote: Hey Todd, XLib is indeed very difficult to use even from C, and Perl 6 alone doesn't help terribly much. However, there is a library called xcb that is meant to give you what XLib has, but less terrible. I haven't used it myself, nor really looked at it

Re: Ping Larry and Friends: Need NativeCall help

2018-09-18 Thread Timo Paulssen
Hey Todd, XLib is indeed very difficult to use even from C, and Perl 6 alone doesn't help terribly much. However, there is a library called xcb that is meant to give you what XLib has, but less terrible. I haven't used it myself, nor really looked at it, but I hear it's much less painful. Hope

Re: Ping Larry and Friends: Need NativeCall help

2018-09-18 Thread Brandon Allbery
I feel like https://github.com/xmonad/xmonad/issues/70 all over again. It's indeed not just Perl 6. Or C, for that matter. On Tue, Sep 18, 2018 at 7:41 PM ToddAndMargo wrote: > On 9/18/18 6:32 AM, Richard Hainsworth wrote: > > Have you looked at the documentation for nativecall? It has a tutoria

Re: Ping Larry and Friends: Need NativeCall help

2018-09-18 Thread ToddAndMargo
On 9/18/18 4:40 PM, ToddAndMargo typoed: GDM GDK

Re: Ping Larry and Friends: Need NativeCall help

2018-09-18 Thread ToddAndMargo
On 9/18/18 6:32 AM, Richard Hainsworth wrote: Have you looked at the documentation for nativecall? It has a tutorial example on how to access a c function from a standard library. I wrote that little bit. It should answer most of your questions. Richard Hi Richard, Yes I did read the docume

Re: Ping Larry and Friends: Need NativeCall help

2018-09-18 Thread Richard Hainsworth
Have you looked at the documentation for nativecall? It has a tutorial example on how to access a c function from a standard library. I wrote that little bit. It should answer most of your questions. Richard On Sat, 15 Sep 2018, 04:52 ToddAndMargo, wrote: > Hi Larry and Friends, > > Fedora 28

Re: Ping Larry and Friends: Need NativeCall help

2018-09-18 Thread ToddAndMargo
On 9/14/18 1:52 PM, ToddAndMargo wrote: Hi Larry and Friends, Fedora 28 `NativeCall` is a total mystery to me. I asked the guys on they "C" newsgroup how they did it and they only got crabby with me. Sometimes an example is work a 1000 words. Would you mind throwing together an example of how