GRASS, Solaris, and UNIX Signals

Bob Black black at hercules.calspan.com
Wed Jun 5 08:00:00 EDT 1996



A GRASS application program running under Solaris is exiting with this
message:

        ERROR - eof from graphics monitor

It turns out that this message is displayed by a GRASS raster library
routine in the file named io.c (or new_io.c) after two failures to
generate a SIGALRM.  That code uses a UNIX signal() function call.

It's my understanding that signal() calls, which work under SunOS,
should be changed to sigaction() calls under Solaris.

Can anyone shed some light on this?  

Is there a separate set of GRASS sources for Solaris, which address
this incompatibility between Solaris and SunOS?

Or is pre-Solaris code just supposed to run under Solaris by means of
the binary compatibility feature?

Thanks for any help or advice.

- Bob

--
Robert Black (black at calspan.com) - Principal Engineer
Calspan SRL Corporation - Advanced Technology Center
PO Box 400
Buffalo, NY 14225  USA





More information about the grass-user mailing list