[GRASS5] More Mac OS X Tcltkgrass Tweaks

Jeshua Lacock jeshua at openosx.com
Tue Apr 29 06:55:59 EDT 2003


On Tuesday, April 29, 2003, at 02:56 AM, Glynn Clements wrote:

> However, I don't think that we should be modifying Init.sh to work
> around problems with the MacOSX Tcl/Tk implementation.

Hi Glynn,

Sure; as I stated it is just a work around, I guess I should have added 
"until the real issue is resolved".

> Also, I'm not sure that the above really fixes the problem. AFAICT,
> the whole point of the "2> @stdout" is so that stderr goes to the same
> place as stdout, i.e. into the stream which is returned from the open
> command, and *not* wish's stdout/stderr. But the nature of the problem
> suggests that wish's stdout/stderr is getting involved.
>
> If a command generates an error, do you get the error message in the
> output window, or in the xterm? It should be the former.

Hmm, I am not sure if I completely understand, however, if I run the 
'd.rast' GUI, provide a bogus file name, click run, I get a tcltk 
dialog titled 'd.rast output' that says:

                          d.rast output
                             Finished.
   ERROR: Raster map [fooMAR] not available

   Quit                          Save                         Clear

So, it seems to be capturing the errors as it should, and otherwise 
function normally, AFAICT.

Also if I choose Region->Display Region Settings, the settings properly 
appear in a new xterm.

Can you provide me an example of a specific program to try and what to 
expect in the shell?


Thanks,

Jeshua Lacock __________________________
Programmer/Owner            Phone:   760.935.4736
http://OpenOSX.com           Fax:        760.935.4845
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_




More information about the grass-dev mailing list