[Ecls-list] SIGINT

Matthew Mondor mm_lists at pulsar-zone.net
Fri Mar 19 00:52:17 UTC 2010


On Fri, 19 Mar 2010 01:31:22 +0100
Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> wrote:

> No, I did not know it. Platform? Compiler / configuration flags?

Hmm this is somewhat odd, I now get a different behaviour, it must have
been a recent CVS checkout of ECL from a few days back (my current one
behaves as follows:)

ECL CVS checkout from today on NetBSD-5, built with:

export CFLAGS="-march=i686 -O2 -g"
export LDFLAGS="-g"
./configure --prefix=/usr/local/ecl --enable-unicode --enable-threads --with-__thread=no --enable-rpath --with-clx

$ /usr/local/ecl/bin/ecl
;;; Loading #P"/usr/local/ecl/lib/ecl-10.3.1/asdf.fas"
;;; Loading #P"/usr/local/ecl/lib/ecl-10.3.1/cmp.fas"
;;; Loading #P"/usr/local/ecl/lib/ecl-10.3.1/sysfun.lsp"
ECL (Embeddable Common-Lisp) 10.3.1
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.  
Top level in: #<process SI:TOP-LEVEL 0810afc0>.
> (loop)
^C
;;; Suspending process #<process SIGNAL-SERVICING 08f3d210>
;;; Suspending process #<process TOP-LEVEL 0810afc0>
Console interrupt

Available restarts:

1. (CONTINUE) CONTINUE
2. (INTERRUPT-PROCESS) Interrupt a certain process.

Broken at SI::TPL. In: #<process SI:HANDLE-SIGNAL 090858d0>.
 File: "src:lsp;top.lsp.NEWEST" (Position #20393)
>>:r1
[It would previously resume fine here, yet a second ^C would cause ECL to just exit]
[now:]

Cannot interrupt the inactive process #<process SIGNAL-SERVICING 08f3d210>

No restarts available.

Broken at SI::TPL. In: #<process SI:HANDLE-SIGNAL 090858d0>.
 File: "src:lsp;top.lsp.NEWEST" (Position #20393)
[it resumes the loop, now pressing ^C again no longer does anything]


While with the ECL release (built with the same flags on the same OS, except -g)

$ ecl
;;; Loading #P"/usr/pkg/lib/ecl-10.3.1/asdf.fas"
;;; Loading #P"/usr/pkg/lib/ecl-10.3.1/cmp.fas"
;;; Loading #P"/usr/pkg/lib/ecl-10.3.1/sysfun.lsp"
ECL (Embeddable Common-Lisp) 10.3.1
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.  
Top level in: #<process SI:TOP-LEVEL 0807afc0>.
> (loop)
^C^C^C^C
[Here ^C does not get caugh at all].

Thanks,
-- 
Matt




More information about the ecl-devel mailing list