[GRASS5] Re: [GRASSLIST:3781] minor update to tcltkgrass for GRASS 5.7

Markus Neteler neteler at itc.it
Mon Aug 2 04:08:18 EDT 2004


On Sun, Aug 01, 2004 at 06:53:16PM +1200, Hamish wrote:
> > > 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} ...
> 

Thanks a lot! This was a long-standing problem...

Markus




More information about the grass-dev mailing list