Index: /trunk/FACT++/src/fscctrl.cc
===================================================================
--- /trunk/FACT++/src/fscctrl.cc	(revision 11056)
+++ /trunk/FACT++/src/fscctrl.cc	(revision 11057)
@@ -449,15 +449,9 @@
 }
 
+/*
 template<class S, class T>
 int RunDim(Configuration &conf)
 {
     WindowLog wout;
-
-    /*
-    static Test shell(conf.GetName().c_str(), conf.Get<int>("console")!=1);
-
-    WindowLog &win  = shell.GetStreamIn();
-    WindowLog &wout = shell.GetStreamOut();
-    */
 
     ReadlineColor::PrintBootMsg(wout, conf.GetName(), false);
@@ -476,22 +470,7 @@
     io_service.Run();
 
-    /*
-    shell.SetReceiver(io_service);
-
-    boost::thread t(boost::bind(RunThread, &io_service));
-    // boost::thread t(boost::bind(&StateMachineFSC<S>::Run, &io_service));
-
-    shell.Run();                 // Run the shell
-    io_service.Stop();           // Signal Loop-thread to stop
-    // io_service.Close();       // Obsolete, done by the destructor
-
-    // Wait until the StateMachine has finished its thread
-    // before returning and destroying the dim objects which might
-    // still be in use.
-    t.join();
-    */
-
     return 0;
 }
+*/
 
 template<class T, class S, class R>
@@ -645,7 +624,7 @@
         {
             if (conf.Get<bool>("no-dim"))
-                return RunDim<StateMachine, ConnectionFSC>(conf);
+                return RunShell<LocalStream, StateMachine, ConnectionFSC>(conf);
             else
-                return RunDim<StateMachineDim, ConnectionDimFSC>(conf);
+                return RunShell<LocalStream, StateMachineDim, ConnectionDimFSC>(conf);
         }
         // Cosole access w/ and w/o Dim
