[GRASS-dev] Re: [GRASS-user] Access mapsets out of grass (small problem when launching a grass session)

[CC to grass-dev]

Νίκος Αλεξανδρής wrote:

However, I have a small problem: sometimes I launch grass6_dev or
grass_trunk (my default is grass64) and whenever I hit Ctrl+C to break a
running process, it happens sometimes to hit it twice and this breaks
also the grass(6_dev or _trunk) session to break.

This appears to have been introduced in:

  http://trac.osgeo.org/grass/changeset/39350#file3

It doesn't appear to be in 7.0, though; if you're seeing it there, I
don't know what's causing it.

The change is a mistake, and should be reverted or modified.

The motivation appears to have been to allow the GUI to kill the
shell; in which case, it should have used some other signal (e.g.
SIGTERM, SIGHUP, SIGQUIT).

--
Glynn Clements <glynn@gclements.plus.com>

I apologise to everyone affected by my bad code. As of r39670 Ctrl+C
should not anymore quit GRASS session.

Maris.

2009/11/3, Glynn Clements <glynn@gclements.plus.com>:

[CC to grass-dev]

Νίκος Αλεξανδρής wrote:

However, I have a small problem: sometimes I launch grass6_dev or
grass_trunk (my default is grass64) and whenever I hit Ctrl+C to break a
running process, it happens sometimes to hit it twice and this breaks
also the grass(6_dev or _trunk) session to break.

This appears to have been introduced in:

  http://trac.osgeo.org/grass/changeset/39350#file3

It doesn't appear to be in 7.0, though; if you're seeing it there, I
don't know what's causing it.

The change is a mistake, and should be reverted or modified.

The motivation appears to have been to allow the GUI to kill the
shell; in which case, it should have used some other signal (e.g.
SIGTERM, SIGHUP, SIGQUIT).

--
Glynn Clements <glynn@gclements.plus.com>
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

On Tue, 2009-11-03 at 11:11 +0200, Maris Nartiss wrote:

As of r39670 Ctrl+C should not anymore quit GRASS session.
Maris.

Great, it works!
Thanks, Nikos