projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
'goodfet.cc term'
[goodfet]
/
client
/
GoodFETConsole.py
diff --git
a/client/GoodFETConsole.py
b/client/GoodFETConsole.py
index
72077e7
..
cd0045f
100644
(file)
--- a/
client/GoodFETConsole.py
+++ b/
client/GoodFETConsole.py
@@
-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.