--- /dev/null
+diff -Nru enlightenment-0.16.5/src/E.h enlightenment-0.16.5.new/src/E.h
+--- enlightenment-0.16.5/src/E.h Fri Jul 28 19:23:34 2000
++++ enlightenment-0.16.5.new/src/E.h Fri Jul 20 05:34:54 2001
+@@ -245,7 +245,7 @@
+ #define Esetenv(var, val, overwrite) \
+ { \
+ static char envvar[FILEPATH_LEN_MAX]; \
+- Esnprintf(envvar, FILEPATH_LEN_MAX, "%s=%s", var, val);\
++ snprintf(envvar, FILEPATH_LEN_MAX, "%s=%s", var, val);\
+ putenv(envvar);\
+ }
+
+diff -Nru enlightenment-0.16.5/src/actions.c enlightenment-0.16.5.new/src/actions.c
+--- enlightenment-0.16.5/src/actions.c Fri Jul 28 21:13:13 2000
++++ enlightenment-0.16.5.new/src/actions.c Fri Jul 20 05:18:15 2001
+@@ -272,7 +272,7 @@
+ {
+ char stuff[255];
+
+- Esnprintf(stuff, sizeof(stuff), _("%u references remain\n"),
++ snprintf(stuff, sizeof(stuff), _("%u references remain\n"),
+ ActionClassToRemove->ref_count);
+ DIALOG_OK(_("ActionClass Error!"), stuff);
+ EDBUG_RETURN_;
+@@ -3302,7 +3302,7 @@
+ {
+ char stuff[255];
+
+- Esnprintf(stuff, sizeof(stuff), _("About Enlightenment %s"),
++ snprintf(stuff, sizeof(stuff), _("About Enlightenment %s"),
+ ENLIGHTENMENT_VERSION);
+ DialogSetTitle(d, stuff);
+ }
+@@ -3683,7 +3683,7 @@
+ ibl = ListAllIconboxes(&num);
+ if (ibl)
+ Efree(ibl);
+- Esnprintf(s, sizeof(s), "_IB_%i", num);
++ snprintf(s, sizeof(s), "_IB_%i", num);
+ AUDIO_PLAY("SOUND_NEW_ICONBOX");
+ ib = CreateIconbox(s);
+ ShowIconbox(ib);
+@@ -3918,7 +3918,7 @@
+ if (!(CanZoom()))
+ EDBUG_RETURN(0);
+
+- Esnprintf(s, sizeof(s), "%s/.zoom_warn", UserEDir());
++ snprintf(s, sizeof(s), "%s/.zoom_warn", UserEDir());
+ if (!exists(s))
+ {
+ FILE *f;
+diff -Nru enlightenment-0.16.5/src/alert.c enlightenment-0.16.5.new/src/alert.c
+--- enlightenment-0.16.5/src/alert.c Fri Jul 28 19:23:34 2000
++++ enlightenment-0.16.5.new/src/alert.c Fri Jul 20 05:16:12 2001
+@@ -54,7 +54,7 @@
+ /*
+ * #ifdef __USE_GNU
+ */
+- Evsnprintf(text, 10240, fmt, ap);
++ snprintf(text, 10240, fmt, ap);
+ /*
+ * #else
+ * vsprintf(text, fmt, ap);
+diff -Nru enlightenment-0.16.5/src/borders.c enlightenment-0.16.5.new/src/borders.c
+--- enlightenment-0.16.5/src/borders.c Fri Jul 28 21:13:13 2000
++++ enlightenment-0.16.5.new/src/borders.c Fri Jul 20 05:18:21 2001
+@@ -1915,7 +1915,7 @@
+ if (b->part[i].iclass->external)
+ {
+ ewin->bits[i].win = 0;
+- Esnprintf(s, sizeof(s), "request imageclass %s",
++ snprintf(s, sizeof(s), "request imageclass %s",
+ b->part[i].iclass->name);
+ CommsBroadcast(s);
+ await = Emalloc(sizeof(AwaitIclass));
+@@ -2546,7 +2546,7 @@
+ {
+ char stuff[255];
+
+- Esnprintf(stuff, sizeof(stuff), _("%u references remain\n"),
++ snprintf(stuff, sizeof(stuff), _("%u references remain\n"),
+ b->ref_count);
+ DIALOG_OK(_("Border Error!"), stuff);
+ EDBUG_RETURN_;
+diff -Nru enlightenment-0.16.5/src/buttons.c enlightenment-0.16.5.new/src/buttons.c
+--- enlightenment-0.16.5/src/buttons.c Fri Jul 28 19:23:34 2000
++++ enlightenment-0.16.5.new/src/buttons.c Fri Jul 20 05:20:09 2001
+@@ -123,7 +123,7 @@
+ {
+ char stuff[255];
+
+- Esnprintf(stuff, sizeof(stuff), _("%u references remain\n"),
++ snprintf(stuff, sizeof(stuff), _("%u references remain\n"),
+ b->ref_count);
+ DIALOG_OK(_("Button Error!"), stuff);
+
+diff -Nru enlightenment-0.16.5/src/cmclass.c enlightenment-0.16.5.new/src/cmclass.c
+--- enlightenment-0.16.5/src/cmclass.c Fri Jul 28 19:23:34 2000
++++ enlightenment-0.16.5.new/src/cmclass.c Fri Jul 20 05:19:23 2001
+@@ -94,7 +94,7 @@
+ {
+ char stuff[255];
+
+- Esnprintf(stuff, sizeof(stuff), _("%u references remain\n"),
++ snprintf(stuff, sizeof(stuff), _("%u references remain\n"),
+ cm->ref_count);
+ DIALOG_OK(_("ColorModClass Error!"), stuff);
+
+diff -Nru enlightenment-0.16.5/src/comms.c enlightenment-0.16.5.new/src/comms.c
+--- enlightenment-0.16.5/src/comms.c Fri Jul 28 19:23:34 2000
++++ enlightenment-0.16.5.new/src/comms.c Fri Jul 20 05:20:06 2001
+@@ -31,7 +31,7 @@
+ EDBUG(5, "CommsSetup");
+ comms_win = XCreateSimpleWindow(disp, root.win, -100, -100, 5, 5, 0, 0, 0);
+ XSelectInput(disp, comms_win, StructureNotifyMask | SubstructureNotifyMask);
+- Esnprintf(s, sizeof(s), "WINID %8x", (int)comms_win);
++ snprintf(s, sizeof(s), "WINID %8x", (int)comms_win);
+ a = XInternAtom(disp, "ENLIGHTENMENT_COMMS", False);
+ XChangeProperty(disp, comms_win, a, XA_STRING, 8, PropModeReplace,
+ (unsigned char *)s, strlen(s));
+@@ -113,7 +113,7 @@
+ ev.xclient.format = 8;
+ for (i = 0; i < len + 1; i += 12)
+ {
+- Esnprintf(ss, sizeof(ss), "%8x", (int)comms_win);
++ snprintf(ss, sizeof(ss), "%8x", (int)comms_win);
+ for (j = 0; j < 12; j++)
+ {
+ ss[8 + j] = s[i + j];
+@@ -161,7 +161,7 @@
+ ev.xclient.format = 8;
+ for (i = 0; i < len + 1; i += 12)
+ {
+- Esnprintf(ss, sizeof(ss), "%8x", (int)comms_win);
++ snprintf(ss, sizeof(ss), "%8x", (int)comms_win);
+ for (j = 0; j < 12; j++)
+ {
+ ss[8 + j] = s[i + j];
+@@ -214,7 +214,7 @@
+ ev.xclient.format = 8;
+ for (i = 0; i < len + 1; i += 12)
+ {
+- Esnprintf(ss, sizeof(ss), "%8x", (int)comms_win);
++ snprintf(ss, sizeof(ss), "%8x", (int)comms_win);
+ for (j = 0; j < 12; j++)
+ {
+ ss[8 + j] = s[i + j];
+@@ -263,7 +263,7 @@
+ cl = MakeClient(win);
+ if (!cl)
+ EDBUG_RETURN(NULL);
+- Esnprintf(st, sizeof(st), "%8x", (int)win);
++ snprintf(st, sizeof(st), "%8x", (int)win);
+ cl->name = duplicate(st);
+ AddItem((void *)cl, st, cl->win, LIST_TYPE_CLIENT);
+ XSelectInput(disp, win, StructureNotifyMask | SubstructureNotifyMask);
+@@ -488,7 +488,7 @@
+ if (exists(buf))
+ {
+ SetDefaultTheme(buf);
+- Esnprintf(sss, sizeof(sss), "restart_theme %s", buf);
++ snprintf(sss, sizeof(sss), "restart_theme %s", buf);
+ doExit(sss);
+ }
+ }
+@@ -663,7 +663,7 @@
+ {
+ if (desks.desk[i].bg == bg)
+ {
+- Esnprintf(buf2, sizeof(buf2), "%i\n", i);
++ snprintf(buf2, sizeof(buf2), "%i\n", i);
+ strcat(buf, buf2);
+ }
+ }
+@@ -737,11 +737,11 @@
+ (Mod5Mask | ControlMask | ShiftMask)) mod =
+ 20;
+ if (a->action->params)
+- Esnprintf(buf2, sizeof(buf2), "%s %i %i %s\n",
++ snprintf(buf2, sizeof(buf2), "%s %i %i %s\n",
+ key, mod, a->action->Type,
+ a->action->params);
+ else
+- Esnprintf(buf2, sizeof(buf2), "%s %i %i\n", key,
++ snprintf(buf2, sizeof(buf2), "%s %i %i\n", key,
+ mod, a->action->Type);
+ if (buf)
+ {
+@@ -903,9 +903,9 @@
+ bg =
+ (Background *) FindItem(w, 0, LIST_FINDBY_NAME,
+ LIST_TYPE_BACKGROUND);
+- Esnprintf(buf, sizeof(buf), "(null)");
++ snprintf(buf, sizeof(buf), "(null)");
+ if ((bg) && (bg->cmclass))
+- Esnprintf(buf, sizeof(buf), "%s", bg->cmclass->name);
++ snprintf(buf, sizeof(buf), "%s", bg->cmclass->name);
+ CommsSend(c, buf);
+ }
+ else if (!strcmp(w, "del_colmod"))
+@@ -917,7 +917,7 @@
+ cm =
+ (ColorModifierClass *) FindItem(w, 0, LIST_FINDBY_NAME,
+ LIST_TYPE_COLORMODIFIER);
+- Esnprintf(buf, sizeof(buf), "(null)");
++ snprintf(buf, sizeof(buf), "(null)");
+ if (cm)
+ FreeCMClass(cm);
+ }
+@@ -931,33 +931,33 @@
+ cm =
+ (ColorModifierClass *) FindItem(w, 0, LIST_FINDBY_NAME,
+ LIST_TYPE_COLORMODIFIER);
+- Esnprintf(buf, sizeof(buf), "(null)");
++ snprintf(buf, sizeof(buf), "(null)");
+ if (cm)
+ {
+- Esnprintf(buf, sizeof(buf), "%i", (int)(cm->red.num));
++ snprintf(buf, sizeof(buf), "%i", (int)(cm->red.num));
+ for (i = 0; i < cm->red.num; i++)
+ {
+- Esnprintf(buf2, sizeof(buf2), " %i", (int)(cm->red.px[i]));
++ snprintf(buf2, sizeof(buf2), " %i", (int)(cm->red.px[i]));
+ strcat(buf, buf2);
+- Esnprintf(buf2, sizeof(buf2), " %i", (int)(cm->red.py[i]));
++ snprintf(buf2, sizeof(buf2), " %i", (int)(cm->red.py[i]));
+ strcat(buf, buf2);
+ }
+- Esnprintf(buf2, sizeof(buf2), "\n%i", (int)(cm->green.num));
++ snprintf(buf2, sizeof(buf2), "\n%i", (int)(cm->green.num));
+ strcat(buf, buf2);
+ for (i = 0; i < cm->green.num; i++)
+ {
+- Esnprintf(buf2, sizeof(buf2), " %i", (int)(cm->green.px[i]));
++ snprintf(buf2, sizeof(buf2), " %i", (int)(cm->green.px[i]));
+ strcat(buf, buf2);
+- Esnprintf(buf2, sizeof(buf2), " %i", (int)(cm->green.py[i]));
++ snprintf(buf2, sizeof(buf2), " %i", (int)(cm->green.py[i]));
+ strcat(buf, buf2);
+ }
+- Esnprintf(buf2, sizeof(buf2), "\n%i", (int)(cm->red.num));
++ snprintf(buf2, sizeof(buf2), "\n%i", (int)(cm->red.num));
+ strcat(buf, buf2);
+ for (i = 0; i < cm->blue.num; i++)
+ {
+- Esnprintf(buf2, sizeof(buf2), " %i", (int)(cm->blue.px[i]));
++ snprintf(buf2, sizeof(buf2), " %i", (int)(cm->blue.px[i]));
+ strcat(buf, buf2);
+- Esnprintf(buf2, sizeof(buf2), " %i", (int)(cm->blue.py[i]));
++ snprintf(buf2, sizeof(buf2), " %i", (int)(cm->blue.py[i]));
+ strcat(buf, buf2);
+ }
+ }
+@@ -1053,11 +1053,11 @@
+ bg =
+ (Background *) FindItem(w, 0, LIST_FINDBY_NAME,
+ LIST_TYPE_BACKGROUND);
+- Esnprintf(buf, sizeof(buf), "(null)");
++ snprintf(buf, sizeof(buf), "(null)");
+ if (bg)
+ {
+ if ((bg->bg.file) && (bg->top.file))
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "%s %i %i %i %s %i %i %i %i %i %i %s %i %i %i %i %i",
+ bg->name, bg->bg.solid.r, bg->bg.solid.g,
+ bg->bg.solid.b, bg->bg.file, bg->bg.tile,
+@@ -1066,7 +1066,7 @@
+ bg->top.keep_aspect, bg->top.xjust, bg->top.yjust,
+ bg->top.xperc, bg->top.yperc);
+ else if ((!(bg->bg.file)) && (bg->top.file))
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "%s %i %i %i %s %i %i %i %i %i %i %s %i %i %i %i %i",
+ bg->name, bg->bg.solid.r, bg->bg.solid.g,
+ bg->bg.solid.b, "(null)", bg->bg.tile,
+@@ -1075,7 +1075,7 @@
+ bg->top.keep_aspect, bg->top.xjust, bg->top.yjust,
+ bg->top.xperc, bg->top.yperc);
+ else if ((bg->bg.file) && (!(bg->top.file)))
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "%s %i %i %i %s %i %i %i %i %i %i %s %i %i %i %i %i",
+ bg->name, bg->bg.solid.r, bg->bg.solid.g,
+ bg->bg.solid.b, bg->bg.file, bg->bg.tile,
+@@ -1084,7 +1084,7 @@
+ bg->top.keep_aspect, bg->top.xjust, bg->top.yjust,
+ bg->top.xperc, bg->top.yperc);
+ else if ((!(bg->bg.file)) && (!(bg->top.file)))
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "%s %i %i %i %s %i %i %i %i %i %i %s %i %i %i %i %i",
+ bg->name, bg->bg.solid.r, bg->bg.solid.g,
+ bg->bg.solid.b, "(null)", bg->bg.tile,
+@@ -1579,7 +1579,7 @@
+ int a, b;
+
+ GetAreaSize(&a, &b);
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "FOCUSMODE: %i\n" "DOCKAPP_SUPPORT: %i\n" "DOCKDIRMODE: %i\n"
+ "ICONDIRMODE: %i\n" "MOVEMODE: %i\n" "RESIZEMODE: %i\n"
+ "SLIDEMODE: %i\n" "CLEANUPSLIDE: %i\n" "MAPSLIDE: %i\n"
+@@ -1643,7 +1643,7 @@
+ char buf[FILEPATH_LEN_MAX];
+
+ buf[0] = 0;
+- Esnprintf(buf, sizeof(buf), "Number of desks is %d\n",
++ snprintf(buf, sizeof(buf), "Number of desks is %d\n",
+ mode.numdesktops);
+ CommsSend(c, buf);
+ }
+@@ -1695,7 +1695,7 @@
+ ewin->client.icon_name = none;
+ if (ewin->border)
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "***CLIENT***\n" "CLIENT_WIN_ID: %8x\n"
+ "FRAME_WIN_ID: %8x\n"
+ "FRAME_X,Y: %5i , %5i\n"
+@@ -1774,7 +1774,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "***CLIENT***\n" "CLIENT_WIN_ID: %8x\n"
+ "FRAME_WIN_ID: %8x\n"
+ "FRAME_X,Y: %5i , %5i\n"
+@@ -1863,7 +1863,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "No matching EWin found\n");
++ snprintf(buf, sizeof(buf), "No matching EWin found\n");
+ }
+ if (buf)
+ {
+@@ -1879,22 +1879,22 @@
+ char buf4[FILEPATH_LEN_MAX];
+ char buf5[FILEPATH_LEN_MAX];
+
+- Esnprintf(buf, sizeof(buf), "stuff:\n");
++ snprintf(buf, sizeof(buf), "stuff:\n");
+ if (mode.ewin)
+ {
+- Esnprintf(buf2, sizeof(buf2), "mode.ewin - %8x\n",
++ snprintf(buf2, sizeof(buf2), "mode.ewin - %8x\n",
+ mode.ewin->client.win);
+ strcat(buf, buf2);
+ }
+ if (mode.focuswin)
+ {
+- Esnprintf(buf3, sizeof(buf3), "mode.focuswin - %8x\n",
++ snprintf(buf3, sizeof(buf3), "mode.focuswin - %8x\n",
+ mode.focuswin->client.win);
+ strcat(buf, buf3);
+ }
+ if (mode.realfocuswin)
+ {
+- Esnprintf(buf4, sizeof(buf4), "mode.realfocuswin - %8x\n",
++ snprintf(buf4, sizeof(buf4), "mode.realfocuswin - %8x\n",
+ mode.realfocuswin->client.win);
+ strcat(buf, buf4);
+ }
+@@ -1904,7 +1904,7 @@
+ }
+ if (mode.context_ewin)
+ {
+- Esnprintf(buf5, sizeof(buf5), "context_ewin - %8x\n",
++ snprintf(buf5, sizeof(buf5), "context_ewin - %8x\n",
+ mode.context_ewin->client.win);
+ strcat(buf, buf5);
+ }
+@@ -1935,7 +1935,7 @@
+ lst[i]->client.icon_name = none;
+ if (lst[i]->border)
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "***CLIENT***\n" "CLIENT_WIN_ID: %8x\n"
+ "FRAME_WIN_ID: %8x\n"
+ "FRAME_X,Y: %5i , %5i\n"
+@@ -2017,7 +2017,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "***CLIENT***\n" "CLIENT_WIN_ID: %8x\n"
+ "FRAME_WIN_ID: %8x\n"
+ "FRAME_X,Y: %5i , %5i\n"
+@@ -2138,7 +2138,7 @@
+ {
+ char buf[FILEPATH_LEN_MAX];
+
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ _("Received Unknown Client Message.\n"
+ "Client Name: %s\n" "Client Version: %s\n"
+ "Message Contents:\n\n" "%s\n"), s1, s2, s);
+diff -Nru enlightenment-0.16.5/src/config.c enlightenment-0.16.5.new/src/config.c
+--- enlightenment-0.16.5/src/config.c Thu Aug 9 19:37:20 2001
++++ enlightenment-0.16.5.new/src/config.c Fri Jul 20 05:20:52 2001
+@@ -3266,7 +3266,7 @@
+ s[i] = '.';
+ i++;
+ }
+- Esnprintf(execline, sizeof(execline), "%s " "-P " "-nostdinc " "-undef "
++ snprintf(execline, sizeof(execline), "%s " "-P " "-nostdinc " "-undef "
+ #ifndef __EMX__
+ "-include %s/config/definitions " "-I%s "
+ "-D ENLIGHTENMENT_VERSION=%s " "-D ENLIGHTENMENT_ROOT=%s "
+@@ -3294,7 +3294,7 @@
+ root.h, root.depth, def_user, def_home, def_shell, path,
+ UserCacheDir(), s);
+ system(execline);
+- Esnprintf(execline, sizeof(execline), "%s/cached/cfg/%s.preparsed",
++ snprintf(execline, sizeof(execline), "%s/cached/cfg/%s.preparsed",
+ UserCacheDir(), s);
+ #ifndef __EMX__
+ fpin = fopen(execline, "r");
+@@ -3334,7 +3334,7 @@
+
+ EDBUG(5, "LoadConfigFile");
+
+- Esnprintf(s, sizeof(s), "%s", f);
++ snprintf(s, sizeof(s), "%s", f);
+ file = FindFile(s);
+ if (!file)
+ EDBUG_RETURN(0);
+@@ -3353,7 +3353,7 @@
+ i++;
+ }
+
+- Esnprintf(s, sizeof(s), "%s/cached/cfg/%s.preparsed", UserCacheDir(), s2);
++ snprintf(s, sizeof(s), "%s/cached/cfg/%s.preparsed", UserCacheDir(), s2);
+
+ if (strstr(f, "control.cfg"))
+ notheme = 1;
+@@ -3589,20 +3589,20 @@
+
+ /* look in ~/.enlightenment first */
+
+- Esnprintf(s, sizeof(s), "%s/%s", UserEDir(), file);
++ snprintf(s, sizeof(s), "%s/%s", UserEDir(), file);
+ if (findLocalizedFile(s) || isfile(s))
+ EDBUG_RETURN(duplicate(s));
+
+ /* look in theme dir */
+- Esnprintf(s, sizeof(s), "%s/%s", themepath, file);
++ snprintf(s, sizeof(s), "%s/%s", themepath, file);
+ if (findLocalizedFile(s) || isfile(s))
+ EDBUG_RETURN(duplicate(s));
+
+ /* look in system config dir */
+ #ifndef __EMX__
+- Esnprintf(s, sizeof(s), "%s/%s", CONFIGDATADIR, file);
++ snprintf(s, sizeof(s), "%s/%s", CONFIGDATADIR, file);
+ #else
+- Esnprintf(s, sizeof(s), "%s/config/%s", __XOS2RedirRoot(ENLIGHTENMENT_ROOT),
++ snprintf(s, sizeof(s), "%s/config/%s", __XOS2RedirRoot(ENLIGHTENMENT_ROOT),
+ file);
+ #endif
+ if (findLocalizedFile(s) || isfile(s))
+@@ -3639,15 +3639,15 @@
+ #endif
+
+ /* look in ~/.enlightenment first */
+- Esnprintf(s, sizeof(s), "%s/%s", UserEDir(), file);
++ snprintf(s, sizeof(s), "%s/%s", UserEDir(), file);
+ if (findLocalizedFile(s) || isfile(s))
+ EDBUG_RETURN(duplicate(s));
+
+ /* look in system config dir */
+ #ifndef __EMX__
+- Esnprintf(s, sizeof(s), "%s/config/%s", ENLIGHTENMENT_ROOT, file);
++ snprintf(s, sizeof(s), "%s/config/%s", ENLIGHTENMENT_ROOT, file);
+ #else
+- Esnprintf(s, sizeof(s), "%s/config/%s", __XOS2RedirRoot(ENLIGHTENMENT_ROOT),
++ snprintf(s, sizeof(s), "%s/config/%s", __XOS2RedirRoot(ENLIGHTENMENT_ROOT),
+ file);
+ #endif
+ if (findLocalizedFile(s) || isfile(s))
+@@ -3667,12 +3667,12 @@
+ EDBUG(5, "LoadEConfig");
+ mustdel = 0;
+
+- Esnprintf(s, sizeof(s), "%s/", UserEDir());
++ snprintf(s, sizeof(s), "%s/", UserEDir());
+ Fnlib_add_dir(fd, s);
+ #ifndef __EMX__
+- Esnprintf(s, sizeof(s), "%s/", CONFIGDATADIR);
++ snprintf(s, sizeof(s), "%s/", CONFIGDATADIR);
+ #else
+- Esnprintf(s, sizeof(s), "%s/config/", __XOS2RedirRoot(ENLIGHTENMENT_ROOT));
++ snprintf(s, sizeof(s), "%s/config/", __XOS2RedirRoot(ENLIGHTENMENT_ROOT));
+ #endif
+ Fnlib_add_dir(fd, s);
+ /* save the current theme */
+@@ -3685,7 +3685,7 @@
+ fprintf(f, "%s\n", themelocation);
+ fclose(f);
+ }
+- Esnprintf(ss, sizeof(ss), "%s/user_theme.cfg", UserEDir());
++ snprintf(ss, sizeof(ss), "%s/user_theme.cfg", UserEDir());
+ rm(ss);
+ mv(s, ss);
+ if (!isfile(ss))
+@@ -3725,7 +3725,7 @@
+ EDBUG_RETURN(0);
+ }
+ strcpy(themepath, theme);
+- Esnprintf(s, sizeof(s), "%s/", theme);
++ snprintf(s, sizeof(s), "%s/", theme);
+ Fnlib_add_dir(fd, s);
+ {
+ Progressbar *p = NULL;
+diff -Nru enlightenment-0.16.5/src/coords.c enlightenment-0.16.5.new/src/coords.c
+--- enlightenment-0.16.5/src/coords.c Wed Jul 26 20:00:46 2000
++++ enlightenment-0.16.5.new/src/coords.c Fri Jul 20 05:22:18 2001
+@@ -47,7 +47,7 @@
+ if ((!ic) || (!tc))
+ return;
+
+- Esnprintf(s, sizeof(s), "%i x %i (%i, %i)", w, h, x, y);
++ snprintf(s, sizeof(s), "%i x %i (%i, %i)", w, h, x, y);
+ TextSize(tc, 0, 0, 0, s, &cw, &ch, 17);
+ ewin = mode.ewin;
+ cw += (ic->padding.left + ic->padding.right);
+diff -Nru enlightenment-0.16.5/src/cursors.c enlightenment-0.16.5.new/src/cursors.c
+--- enlightenment-0.16.5/src/cursors.c Wed Jul 26 20:00:46 2000
++++ enlightenment-0.16.5.new/src/cursors.c Fri Jul 20 05:22:27 2001
+@@ -40,7 +40,7 @@
+ if (!img)
+ return NULL;
+
+- Esnprintf(msk, sizeof(msk), "%s.mask", img);
++ snprintf(msk, sizeof(msk), "%s.mask", img);
+ pmap = 0;
+ mask = 0;
+ xh = 0;
+@@ -107,7 +107,7 @@
+ {
+ char stuff[255];
+
+- Esnprintf(stuff, sizeof(stuff), _("%u references remain\n"),
++ snprintf(stuff, sizeof(stuff), _("%u references remain\n"),
+ ec->ref_count);
+ DIALOG_OK(_("ECursor Error!"), stuff);
+
+diff -Nru enlightenment-0.16.5/src/desktops.c enlightenment-0.16.5.new/src/desktops.c
+--- enlightenment-0.16.5/src/desktops.c Fri Jul 28 21:13:13 2000
++++ enlightenment-0.16.5.new/src/desktops.c Fri Jul 20 05:23:08 2001
+@@ -78,7 +78,7 @@
+ Efree(f);
+ }
+ }
+- Esnprintf(s, sizeof(s),
++ snprintf(s, sizeof(s),
+ "%c%c%c%c%c%c" "%c%c%c%c%c%c" "%c%c%c%c%c%c" "%c%c%c%c%c%c"
+ "%c%c%c%c%c%c" "%c%c%c%c%c%c" "%c%c%c%c%c%c" "%c%c%c%c%c%c"
+ "%c%c%c%c%c%c" "%c%c%c%c%c%c" "%c%c%c%c%c%c",
+@@ -155,7 +155,7 @@
+ if (p)
+ {
+ p->desktop = i;
+- Esnprintf(s, sizeof(s), "%i", i);
++ snprintf(s, sizeof(s), "%i", i);
+ PagerTitle(p, s);
+ PagerShow(p);
+ }
+@@ -382,7 +382,7 @@
+ {
+ char stuff[255];
+
+- Esnprintf(stuff, sizeof(stuff), _("%u references remain\n"),
++ snprintf(stuff, sizeof(stuff), _("%u references remain\n"),
+ bg->ref_count);
+ DIALOG_OK(_("Background Error!"), stuff);
+
+@@ -1047,7 +1047,7 @@
+
+ for (i = 0; i < ENLIGHTENMENT_CONF_NUM_DESKTOPS; i++)
+ {
+- Esnprintf(s, sizeof(s), "DRAGBAR_DESKTOP_%i", i);
++ snprintf(s, sizeof(s), "DRAGBAR_DESKTOP_%i", i);
+ ac = FindItem(s, 0, LIST_FINDBY_NAME, LIST_TYPE_ACLASS);
+ if (!ac)
+ {
+@@ -1056,15 +1056,15 @@
+ a = CreateAction(EVENT_MOUSE_DOWN, 0, 0, 0, 1, 0, NULL, NULL);
+ AddAction(ac, a);
+ param = Emalloc(3);
+- Esnprintf(param, 3, "%i", i);
++ snprintf(param, 3, "%i", i);
+ AddToAction(a, ACTION_DESKTOP_DRAG, param);
+ a = CreateAction(EVENT_MOUSE_DOWN, 0, 0, 0, 3, 0, NULL, NULL);
+ AddAction(ac, a);
+- Esnprintf(s, sizeof(s), "deskmenu");
++ snprintf(s, sizeof(s), "deskmenu");
+ AddToAction(a, ACTION_SHOW_MENU, duplicate(s));
+ a = CreateAction(EVENT_MOUSE_DOWN, 0, 0, 0, 2, 0, NULL, NULL);
+ AddAction(ac, a);
+- Esnprintf(s, sizeof(s), "taskmenu");
++ snprintf(s, sizeof(s), "taskmenu");
+ AddToAction(a, ACTION_SHOW_MENU, duplicate(s));
+ if (i > 0)
+ {
+@@ -1090,7 +1090,7 @@
+ "applications currently running.\n"));
+ }
+ }
+- Esnprintf(s, sizeof(s), "RAISEBUTTON_DESKTOP_%i", i);
++ snprintf(s, sizeof(s), "RAISEBUTTON_DESKTOP_%i", i);
+ ac2 = FindItem(s, 0, LIST_FINDBY_NAME, LIST_TYPE_ACLASS);
+ if (!ac2)
+ {
+@@ -1099,14 +1099,14 @@
+ a = CreateAction(EVENT_MOUSE_UP, 1, 0, 1, 0, 0, NULL, NULL);
+ AddAction(ac2, a);
+ param = Emalloc(3);
+- Esnprintf(param, 3, "%i", i);
++ snprintf(param, 3, "%i", i);
+ AddToAction(a, ACTION_DESKTOP_RAISE, param);
+ ac2->tooltipstring =
+ duplicate(_
+ ("Click here to raise this desktop\n"
+ "to the top.\n"));
+ }
+- Esnprintf(s, sizeof(s), "LOWERBUTTON_DESKTOP_%i", i);
++ snprintf(s, sizeof(s), "LOWERBUTTON_DESKTOP_%i", i);
+ ac3 = FindItem(s, 0, LIST_FINDBY_NAME, LIST_TYPE_ACLASS);
+ if (!ac3)
+ {
+@@ -1115,7 +1115,7 @@
+ a = CreateAction(EVENT_MOUSE_UP, 1, 0, 1, 0, 0, NULL, NULL);
+ AddAction(ac3, a);
+ param = Emalloc(3);
+- Esnprintf(param, 3, "%i", i);
++ snprintf(param, 3, "%i", i);
+ AddToAction(a, ACTION_DESKTOP_LOWER, param);
+ ac3->tooltipstring =
+ duplicate(_
+diff -Nru enlightenment-0.16.5/src/dialog.c enlightenment-0.16.5.new/src/dialog.c
+--- enlightenment-0.16.5/src/dialog.c Fri Jul 28 21:13:13 2000
++++ enlightenment-0.16.5.new/src/dialog.c Fri Jul 20 05:16:32 2001
+@@ -287,7 +287,7 @@
+
+ SC_Kill();
+ va_start(ap, fmt);
+- Evsnprintf(text, 10240, fmt, ap);
++ snprintf(text, 10240, fmt, ap);
+ va_end(ap);
+ Alert(text);
+ }
+@@ -299,7 +299,7 @@
+ va_list ap;
+
+ va_start(ap, fmt);
+- Evsnprintf(text, 10240, fmt, ap);
++ snprintf(text, 10240, fmt, ap);
+ va_end(ap);
+ ASSIGN_ALERT(_("Attention !!!"), _("OK"), " ", " ");
+ Alert(text);
+@@ -313,7 +313,7 @@
+ va_list ap;
+
+ va_start(ap, fmt);
+- Evsnprintf(text, 10240, fmt, ap);
++ snprintf(text, 10240, fmt, ap);
+ va_end(ap);
+ DialogSetText(d, text);
+ }
+diff -Nru enlightenment-0.16.5/src/dock.c enlightenment-0.16.5.new/src/dock.c
+--- enlightenment-0.16.5/src/dock.c Wed Jul 26 20:00:46 2000
++++ enlightenment-0.16.5.new/src/dock.c Fri Jul 20 05:24:34 2001
+@@ -31,7 +31,7 @@
+ char id[32];
+
+ EDBUG(3, "DockIt");
+- Esnprintf(id, sizeof(id), "%i", ewin->client.win);
++ snprintf(id, sizeof(id), "%i", ewin->client.win);
+ ac = 0;
+ ic = FindItem("DEFAULT_DOCK_BUTTON", 0, LIST_FINDBY_NAME, LIST_TYPE_ICLASS);
+ if (mode.dockstartx >= 0)
+diff -Nru enlightenment-0.16.5/src/draw.c enlightenment-0.16.5.new/src/draw.c
+--- enlightenment-0.16.5/src/draw.c Fri Jul 28 21:13:13 2000
++++ enlightenment-0.16.5.new/src/draw.c Fri Jul 20 05:23:46 2001
+@@ -965,7 +965,7 @@
+ if ((x2) >= (x1)) \
+ { \
+ XDrawLine(disp, root.win, gc, x1, y1, x2, y1); \
+- Esnprintf(str, sizeof(str), "%i", (x2) - (x1) + 1); \
++ snprintf(str, sizeof(str), "%i", (x2) - (x1) + 1); \
+ XDrawString(disp, root.win, gc, ((x1) + (x2)) / 2, (y1) - 10, str, strlen(str)); \
+ }
+ #define DRAW_V_ARROW(y1, y2, x1) \
+@@ -979,7 +979,7 @@
+ if ((y2) >= (y1)) \
+ { \
+ XDrawLine(disp, root.win, gc, x1, y1, x1, y2); \
+- Esnprintf(str, sizeof(str), "%i", (y2) - (y1) + 1); \
++ snprintf(str, sizeof(str), "%i", (y2) - (y1) + 1); \
+ XDrawString(disp, root.win, gc, x1 + 10, ((y1) + (y2)) / 2, str, strlen(str)); \
+ }
+ #define DO_DRAW_MODE_1(aa, bb, cc, dd) \
+diff -Nru enlightenment-0.16.5/src/file.c enlightenment-0.16.5.new/src/file.c
+--- enlightenment-0.16.5/src/file.c Fri Jul 28 21:13:13 2000
++++ enlightenment-0.16.5.new/src/file.c Fri Jul 20 05:24:41 2001
+@@ -52,7 +52,7 @@
+ EDBUG(9, "Etmp");
+ if (!n_calls)
+ n_calls = (unsigned long)time(NULL) + (unsigned long)getpid();
+- Esnprintf(s, 1024, "%s/TMP_%Xl", UserEDir(), n_calls);
++ snprintf(s, 1024, "%s/TMP_%Xl", UserEDir(), n_calls);
+ n_calls++;
+ EDBUG_RETURN_;
+ }
+diff -Nru enlightenment-0.16.5/src/gnome.c enlightenment-0.16.5.new/src/gnome.c
+--- enlightenment-0.16.5/src/gnome.c Wed Jul 26 20:00:46 2000
++++ enlightenment-0.16.5.new/src/gnome.c Fri Jul 20 05:24:28 2001
+@@ -651,7 +651,7 @@
+ atom_set = XInternAtom(disp, XA_WIN_WORKSPACE_NAMES, False);
+ for (i = 0; i < mode.numdesktops; i++)
+ {
+- Esnprintf(s, sizeof(s), "%i", i);
++ snprintf(s, sizeof(s), "%i", i);
+ names[i] = duplicate(s);
+ }
+ if (XStringListToTextProperty(names, mode.numdesktops, &text))
+diff -Nru enlightenment-0.16.5/src/groups.c enlightenment-0.16.5.new/src/groups.c
+--- enlightenment-0.16.5/src/groups.c Wed Jul 26 20:00:46 2000
++++ enlightenment-0.16.5.new/src/groups.c Fri Jul 20 05:24:38 2001
+@@ -396,7 +396,7 @@
+ FILE *f;
+ char s[1024];
+
+- Esnprintf(s, sizeof(s), "%s/...e_session-XXXXXX.groups.%i", UserEDir(),
++ snprintf(s, sizeof(s), "%s/...e_session-XXXXXX.groups.%i", UserEDir(),
+ root.scr);
+ f = fopen(s, "w");
+ if (f)
+@@ -441,7 +441,7 @@
+ FILE *f;
+ char s[1024];
+
+- Esnprintf(s, sizeof(s), "%s/...e_session-XXXXXX.groups.%i", UserEDir(),
++ snprintf(s, sizeof(s), "%s/...e_session-XXXXXX.groups.%i", UserEDir(),
+ root.scr);
+ f = fopen(s, "r");
+ if (f)
+diff -Nru enlightenment-0.16.5/src/iclass.c enlightenment-0.16.5.new/src/iclass.c
+--- enlightenment-0.16.5/src/iclass.c Wed Jul 26 20:00:46 2000
++++ enlightenment-0.16.5.new/src/iclass.c Fri Jul 20 05:25:42 2001
+@@ -108,7 +108,7 @@
+ {
+ char stuff[255];
+
+- Esnprintf(stuff, sizeof(stuff), _("%u references remain\n"),
++ snprintf(stuff, sizeof(stuff), _("%u references remain\n"),
+ i->ref_count);
+ DIALOG_OK(_("ImageClass Error!"), stuff);
+ EDBUG_RETURN_;
+diff -Nru enlightenment-0.16.5/src/iconify.c enlightenment-0.16.5.new/src/iconify.c
+--- enlightenment-0.16.5/src/iconify.c Fri Jul 28 19:23:35 2000
++++ enlightenment-0.16.5.new/src/iconify.c Fri Jul 20 05:25:36 2001
+@@ -1055,7 +1055,7 @@
+ char s[1024];
+ FILE *f;
+
+- Esnprintf(s, sizeof(s), "%s/icondefs.cfg", UserEDir());
++ snprintf(s, sizeof(s), "%s/icondefs.cfg", UserEDir());
+ f = fopen(s, "w");
+ if (f)
+ {
+@@ -2442,7 +2442,7 @@
+ p_menu->name = duplicate("__IBOX_MENU");
+ p_menu->style =
+ FindItem("DEFAULT", 0, LIST_FINDBY_NAME, LIST_TYPE_MENU_STYLE);
+- Esnprintf(s, sizeof(s), "iconbox %s", ib->name);
++ snprintf(s, sizeof(s), "iconbox %s", ib->name);
+ mi =
+ CreateMenuItem(_("This Iconbox Settings..."), NULL, ACTION_CONFIG, s,
+ NULL);
+@@ -2454,7 +2454,7 @@
+ NULL, NULL);
+ AddItemToMenu(p_menu, mi);
+ AddItem(p_menu, p_menu->name, 0, LIST_TYPE_MENU);
+- Esnprintf(s, sizeof(s), "named %s", p_menu->name);
++ snprintf(s, sizeof(s), "named %s", p_menu->name);
+ spawnMenu(s);
+ x = 0;
+ y = 0;
+diff -Nru enlightenment-0.16.5/src/ipc.c enlightenment-0.16.5.new/src/ipc.c
+--- enlightenment-0.16.5/src/ipc.c Fri Jul 28 21:13:13 2000
++++ enlightenment-0.16.5.new/src/ipc.c Fri Jul 20 05:25:39 2001
+@@ -613,7 +613,7 @@
+ {
+ for (i = 0; cfg_panels[i]; i += 2)
+ {
+- Esnprintf(buf2, sizeof(buf2), "%s : %s\n", cfg_panels[i],
++ snprintf(buf2, sizeof(buf2), "%s : %s\n", cfg_panels[i],
+ cfg_panels[i + 1]);
+ strcat(buf, buf2);
+ }
+@@ -737,10 +737,10 @@
+ SaveSnapInfo();
+ }
+ else
+- Esnprintf(buf, sizeof(buf), "Error: no window found");
++ snprintf(buf, sizeof(buf), "Error: no window found");
+ }
+ else
+- Esnprintf(buf, sizeof(buf), "Error: no parameters");
++ snprintf(buf, sizeof(buf), "Error: no parameters");
+
+ if (buf[0])
+ CommsSend(c, buf);
+@@ -771,20 +771,20 @@
+ {
+ if (mode.kde_support)
+ {
+- Esnprintf(buf, sizeof(buf), "kde: active");
++ snprintf(buf, sizeof(buf), "kde: active");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "kde: inactive");
++ snprintf(buf, sizeof(buf), "kde: inactive");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown state specified");
++ snprintf(buf, sizeof(buf), "Error: unknown state specified");
+ }
+ }
+ else
+- Esnprintf(buf, sizeof(buf), "Error: no state specified");
++ snprintf(buf, sizeof(buf), "Error: no state specified");
+
+ if (buf[0])
+ CommsSend(c, buf);
+@@ -816,7 +816,7 @@
+ {
+ if (!param2[0])
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no module specified");
++ snprintf(buf, sizeof(buf), "Error: no module specified");
+ }
+ else
+ {
+@@ -832,7 +832,7 @@
+ {
+ if (!param2[0])
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no module specified");
++ snprintf(buf, sizeof(buf), "Error: no module specified");
+ }
+ else
+ {
+@@ -843,7 +843,7 @@
+ strcat(buf, ModuleErrorCodeToString(returncode));
+ if (!buf[0])
+ {
+- Esnprintf(buf, sizeof(buf), "");
++ snprintf(buf, sizeof(buf), "");
+ }
+ }
+ }
+@@ -853,18 +853,18 @@
+ strcat(buf, ModuleListAsString());
+ if (!buf[0])
+ {
+- Esnprintf(buf, sizeof(buf), "no modules loaded");
++ snprintf(buf, sizeof(buf), "no modules loaded");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: unknown module operation specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no module operation specified");
++ snprintf(buf, sizeof(buf), "Error: no module operation specified");
+ }
+
+ if (buf[0])
+@@ -900,7 +900,7 @@
+ {
+ if (!strcmp(param2, "?"))
+ {
+- Esnprintf(buf, sizeof(buf), "dock_startposition: %d %d",
++ snprintf(buf, sizeof(buf), "dock_startposition: %d %d",
+ mode.dockstartx, mode.dockstarty);
+ }
+ else
+@@ -913,7 +913,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: no y coordinate");
+
+ }
+@@ -921,7 +921,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no operation specified");
++ snprintf(buf, sizeof(buf), "Error: no operation specified");
+ }
+ }
+ else if (!strcmp(param1, "direction"))
+@@ -932,23 +932,23 @@
+ {
+ if (mode.dockdirmode == DOCK_LEFT)
+ {
+- Esnprintf(buf, sizeof(buf), "dock_dir: left");
++ snprintf(buf, sizeof(buf), "dock_dir: left");
+ }
+ else if (mode.dockdirmode == DOCK_RIGHT)
+ {
+- Esnprintf(buf, sizeof(buf), "dock_dir: right");
++ snprintf(buf, sizeof(buf), "dock_dir: right");
+ }
+ else if (mode.dockdirmode == DOCK_UP)
+ {
+- Esnprintf(buf, sizeof(buf), "dock_dir: up");
++ snprintf(buf, sizeof(buf), "dock_dir: up");
+ }
+ else if (mode.dockdirmode == DOCK_DOWN)
+ {
+- Esnprintf(buf, sizeof(buf), "dock_dir: down");
++ snprintf(buf, sizeof(buf), "dock_dir: down");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: I have NO " "idea what direction "
+ "this thing is going");
+ }
+@@ -971,13 +971,13 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: unknown direction " "specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no operation specified");
++ snprintf(buf, sizeof(buf), "Error: no operation specified");
+ }
+ }
+ else if (!strcmp(param1, "support"))
+@@ -986,7 +986,7 @@
+ {
+ if (!strcmp(param2, "?"))
+ {
+- Esnprintf(buf, sizeof(buf), "dockapp support: %s",
++ snprintf(buf, sizeof(buf), "dockapp support: %s",
+ (mode.dockapp_support) ? "enabled" :
+ "disabled");
+ }
+@@ -994,28 +994,28 @@
+ || (!strcmp(param2, "enable")))
+ {
+ mode.dockapp_support = 1;
+- Esnprintf(buf, sizeof(buf), "dockapp support: enabled");
++ snprintf(buf, sizeof(buf), "dockapp support: enabled");
+ }
+ else if ((!strcmp(param2, "off"))
+ || (!strcmp(param2, "disable")))
+ {
+ mode.dockapp_support = 0;
+- Esnprintf(buf, sizeof(buf), "dockapp support: disabled");
++ snprintf(buf, sizeof(buf), "dockapp support: disabled");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no operation specified");
++ snprintf(buf, sizeof(buf), "Error: no operation specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode");
++ snprintf(buf, sizeof(buf), "Error: unknown mode");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no mode given");
++ snprintf(buf, sizeof(buf), "Error: no mode given");
+ }
+
+ if (buf[0])
+@@ -1037,16 +1037,16 @@
+ {
+ if (!strcmp(params, "screen_size"))
+ {
+- Esnprintf(buf, sizeof(buf), "screen_size: %d %d", root.w, root.h);
++ snprintf(buf, sizeof(buf), "screen_size: %d %d", root.w, root.h);
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown info requested");
++ snprintf(buf, sizeof(buf), "Error: unknown info requested");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no info requested");
++ snprintf(buf, sizeof(buf), "Error: no info requested");
+ }
+
+ if (buf[0])
+@@ -1102,22 +1102,22 @@
+ (Button *) FindItem(param1, 0, LIST_FINDBY_NAME,
+ LIST_TYPE_BUTTON);
+ if (b)
+- Esnprintf(buf, sizeof(buf), "%u references remain",
++ snprintf(buf, sizeof(buf), "%u references remain",
+ b->ref_count);
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no cursor specified");
++ snprintf(buf, sizeof(buf), "Error: no cursor specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown operation specified");
++ snprintf(buf, sizeof(buf), "Error: unknown operation specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no operation specified");
++ snprintf(buf, sizeof(buf), "Error: no operation specified");
+ }
+
+ if (buf[0])
+@@ -1158,7 +1158,7 @@
+
+ if (bg)
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "%s ref_count %u\n" " bg.solid\t %i %i %i \n"
+ " bg.file\t %s \ttop.file\t %s \n"
+ " bg.tile\t %i \n"
+@@ -1176,7 +1176,7 @@
+ bg->top.yperc);
+ }
+ else
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: background '%s' does not exist.", name);
+ }
+ else
+@@ -1195,7 +1195,7 @@
+ AddItem(bg, bg->name, 0, LIST_TYPE_BACKGROUND);
+ }
+ if (!bg)
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: could not create background '%s'.",
+ name);
+ else
+@@ -1275,7 +1275,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: unknown background value type '%s'.",
+ type);
+ }
+@@ -1298,12 +1298,12 @@
+ FreeDesktopBG(bg);
+ }
+ else
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: ref_count for background '%s' is %u.",
+ name, bg->ref_count);
+ }
+ else
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: background '%s' does not exist.", name);
+ }
+ }
+@@ -1322,7 +1322,7 @@
+ for (i = 0; i < num; i++)
+ {
+ buf2[0] = 0;
+- Esnprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
++ snprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
+ if (buf3)
+ buf3 = realloc(buf3, strlen(buf3) + strlen(buf2) + 1);
+ else
+@@ -1393,22 +1393,22 @@
+ (Border *) FindItem(param1, 0, LIST_FINDBY_NAME,
+ LIST_TYPE_BORDER);
+ if (b)
+- Esnprintf(buf, sizeof(buf), "%u references remain",
++ snprintf(buf, sizeof(buf), "%u references remain",
+ b->ref_count);
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no cursor specified");
++ snprintf(buf, sizeof(buf), "Error: no cursor specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown operation specified");
++ snprintf(buf, sizeof(buf), "Error: unknown operation specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no operation specified");
++ snprintf(buf, sizeof(buf), "Error: no operation specified");
+ }
+
+ if (buf[0])
+@@ -1463,22 +1463,22 @@
+ (ECursor *) FindItem(param1, 0, LIST_FINDBY_NAME,
+ LIST_TYPE_ECURSOR);
+ if (ec)
+- Esnprintf(buf, sizeof(buf), "%u references remain",
++ snprintf(buf, sizeof(buf), "%u references remain",
+ ec->ref_count);
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no cursor specified");
++ snprintf(buf, sizeof(buf), "Error: no cursor specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown operation specified");
++ snprintf(buf, sizeof(buf), "Error: unknown operation specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no operation specified");
++ snprintf(buf, sizeof(buf), "Error: no operation specified");
+ }
+
+ if (buf[0])
+@@ -1580,13 +1580,13 @@
+ if (txt)
+ {
+ TextSize(t, 0, 0, STATE_NORMAL, txt, &w, &h, 17);
+- Esnprintf(buf, sizeof(buf), "%i %i", w, h);
++ snprintf(buf, sizeof(buf), "%i %i", w, h);
+ }
+ else
+- Esnprintf(buf, sizeof(buf), "0 0");
++ snprintf(buf, sizeof(buf), "0 0");
+ }
+ else
+- Esnprintf(buf, sizeof(buf), "TextClass %s not found",
++ snprintf(buf, sizeof(buf), "TextClass %s not found",
+ param1);
+ }
+ else if (!strcmp(param2, "query"))
+@@ -1597,9 +1597,9 @@
+ (TextClass *) FindItem(param1, 0, LIST_FINDBY_NAME,
+ LIST_TYPE_TCLASS);
+ if (t)
+- Esnprintf(buf, sizeof(buf), "TextClass %s found", t->name);
++ snprintf(buf, sizeof(buf), "TextClass %s found", t->name);
+ else
+- Esnprintf(buf, sizeof(buf), "TextClass %s not found",
++ snprintf(buf, sizeof(buf), "TextClass %s not found",
+ param1);
+ }
+ else if (!strcmp(param2, "ref_count"))
+@@ -1610,23 +1610,23 @@
+ (TextClass *) FindItem(param1, 0, LIST_FINDBY_NAME,
+ LIST_TYPE_TCLASS);
+ if (t)
+- Esnprintf(buf, sizeof(buf), "%u references remain.",
++ snprintf(buf, sizeof(buf), "%u references remain.",
+ t->ref_count);
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: unknown operation specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no class specified");
++ snprintf(buf, sizeof(buf), "Error: no class specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no operation specified");
++ snprintf(buf, sizeof(buf), "Error: no operation specified");
+ }
+
+ if (buf[0])
+@@ -1683,23 +1683,23 @@
+ LIST_FINDBY_NAME,
+ LIST_TYPE_COLORMODIFIER);
+ if (cm)
+- Esnprintf(buf, sizeof(buf), "%u references remain.",
++ snprintf(buf, sizeof(buf), "%u references remain.",
+ cm->ref_count);
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: unknown operation specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no class specified");
++ snprintf(buf, sizeof(buf), "Error: no class specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no operation specified");
++ snprintf(buf, sizeof(buf), "Error: no operation specified");
+ }
+
+ if (buf[0])
+@@ -1754,23 +1754,23 @@
+ (ActionClass *) FindItem(param1, 0, LIST_FINDBY_NAME,
+ LIST_TYPE_ACLASS);
+ if (a)
+- Esnprintf(buf, sizeof(buf), "%u references remain.",
++ snprintf(buf, sizeof(buf), "%u references remain.",
+ a->ref_count);
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: unknown operation specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no class specified");
++ snprintf(buf, sizeof(buf), "Error: no class specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no operation specified");
++ snprintf(buf, sizeof(buf), "Error: no operation specified");
+ }
+
+ if (buf[0])
+@@ -1833,11 +1833,11 @@
+ (ImageClass *) FindItem(param1, 0, LIST_FINDBY_NAME,
+ LIST_TYPE_ICLASS);
+ if (iclass)
+- Esnprintf(buf, sizeof(buf), "%i %i %i %i",
++ snprintf(buf, sizeof(buf), "%i %i %i %i",
+ iclass->padding.left, iclass->padding.right,
+ iclass->padding.top, iclass->padding.bottom);
+ else
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: Imageclass does not exist");
+ }
+ else if (!strcmp(param2, "get_image_size"))
+@@ -1863,20 +1863,20 @@
+ normal->real_file);
+ if (im)
+ {
+- Esnprintf(buf, sizeof(buf), "%i %i",
++ snprintf(buf, sizeof(buf), "%i %i",
+ im->rgb_width, im->rgb_height);
+ Imlib_destroy_image(id, im);
+ }
+ else
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: Image does not exist");
+ }
+ else
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: Image does not exist");
+ }
+ else
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: Imageclass does not exist");
+ }
+ else if (!strcmp(param2, "apply"))
+@@ -1941,7 +1941,7 @@
+ else
+ st = STATE_NORMAL;
+ if (!(hptr = atword(params, 6)))
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: missing width and/or height");
+ else
+ {
+@@ -1953,7 +1953,7 @@
+ IclassApplyCopy(iclass, win, w, h, 0, 0, st, &pmap,
+ &mask);
+ queue_up = pq;
+- Esnprintf(buf, sizeof(buf), "0x%08x 0x%08x", pmap,
++ snprintf(buf, sizeof(buf), "0x%08x 0x%08x", pmap,
+ mask);
+ }
+ }
+@@ -1966,7 +1966,7 @@
+ (ImageClass *) FindItem(param1, 0, LIST_FINDBY_NAME,
+ LIST_TYPE_ICLASS);
+ if (i)
+- Esnprintf(buf, sizeof(buf), "%u references remain",
++ snprintf(buf, sizeof(buf), "%u references remain",
+ i->ref_count);
+ }
+ else if (!strcmp(param2, "query"))
+@@ -1977,26 +1977,26 @@
+ (ImageClass *) FindItem(param1, 0, LIST_FINDBY_NAME,
+ LIST_TYPE_ICLASS);
+ if (i)
+- Esnprintf(buf, sizeof(buf), "ImageClass %s found",
++ snprintf(buf, sizeof(buf), "ImageClass %s found",
+ i->name);
+ else
+- Esnprintf(buf, sizeof(buf), "ImageClass %s not found",
++ snprintf(buf, sizeof(buf), "ImageClass %s not found",
+ param1);
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: unknown operation specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no class specified");
++ snprintf(buf, sizeof(buf), "Error: no class specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no operation specified");
++ snprintf(buf, sizeof(buf), "Error: no operation specified");
+ }
+
+ if (buf[0])
+@@ -2039,7 +2039,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no file specified");
++ snprintf(buf, sizeof(buf), "Error: no file specified");
+ }
+ }
+ else if (!strcmp(param1, "delete"))
+@@ -2050,18 +2050,18 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: unknown operation specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no class specified");
++ snprintf(buf, sizeof(buf), "Error: no class specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no operation specified");
++ snprintf(buf, sizeof(buf), "Error: no operation specified");
+ }
+
+ if (buf[0])
+@@ -2085,11 +2085,11 @@
+ if (soundtoplay)
+ ApplySclass(soundtoplay);
+ else
+- Esnprintf(buf, sizeof(buf), "Error: unknown soundclass selected");
++ snprintf(buf, sizeof(buf), "Error: unknown soundclass selected");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no soundclass selected");
++ snprintf(buf, sizeof(buf), "Error: no soundclass selected");
+ }
+
+ if (buf[0])
+@@ -2118,7 +2118,7 @@
+ for (i = 0; i < num; i++)
+ {
+ buf2[0] = 0;
+- Esnprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
++ snprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
+ if (buf)
+ buf = realloc(buf, strlen(buf) + strlen(buf2) + 1);
+ else
+@@ -2139,7 +2139,7 @@
+ for (i = 0; i < num; i++)
+ {
+ buf2[0] = 0;
+- Esnprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
++ snprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
+ if (buf)
+ buf = realloc(buf, strlen(buf) + strlen(buf2) + 1);
+ else
+@@ -2160,7 +2160,7 @@
+ for (i = 0; i < num; i++)
+ {
+ buf2[0] = 0;
+- Esnprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
++ snprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
+ if (buf)
+ buf = realloc(buf, strlen(buf) + strlen(buf2) + 1);
+ else
+@@ -2181,7 +2181,7 @@
+ for (i = 0; i < num; i++)
+ {
+ buf2[0] = 0;
+- Esnprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
++ snprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
+ if (buf)
+ buf = realloc(buf, strlen(buf) + strlen(buf2) + 1);
+ else
+@@ -2202,7 +2202,7 @@
+ for (i = 0; i < num; i++)
+ {
+ buf2[0] = 0;
+- Esnprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
++ snprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
+ if (buf)
+ buf = realloc(buf, strlen(buf) + strlen(buf2) + 1);
+ else
+@@ -2223,7 +2223,7 @@
+ for (i = 0; i < num; i++)
+ {
+ buf2[0] = 0;
+- Esnprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
++ snprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
+ if (buf)
+ buf = realloc(buf, strlen(buf) + strlen(buf2) + 1);
+ else
+@@ -2244,7 +2244,7 @@
+ for (i = 0; i < num; i++)
+ {
+ buf2[0] = 0;
+- Esnprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
++ snprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
+ if (buf)
+ buf = realloc(buf, strlen(buf) + strlen(buf2) + 1);
+ else
+@@ -2265,7 +2265,7 @@
+ for (i = 0; i < num; i++)
+ {
+ buf2[0] = 0;
+- Esnprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
++ snprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
+ if (buf)
+ buf = realloc(buf, strlen(buf) + strlen(buf2) + 1);
+ else
+@@ -2304,7 +2304,7 @@
+ DIALOG_OK(_("Message"), params);
+ }
+ else
+- Esnprintf(buf, sizeof(buf), "Error: No text for dialog specified");
++ snprintf(buf, sizeof(buf), "Error: No text for dialog specified");
+
+ if (buf[0])
+ CommsSend(c, buf);
+@@ -2329,12 +2329,12 @@
+ my_focused_win = GetFocusEwin();
+ if (my_focused_win)
+ {
+- Esnprintf(buf, sizeof(buf), "focused: %8x",
++ snprintf(buf, sizeof(buf), "focused: %8x",
+ my_focused_win->client.win);
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "focused: none");
++ snprintf(buf, sizeof(buf), "focused: none");
+ }
+ }
+ else
+@@ -2349,7 +2349,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no window selected");
++ snprintf(buf, sizeof(buf), "Error: no window selected");
+ }
+
+ if (buf[0])
+@@ -2390,16 +2390,16 @@
+ {
+ if (mode.all_new_windows_get_focus)
+ {
+- Esnprintf(buf, sizeof(buf), "new_window_focus: on");
++ snprintf(buf, sizeof(buf), "new_window_focus: on");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "new_window_focus: off");
++ snprintf(buf, sizeof(buf), "new_window_focus: off");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
++ snprintf(buf, sizeof(buf), "Error: unknown mode selected");
+ }
+ }
+ else if (!strcmp(param1, "focus_list"))
+@@ -2416,16 +2416,16 @@
+ {
+ if (mode.display_warp)
+ {
+- Esnprintf(buf, sizeof(buf), "focus_list: on");
++ snprintf(buf, sizeof(buf), "focus_list: on");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "focus_list: off");
++ snprintf(buf, sizeof(buf), "focus_list: off");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
++ snprintf(buf, sizeof(buf), "Error: unknown mode selected");
+ }
+ }
+ else if (!strcmp(param1, "new_popup_window_focus"))
+@@ -2442,18 +2442,18 @@
+ {
+ if (mode.new_transients_get_focus)
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "new_popup_window_focus: on");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "new_popup_window_focus: off");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
++ snprintf(buf, sizeof(buf), "Error: unknown mode selected");
+ }
+ }
+ else if (!strcmp(param1, "new_popup_of_owner_focus"))
+@@ -2470,18 +2470,18 @@
+ {
+ if (mode.new_transients_get_focus_if_group_focused)
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "new_popup_of_owner_focus: on");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "new_popup_of_owner_focus: off");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
++ snprintf(buf, sizeof(buf), "Error: unknown mode selected");
+ }
+ }
+ else if (!strcmp(param1, "raise_on_keyboard_focus_switch"))
+@@ -2498,18 +2498,18 @@
+ {
+ if (mode.raise_on_next_focus)
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "raise_on_keyboard_focus_switch: on");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "raise_on_keyboard_focus_switch: off");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
++ snprintf(buf, sizeof(buf), "Error: unknown mode selected");
+ }
+ }
+ else if (!strcmp(param1, "raise_after_keyboard_focus_switch"))
+@@ -2526,18 +2526,18 @@
+ {
+ if (mode.raise_after_next_focus)
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "raise_after_keyboard_focus_switch: on");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "raise_after_keyboard_focus_switch: off");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
++ snprintf(buf, sizeof(buf), "Error: unknown mode selected");
+ }
+ }
+ else if (!strcmp(param1, "display_warp"))
+@@ -2554,16 +2554,16 @@
+ {
+ if (mode.display_warp)
+ {
+- Esnprintf(buf, sizeof(buf), "display_warp: on");
++ snprintf(buf, sizeof(buf), "display_warp: on");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "display_warp: off");
++ snprintf(buf, sizeof(buf), "display_warp: off");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
++ snprintf(buf, sizeof(buf), "Error: unknown mode selected");
+ }
+ }
+ else if (!strcmp(param1, "pointer_to_keyboard_focus_window"))
+@@ -2580,18 +2580,18 @@
+ {
+ if (mode.warp_on_next_focus)
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "pointer_to_keyboard_focus_window: on");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "pointer_to_keyboard_focus_window: off");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
++ snprintf(buf, sizeof(buf), "Error: unknown mode selected");
+ }
+ }
+ else if (!strcmp(param1, "pointer_after_keyboard_focus_window"))
+@@ -2608,18 +2608,18 @@
+ {
+ if (mode.warp_after_next_focus)
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "pointer_after_keyboard_focus_window: on");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "pointer_after_keyboard_focus_window: off");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
++ snprintf(buf, sizeof(buf), "Error: unknown mode selected");
+ }
+ }
+ else if (!strcmp(param1, "transients_follow_leader"))
+@@ -2636,18 +2636,18 @@
+ {
+ if (mode.transientsfollowleader)
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "transients_follow_leader: on");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "transients_follow_leader: off");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
++ snprintf(buf, sizeof(buf), "Error: unknown mode selected");
+ }
+ }
+ else if (!strcmp(param1, "switch_to_popup_location"))
+@@ -2664,18 +2664,18 @@
+ {
+ if (mode.switchfortransientmap)
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "switch_to_popup_location: on");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "switch_to_popup_location: off");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
++ snprintf(buf, sizeof(buf), "Error: unknown mode selected");
+ }
+ }
+ else if (!strcmp(param1, "manual_placement"))
+@@ -2692,16 +2692,16 @@
+ {
+ if (mode.manual_placement)
+ {
+- Esnprintf(buf, sizeof(buf), "manual_placement: on");
++ snprintf(buf, sizeof(buf), "manual_placement: on");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "manual_placement: off");
++ snprintf(buf, sizeof(buf), "manual_placement: off");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
++ snprintf(buf, sizeof(buf), "Error: unknown mode selected");
+ }
+ }
+ else if (!strcmp(param1, "manual_placement_mouse_pointer"))
+@@ -2718,28 +2718,28 @@
+ {
+ if (mode.manual_placement_mouse_pointer)
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "manual_placement_mouse_pointer: on");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "manual_placement_mouse_pointer: off");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
++ snprintf(buf, sizeof(buf), "Error: unknown mode selected");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
++ snprintf(buf, sizeof(buf), "Error: unknown mode selected");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no mode selected");
++ snprintf(buf, sizeof(buf), "Error: no mode selected");
+ }
+
+ if (buf[0])
+@@ -2771,7 +2771,7 @@
+ {
+ if (lst[i]->pager)
+ {
+- Esnprintf(buf2, sizeof(buf2), "%8x\n",
++ snprintf(buf2, sizeof(buf2), "%8x\n",
+ lst[i]->client.win);
+ strcat(buf, buf2);
+ }
+@@ -2783,7 +2783,7 @@
+ {
+ if (lst[i]->menu)
+ {
+- Esnprintf(buf2, sizeof(buf2), "%8x\n",
++ snprintf(buf2, sizeof(buf2), "%8x\n",
+ lst[i]->client.win);
+ strcat(buf, buf2);
+ }
+@@ -2795,7 +2795,7 @@
+ {
+ if (lst[i]->dialog)
+ {
+- Esnprintf(buf2, sizeof(buf2), "%8x\n",
++ snprintf(buf2, sizeof(buf2), "%8x\n",
+ lst[i]->client.win);
+ strcat(buf, buf2);
+ }
+@@ -2807,7 +2807,7 @@
+ {
+ if (lst[i]->internal)
+ {
+- Esnprintf(buf2, sizeof(buf2), "%8x\n",
++ snprintf(buf2, sizeof(buf2), "%8x\n",
+ lst[i]->client.win);
+ strcat(buf, buf2);
+ }
+@@ -2815,7 +2815,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: unknown internal list specified");
+ }
+
+@@ -2858,11 +2858,11 @@
+ {
+ if (mode.show_pagers)
+ {
+- Esnprintf(buf, sizeof(buf), "pager: on");
++ snprintf(buf, sizeof(buf), "pager: on");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "pager: off");
++ snprintf(buf, sizeof(buf), "pager: off");
+ }
+ }
+ else if (!strcmp(param1, "hiq"))
+@@ -2872,11 +2872,11 @@
+ {
+ if (mode.pager_hiq)
+ {
+- Esnprintf(buf, sizeof(buf), "pager_hiq: on");
++ snprintf(buf, sizeof(buf), "pager_hiq: on");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "pager_hiq: off");
++ snprintf(buf, sizeof(buf), "pager_hiq: off");
+ }
+ }
+ else if (!strcmp(param2, "on"))
+@@ -2889,7 +2889,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
++ snprintf(buf, sizeof(buf), "Error: unknown mode selected");
+
+ }
+ }
+@@ -2919,13 +2919,13 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: unknown mode selected");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no mode selected");
++ snprintf(buf, sizeof(buf), "Error: no mode selected");
+ }
+ }
+ else if (!strcmp(param1, "title"))
+@@ -2954,7 +2954,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no mode selected");
++ snprintf(buf, sizeof(buf), "Error: no mode selected");
+ }
+ }
+ }
+@@ -2965,7 +2965,7 @@
+ {
+ if (!strcmp(param2, "?"))
+ {
+- Esnprintf(buf, sizeof(buf), "pager_scanrate: %d",
++ snprintf(buf, sizeof(buf), "pager_scanrate: %d",
+ mode.pager_scanspeed);
+ }
+ else
+@@ -2975,7 +2975,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no scanrate specified.");
++ snprintf(buf, sizeof(buf), "Error: no scanrate specified.");
+ }
+ }
+ else if (!strcmp(param1, "snap"))
+@@ -2985,11 +2985,11 @@
+ {
+ if (mode.pager_hiq)
+ {
+- Esnprintf(buf, sizeof(buf), "pager_snap: on");
++ snprintf(buf, sizeof(buf), "pager_snap: on");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "pager_snap: off");
++ snprintf(buf, sizeof(buf), "pager_snap: off");
+ }
+ }
+ else if (!strcmp(param2, "on"))
+@@ -3025,12 +3025,12 @@
+ }
+ else if (!strcmp(param3, "?"))
+ {
+- Esnprintf(buf, sizeof(buf), "Desk %s: %i pagers", param2,
++ snprintf(buf, sizeof(buf), "Desk %s: %i pagers", param2,
+ PagerForDesktop(atoi(param2)));
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: unknown mode specified");
+ }
+ }
+@@ -3038,22 +3038,22 @@
+ {
+ if (param2[0])
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no mode specified");
++ snprintf(buf, sizeof(buf), "Error: no mode specified");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no desk specified");
++ snprintf(buf, sizeof(buf), "Error: no desk specified");
+ }
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
++ snprintf(buf, sizeof(buf), "Error: unknown mode specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no mode specified");
++ snprintf(buf, sizeof(buf), "Error: no mode specified");
+ }
+
+ if (buf[0])
+@@ -3102,29 +3102,29 @@
+ if (mode.movemode)
+ {
+ if (mode.movemode == 1)
+- Esnprintf(buf, sizeof(buf), "movemode: lined");
++ snprintf(buf, sizeof(buf), "movemode: lined");
+ else if (mode.movemode == 2)
+- Esnprintf(buf, sizeof(buf), "movemode: box");
++ snprintf(buf, sizeof(buf), "movemode: box");
+ else if (mode.movemode == 3)
+- Esnprintf(buf, sizeof(buf), "movemode: shaded");
++ snprintf(buf, sizeof(buf), "movemode: shaded");
+ else if (mode.movemode == 4)
+- Esnprintf(buf, sizeof(buf), "movemode: semi-solid");
++ snprintf(buf, sizeof(buf), "movemode: semi-solid");
+ else if (mode.movemode == 5)
+- Esnprintf(buf, sizeof(buf), "movemode: translucent");
++ snprintf(buf, sizeof(buf), "movemode: translucent");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "movemode: opaque");
++ snprintf(buf, sizeof(buf), "movemode: opaque");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
++ snprintf(buf, sizeof(buf), "Error: unknown mode specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no mode specified");
++ snprintf(buf, sizeof(buf), "Error: no mode specified");
+ }
+
+ if (buf[0])
+@@ -3169,27 +3169,27 @@
+ if (mode.resizemode)
+ {
+ if (mode.resizemode == 1)
+- Esnprintf(buf, sizeof(buf), "resizemode: lined");
++ snprintf(buf, sizeof(buf), "resizemode: lined");
+ else if (mode.resizemode == 2)
+- Esnprintf(buf, sizeof(buf), "resizemode: box");
++ snprintf(buf, sizeof(buf), "resizemode: box");
+ else if (mode.resizemode == 3)
+- Esnprintf(buf, sizeof(buf), "resizemode: shaded");
++ snprintf(buf, sizeof(buf), "resizemode: shaded");
+ else if (mode.resizemode == 4)
+- Esnprintf(buf, sizeof(buf), "resizemode: semi-solid");
++ snprintf(buf, sizeof(buf), "resizemode: semi-solid");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "resizemode: opaque");
++ snprintf(buf, sizeof(buf), "resizemode: opaque");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
++ snprintf(buf, sizeof(buf), "Error: unknown mode specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no mode specified");
++ snprintf(buf, sizeof(buf), "Error: no mode specified");
+ }
+
+ if (buf[0])
+@@ -3226,23 +3226,23 @@
+ if (mode.geominfomode)
+ {
+ if (mode.geominfomode == 1)
+- Esnprintf(buf, sizeof(buf), "geominfomode: center");
++ snprintf(buf, sizeof(buf), "geominfomode: center");
+ else if (mode.geominfomode == 2)
+- Esnprintf(buf, sizeof(buf), "geominfomode: corner");
++ snprintf(buf, sizeof(buf), "geominfomode: corner");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "geominfomode: never");
++ snprintf(buf, sizeof(buf), "geominfomode: never");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
++ snprintf(buf, sizeof(buf), "Error: unknown mode specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no mode specified");
++ snprintf(buf, sizeof(buf), "Error: no mode specified");
+ }
+
+ if (buf[0])
+@@ -3283,13 +3283,13 @@
+ else if (!strcmp(word2, "?"))
+ {
+ if (FX_IsOn("ripples"))
+- Esnprintf(buf, sizeof(buf), "ripples: on");
++ snprintf(buf, sizeof(buf), "ripples: on");
+ else
+- Esnprintf(buf, sizeof(buf), "ripples: off");
++ snprintf(buf, sizeof(buf), "ripples: off");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
++ snprintf(buf, sizeof(buf), "Error: unknown mode specified");
+ }
+ }
+ else if (!strcmp(word1, "deskslide"))
+@@ -3306,13 +3306,13 @@
+ else if (!strcmp(word2, "?"))
+ {
+ if (desks.slidein)
+- Esnprintf(buf, sizeof(buf), "deskslide: on");
++ snprintf(buf, sizeof(buf), "deskslide: on");
+ else
+- Esnprintf(buf, sizeof(buf), "deskslide: off");
++ snprintf(buf, sizeof(buf), "deskslide: off");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
++ snprintf(buf, sizeof(buf), "Error: unknown mode specified");
+ }
+ }
+ else if (!strcmp(word1, "mapslide"))
+@@ -3329,13 +3329,13 @@
+ else if (!strcmp(word2, "?"))
+ {
+ if (mode.mapslide)
+- Esnprintf(buf, sizeof(buf), "mapslide: on");
++ snprintf(buf, sizeof(buf), "mapslide: on");
+ else
+- Esnprintf(buf, sizeof(buf), "mapslide: off");
++ snprintf(buf, sizeof(buf), "mapslide: off");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
++ snprintf(buf, sizeof(buf), "Error: unknown mode specified");
+ }
+ }
+ else if (!strcmp(word1, "raindrops"))
+@@ -3354,13 +3354,13 @@
+ else if (!strcmp(word2, "?"))
+ {
+ if (FX_IsOn("raindrops"))
+- Esnprintf(buf, sizeof(buf), "raindrops: on");
++ snprintf(buf, sizeof(buf), "raindrops: on");
+ else
+- Esnprintf(buf, sizeof(buf), "raindrops: off");
++ snprintf(buf, sizeof(buf), "raindrops: off");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
++ snprintf(buf, sizeof(buf), "Error: unknown mode specified");
+ }
+ }
+ else if (!strcmp(word1, "menu_animate"))
+@@ -3377,13 +3377,13 @@
+ else if (!strcmp(word2, "?"))
+ {
+ if (mode.menuslide)
+- Esnprintf(buf, sizeof(buf), "menu_animate: on");
++ snprintf(buf, sizeof(buf), "menu_animate: on");
+ else
+- Esnprintf(buf, sizeof(buf), "menu_animate: off");
++ snprintf(buf, sizeof(buf), "menu_animate: off");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
++ snprintf(buf, sizeof(buf), "Error: unknown mode specified");
+ }
+ }
+ else if (!strcmp(word1, "waves"))
+@@ -3402,13 +3402,13 @@
+ else if (!strcmp(word2, "?"))
+ {
+ if (FX_IsOn("waves"))
+- Esnprintf(buf, sizeof(buf), "waves: on");
++ snprintf(buf, sizeof(buf), "waves: on");
+ else
+- Esnprintf(buf, sizeof(buf), "waves: off");
++ snprintf(buf, sizeof(buf), "waves: off");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
++ snprintf(buf, sizeof(buf), "Error: unknown mode specified");
+ }
+ }
+ else if (!strcmp(word1, "animate_win_shading"))
+@@ -3425,13 +3425,13 @@
+ else if (!strcmp(word2, "?"))
+ {
+ if (mode.animate_shading)
+- Esnprintf(buf, sizeof(buf), "animate_win_shading: on");
++ snprintf(buf, sizeof(buf), "animate_win_shading: on");
+ else
+- Esnprintf(buf, sizeof(buf), "animate_win_shading: off");
++ snprintf(buf, sizeof(buf), "animate_win_shading: off");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
++ snprintf(buf, sizeof(buf), "Error: unknown mode specified");
+ }
+ }
+ else if (!strcmp(word1, "window_shade_speed"))
+@@ -3441,12 +3441,12 @@
+ {
+ if (mode.animate_shading)
+ {
+- Esnprintf(buf, sizeof(buf), "shadespeed: %d seconds",
++ snprintf(buf, sizeof(buf), "shadespeed: %d seconds",
+ mode.shadespeed);
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "shadespeed: off");
++ snprintf(buf, sizeof(buf), "shadespeed: off");
+ }
+ }
+ else
+@@ -3501,29 +3501,29 @@
+ {
+ if (desks.dragdir == 1)
+ {
+- Esnprintf(buf, sizeof(buf), "Dragbar: right");
++ snprintf(buf, sizeof(buf), "Dragbar: right");
+ }
+ else if (desks.dragdir == 2)
+ {
+- Esnprintf(buf, sizeof(buf), "Dragbar: top");
++ snprintf(buf, sizeof(buf), "Dragbar: top");
+ }
+ else if (desks.dragdir == 3)
+ {
+- Esnprintf(buf, sizeof(buf), "Dragbar: bottom");
++ snprintf(buf, sizeof(buf), "Dragbar: bottom");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Dragbar: left");
++ snprintf(buf, sizeof(buf), "Dragbar: left");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Dragbar: off");
++ snprintf(buf, sizeof(buf), "Dragbar: off");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
++ snprintf(buf, sizeof(buf), "Error: unknown mode specified");
+ }
+
+ if (move)
+@@ -3564,12 +3564,12 @@
+ {
+ if (mode.tooltips)
+ {
+- Esnprintf(buf, sizeof(buf), "tooltips: %f seconds",
++ snprintf(buf, sizeof(buf), "tooltips: %f seconds",
+ mode.tiptime);
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "tooltips: off");
++ snprintf(buf, sizeof(buf), "tooltips: off");
+ }
+ }
+ else
+@@ -3594,13 +3594,13 @@
+ {
+ if (mode.edge_flip_resistance >= 0)
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "edge_resistance: %d / 100 seconds",
+ mode.edge_flip_resistance);
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "edge_resistance: off");
++ snprintf(buf, sizeof(buf), "edge_resistance: off");
+ }
+ }
+ else
+@@ -3610,7 +3610,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no time given");
++ snprintf(buf, sizeof(buf), "Error: no time given");
+ }
+ }
+ else if (!strcmp(word1, "edge_snap_distance"))
+@@ -3620,7 +3620,7 @@
+ {
+ if (!strcmp(word2, "?"))
+ {
+- Esnprintf(buf, sizeof(buf), "edge_snap_distance: %d",
++ snprintf(buf, sizeof(buf), "edge_snap_distance: %d",
+ mode.edge_snap_dist);
+ }
+ else
+@@ -3630,7 +3630,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no pixel distance given");
++ snprintf(buf, sizeof(buf), "Error: no pixel distance given");
+ }
+ }
+ else if (!strcmp(word1, "autoraise"))
+@@ -3648,12 +3648,12 @@
+ {
+ if (mode.autoraise)
+ {
+- Esnprintf(buf, sizeof(buf), "autoraise: %f seconds",
++ snprintf(buf, sizeof(buf), "autoraise: %f seconds",
+ mode.autoraisetime);
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "autoraise: off");
++ snprintf(buf, sizeof(buf), "autoraise: off");
+ }
+ }
+ else
+@@ -3705,23 +3705,23 @@
+ else if (!strcmp(word2, "?"))
+ {
+ if (mode.sound)
+- Esnprintf(buf, sizeof(buf), "audio: on");
++ snprintf(buf, sizeof(buf), "audio: on");
+ else
+- Esnprintf(buf, sizeof(buf), "audio: off");
++ snprintf(buf, sizeof(buf), "audio: off");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
++ snprintf(buf, sizeof(buf), "Error: unknown mode specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown effect specified");
++ snprintf(buf, sizeof(buf), "Error: unknown effect specified");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no effect specified");
++ snprintf(buf, sizeof(buf), "Error: no effect specified");
+ }
+
+ if (buf[0])
+@@ -3761,25 +3761,25 @@
+ {
+ if (mode.activenetwork)
+ {
+- Esnprintf(buf, sizeof(buf), "Active network: on");
++ snprintf(buf, sizeof(buf), "Active network: on");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Active network: off");
++ snprintf(buf, sizeof(buf), "Active network: off");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown state.");
++ snprintf(buf, sizeof(buf), "Error: unknown state.");
+ }
+ }
+ #else
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Active Network not compiled into this version of E");
+ #endif
+ }
+ else
+- Esnprintf(buf, sizeof(buf), "Error: no state specified");
++ snprintf(buf, sizeof(buf), "Error: no state specified");
+
+ if (buf[0])
+ CommsSend(c, buf);
+@@ -3820,7 +3820,7 @@
+ lst[i]->client.title = none;
+ if (params)
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "%8x : %s :: %d : %d %d : %d %d\n",
+ lst[i]->client.win, lst[i]->client.title,
+ lst[i]->desktop, lst[i]->area_x, lst[i]->area_y,
+@@ -3828,7 +3828,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "%8x : %s\n", lst[i]->client.win,
++ snprintf(buf, sizeof(buf), "%8x : %s\n", lst[i]->client.win,
+ lst[i]->client.title);
+ }
+ if (!ret)
+@@ -3871,7 +3871,7 @@
+
+ if (!params)
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no area specified");
++ snprintf(buf, sizeof(buf), "Error: no area specified");
+ }
+ else
+ {
+@@ -3919,7 +3919,7 @@
+ else if (!strcmp(param1, "?"))
+ {
+ GetCurrentArea(&a, &b);
+- Esnprintf(buf, sizeof(buf), "Current Area: %d %d", a, b);
++ snprintf(buf, sizeof(buf), "Current Area: %d %d", a, b);
+ }
+ else
+ {
+@@ -3975,7 +3975,7 @@
+ word(params, 2, operation);
+ if (!operation[0])
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no operation specified");
++ snprintf(buf, sizeof(buf), "Error: no operation specified");
+ }
+ else
+ {
+@@ -3984,7 +3984,7 @@
+ ewin = FindEwinByChildren(win);
+ if (!ewin)
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no such window: %8x",
++ snprintf(buf, sizeof(buf), "Error: no such window: %8x",
+ win);
+ }
+ else
+@@ -4021,15 +4021,15 @@
+ else if (!strcmp(param1, "?"))
+ {
+ if (ewin->iconified)
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "window iconified: yes");
+ else
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "window iconified: no");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: unknown mode specified");
+ }
+ }
+@@ -4059,15 +4059,15 @@
+ else if (!strcmp(param1, "?"))
+ {
+ if (ewin->shaded)
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "window shaded: yes");
+ else
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "window shaded: no");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: unknown mode specified");
+ }
+ }
+@@ -4097,15 +4097,15 @@
+ else if (!strcmp(param1, "?"))
+ {
+ if (ewin->sticky)
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "window sticky: yes");
+ else
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "window sticky: no");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: unknown mode specified");
+ }
+ }
+@@ -4132,7 +4132,7 @@
+ if (!strncmp(ptr, "?", 1))
+ {
+ /* return the window title */
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "window title: %s",
+ ewin->client.title);
+ }
+@@ -4155,7 +4155,7 @@
+ else
+ {
+ /* error */
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: no title specified");
+ }
+ }
+@@ -4203,7 +4203,7 @@
+ {
+ if (ewin->border->name)
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "window border: %s",
+ ewin->border->name);
+ }
+@@ -4228,7 +4228,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: no border specified");
+ }
+ }
+@@ -4255,7 +4255,7 @@
+ }
+ else if (!strcmp(param1, "?"))
+ {
+- Esnprintf(buf, sizeof(buf), "window desk: %d",
++ snprintf(buf, sizeof(buf), "window desk: %d",
+ ewin->desktop);
+ }
+ else
+@@ -4269,7 +4269,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: no desktop supplied");
+ }
+ }
+@@ -4282,7 +4282,7 @@
+ {
+ if (!strcmp(param1, "?"))
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "window area: %d %d", ewin->area_x,
+ ewin->area_y);
+ }
+@@ -4294,7 +4294,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: no area supplied");
+ }
+ }
+@@ -4315,13 +4315,13 @@
+ {
+ if (!strcmp(param1, "?"))
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "window location: %d %d", ewin->x,
+ ewin->y);
+ }
+ else if (!strcmp(param1, "??"))
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "client location: %d %d",
+ ewin->x + ewin->border->border.left,
+ ewin->y + ewin->border->border.top);
+@@ -4335,7 +4335,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: no coords supplied");
+ }
+ }
+@@ -4348,13 +4348,13 @@
+ {
+ if (!strcmp(param1, "?"))
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "window size: %d %d", ewin->client.w,
+ ewin->client.h);
+ }
+ else if (!strcmp(param1, "??"))
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "frame size: %d %d", ewin->w,
+ ewin->h);
+ }
+@@ -4399,11 +4399,11 @@
+ {
+ if (ewin == GetFocusEwin())
+ {
+- Esnprintf(buf, sizeof(buf), "focused: yes");
++ snprintf(buf, sizeof(buf), "focused: yes");
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "focused: no");
++ snprintf(buf, sizeof(buf), "focused: no");
+ }
+ }
+ else
+@@ -4413,14 +4413,14 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown operation");
++ snprintf(buf, sizeof(buf), "Error: unknown operation");
+ }
+ }
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no window specified");
++ snprintf(buf, sizeof(buf), "Error: no window specified");
+ }
+
+ if (buf[0])
+@@ -4444,7 +4444,7 @@
+ int ax, ay;
+
+ GetAreaSize(&ax, &ay);
+- Esnprintf(buf, sizeof(buf), "Number of Areas: %d %d", ax, ay);
++ snprintf(buf, sizeof(buf), "Number of Areas: %d %d", ax, ay);
+ }
+ else
+ {
+@@ -4457,7 +4457,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: number of areas not given");
++ snprintf(buf, sizeof(buf), "Error: number of areas not given");
+ }
+
+ if (buf[0])
+@@ -4478,7 +4478,7 @@
+ {
+ if (!strcmp(params, "?"))
+ {
+- Esnprintf(buf, sizeof(buf), "Number of Desks: %d",
++ snprintf(buf, sizeof(buf), "Number of Desks: %d",
+ mode.numdesktops);
+ }
+ else
+@@ -4488,7 +4488,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: number of desks not given");
++ snprintf(buf, sizeof(buf), "Error: number of desks not given");
+ }
+
+ if (buf[0])
+@@ -4527,7 +4527,7 @@
+ }
+ else if (!strcmp(params, "?"))
+ {
+- Esnprintf(buf, sizeof(buf), "Focus Mode: ");
++ snprintf(buf, sizeof(buf), "Focus Mode: ");
+ if (mode.focusmode == 2)
+ {
+ if (mode.click_focus_grabbed)
+@@ -4554,12 +4554,12 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown focus type");
++ snprintf(buf, sizeof(buf), "Error: unknown focus type");
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no focus type given");
++ snprintf(buf, sizeof(buf), "Error: no focus type given");
+ }
+
+ if (buf[0])
+@@ -4590,7 +4590,7 @@
+ }
+ else if (!strcmp(params, "?"))
+ {
+- Esnprintf(buf, sizeof(buf), "Icons: ");
++ snprintf(buf, sizeof(buf), "Icons: ");
+ if (mode.showicons)
+ strcat(buf, "on");
+ else
+@@ -4598,13 +4598,13 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: unknown icon statee: %s",
++ snprintf(buf, sizeof(buf), "Error: unknown icon statee: %s",
+ params);
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no icon state specified");
++ snprintf(buf, sizeof(buf), "Error: no icon state specified");
+ }
+
+ if (buf[0])
+@@ -4622,7 +4622,7 @@
+ buf[0] = 0;
+ if (!params)
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no desktop selected");
++ snprintf(buf, sizeof(buf), "Error: no desktop selected");
+ }
+ else
+ {
+@@ -4636,7 +4636,7 @@
+ }
+ else if (!strcmp(params, "?"))
+ {
+- Esnprintf(buf, sizeof(buf), "Current Desktop: %d", desks.current);
++ snprintf(buf, sizeof(buf), "Current Desktop: %d", desks.current);
+ }
+ else
+ {
+@@ -4703,7 +4703,7 @@
+ {
+ if (!strcmp(params, "?"))
+ {
+- Esnprintf(buf, sizeof(buf), GetSMFile());
++ snprintf(buf, sizeof(buf), GetSMFile());
+ }
+ else
+ {
+@@ -4712,7 +4712,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no file prefix specified");
++ snprintf(buf, sizeof(buf), "Error: no file prefix specified");
+ }
+
+ if (buf[0])
+@@ -4757,13 +4757,13 @@
+
+ if (params)
+ {
+- Esnprintf(buf, sizeof(buf), "restart_wm %s", params);
++ snprintf(buf, sizeof(buf), "restart_wm %s", params);
+ params = NULL;
+ doExit(buf);
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no window manager specified");
++ snprintf(buf, sizeof(buf), "Error: no window manager specified");
+ CommsSend(c, buf);
+ }
+
+@@ -4779,13 +4779,13 @@
+
+ if (params)
+ {
+- Esnprintf(buf, sizeof(buf), "restart_theme %s", params);
++ snprintf(buf, sizeof(buf), "restart_theme %s", params);
+ params = NULL;
+ doExit(buf);
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no theme specified");
++ snprintf(buf, sizeof(buf), "Error: no theme specified");
+ CommsSend(c, buf);
+ }
+ return;
+@@ -4818,7 +4818,7 @@
+
+ if (!strcmp(params, "?"))
+ {
+- Esnprintf(buf, sizeof(buf), "%s", GetDefaultTheme());
++ snprintf(buf, sizeof(buf), "%s", GetDefaultTheme());
+ }
+ else
+ {
+@@ -4827,13 +4827,13 @@
+ char restartcommand[FILEPATH_LEN_MAX];
+
+ SetDefaultTheme(params);
+- Esnprintf(restartcommand, sizeof(restartcommand),
++ snprintf(restartcommand, sizeof(restartcommand),
+ "restart_theme %s", params);
+ doExit(restartcommand);
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Could not find theme: %s",
++ snprintf(buf, sizeof(buf), "Could not find theme: %s",
+ GetDefaultTheme());
+ }
+ }
+@@ -4853,7 +4853,7 @@
+
+ buf[0] = 0;
+
+- Esnprintf(buf, sizeof(buf), themepath);
++ snprintf(buf, sizeof(buf), themepath);
+
+ if (buf[0])
+ CommsSend(c, buf);
+@@ -4875,9 +4875,9 @@
+ if (!strcmp(params, "?"))
+ {
+ if (mode.autosave)
+- Esnprintf(buf, sizeof(buf), "Autosave : on");
++ snprintf(buf, sizeof(buf), "Autosave : on");
+ else
+- Esnprintf(buf, sizeof(buf), "Autosave : off");
++ snprintf(buf, sizeof(buf), "Autosave : off");
+ }
+ else if (!strcmp(params, "on"))
+ {
+@@ -4889,7 +4889,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Unknown autosave state: %s", params);
++ snprintf(buf, sizeof(buf), "Unknown autosave state: %s", params);
+ }
+ if (buf[0])
+ CommsSend(c, buf);
+@@ -4911,7 +4911,7 @@
+ buf[0] = 0;
+ buf2[0] = 0;
+ numIPC = sizeof(IPCArray) / sizeof(IPCStruct);
+- Esnprintf(buf, sizeof(buf), _("Enlightenment IPC Commands Help"));
++ snprintf(buf, sizeof(buf), _("Enlightenment IPC Commands Help"));
+
+ if (!params)
+ {
+@@ -5004,7 +5004,7 @@
+ char buf[FILEPATH_LEN_MAX];
+
+ params = NULL;
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Copyright (C) 2000 Carsten Haitzler and Geoff Harrison,\n"
+ "with various contributors (Isaac Richards, Sung-Hyun Nam, "
+ "Kimball Thurston,\n"
+@@ -5063,7 +5063,7 @@
+
+ buf[0] = 0;
+
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ _("Enlightenment Version : %s\n" "code is current to : %s\n"),
+ ENLIGHTENMENT_VERSION, E_CHECKOUT_DATE);
+
+@@ -5209,7 +5209,7 @@
+
+ if (!group)
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no such group: %d", index);
++ snprintf(buf, sizeof(buf), "Error: no such group: %d", index);
+ CommsSend(c, buf);
+ return;
+ }
+@@ -5217,7 +5217,7 @@
+
+ if (!groups)
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no memory");
++ snprintf(buf, sizeof(buf), "Error: no memory");
+ CommsSend(c, buf);
+ return;
+ }
+@@ -5228,20 +5228,20 @@
+ {
+ groups = (Group **) ListItemType(&num_groups, LIST_TYPE_GROUP);
+
+- Esnprintf(buf, sizeof(buf), "Number of groups: %d", num_groups);
++ snprintf(buf, sizeof(buf), "Number of groups: %d", num_groups);
+ }
+
+ for (i = 0; i < num_groups; i++)
+ {
+ for (j = 0; j < groups[i]->num_members; j++)
+ {
+- Esnprintf(tmp, sizeof(tmp), "%d", groups[i]->index);
++ snprintf(tmp, sizeof(tmp), "%d", groups[i]->index);
+ strcat(buf, tmp);
+ strcat(buf, ": ");
+ strcat(buf, groups[i]->members[j]->client.title);
+ strcat(buf, "\n");
+ }
+- Esnprintf(buf2, sizeof(buf2),
++ snprintf(buf2, sizeof(buf2),
+ " index: %d\n" " num_members: %d\n"
+ " iconify: %d\n" " kill: %d\n"
+ " move: %d\n" " raise: %d\n"
+@@ -5291,7 +5291,7 @@
+
+ if (!operation[0])
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no operation specified");
++ snprintf(buf, sizeof(buf), "Error: no operation specified");
+ }
+ else
+ {
+@@ -5300,7 +5300,7 @@
+ ewin = FindEwinByChildren(win);
+ if (!ewin)
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no such window: %8x",
++ snprintf(buf, sizeof(buf), "Error: no such window: %8x",
+ win);
+ }
+ else
+@@ -5308,7 +5308,7 @@
+ if (!strcmp(operation, "start"))
+ {
+ BuildWindowGroup(&ewin, 1);
+- Esnprintf(buf, sizeof(buf), "start %8x", win);
++ snprintf(buf, sizeof(buf), "start %8x", win);
+ }
+ else if (!strcmp(operation, "add"))
+ {
+@@ -5323,7 +5323,7 @@
+ LIST_TYPE_GROUP);
+ }
+ AddEwinToGroup(ewin, group);
+- Esnprintf(buf, sizeof(buf), "add %8x", win);
++ snprintf(buf, sizeof(buf), "add %8x", win);
+ }
+ else if (!strcmp(operation, "remove"))
+ {
+@@ -5338,7 +5338,7 @@
+ LIST_TYPE_GROUP);
+ }
+ RemoveEwinFromGroup(ewin, group);
+- Esnprintf(buf, sizeof(buf), "remove %8x", win);
++ snprintf(buf, sizeof(buf), "remove %8x", win);
+ }
+ else if (!strcmp(operation, "break"))
+ {
+@@ -5353,16 +5353,16 @@
+ LIST_TYPE_GROUP);
+ }
+ BreakWindowGroup(ewin, group);
+- Esnprintf(buf, sizeof(buf), "break %8x", win);
++ snprintf(buf, sizeof(buf), "break %8x", win);
+ }
+ else if (!strcmp(operation, "showhide"))
+ {
+ doShowHideGroup(windowid);
+- Esnprintf(buf, sizeof(buf), "showhide %8x", win);
++ snprintf(buf, sizeof(buf), "showhide %8x", win);
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: no such operation: %s", operation);
+
+ }
+@@ -5371,7 +5371,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no window specified");
++ snprintf(buf, sizeof(buf), "Error: no window specified");
+ }
+
+ if (buf)
+@@ -5405,7 +5405,7 @@
+
+ if (!operation[0])
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no operation specified");
++ snprintf(buf, sizeof(buf), "Error: no operation specified");
+ }
+ else
+ {
+@@ -5416,7 +5416,7 @@
+
+ if (!group)
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no such group: %d",
++ snprintf(buf, sizeof(buf), "Error: no such group: %d",
+ index);
+ }
+ else
+@@ -5431,12 +5431,12 @@
+
+ if (onoff == -1 && strcmp(param1, "?"))
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: unknown mode specified");
+ }
+ else if (!strcmp(operation, "num_members"))
+ {
+- Esnprintf(buf, sizeof(buf), "num_members: %d",
++ snprintf(buf, sizeof(buf), "num_members: %d",
+ group->num_members);
+ onoff = -1;
+ }
+@@ -5498,7 +5498,7 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf),
++ snprintf(buf, sizeof(buf),
+ "Error: no such operation: %s",
+ operation);
+ onoff = -1;
+@@ -5506,19 +5506,19 @@
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no mode specified");
++ snprintf(buf, sizeof(buf), "Error: no mode specified");
+ }
+ }
+
+ if (onoff == 1)
+- Esnprintf(buf, sizeof(buf), "%s: on", operation);
++ snprintf(buf, sizeof(buf), "%s: on", operation);
+ else if (onoff == 0)
+- Esnprintf(buf, sizeof(buf), "%s: off", operation);
++ snprintf(buf, sizeof(buf), "%s: off", operation);
+ }
+ }
+ else
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no group specified");
++ snprintf(buf, sizeof(buf), "Error: no group specified");
+ }
+
+ if (buf)
+@@ -5564,7 +5564,7 @@
+ lst = (Snapshot **) ListItemType(&num, LIST_TYPE_SNAPSHOT);
+ if (!num)
+ {
+- Esnprintf(buf, sizeof(buf), "Error: no remembered windows\n");
++ snprintf(buf, sizeof(buf), "Error: no remembered windows\n");
+ }
+ else
+ {
+@@ -5575,7 +5575,7 @@
+ if (!lst[i] || (lst[i] && !lst[i]->used))
+ j++;
+ }
+- Esnprintf(buf, sizeof(buf), "Number of remembered windows: %d\n",
++ snprintf(buf, sizeof(buf), "Number of remembered windows: %d\n",
+ num - j);
+ }
+ /* strncat(buf, buf2, sizeof(buf)); */
+@@ -5585,12 +5585,12 @@
+ {
+ if (!f)
+ {
+- Esnprintf(buf2, sizeof(buf2), "%s\n",
++ snprintf(buf2, sizeof(buf2), "%s\n",
+ lst[i]->name ? lst[i]->name : nstr);
+ }
+ else
+ {
+- Esnprintf(buf2, sizeof(buf2),
++ snprintf(buf2, sizeof(buf2),
+ " Name: %s\n"
+ " Window Title: %s\n"
+ " Window Name: %s\n"
+diff -Nru enlightenment-0.16.5/src/kde.c enlightenment-0.16.5.new/src/kde.c
+--- enlightenment-0.16.5/src/kde.c Wed Jul 26 20:00:47 2000
++++ enlightenment-0.16.5.new/src/kde.c Fri Jul 20 05:26:31 2001
+@@ -1208,12 +1208,12 @@
+
+ if (!KDE_DESKTOP_NAME[i])
+ {
+- Esnprintf(s, sizeof(s), "KWM_DESKTOP_NAME_%d", i + 1);
++ snprintf(s, sizeof(s), "KWM_DESKTOP_NAME_%d", i + 1);
+ KDE_DESKTOP_NAME[i] = XInternAtom(disp, s, False);
+ }
+ if (!getSimpleHint(root.win, KDE_DESKTOP_NAME[i]))
+ {
+- Esnprintf(s, sizeof(s), "Desk %d", i);
++ snprintf(s, sizeof(s), "Desk %d", i);
+ XChangeProperty(disp, root.win, KDE_DESKTOP_NAME[i], XA_STRING, 8,
+ PropModeReplace, (unsigned char *)s,
+ strlen(s) + 1);
+@@ -1249,7 +1249,7 @@
+
+ if (!KDE_DESKTOP_WINDOW_REGION[i])
+ {
+- Esnprintf(s, sizeof(s), "KWM_WINDOW_REGION_%d", i + 1);
++ snprintf(s, sizeof(s), "KWM_WINDOW_REGION_%d", i + 1);
+ KDE_DESKTOP_WINDOW_REGION[i] = XInternAtom(disp, s, False);
+ }
+ if (a == KDE_DESKTOP_WINDOW_REGION[i])
+@@ -1276,7 +1276,7 @@
+ }
+ if (i == 1)
+ {
+- /* Esnprintf(s, sizeof(s), "region %d changed to area:\n"
++ /* snprintf(s, sizeof(s), "region %d changed to area:\n"
+ * "X %d to %d\nY to %d to %d\n", i + 1, data[0], data[2],
+ * data[1], data[3]);
+ * DIALOG_OK("kde hint",s); */
+diff -Nru enlightenment-0.16.5/src/main.c enlightenment-0.16.5.new/src/main.c
+--- enlightenment-0.16.5/src/main.c Fri Jul 28 19:23:35 2000
++++ enlightenment-0.16.5.new/src/main.c Fri Jul 20 05:26:34 2001
+@@ -33,7 +33,7 @@
+ if (fork())
+ EDBUG_RETURN_;
+
+- Esnprintf(file, sizeof(file), "exec %s/dox %s/E-docs", ENLIGHTENMENT_BIN,
++ snprintf(file, sizeof(file), "exec %s/dox %s/E-docs", ENLIGHTENMENT_BIN,
+ ENLIGHTENMENT_ROOT);
+ execl(usershell(getuid()), usershell(getuid()), "-c", (char *)file, NULL);
+ exit(0);
+@@ -114,7 +114,7 @@
+ {
+ if ((!strcmp("-theme", argv[j])) && (argc - j > 1))
+ {
+- Esnprintf(themepath, sizeof(themepath), "%s", argv[++j]);
++ snprintf(themepath, sizeof(themepath), "%s", argv[++j]);
+ }
+ else if ((!strcmp("-econfdir", argv[j])) && (argc - j > 1))
+ {
+@@ -210,7 +210,7 @@
+ s[0] = 0;
+ fclose(f);
+ if (s[0])
+- Esnprintf(themepath, sizeof(themepath), "%s", s);
++ snprintf(themepath, sizeof(themepath), "%s", s);
+ }
+ Efree(file);
+ }
+@@ -222,7 +222,7 @@
+ def = GetDefaultTheme();
+ if (def)
+ {
+- Esnprintf(themepath, sizeof(themepath), "%s", def);
++ snprintf(themepath, sizeof(themepath), "%s", def);
+ Efree(def);
+ }
+ }
+diff -Nru enlightenment-0.16.5/src/menus.c enlightenment-0.16.5.new/src/menus.c
+--- enlightenment-0.16.5/src/menus.c Fri Jul 28 19:23:35 2000
++++ enlightenment-0.16.5.new/src/menus.c Fri Jul 20 05:28:20 2001
+@@ -606,7 +606,7 @@
+ if (m->win)
+ EDestroyWindow(disp, m->win);
+
+- Esnprintf(s, sizeof(s), "__.%s", m->name);
++ snprintf(s, sizeof(s), "__.%s", m->name);
+ RemoveTimerEvent(s);
+ RemoveItem((char *)m, m->win, LIST_FINDBY_POINTER, LIST_TYPE_MENU);
+ if (m->name)
+@@ -1102,7 +1102,7 @@
+ cc = st.st_mtime;
+ else
+ cc = st.st_ctime;
+- Esnprintf(cs, sizeof(cs),
++ snprintf(cs, sizeof(cs),
+ "%s/cached/img/.%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",
+ UserCacheDir(), chmap[(aa >> 0) & 0x3f],
+ chmap[(aa >> 6) & 0x3f], chmap[(aa >> 12) & 0x3f],
+@@ -1141,7 +1141,7 @@
+ ImlibImage *im;
+
+ word(s, 2, s2);
+- Esnprintf(ss, sizeof(ss), "%s/%s", dir, s2);
++ snprintf(ss, sizeof(ss), "%s/%s", dir, s2);
+ im = Imlib_load_image(id, ss);
+ if (im)
+ {
+@@ -1155,7 +1155,7 @@
+ int maxw = 48, maxh = 48;
+ int justx = 512, justy = 512;
+
+- Esnprintf(s2, sizeof(s2), "%s/cached/img/%s",
++ snprintf(s2, sizeof(s2), "%s/cached/img/%s",
+ UserCacheDir(), s3);
+ width = im->rgb_width;
+ height = im->rgb_height;
+@@ -1242,7 +1242,7 @@
+ ic = CreateIclass();
+ ic->name = duplicate("`");
+ ic->norm.normal = CreateImageState();
+- Esnprintf(stmp, sizeof(stmp), "%s/cached/img/%s",
++ snprintf(stmp, sizeof(stmp), "%s/cached/img/%s",
+ UserCacheDir(), s3);
+ ic->norm.normal->im_file = duplicate(stmp);
+ ic->norm.normal->unloadable = 1;
+@@ -1257,7 +1257,7 @@
+ else if (!strcmp(ss, "EXE"))
+ {
+ word(s, 2, ss);
+- Esnprintf(s, sizeof(s), "%s/%s", dir, ss);
++ snprintf(s, sizeof(s), "%s/%s", dir, ss);
+ mi = CreateMenuItem(NULL, NULL, ACTION_EXEC, s, NULL);
+ AddItemToMenu(m, mi);
+ }
+@@ -1266,8 +1266,8 @@
+ char tmp[4096];
+
+ word(s, 2, tmp);
+- Esnprintf(s, sizeof(s), "%s/%s:%s", dir, tmp, name);
+- Esnprintf(ss, sizeof(ss), "%s/%s", dir, tmp);
++ snprintf(s, sizeof(s), "%s/%s:%s", dir, tmp, name);
++ snprintf(ss, sizeof(ss), "%s/%s", dir, tmp);
+ mm = CreateMenuFromDirectory(s, ms, ss);
+ mm->parent = m;
+ AddItem(mm, mm->name, mm->win, LIST_TYPE_MENU);
+@@ -1280,7 +1280,7 @@
+ }
+ }
+ list = ls(dir, &num);
+- Esnprintf(s, sizeof(s), "Scanning %s", dir);
++ snprintf(s, sizeof(s), "Scanning %s", dir);
+ if (!init_win_ext)
+ p = CreateProgressbar(s, 600, 16);
+ if (p)
+@@ -1290,15 +1290,15 @@
+ {
+ if (p)
+ SetProgressbar(p, (i * 100) / num);
+- Esnprintf(ss, sizeof(ss), "%s/%s", dir, list[i]);
++ snprintf(ss, sizeof(ss), "%s/%s", dir, list[i]);
+ /* skip "dot" files and dirs - senisble */
+ if ((*(list[i]) != '.') && (stat(ss, &st) >= 0))
+ {
+ ext = FileExtension(ss);
+ if (S_ISDIR(st.st_mode))
+ {
+- Esnprintf(s, sizeof(s), "%s/%s:%s", dir, list[i], name);
+- Esnprintf(ss, sizeof(ss), "%s/%s", dir, list[i]);
++ snprintf(s, sizeof(s), "%s/%s:%s", dir, list[i], name);
++ snprintf(ss, sizeof(ss), "%s/%s", dir, list[i]);
+ mm = CreateMenuFromDirectory(s, ms, ss);
+ mm->parent = m;
+ AddItem(mm, mm->name, mm->win, LIST_TYPE_MENU);
+@@ -1351,7 +1351,7 @@
+ cc = st.st_mtime;
+ else
+ cc = st.st_ctime;
+- Esnprintf(s3, sizeof(s3),
++ snprintf(s3, sizeof(s3),
+ ".%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",
+ chmap[(aa >> 0) & 0x3f], chmap[(aa >> 6) & 0x3f],
+ chmap[(aa >> 12) & 0x3f], chmap[(aa >> 18) & 0x3f],
+@@ -1380,7 +1380,7 @@
+ int scr_asp, im_asp, w2, h2;
+ int maxw = 48, maxh = 48;
+
+- Esnprintf(s2, sizeof(s2), "%s/cached/img/%s",
++ snprintf(s2, sizeof(s2), "%s/cached/img/%s",
+ UserCacheDir(), s3);
+ width = im->rgb_width;
+ height = im->rgb_height;
+@@ -1455,7 +1455,7 @@
+ ic = CreateIclass();
+ ic->name = duplicate("`");
+ ic->norm.normal = CreateImageState();
+- Esnprintf(stmp, sizeof(stmp), "%s/cached/img/%s",
++ snprintf(stmp, sizeof(stmp), "%s/cached/img/%s",
+ UserCacheDir(), s3);
+ ic->norm.normal->im_file = duplicate(stmp);
+ ic->norm.normal->unloadable = 1;
+@@ -1509,7 +1509,7 @@
+ FillFlatFileMenu(m, m->style, m->name, ff, m);
+ m->data = ff;
+ m->ref_menu = parent;
+- Esnprintf(s, sizeof(s), "__.%s", m->name);
++ snprintf(s, sizeof(s), "__.%s", m->name);
+ DoIn(s, 2.0, FileMenuUpdate, 0, m);
+ calls--;
+ EDBUG_RETURN(m);
+@@ -1566,7 +1566,7 @@
+ tmp = NULL;
+ if (icon)
+ {
+- Esnprintf(wd, sizeof(wd), "__FM.%s", icon);
++ snprintf(wd, sizeof(wd), "__FM.%s", icon);
+ icc =
+ FindItem(wd, 0, LIST_FINDBY_NAME, LIST_TYPE_ICLASS);
+ if (!icc)
+@@ -1603,7 +1603,7 @@
+ }
+ else if ((act) && (!strcmp(act, "menu")) && (params))
+ {
+- Esnprintf(wd, sizeof(wd), "__FM.%s.%i", name, count);
++ snprintf(wd, sizeof(wd), "__FM.%s.%i", name, count);
+ count++;
+ mm = CreateMenuFromFlatFile(wd, ms, params, parent);
+ if (mm)
+@@ -1648,7 +1648,7 @@
+ /* if the menu is up dont update */
+ if (((mode.cur_menu_mode) || (clickmenu)) && (mode.cur_menu_depth > 0))
+ {
+- Esnprintf(s, sizeof(s), "__.%s", m->name);
++ snprintf(s, sizeof(s), "__.%s", m->name);
+ DoIn(s, 2.0, FileMenuUpdate, 0, m);
+ return;
+ }
+@@ -1668,7 +1668,7 @@
+ m->last_change = lastmod;
+ if (m == mm)
+ {
+- Esnprintf(s, sizeof(s), "__.%s", m->name);
++ snprintf(s, sizeof(s), "__.%s", m->name);
+ DoIn(s, 2.0, FileMenuUpdate, 0, m);
+ }
+ EmptyMenu(mm);
+@@ -1676,7 +1676,7 @@
+ RepackMenu(mm);
+ return;
+ }
+- Esnprintf(s, sizeof(s), "__.%s", m->name);
++ snprintf(s, sizeof(s), "__.%s", m->name);
+ DoIn(s, 2.0, FileMenuUpdate, 0, m);
+ val = 0;
+ }
+@@ -1695,7 +1695,7 @@
+ EDBUG(5, "CreateMenuFromGnome");
+
+ if ((lang = setlocale(LC_MESSAGES, NULL)) != NULL)
+- Esnprintf(name_buf, sizeof(name_buf), "Name[%s]=", lang);
++ snprintf(name_buf, sizeof(name_buf), "Name[%s]=", lang);
+ else
+ name_buf[0] = '\0';
+
+@@ -1707,17 +1707,17 @@
+ {
+ if ((strcmp(list[i], ".")) && (strcmp(list[i], "..")))
+ {
+- Esnprintf(ss, sizeof(ss), "%s/%s", dir, list[i]);
++ snprintf(ss, sizeof(ss), "%s/%s", dir, list[i]);
+ if (isdir(ss))
+ {
+- Esnprintf(s, sizeof(s), "%s/%s:%s", dir, list[i], name);
++ snprintf(s, sizeof(s), "%s/%s:%s", dir, list[i], name);
+ mm = CreateMenuFromGnome(s, ms, ss);
+ mm->parent = m;
+ AddItem(mm, mm->name, mm->win, LIST_TYPE_MENU);
+ name = list[i];
+ if (name_buf[0])
+ {
+- Esnprintf(s, sizeof(s), "%s/.directory", ss);
++ snprintf(s, sizeof(s), "%s/.directory", ss);
+ if ((f = fopen(s, "r")) != NULL)
+ {
+ while (fgets(s, sizeof(s), f))
+@@ -1827,7 +1827,7 @@
+ for (i = 0; i < num; i++)
+ {
+ s = fullfileof(lst[i]);
+- Esnprintf(ss, sizeof(ss), "restart_theme %s", s);
++ snprintf(ss, sizeof(ss), "restart_theme %s", s);
+ Efree(s);
+ s = fileof(lst[i]);
+ mi = CreateMenuItem(s, NULL, ACTION_EXIT, ss, NULL);
+@@ -1905,7 +1905,7 @@
+ if ((!lst[i]->menu) && (!lst[i]->pager) && (!lst[i]->skipwinlist)
+ && (lst[i]->client.title) && (!lst[i]->ibox))
+ {
+- Esnprintf(s, sizeof(s), "%i", (int)(lst[i]->client.win));
++ snprintf(s, sizeof(s), "%i", (int)(lst[i]->client.win));
+ mi =
+ CreateMenuItem(lst[i]->client.title, NULL,
+ ACTION_FOCUS_SET, s, NULL);
+@@ -1942,7 +1942,7 @@
+ && (!lst[i]->skipwinlist) && (lst[i]->client.title)
+ && (!lst[i]->ibox))
+ {
+- Esnprintf(s, sizeof(s), "%i", (int)(lst[i]->client.win));
++ snprintf(s, sizeof(s), "%i", (int)(lst[i]->client.win));
+ mi =
+ CreateMenuItem(lst[i]->client.title, NULL,
+ ACTION_FOCUS_SET, s, NULL);
+@@ -1975,7 +1975,7 @@
+ mm = CreateMenu();
+ mm->name = duplicate("__SUBMENUDESK_E");
+ mm->style = ms;
+- Esnprintf(s, sizeof(s), "%i", j);
++ snprintf(s, sizeof(s), "%i", j);
+ mi =
+ CreateMenuItem(_("Go to this Desktop"), NULL, ACTION_GOTO_DESK, s,
+ NULL);
+@@ -1986,7 +1986,7 @@
+ && (!lst[i]->pager) && (!lst[i]->skipwinlist)
+ && (lst[i]->client.title) && (!lst[i]->ibox))
+ {
+- Esnprintf(s, sizeof(s), "%i", (int)(lst[i]->client.win));
++ snprintf(s, sizeof(s), "%i", (int)(lst[i]->client.win));
+ mi =
+ CreateMenuItem(lst[i]->client.title, NULL,
+ ACTION_FOCUS_SET, s, NULL);
+@@ -1994,7 +1994,7 @@
+ }
+ }
+ mm->parent = m;
+- Esnprintf(s, sizeof(s), _("Desktop %i"), j);
++ snprintf(s, sizeof(s), _("Desktop %i"), j);
+ mi = CreateMenuItem(s, NULL, 0, NULL, mm);
+ AddItemToMenu(m, mi);
+ }
+@@ -2056,7 +2056,7 @@
+ mm = CreateMenu();
+ mm->name = duplicate("__SUBMENUGROUP_E");
+ mm->style = ms;
+- Esnprintf(s, sizeof(s), "%i", lst[i]->members[0]->client.win);
++ snprintf(s, sizeof(s), "%i", lst[i]->members[0]->client.win);
+ mi =
+ CreateMenuItem(_("Show/Hide this group"), NULL,
+ ACTION_SHOW_HIDE_GROUP, s, NULL);
+@@ -2068,14 +2068,14 @@
+
+ for (j = 0; j < lst[i]->num_members; j++)
+ {
+- Esnprintf(s, sizeof(s), "%i", lst[i]->members[j]->client.win);
++ snprintf(s, sizeof(s), "%i", lst[i]->members[j]->client.win);
+ mi =
+ CreateMenuItem(lst[i]->members[j]->client.title, NULL,
+ ACTION_FOCUS_SET, s, NULL);
+ AddItemToMenu(mm, mi);
+ }
+ mm->parent = m;
+- Esnprintf(s, sizeof(s), _("Group %i"), i);
++ snprintf(s, sizeof(s), _("Group %i"), i);
+ mi = CreateMenuItem(s, NULL, 0, NULL, mm);
+ AddItemToMenu(m, mi);
+ }
+diff -Nru enlightenment-0.16.5/src/misc.c enlightenment-0.16.5.new/src/misc.c
+--- enlightenment-0.16.5/src/misc.c Wed Jul 26 20:00:47 2000
++++ enlightenment-0.16.5.new/src/misc.c Fri Jul 20 05:28:53 2001
+@@ -51,9 +51,9 @@
+ for (i = 0; i < 3; i++)
+ {
+ #ifndef __EMX__
+- Esnprintf(s, sizeof(s), "%s/%s", ENLIGHTENMENT_BIN, bins[i]);
++ snprintf(s, sizeof(s), "%s/%s", ENLIGHTENMENT_BIN, bins[i]);
+ #else
+- Esnprintf(s, sizeof(s), "%s/%s", __XOS2RedirRoot(ENLIGHTENMENT_BIN),
++ snprintf(s, sizeof(s), "%s/%s", __XOS2RedirRoot(ENLIGHTENMENT_BIN),
+ bins[i]);
+ #endif
+ if (!exists(s))
+@@ -81,14 +81,14 @@
+ "correctly.\n"), s);
+ EExit(NULL);
+ }
+- Esnprintf(s, sizeof(s), "%s/dox", ENLIGHTENMENT_BIN);
++ snprintf(s, sizeof(s), "%s/dox", ENLIGHTENMENT_BIN);
+ }
+ for (i = 0; i < 3; i++)
+ {
+ #ifndef __EMX__
+- Esnprintf(s, sizeof(s), "%s/%s", ENLIGHTENMENT_ROOT, docs[i]);
++ snprintf(s, sizeof(s), "%s/%s", ENLIGHTENMENT_ROOT, docs[i]);
+ #else
+- Esnprintf(s, sizeof(s), "%s/%s", __XOS2RedirRoot(ENLIGHTENMENT_ROOT),
++ snprintf(s, sizeof(s), "%s/%s", __XOS2RedirRoot(ENLIGHTENMENT_ROOT),
+ docs[i]);
+ #endif
+ if (!exists(s))
+@@ -109,9 +109,9 @@
+ for (i = 0; i < 1; i++)
+ {
+ #ifndef __EMX__
+- Esnprintf(s, sizeof(s), "%s/%s", ENLIGHTENMENT_ROOT, thms[i]);
++ snprintf(s, sizeof(s), "%s/%s", ENLIGHTENMENT_ROOT, thms[i]);
+ #else
+- Esnprintf(s, sizeof(s), "%s/%s", __XOS2RedirRoot(ENLIGHTENMENT_ROOT),
++ snprintf(s, sizeof(s), "%s/%s", __XOS2RedirRoot(ENLIGHTENMENT_ROOT),
+ thms[i]);
+ #endif
+ if (!exists(s))
+@@ -146,7 +146,7 @@
+ char *home, buf[4096];
+
+ home = homedir(getuid());
+- Esnprintf(buf, sizeof(buf), "%s/.enlightenment", home);
++ snprintf(buf, sizeof(buf), "%s/.enlightenment", home);
+ Efree(home);
+ dir = duplicate(buf);
+ }
+@@ -221,9 +221,9 @@
+ char sss[FILEPATH_LEN_MAX];
+
+ #ifndef __EMX__
+- Esnprintf(sss, sizeof(sss), "/bin/rm -rf %s", themepath);
++ snprintf(sss, sizeof(sss), "/bin/rm -rf %s", themepath);
+ #else
+- Esnprintf(sss, sizeof(sss), "rm.exe -rf %s", themepath);
++ snprintf(sss, sizeof(sss), "rm.exe -rf %s", themepath);
+ #endif
+ system(sss);
+ }
+@@ -434,93 +434,93 @@
+ char s[4096];
+
+ return 1;
+- Esnprintf(s, sizeof(s), "%s/%s", dir, "borders.cfg");
++ snprintf(s, sizeof(s), "%s/%s", dir, "borders.cfg");
+ if (!isfile(s))
+ {
+ badreason = _("Theme does not contain a borders.cfg file\n");
+ return 0;
+ }
+- Esnprintf(s, sizeof(s), "%s/%s", dir, "buttons.cfg");
++ snprintf(s, sizeof(s), "%s/%s", dir, "buttons.cfg");
+ if (!isfile(s))
+ {
+ badreason = _("Theme does not contain a buttons.cfg file\n");
+ return 0;
+ }
+- Esnprintf(s, sizeof(s), "%s/%s", dir, "colormodifiers.cfg");
++ snprintf(s, sizeof(s), "%s/%s", dir, "colormodifiers.cfg");
+ if (!isfile(s))
+ {
+ badreason = _("Theme does not contain a colormodifiers.cfg file\n");
+ return 0;
+ }
+- Esnprintf(s, sizeof(s), "%s/%s", dir, "cursors.cfg");
++ snprintf(s, sizeof(s), "%s/%s", dir, "cursors.cfg");
+ if (!isfile(s))
+ {
+ badreason = _("Theme does not contain a cursors.cfg file\n");
+ return 0;
+ }
+- Esnprintf(s, sizeof(s), "%s/%s", dir, "desktops.cfg");
++ snprintf(s, sizeof(s), "%s/%s", dir, "desktops.cfg");
+ if (!isfile(s))
+ {
+ badreason = _("Theme does not contain a desktops.cfg file\n");
+ return 0;
+ }
+- Esnprintf(s, sizeof(s), "%s/%s", dir, "imageclasses.cfg");
++ snprintf(s, sizeof(s), "%s/%s", dir, "imageclasses.cfg");
+ if (!isfile(s))
+ {
+ badreason = _("Theme does not contain a imageclasses.cfg file\n");
+ return 0;
+ }
+- Esnprintf(s, sizeof(s), "%s/%s", dir, "init.cfg");
++ snprintf(s, sizeof(s), "%s/%s", dir, "init.cfg");
+ if (!isfile(s))
+ {
+ badreason = _("Theme does not contain a init.cfg file\n");
+ return 0;
+ }
+- Esnprintf(s, sizeof(s), "%s/%s", dir, "menustyles.cfg");
++ snprintf(s, sizeof(s), "%s/%s", dir, "menustyles.cfg");
+ if (!isfile(s))
+ {
+ badreason = _("Theme does not contain a menustyles.cfg file\n");
+ return 0;
+ }
+- Esnprintf(s, sizeof(s), "%s/%s", dir, "slideouts.cfg");
++ snprintf(s, sizeof(s), "%s/%s", dir, "slideouts.cfg");
+ if (!isfile(s))
+ {
+ badreason = _("Theme does not contain a slideouts.cfg file\n");
+ return 0;
+ }
+ #ifndef __EMX__ /* OS/2 Team will compile ESound after XMMS project */
+- Esnprintf(s, sizeof(s), "%s/%s", dir, "sound.cfg");
++ snprintf(s, sizeof(s), "%s/%s", dir, "sound.cfg");
+ if (!isfile(s))
+ {
+ badreason = _("Theme does not contain a sound.cfg file\n");
+ return 0;
+ }
+ #endif
+- Esnprintf(s, sizeof(s), "%s/%s", dir, "tooltips.cfg");
++ snprintf(s, sizeof(s), "%s/%s", dir, "tooltips.cfg");
+ if (!isfile(s))
+ {
+ badreason = _("Theme does not contain a tooltips.cfg file\n");
+ return 0;
+ }
+- Esnprintf(s, sizeof(s), "%s/%s", dir, "windowmatches.cfg");
++ snprintf(s, sizeof(s), "%s/%s", dir, "windowmatches.cfg");
+ if (!isfile(s))
+ {
+ badreason = _("Theme does not contain a windowmatches.cfg file\n");
+ return 0;
+ }
+- Esnprintf(s, sizeof(s), "%s/%s", dir, "menus.cfg");
++ snprintf(s, sizeof(s), "%s/%s", dir, "menus.cfg");
+ if (isfile(s))
+ {
+ badreason = _("Theme contains a menus.cfg file\n");
+ return 0;
+ }
+- Esnprintf(s, sizeof(s), "%s/%s", dir, "control.cfg");
++ snprintf(s, sizeof(s), "%s/%s", dir, "control.cfg");
+ if (isfile(s))
+ {
+ badreason = _("Theme contains a control.cfg file\n");
+ return 0;
+ }
+- Esnprintf(s, sizeof(s), "%s/%s", dir, "keybindings.cfg");
++ snprintf(s, sizeof(s), "%s/%s", dir, "keybindings.cfg");
+ if (isfile(s))
+ {
+ badreason = _("Theme contains a keybindings.cfg file\n");
+diff -Nru enlightenment-0.16.5/src/modules.c enlightenment-0.16.5.new/src/modules.c
+--- enlightenment-0.16.5/src/modules.c Wed Jul 26 20:00:47 2000
++++ enlightenment-0.16.5.new/src/modules.c Fri Jul 20 05:29:33 2001
+@@ -69,7 +69,7 @@
+
+ char pathoffiletoload[FILEPATH_LEN_MAX];
+
+- Esnprintf(pathoffiletoload, sizeof(pathoffiletoload), "%s/%s",
++ snprintf(pathoffiletoload, sizeof(pathoffiletoload), "%s/%s",
+ FindModulePath(module_name), module_name);
+ handle = dlopen(pathoffiletoload, RTLD_LAZY);
+
+diff -Nru enlightenment-0.16.5/src/pager.c enlightenment-0.16.5.new/src/pager.c
+--- enlightenment-0.16.5/src/pager.c Fri Jul 28 19:23:35 2000
++++ enlightenment-0.16.5.new/src/pager.c Fri Jul 20 05:29:30 2001
+@@ -454,7 +454,7 @@
+ static int offsets[8] = { 0, 4, 2, 6, 1, 5, 3, 7 };
+
+ p = (Pager *) data;
+- Esnprintf(s, sizeof(s), "__.%x", p->win);
++ snprintf(s, sizeof(s), "__.%x", p->win);
+ /* prevent runaway pager timeouts - dont knwo how it happens - but hack */
+ /* around to stop it */
+ cur_time = GetTime();
+@@ -669,7 +669,7 @@
+ ShowEwin(p->ewin);
+ return;
+ }
+- Esnprintf(s, sizeof(s), "%i", p->desktop);
++ snprintf(s, sizeof(s), "%i", p->desktop);
+ xch = XAllocClassHint();
+ xch->res_name = s;
+ xch->res_class = "Enlightenment_Pager";
+@@ -729,7 +729,7 @@
+ RememberImportantInfoForEwin(ewin);
+ if (SNAP)
+ {
+- Esnprintf(s, sizeof(s), "__.%x", p->win);
++ snprintf(s, sizeof(s), "__.%x", p->win);
+ if (mode.pager_scanspeed > 0)
+ DoIn(s, 1 / ((double)mode.pager_scanspeed), PagerUpdateTimeout,
+ 0, p);
+@@ -745,7 +745,7 @@
+ char s[4096];
+
+ RemoveItem("PAGER", p->win, LIST_FINDBY_ID, LIST_TYPE_PAGER);
+- Esnprintf(s, sizeof(s), "__.%x", p->win);
++ snprintf(s, sizeof(s), "__.%x", p->win);
+ RemoveTimerEvent(s);
+ if (p->name)
+ Efree(p->name);
+@@ -1006,7 +1006,7 @@
+ ImlibImage *im;
+
+ uniq = GetUniqueBGString(desks.desk[p->desktop].bg);
+- Esnprintf(s, sizeof(s), "%s/cached/pager/%s.%i.%i.%s",
++ snprintf(s, sizeof(s), "%s/cached/pager/%s.%i.%i.%s",
+ UserCacheDir(),
+ desks.desk[p->desktop].bg->name, (p->w / ax),
+ (p->h / ay), uniq);
+@@ -1270,7 +1270,7 @@
+ pw_menu->style =
+ FindItem("DEFAULT", 0, LIST_FINDBY_NAME, LIST_TYPE_MENU_STYLE);
+
+- Esnprintf(s, sizeof(s), "%i", ewin->client.win);
++ snprintf(s, sizeof(s), "%i", ewin->client.win);
+ mi = CreateMenuItem(_("Iconify"), NULL, ACTION_ICONIFY, s, NULL);
+ AddItemToMenu(pw_menu, mi);
+
+@@ -1284,7 +1284,7 @@
+ AddItemToMenu(pw_menu, mi);
+
+ AddItem(pw_menu, pw_menu->name, 0, LIST_TYPE_MENU);
+- Esnprintf(s, sizeof(s), "named %s", pw_menu->name);
++ snprintf(s, sizeof(s), "named %s", pw_menu->name);
+ spawnMenu(s);
+ return;
+ }
+@@ -1325,7 +1325,7 @@
+ AddItemToMenu(p_menu, mi);
+ }
+ AddItem(p_menu, p_menu->name, 0, LIST_TYPE_MENU);
+- Esnprintf(s, sizeof(s), "named %s", p_menu->name);
++ snprintf(s, sizeof(s), "named %s", p_menu->name);
+ spawnMenu(s);
+ }
+
+@@ -1713,7 +1713,7 @@
+ if (p)
+ {
+ p->desktop = desk;
+- Esnprintf(s, sizeof(s), "%i", desk);
++ snprintf(s, sizeof(s), "%i", desk);
+ PagerTitle(p, s);
+ PagerShow(p);
+ }
+@@ -1734,7 +1734,7 @@
+ if (p)
+ {
+ p->desktop = desk;
+- Esnprintf(s, sizeof(s), "%i", desk);
++ snprintf(s, sizeof(s), "%i", desk);
+ PagerTitle(p, s);
+ PagerShow(p);
+ }
+@@ -1865,7 +1865,7 @@
+ PagerForceUpdate(pl[i]);
+ if (SNAP)
+ {
+- Esnprintf(s, sizeof(s), "__.%x", pl[i]->win);
++ snprintf(s, sizeof(s), "__.%x", pl[i]->win);
+ if (mode.pager_scanspeed > 0)
+ DoIn(s, 1 / ((double)mode.pager_scanspeed),
+ PagerUpdateTimeout, 0, pl[i]);
+diff -Nru enlightenment-0.16.5/src/progress.c enlightenment-0.16.5.new/src/progress.c
+--- enlightenment-0.16.5/src/progress.c Fri Jul 28 19:23:35 2000
++++ enlightenment-0.16.5.new/src/progress.c Fri Jul 20 05:31:13 2001
+@@ -92,7 +92,7 @@
+ w = 1;
+ if (w > p->w)
+ w = p->w;
+- Esnprintf(s, sizeof(s), "%i%%", p->value);
++ snprintf(s, sizeof(s), "%i%%", p->value);
+ pq = queue_up;
+ queue_up = 0;
+ TclassApply(p->inc, p->n_win, p->h * 5, p->h, 0, 0, STATE_CLICKED, 0,
+diff -Nru enlightenment-0.16.5/src/scursor.c enlightenment-0.16.5.new/src/scursor.c
+--- enlightenment-0.16.5/src/scursor.c Fri Jul 28 21:13:13 2000
++++ enlightenment-0.16.5.new/src/scursor.c Fri Jul 20 05:31:30 2001
+@@ -136,7 +136,7 @@
+ ImlibImage *im;
+ Pixmap pmap, mask;
+
+- Esnprintf(s, sizeof(s), "pix/wait%i.png", wait_count);
++ snprintf(s, sizeof(s), "pix/wait%i.png", wait_count);
+ wait_count++;
+ if (wait_count > 12)
+ wait_count = 1;
+diff -Nru enlightenment-0.16.5/src/session.c enlightenment-0.16.5.new/src/session.c
+--- enlightenment-0.16.5/src/session.c Wed Jul 26 20:00:47 2000
++++ enlightenment-0.16.5.new/src/session.c Fri Jul 20 05:31:10 2001
+@@ -127,7 +127,7 @@
+ {
+ char s[1024];
+
+- Esnprintf(s, sizeof(s), "%s/...e_session-XXXXXX", UserEDir());
++ snprintf(s, sizeof(s), "%s/...e_session-XXXXXX", UserEDir());
+ def_prefix = duplicate(s);
+ }
+ return def_prefix;
+@@ -238,7 +238,7 @@
+ }
+ }
+ fclose(f);
+- Esnprintf(ss, sizeof(ss), "%s.clients.%i", GetSMFile(), root.scr);
++ snprintf(ss, sizeof(ss), "%s.clients.%i", GetSMFile(), root.scr);
+ rm(ss);
+ mv(s, ss);
+ if (!isfile(ss))
+@@ -259,7 +259,7 @@
+ FILE *f;
+ char s[4096], s1[4096];
+
+- Esnprintf(s, sizeof(s), "%s.clients.%i", GetSMFile(), root.scr);
++ snprintf(s, sizeof(s), "%s.clients.%i", GetSMFile(), root.scr);
+ #ifndef __EMX__
+ f = fopen(s, "r");
+ #else
+@@ -451,7 +451,7 @@
+ {
+ /* char buf[1024];
+ *
+- * Esnprintf(buf, sizeof(buf) / sizeof(char), "rm %s*", GetSMFile());
++ * snprintf(buf, sizeof(buf) / sizeof(char), "rm %s*", GetSMFile());
+ * system(buf); */
+
+ rm(GetGenericSMFile());
+@@ -542,9 +542,9 @@
+ if (mustdel)
+ {
+ #ifndef __EMX__
+- Esnprintf(sss, sizeof(sss), "/bin/rm -rf %s", themepath);
++ snprintf(sss, sizeof(sss), "/bin/rm -rf %s", themepath);
+ #else
+- Esnprintf(sss, sizeof(sss), "rm.exe -rf %s", themepath);
++ snprintf(sss, sizeof(sss), "rm.exe -rf %s", themepath);
+ #endif
+ system(sss);
+ }
+@@ -559,7 +559,7 @@
+
+ if (themepath[0] != 0)
+ {
+- Esnprintf(sss, sizeof(sss),
++ snprintf(sss, sizeof(sss),
+ "exec %s -single -ext_init_win %i -theme %s "
+ "-econfdir %s -ecachedir %s -display %s", command,
+ w, themename, UserEDir(), UserCacheDir(), dstr);
+@@ -567,7 +567,7 @@
+ }
+ else
+ {
+- Esnprintf(sss, sizeof(sss),
++ snprintf(sss, sizeof(sss),
+ "exec %s -single -ext_init_win %i "
+ "-econfdir %s -ecachedir %s -display %s", command,
+ w, UserEDir(), UserCacheDir(), dstr);
+@@ -583,7 +583,7 @@
+ XCloseDisplay(disp);
+ disp = NULL;
+ sscanf(params, "%*s %1000s", s);
+- Esnprintf(sss, sizeof(sss),
++ snprintf(sss, sizeof(sss),
+ "exec %s -single -ext_init_win %i -theme %s "
+ "-econfdir %s -ecachedir %s -display %s", command, w, s,
+ UserEDir(), UserCacheDir(), dstr);
+@@ -839,7 +839,7 @@
+ priorityVal.value = &priority;
+
+ /* Tell session manager how to clean up our old data */
+- Esnprintf(buf, sizeof(buf) / sizeof(char), "rm %s*.clients.*", sm_file);
++ snprintf(buf, sizeof(buf) / sizeof(char), "rm %s*.clients.*", sm_file);
+
+ discardVal[0].length = strlen(sh);
+ discardVal[0].value = sh;
+@@ -857,7 +857,7 @@
+ }
+ if (restarting)
+ {
+- Esnprintf(buf, sizeof(buf) / sizeof(char), "%i", init_win_ext);
++ snprintf(buf, sizeof(buf) / sizeof(char), "%i", init_win_ext);
+
+ restartVal[n].length = strlen(extinitwin);
+ restartVal[n++].value = extinitwin;
+@@ -939,7 +939,7 @@
+
+ /* int fd; */
+
+- Esnprintf(s, sizeof(s), "sm_file %s", default_save_prefix());
++ snprintf(s, sizeof(s), "sm_file %s", default_save_prefix());
+ /* fd = Emkstemp(s + 8);
+ * if (fd < 0)
+ * {
+@@ -1304,7 +1304,7 @@
+ KDE_Shutdown();
+ XCloseDisplay(disp);
+ disp = NULL;
+- Esnprintf(s, sizeof(s), "exec %s -display %s", atword(params, 2), dstr);
++ snprintf(s, sizeof(s), "exec %s -display %s", atword(params, 2), dstr);
+ execl(DEFAULT_SH_PATH, DEFAULT_SH_PATH, "-c", s, NULL);
+ }
+ else if (!strcmp(s, "restart"))
+@@ -1321,14 +1321,14 @@
+ if (themepath[0] != 0)
+ {
+ if (sm_client_id)
+- Esnprintf(s, sizeof(s),
++ snprintf(s, sizeof(s),
+ "exec %s -single -ext_init_win %i -theme %s "
+ "-econfdir %s -ecachedir %s "
+ "-smfile %s -smid %s -display %s", command,
+ init_win_ext, themename, UserEDir(), UserCacheDir(),
+ sm_file, sm_client_id, dstr);
+ else
+- Esnprintf(s, sizeof(s),
++ snprintf(s, sizeof(s),
+ "exec %s -single -ext_init_win %i -theme %s "
+ "-econfdir %s -ecachedir %s "
+ "-smfile %s -display %s", command, init_win_ext,
+@@ -1338,14 +1338,14 @@
+ else
+ {
+ if (sm_client_id)
+- Esnprintf(s, sizeof(s),
++ snprintf(s, sizeof(s),
+ "exec %s -single -ext_init_win %i "
+ "-econfdir %s -ecachedir %s "
+ "-smfile %s -smid %s -display %s", command,
+ init_win_ext, UserEDir(), UserCacheDir(), sm_file,
+ sm_client_id, dstr);
+ else
+- Esnprintf(s, sizeof(s),
++ snprintf(s, sizeof(s),
+ "exec %s -single -ext_init_win %i"
+ "-econfdir %s -ecachedir %s "
+ "-smfile %s -display %s", command, init_win_ext,
+@@ -1368,14 +1368,14 @@
+ disp = NULL;
+ }
+ if (sm_client_id)
+- Esnprintf(s, sizeof(s),
++ snprintf(s, sizeof(s),
+ "exec %s -single -ext_init_win %i -theme %s "
+ "-econfdir %s -ecachedir %s "
+ "-smfile %s -smid %s -display %s", command, init_win_ext,
+ userthemepath, UserEDir(), UserCacheDir(), sm_file,
+ sm_client_id, dstr);
+ else
+- Esnprintf(s, sizeof(s),
++ snprintf(s, sizeof(s),
+ "exec %s -ext_init_win %i -theme %s "
+ "-econfdir %s -ecachedir %s "
+ "-smfile %s -single -display %s", command, init_win_ext,
+diff -Nru enlightenment-0.16.5/src/settings.c enlightenment-0.16.5.new/src/settings.c
+--- enlightenment-0.16.5/src/settings.c Fri Jul 28 23:29:56 2000
++++ enlightenment-0.16.5.new/src/settings.c Fri Jul 20 05:31:27 2001
+@@ -84,7 +84,7 @@
+ {
+ char s[256];
+
+- Esnprintf(s, sizeof(s), "%s %03i %s", _("Pager scanning speed:"),
++ snprintf(s, sizeof(s), "%s %03i %s", _("Pager scanning speed:"),
+ tmp_pager_scan_speed, _("lines per second"));
+ DialogItemTextSetText(pager_scan_speed_label, s);
+ DialogDrawItems(pager_settings_dialog, pager_scan_speed_label, 0, 0, 99999,
+@@ -209,7 +209,7 @@
+ DialogItemSetFill(di, 0, 0);
+ DialogItemSetColSpan(di, 2);
+ DialogItemSetAlign(di, 0, 512);
+- Esnprintf(s, sizeof(s), "%s %03i %s", _("Pager scanning speed:"),
++ snprintf(s, sizeof(s), "%s %03i %s", _("Pager scanning speed:"),
+ tmp_pager_scan_speed, _("lines per second"));
+ DialogItemTextSetText(di, s);
+
+@@ -1089,9 +1089,9 @@
+ for (i = tmp_desktops; i < ENLIGHTENMENT_CONF_NUM_DESKTOPS; i++)
+ EUnmapWindow(disp, wins[i]);
+ if (tmp_desktops > 1)
+- Esnprintf(s, sizeof(s), _("%i Desktops"), tmp_desktops);
++ snprintf(s, sizeof(s), _("%i Desktops"), tmp_desktops);
+ else
+- Esnprintf(s, sizeof(s), _("%i Desktop"), tmp_desktops);
++ snprintf(s, sizeof(s), _("%i Desktop"), tmp_desktops);
+ DialogItemTextSetText(tmp_desk_text, s);
+ DialogDrawItems(tmp_desk_dialog, tmp_desk_text, 0, 0, 99999, 99999);
+ }
+@@ -1152,9 +1152,9 @@
+ DialogItemSetFill(di, 1, 0);
+ DialogItemSetColSpan(di, 2);
+ if (tmp_desktops > 1)
+- Esnprintf(s, sizeof(s), _("%i Desktops"), tmp_desktops);
++ snprintf(s, sizeof(s), _("%i Desktops"), tmp_desktops);
+ else
+- Esnprintf(s, sizeof(s), _("%i Desktop"), tmp_desktops);
++ snprintf(s, sizeof(s), _("%i Desktop"), tmp_desktops);
+ DialogItemTextSetText(di, s);
+
+ di = slider = DialogAddItem(table, DITEM_SLIDER);
+@@ -1271,10 +1271,10 @@
+ EMapWindow(disp, awin);
+
+ if ((tmp_area_x > 1) || ((9 - tmp_area_y) > 1))
+- Esnprintf(s, sizeof(s), _("%i x %i\nScreens in size"), tmp_area_x,
++ snprintf(s, sizeof(s), _("%i x %i\nScreens in size"), tmp_area_x,
+ 9 - tmp_area_y);
+ else
+- Esnprintf(s, sizeof(s), _("1\nScreen in size"));
++ snprintf(s, sizeof(s), _("1\nScreen in size"));
+ DialogItemTextSetText(tmp_area_text, s);
+ DialogDrawItems(tmp_area_dialog, tmp_area_text, 0, 0, 99999, 99999);
+ }
+@@ -1340,10 +1340,10 @@
+ DialogItemSetPadding(di, 2, 2, 2, 2);
+ DialogItemSetFill(di, 1, 0);
+ if ((tmp_area_x > 1) || (tmp_area_y > 1))
+- Esnprintf(s, sizeof(s), _("%i x %i\nScreens in size"), tmp_area_x,
++ snprintf(s, sizeof(s), _("%i x %i\nScreens in size"), tmp_area_x,
+ 9 - tmp_area_y);
+ else
+- Esnprintf(s, sizeof(s), _("1\nScreen in size"));
++ snprintf(s, sizeof(s), _("1\nScreen in size"));
+ DialogItemTextSetText(di, s);
+
+ table2 = DialogAddItem(table, DITEM_TABLE);
+@@ -2520,7 +2520,7 @@
+ ImlibImage *im;
+ Pixmap p2;
+
+- Esnprintf(s, sizeof(s), "%s/cached/bgsel/%s", UserCacheDir(),
++ snprintf(s, sizeof(s), "%s/cached/bgsel/%s", UserCacheDir(),
+ tmp_bg->name);
+ p2 = ECreatePixmap(disp, root.win, 64, 48, root.depth);
+ SetBackgroundTo(id, p2, tmp_bg, 0);
+@@ -2636,7 +2636,7 @@
+ ImlibColor icl;
+ Background *bg;
+
+- Esnprintf(s, sizeof(s), "__NEWBG_%i\n", time(NULL));
++ snprintf(s, sizeof(s), "__NEWBG_%i\n", time(NULL));
+ icl.r = tmp_bg_r;
+ icl.g = tmp_bg_g;
+ icl.b = tmp_bg_b;
+@@ -2709,7 +2709,7 @@
+ stmp = fullfileof(tmp_bg->bg.file);
+ else
+ stmp = duplicate(_("-NONE-"));
+- Esnprintf(s, sizeof(s),
++ snprintf(s, sizeof(s),
+ _
+ ("Background definition information:\nName: %s\nFile: %s\n"),
+ tmp_bg->name, stmp);
+@@ -2831,7 +2831,7 @@
+ stmp = fullfileof(tmp_bg->bg.file);
+ else
+ stmp = duplicate(_("-NONE-"));
+- Esnprintf(s, sizeof(s),
++ snprintf(s, sizeof(s),
+ _
+ ("Background definition information:\nName: %s\nFile: %s\n"),
+ tmp_bg->name, stmp);
+@@ -2973,12 +2973,12 @@
+ }
+ else
+ {
+- Esnprintf(s, sizeof(s), "%s/cached/bgsel/%s",
++ snprintf(s, sizeof(s), "%s/cached/bgsel/%s",
+ UserCacheDir(), bglist[i]->name);
+ im = ELoadImage(s);
+ if (!im)
+ {
+- Esnprintf(s, sizeof(s), "%s/cached/bgsel/%s",
++ snprintf(s, sizeof(s), "%s/cached/bgsel/%s",
+ UserCacheDir(), bglist[i]->name);
+ p2 = ECreatePixmap(disp, pmap, 64, 48, id->x.depth);
+ SetBackgroundTo(id, p2, bglist[i], 0);
+@@ -3088,7 +3088,7 @@
+ stmp = fullfileof(tmp_bg->bg.file);
+ else
+ stmp = duplicate(_("-NONE-"));
+- Esnprintf(s, sizeof(s),
++ snprintf(s, sizeof(s),
+ _
+ ("Background definition information:\nName: %s\nFile: %s\n"),
+ tmp_bg->name, stmp);
+@@ -3151,7 +3151,7 @@
+ char s[256];
+
+ di = (DItem *) data;
+- Esnprintf(s, sizeof(s), _("Unused backgrounds freed after %2i:%02i:%02i"),
++ snprintf(s, sizeof(s), _("Unused backgrounds freed after %2i:%02i:%02i"),
+ tmp_bg_timeout / 3600,
+ (tmp_bg_timeout / 60) - (60 * (tmp_bg_timeout / 3600)),
+ (tmp_bg_timeout) - (60 * (tmp_bg_timeout / 60)));
+@@ -3211,7 +3211,7 @@
+ stmp = fullfileof(tmp_bg->bg.file);
+ else
+ stmp = duplicate(_("-NONE-"));
+- Esnprintf(s, sizeof(s),
++ snprintf(s, sizeof(s),
+ _
+ ("Background definition information:\nName: %s\nFile: %s\n"),
+ tmp_bg->name, stmp);
+@@ -3455,7 +3455,7 @@
+ {
+ char s[1024];
+
+- Esnprintf(s, sizeof(s), "__NEWBG_%i\n", time(NULL));
++ snprintf(s, sizeof(s), "__NEWBG_%i\n", time(NULL));
+ bg =
+ CreateDesktopBG(s, NULL, NULL, 1, 1, 0, 0, 0, 0, NULL, 1, 512, 512,
+ 0, 0);
+@@ -3724,7 +3724,7 @@
+ DialogItemSetPadding(di, 2, 2, 2, 2);
+ DialogItemSetFill(di, 1, 0);
+ DialogItemSetAlign(di, 512, 512);
+- Esnprintf(s, sizeof(s), _("Unused backgrounds freed after %2i:%02i:%02i"),
++ snprintf(s, sizeof(s), _("Unused backgrounds freed after %2i:%02i:%02i"),
+ tmp_bg_timeout / 3600,
+ (tmp_bg_timeout / 60) - (60 * (tmp_bg_timeout / 3600)),
+ (tmp_bg_timeout) - (60 * (tmp_bg_timeout / 60)));
+@@ -3834,7 +3834,7 @@
+ stmp = fullfileof(tmp_bg->bg.file);
+ else
+ stmp = duplicate(_("-NONE-"));
+- Esnprintf(s, sizeof(s),
++ snprintf(s, sizeof(s),
+ _("Background definition information:\nName: %s\nFile: %s\n"),
+ tmp_bg->name, stmp);
+ Efree(stmp);
+diff -Nru enlightenment-0.16.5/src/setup.c enlightenment-0.16.5.new/src/setup.c
+--- enlightenment-0.16.5/src/setup.c Sun Jul 30 00:32:36 2000
++++ enlightenment-0.16.5.new/src/setup.c Fri Jul 20 05:31:07 2001
+@@ -272,7 +272,7 @@
+ if (NULL != dispstr)
+ *dispstr = '\0';
+ }
+- Esnprintf(subdisplay + strlen(subdisplay), 10, ".%d",
++ snprintf(subdisplay + strlen(subdisplay), 10, ".%d",
+ i);
+ dstr = duplicate(subdisplay);
+ disp = XOpenDisplay(dstr);
+@@ -670,7 +670,7 @@
+ char s[1024], ss[1024], *home;
+
+ EDBUG(6, "SetupDirs");
+- Esnprintf(s, sizeof(s), "%s", UserEDir());
++ snprintf(s, sizeof(s), "%s", UserEDir());
+ home = homedir(getuid());
+ if (home)
+ {
+@@ -681,7 +681,7 @@
+ {
+ if (!isdir(s))
+ {
+- Esnprintf(ss, sizeof(ss), "%s.old", UserEDir());
++ snprintf(ss, sizeof(ss), "%s.old", UserEDir());
+ mv(s, ss);
+ md(s);
+ }
+@@ -690,37 +690,37 @@
+ }
+ else
+ md(s);
+- Esnprintf(s, sizeof(s), "%s/themes", UserEDir());
++ snprintf(s, sizeof(s), "%s/themes", UserEDir());
+ if (!exists(s))
+ md(s);
+ else
+ ChkDir(s);
+- Esnprintf(s, sizeof(s), "%s/backgrounds", UserEDir());
++ snprintf(s, sizeof(s), "%s/backgrounds", UserEDir());
+ if (!exists(s))
+ md(s);
+ else
+ ChkDir(s);
+- Esnprintf(s, sizeof(s), "%s/cached", UserCacheDir());
++ snprintf(s, sizeof(s), "%s/cached", UserCacheDir());
+ if (!exists(s))
+ md(s);
+ else
+ ChkDir(s);
+- Esnprintf(s, sizeof(s), "%s/cached/img", UserCacheDir());
++ snprintf(s, sizeof(s), "%s/cached/img", UserCacheDir());
+ if (!exists(s))
+ md(s);
+ else
+ ChkDir(s);
+- Esnprintf(s, sizeof(s), "%s/cached/cfg", UserCacheDir());
++ snprintf(s, sizeof(s), "%s/cached/cfg", UserCacheDir());
+ if (!exists(s))
+ md(s);
+ else
+ ChkDir(s);
+- Esnprintf(s, sizeof(s), "%s/cached/bgsel", UserCacheDir());
++ snprintf(s, sizeof(s), "%s/cached/bgsel", UserCacheDir());
+ if (!exists(s))
+ md(s);
+ else
+ ChkDir(s);
+- Esnprintf(s, sizeof(s), "%s/cached/pager", UserCacheDir());
++ snprintf(s, sizeof(s), "%s/cached/pager", UserCacheDir());
+ if (!exists(s))
+ md(s);
+ else
+@@ -743,7 +743,7 @@
+ #endif
+ Esetenv("EROOT", ENLIGHTENMENT_ROOT, 1);
+ Esetenv("EBIN", ENLIGHTENMENT_BIN, 1);
+- Esnprintf(s, sizeof(s), "%i", getpid());
++ snprintf(s, sizeof(s), "%i", getpid());
+ Esetenv("EPID", s, 1);
+ Esetenv("ETHEME", themepath, 1);
+ Esetenv("ECONFDIR", UserEDir(), 1);
+@@ -902,7 +902,7 @@
+ if (i > 12)
+ i = 1;
+
+- Esnprintf(s, sizeof(s), "pix/wait%i.png", i);
++ snprintf(s, sizeof(s), "pix/wait%i.png", i);
+
+ f = FindFile(s);
+ im = NULL;
+@@ -956,7 +956,7 @@
+
+ EDBUG(3, "SetupUserInitialization");
+
+- Esnprintf(file, sizeof(file), "%s/.initialized", UserEDir());
++ snprintf(file, sizeof(file), "%s/.initialized", UserEDir());
+ if (isfile(file))
+ {
+ mode.firsttime = 0;
+@@ -972,7 +972,7 @@
+ fclose(f);
+ if (fork())
+ EDBUG_RETURN_;
+- Esnprintf(file, sizeof(file), "exec %s/e_gen_menu", ENLIGHTENMENT_BIN);
++ snprintf(file, sizeof(file), "exec %s/e_gen_menu", ENLIGHTENMENT_BIN);
+ execl(usershell(getuid()), usershell(getuid()), "-c", (char *)file,
+ NULL);
+ exit(0);
+diff -Nru enlightenment-0.16.5/src/snaps.c enlightenment-0.16.5.new/src/snaps.c
+--- enlightenment-0.16.5/src/snaps.c Sun Jul 30 00:32:36 2000
++++ enlightenment-0.16.5.new/src/snaps.c Fri Jul 20 05:31:24 2001
+@@ -36,10 +36,10 @@
+ if (ewin->snap)
+ return ewin->snap;
+ if ((ewin->client.name) && (ewin->client.class))
+- Esnprintf(buf, sizeof(buf), "%s.%s", ewin->client.name,
++ snprintf(buf, sizeof(buf), "%s.%s", ewin->client.name,
+ ewin->client.class);
+ else if (ewin->client.title)
+- Esnprintf(buf, sizeof(buf), "TITLE.%s", ewin->client.title);
++ snprintf(buf, sizeof(buf), "TITLE.%s", ewin->client.title);
+ else
+ return NULL;
+ sn = FindItem(buf, 0, LIST_FINDBY_BOTH, LIST_TYPE_SNAPSHOT);
+@@ -64,10 +64,10 @@
+ char buf[4096];
+
+ if ((ewin->client.name) && (ewin->client.class))
+- Esnprintf(buf, sizeof(buf), "%s.%s", ewin->client.name,
++ snprintf(buf, sizeof(buf), "%s.%s", ewin->client.name,
+ ewin->client.class);
+ else if (ewin->client.title)
+- Esnprintf(buf, sizeof(buf), "TITLE.%s", ewin->client.title);
++ snprintf(buf, sizeof(buf), "TITLE.%s", ewin->client.title);
+ sn = NewSnapshot(buf);
+ ListChangeItemID(LIST_TYPE_SNAPSHOT, sn, 1);
+ if ((ewin->client.name) && (ewin->client.class))
+@@ -816,10 +816,10 @@
+ char buf[4096];
+
+ if ((ewin->client.name) && (ewin->client.class))
+- Esnprintf(buf, sizeof(buf), "%s.%s", ewin->client.name,
++ snprintf(buf, sizeof(buf), "%s.%s", ewin->client.name,
+ ewin->client.class);
+ else if (ewin->client.title)
+- Esnprintf(buf, sizeof(buf), "TITLE.%s", ewin->client.title);
++ snprintf(buf, sizeof(buf), "TITLE.%s", ewin->client.title);
+ else
+ return;
+ if (ewin->snap)
+@@ -922,7 +922,7 @@
+ Efree(lst);
+ }
+ fclose(f);
+- Esnprintf(buf, sizeof(buf), "%s.snapshots.%i", GetGenericSMFile(), root.scr);
++ snprintf(buf, sizeof(buf), "%s.snapshots.%i", GetGenericSMFile(), root.scr);
+ rm(buf);
+ mv(s, buf);
+ if (!isfile(buf))
+@@ -959,9 +959,9 @@
+ FILE *f;
+ int res_w, res_h;
+
+- Esnprintf(buf, sizeof(buf), "%s.snapshots.%i", GetSMFile(), root.scr);
++ snprintf(buf, sizeof(buf), "%s.snapshots.%i", GetSMFile(), root.scr);
+ if (!exists(buf))
+- Esnprintf(buf, sizeof(buf), "%s.snapshots.%i", GetGenericSMFile(),
++ snprintf(buf, sizeof(buf), "%s.snapshots.%i", GetGenericSMFile(),
+ root.scr);
+ #ifndef __EMX__
+ f = fopen(buf, "r");
+@@ -1240,7 +1240,7 @@
+ return;
+ if ((hint.res_name) && (hint.res_class))
+ {
+- Esnprintf(buf, sizeof(buf), "%s.%s", hint.res_name, hint.res_class);
++ snprintf(buf, sizeof(buf), "%s.%s", hint.res_name, hint.res_class);
+ sn = FindItem(buf, 0, LIST_FINDBY_BOTH, LIST_TYPE_SNAPSHOT);
+ }
+ if (hint.res_name)
+@@ -1266,7 +1266,7 @@
+ return;
+ if ((hint.res_name) && (hint.res_class))
+ {
+- Esnprintf(buf, sizeof(buf), "%s.%s", hint.res_name, hint.res_class);
++ snprintf(buf, sizeof(buf), "%s.%s", hint.res_name, hint.res_class);
+ sn = FindItem(buf, 0, LIST_FINDBY_BOTH, LIST_TYPE_SNAPSHOT);
+ }
+ if (hint.res_name)
+diff -Nru enlightenment-0.16.5/src/snprintf.c enlightenment-0.16.5.new/src/snprintf.c
+--- enlightenment-0.16.5/src/snprintf.c Wed Jul 26 20:00:47 2000
++++ enlightenment-0.16.5.new/src/snprintf.c Fri Jul 20 05:31:04 2001
+@@ -84,10 +84,10 @@
+
+ #ifdef HAVE_STDARGS
+ int
+-Esnprintf(char *str, size_t count, const char *fmt, ...)
++snprintf(char *str, size_t count, const char *fmt, ...)
+ #else
+ int
+-Esnprintf(va_alist)
++snprintf(va_alist)
+ va_dcl
+ #endif
+ {
+diff -Nru enlightenment-0.16.5/src/startup.c enlightenment-0.16.5.new/src/startup.c
+--- enlightenment-0.16.5/src/startup.c Fri Jul 28 19:23:35 2000
++++ enlightenment-0.16.5.new/src/startup.c Fri Jul 20 05:31:22 2001
+@@ -47,7 +47,7 @@
+ if (!exists(file))
+ EDBUG_RETURN(0);
+
+- Esnprintf(tmp, 2048, "%s/estrt_%i",
++ snprintf(tmp, 2048, "%s/estrt_%i",
+ (getenv("TMPDIR") == NULL) ? "/tmp" : getenv("TMPDIR"),
+ time(NULL));
+ f1 = fopen(file, "r");
+@@ -142,19 +142,19 @@
+ EDBUG(6, "AddE");
+ val = 0;
+ h = homedir(getuid());
+- Esnprintf(s, 1024, "%s/.xsession", h);
++ snprintf(s, 1024, "%s/.xsession", h);
+ val |= AddEToFile(s);
+- Esnprintf(s, 1024, "%s/.xinitrc", h);
++ snprintf(s, 1024, "%s/.xinitrc", h);
+ val |= AddEToFile(s);
+- Esnprintf(s, 1024, "%s/.Xclients", h);
++ snprintf(s, 1024, "%s/.Xclients", h);
+ val |= AddEToFile(s);
+ if (!val)
+ {
+- Esnprintf(s, 1024, "%s/.xsession", h);
++ snprintf(s, 1024, "%s/.xsession", h);
+ CreateEFile(s);
+- Esnprintf(s, 1024, "%s/.xinitrc", h);
++ snprintf(s, 1024, "%s/.xinitrc", h);
+ CreateEFile(s);
+- Esnprintf(s, 1024, "%s/.Xclients", h);
++ snprintf(s, 1024, "%s/.Xclients", h);
+ CreateEFile(s);
+ }
+ if (h)
+diff -Nru enlightenment-0.16.5/src/tclass.c enlightenment-0.16.5.new/src/tclass.c
+--- enlightenment-0.16.5/src/tclass.c Fri Jul 28 19:23:35 2000
++++ enlightenment-0.16.5.new/src/tclass.c Fri Jul 20 05:31:00 2001
+@@ -83,7 +83,7 @@
+ {
+ char stuff[255];
+
+- Esnprintf(stuff, sizeof(stuff), _("%u references remain\n"),
++ snprintf(stuff, sizeof(stuff), _("%u references remain\n"),
+ t->ref_count);
+ DIALOG_OK(_("TextClass Error!"), stuff);
+ EDBUG_RETURN_;
+diff -Nru enlightenment-0.16.5/src/text.c enlightenment-0.16.5.new/src/text.c
+--- enlightenment-0.16.5/src/text.c Fri Jul 28 19:23:35 2000
++++ enlightenment-0.16.5.new/src/text.c Fri Jul 20 05:31:19 2001
+@@ -156,7 +156,7 @@
+ {
+ *ss = ' ';
+ word(dup, 1, w);
+- Esnprintf(s, sizeof(s), "ttfonts/%s.ttf", w);
++ snprintf(s, sizeof(s), "ttfonts/%s.ttf", w);
+ word(dup, 2, w);
+ ss = FindFile(s);
+ if (ss)
+diff -Nru enlightenment-0.16.5/src/theme.c enlightenment-0.16.5.new/src/theme.c
+--- enlightenment-0.16.5/src/theme.c Wed Jul 26 20:00:47 2000
++++ enlightenment-0.16.5.new/src/theme.c Fri Jul 20 05:30:57 2001
+@@ -56,7 +56,7 @@
+ {
+ if (!strcmp(str[i], "DEFAULT"))
+ {
+- Esnprintf(ss, sizeof(ss), "%s/%s", dir, str[i]);
++ snprintf(ss, sizeof(ss), "%s/%s", dir, str[i]);
+ #ifndef __EMX__
+ if (readlink(ss, s, sizeof(s)) > 0)
+ {
+@@ -64,7 +64,7 @@
+ def = duplicate(s);
+ else
+ {
+- Esnprintf(s, sizeof(s), "%s/%s", dir, s);
++ snprintf(s, sizeof(s), "%s/%s", dir, s);
+ def = duplicate(s);
+ }
+ }
+@@ -83,7 +83,7 @@
+ {
+ ok = 0;
+
+- Esnprintf(s, sizeof(s), "%s/%s", dir, str[i]);
++ snprintf(s, sizeof(s), "%s/%s", dir, str[i]);
+ if ((isdir(s)) && (SanitiseThemeDir(s)))
+ ok = 1;
+ else if ((isfile(s)) && (FileExtension(s))
+@@ -112,12 +112,12 @@
+ NULL;
+ int count = 0;
+
+- Esnprintf(s, sizeof(s), "%s/themes", UserEDir());
++ snprintf(s, sizeof(s), "%s/themes", UserEDir());
+ def = append_merge_dir(s, &list, &count);
+ #ifndef __EMX__
+- Esnprintf(s, sizeof(s), "%s/themes", ENLIGHTENMENT_ROOT);
++ snprintf(s, sizeof(s), "%s/themes", ENLIGHTENMENT_ROOT);
+ #else
+- Esnprintf(s, sizeof(s), "%s/themes", __XOS2RedirRoot(ENLIGHTENMENT_ROOT));
++ snprintf(s, sizeof(s), "%s/themes", __XOS2RedirRoot(ENLIGHTENMENT_ROOT));
+ #endif
+ def2 = append_merge_dir(s, &list, &count);
+
+@@ -141,7 +141,7 @@
+ char *def = NULL;
+ int count;
+
+- Esnprintf(ss, sizeof(ss), "%s/themes/DEFAULT", UserEDir());
++ snprintf(ss, sizeof(ss), "%s/themes/DEFAULT", UserEDir());
+ #ifndef __EMX__
+ count = readlink(ss, s, sizeof(s));
+ if ((exists(ss)) && (count > 0))
+@@ -151,7 +151,7 @@
+ def = duplicate(s);
+ else
+ {
+- Esnprintf(ss, sizeof(ss), "%s/themes/%s", UserEDir(), s);
++ snprintf(ss, sizeof(ss), "%s/themes/%s", UserEDir(), s);
+ def = duplicate(ss);
+ }
+ }
+@@ -162,9 +162,9 @@
+ if (!def)
+ {
+ #ifndef __EMX__
+- Esnprintf(ss, sizeof(ss), "%s/themes/DEFAULT", ENLIGHTENMENT_ROOT);
++ snprintf(ss, sizeof(ss), "%s/themes/DEFAULT", ENLIGHTENMENT_ROOT);
+ #else
+- Esnprintf(ss, sizeof(ss), "%s/themes/DEFAULT",
++ snprintf(ss, sizeof(ss), "%s/themes/DEFAULT",
+ __XOS2RedirRoot(ENLIGHTENMENT_ROOT));
+ #endif
+ #ifndef __EMX__
+@@ -176,7 +176,7 @@
+ def = duplicate(s);
+ else
+ {
+- Esnprintf(ss, sizeof(ss), "%s/themes/%s", ENLIGHTENMENT_ROOT,
++ snprintf(ss, sizeof(ss), "%s/themes/%s", ENLIGHTENMENT_ROOT,
+ s);
+ def = duplicate(ss);
+ }
+@@ -198,7 +198,7 @@
+ */
+ char ss[FILEPATH_LEN_MAX];
+
+- Esnprintf(ss, sizeof(ss), "%s/themes/DEFAULT", UserEDir());
++ snprintf(ss, sizeof(ss), "%s/themes/DEFAULT", UserEDir());
+ if (exists(ss))
+ rm(ss);
+ if (theme)
+@@ -241,14 +241,14 @@
+ /* make the temp dir */
+
+ themename = fileof(theme);
+- Esnprintf(th, sizeof(th), "%s/themes/%s", UserEDir(), themename);
++ snprintf(th, sizeof(th), "%s/themes/%s", UserEDir(), themename);
+ Efree(themename);
+ md(th);
+ /* check magic numbers */
+ if ((buf[0] == 31) && (buf[1] == 139))
+ {
+ /*gzipped tarball */
+- Esnprintf(s, sizeof(s),
++ snprintf(s, sizeof(s),
+ "gzip -d -c < %s | (cd %s ; tar -xf -)", theme, th);
+ }
+ else if ((buf[257] == 'u') && (buf[258] == 's')
+@@ -256,7 +256,7 @@
+ && (buf[261] == 'r'))
+ {
+ /*vanilla tarball */
+- Esnprintf(s, sizeof(s), "(cd %s ; tar -xf %s)", th, theme);
++ snprintf(s, sizeof(s), "(cd %s ; tar -xf %s)", th, theme);
+ }
+ /* exec the untar if tarred */
+ system(s);
+@@ -270,9 +270,9 @@
+ char sss[FILEPATH_LEN_MAX];
+
+ #ifndef __EMX__
+- Esnprintf(sss, sizeof(sss), "/bin/rm -rf %s", themepath);
++ snprintf(sss, sizeof(sss), "/bin/rm -rf %s", themepath);
+ #else
+- Esnprintf(sss, sizeof(sss), "rm.exe -rf %s", themepath);
++ snprintf(sss, sizeof(sss), "rm.exe -rf %s", themepath);
+ #endif
+ system(sss);
+ mustdel = 0;
+@@ -294,9 +294,9 @@
+ if (!theme[0])
+ {
+ #ifndef __EMX__
+- Esnprintf(s, sizeof(s), "%s/themes/DEFAULT", ENLIGHTENMENT_ROOT);
++ snprintf(s, sizeof(s), "%s/themes/DEFAULT", ENLIGHTENMENT_ROOT);
+ #else
+- Esnprintf(s, sizeof(s), "%s/themes/DEFAULT",
++ snprintf(s, sizeof(s), "%s/themes/DEFAULT",
+ __XOS2RedirRoot(ENLIGHTENMENT_ROOT));
+ #endif
+ EDBUG_RETURN(duplicate(s));
+@@ -309,7 +309,7 @@
+ ret = ExtractTheme(theme);
+ if (!ret)
+ {
+- Esnprintf(s, sizeof(s), "%s/themes/%s", UserEDir(), theme);
++ snprintf(s, sizeof(s), "%s/themes/%s", UserEDir(), theme);
+ if (exists(s))
+ ret = ExtractTheme(s);
+ else
+@@ -317,9 +317,9 @@
+ if (!ret)
+ {
+ #ifndef __EMX__
+- Esnprintf(s, sizeof(s), "%s/themes/%s", ENLIGHTENMENT_ROOT, theme);
++ snprintf(s, sizeof(s), "%s/themes/%s", ENLIGHTENMENT_ROOT, theme);
+ #else
+- Esnprintf(s, sizeof(s), "%s/themes/%s",
++ snprintf(s, sizeof(s), "%s/themes/%s",
+ __XOS2RedirRoot(ENLIGHTENMENT_ROOT), theme);
+ #endif
+ if (exists(s))
+@@ -344,7 +344,7 @@
+ if (!badtheme)
+ return;
+
+- Esnprintf(s, sizeof(s),
++ snprintf(s, sizeof(s),
+ _("The theme:\n" "%s\n"
+ "Is a badly formed theme package and is thus not being used.\n"
+ "Enlightenment has fallen back to using the DEFAULT theme.\n"
+diff -Nru enlightenment-0.16.5/src/tooltips.c enlightenment-0.16.5.new/src/tooltips.c
+--- enlightenment-0.16.5/src/tooltips.c Fri Jul 28 21:13:13 2000
++++ enlightenment-0.16.5.new/src/tooltips.c Fri Jul 20 05:31:16 2001
+@@ -1046,7 +1046,7 @@
+ {
+ char stuff[255];
+
+- Esnprintf(stuff, sizeof(stuff), _("%u references remain\n"),
++ snprintf(stuff, sizeof(stuff), _("%u references remain\n"),
+ tt->ref_count);
+ DIALOG_OK(_("ToolTip Error!"), stuff);
+ }
+diff -Nru enlightenment-0.16.5/stamp-h enlightenment-0.16.5.new/stamp-h
+--- enlightenment-0.16.5/stamp-h Thu Jan 1 01:00:00 1970
++++ enlightenment-0.16.5.new/stamp-h Fri Jul 20 05:11:30 2001
+@@ -0,0 +1 @@
++timestamp
+diff -Nru enlightenment-0.16.5/src/snprintf.c enlightenment-0.16.5.new/src/snprintf.c
+--- enlightenment-0.16.5/src/snprintf.c Thu Aug 9 19:44:49 2001
++++ enlightenment-0.16.5.new/src/snprintf.c Thu Aug 9 19:47:30 2001
+@@ -28,6 +28,8 @@
+ *
+ * so workaround...
+ */
++#ifndef HAVE_SNPRINTF
++
+ #ifdef __sgi
+ #ifdef _NO_ANSIMODE
+ #undef _NO_ANSIMODE
+@@ -589,3 +591,5 @@
+ *
+ * The End
+ */
++
++#endif /* HAVE_SNPRINTF */