[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-dev: PCB Library regression
> If the generator were to have a list of footprints provided by the
> script, would it have to modify ListLibraryContents.sh to enumerate its
> (possibly dynamic) list of footprints as well?
PCB uses two separate programs, one for extracting and one for
listing. The two programs are QueryLibrary.sh (lib-command) and
ListLibraryContents.sh (lib-contents-command).
$ pcb -h 2>&1 | grep command
--font-command <string>
--file-command <string> Command to read a file.
--element-command <string>
--lib-command-dir <string>
--lib-command <string>
--lib-contents-command <string>
--save-command <string>
--rat-command <string>
--save-last-command
--lprcommand <string> Command to print
Defaults are in src/main.c:
SSET (LibraryCommand, "QueryLibrary.sh '%p' '%f' %a",
"lib-command", 0),
SSET (LibraryContentsCommand, "ListLibraryContents.sh '%p' '%f'",
"lib-contents-command", 0),
_______________________________________________
geda-dev mailing list
geda-dev@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev