--- weechat.c 2005-08-31 09:55:44.000000000 +0000 +++ ../../../weechat-0.1.4/src/common/weechat.c 2005-08-31 09:23:10.000000000 +0000 @@ -503,13 +503,13 @@ WEECHAT_ERROR); wee_shutdown (EXIT_FAILURE, 0); } - snprintf (weechat_home, dir_length, "%s%s.weechat", ptr_home, + snprintf (weechat_home, dir_length, "%s%s_weechat", ptr_home, DIR_SEPARATOR); - /* create home directory "~/.weechat" ; error is fatal */ + /* create home directory "~/_weechat" ; error is fatal */ if (!wee_create_dir (weechat_home)) { - fprintf (stderr, _("%s unable to create ~/.weechat directory\n"), + fprintf (stderr, _("%s unable to create ~/_weechat directory\n"), WEECHAT_ERROR); wee_shutdown (EXIT_FAILURE, 0); } @@ -518,12 +518,12 @@ dir_name = (char *) malloc (dir_length * sizeof (char)); #ifdef PLUGIN_PERL - /* create "~/.weechat/perl" */ + /* create "~/_weechat/perl" */ snprintf (dir_name, dir_length, "%s%s%s", weechat_home, DIR_SEPARATOR, "perl"); if (wee_create_dir (dir_name)) { - /* create "~/.weechat/perl/autoload" */ + /* create "~/_weechat/perl/autoload" */ snprintf (dir_name, dir_length, "%s%s%s%s%s", weechat_home, DIR_SEPARATOR, "perl", DIR_SEPARATOR, "autoload"); wee_create_dir (dir_name); @@ -531,12 +531,12 @@ #endif #ifdef PLUGIN_PYTHON - /* create "~/.weechat/python" */ + /* create "~/_weechat/python" */ snprintf (dir_name, dir_length, "%s%s%s", weechat_home, DIR_SEPARATOR, "python"); if (wee_create_dir (dir_name)) { - /* create "~/.weechat/python/autoload" */ + /* create "~/_weechat/python/autoload" */ snprintf (dir_name, dir_length, "%s%s%s%s%s", weechat_home, DIR_SEPARATOR, "python", DIR_SEPARATOR, "autoload"); wee_create_dir (dir_name); @@ -544,24 +544,24 @@ #endif #ifdef PLUGIN_RUBY - /* create "~/.weechat/ruby" */ + /* create "~/_weechat/ruby" */ snprintf (dir_name, dir_length, "%s%s%s", weechat_home, DIR_SEPARATOR, "ruby"); if (wee_create_dir (dir_name)) { - /* create "~/.weechat/ruby/autoload" */ + /* create "~/_weechat/ruby/autoload" */ snprintf (dir_name, dir_length, "%s%s%s%s%s", weechat_home, DIR_SEPARATOR, "ruby", DIR_SEPARATOR, "autoload"); wee_create_dir (dir_name); } #endif - /* create "~/.weechat/logs" */ + /* create "~/_weechat/logs" */ snprintf (dir_name, dir_length, "%s%s%s", weechat_home, DIR_SEPARATOR, "logs"); if (!wee_create_dir (dir_name)) { - fprintf (stderr, _("%s unable to create ~/.weechat/logs directory\n"), + fprintf (stderr, _("%s unable to create ~/_weechat/logs directory\n"), WEECHAT_WARNING); } chmod (dir_name, 0700); @@ -604,7 +604,7 @@ snprintf (filename, filename_length, "%s/" WEECHAT_LOG_NAME, weechat_home); if ((weechat_log_file = fopen (filename, "wt")) == NULL) fprintf (stderr, - _("%s unable to create/append to log file (~/.weechat/%s)"), + _("%s unable to create/append to log file (~/_weechat/%s)"), WEECHAT_WARNING, WEECHAT_LOG_NAME); free (filename); } @@ -779,7 +779,7 @@ } /* - * my_sigsegv: SIGSEGV handler: save crash log to ~/.weechat/weechat.log and exit + * my_sigsegv: SIGSEGV handler: save crash log to ~/_weechat/weechat.log and exit */ void @@ -789,7 +789,7 @@ wee_gui_shutdown (); fprintf (stderr, "\n"); fprintf (stderr, "*** Very bad! WeeChat has crashed (SIGSEGV received)\n"); - fprintf (stderr, "*** Full crash dump was saved to ~/.weechat/weechat.log file\n"); + fprintf (stderr, "*** Full crash dump was saved to ~/_weechat/weechat.log file\n"); fprintf (stderr, "*** Please send this file to WeeChat developers.\n"); fprintf (stderr, "*** (be careful, private info may be in this file since\n"); fprintf (stderr, "*** part of chats are displayed, so remove lines if needed)\n\n");