[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
readline & signals
From: |
Sam Steingold |
Subject: |
readline & signals |
Date: |
Fri, 14 Oct 2005 13:02:28 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
when clisp is built with readline, sending clisp sigterm puts into
background:
$ clisp -x '(unwind-protect (sleep 100) (print "cleanup"))' &
$ kill %1
[1]+ Stopped ...
$ fg
Exiting on signal 15
"cleanup"
Bye.
$
when readline is not compiled in:
$ clisp -x '(unwind-protect (sleep 100) (print "cleanup"))' &
$ kill %1
Exiting on signal 15
"cleanup"
Bye.
$
we do not call rl_set_signals() (we need to handle most signals ourselves).
we do call rl_resize_terminal() from our own sigwinch handler.
so, what are we doing wrong?
thanks!
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.jihadwatch.org/> <http://pmw.org.il/> <http://www.iris.org.il>
<http://www.mideasttruth.com/> <http://www.palestinefacts.org/>
Even Windows doesn't suck, when you use Common Lisp
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- readline & signals,
Sam Steingold <=