X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=majenko.co.uk; s=key1; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=/NpPWmZLbzG840qIXr3c6SO4qF6LzYM+7mOyNBDjX/w=; b=dA68dfH59EhgTNjVOLC0LuVwTGhAxMv4xs/yiqpF6jQl6Kfp8Az3bq0Hk3ULbKj2J8 j63ri2jXsAz/KKj+YPvg2j/taBspMpDa1pKW1gs6F/1o+T0OFmQdMDmD863Cxi/6vU6Z 4BEFeXnLTVuC/qgfDH6Yq7OXHMgD4a+blE9JO7DP3WmuPiVtXQcJy12EuPwfWv3F6lx+ wYk3+omvGMFYMfl9RDZ8olK89jV22fgVHbRQXNVTewApuJ4zEyi2lIsKbLQVZYIkQmmi RXul4hmIKeJDfD/b+WB0kS3bTo/SwxdPJeMtg2296IuNuc8oAaygw44TV6fEHotbwFVs SMfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=/NpPWmZLbzG840qIXr3c6SO4qF6LzYM+7mOyNBDjX/w=; b=AZJ4fMKyayLgWDFuf5o8fZPHW+FH+oPJAakFEihFz+HcbeHud+IlQPvMyYzLSfAFHO OC4gHocF0o3wmvauSvEF7GMdKD1/QoooJCKJXTjOSPCLzf/GNdnplkKGs7/m0AFxBxde 45wUceNQNPkzwNEhCaKeQ9dAx8g5BIHscU0+QXvr6QHOEI4bvLtKr2TiFCgBDipZzcnz /pbeS++F/A7SOpvcMcDB4biCKNipriUWOhvwzLHqeV3dJlR4IPq18F8F7A2YO4GBZC57 zO3wHHCc/ttImfNEVeh8bE0TJH8lM1MhWnatmV1LpBwWLPNWe539Fzen3U0F/YjAezn9 rWHQ== X-Gm-Message-State: APjAAAXqqRRGID85lRj33XsU+uDxs+Jb/xi0ukP2tXFRi5/LJexQnycJ DGgFNnGpQ9Y19zDyjzc7ElEycvOTttpRZH4w2PANEp3P X-Google-Smtp-Source: APXvYqz579+t/H7a1p3Rypy/2UTfVXqkBUwJkORuZXVjfc7BajlZyjiw26Z7/istw5FrYjNPYfEJI8ZG2wK9x//gTuI= X-Received: by 2002:a2e:6a04:: with SMTP id f4mr17215651ljc.150.1567447411387; Mon, 02 Sep 2019 11:03:31 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Majenko Technologies (matt AT majenko DOT co DOT uk) [via geda-user AT delorie DOT com]" Date: Mon, 2 Sep 2019 19:03:20 +0100 Message-ID: Subject: Re: [geda-user] gschem interaction from external processes To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary="00000000000029043a059195ca0c" Reply-To: geda-user AT delorie DOT com --00000000000029043a059195ca0c Content-Type: text/plain; charset="UTF-8" So far this looks perfect. Although I did get a crash the first time I tried it. No idea why it crashed, and it hasn't done it again - so fingers crossed. It's certainly a whole lot better than my dodgy signals. On Mon, Sep 2, 2019 at 5:43 PM Roland Lutz wrote: > 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? > > -- *Matt Jenkins* Majenko Technologies --00000000000029043a059195ca0c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
So far this looks perfect. Although I did get a crash the = first time I tried it. No idea why it crashed, and it hasn't done it ag= ain - so fingers crossed.=C2=A0 It's certainly a whole lot better than = my dodgy signals.

On Mon, Sep 2, 2019 at 5:43 PM Roland Lutz <rlutz AT hedmen DOT org> wrote:
I just pushed what I've implem= ented so far.=C2=A0 (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&q= uot; to issue
> certain actions in gschem.=C2=A0 It is implemented as a plain text pro= tocol
> and can be enabled via the command-line options `--control-fd=3Dstdin&= #39; or
> `--control-fd=3DFD'.
>
> The following commands are currently supported:
>
>=C2=A0 =C2=A0 =C2=A0visit FILE
>=C2=A0 =C2=A0 =C2=A0save FILE
>=C2=A0 =C2=A0 =C2=A0save-all
>=C2=A0 =C2=A0 =C2=A0revert FILE
>=C2=A0 =C2=A0 =C2=A0close FILE
>=C2=A0 =C2=A0 =C2=A0patch-filename FILE PATCHFILE
>=C2=A0 =C2=A0 =C2=A0import-patch FILE [PATCHFILE]
>=C2=A0 =C2=A0 =C2=A0quit
>
> File paths must be absolute, except for patch filenames which are
> resolved relative to the main file.=C2=A0 Arguments are separated by <= br> > spaces; spaces and backslashes inside arguments must be escaped
> with a backslash.

Does this provide what you need for your project management system?



--
Matt Jenkins
Majenko= Technologies

--00000000000029043a059195ca0c--