Index: kit/CHANGELOG
diff -u kit/CHANGELOG:1.9 kit/CHANGELOG:removed
--- kit/CHANGELOG:1.9	Sat Sep  5 00:11:21 1998
+++ kit/CHANGELOG	Mon May 21 05:10:00 2007
@@ -1,51 +0,0 @@
-CHANGELOG for magicpoint
-$Id: CHANGELOG,v 1.9 1998/09/04 15:11:21 onoe Exp $
-
-Fri Sep  5 1998  onoe@sm.sony.co.jp
-	* handle key inputs from invoked terminal as pressed on Xserver,
-	  even if the Xserver is running on a remote host.
-
-Mon Aug 26 1998  itojun@iijlab.net
-	* new copyright. (BSDish copyright without clause 3)
-
-Mon Aug 25 1998  itojun@iijlab.net
-	* print.c: better x11/freetype/vflib -> postscript font mapping.
-
-Mon Aug 23 1998  kato@wide.ad.jp
-	* embedded image support (added mgpembed.pl and embed.c)
-
-Mon Aug 22 1998  itojun@iijlab.net
-	* added contrib/xmindpath, MindPath PocketPoint user-level driver.
-
-Fri Jul 10 11:57:59 JST 1998  itojun@iijlab.net
-	* cache gs-generated image file.
-	  Suggested by: luigi@FreeBSD.org
-
-Mon Jul  6 11:38:32 JST 1998  itojun@iijlab.net
-	* capable of handling GB2312 and KSC5601 encoding.
-	  they must be encoded by using iso-2022 like escape sequences.
-	  EUC-cn or EUC-kr does not work.
-	* -x option is added.
-
-Thu Jul  2 18:04:16 JST 1998  itojun@iijlab.net
-	* eliminate gsview.
-	* revamp "xfont" directive. (see SYNTAX for detail)
-
-Thu Jun 25 13:10:28 JST 1998  itojun@iijlab.net
-	* print.c: color postscript support by "mgp2ps -c".
-
-changes between 1.02a and 1.03a:
-	* To allow color name that has space inbetween ("dark blue"), 
-	  color name after directives SHOULD come with doublequote.
-	  Therefore,
-		%fore blue
-	  should be
-		%fore "blue"
-	  At this moment, doublequote can be ommitted for backward
-	  compatibility.  We may require to have doublequote in the future.
-	  Font names and other string parameter obeys the same rule.
-	* %image is now capable of rendering encapsulated postscript files
-	  (*.eps).
-		%image foo.eps
-	  should work fine.
-	  By using -X option, you can specify device name for ghostscript.
Index: kit/ctlwords.pl
diff -u kit/ctlwords.pl:1.2 kit/ctlwords.pl:removed
--- kit/ctlwords.pl:1.2	Sat Sep  5 06:05:08 1998
+++ kit/ctlwords.pl	Mon May 21 05:10:01 2007
@@ -1,12 +0,0 @@
-#! /usr/bin/perl
-$counter = 0;	# 0 origin
-print "/* generated by ctlwords.awk. do not edit by hand. */\n";
-
-while (<>) {
-	next if (!/^\/\*CTL\*\//);
-	next if ($_ !~ /(CTL_[A-Z0-9]+)/);
-
-	$word = $1;
-	print "#define $word\t$counter\n";
-	$counter++;
-}
Index: kit/mgp.c
diff -u kit/mgp.c:1.146 kit/mgp.c:1.147
--- kit/mgp.c:1.146	Fri Feb 16 22:50:04 2007
+++ kit/mgp.c	Fri May 18 01:48:12 2007
@@ -26,7 +26,7 @@
  * SUCH DAMAGE.
  */
 /*
- * $Id: mgp.c,v 1.146 2007/02/16 13:50:04 nishida Exp $
+ * $Id: mgp.c,v 1.147 2007/05/17 16:48:12 itojun Exp $
  */
 
 static char *mgp_version = "1.12a (20070123)";
@@ -1110,11 +1110,12 @@
 				break;
 
 			case XK_c:
-				if (verbose) 
+				if (verbose)  {
 					if (mgp_flag & FL_FRDCACHE)
 						printf("turn off forward cache\n");
 					else			
 						printf("turn on forward cache\n");
+				}
 
 				mgp_flag ^= FL_FRDCACHE;
 			break;
Index: kit/image/compress.c
diff -u kit/image/compress.c:1.3 kit/image/compress.c:1.4
--- kit/image/compress.c:1.3	Fri Sep 10 16:12:04 1999
+++ kit/image/compress.c	Fri May 18 01:48:12 2007
@@ -136,12 +136,13 @@
   lfree(pixel_table);
   lfree(pixel_map);
 
-  if (badcount)
+  if (badcount) {
     if (verbose)
       fprintf(stderr, "%d out-of-range pixels, ", badcount);
     else
       fprintf(stderr, "Warning: %d out-of-range pixels were seen\n",
 	      badcount);
+  }
   if (verbose) {
     if ((rgb.used == image->rgb.used) && !badcount)
       fprintf(stderr, "no improvment\n");
Index: kit/image/copyright.h
diff -u kit/image/copyright.h:1.2 kit/image/copyright.h:1.4
--- kit/image/copyright.h:1.2	Mon Dec 28 17:22:56 1998
+++ kit/image/copyright.h	Fri May 18 03:28:58 2007
@@ -20,7 +20,7 @@
  */
 
 #ifndef __SABER__
-static const char *Copyright= "Copyright 1989, 1990, 1991, 1992 Jim Frost";
+static const char *Copyright = "Copyright 1989, 1990, 1991, 1992 Jim Frost";
 #endif
 #define _JIM_COPYRIGHT_
 #endif
Index: kit/image/gif.h
diff -u kit/image/gif.h:1.2 kit/image/gif.h:removed
--- kit/image/gif.h:1.2	Mon Dec 28 17:23:03 1998
+++ kit/image/gif.h	Mon May 21 05:10:01 2007
@@ -1,72 +0,0 @@
-/* gif.h:
- *
- * gifin.h
- * kirk johnson
- * november 1989
- * external interface to gifin.c
- *
- * Copyright 1989 Kirk L. Johnson (see the included file
- * "kljcpyrght.h" for complete copyright information)
- */
-
-/*
- * gifin return codes
- */
-#define GIFIN_SUCCESS       0   /* success */
-#define GIFIN_DONE          1   /* no more images */
-
-#define GIFIN_ERR_BAD_SD   -1   /* bad screen descriptor */
-#define GIFIN_ERR_BAD_SEP  -2   /* bad image separator */
-#define GIFIN_ERR_BAD_SIG  -3   /* bad signature */
-#define GIFIN_ERR_EOD      -4   /* unexpected end of raster data */
-#define GIFIN_ERR_EOF      -5   /* unexpected end of input stream */
-#define GIFIN_ERR_FAO      -6   /* file already open */
-#define GIFIN_ERR_IAO      -7   /* image already open */
-#define GIFIN_ERR_NFO      -8   /* no file open */
-#define GIFIN_ERR_NIO      -9   /* no image open */
-
-/*
- * colormap indices 
- */
-
-#define GIF_RED  0
-#define GIF_GRN  1
-#define GIF_BLU  2
-
-/*
- * typedef BYTE for convenience
- */
-
-typedef unsigned char BYTE;
-
-static int gifin_open_file();
-static int gifin_open_image();
-static int gifin_get_pixel();
-#if 0
-static int gifin_close_image();
-#endif
-static int gifin_close_file();
-static int gifin_load_cmap();
-static int gifin_skip_extension();
-static int gifin_read_data_block();
-static int gifin_push_string();
-static void gifin_add_string();
-static void gifin_fatal();
-
-/* #defines, typedefs, and such
- */
-
-#define GIF_SIG      "GIF87a"
-#define GIF_SIG_89   "GIF89a"
-#define GIF_SIG_LEN  6          /* GIF signature length */
-#define GIF_SD_SIZE  7          /* GIF screen descriptor size */
-#define GIF_ID_SIZE  9          /* GIF image descriptor size */
-
-#define GIF_SEPARATOR   ','     /* GIF image separator */
-#define GIF_EXTENSION   '!'     /* GIF extension block marker */
-#define GIF_TERMINATOR  ';'     /* GIF terminator */
-
-#define STAB_SIZE  4096         /* string table size */
-#define PSTK_SIZE  4096         /* pixel stack size */
-
-#define NULL_CODE  -1           /* string table null code */
Index: kit/image/rlelib.c
diff -u kit/image/rlelib.c:1.4 kit/image/rlelib.c:1.5
--- kit/image/rlelib.c:1.4	Tue Jun  3 04:15:23 2003
+++ kit/image/rlelib.c	Fri May 18 01:47:33 2007
@@ -413,7 +413,7 @@
 					/* Really opcode only */
 
 /*****************************************************************
- * TAG( RunSetup )
+ * TAG(RunSetup)
  * Put out initial setup data for RLE svfb files.
  */
 void
@@ -423,7 +423,7 @@
 }
 
 /*****************************************************************
- * TAG( RunSkipBlankLines )
+ * TAG(RunSkipBlankLines)
  * Skip one or more blank lines in the RLE file.
  */
 void
@@ -433,7 +433,7 @@
 }
 
 /*****************************************************************
- * TAG( RunSetColor )
+ * TAG(RunSetColor)
  * Select a color and do carriage return.
  * color: 0 = Red, 1 = Green, 2 = Blue.
  */
@@ -444,7 +444,7 @@
 }
 
 /*****************************************************************
- * TAG( RunSkipPixels )
+ * TAG(RunSkipPixels)
  * Skip a run of background.
  */
 
@@ -456,7 +456,7 @@
 }
 
 /*****************************************************************
- * TAG( RunNewScanLine )
+ * TAG(RunNewScanLine)
  * Perform a newline action.  Since CR is implied by the Set Color
  * operation, only generate code if the newline flag is true.
  */
@@ -467,7 +467,7 @@
 }
 
 /*****************************************************************
- * TAG( Runputdata )
+ * TAG(Runputdata)
  * Put one or more pixels of byte data into the output file.
  */
 void
@@ -478,7 +478,7 @@
 }
 
 /*****************************************************************
- * TAG( Runputrun )
+ * TAG(Runputrun)
  * Output a single color run.
  */
 
@@ -491,11 +491,11 @@
 
 
 /*****************************************************************
- * TAG( RunputEof )
+ * TAG(RunputEof)
  * Output an EOF opcode
  */
 void
-RunputEof( globals )
+RunputEof(globals)
 register struct sv_globals * globals;
 {
 }
@@ -536,7 +536,7 @@
  */
 
 /*****************************************************************
- * TAG( buildmap )
+ * TAG(buildmap)
  * 
  * Returns a color map that can easily be used to map the pixel values in
  * an RLE file.  Map is built from the color map in the input file.
@@ -558,7 +558,7 @@
  *	be addressed by an rle_pixel).
  */
 rle_pixel **
-buildmap( globals, minmap, gamma )
+buildmap(globals, minmap, gamma)
 struct sv_globals *globals;
 int minmap;
 double gamma;
@@ -567,14 +567,14 @@
     register int i, j;
     int maplen, cmaplen, ncmap, nmap;
 
-    if ( globals->sv_ncmap == 0 )	/* make identity map */
+    if (globals->sv_ncmap == 0)	/* make identity map */
     {
 	nmap = (minmap < globals->sv_ncolors) ? globals->sv_ncolors : minmap;
-	cmap = (rle_pixel **)lmalloc( nmap * sizeof(rle_pixel *) );
-	cmap[0] = (rle_pixel *)lmalloc( 256 * sizeof(rle_pixel) );
-	for ( i = 0; i < 256; i++ )
+	cmap = (rle_pixel **)lmalloc(nmap * sizeof(rle_pixel *));
+	cmap[0] = (rle_pixel *)lmalloc(256 * sizeof(rle_pixel));
+	for (i = 0; i < 256; i++)
 	    cmap[0][i] = i;
-	for ( i = 1; i < nmap; i++ )
+	for (i = 1; i < nmap; i++)
 	    cmap[i] = cmap[0];
 	maplen = 256;
 	ncmap = 1;		/* number of unique rows */
@@ -583,40 +583,40 @@
     {
 	/* Map is at least 256 long */
 	cmaplen = (1 << globals->sv_cmaplen);
-	if ( cmaplen < 256 )
+	if (cmaplen < 256)
 	    maplen = 256;
 	else
 	    maplen = cmaplen;
 
-	if ( globals->sv_ncmap == 1 )	/* make "b&w" map */
+	if (globals->sv_ncmap == 1)	/* make "b&w" map */
 	{
 	    nmap = (minmap < globals->sv_ncolors) ?
 		globals->sv_ncolors : minmap;
-	    cmap = (rle_pixel **)lmalloc( nmap * sizeof(rle_pixel *) );
-	    cmap[0] = (rle_pixel *)lmalloc( maplen * sizeof(rle_pixel) );
-	    for ( i = 0; i < maplen; i++ )
-		if ( i < cmaplen )
+	    cmap = (rle_pixel **)lmalloc(nmap * sizeof(rle_pixel *));
+	    cmap[0] = (rle_pixel *)lmalloc(maplen * sizeof(rle_pixel));
+	    for (i = 0; i < maplen; i++)
+		if (i < cmaplen)
 		    cmap[0][i] = globals->sv_cmap[i] >> 8;
 		else
 		    cmap[0][i] = i;
-	    for ( i = 1; i < nmap; i++ )
+	    for (i = 1; i < nmap; i++)
 		cmap[i] = cmap[0];
 	    ncmap = 1;
 	}
-	else if ( globals->sv_ncolors <= globals->sv_ncmap )
+	else if (globals->sv_ncolors <= globals->sv_ncmap)
 	{
 	    nmap = (minmap < globals->sv_ncmap) ? globals->sv_ncmap : minmap;
-	    cmap = (rle_pixel **)lmalloc( nmap * sizeof(rle_pixel *) );
-	    for ( j = 0; j < globals->sv_ncmap; j++ )
+	    cmap = (rle_pixel **)lmalloc(nmap * sizeof(rle_pixel *));
+	    for (j = 0; j < globals->sv_ncmap; j++)
 	    {
-		cmap[j] = (rle_pixel *)lmalloc( maplen * sizeof(rle_pixel) );
-		for ( i = 0; i < maplen; i++ )
-		    if ( i < cmaplen )
+		cmap[j] = (rle_pixel *)lmalloc(maplen * sizeof(rle_pixel));
+		for (i = 0; i < maplen; i++)
+		    if (i < cmaplen)
 			cmap[j][i] = globals->sv_cmap[j*cmaplen + i] >> 8;
 		    else
 			cmap[j][i] = i;
 	    }
-	    for ( i = j, j--; i < nmap; i++ )
+	    for (i = j, j--; i < nmap; i++)
 		cmap[i] = cmap[j];
 	    ncmap = globals->sv_ncmap;
 	}
@@ -624,38 +624,38 @@
 	{
 	    nmap = (minmap < globals->sv_ncolors) ?
 		globals->sv_ncolors : minmap;
-	    cmap = (rle_pixel **)lmalloc( nmap * sizeof(rle_pixel *) );
-	    for ( j = 0; j < globals->sv_ncmap; j++ )
+	    cmap = (rle_pixel **)lmalloc(nmap * sizeof(rle_pixel *));
+	    for (j = 0; j < globals->sv_ncmap; j++)
 	    {
-		cmap[j] = (rle_pixel *)lmalloc( maplen * sizeof(rle_pixel) );
-		for ( i = 0; i < maplen; i++ )
-		    if ( i < cmaplen )
+		cmap[j] = (rle_pixel *)lmalloc(maplen * sizeof(rle_pixel));
+		for (i = 0; i < maplen; i++)
+		    if (i < cmaplen)
 			cmap[j][i] = globals->sv_cmap[j*cmaplen + i] >> 8;
 		    else
 			cmap[j][i] = i;
 	    }
-	    for( i = j, j--; i < nmap; i++ )
+	    for(i = j, j--; i < nmap; i++)
 		cmap[i] = cmap[j];
 	    ncmap = globals->sv_ncmap;
 	}
     }
 	    
     /* Gamma compensate if requested */
-    if ( gamma != 1.0 )
+    if (gamma != 1.0)
     {
-	gammap = (rle_pixel *)lmalloc( 256 * sizeof(rle_pixel) );
-	for ( i = 0; i < 256; i++ )
+	gammap = (rle_pixel *)lmalloc(256 * sizeof(rle_pixel));
+	for (i = 0; i < 256; i++)
 		{
 #ifdef BYTEBUG
 		int byteb1;
-		byteb1 = (int)(0.5 + 255.0 * pow( i / 255.0, gamma ));
+		byteb1 = (int)(0.5 + 255.0 * pow(i / 255.0, gamma));
 		gammap[i] = byteb1;
 #else
-	    gammap[i] = (int)(0.5 + 255.0 * pow( i / 255.0, gamma ));
+	    gammap[i] = (int)(0.5 + 255.0 * pow(i / 255.0, gamma));
 #endif
 		}
-	for ( i = 0; i < ncmap; i++ )
-	    for ( j = 0; j < maplen; j++ )
+	for (i = 0; i < ncmap; i++)
+	    for (j = 0; j < maplen; j++)
 		cmap[i][j] = gammap[cmap[i][j]];
     }
 
@@ -690,7 +690,7 @@
  */
 
 /*****************************************************************
- * TAG( match )
+ * TAG(match)
  * 
  * Match a name against a test string for "name=value" or "name".
  * If it matches name=value, return pointer to value part, if just
@@ -708,23 +708,24 @@
  *	[None]
  */
 static char *
-match( n, v )
+match(n, v)
 register char *n;
 register char *v;
 {
-    for ( ; *n != '\0' && *n != '=' && *n == *v; n++, v++ )
+    for (; *n != '\0' && *n != '=' && *n == *v; n++, v++)
 	;
-    if (*n == '\0' || *n == '=')
-	if ( *v == '\0' )
+    if (*n == '\0' || *n == '=') {
+	if (*v == '\0')
 	    return v;
-	else if ( *v == '=' )
+	else if (*v == '=')
 	    return ++v;
+    }
 
     return NULL;
 }
 
 /*****************************************************************
- * TAG( rle_getcom )
+ * TAG(rle_getcom)
  * 
  * Return a pointer to the value part of a name=value pair in the comments.
  * Inputs:
@@ -738,18 +739,18 @@
  *	[None]
  */
 char *
-rle_getcom( name, globals )
+rle_getcom(name, globals)
 char *name;
 struct sv_globals *globals;
 {
     char ** cp;
     char * v;
 
-    if ( globals->sv_comments == NULL )
+    if (globals->sv_comments == NULL)
 	return NULL;
 
-    for ( cp = globals->sv_comments; *cp; cp++ )
-	if ( (v = match( name, *cp )) != NULL )
+    for (cp = globals->sv_comments; *cp; cp++)
+	if ((v = match(name, *cp)) != NULL)
 	    return v;
 
     return NULL;
@@ -797,7 +798,7 @@
 };
 
 #define BREAD(type, var, len)\
-	    zread( infile, (byte *)&var,len )
+	    zread(infile, (byte *)&var,len)
 #define OPCODE(inst) (inst.opcode & ~LONG)
 #define LONGP(inst) (inst.opcode & LONG)
 #define DATUM(inst) (0x00ff & inst.datum)
@@ -806,7 +807,7 @@
 static void	bfill();
 
 /*****************************************************************
- * TAG( rle_get_setup )
+ * TAG(rle_get_setup)
  * 
  * Read the initialization information from an RLE file.
  * Inputs:
@@ -824,7 +825,7 @@
  * Algorithm:
  * 	Read in the setup info and fill in sv_globals.
  */
-int rle_get_setup( globals )
+int rle_get_setup(globals)
 struct sv_globals * globals;
 {
     struct XtndRsetup setup;
@@ -835,49 +836,49 @@
     char * comment_buf;
 
     zclearerr(infile);
-    BREAD( short, magic, sizeof magic );
+    BREAD(short, magic, sizeof magic);
     SWAB(magic);
-    if ( zeof( infile ) )
+    if (zeof(infile))
 	return -3;
-    if ( magic != XtndRMAGIC )
+    if (magic != XtndRMAGIC)
 	return -1;
-    BREAD( struct XtndRsetup, setup, SETUPSIZE );  /* assume VAX packing */
-    if ( zeof( infile ) )
+    BREAD(struct XtndRsetup, setup, SETUPSIZE);  /* assume VAX packing */
+    if (zeof(infile))
 	return -4;
-    SWAB( setup.h_xpos );
-    SWAB( setup.h_ypos );
-    SWAB( setup.h_xlen );
-    SWAB( setup.h_ylen );
+    SWAB(setup.h_xpos);
+    SWAB(setup.h_ypos);
+    SWAB(setup.h_xlen);
+    SWAB(setup.h_ylen);
 
     /* Extract information from setup */
     globals->sv_ncolors = setup.h_ncolors;
-    for ( i = 0; i < globals->sv_ncolors; i++ )
-	SV_SET_BIT( *globals, i );
+    for (i = 0; i < globals->sv_ncolors; i++)
+	SV_SET_BIT(*globals, i);
 
-    if ( !(setup.h_flags & H_NO_BACKGROUND) )
+    if (!(setup.h_flags & H_NO_BACKGROUND))
     {
 	globals->sv_bg_color = (int *)lmalloc(
-	    (unsigned)(sizeof(int) * setup.h_ncolors) );
+	    (unsigned)(sizeof(int) * setup.h_ncolors));
 	bg_color = (rle_pixel *)lmalloc(
-	    (unsigned)(1 + (setup.h_ncolors / 2) * 2) );
-	zread( infile, (byte *)bg_color, 1 + (setup.h_ncolors / 2) * 2 );
-	for ( i = 0; i < setup.h_ncolors; i++ )
+	    (unsigned)(1 + (setup.h_ncolors / 2) * 2));
+	zread(infile, (byte *)bg_color, 1 + (setup.h_ncolors / 2) * 2);
+	for (i = 0; i < setup.h_ncolors; i++)
 	    globals->sv_bg_color[i] = bg_color[i];
-	lfree( bg_color );
+	lfree(bg_color);
     }
     else
-	zgetc( infile );			/* skip filler byte */
+	zgetc(infile);			/* skip filler byte */
 
-    if ( setup.h_flags & H_NO_BACKGROUND )
+    if (setup.h_flags & H_NO_BACKGROUND)
 	globals->sv_background = 0;
-    else if ( setup.h_flags & H_CLEARFIRST )
+    else if (setup.h_flags & H_CLEARFIRST)
 	globals->sv_background = 2;
     else
 	globals->sv_background = 1;
-    if ( setup.h_flags & H_ALPHA )
+    if (setup.h_flags & H_ALPHA)
     {
 	globals->sv_alpha = 1;
-	SV_SET_BIT( *globals, SV_ALPHA );
+	SV_SET_BIT(*globals, SV_ALPHA);
     }
     else
 	globals->sv_alpha = 0;
@@ -889,65 +890,65 @@
 
     globals->sv_ncmap = setup.h_ncmap;
     globals->sv_cmaplen = setup.h_cmaplen;
-    if ( globals->sv_ncmap > 0 )
+    if (globals->sv_ncmap > 0)
     {
 	register int maplen =
 		     globals->sv_ncmap * (1 << globals->sv_cmaplen);
 	globals->sv_cmap = (rle_map *)lmalloc(
-	    (unsigned)(sizeof(rle_map) * maplen) );
-	if ( globals->sv_cmap == NULL )
+	    (unsigned)(sizeof(rle_map) * maplen));
+	if (globals->sv_cmap == NULL)
 	{
-	    fprintf( stderr,
+	    fprintf(stderr,
 		"Malloc failed for color map of size %d*%d in rle_get_setup\n",
-		globals->sv_ncmap, (1 << globals->sv_cmaplen) );
+		globals->sv_ncmap, (1 << globals->sv_cmaplen));
 	    return -2;
 	}
-	zread( infile, (byte *)globals->sv_cmap, sizeof(short) * maplen );
+	zread(infile, (byte *)globals->sv_cmap, sizeof(short) * maplen);
 #ifndef LITTLE_ENDIAN
     	/* Swap bytes on bigendian machines
 	 */
-    	for ( i = 0; i < maplen; i++ )
-    	    SWAB( globals->sv_cmap[i] );
+    	for (i = 0; i < maplen; i++)
+    	    SWAB(globals->sv_cmap[i]);
 #endif
     }
 
     /* Check for comments */
-    if ( setup.h_flags & H_COMMENT )
+    if (setup.h_flags & H_COMMENT)
     {
 	short comlen, evenlen;
 	register char * cp;
 
-	BREAD( short, comlen, sizeof comlen );	/* get comment length */
-	SWAB( comlen );
+	BREAD(short, comlen, sizeof comlen);	/* get comment length */
+	SWAB(comlen);
 	evenlen = (comlen + 1) & ~1;	/* make it even */
-	comment_buf = (char *)lmalloc( (unsigned) evenlen );
-	if ( comment_buf == NULL )
+	comment_buf = (char *)lmalloc((unsigned) evenlen);
+	if (comment_buf == NULL)
 	{
-	    fprintf( stderr,
+	    fprintf(stderr,
 		     "Malloc failed for comment buffer of size %d in rle_get_setup\n",
-		     comlen );
+		     comlen);
 	    return -2;
 	}
-	zread( infile, (byte *)comment_buf, evenlen );
+	zread(infile, (byte *)comment_buf, evenlen);
 	/* Count the comments */
-	for ( i = 0, cp = comment_buf; cp < comment_buf + comlen; cp++ )
-	    if ( *cp == 0 )
+	for (i = 0, cp = comment_buf; cp < comment_buf + comlen; cp++)
+	    if (*cp == 0)
 		i++;
 	i++;			/* extra for NULL pointer at end */
 	/* Get space to put pointers to comments */
 	globals->sv_comments =
-	    (char **)lmalloc( (unsigned)(i * sizeof(char *)) );
-	if ( globals->sv_comments == NULL )
+	    (char **)lmalloc((unsigned)(i * sizeof(char *)));
+	if (globals->sv_comments == NULL)
 	{
-	    fprintf( stderr,
+	    fprintf(stderr,
 		    "Malloc failed for %d comment pointers in rle_get_setup\n",
-		     i );
+		     i);
 	    return -2;
 	}
 	/* Get pointers to the comments */
 	*globals->sv_comments = comment_buf;
-	for ( i = 1, cp = comment_buf + 1; cp < comment_buf + comlen; cp++ )
-	    if ( *(cp - 1) == 0 )
+	for (i = 1, cp = comment_buf + 1; cp < comment_buf + comlen; cp++)
+	    if (*(cp - 1) == 0)
 		globals->sv_comments[i++] = cp;
 	globals->sv_comments[i] = NULL;
     }
@@ -961,7 +962,7 @@
     globals->sv_private.get.is_seek = 0;	/* Can't do seek on zfile */
     debug_f = 0;
 
-    if ( !zeof( infile ) )
+    if (!zeof(infile))
 	return 0;			/* success! */
     else
     {
@@ -972,7 +973,7 @@
 
 
 /*****************************************************************
- * TAG( rle_get_error )
+ * TAG(rle_get_error)
  * 
  * Print an error message for the return code from rle_get_setup
  * Inputs:
@@ -984,40 +985,40 @@
  *	Returns code.
  */
 
-int rle_get_error( code, pgmname, fname )
+int rle_get_error(code, pgmname, fname)
 int code;
 char *pgmname;
 char *fname;
 {
-    switch( code )
+    switch(code)
     {
     case 0:			/* success */
 	break;
 
     case -1:			/* Not an RLE file */
-	fprintf( stderr, "%s: %s is not an RLE file\n",
-		 pgmname, fname );
+	fprintf(stderr, "%s: %s is not an RLE file\n",
+		 pgmname, fname);
 	break;
 
     case -2:			/* malloc failed */
-	fprintf( stderr,
+	fprintf(stderr,
 		 "%s: Malloc failed reading header of file %s\n",
-		 pgmname, fname );
+		 pgmname, fname);
 	break;
 
     case -3:
-	fprintf( stderr, "%s: %s is an empty file\n", pgmname, fname );
+	fprintf(stderr, "%s: %s is an empty file\n", pgmname, fname);
 	break;
 
     case -4:
-	fprintf( stderr,
+	fprintf(stderr,
 		 "%s: RLE header of %s is incomplete (premature EOF)\n",
-		 pgmname, fname );
+		 pgmname, fname);
 	break;
 
     default:
-	fprintf( stderr, "%s: Error encountered reading header of %s\n",
-		 pgmname, fname );
+	fprintf(stderr, "%s: Error encountered reading header of %s\n",
+		 pgmname, fname);
 	break;
     }
     return code;
@@ -1025,7 +1026,7 @@
 
 
 /*****************************************************************
- * TAG( rle_get_setup_ok )
+ * TAG(rle_get_setup_ok)
  * 
  * Read the initialization information from an RLE file.
  * Inputs:
@@ -1042,7 +1043,7 @@
  * 	sv_get_setup does all the work.
  */
 void
-rle_get_setup_ok( globals, prog_name, file_name )
+rle_get_setup_ok(globals, prog_name, file_name)
 struct sv_globals * globals;
 char *prog_name;
 char *file_name;
@@ -1052,14 +1053,14 @@
     if (! file_name)
 	file_name = "stdin";
 
-    code = rle_get_error( rle_get_setup( globals ), prog_name, file_name );
+    code = rle_get_error(rle_get_setup(globals), prog_name, file_name);
     if (code)
 	cleanup(-1);
 }
 
 
 /*****************************************************************
- * TAG( rle_debug )
+ * TAG(rle_debug)
  * 
  * Turn RLE debugging on or off.
  * Inputs:
@@ -1072,7 +1073,7 @@
  *	[None]
  */
 void
-rle_debug( on_off )
+rle_debug(on_off)
 int on_off;
 {
     debug_f = on_off;
@@ -1080,7 +1081,7 @@
 
 
 /*****************************************************************
- * TAG( rle_getrow )
+ * TAG(rle_getrow)
  * 
  * Get a scanline from the input file.
  * Inputs:
@@ -1104,7 +1105,7 @@
  *	decoding the instructions into scanline data.
  */
 
-int rle_getrow( globals, scanline )
+int rle_getrow(globals, scanline)
 struct sv_globals * globals;
 rle_pixel *scanline[];
 {
@@ -1117,52 +1118,52 @@
     struct inst inst;
 
     /* Clear to background if specified */
-    if ( globals->sv_background == 2 )
+    if (globals->sv_background == 2)
     {
-	if ( globals->sv_alpha && SV_BIT( *globals, -1 ) )
-	    bfill( (char *)scanline[-1], globals->sv_xmax + 1, 0 );
-	for ( nc = 0; nc < globals->sv_ncolors; nc++ )
-	    if ( SV_BIT( *globals, nc ) )
-		bfill( (char *)scanline[nc], globals->sv_xmax+1,
-			globals->sv_bg_color[nc] );
+	if (globals->sv_alpha && SV_BIT(*globals, -1))
+	    bfill((char *)scanline[-1], globals->sv_xmax + 1, 0);
+	for (nc = 0; nc < globals->sv_ncolors; nc++)
+	    if (SV_BIT(*globals, nc))
+		bfill((char *)scanline[nc], globals->sv_xmax+1,
+			globals->sv_bg_color[nc]);
     }
 
     /* If skipping, then just return */
-    if ( globals->sv_private.get.vert_skip > 0 )
+    if (globals->sv_private.get.vert_skip > 0)
     {
 	globals->sv_private.get.vert_skip--;
 	globals->sv_private.get.scan_y++;
-	if ( globals->sv_private.get.vert_skip > 0 )
+	if (globals->sv_private.get.vert_skip > 0)
 	    return globals->sv_private.get.scan_y;
     }
 
     /* If EOF has been encountered, return also */
-    if ( globals->sv_private.get.is_eof )
+    if (globals->sv_private.get.is_eof)
 	return ++globals->sv_private.get.scan_y;
 
     /* Otherwise, read and interpret instructions until a skipLines
      * instruction is encountered.
      */
-    if ( SV_BIT( *globals, channel ) )
+    if (SV_BIT(*globals, channel))
 	scanc = scanline[channel] + scan_x;
     else
 	scanc = NULL;
     for (;;)
     {
-        BREAD(struct inst, inst, 2 );
-	if ( zeof(infile) )
+        BREAD(struct inst, inst, 2);
+	if (zeof(infile))
 	{
 	    globals->sv_private.get.is_eof = 1;
 	    break;		/* <--- one of the exits */
 	}
 
-	switch( OPCODE(inst) )
+	switch(OPCODE(inst))
 	{
 	case RSkipLinesOp:
-	    if ( LONGP(inst) )
+	    if (LONGP(inst))
 	    {
-	        BREAD( short, long_data, sizeof long_data );
-		SWAB( long_data );
+	        BREAD(short, long_data, sizeof long_data);
+		SWAB(long_data);
 		globals->sv_private.get.vert_skip = long_data;
 	    }
 	    else
@@ -1171,107 +1172,108 @@
 		fprintf(stderr, "Skip %d Lines (to %d)\n",
 			globals->sv_private.get.vert_skip,
 			globals->sv_private.get.scan_y +
-			    globals->sv_private.get.vert_skip );
+			    globals->sv_private.get.vert_skip);
 
 	    break;			/* need to break for() here, too */
 
 	case RSetColorOp:
 	    channel = DATUM(inst);	/* select color channel */
-	    if ( channel == 255 )
+	    if (channel == 255)
 		channel = -1;
 	    scan_x = globals->sv_xmin;
-	    if ( SV_BIT( *globals, channel ) )
+	    if (SV_BIT(*globals, channel))
 		scanc = scanline[channel]+scan_x;
-	    if ( debug_f )
-		fprintf( stderr, "Set color to %d (reset x to %d)\n",
-			 channel, scan_x );
+	    if (debug_f)
+		fprintf(stderr, "Set color to %d (reset x to %d)\n",
+			 channel, scan_x);
 	    break;
 
 	case RSkipPixelsOp:
-	    if ( LONGP(inst) )
+	    if (LONGP(inst))
 	    {
-	        BREAD( short, long_data, sizeof long_data );
-		SWAB( long_data );
+	        BREAD(short, long_data, sizeof long_data);
+		SWAB(long_data);
 		scan_x += long_data;
 		scanc += long_data;
-		if ( debug_f )
-		    fprintf( stderr, "Skip %d pixels (to %d)\n",
-			    long_data, scan_x );
+		if (debug_f)
+		    fprintf(stderr, "Skip %d pixels (to %d)\n",
+			    long_data, scan_x);
 			 
 	    }
 	    else
 	    {
 		scan_x += DATUM(inst);
 		scanc += DATUM(inst);
-		if ( debug_f )
-		    fprintf( stderr, "Skip %d pixels (to %d)\n",
-			    DATUM(inst), scan_x );
+		if (debug_f)
+		    fprintf(stderr, "Skip %d pixels (to %d)\n",
+			    DATUM(inst), scan_x);
 	    }
 	    break;
 
 	case RByteDataOp:
-	    if ( LONGP(inst) )
+	    if (LONGP(inst))
 	    {
-	        BREAD( short, long_data, sizeof long_data );
-		SWAB( long_data );
+	        BREAD(short, long_data, sizeof long_data);
+		SWAB(long_data);
 		nc = (int)long_data;
 	    }
 	    else
 		nc = DATUM(inst);
 	    nc++;
-	    if ( SV_BIT( *globals, channel ) )
+	    if (SV_BIT(*globals, channel))
 	    {
-		zread( infile, (byte *)scanc, nc );
-		if ( nc & 1 )
-		    (void)zgetc( infile );	/* throw away odd byte */
+		zread(infile, (byte *)scanc, nc);
+		if (nc & 1)
+		    (void)zgetc(infile);	/* throw away odd byte */
 	    }
 	    else
 		{		/* Emulate a forward fseek */
 		    register int ii;
-		    for ( ii = ((nc + 1) / 2) * 2; ii > 0; ii-- )
-			(void) zgetc( infile );	/* discard it */
+		    for (ii = ((nc + 1) / 2) * 2; ii > 0; ii--)
+			(void) zgetc(infile);	/* discard it */
 		}
 
 	    scanc += nc;
 	    scan_x += nc;
-	    if ( debug_f )
-		if ( SV_BIT( *globals, channel ) )
+	    if (debug_f) {
+		if (SV_BIT(*globals, channel))
 		{
 		    rle_pixel * cp = scanc - nc;
-		    fprintf( stderr, "Pixel data %d (to %d):", nc, scan_x );
-		    for ( ; nc > 0; nc-- )
-			fprintf( stderr, "%02x", *cp++ );
-		    putc( '\n', stderr );
+		    fprintf(stderr, "Pixel data %d (to %d):", nc, scan_x);
+		    for (; nc > 0; nc--)
+			fprintf(stderr, "%02x", *cp++);
+		    putc('\n', stderr);
 		}
-	    else
-		fprintf( stderr, "Pixel data %d (to %d)\n", nc, scan_x );
+	    } else {
+		fprintf(stderr, "Pixel data %d (to %d)\n", nc, scan_x);
+	    }
 	    break;
 
 	case RRunDataOp:
-	    if ( LONGP(inst) )
+	    if (LONGP(inst))
 	    {
-	        BREAD( short, long_data, sizeof long_data );
-		SWAB( long_data );
+	        BREAD(short, long_data, sizeof long_data);
+		SWAB(long_data);
 		nc = long_data;
 	    }
 	    else
 		nc = DATUM(inst);
 	    scan_x += nc + 1;
 
-	    BREAD( short, word, sizeof(short) );
-	    SWAB( word );
-	    if ( debug_f )
-		fprintf( stderr, "Run length %d (to %d), data %02x\n",
-			    nc + 1, scan_x, word );
-	    if ( SV_BIT( *globals, channel ) )
+	    BREAD(short, word, sizeof(short));
+	    SWAB(word);
+	    if (debug_f)
+		fprintf(stderr, "Run length %d (to %d), data %02x\n",
+			    nc + 1, scan_x, word);
+	    if (SV_BIT(*globals, channel))
 	    {
-		if ( nc >= 10 )		/* break point for 785, anyway */
+		if (nc >= 10)		/* break point for 785, anyway */
 		{
-		    bfill( (char *)scanc, nc + 1, word );
+		    bfill((char *)scanc, nc + 1, word);
 		    scanc += nc + 1;
 		}
 		else
-		    for ( ; nc >= 0; nc--, scanc++ )
+		    for (; nc >= 0; nc--, scanc++)
 			*scanc = word;
 	    }
 	    break;
@@ -1281,11 +1283,11 @@
 	    break;
 
 	default:
-	    fprintf( stderr,
-		     "rle_getrow: Unrecognized opcode: %d\n", inst.opcode );
+	    fprintf(stderr,
+		     "rle_getrow: Unrecognized opcode: %d\n", inst.opcode);
 	    cleanup(-1);
 	}
-	if ( OPCODE(inst) == RSkipLinesOp || OPCODE(inst) == REOFOp )
+	if (OPCODE(inst) == RSkipLinesOp || OPCODE(inst) == REOFOp)
 	    break;			/* <--- the other loop exit */
     }
 
@@ -1295,14 +1297,14 @@
 
 /* Fill buffer at s with n copies of character c.  N must be <= 65535*/
 /* ARGSUSED */
-static void bfill( s, n, c )
+static void bfill(s, n, c)
 char *s;
 int n, c;
 {
 #ifdef vax
     asm("   movc5   $0,*4(ap),12(ap),8(ap),*4(ap)");
 #else
-    while ( n-- > 0 )
+    while (n-- > 0)
 	*s++ = c;
 #endif
 }
@@ -1360,7 +1362,7 @@
 #define DMAP(v,x,y)	(modN[v]>magic[x][y] ? divN[v] + 1 : divN[v])
 
 /*****************************************************************
- * TAG( dithermap )
+ * TAG(dithermap)
  * 
  * Create a color dithering map with a specified number of intensity levels.
  * Inputs:
@@ -1380,7 +1382,7 @@
  *	Call make_square to get divN, modN, and magic
  *
  * Note:
- *	Call dithergb( x, y, r, g, b, levels, divN, modN, magic ) to get index
+ *	Call dithergb(x, y, r, g, b, levels, divN, modN, magic) to get index
  *	into rgbmap for a given color/location pair, or use
  *	    row = y % 16; col = x % 16;
  *	    DMAP(v,col,row) =def (divN[v] + (modN[v]>magic[col][row] ? 1 : 0))
@@ -1388,7 +1390,7 @@
  *	if you don't want function call overhead.
  */
 void
-dithermap( levels, gamma, rgbmap, divN, modN, magic )
+dithermap(levels, gamma, rgbmap, divN, modN, magic)
 double gamma;
 int rgbmap[][3];
 int divN[256];
@@ -1416,12 +1418,12 @@
 	rgbmap[i][2] = gammamap[(int)(0.5 + ((i/levelsq)%levels) * N)];
     }
 
-    make_square( N, divN, modN, magic );
+    make_square(N, divN, modN, magic);
 }
 
 
 /*****************************************************************
- * TAG( bwdithermap )
+ * TAG(bwdithermap)
  * 
  * Create a color dithering map with a specified number of intensity levels.
  * Inputs:
@@ -1439,7 +1441,7 @@
  *	Compute bwmap for levels entries.
  *	Call make_square to get divN, modN, and magic.
  * Note:
- *	Call ditherbw( x, y, val, divN, modN, magic ) to get index into 
+ *	Call ditherbw(x, y, val, divN, modN, magic) to get index into 
  *	bwmap for a given color/location pair, or use
  *	    row = y % 16; col = x % 16;
  *	    divN[val] + (modN[val]>magic[col][row] ? 1 : 0)
@@ -1448,7 +1450,7 @@
  *	    divN[val] > magic[col][row] ? 1 : 0
  */
 void
-bwdithermap( levels, gamma, bwmap, divN, modN, magic )
+bwdithermap(levels, gamma, bwmap, divN, modN, magic)
 double gamma;
 int bwmap[];
 int divN[256];
@@ -1469,7 +1471,7 @@
     for(i = 0; i < levels; i++)
 	bwmap[i] = gammamap[(int)(0.5 + i * N)];
 
-    make_square( N, divN, modN, magic );
+    make_square(N, divN, modN, magic);
 }
 
 int magic16x16[16][16] = 
@@ -1493,7 +1495,7 @@
 	};
 
 /*****************************************************************
- * TAG( make_magic )
+ * TAG(make_magic)
      * 
  * Create the magic square.
  * Inputs:
@@ -1507,7 +1509,7 @@
  * 	Chose sub cell of 16 by 16 magic square
      */
 static void
-make_magic( size, magic )
+make_magic(size, magic)
 int size;
 int magic[16][16];
 {
@@ -1543,7 +1545,7 @@
 
 
 /*****************************************************************
- * TAG( make_square )
+ * TAG(make_square)
  * 
  * Build the magic square for a given number of levels.
  * Inputs:
@@ -1563,7 +1565,7 @@
  *	its sublevel, and is used in the dithering computation.
  */
 void
-make_square( N, divN, modN, magic )
+make_square(N, divN, modN, magic)
 double N;
 int divN[256];
 int modN[256];
@@ -1572,7 +1574,7 @@
     register int i, j, k, l;
     double magicfact;
 
-    for ( i = 0; i < 256; i++ )
+    for (i = 0; i < 256; i++)
     {
 	divN[i] = (int)(i / N);
 	modN[i] = i - (int)(N * divN[i]);
@@ -1582,12 +1584,12 @@
 	/* figure out how big a square will give */
 	/* the desired number of levels */
 	if(dith_np2)
-		for(dith_size= 2;((dith_size * dith_size)+1)<((N*dith_levels)/256);dith_size++ );
+		for(dith_size= 2;((dith_size * dith_size)+1)<((N*dith_levels)/256);dith_size++);
 	else
 		for(dith_size= 2;((dith_size * dith_size)+1)<((N*dith_levels)/256);dith_size *=2);
 
 	/* make the basic square up */
-	/* ( will have numbers 0 - size * size ) */
+	/* (will have numbers 0 - size * size) */
 	make_magic(dith_size,magic);
 	
 	/* divN gives 0 - levels-1 */
@@ -1626,7 +1628,7 @@
 }
 
 /*****************************************************************
- * TAG( make_gamma )
+ * TAG(make_gamma)
  * 
  * Makes a gamma compenstation map.
  * Inputs:
@@ -1636,27 +1638,27 @@
  *  Changes gamma array entries.
  */
 void
-make_gamma( gamma, gammamap )
+make_gamma(gamma, gammamap)
 double gamma;
 int gammamap[256];
 {
 	register int i;
 
-    for ( i = 0; i < 256; i++ )
+    for (i = 0; i < 256; i++)
 		{
 #ifdef BYTEBUG
 		int byteb1;
 		
-		byteb1 = (int)(0.5 + 255 * pow( i / 255.0, 1.0/gamma ));
+		byteb1 = (int)(0.5 + 255 * pow(i / 255.0, 1.0/gamma));
 		gammamap[i] = byteb1;
 #else
-		gammamap[i] = (int)(0.5 + 255 * pow( i / 255.0, 1.0/gamma ));
+		gammamap[i] = (int)(0.5 + 255 * pow(i / 255.0, 1.0/gamma));
 #endif
 		}
 }
 
 /*****************************************************************
- * TAG( dithergb )
+ * TAG(dithergb)
  * 
  * Return dithered RGB value.
  * Inputs:
@@ -1674,7 +1676,7 @@
  * 	see "Note:" in dithermap comment.
  */
 int
-dithergb( x, y, r, g, b, levels, divN, modN, magic )
+dithergb(x, y, r, g, b, levels, divN, modN, magic)
 int divN[256];
 int modN[256];
 int magic[16][16];
@@ -1688,7 +1690,7 @@
 
 
 /*****************************************************************
- * TAG( ditherbw )
+ * TAG(ditherbw)
  * 
  * Return dithered black & white value.
  * Inputs:
@@ -1705,7 +1707,7 @@
  * 	see "Note:" in bwdithermap comment.
  */
 int
-ditherbw( x, y, val, divN, modN, magic )
+ditherbw(x, y, val, divN, modN, magic)
 int divN[256];
 int modN[256];
 int magic[16][16];
Index: kit/image/send.c
diff -u kit/image/send.c:1.5 kit/image/send.c:1.6
--- kit/image/send.c:1.5	Mon Dec 28 17:23:23 1998
+++ kit/image/send.c	Fri May 18 01:48:12 2007
@@ -299,7 +299,7 @@
 	xcolor.red= *(image->rgb.red + a);
 	xcolor.green= *(image->rgb.green + a);
 	xcolor.blue= *(image->rgb.blue + a);
-	if (! XAllocColor(disp, ximageinfo->cmap, &xcolor))
+	if (! XAllocColor(disp, ximageinfo->cmap, &xcolor)) {
 	  if ((visual->class == StaticColor) ||
 	      (visual->class == StaticGray)) {
 	    fprintf(stderr, "imageToXImage: XAllocColor failed on a static visual\n");
@@ -316,6 +316,7 @@
 	    newmap= 1;
 	    break;
 	  }
+	}
 	*(index + a)= xcolor.pixel;
       }
     }
@@ -421,13 +422,15 @@
 	  XStoreColor(disp, ximageinfo->cmap, &xcolor);
 	}
       }
-	/* regist free_clr array */
-	if (private_cmap && ximageinfo->cmap == colormap)
-		if (back)
-			regist_alloc_colors(&back_clr, index, b);
-		else
-			regist_alloc_colors(&image_clr, index, b);
-	}
+
+      /* regist free_clr array */
+      if (private_cmap && ximageinfo->cmap == colormap) {
+	if (back)
+	  regist_alloc_colors(&back_clr, index, b);
+	else
+	  regist_alloc_colors(&image_clr, index, b);
+      }
+    }
     break;
   }
 
Index: kit/sample/cloud.gif
Index: kit/sample/dad.gif
Index: kit/sample/dns-jp.mgp
diff -u kit/sample/dns-jp.mgp:1.5 kit/sample/dns-jp.mgp:removed
--- kit/sample/dns-jp.mgp:1.5	Fri Sep  4 21:33:18 1998
+++ kit/sample/dns-jp.mgp	Mon May 21 05:10:02 2007
@@ -1,130 +0,0 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%
-%%	This file is automatically created from the file
-%%	main.pre modified at Fri Jan 23 14:31:24 1998
-%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%
-%include "default.mgp"
-%% "noop" cancels definitions in default.mgp
-%default 1 left, size 7, fore "light yellow", back "blue4", font "standard", ccolor "white", vgap 35
-%default 2 noop
-%default 3 fore "white", bar "gray70", vgap 10
-%default 4 noop
-%tab 1 noop
-%tab 2 noop
-%tab 3 noop
-%%%
-%page
-%nodefault
-%fore "red", back "blue4", size 9, vgap 15
-%center, fore "yellow", font "thick"
-%ccolor "white"
-
-
-
-Root DNS `M' $B$K$D$$$F(B
-
-%size 6, fore "red", font "thick"
-$B2CF#(B   $BO/(B
-
-%size 5, fore "white", font "standard"
-$BEl5~Bg3XBg7?7W;;5!%;%s%?!<(B
-
-
-%font "typewriter"
-kato@wide.ad.jp
-%font "standard"
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%page
-
-%back "blue4"
-  $B7P0^(B (1)
-%fore "red", size 6, font "thick"
-   $B!y(B Root DNS
-%fore "white", size 5, font "standard"
-       $B!&(B $B#9Bf$G1?MQ(B
-%fore "white", size 5, font "standard"
-          $B!](B $B#8Bf$,(B US
-          $B!](B Stockholm $B$K#1Bf(B
-%fore "white", size 5, font "standard"
-       $B!&(B $B:GBg$G#1#3Bf(B
-%fore "white", size 5, font "standard"
-          $B!](B $B%Q%1%C%HD9$N@)Ls(B
-%fore "red", size 6, font "thick"
-   $B!y(B Root DNS $B$N1?MQ4p=`(B
-%fore "white", size 5, font "standard"
-       $B!&(B RFC 2010
-       $B!&(B gTLD $B$H$N4X78(B
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%page
-
-%back "blue4"
-  $B7P0^(B (2)
-%fore "red", size 6, font "thick"
-   $B!y(B IEPG $B$G3HD%$r8!F$(B
-   $B!y(B $B%h!<%m%C%QCO0h(B
-%fore "white", size 5, font "standard"
-       $B!&(B LINX $B$K?7@_(B : 1997 $BG/(B 4 $B7n(B
-%fore "white", size 5, font "standard"
-          $B!](B RIPE/NCC $B$,4IM}(B
-          $B!](B `K'
-%fore "red", size 6, font "thick"
-   $B!y(B $B%"%8%"B@J?MNCO0h(B
-%fore "white", size 5, font "standard"
-       $B!&(B NSPIXP-2 $B!'(B 1997 $BG/(B 8 $B7n(B
-%fore "white", size 5, font "standard"
-          $B!](B WIDE $B$,4IM}(B
-          $B!](B `M'
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%page
-
-%back "blue4"
-  `M'
-%fore "red", size 6, font "thick"
-   $B!y(B $B9=@.(B
-%fore "white", size 5, font "standard"
-       $B!&(B $B#2Bf$N(B PentiumPro 200MHz
-       $B!&(B Primary/Backup$B!"(B $B<+F0@Z$jBX$((B
-%fore "red", size 6, font "thick"
-   $B!y(B Root-only $B%5!<%P(B
-%fore "white", size 5, font "standard"
-       $B!&(B 
-%cont, font "typewriter"
-202.12.27.33
-%font "standard"
-       $B!&(B 400 $B!A(B 500 query/sec
-%fore "red", size 6, font "thick"
-   $B!y(B $B1?MQ4IM}(B
-%fore "white", size 5, font "standard"
-       $B!&(B WIDE $B$*$h$S(B ISP $BM-;V(B
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%page
-
-%back "blue4"
-  $B$*4j$$(B
-%fore "red", size 6, font "thick"
-   $B!y(B $B:G?7$N(B root.cache $B$NF~$l49$((B
-%fore "white", size 5, font "standard"
-       $B!&(B 
-%cont, font "typewriter"
-1997082200
-%fore "red", size 6, font "thick"
-   $B!y(B Named $B$N99?7(B
-%fore "white", size 5, font "standard"
-       $B!&(B 4.9.6/8.8.1
-%fore "red", size 6, font "thick"
-   $B!y(B $BM7$P$J$$$G!'(B
-%fore "white", size 5, font "standard"
-       $B!&(B 
-%cont, font "typewriter"
-ping/traceroute
-%font "standard"
-       $B!&(B 
-%cont, font "typewriter"
-telnet/spray/...
-%fore "red", size 6, font "thick"
-   $B!y(B Thanks to
-%fore "white", size 5, font "standard"
-       $B!&(B $BF|K\(B Cisco/$BB?$/$N(B ISP
-       $B!&(B `M' $B4IM}%0%k!<%W(B
Index: kit/sample/mgp-old1.gif
Index: kit/sample/mgp-old2.gif
Index: kit/sample/mgp-old3.gif
Index: kit/sample/mgp1.gif
Index: kit/sample/mgp2.gif
Index: kit/sample/mgp3.gif
Index: kit/sample/v6header.gif
