Index: trunk/src/tmcsim/client/ATMSrenumber.py
===================================================================
--- trunk/src/tmcsim/client/ATMSrenumber.py	(revision 178)
+++ trunk/src/tmcsim/client/ATMSrenumber.py	(revision 179)
@@ -18,13 +18,27 @@
     # read a line and output with :00 secs
     str = raw_input("");
-    t = (2009, 2, 17, 0, mincount, 0, 1, 0, 0)
-    t = time.mktime(t)
-    print time.strftime("%H:%M:%S", time.gmtime(t)), str
+    if str[0] != '#':
+        fields = str.split()
+        t = (2009, 2, 17, 0, mincount, 0, 1, 0, 0)
+        t = time.mktime(t)
+#        print fields[0], time.strftime("%H:%M:%S", time.gmtime(t)), fields[2], "\t", fields[3], "\t", fields[4], "\t", fields[5]
+        print fields[0], time.strftime("%H:%M:%S", time.gmtime(t)),
+        print ("  %4s"% (fields[2])), 
+        print " ", fields[3], " ", (" %5s"%(fields[4])), "\t", fields[5]
+    else:
+        print str
 
     # read a line and output with :30 secs
     str = raw_input("");
-    t = (2009, 2, 17, 0, mincount, 30, 1, 0, 0)
-    t = time.mktime(t)
-    print time.strftime("%H:%M:%S", time.gmtime(t)), str
+    if str[0] != '#':
+        fields = str.split()
+        t = (2009, 2, 17, 0, mincount, 30, 1, 0, 0)
+        t = time.mktime(t)
+        print fields[0], time.strftime("%H:%M:%S", time.gmtime(t)),
+        print ("  %4s"% (fields[2])), 
+        print " ", fields[3], " ", (" %5s"%(fields[4])), "\t", fields[5]
+    else:
+        print str
+
     # increment the minute
     mincount += 1;
