diff --git a/UDrawGraph/Basic.hs b/UDrawGraph/Basic.hs
--- a/UDrawGraph/Basic.hs
+++ b/UDrawGraph/Basic.hs
@@ -67,7 +67,6 @@
 import Util.Object
 import Util.WBFiles
 import Util.Computation as Computation (propagate, done)
-import Util.FileNames
 import Util.Registry
 import Util.UniqueString
 import Util.Thread
@@ -115,8 +114,8 @@
 
 challengeResponsePair :: (String,String)
 challengeResponsePair =
-  ("nothing"++recordSep++"nothing"++recordSep++"nothing",
-   "ok"++recordSep++"ok"++recordSep++"ok"++recordSep++"ok"++recordSep)
+  (unlines $ replicate 3 "nothing",
+   unlines $ replicate 4 "ok")
 -- 3 nothings and 4 oks, because daVinci also outputs an extra "ok"
 -- right at the beginning.
 
@@ -133,6 +132,7 @@
                  daVinciIconsOpt env,
             arguments ["-pipe"],
             standarderrors False,
+            linemode True,
             challengeResponse challengeResponsePair,
             toolName "daVinci"
             ]
diff --git a/uni-uDrawGraph.cabal b/uni-uDrawGraph.cabal
--- a/uni-uDrawGraph.cabal
+++ b/uni-uDrawGraph.cabal
@@ -1,5 +1,5 @@
 name:           uni-uDrawGraph
-version:        2.2.0.1
+version:        2.2.0.2
 build-type:     Simple
 license:        LGPL
 license-file:   LICENSE
@@ -18,7 +18,4 @@
   build-depends: base >=3 && < 5, containers, uni-util, uni-events,
     uni-posixutil, uni-reactor, uni-graphs
 
-  if impl(ghc < 6.10)
-    extensions: PatternSignatures
-  else
-    ghc-options: -fwarn-unused-imports -fno-warn-warnings-deprecations
+  ghc-options: -fwarn-unused-imports -fno-warn-warnings-deprecations
