diff -u wmavgload-0.6.0/INSTALL wmavgload-0.6.1/INSTALL
--- wmavgload-0.6.0/INSTALL	Wed Dec 10 11:55:51 1997
+++ wmavgload-0.6.1/INSTALL	Wed Dec 10 16:28:17 1997
@@ -1,17 +1,18 @@
-wmavgload v 0.6.0
+wmavgload v 0.6.1
 
-runs on sparc solaris and ix86 linux. Doest it run on other platforms ??
+runs on sparc solaris and ix86 linux. Does it run on other platforms ??
 
 1. Check the Imakefile to see if all the LIBS are ok for your system.
    ALSO, check DESTDIR and BINDIR; as they are now, a `make install'
    will put the wmload binary in /usr/local/bin.
    
+   Check the LOCAL_LIBS line.
+
    If your compiler does not define 'linux' and you want to compile on linux
    please add -Dlinux in the Imakefile where you're told to do so !
 
-2. If you encounters problems with colors (on 8bbp displays especialy), change
-   the back.xpm link to make it point on back_less_color.xpm (it points by
-   default on back_full_color.xpm)
+2. If you encounters problems with colors (on 8bbp displays especialy), 
+   remove -DMANY_COLORS in Imakefile
 
 3. `xmkmf'
 
diff -u wmavgload-0.6.0/Imakefile wmavgload-0.6.1/Imakefile
--- wmavgload-0.6.0/Imakefile	Wed Dec 10 11:49:30 1997
+++ wmavgload-0.6.1/Imakefile	Wed Dec 10 16:28:53 1997
@@ -5,14 +5,17 @@
 XPMLIB = -L/usr/lib/X11 -L/opt/X11_Contrib/lib/sparc -lXpm -lm  
 DEPLIBS = $(DEPXLIB) 
 
-LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) -lrpcsvc
+/* uncomment -lrpcsvc at the end of the line below if compile on *sparc* */
+LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) /* -lrpcsvc */
 
 LINTLIBS = $(LINTXLIB)
 
 EXTRA_INCLUDES = -I/opt/X11_Contrib/include
 
-EXTRA_DEFINES =        /* if your compiler does not define 'linux' */
-		       /* please add -Dlinux here (If U R on a linux box :) */
+/* if your compiler does not define linux 
+   please add -Dlinux below (if you are on a linux box :) */
+/* if you want to compile with back_less_color remove -DMANY_COLORS */
+EXTRA_DEFINES = -DMANY_COLORS  /* -Dlinux */
 
 SRCS = get_load.c wmavgload.c
 OBJS = get_load.o wmavgload.o
diff -u wmavgload-0.6.0/README wmavgload-0.6.1/README
--- wmavgload-0.6.0/README	Wed Dec 10 11:59:55 1997
+++ wmavgload-0.6.1/README	Wed Dec 10 16:27:53 1997
@@ -2,19 +2,28 @@
 wmavgload - Another WindowMaker load gauge
 /* ---------------------------------------- */
 
-VERSION 0.6.0
-RELEASE DATE: December  2, 1997
+VERSION 0.6.1
+RELEASE DATE: December 10, 1997
 AUTHOR : Anthony MALLET, mallet@laas.fr, adapted from 
 	 wmload by Rian Land (see original README below)
 	 ...
 
+	- Removed a stupid compile-time bug.
+
+	- Added -DMANY_COLORS to compile with the full_color xpm
+
+	- Thanks to John Kennis and Jeff Meininger for feedback !
+
+VERSION 0.6.0
+RELEASE DATE: December  2, 1997
+
 	- Added support for Sun/Solaris. It uses rstat and
 	  I'd like to know if other platforms support it as
 	  well.
 
 	- The load average is really integrated over 5 secs.
-	  The two other bars displays the load integrated over 
-	  30 and 60 secs respectively
+	  The two other bars display the load integrated over 
+	  30 and 60 secs respectively.
 
 TODO:
 	Learn how to speak good english ;)
Only in wmavgload-0.6.0: back.xpm
diff -u wmavgload-0.6.0/get_load.c wmavgload-0.6.1/get_load.c
--- wmavgload-0.6.0/get_load.c	Thu Nov 27 17:55:15 1997
+++ wmavgload-0.6.1/get_load.c	Wed Dec 10 15:09:26 1997
@@ -1,6 +1,7 @@
 #ifdef linux
 
 #include <stdio.h>
+#include <fcntl.h>
 
 #else
 
diff -u wmavgload-0.6.0/wmavgload.c wmavgload-0.6.1/wmavgload.c
--- wmavgload-0.6.0/wmavgload.c	Wed Dec 10 12:00:45 1997
+++ wmavgload-0.6.1/wmavgload.c	Wed Dec 10 16:25:49 1997
@@ -24,13 +24,17 @@
 #include <fcntl.h>
 #include <X11/Xatom.h>
 
-#include "./back.xpm"
+#ifdef MANY_COLORS
+#include "./back_full_color.xpm"
+#else
+#include "./back_less_color.xpm"
+#endif
 #include "./mask2.xbm"
 #include "./mask.xpm"
 
 #define major_VER 0
 #define minor_VER 6
-#define patch_VER 0
+#define patch_VER 1
 
 #define MW_EVENTS   (ExposureMask | ButtonPressMask | StructureNotifyMask)
 
@@ -348,7 +352,6 @@
       usleep(50000L);			/* 5/100 sec */
 #endif
     }
-  return 0;
 }
 
 /*****************************************************************************/
@@ -378,7 +381,11 @@
   else
   {
      sprintf(tempc1, "Q c #%.2x%.2x%.2x",_r(col.red),_r(col.green),_r(col.blue));
+#ifdef MANY_COLORS
+     back_xpm[45] = tempc1;
+#else
      back_xpm[5] = tempc1;
+#endif
   }
 
   if (!XParseColor (dpy, attributes.colormap, Bar1Color, &col)) 
@@ -386,7 +393,11 @@
   else
   {
      sprintf(tempc2, "R c #%.2x%.2x%.2x",_r(col.red),_r(col.green),_r(col.blue));
+#ifdef MANY_COLORS
+     back_xpm[46] = tempc2;
+#else
      back_xpm[6] = tempc2;
+#endif
   }
 
   if (!XParseColor (dpy, attributes.colormap, Bar2Color, &col)) 
@@ -394,7 +405,11 @@
   else
   {
      sprintf(tempc3, "S c #%.2x%.2x%.2x",_r(col.red),_r(col.green),_r(col.blue));
+#ifdef MANY_COLORS
+     back_xpm[47] = tempc3;
+#else
      back_xpm[7] = tempc3;
+#endif
   }
 
   if (!XParseColor (dpy, attributes.colormap, ScaleColor, &col)) 
@@ -402,7 +417,11 @@
   else
   {
      sprintf(tempc4, "T c #%.2x%.2x%.2x",_r(col.red),_r(col.green),_r(col.blue));
+#ifdef MANY_COLORS
+     back_xpm[48] = tempc4;
+#else
      back_xpm[8] = tempc4;
+#endif
   }
      
   wmavgload.attributes.valuemask |= (XpmReturnPixels | XpmReturnExtensions);
