hi guys,
can newlisp access the x clipboard? (linux?) May I have an example?
On Mandrake Linux 9.2 I can copy/paste from/to newLISP running in a Bash shell or when running the newLISP-tk frontend, but I am not sure if it is that what you mean?
If you want to access the X-clipboard from inside a program written in newLISP, there is no built-on function available, but I am pretty sure it is possible to import a 'C' function from the X shared libraries. If you can point me to a 'C' function and also the shared library involved, I could show you how to import it into newLISP.
Lutz
I'm having trouble narrowing down the particular library, but am pretty sure it's one of those included in the debian "xlibs" package. I looked through /lib/ but, well, not all library names are intuitive...:-) I'm pretty sure it's not "the clipboard" in x, rather, it's the "selection."
Anyway, that's the track I'm on. Thanks.
Additionally to the name of the function and the library we will also need a description on how to use this function, parameters to pass, their types etc..
Perhaps a book about X-programming could point you in the right direction.
Lutz