File mc-nice-defaults.diff of Package mc46
--- src/layout.c.orig 2015-08-30 02:34:41.126924136 +0300
+++ src/layout.c 2015-08-30 02:34:46.624985741 +0300
@@ -92,7 +92,7 @@
int keybar_visible = 1;
/* Set if the nice message (hint) bar is visible */
-int message_visible = 1;
+int message_visible = 0;
/* Set to show current working dir in xterm window title */
int xterm_title = 1;
--- src/panel.h.orig 2015-08-30 02:23:44.089006352 +0300
+++ src/panel.h 2015-08-30 02:28:36.583530584 +0300
@@ -5,7 +5,8 @@
#include "dialog.h" /* Widget */
#define selection(p) (&(p->dir.list[p->selected]))
-#define DEFAULT_USER_FORMAT "half type name | size | perm"
+#define DEFAULT_USER_FORMAT "half 2 type name"
+#define DEFAULT_USER_STATUS "half >name | size | mtime"
#define LIST_TYPES 4
--- src/menu.c.orig 2015-08-30 02:32:43.856509442 +0300
+++ src/menu.c 2015-08-30 02:32:50.260588211 +0300
@@ -36,7 +36,7 @@
#include "win.h"
#include "key.h" /* For mi_getch() */
-int menubar_visible = 1; /* This is the new default */
+int menubar_visible = 0; /* This is the new default */
static void
menu_scan_hotkey (Menu *menu)
--- src/setup.c.orig 2015-08-30 03:28:41.151539461 +0300
+++ src/setup.c 2015-08-30 03:29:21.379047457 +0300
@@ -402,7 +402,7 @@
}
/* Load the listing mode */
- load_string (section, "list_mode", "full", buffer, sizeof (buffer));
+ load_string (section, "list_mode", "brief", buffer, sizeof (buffer));
panel->list_type = list_full;
for (i = 0; list_types [i].key; i++)
if ( g_strcasecmp (list_types [i].key, buffer) == 0){
@@ -420,11 +420,11 @@
g_snprintf (buffer, sizeof (buffer), "user_status%d", i);
panel->user_status_format [i] =
g_strdup (get_profile_string (section, buffer,
- DEFAULT_USER_FORMAT, profile_name));
+ DEFAULT_USER_STATUS, profile_name));
}
panel->user_mini_status =
- load_int (section, "user_mini_status", 0);
+ load_int (section, "user_mini_status", 1);
}