Karim Belabas on Mon, 18 Apr 2005 11:28:21 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: GP handling of SIGINT (Linux)


* Jeroen Demeyer [2005-04-17 21:35]:
> Hello list,
> 
> while hacking with GP and shell scripts under Linux, I noted the following:
> 
> When using GP non-interactively (gp -f -q <commands.gp >output),
> it only handles a SIGINT once.  The first SIGINT is caught and 
> interrupts the current command (as usual), but any further SIGINTs do 
> nothing.  I don't understand how come this behaviour is different from 
> an interactive GP, where multiple SIGINTs can be cought.
> 
> Is this a feature or a bug?

It's a bug, which we've not been able to trace so far. See

  http://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=124

Cheers,

    Karim.
-- 
Karim Belabas                     Tel: (+33) (0)1 69 15 57 48
Dep. de Mathematiques, Bat. 425   Fax: (+33) (0)1 69 15 60 19
Universite Paris-Sud              http://www.math.u-psud.fr/~belabas/
F-91405 Orsay (France)            http://pari.math.u-bordeaux.fr/  [PARI/GP]