[GRASS5] warning sleep

Hi,

G_warning ( ) --> print_error() --> sleep(5)

I don't like such sleeping. Exists any option how to switch off sleep.
If not, I would vote for no sleep by default
(no_sleep = 1; instead of no_sleep = 0; in libes/gis/error.c)

Radim

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Mon, Feb 19, 2001 at 10:51:07AM +0100, Radim Blazek wrote:

Hi,

G_warning ( ) --> print_error() --> sleep(5)

I don't like such sleeping. Exists any option how to switch off sleep.
If not, I would vote for no sleep by default
(no_sleep = 1; instead of no_sleep = 0; in libes/gis/error.c)

Radim

Hi Radim,
hi all,

what about another GRASS_SLEEP environment variable to adjust
this? Generally I feel that the current sleep takes to much
time (for us impatient).

[BTW: Justin, please check in the current list of GRASS env variables,
I hope you have this list]

Just my 0.02 Euro

Markus

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

From: Markus Neteler <neteler@geog.uni-hannover.de>

On Mon, Feb 19, 2001 at 10:51:07AM +0100, Radim Blazek wrote:
> Hi,
>
> G_warning ( ) --> print_error() --> sleep(5)
>
> I don't like such sleeping. Exists any option how to switch off sleep.
> If not, I would vote for no sleep by default
> (no_sleep = 1; instead of no_sleep = 0; in libes/gis/error.c)
>
> Radim

Hi Radim,
hi all,

what about another GRASS_SLEEP environment variable to adjust
this? Generally I feel that the current sleep takes to much
time (for us impatient).

Hi,

It's good idea. I dislike this sleep too.
I fully agree.

Huidae Cho

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Mon, 19 Feb 2001, Radim Blazek wrote:

Hi,

G_warning ( ) --> print_error() --> sleep(5)

I don't like such sleeping. Exists any option how to switch off sleep.
If not, I would vote for no sleep by default
(no_sleep = 1; instead of no_sleep = 0; in libes/gis/error.c)

Radim

What about G_sleep_on_error() in the gis library? That is settable on a
program-by-program basis, and could be put in G_gisinit() to load the
environment variable - doesn't seem to be there yet?

Roger

--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand@nhh.no
and: Department of Geography and Regional Development, University of
Gdansk, al. Mar. J. Pilsudskiego 46, PL-81 378 Gdynia, Poland.

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Roger Bivand wrote:

>
> G_warning ( ) --> print_error() --> sleep(5)
>
> I don't like such sleeping. Exists any option how to switch off sleep.
> If not, I would vote for no sleep by default
> (no_sleep = 1; instead of no_sleep = 0; in libes/gis/error.c)

What about G_sleep_on_error() in the gis library? That is settable on a
program-by-program basis, and could be put in G_gisinit() to load the
environment variable - doesn't seem to be there yet?

Roger

I'll change no_sleep to 1 in grass50 (should not cause new bug)
and we can add suggested G_sleep_on_error() to G_gisinit() in grass51
if no objections.

Radim

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'