--- fd.h.orig	2013-06-08 00:00:00.000000000 +0900
+++ fd.h	2013-07-10 19:53:35.000000000 +0900
@@ -104,16 +104,16 @@
  *	variables nor run_com file nor command line option	*
  ****************************************************************/
 #define	BASICCUSTOM		0
-#define	SORTTYPE		0
-#define	DISPLAYMODE		0
-#define	SORTTREE		0
+#define	SORTTYPE		1
+#define	DISPLAYMODE		3
+#define	SORTTREE		1
 #define	WRITEFS			0
 #define	IGNORECASE		0
 #define	VERSIONCOMP		0
 #define	INHERITCOPY		0
 #define	PROGRESSBAR		0
 #define	PRECOPYMENU		0
-#define	ADJTTY			0
+#define	ADJTTY			1
 #define	USEGETCURSOR		0
 #define	DEFCOLUMNS		2
 #define	MINFILENAME		12
@@ -133,8 +133,8 @@
 #define	DIRHIST			50
 #define	SAVEHIST		50
 #define	SAVEDIRHIST		50
-#define	HISTUMASK		022
-#define	DIRHISTUMASK		022
+#define	HISTUMASK		077
+#define	DIRHISTUMASK		077
 #define	DIRCOUNTLIMIT		50
 #define	DOSDRIVE		0
 #define	SECOND			0
@@ -154,7 +154,7 @@
 #else	/* !MSDOS */
 #define	FREQFILE		"~/.fd_freq"
 #endif	/* !MSDOS */
-#define	FREQUMASK		022
+#define	FREQUMASK		077
 #define	ANSICOLOR		0
 #define	ANSIPALETTE		""
 #define	EDITMODE		"emacs"
@@ -164,7 +164,7 @@
 #else
 #define	TMPDIR			"/tmp"
 #endif
-#define	TMPUMASK		022
+#define	TMPUMASK		077
 #define	RRPATH			""
 #define	PRECEDEPATH		""
 #if	FD >= 2
@@ -193,7 +193,7 @@
 #define	HTTPPROXY		""
 #define	HTTPLOGFILE		""
 #define	HTMLLOGFILE		""
-#define	UNICODEBUFFER		0
+#define	UNICODEBUFFER		1
 #define	SJISPATH		""
 #define	EUCPATH			""
 #define	JISPATH			""
