delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2019/09/02/14:25:02

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: <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> <alpine DOT DEB DOT 2 DOT 20 DOT 1909021753360 DOT 12129 AT nimbus>
In-Reply-To: <alpine.DEB.2.20.1909021753360.12129@nimbus>
From: "Majenko Technologies (matt AT majenko DOT co DOT uk) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Date: Mon, 2 Sep 2019 19:03:20 +0100
Message-ID: <CAPp8_Dpm=wdV99LfNvxP-r3tXHfEzHHNtmx=TegfqV0D-2E92w@mail.gmail.com>
Subject: Re: [geda-user] gschem interaction from external processes
To: geda-user AT delorie DOT com
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 <rlutz AT hedmen DOT org> 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

<div dir=3D"ltr">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&#39;t done it ag=
ain - so fingers crossed.=C2=A0 It&#39;s certainly a whole lot better than =
my dodgy signals.</div><br><div class=3D"gmail_quote"><div dir=3D"ltr" clas=
s=3D"gmail_attr">On Mon, Sep 2, 2019 at 5:43 PM Roland Lutz &lt;<a href=3D"=
mailto:rlutz AT hedmen DOT org">rlutz AT hedmen DOT org</a>&gt; wrote:<br></div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex">I just pushed what I&#39;ve implem=
ented so far.=C2=A0 (Sorry, I should make a habit <br>
of pushing more often.)<br>
<br>
The relevant code is in gschem/src/x_controlfd.c:<br>
<br>
&gt; Remote-control gschem via a file descriptor.<br>
&gt;<br>
&gt; This feature allows project managers like Igor2&#39;s &quot;genxproj&q=
uot; to issue <br>
&gt; certain actions in gschem.=C2=A0 It is implemented as a plain text pro=
tocol <br>
&gt; and can be enabled via the command-line options `--control-fd=3Dstdin&=
#39; or <br>
&gt; `--control-fd=3DFD&#39;.<br>
&gt;<br>
&gt; The following commands are currently supported:<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0visit FILE<br>
&gt;=C2=A0 =C2=A0 =C2=A0save FILE<br>
&gt;=C2=A0 =C2=A0 =C2=A0save-all<br>
&gt;=C2=A0 =C2=A0 =C2=A0revert FILE<br>
&gt;=C2=A0 =C2=A0 =C2=A0close FILE<br>
&gt;=C2=A0 =C2=A0 =C2=A0patch-filename FILE PATCHFILE<br>
&gt;=C2=A0 =C2=A0 =C2=A0import-patch FILE [PATCHFILE]<br>
&gt;=C2=A0 =C2=A0 =C2=A0quit<br>
&gt;<br>
&gt; File paths must be absolute, except for patch filenames which are <br>
&gt; resolved relative to the main file.=C2=A0 Arguments are separated by <=
br>
&gt; spaces; spaces and backslashes inside arguments must be escaped <br>
&gt; with a backslash.<br>
<br>
Does this provide what you need for your project management system?<br>
<br>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
 class=3D"gmail_signature"><div dir=3D"ltr"><b>Matt Jenkins</b><div>Majenko=
 Technologies</div><div><br></div></div></div>

--00000000000029043a059195ca0c--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019