Hi,
I noticed today that nviz doesn't work if I run it background as before.
Similarly, it just stops after displaying a map when it's executed from
"d.m &" which is recommended in the welcome message.
nviz elevation=dem & # doesn't work
d.m & # nviz doesn't work
nviz elevation=dem # works!
d.m # nviz works!
And I see nviz prints % prompt. Does anyone have a clue?
Thanks.
Huidae Cho
Huidae Cho wrote:
Hi,
I noticed today that nviz doesn't work if I run it background as before.
Similarly, it just stops after displaying a map when it's executed from
"d.m &" which is recommended in the welcome message.
nviz elevation=dem & # doesn't work
d.m & # nviz doesn't work
nviz elevation=dem # works!
d.m # nviz works!
And I see nviz prints % prompt. Does anyone have a clue?
It must be the latest change that was done - I just tried it and it
does not work even if I do nviz elevation=dem, it displays the DEM
but fails to open the Main pannel and prints a % prompt.
It worked OK just a few days (weeks?) ago.
It may be related to the change in the startup script - Bob, are you
around? How does it work for you?
Helena
Thanks.
Huidae Cho
_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5
Hello,
I tried running the latest version of nviz in the background with various options and it seems to work fine. The "%" prompt that you see is perfectly normal. The nviz program is simply a customized version of the Tcl/Tk "wish" executable. Try executing "wish" on the command line and you should see the same prompt.
As for it crashing when it is run in the background, I have no idea. You might try changing GRASS_MESSAGE_FORMAT environment variable to see if that has any effect.
It might help to know what platform and Tcl/Tk version it is failing on.
For me it works on RedHat 7.3 with Tk8.3, and RedHat 9 with Tk8.4.
--
Bob
Helena wrote:
Huidae Cho wrote:
Hi,
I noticed today that nviz doesn't work if I run it background as before.
Similarly, it just stops after displaying a map when it's executed from
"d.m &" which is recommended in the welcome message.
nviz elevation=dem & # doesn't work
d.m & # nviz doesn't work
nviz elevation=dem # works!
d.m # nviz works!
And I see nviz prints % prompt. Does anyone have a clue?
It must be the latest change that was done - I just tried it and it
does not work even if I do nviz elevation=dem, it displays the DEM
but fails to open the Main pannel and prints a % prompt.
It worked OK just a few days (weeks?) ago.
It may be related to the change in the startup script - Bob, are you
around? How does it work for you?
Helena
Thanks.
Huidae Cho
_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5
Hi,
Now nviz is not a *wish script but a shell itself. That's why it prints
a prompt and we cannot execute it background and inside "d.m &". To fix
this problem, I think we should go back to NVWISH because running nviz
foreground is pain.
You can test this:
wish &
prints % prompt and just stop!
Huidae Cho
On Fri, Dec 17, 2004 at 09:02:39PM -0400, Bob Covill wrote:
Hello,
I tried running the latest version of nviz in the background with
various options and it seems to work fine. The "%" prompt that you see
is perfectly normal. The nviz program is simply a customized version of
the Tcl/Tk "wish" executable. Try executing "wish" on the command line
and you should see the same prompt.
As for it crashing when it is run in the background, I have no idea. You
might try changing GRASS_MESSAGE_FORMAT environment variable to see if
that has any effect.
It might help to know what platform and Tcl/Tk version it is failing on.
For me it works on RedHat 7.3 with Tk8.3, and RedHat 9 with Tk8.4.
--
Bob
Helena wrote:
>Huidae Cho wrote:
>
>>Hi,
>>
>>I noticed today that nviz doesn't work if I run it background as before.
>>Similarly, it just stops after displaying a map when it's executed from
>>"d.m &" which is recommended in the welcome message.
>>
>>nviz elevation=dem & # doesn't work
>>d.m & # nviz doesn't work
>>
>>nviz elevation=dem # works!
>>d.m # nviz works!
>>
>>And I see nviz prints % prompt. Does anyone have a clue?
>
>
>It must be the latest change that was done - I just tried it and it
>does not work even if I do nviz elevation=dem, it displays the DEM
>but fails to open the Main pannel and prints a % prompt.
>It worked OK just a few days (weeks?) ago.
>It may be related to the change in the startup script - Bob, are you
>around? How does it work for you?
>
>Helena
>
>>
>>Thanks.
>>Huidae Cho
>>
>>_______________________________________________
>>grass5 mailing list
>>grass5@grass.itc.it
>>http://grass.itc.it/mailman/listinfo/grass5
>
>