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=IRybEY5n0ymz5p1DpyEsrMkxQGrMddxSmwrB5JL07EA=; b=Ip4P7zXcI51/zETj67DkmGQQh4P1oAZChABieBAVB2TVcws9PPlnnSPNg0Gly+zVAY pUCgYF2JbZdJk6SvZcKZFJK4l7jB/oH5aZ0ORTwzEDqEmFeMfmhgA82MTnxm9/97g5cT 1oLzc1vVNPGbkE7zp9TEOCxV9aQZ50Y4BdbOns9fkrkfOBoDaJunqikeJXcDI19vFQqK xCwX8IuATeQpxnDvv8F2WLVm4kBHoMUAxmLi7C7ez0FV/FmYiEVJDjwmf8LFPPgTi2ZK R48pKr9L4EIK04ltiXTC7Y+Sp2f/kJNDH1BNbRZMC4CEIDnUICBORyJBTls/3hAjs+We HXyQ== 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=IRybEY5n0ymz5p1DpyEsrMkxQGrMddxSmwrB5JL07EA=; b=ojnsE4Dh4/WHDVD104L4F6WJD08HLIrHr8+CXrUEQJ1eih/YFpbQpCxn6SfJiikdJJ Dc6ogLGGHVq2suu+SAk4ZJNzfcjun1bH7gVfzfShrYtQNZub3UanTHuRvsbp6OfrBNis z0kRvGzONFkTpVgg7to3IGATNAhQVTyOukgc5yzjdt7EOg02HKPPpnFmlo79T+tErmmc R4OdET+s6xk7v5vurCPINWkLWNnnoLtHux3BU3IqrOQSKvN7tpJXTaA3BDbNTVb2tqN6 uAFTKZKwXtnkuJbfr02iHRr5hA7g8E4Uo7LiCHPcAHURPzIm9tOVTw6AoPHPBaVR4d75 ZS0w== X-Gm-Message-State: APjAAAVDv1TRDsDgkwy7vImGVVisa7s3UHOZZO36ah/U0AWfpIg0/bmW Xqnn8o8wSKeGYNuCZf8rS+RH9Ro+B/MNDAwK8er3D7Rn X-Google-Smtp-Source: APXvYqyNycChNua3a+Z0dT5YyyPUvNK3wrJi1ob9Poecy4KHHjcgzRjJ9xnHl0nXBEoQiriDxCEpjwo28IlWXD0zkNI= X-Received: by 2002:a2e:9a52:: with SMTP id k18mr8551203ljj.95.1567443126782; Mon, 02 Sep 2019 09:52:06 -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 17:51:56 +0100 Message-ID: Subject: Re: [geda-user] gschem interaction from external processes To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary="000000000000c718f8059194ca3b" Reply-To: geda-user AT delorie DOT com --000000000000c718f8059194ca3b Content-Type: text/plain; charset="UTF-8" Actually, ignore that last one. I'm losing it. I was thinking PCB... <--- idiot On Mon, Sep 2, 2019 at 5:47 PM Majenko Technologies wrote: > 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 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 > > -- *Matt Jenkins* Majenko Technologies --000000000000c718f8059194ca3b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Actually, ignore that last one. I'm losing it. I was t= hinking PCB...=C2=A0

<--- idiot

On Mon, Sep 2, 2= 019 at 5:47 PM Majenko Technologies <matt AT majenko DOT co DOT uk> wrote:
On the face of it, that looks absolut= ely perfect.

The patch files - would that work with gsch= 2pcb'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 i= mplemented 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



--
Matt Jenkins
Majenko= Technologies

--000000000000c718f8059194ca3b--