'goodfet.cc term'
[goodfet] / client / GoodFETConsole.py
index 72077e7..cd0045f 100644 (file)
@@ -19,6 +19,13 @@ class GoodFETConsole():
         client.serInit();
         client.setup();
         client.start();
         client.serInit();
         client.setup();
         client.start();
+    def run(self):
+        while 1:
+            sys.stdout.write("gf% ");
+            sys.stdout.flush();
+            cmd=sys.stdin.readline();
+            self.handle(cmd);
+
     def handle(self, str):
         """Handle a command string.  First word is command."""
         #Lines beginning with # are comments.
     def handle(self, str):
         """Handle a command string.  First word is command."""
         #Lines beginning with # are comments.