Index: /trunk/Ohana/src/kii/include/constants.h
===================================================================
--- /trunk/Ohana/src/kii/include/constants.h	(revision 5848)
+++ /trunk/Ohana/src/kii/include/constants.h	(revision 5849)
@@ -27,4 +27,5 @@
 int USE_XWINDOW;
 int MAP_WINDOW;
+char *NAME_WINDOW;
 
 # define EVENT_MASK (long) \
Index: /trunk/Ohana/src/kii/include/prototypes.h
===================================================================
--- /trunk/Ohana/src/kii/include/prototypes.h	(revision 5848)
+++ /trunk/Ohana/src/kii/include/prototypes.h	(revision 5849)
@@ -1,2 +1,13 @@
+RotFont *GetRotFontData (double *scale);
+int SetRotFont PROTO((char *name, int size));
+void InitRotFonts PROTO(());
+int DrawRotText PROTO((int x, int y, char *string, int pos, double angle));
+int DrawRotBitmap PROTO((int x, int y, int dx, int dy, unsigned char *bitmap, int mode, double angle, double scale));
+char *GetRotFont PROTO((int *size));
+int RotStrlen PROTO((char *c));
+void PSRotText PROTO((FILE *f, int x, int y, char *string, int pos, double angle));
+void PSDumpRotSegment PROTO((FILE *f, char *segment, int *Nseg));
+void PSSetFont PROTO((FILE *f, char *name, int size));
+
 int SetColormap (Graphic *graphic, Layout *layout, char *name);
 void FlushDisplay (Display *display);
Index: unk/Ohana/src/kii/notes
===================================================================
--- /trunk/Ohana/src/kii/notes	(revision 5848)
+++ 	(revision )
@@ -1,4 +1,0 @@
-1/31/94: totally revamped the overlay function -- made two overlays,
-red and green.  Added two buttons to toggle them on and off.  Made
-functions for mana to "load" and "save" files with overlay objects
-defined.  Made contour function for mana.  
Index: /trunk/Ohana/src/kii/setup/NameWindow.c
===================================================================
--- /trunk/Ohana/src/kii/setup/NameWindow.c	(revision 5848)
+++ /trunk/Ohana/src/kii/setup/NameWindow.c	(revision 5849)
@@ -2,22 +2,11 @@
 
 /************** NameWindow *************/
-void
-NameWindow (graphic, Name)
-Graphic     graphic[];
-char       *Name;
-{
+void NameWindow (Graphic *graphic, char *name) {
 
-  char       *name;
   char       *class_name;
   char       *class_type;
   XClassHint *classhints;
 
-  name = strrchr (Name, '/');
-  if (name != NULL) 
-    name ++;
-  else 
-    name = Name;
   class_type = class_name = name;
-
 
   classhints = XAllocClassHint ();
@@ -33,3 +22,2 @@
   XSetIconName (graphic[0].display, graphic[0].window, name);
 }
-
Index: /trunk/Ohana/src/kii/setup/SetUpWindow.c
===================================================================
--- /trunk/Ohana/src/kii/setup/SetUpWindow.c	(revision 5848)
+++ /trunk/Ohana/src/kii/setup/SetUpWindow.c	(revision 5849)
@@ -7,4 +7,5 @@
   int N;
   Icon icon;
+  char *name;
 
   icon.width = icon_width;
@@ -21,9 +22,14 @@
   SetNormalHints (graphic);
   SetWMHints (graphic, &icon);
-  NameWindow (graphic, "Ki'i");
+
+  if (NAME_WINDOW == NULL) {
+    NameWindow (graphic, "Ki'i");
+  } else {
+    ALLOCATE (name, char, strlen(NAME_WINDOW) + 10);
+    sprintf (name, "Ki'i %s", NAME_WINDOW);
+    NameWindow (graphic, name);
+    free (name);
+  }
 
   if (MAP_WINDOW) MapWindow (graphic);
 }
-
-
-
Index: /trunk/Ohana/src/kii/setup/args.c
===================================================================
--- /trunk/Ohana/src/kii/setup/args.c	(revision 5848)
+++ /trunk/Ohana/src/kii/setup/args.c	(revision 5849)
@@ -9,4 +9,11 @@
     remove_argument(N, argc, argv);
     MAP_WINDOW = FALSE;
+  }
+
+  NAME_WINDOW = NULL;
+  if ((N = get_argument (*argc, argv, "-name"))) {
+    remove_argument(N, argc, argv);
+    NAME_WINDOW = strcreate (argv[N]);
+    remove_argument(N, argc, argv);
   }
 
Index: /trunk/Ohana/src/libdvo/.cvsignore
===================================================================
--- /trunk/Ohana/src/libdvo/.cvsignore	(revision 5849)
+++ /trunk/Ohana/src/libdvo/.cvsignore	(revision 5849)
@@ -0,0 +1,1 @@
+lib
Index: /trunk/Ohana/src/libkapa/src/KapaWindow.c
===================================================================
--- /trunk/Ohana/src/libkapa/src/KapaWindow.c	(revision 5849)
+++ /trunk/Ohana/src/libkapa/src/KapaWindow.c	(revision 5849)
@@ -0,0 +1,20 @@
+# include <kapa_internals.h>
+
+typedef struct {
+  double xmin, xmax, ymin, ymax;
+  int style, ptype, ltype, etype, ebar, color;
+  double lweight, size;
+  Coords coords;
+  int flipeast, flipnorth;
+} Graphdata;
+
+int KapaBox (int fd, Graphdata *graphdata, char *Axis, char *Labels, char *Ticks) {
+
+  
+
+  SendGraphCommand (fd, 4, "DBOX");
+  SendGraphMessage (fd, "%12.6g %12.6g %12.6g %12.6g", 
+		    graphdata[0].xmin, graphdata[0].xmax, graphdata[0].ymin, graphdata[0].ymax);
+  SendGraphMessage (fd, "%s %s %s", Axis, Labels, Ticks);
+  return (TRUE);
+}
Index: /trunk/Ohana/src/opihi/cmd.data/box.c
===================================================================
--- /trunk/Ohana/src/opihi/cmd.data/box.c	(revision 5848)
+++ /trunk/Ohana/src/opihi/cmd.data/box.c	(revision 5849)
@@ -50,7 +50,5 @@
   if (argc != 1) goto usage;
 
-  SendGraphCommand (Xgraph, 4, "DBOX");
-  SendGraphMessage (Xgraph, "%12.6g %12.6g %12.6g %12.6g", graphmode.xmin, graphmode.xmax, graphmode.ymin, graphmode.ymax);
-  SendGraphMessage (Xgraph, "%s %s %s", Axis, Labels, Ticks);
+  KapaBox (Xgraph, &graphmode, Axis, Labels, Ticks);
   return (TRUE);
       
