Index: /trunk/Ohana/src/opihi/pantasks/CheckTasks.c
===================================================================
--- /trunk/Ohana/src/opihi/pantasks/CheckTasks.c	(revision 31665)
+++ /trunk/Ohana/src/opihi/pantasks/CheckTasks.c	(revision 31666)
@@ -61,4 +61,5 @@
       JobTaskLock();
       if (!status) {
+	task[0].Nskipexec ++;
 	continue;
       }
Index: /trunk/Ohana/src/opihi/pantasks/JobOps.c
===================================================================
--- /trunk/Ohana/src/opihi/pantasks/JobOps.c	(revision 31665)
+++ /trunk/Ohana/src/opihi/pantasks/JobOps.c	(revision 31666)
@@ -82,5 +82,5 @@
   gprint (GP_LOG, " Jobs in Pantasks Queue\n");
   for (i = 0; i < Njobs; i++) {
-    gprint (GP_LOG, " %d: %-15s %5d %20s (%lx)\n", Njobs, jobs[i][0].task[0].name, jobs[i][0].JobID, jobs[i][0].argv[0], (long) jobs[i][0].argv);
+    gprint (GP_LOG, " %4d  %6d: %-25s %10s %20s\n", Njobs, jobs[i][0].JobID, jobs[i][0].task[0].name, JobStateToString(jobs[i][0].state), jobs[i][0].argv[0]);
   }
 
@@ -280,2 +280,31 @@
   return (job[0].state);
 }
+
+static char *JobStateNone    = "NONE";
+static char *JobStateBusy    = "BUSY";
+static char *JobStateExit    = "EXIT";
+static char *JobStateHung    = "HUNG";
+static char *JobStateCrash   = "CRASH";
+static char *JobStatePending = "PENDING";
+
+char *JobStateToString (JobStat state) {
+
+  switch (state) {
+    case JOB_NONE:
+      return JobStateNone;
+    case JOB_BUSY:
+      return JobStateBusy;
+    case JOB_EXIT:
+      return JobStateExit;
+    case JOB_HUNG:
+      return JobStateHung;
+    case JOB_CRASH:
+      return JobStateCrash;
+    case JOB_PENDING:
+      return JobStatePending;
+    default:
+      return JobStateNone;
+  }      
+  return JobStateNone;
+}
+
Index: /trunk/Ohana/src/opihi/pantasks/TaskOps.c
===================================================================
--- /trunk/Ohana/src/opihi/pantasks/TaskOps.c	(revision 31665)
+++ /trunk/Ohana/src/opihi/pantasks/TaskOps.c	(revision 31666)
@@ -151,4 +151,5 @@
 	free (stop);
       }
+      gprint (GP_LOG, "     Nskip exec: %d\n", tasks[i][0].Nskipexec);
       if (tasks[i][0].host == NULL) {
 	gprint (GP_LOG, "    task runs locally\n");
Index: /trunk/Ohana/src/opihi/pantasks/client_shell.c
===================================================================
--- /trunk/Ohana/src/opihi/pantasks/client_shell.c	(revision 31665)
+++ /trunk/Ohana/src/opihi/pantasks/client_shell.c	(revision 31666)
@@ -22,5 +22,5 @@
     if (Nbad == 10) exit (3);
 
-    line = readline (prompt);
+    line = opihi_readline (prompt);
 
     if (line == NULL) { 
@@ -37,5 +37,4 @@
     }
     Nbad = 0;
-    ohana_memregister (line);
 
     stripwhite (line);
Index: /trunk/Ohana/src/opihi/pantasks/notes.txt
===================================================================
--- /trunk/Ohana/src/opihi/pantasks/notes.txt	(revision 31665)
+++ /trunk/Ohana/src/opihi/pantasks/notes.txt	(revision 31666)
@@ -1,2 +1,18 @@
+
+2011.06.01
+
+  addressing some details:
+
+  tasks->Njobs:
+    ++ : CheckTasks.c:86 after successful submission
+
+  tasks->Nsuccess:
+    ++ : CheckJobs.c:126 : on exit if exit_status == 0
+  
+  tasks->Nfailure:
+    ++ : CheckJobs.c:102 : on exit if exit_status == 0
+    ++ : CheckJobs.c:123 : on crash
+
+  tasks->Ntimeout:
 
 stdout_cntl:
Index: /trunk/Ohana/src/opihi/pantasks/status_server.c
===================================================================
--- /trunk/Ohana/src/opihi/pantasks/status_server.c	(revision 31665)
+++ /trunk/Ohana/src/opihi/pantasks/status_server.c	(revision 31666)
@@ -1,3 +1,5 @@
 # include "pantasks.h"
+// this is the server version of the status_sys function (status.c)
+// the server verion needs to include locks on the jobs.
 
 int status_scheduler(void);
Index: /trunk/Ohana/src/opihi/pantasks/task.c
===================================================================
--- /trunk/Ohana/src/opihi/pantasks/task.c	(revision 31665)
+++ /trunk/Ohana/src/opihi/pantasks/task.c	(revision 31666)
@@ -34,5 +34,5 @@
     /* get the next line (from correct place) */
     if (ThisList == 0) 
-      input = readline (prompt);
+      input = opihi_readline (prompt);
     else 
       input = get_next_listentry (ThisList);
@@ -46,5 +46,4 @@
       input = strcreate ("end");
     }
-    if (ThisList == 0) ohana_memregister (input);
 
     stripwhite (input);
Index: /trunk/Ohana/src/opihi/pantasks/task_macros.c
===================================================================
--- /trunk/Ohana/src/opihi/pantasks/task_macros.c	(revision 31665)
+++ /trunk/Ohana/src/opihi/pantasks/task_macros.c	(revision 31666)
@@ -112,5 +112,5 @@
     /* get the next line (from correct place) */
     if (ThisList == 0) 
-      input = readline (prompt);
+      input = opihi_readline (prompt);
     else 
       input = get_next_listentry (ThisList);
@@ -124,5 +124,4 @@
       input = strcreate ("end");
     }
-    if (ThisList == 0) ohana_memregister (input);
 
     stripwhite (input);
