Index: trunk/FACT++/src/RemoteControl.h
===================================================================
--- trunk/FACT++/src/RemoteControl.h	(revision 10493)
+++ trunk/FACT++/src/RemoteControl.h	(revision 10494)
@@ -65,4 +65,10 @@
         str.append("/");
     }
+    static void chop(std::string &str)
+    {
+        const size_t p = str.find_first_of('/');
+        if (p!=string::npos)
+            str = str.substr(p+1);
+    }
 
     // This funtion defines which generator should be called.
@@ -90,5 +96,9 @@
             }
             else
-                return T::Complete(GetCommandList(fCurrentServer), text);
+            {
+                std::vector<std::string> v = GetCommandList(fCurrentServer);
+                for_each(v.begin(), v.end(), RemoteControl::chop);
+                return T::Complete(v, text);
+            }
         }
         return T::Complete(GetCommandList(l), text);
