delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2022/07/26/09:27:45

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7+dev
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
From: "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Defaults for net attribute
In-reply-to: <87r1288ffq.fsf@lepton.mail-host-address-is-not-set>
References: <20220725164851 DOT B70A680FBE4D AT turkos DOT aspodata DOT se> <87r1288ffq DOT fsf AT lepton DOT mail-host-address-is-not-set>
Comments: In-reply-to "vzh (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
message dated "Tue, 26 Jul 2022 10:51:21 +0300."
Mime-Version: 1.0
Message-Id: <20220726132615.DD9E780FBE37@turkos.aspodata.se>
Date: Tue, 26 Jul 2022 15:26:15 +0200 (CEST)
X-Virus-Scanned: ClamAV using ClamSMTP
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

Vladimir:
> "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> writes:
> >  Hello, the net symbols I have have a e.g. net=+5V:1
> > attribute which is visible so it is easily to change.
> > It would be nice to be able to drop the ":1" part of
> > the attribute:
> > . there is only one pin
> > . without it I could have the rest in a larger font
> > . it is plain ugly and might confuse beginners
> >
> > So I'm loocking in the code to find where it is parsed.
> > Unforturnately gschem doesn't work here so I'm loockin
> > into lepton.
...
> Thank you, as always, for your inquiring question!  You seem to have
> found quite a little chunk of unused code in Lepton :-)
...

Beginners luck, I'd say!

> Returning to the issue, I think the check-net-maps() function is what
> you would have to amend to make things work as you wish.

Ok, I'll check that one.

> BTW, some time ago when we discussed something like this in Lepton I
> proposed to add special power symbols.  They could have, say, two top
> level (floating) attributes: symbol=power and, e.g., netname=something.
> (There is a dedicated page in the Lepton info manual on this.)

Nets isn't alway about power, why not device=Net?

Regards,
/Karl Hammar

- Raw text -


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