Can Gschem implement a simple signaling mechanism?

Asked by Paul Bodenstab

After I generate a schematic with Gschem, I have a script that sometimes modifies the schematic text file. It would be very nice if
Gschem supported a signaling mechanism that allowed my script to send a signal to Gschem that would tell it to reload the schematic file so any changes that script makes can be viewed immediately. Simple linux signaling using the kill command would
suffice. A signaling mechanism that supports multiple Gschem commands would be even more powerful.

I think a feature like this would be very powerful to a great many users and would allow integrating separate GEDA tools into a unified integrated package as well as allowing outside tools to integrate with GEDA tools.

Thank you for your consideration.

Question information

Language:
English Edit question
Status:
Answered
For:
gEDA Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Roland Lutz (rlutz) said :
#1

Since gEDA/gaf 1.10.0, gschem automatically detects changes on open files and prompts the user whether to reload the file.

If this doesn't work for you, make sure you compiled gEDA/gaf with FAM support enabled (this is the default) and you have gamin installed and set up correctly.

Revision history for this message
Paul Bodenstab (bobo666) said :
#2

You mentioned that gEDA/gaf 1.10.0, gschem automatically detects changes on open files and prompts the user whether to reload the file. This sounds good as long as a user keeps responding to prompts for reloading files. It would be much better if a user can disable these prompt requests and let gschem to just automatically reload the file. This could easily be done with a config file switch.

Thank you.

Can you help with this problem?

Provide an answer of your own, or ask Paul Bodenstab for more information if necessary.

To post a message you must log in.