delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
Date: | Mon, 2 Sep 2019 17:54:03 +0200 (CEST) |
From: | Roland Lutz <rlutz AT hedmen DOT org> |
To: | "Majenko Technologies (matt AT majenko DOT co DOT uk) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
Subject: | Re: [geda-user] gschem interaction from external processes |
In-Reply-To: | <alpine.DEB.2.20.1909021622220.1424@nimbus> |
Message-ID: | <alpine.DEB.2.20.1909021753360.12129@nimbus> |
References: | <CAPp8_DqaZpOpdKFrUF7HC9sbCG2ag0a2iuWQrSkOY76U1kRQ6g AT mail DOT gmail DOT com> <alpine DOT DEB DOT 2 DOT 20 DOT 1909021356320 DOT 1863 AT nimbus> <CAPp8_DpMmfLQ1MzYkSyXCQ6KiGxf1+TBLz12s0ztRL7qK4sCCw AT mail DOT gmail DOT com> <alpine DOT DEB DOT 2 DOT 20 DOT 1909021622220 DOT 1424 AT nimbus> |
User-Agent: | Alpine 2.20 (DEB 67 2015-01-07) |
MIME-Version: | 1.0 |
Reply-To: | geda-user AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-user AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
I just pushed what I've implemented so far. (Sorry, I should make a habit of pushing more often.) The relevant code is in gschem/src/x_controlfd.c: > Remote-control gschem via a file descriptor. > > This feature allows project managers like Igor2's "genxproj" to issue > certain actions in gschem. It is implemented as a plain text protocol > and can be enabled via the command-line options `--control-fd=stdin' or > `--control-fd=FD'. > > The following commands are currently supported: > > visit FILE > save FILE > save-all > revert FILE > close FILE > patch-filename FILE PATCHFILE > import-patch FILE [PATCHFILE] > quit > > File paths must be absolute, except for patch filenames which are > resolved relative to the main file. Arguments are separated by > spaces; spaces and backslashes inside arguments must be escaped > with a backslash. Does this provide what you need for your project management system?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |