1 Aug 2004 08:53
Re: [GRASSLIST:3781] minor update to tcltkgrass for GRASS 5.7
Hamish <hamish_nospam <at> yahoo.com>
2004-08-01 06:53:16 GMT
2004-08-01 06:53:16 GMT
> > d.barscale's GUI isn't rendering properly. When you open
> > it, the bcolor= and at= descriptors are missing, and the following
> > error is displayed on the console:
> >
> > extra characters after close-quote
> > bad window path name ".pw.f0.frame.optwin.fra.frame.lab1"
> > invalid command name "0,0"
> > bad window path name ".pw.f0.frame.optwin.fra.frame.lab3"
> >
> > It is choking on the " character in bcolor=; if I change the module
> > to use ' instead, it works.. this will break d.text.freetype as
> > well.
> >
> > Similarly, at= breaks when it sees [], that happens in d.text too.
> >
> > It would be nice if the parser be a bit more robust to handle "[].
Ok, I think I fixed this one.
solution: in grass51/lib/gis/parser.c, replace
... -text \"$description\" ...
with
... -text {$description} ...
this text is in a sprintf() statement & the string goes into a command
which is eventually fed through:
echo "$command" | wish &
(Continue reading)


RSS Feed