[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-user: magic command for footprint= reverse engineering ;-)
- To: geda-user@seul.org
- Subject: gEDA-user: magic command for footprint= reverse engineering ;-)
- From: Karel Kulhavý <clock@twibright.com>
- Date: Fri, 20 Aug 2004 13:04:34 +0000
- Delivered-to: archiver@seul.org
- Delivered-to: geda-user-outgoing@seul.org
- Delivered-to: geda-user@seul.org
- Delivery-date: Fri, 20 Aug 2004 09:05:03 -0400
- Reply-to: geda-user@seul.org
- Sender: owner-geda-user@seul.org
- User-agent: Mutt/1.4.2.1i
Try one of the three following commands (each is two lines!) to get
a list
( cd `locate common.m4 | sed -e 's/common.m4//g'`; echo dumpdef | \
m4 common.m4 - 2>&1 | less )
( cd /usr/local/share/pcb/m4/; echo dumpdef | \
m4 common.m4 - 2>&1 | less )
( cd /usr/share/pcb/m4/; echo dumpdef | \
m4 common.m4 - 2>&1 | less )
Then in the less program type "/^PKG_" (without the quotes) and press 'n'
repeatedly.
For example if your find PKG_MTA100_9 then you can use
footprint=PKG_MTA100_9
or the often used PKG_R025 means footprint=R025
Macros that use $4, $5 etc. take positional parameters and their usage
in footprint= is with spaces and more parameters:
PKG_J: PKG_DIL(`$1', `$2', `$3', `$4', `$5', 100, 60, 28)
here you write footprint=PKG_J 14 300 and you'll get something meaningful.
Cl<