gEDA-user: pcb/gsch2pcb: problem with special characters in pin names

2008-11-14 Thread Sascha Silbe

Hi!

gsch2pcb (version 1.6) puts the pin names literally into *.cmd, without 
quoting/escaping of special characters. Since ATmega8-1.sym has 
parentheses in pin names (e.g. PB5 (SCK)), pcb (version 20080202) 
cannot correctly parse the file.
What's the proper way to handle special characters in PCB command 
arguments? I already tried quoting with single quotes (') and double 
quotes () as well as escaping with backslash (\).


CU Sascha

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


signature.asc
Description: Digital signature


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


Re: gEDA-user: pcb/gsch2pcb: problem with special characters in pin names

2008-11-14 Thread DJ Delorie

pcb currently has no escape mechanism for that.  It would be added to
src/hid/common/actions.c in hid_parse_actions() if you want to work on
it.

You should do something similar in res_parse.y also, if you do.


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


Re: gEDA-user: pcb/gsch2pcb: problem with special characters in pin names

2008-11-14 Thread John Luciani
On Fri, Nov 14, 2008 at 12:47 PM, Sascha Silbe
[EMAIL PROTECTED] wrote:
 Hi!

 gsch2pcb (version 1.6) puts the pin names literally into *.cmd, without
 quoting/escaping of special characters. Since ATmega8-1.sym has parentheses
 in pin names (e.g. PB5 (SCK)), pcb (version 20080202) cannot correctly
 parse the file.

For pins with more than two functions Atmel uses the forward slash
(within the parenthesis)
to separate pin functions. For multiple pin functions I use the
forward slash to separate
each function.

(* jcl *)

---
http://www.luciani.org


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