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 |
X-Original-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=majenko.co.uk; s=key1; | |
h=mime-version:from:date:message-id:subject:to; | |
bh=qRdMCCMDp2brQ7EjOb6BC73Wqqfp5sM5RStCThyE3HE=; | |
b=J5mjAEcUC7mX5aDcL5XrLM6MC1jQW8PC5ePcgoPQOh4HIW2Th9S/8QBR4xDm9fMoE/ | |
QywZOB7bVteAAkgOydNCbjj0gIIDnw+uLaLHn+ZFddhq8zglzXFTIzCGopDdYFxJ5Z8E | |
cJ4qodP3mv9zpy+iQNjSsrCdTIuY0HGjeNUImIEeMCg+aswdSzyXeNJBkP+l+de0jMNL | |
+aiRlFcuesQ8fb1NouNyxG93dltr2QZZSeOhM+RG6YqbiqzJNSfCPlXoscSh3+/FNmSB | |
iexv2bh32pGdB/NPuPalg8EhhOTvKE4ONhvimyjX1Y3M7POIvJleBc8YDmuOTnDh5G3O | |
rmyg== | |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=1e100.net; s=20161025; | |
h=x-gm-message-state:mime-version:from:date:message-id:subject:to; | |
bh=qRdMCCMDp2brQ7EjOb6BC73Wqqfp5sM5RStCThyE3HE=; | |
b=ocXbbuJX30nGOUlKnLCAp9B2Aemvc42FYLQwnCnNQMPolrcM5AZlc193FwioEKDsbE | |
HYb98PWFLloaM3erqLyN2xlJhkATSgN5LhFbtRXdXAvuDA7+3uTpvgxY2sTpj8Fy5aed | |
FWo+PKxpWo9MNBb8csQKOgi1Bq1znbd5r7ahgoks4NYLb0SuX5b9wz81mas8v//dilp4 | |
rVDFj9Rm4Pd7gSN9Oyq1fm3DdskcrObuHI2T6+wSvo/H3EmfqrhwQ1AP+WefDZb8SNS1 | |
bEYrobROncFniaDLFhtYhz7RAxH+Z+PqpqN8arqMHN9dknQSgIe6dEKnvtZiHJvS0nEn | |
NUBQ== | |
X-Gm-Message-State: | APjAAAUlqXZQzTA2yFlNcQ4jKcPs2xstkmGByN1y5CBcMB2416C7AICJ |
x5aq96x7S9YNuL5UKUx7m4AFGyJPWm7WL/4iogI6POkQ7L4= | |
X-Google-Smtp-Source: | APXvYqxIn7+lt65a6iqiSLFLrEantkqrIXA0Gs9wO7RJcU79DDp5B1p/lavWiD/U/12uhUJ2zamzBSu7YUwEDw0geY4= |
X-Received: | by 2002:a2e:9a52:: with SMTP id k18mr7582183ljj.95.1567421303233; |
Mon, 02 Sep 2019 03:48:23 -0700 (PDT) | |
MIME-Version: | 1.0 |
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 11:48:12 +0100 |
Message-ID: | <CAPp8_DqaZpOpdKFrUF7HC9sbCG2ag0a2iuWQrSkOY76U1kRQ6g@mail.gmail.com> |
Subject: | [geda-user] gschem interaction from external processes |
To: | geda-user AT delorie DOT com |
Reply-To: | geda-user AT delorie DOT com |
--000000000000fe37a905918fb5f8 Content-Type: text/plain; charset="UTF-8" I am attempting to build an integrated project management system based around gschem and PCB and associated tools. Something which integrates the tools together into a single workflow. As part of this is an automated (by automated I mean you click one button in the interface) "Save open schematics and PCBs, Run gsch2pcb, Reload open schematics and PCBs from disk, Load new netlist and layout to buffer" operation. Of course, part of that is getting gschem and PCB to save their files and "revert" from disk after files have been changed externally. For PCB that's not a problem - I just launch it with --listen and I can interact to my heart's content. gschem is a little harder though. I have modified the code so that it responds to two signals, USR1 (save all pages) and USR2 (close and re-open all pages), and it (kind of) works (at the moment it's dumping random "untitled_1.sch" files around the place, but I can fix that...). I can't help feeling that it's a little clunky though, and am wondering if there is a better way of implementing it. What would be ideal would be a "--listen" system like PCB has that would allow you to send SCM scripts directly to the running process. I don't know how any of that is implemented though, so have no clue if that would be practical or not. So really I'm looking for ideas from people that are more familiar with the internals of gschem than I am... -- *Matt Jenkins* Majenko Technologies --000000000000fe37a905918fb5f8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I am attempting to build an integrated project management = system based around gschem and PCB and associated tools. Something which in= tegrates the tools together into a single workflow.<br><br>As part of this = is an automated (by automated I mean you click one button in the interface)= "Save open schematics and PCBs, Run gsch2pcb, Reload open schematics = and PCBs from disk, Load new netlist and layout to buffer" operation.<= br><br>Of course, part of that is getting gschem and PCB to save their file= s and "revert" from disk after files have been changed externally= .=C2=A0 For PCB that's not a problem - I just launch it with --listen a= nd I can interact to my heart's content. =C2=A0gschem is a little harde= r though.<br><br>I have modified the code so that it responds to two signal= s, USR1 (save all pages) and USR2 (close and re-open all pages), and it (ki= nd of) works (at the moment it's dumping random "untitled_1.sch&qu= ot; files around the place, but I can fix that...). I can't help feelin= g that it's a little clunky though, and am wondering if there is a bett= er way of implementing it.<br><br>What would be ideal would be a "--li= sten" system like PCB has that would allow you to send SCM scripts dir= ectly to the running process. I don't know how any of that is implement= ed though, so have no clue if that would be practical or not.<br><br>So rea= lly I'm looking for ideas from people that are more familiar with the i= nternals of gschem than I am...<br><div><br></div>-- <br><div dir=3D"ltr" c= lass=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr= "><b>Matt Jenkins</b><div>Majenko Technologies</div><div><br></div></div></= div></div> --000000000000fe37a905918fb5f8--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |