delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/08/28/04:03:23

From: rjl AT monu1 DOT cc DOT monash DOT edu DOT au (R Lang)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: signal() not implemented, gnuplot unusable
Date: Fri, 28 Aug 92 17:11:16 +1000

I have modified the gnuplot plotting program so that it compiles
and runs using DJGPP.
The Super VGA driver was one of the quickest ones I have ever
written.
gnuplot finally has enough memory to do high resolution plots.

However, gnuplot relies on signal() to trap floating point
exceptions and ^C interrupts (SIGFPE & SIGINT).  The signal()
definition in DJGPP is a dummy, so floating point exceptions
bomb gnuplot.  This makes DJGPP/gnuplot unusable in practice.
Has anyone added or looked at adding a working signal() to DJGPP?

If DEBUG32 can catch ^C and FPE then it shouldn't be too hard to
make GO32 do a setjmp/longjmp to a handler instead.

Please reply direct to me since I am not a subscriber of this
mailing list.

-- 
Russell Lang    Email: rjl AT monu1 DOT cc DOT monash DOT edu DOT au    Phone: (03) 565 3460
Department of Electrical and Computer Systems Engineering
Monash University, Australia

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019