Index: trunk/Ohana/src/opihi/cmd.data/Makefile
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/Makefile	(revision 16012)
+++ trunk/Ohana/src/opihi/cmd.data/Makefile	(revision 16013)
@@ -114,4 +114,6 @@
 $(SRC)/textline.$(ARCH).o	   \
 $(SRC)/tv.$(ARCH).o		   \
+$(SRC)/tvchannel.$(ARCH).o	   \
+$(SRC)/tvcolors.$(ARCH).o	   \
 $(SRC)/tvcontour.$(ARCH).o	   \
 $(SRC)/tvgrid.$(ARCH).o	   \
Index: trunk/Ohana/src/opihi/cmd.data/init.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/init.c	(revision 16012)
+++ trunk/Ohana/src/opihi/cmd.data/init.c	(revision 16013)
@@ -97,4 +97,6 @@
 int textline         PROTO((int, char **));
 int tv               PROTO((int, char **));
+int tvchannel        PROTO((int, char **));
+int tvcolors         PROTO((int, char **));
 int tvcontour        PROTO((int, char **));
 int tvgrid           PROTO((int, char **));
@@ -216,4 +218,6 @@
   {"textline",     textline,	     "write text line on graph"},
   {"tv",      	   tv,		     "display an image on the Kii window"},
+  {"tvchannel",	   tvchannel,	     "set the current tv channel"},
+  {"tvcolors",	   tvcolors,	     "set the tv colormap"},
   {"tvcontour",	   tvcontour,	     "send contour to overlay"},
   {"tvgrid",	   tvgrid,	     "wait until return is typed"},
Index: trunk/Ohana/src/opihi/cmd.data/tvcolors.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/tvcolors.c	(revision 16013)
+++ trunk/Ohana/src/opihi/cmd.data/tvcolors.c	(revision 16013)
@@ -0,0 +1,26 @@
+# include "data.h"
+
+int tvcolors (int argc, char **argv) {
+  
+  int N, kapa, Nchannel;
+  char *name;
+  KapaImageData data;
+
+  name = NULL;
+  if ((N = get_argument (argc, argv, "-n"))) {
+    remove_argument (N, &argc, argv);
+    name = strcreate (argv[N]);
+    remove_argument (N, &argc, argv);
+  }
+  if (!GetImage (&data, &kapa, name)) return (FALSE);
+  FREE (name);
+
+  // use the currently-set zero,range values if not supplied
+  if (argc != 2) {
+    gprint (GP_ERR, "USAGE: tvcolors (colormap)\n");
+    return (FALSE);
+  }
+
+  KiiSetColormap (kapa, argv[1]);
+  return (TRUE);
+}
