Hello!
On Thu 18 Sep 2008 21:37, "Linas Vepstas" <[EMAIL PROTECTED]> writes:
> 2008/9/18 Andy Wingo <[EMAIL PROTECTED]>:
>> On Thu 18 Sep 2008 14:38, "Ishan Arora" <[EMAIL PROTECTED]> writes:
>>
>>> Is there a procedure to get mouse position.
>>
>> No, but it's relatively easy to write a minimal
2008/9/18 Andy Wingo <[EMAIL PROTECTED]>:
> On Thu 18 Sep 2008 14:38, "Ishan Arora" <[EMAIL PROTECTED]> writes:
>
>> Is there a procedure to get mouse position.
>
> No, but it's relatively easy to write a minimal set of Xlib bindings,
> binding only the functions you need. Griddy has some bindings:
On Thu 18 Sep 2008 14:38, "Ishan Arora" <[EMAIL PROTECTED]> writes:
> Is there a procedure to get mouse position.
No, but it's relatively easy to write a minimal set of Xlib bindings,
binding only the functions you need. Griddy has some bindings:
bzr get http://wingolog.org/bzr/griddy
Andy
--
Ishan Arora wrote:
Hi,
Is there a procedure to get mouse position.
I guess there may be a way via X11, but it is not clear to me. What you
might want to be doing is knowing the coordinates of a click in a
canvas, which is not the same thing (and easier).
And is there a procedure to synchro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Oh right. My apologies for not answering the question you asked...
Ishan Arora wrote:
> Hi,
>
> Thanks for the reply. I tried system. It calls the code synchronously, and
> returns a number for success or failure of the command. Is there a way such
2008/9/18 <[EMAIL PROTECTED]>:
> Ishan Arora <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> Thanks for the reply. I tried system. It calls the code synchronously, and
>> returns a number for success or failure of the command. Is there a way such
>> that the stdout output of the command is returned a
"Ishan Arora":
> And is there a procedure to
> synchronously run a shell code and return the output as a String. Thanks.
>
Should do:
(use-modules (ice-9 rdelim))
(define (get-system-output command)
(let ((logfilename (tmpnam)))
(system (string-append command " > " logfilename))
(let
Ishan Arora <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Thanks for the reply. I tried system. It calls the code synchronously, and
> returns a number for success or failure of the command. Is there a way such
> that the stdout output of the command is returned as a string? Thanks again.
Try open-i
Hi,
Thanks for the reply. I tried system. It calls the code synchronously, and
returns a number for success or failure of the command. Is there a way such
that the stdout output of the command is returned as a string? Thanks again.
Regards,
Ishan
On Thu, Sep 18, 2008 at 7:22 PM, Jon Wilson <[EMA
Hi Ishan,
* There are guile bindings for gtk and for gnome; I don't know of any
other X11 bindings.
* Try (system "ls -l"). Look it up in the POSIX section in the manual.
Regards,
Jon
Ishan Arora wrote:
Hi,
Is there a procedure to get mouse position. And is there a procedure to
synchrono
Hi,
Is there a procedure to get mouse position. And is there a procedure to
synchronously run a shell code and return the output as a String. Thanks.
Regards,
Ishan
11 matches
Mail list logo