> The first problem, hanging on '\r' within macro definitions can > be worked around by saving the gerber in UNIX format (\n only) > instead of DOS format (\r\n). Then gerbview will not hang on > '\r': because there will be none in the file. >
Long term gerbview, like any other kicad program, should probably be using "rt" as the fopen() mode. Won't that make the fgets() code read in lines of text without the \r in a platform independent way ? No doubt gerbview needs a lot of work, and I'm not even sure what's there is to be considered a good starting point. I've spent some time on it, but have always had the feeling I was building on sand. Dick _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

