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

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=gmail.com; s=20161025;
h=date:from:to:subject:message-id:mail-followup-to:references
:mime-version:content-disposition:content-transfer-encoding
:in-reply-to:user-agent;
bh=jw+8k8MEphXw8UhE4WqQWs1wX2Q8rQ+aZVo+0ZhdkdM=;
b=ghiOo88omoFoF3qRo3UHRrsyOAjimibS8NjakNwv9bY0eBSNbf/FpokdEr8XLC7Tuv
n1u/2Cg7ZTK73mNbkVpBJFAChHgf9aaZlCsw+Oob4U16zkh3bMZvtBEh4qOzMcSYc4Md
g2JOKrrifdbV7hBTz2CqRkSCASdntjFssQGKmPlyIvs80ZyfKcwao2CrQKet2bCYf7UG
QfQvXCkGeYVhvdNJFKFIH+snKdYPC/qAKcNzWoXv8B3msmx2y85oXD5rGa6aJ+Yk9jT+
Fcm22uoGtzow7/jxbcDN6YsZfqgtLU8BY2dKk2IOXvgm2LgI55uol+2EclzyxQoJyjO/
Kmkw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to
:references:mime-version:content-disposition
:content-transfer-encoding:in-reply-to:user-agent;
bh=jw+8k8MEphXw8UhE4WqQWs1wX2Q8rQ+aZVo+0ZhdkdM=;
b=lgG5wLeymqCqxNJAYgMfebrcBT2oPYpW+cRAfIb4fFG0jHo/IL3/Cl73a+ntjrOfh+
SbBHAOcmlcPbT+Uhxrcnff2xCfolZb4JLWSkBDFmD7uSd+ZnyHiMSM4Ri6LPG65wJTkU
Ku1Qo5bKYgO6rJwsJgyxZUIBeAhluCIc32ri2x3lVIuBjSxm1PtjuTk628hlQ+qpOneN
C613l6xbJv2hN/qWR3vgPTIpJa1F2nbURF2N194Dvsy3vm+TqBehQKJrw+28LLe80qwl
+qeAVi24YtheRs6K6UlQ9CUZt59gKQj6hn8wgdaoIs5gWtYmYwlrGFXMsWs0FhPAD0Kc
gEuA==
X-Gm-Message-State: APjAAAVaxsyQZb769dPZwqdHPkL46atMGC2kw9QlOdKPxAwgoX5hKHkT
dWxeAhCelakVa4bSNkOzrIsAjZDG
X-Google-Smtp-Source: APXvYqymsnqr76XvrRxGGehjhDeFqJMdEijncTVIcLitg0cLZUhDw5+QG23llxSAPa9ETqOTkwB1mg==
X-Received: by 2002:a2e:a313:: with SMTP id l19mr4971323lje.32.1567443886548;
Mon, 02 Sep 2019 10:04:46 -0700 (PDT)
Date: Mon, 2 Sep 2019 20:04:44 +0300
From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] gschem interaction from external processes
Message-ID: <20190902170444.GC1331@newvzh.lokolhoz>
Mail-Followup-To: geda-user AT delorie DOT com
References: <CAPp8_DqaZpOpdKFrUF7HC9sbCG2ag0a2iuWQrSkOY76U1kRQ6g AT mail DOT gmail DOT com>
<CALT8Ef5UGWs0oFLx-EraLACB4H0D_KRaxb9io2uRZjbg3soPvQ AT mail DOT gmail DOT com>
<CAPp8_Dps3mFMeYOzsA=nPR4XSRjdiWSgW6yCa4W1WMRR19awTA AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAPp8_Dps3mFMeYOzsA=nPR4XSRjdiWSgW6yCa4W1WMRR19awTA@mail.gmail.com>
User-Agent: Mutt/1.10.1 (2018-07-13)
Note-from-DJ: This may be spam
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, Sep 02, 2019 at 05:09:39PM +0100, Majenko Technologies (matt AT majenko DOT co DOT uk) [via geda-user AT delorie DOT com] wrote:
> For PCB there is no issue. Everything I need is available through --listen
> and sending actions through stdin.  That's absolutely great and a real
> godsend. I'm also happy with how gschem is working with my hack (for
> certain values of "happy"). I can tolerate the odd untitled file falling
> out in random places - they're easy enough to clean up. It's not perfect,
> but it "works" at the moment.  It's a simple enough change that shouldn't
> impact any upstream updates, and I'm happy to pull changes and recompile my
> own version locally (my version of PCB, incidentally, has many extra
> changes in it that I would love to one day clean up and push up to the main
> repo, but I did them so long ago and can't remember what I did, and they
> break the file format by adding extra parameters to some stanzas, so that
> won't be happening...)
> 
> But if something more generic and flexible should come along to allow me
> better interaction with a running gschem process, then I would gladly adopt
> it. Then I could even go public with my project wrapping program since it
> won't rely on a specially compiled version of gschem...

Again, and returning to your first post, you could use the Scheme
function `sigaction', installing a handler for it, which could do
the job, instead of hard working on the C side.

-- 
  Vladimir

(λ)επτόν EDA — https://github.com/lepton-eda

- Raw text -


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