From: Mart Lubbers Date: Tue, 14 May 2019 14:03:41 +0000 (+0200) Subject: signal handlers X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=1d599e5670d149ef87c6e8fd74a62fc23e40a03f;p=clean-tests.git signal handlers --- diff --git a/signal/prj b/signal/prj new file mode 100644 index 0000000..dc0d987 --- /dev/null +++ b/signal/prj @@ -0,0 +1,4 @@ +[?25l[?25h[?1049h[?1h=[?25l"Clean System Files" is a directory~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?25h[?25lType :qa! and press to abandon all changes and exit Vim[?25h[?25l[?25h[?25l[?25h +[?1l>[?1049l[?25h[?25h[?1049h[?1h=[?25l~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?25h[?1l>[?1049lVim: Caught deadly signal TERM +Vim: Finished. + \ No newline at end of file diff --git a/signal/test.icl b/signal/test.icl index bc33213..8a27d9a 100644 --- a/signal/test.icl +++ b/signal/test.icl @@ -5,6 +5,8 @@ import Data.Error import System.Signal import System.OSError +import code from "bork." + Start w = case signalInstall 2 w of (Error (_, m), w) = "signalInstall: " +++ toString m