  	register int fd;
  #ifdef CHDIR
  	register char *dir;
-@@ -538,4 +542,472 @@
+@@ -538,4 +542,479 @@
  	return;
  }
  

+        fprintf(f, "moMR = %d, ", pm->mr);
+        fprintf(f, "moAlign = %d, ", pm->maligntyp);
+        fprintf(f, "moGenerationPlaces = tail [Gehennom");
+#ifdef G_SHEOLONLY
+        if (pm->geno & (G_SHEOLONLY & ~G_SHEOL))
+            fprintf(f, ", Sheol");
+        else
+        {
+            if (pm->geno & G_SHEOL) fprintf(f, ", Sheol");
+#endif
+            if (!(pm->geno & G_NOHELL)) fprintf(f, ", Gehennom");
+            if (!(pm->geno & G_HELL)) fprintf(f, ", Dungeons");
+#ifdef G_SHEOLONLY
+        }
+#endif
+        fprintf(f, "], ");
+        fprintf(f, "moLeavesCorpse = %s, ",
+                (pm->geno & G_NOCORPSE) ? "False" : "True");

--- /nethack-3.4.3/sys/unix/unixmain.c	2003-12-08 01:39:13.000000000 +0200
+++ unixmain.c	2013-04-10 17:20:15.456599691 +0300
@@ -44,11 +44,15 @@
 static boolean wiz_error_flag = FALSE;
 #endif
