Don't print repeated commands.
diff --git a/Lib/cmd.py b/Lib/cmd.py
index d28e393..ab37a98 100644
--- a/Lib/cmd.py
+++ b/Lib/cmd.py
@@ -28,7 +28,6 @@
 		line = string.strip(line)
 		if not line:
 			line = self.lastcmd
-			print line
 		else:
 			self.lastcmd = line
 		i, n = 0, len(line)