Hello, Uwe

On Wed, Feb 8, 2017 at 5:22 PM, Uwe Bonnes
<b...@elektron.ikp.physik.tu-darmstadt.de> wrote:
> gerbv at the moment uses ',' and 'x' as delimiter between X and Y
> coordinates. E.g. the translate command uses ',' and origin uses 'x'.
>
> Both delimiters have their problems:
> - 'x' causes trouble in a construct like "0x1" for X = 0 and Y = 1, as scanf
> interprets '0x1' as a hexadecimal number and we will read X=1 and Y=0 as
> result.
> - ',' has problems in a LANG environment where ',' is the decimal delimiter,
> so "0,1" for  X=1 and Y=0 results in x=0.1 and y=0.
>
> https://sourceforge.net/p/gerbv/bugs/216/ and my patch was a fast shot at
> this problem. As Sergey pointed out, ';' is widely used as coordinates
> delimiter.

The patch of yours is no rejected. As you are ok with ';' instead of ':',
then you should submit the new patch to bug report.


> Should I come up with a patch moving all 'x' and ',' used as coordinated
> delimiter to ';'?

But 'x' delimiter must also work, if we do not want to break existed
user scripts.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel

Reply via email to