diff -bruN perf-1.5/icon.xbm perf-1.5.mdk/icon.xbm --- perf-1.5/icon.xbm Thu Jul 29 17:45:05 1993 +++ perf-1.5.mdk/icon.xbm Mon Oct 1 17:29:10 2001 @@ -1,38 +1,46 @@ -#define icon_width 64 -#define icon_height 64 +#define icon_width 70 +#define icon_height 70 static char icon_bits[] = { - 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, - 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, - 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, - 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, - 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, - 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x07,0x00, - 0x00,0xf0,0xff,0xff,0xff,0xff,0x07,0x00,0x00,0x80,0xff,0xff,0xff,0xff,0x1f, - 0x00,0x00,0x00,0xfe,0xff,0xff,0xff,0x7f,0x00,0xff,0x03,0xfc,0xff,0xff,0xff, - 0x7f,0xc0,0xff,0x0f,0xf8,0xff,0xff,0xff,0xff,0xc0,0xff,0x3f,0xf0,0xff,0xff, - 0xff,0xff,0xc0,0xff,0x3f,0xe0,0xff,0xff,0xff,0xff,0xc0,0xff,0x7f,0xe0,0xff, - 0xff,0xff,0xff,0xc0,0xff,0xff,0xc0,0xff,0xff,0xff,0xff,0xc0,0xff,0xff,0xc0, - 0xff,0xff,0xff,0xff,0xc0,0xff,0xff,0xc0,0xff,0xff,0xff,0xff,0xc0,0xff,0xff, - 0xc0,0xff,0xff,0xff,0xff,0xc0,0xff,0xff,0xc0,0xff,0xff,0xff,0xff,0xc0,0xff, - 0xff,0xc0,0xff,0xff,0xff,0xff,0xc0,0xff,0xff,0xc0,0xff,0xff,0xff,0xff,0xc0, - 0xff,0x7f,0xe0,0xff,0xff,0xff,0xff,0xc0,0xff,0x7f,0xe0,0xff,0xff,0xff,0xff, - 0xc0,0xff,0x3f,0xe0,0xff,0xff,0xff,0xff,0xc0,0xff,0x1f,0xf0,0xff,0xff,0xff, - 0xff,0xc0,0xff,0x0f,0xf8,0xff,0xff,0xff,0xff,0xc0,0xff,0x03,0xfc,0xff,0xff, - 0xff,0xff,0x00,0x00,0x00,0xfe,0xff,0x3f,0xf8,0xff,0x00,0x00,0x80,0xff,0xff, - 0x9f,0xf1,0xff,0x00,0x00,0xf0,0xff,0xff,0xcf,0xf3,0xff,0xc0,0xff,0xff,0xff, - 0xff,0xc7,0xff,0xff,0xc0,0xff,0xff,0xff,0xff,0xc7,0xff,0xff,0xc0,0xff,0xff, - 0xff,0xff,0xc7,0xff,0xff,0xc0,0xff,0x81,0x7f,0x1c,0x01,0xfe,0xff,0xc0,0x7f, - 0x1c,0x0f,0x04,0xc6,0xff,0xff,0xc0,0x3f,0x3e,0x3e,0x38,0xc6,0xff,0xff,0xc0, - 0x3f,0x7f,0x7c,0xfc,0xc7,0xff,0xff,0xc0,0x1f,0x7f,0x7c,0xfc,0xc7,0xff,0xff, - 0xc0,0x1f,0x00,0x7c,0xfc,0xc7,0xff,0xff,0xc0,0x1f,0xff,0x7f,0xfc,0xc7,0xff, - 0xff,0xc0,0x1f,0xff,0x7f,0xfc,0xc7,0xff,0xff,0xc0,0x1f,0xff,0x7f,0xfc,0xc7, - 0xff,0xff,0xc0,0x1f,0xff,0x7f,0xfc,0xc7,0xff,0x7f,0x80,0x3f,0xfe,0x7d,0xfc, - 0xc7,0xff,0x3f,0x00,0x3f,0xfe,0x7e,0xfc,0xc7,0xff,0x07,0x00,0x70,0x7c,0x3f, - 0xfc,0xc7,0xff,0x07,0x00,0xf0,0x81,0x0f,0xf0,0x01,0xff,0xff,0xff,0xff,0xff, - 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, - 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, - 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, - 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, - 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, - 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, - 0xff,0xff}; + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x00,0x80,0xff, + 0x3f,0x00,0x00,0x00,0x00,0xc0,0x00,0xf0,0xfe,0xef,0x01,0x00,0x00,0x00,0xc0, + 0x00,0x68,0x03,0xd8,0x02,0x00,0x00,0x00,0xc0,0x00,0xa8,0x02,0xa8,0x03,0x00, + 0x00,0x00,0xc0,0x00,0x68,0xfd,0xd7,0x02,0x00,0x00,0x00,0xc0,0x00,0x88,0xff, + 0xff,0xff,0xff,0xff,0x03,0xc0,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x04,0xc0, + 0x00,0x0b,0x00,0x00,0x00,0x00,0x00,0x08,0xc0,0x80,0x02,0x00,0x00,0x00,0x00, + 0x00,0x04,0xc0,0x80,0xfc,0xff,0x17,0x00,0x96,0x84,0x0a,0xc0,0x00,0x01,0x00, + 0x28,0x03,0x59,0x4a,0x05,0xc0,0x00,0xfe,0xff,0x17,0xa4,0x20,0x51,0x08,0xc0, + 0x00,0x10,0x00,0x40,0x58,0x00,0x20,0x04,0xc0,0x00,0x28,0x00,0x20,0x08,0x00, + 0x00,0x08,0xc0,0x00,0x58,0x55,0x15,0x00,0x00,0x00,0x04,0xc0,0x00,0xa8,0xaa, + 0x0a,0x00,0x20,0x00,0x08,0xc0,0x00,0x0b,0x00,0x00,0x00,0x20,0x11,0x04,0xc0, + 0x80,0x02,0x00,0x00,0x00,0x50,0x11,0x08,0xc0,0x80,0xfc,0xff,0x17,0x50,0x50, + 0x51,0x04,0xc0,0x00,0x01,0x00,0x28,0x51,0x90,0xaa,0x0a,0xc0,0x00,0xfe,0xff, + 0x17,0xa8,0x88,0xaa,0x05,0xc0,0x00,0x10,0x00,0x40,0xa4,0x08,0x84,0x08,0xc0, + 0x00,0x28,0x00,0x20,0x02,0x05,0x04,0x04,0xc0,0x00,0x58,0x55,0x15,0x02,0x05, + 0x04,0x08,0xc0,0x00,0xa8,0xaa,0x0a,0x00,0x02,0x00,0x04,0xc0,0x00,0x0b,0x00, + 0x00,0x00,0x02,0x00,0x08,0xc0,0x80,0x02,0x00,0x00,0x00,0x00,0x40,0x04,0xc0, + 0x80,0xfc,0xff,0x17,0x00,0x00,0x40,0x08,0xc0,0x00,0x01,0x00,0x28,0x61,0x40, + 0x40,0x04,0xc0,0x00,0xfe,0xff,0x17,0x90,0xa0,0xa0,0x08,0xc0,0x00,0x18,0x00, + 0x40,0x0a,0x19,0xa9,0x04,0xc0,0x00,0x28,0x00,0x20,0x04,0x05,0x96,0x0a,0xc0, + 0x00,0x58,0x55,0x15,0x00,0x02,0x00,0x05,0xc0,0x00,0xa8,0xaa,0x0a,0x00,0x00, + 0x00,0x09,0xc0,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x04,0xc0,0x00,0x18,0x00, + 0x00,0x00,0x00,0x00,0x08,0xc0,0x00,0x70,0x00,0x00,0x00,0x00,0x00,0x04,0xc0, + 0x00,0x80,0xff,0xff,0xff,0xff,0xff,0x03,0xc0,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0xc0,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0xc0,0x00,0x00,0x00, + 0x04,0x00,0x00,0x04,0x00,0xc0,0x00,0x00,0x00,0x04,0x00,0x00,0x04,0x00,0xc0, + 0x40,0xc3,0xd1,0x9e,0x66,0x38,0x9e,0xa3,0xc1,0xc0,0x24,0x32,0x84,0x99,0x44, + 0x44,0x64,0xc0,0x40,0x24,0x12,0x84,0x88,0x44,0x44,0x24,0xc0,0x40,0xe4,0x13, + 0x84,0x88,0x7c,0xc4,0x27,0xc0,0x40,0x24,0x10,0x84,0x88,0x04,0x44,0x20,0xc0, + 0x40,0x24,0x12,0x84,0x88,0x44,0x44,0x24,0xc0,0xc0,0xc3,0x11,0x84,0x88,0x38, + 0x98,0x23,0xc0,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x40,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0 + }; diff -bruN perf-1.5/icon_mask.xbm perf-1.5.mdk/icon_mask.xbm --- perf-1.5/icon_mask.xbm Thu Jan 1 01:00:00 1970 +++ perf-1.5.mdk/icon_mask.xbm Mon Oct 1 17:29:33 2001 @@ -0,0 +1,56 @@ +#define icon_mask_width 70 +#define icon_mask_height 70 +static unsigned char icon_mask_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, + 0x00, 0x80, 0xff, 0x3f, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0xf0, 0xff, + 0xff, 0x01, 0x00, 0x00, 0x00, 0xc0, 0x00, 0xf8, 0xff, 0xff, 0x03, 0x00, + 0x00, 0x00, 0xc0, 0x00, 0xf8, 0xff, 0xff, 0x03, 0x00, 0x00, 0x00, 0xc0, + 0x00, 0xf8, 0xff, 0xff, 0x03, 0x00, 0x00, 0x00, 0xc0, 0x00, 0xf8, 0xff, + 0xff, 0xff, 0xff, 0xff, 0x03, 0xc0, 0x00, 0xf8, 0xff, 0xff, 0xff, 0xff, + 0xff, 0x07, 0xc0, 0x00, 0xfb, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, 0xc0, + 0x80, 0xfb, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0xc0, 0x80, 0xff, 0xff, + 0xff, 0xff, 0xff, 0xff, 0x0b, 0xc0, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, + 0xff, 0x07, 0xc0, 0x00, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, 0xc0, + 0x00, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0xc0, 0x00, 0xf8, 0xff, + 0xff, 0xff, 0xff, 0xff, 0x0f, 0xc0, 0x00, 0xf8, 0xff, 0xff, 0xff, 0xff, + 0xff, 0x07, 0xc0, 0x00, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, 0xc0, + 0x00, 0xfb, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0xc0, 0x80, 0xfb, 0xff, + 0xff, 0xff, 0xff, 0xff, 0x0f, 0xc0, 0x80, 0xff, 0xff, 0xff, 0xff, 0xff, + 0xff, 0x07, 0xc0, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0b, 0xc0, + 0x00, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0xc0, 0x00, 0xf0, 0xff, + 0xff, 0xff, 0xff, 0xff, 0x0f, 0xc0, 0x00, 0xf8, 0xff, 0xff, 0xff, 0xff, + 0xff, 0x07, 0xc0, 0x00, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, 0xc0, + 0x00, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0xc0, 0x00, 0xfb, 0xff, + 0xff, 0xff, 0xff, 0xff, 0x0f, 0xc0, 0x80, 0xfb, 0xff, 0xff, 0xff, 0xff, + 0xff, 0x07, 0xc0, 0x80, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, 0xc0, + 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0xc0, 0x00, 0xfe, 0xff, + 0xff, 0xff, 0xff, 0xff, 0x0f, 0xc0, 0x00, 0xf8, 0xff, 0xff, 0xff, 0xff, + 0xff, 0x07, 0xc0, 0x00, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0b, 0xc0, + 0x00, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0xc0, 0x00, 0xf8, 0xff, + 0xff, 0xff, 0xff, 0xff, 0x0f, 0xc0, 0x00, 0xf8, 0xff, 0xff, 0xff, 0xff, + 0xff, 0x07, 0xc0, 0x00, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, 0xc0, + 0x00, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0xc0, 0x00, 0x80, 0xff, + 0xff, 0xff, 0xff, 0xff, 0x03, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, + 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, + 0x04, 0x00, 0x00, 0x04, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, + 0x04, 0x00, 0xc0, 0x40, 0xc3, 0xd1, 0x9e, 0x66, 0x38, 0x9e, 0xa3, 0xc1, + 0xc0, 0x24, 0x32, 0x84, 0x99, 0x44, 0x44, 0x64, 0xc0, 0x40, 0x24, 0x12, + 0x84, 0x88, 0x44, 0x44, 0x24, 0xc0, 0x40, 0xe4, 0x13, 0x84, 0x88, 0x7c, + 0xc4, 0x27, 0xc0, 0x40, 0x24, 0x10, 0x84, 0x88, 0x04, 0x44, 0x20, 0xc0, + 0x40, 0x24, 0x12, 0x84, 0x88, 0x44, 0x44, 0x24, 0xc0, 0xc0, 0xc3, 0x11, + 0x84, 0x88, 0x38, 0x98, 0x23, 0xc0, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0xc0, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0}; diff -bruN perf-1.5/perf.c perf-1.5.mdk/perf.c --- perf-1.5/perf.c Tue Feb 16 19:10:43 1999 +++ perf-1.5.mdk/perf.c Mon Oct 1 17:28:58 2001 @@ -27,6 +27,7 @@ #include <xview/defaults.h> #include <xview/icon.h> #include "icon.xbm" +#include "icon_mask.xbm" #include <stdio.h> #include "version.h" @@ -1910,16 +1911,20 @@ /* ICON */ { - Pixmap pm; - Server_image sim; + Pixmap pm, mpm; + Server_image sim, msim; Icon icon; pm = XCreatePixmapFromBitmapData(dpy, win, - icon_bits, icon_width, icon_height, 0, 1, 1); + icon_bits, icon_width, icon_height, 1, 0, 1); + mpm = XCreatePixmapFromBitmapData(dpy, win, + icon_mask_bits, icon_mask_width, icon_mask_height, 1, 0, 1); sim = (Server_image)xv_create(0, SERVER_IMAGE, SERVER_IMAGE_PIXMAP, pm, NULL); + msim = (Server_image)xv_create(0, + SERVER_IMAGE, SERVER_IMAGE_PIXMAP, mpm, NULL); icon = xv_create(fr, ICON, XV_WIDTH, icon_width, XV_HEIGHT, icon_height, - ICON_IMAGE, sim, ICON_MASK_IMAGE, sim, NULL); + ICON_IMAGE, sim, ICON_MASK_IMAGE, msim, NULL); xv_set(fr, FRAME_ICON, icon, NULL); } --- perf-1.5.mdk/Imakefile Tue Feb 16 19:13:49 1999 +++ perf-1.5/Imakefile Mon Oct 1 17:44:40 2001 @@ -1,4 +1,7 @@ #include <XView.tmpl> +MANSRCSUFFIX = 1 +MANNEWSUFFIX = man +INSTMANFLAGS = -m 0644 SYS_LIBRARIES = -lrpcsvc DEPLIBS = XViewClientDepLibs @@ -13,5 +16,6 @@ AllTarget($(PROGRAMS)) SingleProgramTarget(perf,perf.o rstat.o,$(LOCAL_LIBRARIES), /**/) - +InstallProgram(perf,$(BINDIR)) +InstallManPage(perf,$(MANDIR)) #include <XView.prog>