From 1d599e5670d149ef87c6e8fd74a62fc23e40a03f Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Tue, 14 May 2019 16:03:41 +0200 Subject: [PATCH] signal handlers --- signal/prj | 4 ++++ signal/test.icl | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 signal/prj 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 -- 2.20.1