|
![](/i/fill.gif) |
In article <4a8b7a38@news.povray.org>,
Daniel Bastos wrote:
> This cat does not handle exceptions. I might see how that works next.
Looks like this suffices.
(define (sigint v)
(fprintf (current-error-port) "^C\n"))
;main
(with-handlers ([exn:break? (lambda (v) (sigint v))])
(cat (vector->list (current-command-line-arguments))))
It's interesting that I need to (exit) from sigint. What if I would
like to ignore that signal, or continue somehow? No idea what to do.
Hey, if you're very curious, there's some information in v. :-)
Post a reply to this message
|
![](/i/fill.gif) |