[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA: Gwave snapshot 20001123
On 26 Nov 2000, thi wrote:
> Ales Hvezda <ahvezda@seul.org> writes:
>
> > Hmmm.. Implementing this cross-applicaiton communication was
> > suggested a few weeks ago via a socket mechanism (at least the idea of
> > a remote control for gschem). How did you implement this remote-access
> > through the X server? I'm curious (I suppose I could/should look at the
> > code, but I have week's worth of e-mail to answer :-) Thanks
>
> see below for an example server w/ usage instructions.
> (it does not rely on X.)
[cool source snipped]
Yess!!!
I thougth abt this, but since thi showed that a server is so simple, than
it might be easier than I thougth.
The idea is to "reuse" the functions called by key handling and make them
accept arguments. So if you call for example load-schematic like
(load-schematic)
it will work like today with "Open File..." windows popping up etc.
But if you call load-schematic like
(load-schematic "foo.sch")
you will open the schematic directly into some window.
Am I to silly or just plain naive?
As you might notice I'm all pro guile. Looking in the mirror, I think it
is one the best decisions in this project. I was not all for it at the
time. But despite the "moving target" kind of work guile is, it's worth
it.
Regards,
/spe
/----------------------------------\
! Stefan Petersen, MSc EE ! \
! http://www.stacken.kth.se/~spe/ ! \_________________________
! spe@stacken.kth.se ! / ! umop apisdn 'sdoo !
! stefan.petersen@home.se ! / ---------------------
\----------------------------------/