mailing-list for TeXmacs Users

Text archives Help


[TeXmacs] Is SIGINT sent to plugins ?


Chronological Thread 
  • From: Nicola Mingotti <address@hidden>
  • To: texmacs-users <address@hidden>
  • Cc: address@hidden
  • Subject: [TeXmacs] Is SIGINT sent to plugins ?
  • Date: Tue, 11 Dec 2018 12:11:03 -0800

Hi again,

I am puzzled, I am trying to get the SIGINT from my plugin
but it seems to me TeXmacs is not sending that signal.

I am using TeXmacs version 1.99.4 in FreeBSD.

Do you know of any plugin who is actually managing SIGINT correctly ?
I tried Python (not working, not implemented IFACSay), Scheme (no button), Maxima (not working).

I test the SIGINT is not working in this way, for Python i can actually
check there is not signal receiver in the code, so, not a TeXmacs problem, but the method I use in general is:

1] Run a sleep command, 10 seconds
2] Press the STOP button in TeXmacs
3] Run a simple arithmentic command e.g. 1+1

=== Pyjhon ===
> import time
> timp.sleep(10)
PRESS QUIT
> 1+1
HANGS till end of sleep
=============

==== Maxima ====
> :lisp (sleep 10)
PRESS QUIT
> 1
HANGS till end of sleep
================

Maybe also Maxima plugin is not catching the SIGINT...
In my plugin managed to receive the signal but I don't see it coming when i press the STOP button.

Do you know something about it ?

bye
Nicola






Archive powered by MHonArc 2.6.19.

Top of page