CTRL-C in newlisp
Posted: Fri Mar 05, 2004 3:27 pm
Hello Lutz,
The ctrl-c signaling under console mode is very handy, it realy is.
( (c)ontinue, e(x)it, (r)eset : )
But i just ran into someting funny and that is that its now impossible
to bypass the ctrl-c signal handler. So whenever you now press cltr-c
you will see the (c)ontinue.... message..
Is it possible to bring the ctrl-c signal handel under (error-event)?
That way perhpas people can build there own signal handler for
cltr-c (which could be seens as an error-event?)
Why? well... using 'link.lsp on newlisp programs, user-defined ctrl-c
exists could brighten the exit instead of always having the
(c)ontinue...message and ending up on the console prompt of newlisp..
What do you think of this?
Norman.
The ctrl-c signaling under console mode is very handy, it realy is.
( (c)ontinue, e(x)it, (r)eset : )
But i just ran into someting funny and that is that its now impossible
to bypass the ctrl-c signal handler. So whenever you now press cltr-c
you will see the (c)ontinue.... message..
Is it possible to bring the ctrl-c signal handel under (error-event)?
That way perhpas people can build there own signal handler for
cltr-c (which could be seens as an error-event?)
Why? well... using 'link.lsp on newlisp programs, user-defined ctrl-c
exists could brighten the exit instead of always having the
(c)ontinue...message and ending up on the console prompt of newlisp..
What do you think of this?
Norman.