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

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=XlOKFOyIvNQJQ/0WHxENl86mqVSrb9sdLyYDNkRgPpU=;
b=WFhkRS6VGUzETn0YpFHGu5CXGshARsUkPBv7BHo8+CUJJe4dFKAUj0JG5CvOTs0o5b
5KJ+NaiSPWn7MsMwYGf77J87XNxqT35MOmtiQFpMpc8gYgg6pRV/4ndzADC084FmBwNP
lGVY4AckdGyS6mOjAoEtC3qJrJ0YghCD8RlBs8rIVcv/h7p3TxO67OTnN9niaTqxBNA+
enQE7kaPBRW9hkii5C700/EpXJHJjeGajGMp4rGM+QzLCN7UqARx2IbyP6DVI0N0syqB
OemDVgZlTXeXuH9QpPA7Z1NsToLaqKRU9ZwL9pDzD/77RYTx3gUBH43Y7TvNOK0aAm00
caHw==
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=XlOKFOyIvNQJQ/0WHxENl86mqVSrb9sdLyYDNkRgPpU=;
b=kqM8ATF7uGGiK3l2zjF/K8Skcpt/O2ZjkArX6zbS1cMEz01hF/0KDUB422boEmWBu3
6QnClU2TPzKqJfOqOcqJWiEUrw8ZLgvwc01mlnTEoU9sJg0J3tCQvTXtnFRE7DmFzakC
D+onmjzRx64k8hsELAc8q70/wCBFiKCqOoDr6hW26o1LftmhoHbYfU1ZDFzEHMt4lwmI
kHngEQRZOkV8T9KPRJKEkVkcj7BCBG5/8RIHMoZ7gu14p/VPGozJy65DEeVcML882QFK
EfHES3/O818A1BgDRBLCiFMAqgPumDauYWWnjM3Ro6D9uPKENX93tQaVbuhjiEXovk2b
dcaQ==
X-Gm-Message-State: APjAAAWnYLMXnXPtYaC1HSBgVVgu1zjHU0h4MTVuIcucBKszyuV6b5TL
4brdpfqQj7wlbXOZhNxIkQpVsIYPnLYecEXajOpnrTIx
X-Google-Smtp-Source: APXvYqy3MPQwODDaCSbxKQO0UXl5s5RsjYUN/PnELqSa6UORUaNA7Lr/6zTUwe2naR+eYfWlHr4IQqVZ6gOoDyVbhEY=
X-Received: by 2002:a2e:9a52:: with SMTP id k18mr8541369ljj.95.1567442884731;
Mon, 02 Sep 2019 09:48:04 -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 17:47:53 +0100
Message-ID: <CAPp8_DpZB3oXmtJBLa_d81V5Uea=xYpKiQbZQvodu-eq4c_bkA@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

--00000000000059ba6f059194bc57
Content-Type: text/plain; charset="UTF-8"

On the face of it, that looks absolutely perfect.

The patch files - would that work with gsch2pcb's .new.pcb file, or does it
need to be a diff patch file format?

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

--00000000000059ba6f059194bc57
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On the face of it, that looks absolutely perfect.<div><br>=
</div><div>The patch files - would that work with gsch2pcb&#39;s .new.pcb f=
ile, or does it need to be a diff patch file format?</div></div><br><div cl=
ass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Sep 2, 20=
19 at 5:43 PM Roland Lutz &lt;<a href=3D"mailto:rlutz AT hedmen DOT org">rlutz AT hed=
men.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"=
margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-lef=
t:1ex">I just pushed what I&#39;ve implemented so far.=C2=A0 (Sorry, I shou=
ld 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>

--00000000000059ba6f059194bc57--

- Raw text -


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