I'm curious about the difference in the two exit choice buttons displayed
when ctrl-q (or File->Quit) is used to exit grass. The dialog box asks "Do
you want to quit GRASS including shell prompt or just close the GUI?"
When I click on the rightmost button (Quit GRASS GIS) the GUI displays but
the shell prompt remains.
It's no problem to type 'exit' at the prompt and return to the bash shell,
so I'm curious if the same behavior regardless of which choice (other than
cancel) is made is deliberate.
Rich
On Thu, Sep 8, 2016 at 9:28 AM, Rich Shepard <rshepard@appl-ecosys.com>
wrote:
I'm curious about the difference in the two exit choice buttons displayed
when ctrl-q (or File->Quit) is used to exit grass. The dialog box asks "Do
you want to quit GRASS including shell prompt or just close the GUI?"
One just ends the GUI process, the other ends the GUI, ends all the other
GUIs and exits the whole GRASS GIS session.
When I click on the rightmost button (Quit GRASS GIS) the GUI displays
but
the shell prompt remains.
That's a bug.
It's no problem to type 'exit' at the prompt and return to the bash
shell,
so I'm curious if the same behavior regardless of which choice (other than
cancel) is made is deliberate.
It works for me on Ubuntu. The know issue is that it does not work on Mac
OS X.
If you want to debug it: The whole system is based on sending signals and
managed through GUI_PID and PID variables which you get from g.gisenv. It
lives in the following files:
gui/wxpython/lmgr/frame.py
gui/wxpython/core/utils.py
lib/init/grass.py
Vaclav
On Thu, 8 Sep 2016, Vaclav Petras wrote:
One just ends the GUI process, the other ends the GUI, ends all the other
GUIs and exits the whole GRASS GIS session.
Vaclav,
Yes, that's the intent.
When I click on the rightmost button (Quit GRASS GIS) the GUI displays
but the shell prompt remains.
That's a bug.
Thought so.
It works for me on Ubuntu. The know issue is that it does not work on Mac
OS X.
And on Slackware-14.1.
If you want to debug it: The whole system is based on sending signals and
managed through GUI_PID and PID variables which you get from g.gisenv. It
lives in the following files: gui/wxpython/lmgr/frame.py
gui/wxpython/core/utils.py lib/init/grass.py
I'll try to make time this coming weekend to upgrade the OS to 14.2. I'll
see if that makes a difference. As time permits I'll look at the mentioned
files.
Regards,
Rich
Vaclav Petras <wenzeslaus@gmail.com> writes:
On Thu, Sep 8, 2016 at 9:28 AM, Rich Shepard <rshepard@appl-ecosys.com> wrote:
I'm curious about the difference in the two exit choice buttons displayed
when ctrl-q (or File->Quit) is used to exit grass. The dialog box asks "Do
you want to quit GRASS including shell prompt or just close the GUI?"
One just ends the GUI process, the other ends the GUI, ends all the other GUIs and exits the whole GRASS GIS session.
When I click on the rightmost button (Quit GRASS GIS) the GUI displays but
the shell prompt remains.
That's a bug.
It's no problem to type 'exit' at the prompt and return to the bash shell,
so I'm curious if the same behavior regardless of which choice (other than
cancel) is made is deliberate.
It works for me on Ubuntu. The know issue is that it does not work on Mac OS X.
It does for me on El Capitan GRASS 7.04, 7.2 and 7.3 all installed via homebrew.
Cheers,
Rainer
If you want to debug it: The whole system is based on sending signals and managed through GUI_PID and PID variables which you get from g.gisenv. It
lives in the following files:
gui/wxpython/lmgr/frame.py
gui/wxpython/core/utils.py
lib/init/grass.py
Vaclav
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982