On 03/08/2017 10:04 AM, Brandon Allbery wrote:
On Wed, Mar 8, 2017 at 1:00 PM, ToddAndMargo <toddandma...@zoho.com
<mailto:toddandma...@zoho.com>> wrote:

    On 03/08/2017 07:49 AM, Brandon Allbery wrote:


        On Wed, Mar 8, 2017 at 5:51 AM, ToddAndMargo
        <toddandma...@zoho.com <mailto:toddandma...@zoho.com>
        <mailto:toddandma...@zoho.com <mailto:toddandma...@zoho.com>>>
        wrote:

            int XStoreBytes(Display *display, char *bytes, int nbytes);


        Do I want to know why you're using X11R3 compatibility functions?


    Well now ...

    I am trying to put together a module to read and write to
    both X11 clipboards that does not use "xclip".

    What is that anyway?  C code?


Yes.

Also this is a particularly ugly hack (among other things: this is why
nobody realizes X11 can clipboard *any* data, not just text. But if you
go through the ancient cutbuffer stuff, simple text is all you get).

So basically, Native Call is a form of running in-line C code.

Right now all I am after is text, so baby steps.  I am basically
writing helper utilities for my basic office functions.  Things
like copying columns of invoice numbers, reformatting them to
row search format to paste into my database search function,
set up address labels for invoices, etc..

Reply via email to