Index: /trunk/Ohana/src/opihi/Makefile
===================================================================
--- /trunk/Ohana/src/opihi/Makefile	(revision 4747)
+++ /trunk/Ohana/src/opihi/Makefile	(revision 4748)
@@ -16,9 +16,7 @@
 LIBS = lib.data lib.shell cmd.basic cmd.data cmd.astro
 
-PROGRAM = mana dvo
+PROGRAM = mana dvo psched pclient pcontrol
 
-EXTRAS = psched pclient pcontrol
-
-SKIP =  dimm
+EXTRAS = dimm dvo2
 
 all:
Index: /trunk/Ohana/src/opihi/cmd.basic/Makefile
===================================================================
--- /trunk/Ohana/src/opihi/cmd.basic/Makefile	(revision 4747)
+++ /trunk/Ohana/src/opihi/cmd.basic/Makefile	(revision 4748)
@@ -52,5 +52,4 @@
 $(SDIR)/usleep.$(ARCH).o     \
 $(SDIR)/sleep.$(ARCH).o	     \
-$(SDIR)/version.$(ARCH).o    \
 $(SDIR)/wait.$(ARCH).o	     \
 $(SDIR)/which.$(ARCH).o
Index: /trunk/Ohana/src/opihi/cmd.basic/init.c
===================================================================
--- /trunk/Ohana/src/opihi/cmd.basic/init.c	(revision 4747)
+++ /trunk/Ohana/src/opihi/cmd.basic/init.c	(revision 4748)
@@ -32,5 +32,4 @@
 int substr_func     PROTO((int, char **));
 int wait_func  	    PROTO((int, char **));
-int version    	    PROTO((int, char **));
 int which      	    PROTO((int, char **));
 
@@ -69,5 +68,4 @@
   {"strlen",        strlen_func,        "string length"},
   {"substr",        substr_func,        "substring"},
-  {"version",       version,            "list version information"},
   {"wait",    	    wait_func,          "wait until return is typed"},
   {"which",   	    which,              "show command *"}
Index: unk/Ohana/src/opihi/cmd.basic/version.c
===================================================================
--- /trunk/Ohana/src/opihi/cmd.basic/version.c	(revision 4747)
+++ 	(revision )
@@ -1,13 +1,0 @@
-# include "basic.h"
-static char *name = "$Name: not supported by cvs2svn $";
-
-int version (int argc, char **argv) {
-
-  fprintf (stderr, "%s\n", name);
-
-  fprintf (stderr, "%s\n", ohana_version());
-  fprintf (stderr, "%s\n", fits_version());
-
-  fprintf (stderr, "compiled on %s %s\n", __DATE__, __TIME__);
-  return (TRUE);
-}
Index: /trunk/Ohana/src/opihi/dimm/Makefile
===================================================================
--- /trunk/Ohana/src/opihi/dimm/Makefile	(revision 4747)
+++ /trunk/Ohana/src/opihi/dimm/Makefile	(revision 4748)
@@ -34,5 +34,6 @@
 $(SDIR)/camera.$(ARCH).o	  	\
 $(SDIR)/findstars.$(ARCH).o	  	\
-$(SDIR)/telescope.$(ARCH).o       	
+$(SDIR)/telescope.$(ARCH).o   \
+$(SDIR)/version.$(ARCH).o
 
 libs = \
Index: /trunk/Ohana/src/opihi/dimm/init.c
===================================================================
--- /trunk/Ohana/src/opihi/dimm/init.c	(revision 4747)
+++ /trunk/Ohana/src/opihi/dimm/init.c	(revision 4748)
@@ -5,4 +5,5 @@
 int findstars       PROTO((int, char **));
 int telescope       PROTO((int, char **));
+int version         PROTO((int, char **));
 
 static Command cmds[] = {  
@@ -11,4 +12,5 @@
   {"findstars",        findstars,        "find objects on image"},
   {"telescope",        telescope,        "telescope communications"},
+  {"version",     version,      "show version information"},
 }; 
 
Index: /trunk/Ohana/src/opihi/dimm/version.c
===================================================================
--- /trunk/Ohana/src/opihi/dimm/version.c	(revision 4748)
+++ /trunk/Ohana/src/opihi/dimm/version.c	(revision 4748)
@@ -0,0 +1,14 @@
+# include "dimm.h"
+static char *name = "$Name: not supported by cvs2svn $";
+
+int version (int argc, char **argv) {
+
+  fprintf (stderr, "%s\n", name);
+
+  fprintf (stderr, "%s\n", opihi_version());
+  fprintf (stderr, "%s\n", ohana_version());
+  fprintf (stderr, "%s\n", fits_version());
+
+  fprintf (stderr, "compiled on %s %s\n", __DATE__, __TIME__);
+  return (TRUE);
+}
Index: /trunk/Ohana/src/opihi/dvo/Makefile
===================================================================
--- /trunk/Ohana/src/opihi/dvo/Makefile	(revision 4747)
+++ /trunk/Ohana/src/opihi/dvo/Makefile	(revision 4748)
@@ -81,5 +81,6 @@
 $(SDIR)/showtile.$(ARCH).o	  	\
 $(SDIR)/simage.$(ARCH).o	  	\
-$(SDIR)/subpix.$(ARCH).o 		
+$(SDIR)/subpix.$(ARCH).o  \
+$(SDIR)/version.$(ARCH).o
 
 libs = \
Index: /trunk/Ohana/src/opihi/dvo/init.c
===================================================================
--- /trunk/Ohana/src/opihi/dvo/init.c	(revision 4747)
+++ /trunk/Ohana/src/opihi/dvo/init.c	(revision 4748)
@@ -46,4 +46,5 @@
 int simage	    PROTO((int, char **));
 int subpix	    PROTO((int, char **));
+int version         PROTO((int, char **));
 
 /* temporarily exclude
@@ -97,4 +98,5 @@
   {"simage",      simage,       "plot stars in an image"},
   {"subpix",      subpix,       "get subpixel positions"},
+  {"version",     version,      "show version information"},
 }; 
 
Index: /trunk/Ohana/src/opihi/dvo/version.c
===================================================================
--- /trunk/Ohana/src/opihi/dvo/version.c	(revision 4748)
+++ /trunk/Ohana/src/opihi/dvo/version.c	(revision 4748)
@@ -0,0 +1,14 @@
+# include "dvo1.h"
+static char *name = "$Name: not supported by cvs2svn $";
+
+int version (int argc, char **argv) {
+
+  fprintf (stderr, "%s\n", name);
+
+  fprintf (stderr, "%s\n", opihi_version());
+  fprintf (stderr, "%s\n", ohana_version());
+  fprintf (stderr, "%s\n", fits_version());
+
+  fprintf (stderr, "compiled on %s %s\n", __DATE__, __TIME__);
+  return (TRUE);
+}
Index: /trunk/Ohana/src/opihi/lib.shell/version.c
===================================================================
--- /trunk/Ohana/src/opihi/lib.shell/version.c	(revision 4748)
+++ /trunk/Ohana/src/opihi/lib.shell/version.c	(revision 4748)
@@ -0,0 +1,7 @@
+# include "shell.h"
+
+static char *name = "$Name: not supported by cvs2svn $";
+
+char *opihi_version () {
+  return (name);
+}
Index: /trunk/Ohana/src/opihi/mana/Makefile
===================================================================
--- /trunk/Ohana/src/opihi/mana/Makefile	(revision 4747)
+++ /trunk/Ohana/src/opihi/mana/Makefile	(revision 4748)
@@ -32,4 +32,5 @@
 $(SDIR)/fitcontour.$(ARCH).o \
 $(SDIR)/starcontour.$(ARCH).o \
+$(SDIR)/version.$(ARCH).o \
 $(SDIR)/findpeaks.$(ARCH).o 
 
Index: /trunk/Ohana/src/opihi/mana/init.c
===================================================================
--- /trunk/Ohana/src/opihi/mana/init.c	(revision 4747)
+++ /trunk/Ohana/src/opihi/mana/init.c	(revision 4748)
@@ -5,4 +5,5 @@
 int starcontour	    PROTO((int, char **));
 int rawstars	    PROTO((int, char **));
+int version	    PROTO((int, char **));
 
 static Command cmds[] = {  
@@ -11,4 +12,5 @@
   {"starcontour", starcontour,  "object contour"},
   {"rawstars",    rawstars,     "find raw star stats"},
+  {"version",     version,      "show version information"},
 }; 
 
Index: /trunk/Ohana/src/opihi/mana/version.c
===================================================================
--- /trunk/Ohana/src/opihi/mana/version.c	(revision 4748)
+++ /trunk/Ohana/src/opihi/mana/version.c	(revision 4748)
@@ -0,0 +1,14 @@
+# include "mana.h"
+static char *name = "$Name: not supported by cvs2svn $";
+
+int version (int argc, char **argv) {
+
+  fprintf (stderr, "%s\n", name);
+
+  fprintf (stderr, "%s\n", opihi_version());
+  fprintf (stderr, "%s\n", ohana_version());
+  fprintf (stderr, "%s\n", fits_version());
+
+  fprintf (stderr, "compiled on %s %s\n", __DATE__, __TIME__);
+  return (TRUE);
+}
Index: /trunk/Ohana/src/opihi/pantasks/Makefile
===================================================================
--- /trunk/Ohana/src/opihi/pantasks/Makefile	(revision 4747)
+++ /trunk/Ohana/src/opihi/pantasks/Makefile	(revision 4748)
@@ -57,5 +57,6 @@
 $(SDIR)/task_trange.$(ARCH).o \
 $(SDIR)/task_periods.$(ARCH).o \
-$(SDIR)/task_command.$(ARCH).o
+$(SDIR)/task_command.$(ARCH).o \
+$(SDIR)/version.$(ARCH).o
 
 libs = \
Index: /trunk/Ohana/src/opihi/pantasks/init.c
===================================================================
--- /trunk/Ohana/src/opihi/pantasks/init.c	(revision 4747)
+++ /trunk/Ohana/src/opihi/pantasks/init.c	(revision 4748)
@@ -16,4 +16,5 @@
 int delete_job      PROTO((int, char **));
 int verbose         PROTO((int, char **));
+int version         PROTO((int, char **));
 
 static Command cmds[] = {  
@@ -33,4 +34,5 @@
   {"kill",       kill_job,     "kill job"},
   {"delete",     delete_job,   "delete job"},
+  {"version",     version,      "show version information"},
   {"verbose",    verbose,      "set/toggle verbose mode"},
 }; 
Index: /trunk/Ohana/src/opihi/pantasks/version.c
===================================================================
--- /trunk/Ohana/src/opihi/pantasks/version.c	(revision 4748)
+++ /trunk/Ohana/src/opihi/pantasks/version.c	(revision 4748)
@@ -0,0 +1,14 @@
+# include "psched.h"
+static char *name = "$Name: not supported by cvs2svn $";
+
+int version (int argc, char **argv) {
+
+  fprintf (stderr, "%s\n", name);
+
+  fprintf (stderr, "%s\n", opihi_version());
+  fprintf (stderr, "%s\n", ohana_version());
+  fprintf (stderr, "%s\n", fits_version());
+
+  fprintf (stderr, "compiled on %s %s\n", __DATE__, __TIME__);
+  return (TRUE);
+}
Index: /trunk/Ohana/src/opihi/pclient/Makefile
===================================================================
--- /trunk/Ohana/src/opihi/pclient/Makefile	(revision 4747)
+++ /trunk/Ohana/src/opihi/pclient/Makefile	(revision 4748)
@@ -33,5 +33,6 @@
 $(SDIR)/check.$(ARCH).o \
 $(SDIR)/status.$(ARCH).o \
-$(SDIR)/stdout.$(ARCH).o 
+$(SDIR)/stdout.$(ARCH).o  \
+$(SDIR)/version.$(ARCH).o
 
 libs = \
Index: /trunk/Ohana/src/opihi/pclient/init.c
===================================================================
--- /trunk/Ohana/src/opihi/pclient/init.c	(revision 4747)
+++ /trunk/Ohana/src/opihi/pclient/init.c	(revision 4748)
@@ -7,4 +7,5 @@
 int stdout_pclient  PROTO((int, char **));
 int stderr_pclient  PROTO((int, char **));
+int version         PROTO((int, char **));
 
 static Command cmds[] = {  
@@ -15,4 +16,5 @@
   {"stdout",    stdout_pclient,   "get stdout buffer"},
   {"stderr",    stderr_pclient,   "get stderr buffer"},
+  {"version",     version,      "show version information"},
 }; 
 
Index: /trunk/Ohana/src/opihi/pclient/version.c
===================================================================
--- /trunk/Ohana/src/opihi/pclient/version.c	(revision 4748)
+++ /trunk/Ohana/src/opihi/pclient/version.c	(revision 4748)
@@ -0,0 +1,14 @@
+# include "pclient.h"
+static char *name = "$Name: not supported by cvs2svn $";
+
+int version (int argc, char **argv) {
+
+  fprintf (stderr, "%s\n", name);
+
+  fprintf (stderr, "%s\n", opihi_version());
+  fprintf (stderr, "%s\n", ohana_version());
+  fprintf (stderr, "%s\n", fits_version());
+
+  fprintf (stderr, "compiled on %s %s\n", __DATE__, __TIME__);
+  return (TRUE);
+}
Index: /trunk/Ohana/src/opihi/pcontrol/Makefile
===================================================================
--- /trunk/Ohana/src/opihi/pcontrol/Makefile	(revision 4747)
+++ /trunk/Ohana/src/opihi/pcontrol/Makefile	(revision 4748)
@@ -55,4 +55,5 @@
 $(SDIR)/status.$(ARCH).o \
 $(SDIR)/stdout.$(ARCH).o \
+$(SDIR)/version.$(ARCH).o \
 $(SDIR)/verbose.$(ARCH).o
 
Index: /trunk/Ohana/src/opihi/pcontrol/init.c
===================================================================
--- /trunk/Ohana/src/opihi/pcontrol/init.c	(revision 4747)
+++ /trunk/Ohana/src/opihi/pcontrol/init.c	(revision 4748)
@@ -12,4 +12,5 @@
 int stdout_pc   PROTO((int, char **));
 int verbose     PROTO((int, char **));
+int version         PROTO((int, char **));
 
 static Command cmds[] = {  
@@ -25,4 +26,5 @@
   {"stdout",    stdout_pc, "get stdout buffer for job"},
   {"verbose",   verbose,   "set the verbose mode for job"},
+  {"version",     version,      "show version information"},
 }; 
 
Index: /trunk/Ohana/src/opihi/pcontrol/version.c
===================================================================
--- /trunk/Ohana/src/opihi/pcontrol/version.c	(revision 4748)
+++ /trunk/Ohana/src/opihi/pcontrol/version.c	(revision 4748)
@@ -0,0 +1,14 @@
+# include "pcontrol.h"
+static char *name = "$Name: not supported by cvs2svn $";
+
+int version (int argc, char **argv) {
+
+  fprintf (stderr, "%s\n", name);
+
+  fprintf (stderr, "%s\n", opihi_version());
+  fprintf (stderr, "%s\n", ohana_version());
+  fprintf (stderr, "%s\n", fits_version());
+
+  fprintf (stderr, "compiled on %s %s\n", __DATE__, __TIME__);
+  return (TRUE);
+}
Index: /trunk/Ohana/src/opihi/scripts/tag-opihi
===================================================================
--- /trunk/Ohana/src/opihi/scripts/tag-opihi	(revision 4747)
+++ /trunk/Ohana/src/opihi/scripts/tag-opihi	(revision 4748)
@@ -11,4 +11,5 @@
 if ("$1" == "base") then
   cvs tag $2 Makefile
+  cvs tag $2 Makefile.Common
   cvs tag $2 include/
   cvs tag $2 lib.data/
