delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2020/10/15/00:51:02

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-CMAE-Analysis: v=2.3 cv=P/5EeRIu c=1 sm=1 tr=0
a=+cj0cO56Fp8x7EdhTra87A==:117 a=nr7560hj8zWI638J9M1qcQ==:17
a=9+rZDBEiDlHhcck0kWbJtElFXBc=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19
a=IkcTkHD0fZMA:10 a=afefHYAZSVUA:10 a=a1KZgU7cAAAA:8 a=Mj1Xp5F7AAAA:8
a=2XxB4mUaAAAA:20 a=o3BbmwuGLXDqIFYhrb0A:9 a=QEXdDO2ut3YA:10
a=ng0hpkU2jXKPaRTLMVYJ:22 a=OCttjWrK5_uSHO_3Hkg-:22
X-SECURESERVER-ACCT: glimrick AT epilitimus DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=epilitimus.com; s=default; h=Content-Transfer-Encoding:Content-Type:
In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:
Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:
Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:
List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
bh=Vc4nmAcWUu9oxe+Yayx4z81TYT92AfINEUgfM5ADDmo=; b=Uet2H7D3K68+sBIh4dhCGHj/rn
FggdRnlqIeXjF8MuKtaVRSoLoDs97lZ7GNx06FFyTpNfHarEzgVEyG/qE6PCFnJafRdzybYn23CWl
/6FkGcEhubiBcbrAcYjkSNs8lpWcIbyTQVynQGf3hBLcNPMYc/nCKHwL680bGyvB/pd/ilGsp1JVT
+szQqM8qeNQVC6ANtnn7C1YiNMeeTjZISkdDbBpWQzat9W4xOxcGqak8zVYq+3zOrCKMhHiVY5uqs
jgFhuU6wwQPjT8szIaJ5YW5WGOQTjHjbhAhyv13J4xlp9g3bRbwbGbQqtdc4feexLJZ/kRWbUa95w
E3+C1kQA==;
Subject: Re: [geda-user] submitted a new patch
To: geda-user AT delorie DOT com
References: <14f9e862-8ee0-4432-23b6-06e94215baa4 AT epilitimus DOT com>
<alpine DOT DEB DOT 2 DOT 21 DOT 2010120958150 DOT 2535 AT nimbus>
<32bfe083-3604-b747-030a-48a13e2b1074 AT epilitimus DOT com>
<alpine DOT DEB DOT 2 DOT 21 DOT 2010122312420 DOT 8245 AT nimbus>
From: "Glenn (glimrick AT epilitimus DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Message-ID: <7c133ba2-5b09-91f3-808f-9f444c625278@epilitimus.com>
Date: Wed, 14 Oct 2020 20:29:42 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
Firefox/60.0 SeaMonkey/2.53.3
MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.21.2010122312420.8245@nimbus>
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - a2plcpnl0121.prod.iad2.secureserver.net
X-AntiAbuse: Original Domain - delorie.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - epilitimus.com
X-Get-Message-Sender-Via: a2plcpnl0121.prod.iad2.secureserver.net: authenticated_id: glimrick AT epilitimus DOT com
X-Authenticated-Sender: a2plcpnl0121.prod.iad2.secureserver.net: glimrick AT epilitimus DOT com
X-Source:
X-Source-Args:
X-Source-Dir:
X-CMAE-Envelope: MS4wfDk61hdOUEFy1VKD8ZVZzY5pUOiTavRKxSDWKBkvjQkSqcPTqw+i2tWXLIZgLGdf15YYZNmPZo9arOTXR23O/rR2YGZhrJBV+m+z+H3Mtv0akHWMd00q
dkkt2GgZTanC20L97lT1r/zHIVKhzS1dixdevtpoAI+mUgLs9Iw+BEV54inG3a95us70ePYcARH/qlRtsihyHn9GQyND5KSNQPk=
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

Roland Lutz wrote:
> On Mon, 12 Oct 2020, Glenn (glimrick AT epilitimus DOT com) [via
> geda-user AT delorie DOT com] wrote:
>> I will take a look at [spice-noqsi] and see if it is a closer
>> starting point for where I want to end up than spice-sdb.
>
> There is a Python version of that, as well:
> https://github.com/rlutz/geda-gaf/blob/master/xorn/src/backend/gnet_spice_noqsi.py
>
>
>> I have already made an additional change to the spice-title code
>> which allows the optional use of the ".TITLE" spice command.  It is
>> currently in scheme so I guess I will hold off on posting it until I
>> pickup enough python to make the change there as well.
>
> Feel free to post it, though--if it's in the same range of complexity
> as the last patch, it's easy enough for me to port it, and it may
> serve as an example for how to achieve the kind of thing you are
> trying to do.
>
> Roland
>
>
Roland,
I have the patch ready. Do you prefer I do an actual bug report like
before or just send it to you here. It changes the gnet-spice-sdb.scm
file and the gnet_spice_sdb.py file. Both versions work for me but you
should probably look at the python version carefully since my python is
even weaker than my scheme :)

All it is doing is if the the spice-title device has a comment ==
usetitle (case insensitive) then prepend '.TITLE ' to the contents of
the value attribute.

The .TITLE command is optional in ngspice unless the title is not the
first line. I put it in as I don't know that there isn't a spice variant
that requires .TITLE, and it was good practice for both scheme and python.

I am also thinking about writing up what I am thinking about doing as
you or others might have suggestions as to a better way to accomplish it
given you all are more familiar with the existing geda architecture.

Also, I was having trouble with the -L switch in gnetlist when used with
the -p switch. That is for version 1.10.0 so it may have been fixed
since. I can send you more detail if you want.

Glenn

- Raw text -


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