[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: pcb: parameter escaping for commands



On Sun, Nov 23, 2008 at 09:07:49PM -0500, DJ Delorie wrote:

I suppose the parser can return a pointer to the "leftovers", and we
can have a new function that continues parsing until the string is
used up.  I suspect the command line --action-string and
--action-script may need this type of functionality.
--action-script invokes the same function as ExecuteFile, but for --action-string it might actually be useful. As I don't expect that to be used extensively I've just updated hid_parse_actions to recurse if there's anything left to parse.

As there were no objections on code style or design, I've submitted the patch to the SourceForge Patch Tracker [3]. Together with the gsch2pcb patch (submitted as well [4]) PCB seems to handle pin names containing special characters fine now.

To turn *on* the display, press the 'd' key over the element you're
interested in. [...]
Shift-D over an element does work, though.
OK, the confusion was that PCB doesn't act on the _selected_ item(s), but on the one under the pointer. That's inconsistent with any application I've used so far. It also makes having those commands in the menu not only useless, but severly misleading. Incidentally, there's a patch [1] in the PCB tracker at SourceForge that gives a hint if there's nothing under the cursor. Would have saved me quite some time. I do understand why it hasn't been applied, though (patches only Display(pinout), even though many more functions behave the same).

Window->Pinout is supposed to ask you to click on an element, file a
bug (with which HID you're using) if it doesn't.
Bug filed [2].


[1] https://sourceforge.net/tracker/index.php?func=detail&aid=1669634&group_id=73743&atid=538813 [2] https://sourceforge.net/tracker/index.php?func=detail&aid=2382939&group_id=73743&atid=538811 [3] https://sourceforge.net/tracker/index.php?func=detail&aid=2382954&group_id=73743&atid=538813 [4] https://sourceforge.net/tracker/index.php?func=detail&aid=2382988&group_id=161080&atid=818428

CU Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/

Attachment: signature.asc
Description: Digital signature


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user