Hello,

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.

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

Bye
-- 
Uwe Bonnes                b...@elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------

------------------------------------------------------------------------------
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