Subject: mailing-list for TeXmacs Users
List archive
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
- [TeXmacs] Is SIGINT sent to plugins ?, Nicola Mingotti, 12/11/2018
- Re: [TeXmacs] Is SIGINT sent to plugins ?, Massimiliano Gubinelli, 12/12/2018
- Re: [TeXmacs] Is SIGINT sent to plugins ?, Massimiliano Gubinelli, 12/12/2018
- Re: [TeXmacs] Is SIGINT sent to plugins ?, Nicola Mingotti, 12/12/2018
- Re: [TeXmacs] Is SIGINT sent to plugins ?, Massimiliano Gubinelli, 12/12/2018
- Re: [TeXmacs] Is SIGINT sent to plugins ?, Nicola Mingotti, 12/13/2018
- Re: [TeXmacs] Is SIGINT sent to plugins ?, Massimiliano Gubinelli, 12/12/2018
- Re: [TeXmacs] Is SIGINT sent to plugins ?, Nicola Mingotti, 12/12/2018
Archive powered by MHonArc 2.6.19.