mc_global 171 lib/charsets.c mc_global.display_codepage = get_codepage_index (default_codepage); mc_global 207 lib/charsets.c fname = g_build_filename (mc_global.share_data_dir, CHARSETS_LIST, (char *) NULL); mc_global 212 lib/charsets.c fname = g_build_filename (mc_global.sysconfig_dir, CHARSETS_LIST, (char *) NULL); mc_global 422 lib/charsets.c cp_to = get_codepage_id (mc_global.source_codepage); mc_global 518 lib/charsets.c cp_from = get_codepage_id (mc_global.source_codepage); mc_global 217 lib/filehighlight/ini-file-read.c name = g_build_filename (mc_global.sysconfig_dir, MC_FHL_INI_FILE, (char *) NULL); mc_global 224 lib/filehighlight/ini-file-read.c name = g_build_filename (mc_global.share_data_dir, MC_FHL_INI_FILE, (char *) NULL); mc_global 52 lib/global.c mc_global_t mc_global = mc_global 225 lib/global.h extern mc_global_t mc_global; mc_global 90 lib/logging.c mc_config_get_bool (mc_global.main_config, CONFIG_GROUP_NAME, CONFIG_KEY_NAME, FALSE); mc_global 107 lib/logging.c if (mc_config_has_param (mc_global.main_config, CONFIG_GROUP_NAME, CONFIG_KEY_NAME_FILE)) mc_global 108 lib/logging.c return mc_config_get_string (mc_global.main_config, CONFIG_GROUP_NAME, CONFIG_KEY_NAME_FILE, mc_global 99 lib/mcconfig/get.c if (mc_global.utf8_display) mc_global 146 lib/mcconfig/history.c if (!mc_global.utf8_display) mc_global 211 lib/mcconfig/history.c if (!mc_global.utf8_display) mc_global 204 lib/mcconfig/paths.c g_free (mc_global.share_data_dir); mc_global 205 lib/mcconfig/paths.c g_free (mc_global.sysconfig_dir); mc_global 51 lib/mcconfig/set.c if (mc_global.utf8_display) mc_global 807 lib/search/regex.c if (str_isutf8 (charset) && mc_global.utf8_display) mc_global 851 lib/search/regex.c if (str_isutf8 (charset) && mc_global.utf8_display) mc_global 247 lib/shell.c mc_global.tty.use_subshell = FALSE; mc_global 249 lib/shell.c mc_global.shell = mc_shell; mc_global 257 lib/shell.c if (mc_global.shell != NULL) mc_global 259 lib/shell.c g_free (mc_global.shell->path); mc_global 260 lib/shell.c MC_PTR_FREE (mc_global.shell); mc_global 198 lib/skin/colors-old.c mc_skin_colors_old_configure_one (mc_skin, mc_global.tty.setup_color_string); mc_global 199 lib/skin/colors-old.c mc_skin_colors_old_configure_one (mc_skin, mc_global.tty.term_color_string); mc_global 201 lib/skin/colors-old.c mc_skin_colors_old_configure_one (mc_skin, mc_global.tty.command_line_colors); mc_global 340 lib/skin/colors.c if (tty_use_colors () && !mc_global.tty.disable_colors) mc_global 73 lib/skin/common.c if (mc_global.tty.skin != NULL) mc_global 74 lib/skin/common.c return g_strdup (mc_global.tty.skin); mc_global 82 lib/skin/common.c return mc_config_get_string (mc_global.main_config, CONFIG_APP_SECTION, "skin", "default"); mc_global 203 lib/skin/common.c if (mc_global.tty.ugly_line_drawing) mc_global 140 lib/skin/ini-file.c mc_skin_get_list_from_dir (mc_global.sysconfig_dir, list); mc_global 141 lib/skin/ini-file.c mc_skin_get_list_from_dir (mc_global.share_data_dir, list); mc_global 173 lib/skin/ini-file.c if (mc_skin_ini_file_load_search_in_dir (mc_skin, mc_global.sysconfig_dir)) mc_global 177 lib/skin/ini-file.c return mc_skin_ini_file_load_search_in_dir (mc_skin, mc_global.share_data_dir); mc_global 67 lib/skin/lines.c if (mc_global.tty.slow_terminal) mc_global 69 lib/skin/lines.c else if (mc_global.tty.ugly_line_drawing) mc_global 71 lib/tty/color-slang.c char *cts = mc_global.tty.color_terminal_string; mc_global 707 lib/tty/key.c if (getenv ("DISPLAY") != NULL && !mc_global.tty.disable_x11) mc_global 1134 lib/tty/key.c if (!mc_global.tty.alternate_plus_minus) mc_global 1327 lib/tty/key.c if (mc_global.tty.xterm_flag mc_global 2206 lib/tty/key.c if (mc_global.tty.console_flag != '\0' || mc_global.tty.xterm_flag) mc_global 2218 lib/tty/key.c if (mc_global.tty.console_flag != '\0' || mc_global.tty.xterm_flag) mc_global 294 lib/tty/tty-ncurses.c if (mc_global.tty.xterm_flag && smcup != NULL) mc_global 306 lib/tty/tty-ncurses.c if (mc_global.tty.xterm_flag && rmcup != NULL) mc_global 343 lib/tty/tty-ncurses.c if (mc_global.tty.use_subshell) mc_global 344 lib/tty/tty-ncurses.c tty_resize (mc_global.tty.subshell_pty); mc_global 631 lib/tty/tty-ncurses.c if (mc_global.utf8_display || c > 255) mc_global 306 lib/tty/tty-slang.c if (mc_global.tty.ugly_line_drawing) mc_global 393 lib/tty/tty-slang.c if (mc_global.tty.use_subshell) mc_global 394 lib/tty/tty-slang.c tty_resize (mc_global.tty.subshell_pty); mc_global 389 lib/tty/tty.c if (mc_global.tty.old_mouse) mc_global 109 lib/tty/win.c y1 += mc_global.keybar_visible != 0 ? 1 : 0; /* i don't know why we need this - paul */ mc_global 110 lib/tty/win.c y2 += mc_global.keybar_visible != 0 ? 1 : 0; mc_global 163 lib/tty/win.c mc_global.tty.console_flag = '\004'; mc_global 105 lib/util.c if (mc_global.tty.xterm_flag) mc_global 238 lib/util.c if (!mc_global.eight_bit_clean) mc_global 241 lib/util.c if (mc_global.full_eight_bits) mc_global 1252 lib/util.c filepos_max_saved_entries = mc_config_get_int (mc_global.main_config, CONFIG_APP_SECTION, mc_global 217 lib/vfs/vfs.c return (mc_global.vfs.cd_symlinks && mc_stat (vpath, &my_stat) == 0 mc_global 199 lib/widget/dialog-switch.c if (mc_global.midnight_shutdown || mc_current == NULL) mc_global 216 lib/widget/dialog-switch.c if (mc_global.midnight_shutdown || mc_current == NULL) mc_global 237 lib/widget/dialog-switch.c if (mc_global.midnight_shutdown || mc_current == NULL) mc_global 284 lib/widget/dialog-switch.c if (mc_global.mc_run_mode == MC_RUN_FULL) mc_global 368 lib/widget/dialog-switch.c if (mc_global.we_are_background) mc_global 289 lib/widget/dialog.c if (!widget_get_state (wh, WST_MODAL) && mc_global.midnight_shutdown) mc_global 77 lib/widget/frame.c if (mc_global.tty.shadows) mc_global 1432 lib/widget/input_complete.c if (mc_global.widget.show_all_if_ambiguous) mc_global 321 lib/widget/listbox.c if (l->deletable && mc_global.widget.confirm_history_cleanup mc_global 571 lib/widget/listbox.c l->scrollbar = !mc_global.tty.slow_terminal; mc_global 193 lib/widget/menu.c if (mc_global.tty.shadows) mc_global 322 lib/widget/menu.c if (!mc_global.keybar_visible) mc_global 361 lib/widget/menu.c mc_global.widget.is_right = (menubar->current != 0); mc_global 427 lib/widget/wtools.c if (mc_global.we_are_background) mc_global 483 lib/widget/wtools.c if (mc_global.we_are_background) mc_global 146 src/args.c &mc_global.tty.use_subshell, mc_global 203 src/args.c &mc_global.tty.disable_x11, mc_global 210 src/args.c &mc_global.tty.old_mouse, mc_global 233 src/args.c &mc_global.tty.slow_terminal, mc_global 240 src/args.c &mc_global.tty.ugly_line_drawing, mc_global 282 src/args.c &mc_global.tty.disable_colors, mc_global 296 src/args.c &mc_global.tty.command_line_colors, mc_global 303 src/args.c &mc_global.tty.skin, mc_global 381 src/args.c switch (mc_global.mc_run_mode) mc_global 417 src/args.c g_strdup_printf (_("GNU Midnight Commander %s\n"), mc_global.mc_version); mc_global 456 src/args.c mc_global.mc_run_mode = MC_RUN_EDITOR; mc_global 472 src/args.c mc_global.mc_run_mode = MC_RUN_VIEWER; mc_global 598 src/args.c mc_global.mc_run_mode = MC_RUN_VIEWER; mc_global 604 src/args.c mc_global.mc_run_mode = MC_RUN_EDITOR; mc_global 611 src/args.c mc_global.mc_run_mode = MC_RUN_DIFFVIEWER; mc_global 711 src/args.c printf ("%s (%s)\n", mc_global.sysconfig_dir, mc_global.share_data_dir); mc_global 742 src/args.c mc_global.tty.disable_colors = FALSE; mc_global 746 src/args.c mc_global.tty.use_subshell = FALSE; mc_global 762 src/args.c switch (mc_global.mc_run_mode) mc_global 561 src/background.c mc_global.we_are_background = TRUE; mc_global 89 src/clipboard.c my_system (EXECUTE_AS_SHELL, mc_global.shell->path, cmd); mc_global 99 src/cons.handler.c if (mc_global.tty.console_flag == '\0') mc_global 105 src/cons.handler.c mc_global.tty.console_flag = '\0'; mc_global 153 src/cons.handler.c mc_global.tty.console_flag = '\0'; mc_global 166 src/cons.handler.c mc_global.tty.console_flag = '\0'; mc_global 175 src/cons.handler.c status = read (pipefd2[0], &mc_global.tty.console_flag, 1); mc_global 176 src/cons.handler.c if (mc_global.tty.console_flag == '\0') mc_global 227 src/cons.handler.c mc_global.tty.console_flag = '\0'; mc_global 228 src/cons.handler.c status = write (1, &mc_global.tty.console_flag, 1); mc_global 237 src/cons.handler.c if (mc_global.tty.console_flag == '\0') mc_global 243 src/cons.handler.c mc_global.tty.console_flag = '\0'; mc_global 257 src/cons.handler.c status = read (pipefd2[0], &mc_global.tty.console_flag, 1); mc_global 259 src/cons.handler.c if (action == CONSOLE_DONE || mc_global.tty.console_flag == '\0') mc_global 267 src/cons.handler.c mc_global.tty.console_flag = '\0'; mc_global 286 src/cons.handler.c if (mc_global.tty.console_flag != '\0') mc_global 298 src/cons.handler.c mc_global.tty.console_flag = '\001'; mc_global 327 src/cons.handler.c if (mc_global.tty.console_flag == '\0') mc_global 351 src/cons.handler.c if (mc_global.tty.console_flag == '\0') mc_global 356 src/cons.handler.c mc_global.tty.console_flag = '\0'; mc_global 368 src/cons.handler.c if (mc_global.tty.console_flag == '\0') mc_global 420 src/cons.handler.c if (mc_global.tty.console_flag == '\0') mc_global 481 src/cons.handler.c mc_global.tty.console_flag = '\0'; mc_global 2250 src/diffviewer/ydiff.c get_codepage_id (mc_global.source_codepage >= mc_global 2251 src/diffviewer/ydiff.c 0 ? mc_global.source_codepage : mc_global.display_codepage); mc_global 2289 src/diffviewer/ydiff.c mc_config_get_bool (mc_global.main_config, "DiffView", "show_symbols", FALSE); mc_global 2290 src/diffviewer/ydiff.c show_numbers = mc_config_get_bool (mc_global.main_config, "DiffView", "show_numbers", FALSE); mc_global 2293 src/diffviewer/ydiff.c tab_size = mc_config_get_int (mc_global.main_config, "DiffView", "tab_size", 8); mc_global 2299 src/diffviewer/ydiff.c dview->opt.quality = mc_config_get_int (mc_global.main_config, "DiffView", "diff_quality", 0); mc_global 2302 src/diffviewer/ydiff.c mc_config_get_bool (mc_global.main_config, "DiffView", "diff_ignore_tws", FALSE); mc_global 2304 src/diffviewer/ydiff.c mc_config_get_bool (mc_global.main_config, "DiffView", "diff_ignore_all_space", FALSE); mc_global 2306 src/diffviewer/ydiff.c mc_config_get_bool (mc_global.main_config, "DiffView", "diff_ignore_space_change", FALSE); mc_global 2308 src/diffviewer/ydiff.c mc_config_get_bool (mc_global.main_config, "DiffView", "diff_tab_expansion", FALSE); mc_global 2310 src/diffviewer/ydiff.c mc_config_get_bool (mc_global.main_config, "DiffView", "diff_ignore_case", FALSE); mc_global 2320 src/diffviewer/ydiff.c mc_config_set_bool (mc_global.main_config, "DiffView", "show_symbols", dview->display_symbols); mc_global 2321 src/diffviewer/ydiff.c mc_config_set_bool (mc_global.main_config, "DiffView", "show_numbers", mc_global 2323 src/diffviewer/ydiff.c mc_config_set_int (mc_global.main_config, "DiffView", "tab_size", dview->tab_size); mc_global 2325 src/diffviewer/ydiff.c mc_config_set_int (mc_global.main_config, "DiffView", "diff_quality", dview->opt.quality); mc_global 2327 src/diffviewer/ydiff.c mc_config_set_bool (mc_global.main_config, "DiffView", "diff_ignore_tws", mc_global 2329 src/diffviewer/ydiff.c mc_config_set_bool (mc_global.main_config, "DiffView", "diff_ignore_all_space", mc_global 2331 src/diffviewer/ydiff.c mc_config_set_bool (mc_global.main_config, "DiffView", "diff_ignore_space_change", mc_global 2333 src/diffviewer/ydiff.c mc_config_set_bool (mc_global.main_config, "DiffView", "diff_tab_expansion", mc_global 2335 src/diffviewer/ydiff.c mc_config_set_bool (mc_global.main_config, "DiffView", "diff_ignore_case", mc_global 2612 src/diffviewer/ydiff.c if (mc_global.utf8_display) mc_global 2686 src/diffviewer/ydiff.c if (mc_global.utf8_display) mc_global 3002 src/diffviewer/ydiff.c act = query_dialog (_("Quit"), !mc_global.midnight_shutdown ? mc_global 3008 src/diffviewer/ydiff.c if (mc_global.midnight_shutdown || (act == -1)) mc_global 3453 src/diffviewer/ydiff.c switch (mc_global.mc_run_mode) mc_global 2321 src/editor/edit.c get_codepage_id (mc_global.source_codepage >= mc_global 2322 src/editor/edit.c 0 ? mc_global.source_codepage : mc_global.display_codepage); mc_global 2853 src/editor/edit.c if (mc_global.utf8_display) mc_global 2873 src/editor/edit.c || (!mc_global.utf8_display && !edit->utf8) mc_global 3485 src/editor/edit.c if (!mc_global.utf8_display || edit->charpoint == 0) mc_global 3497 src/editor/edit.c if (char_for_insertion > 127 && str_isutf8 (get_codepage_id (mc_global.source_codepage)) mc_global 3498 src/editor/edit.c && !mc_global.utf8_display) mc_global 1146 src/editor/editcmd.c vfs_path_build_filename (mc_global.sysconfig_dir, EDIT_SYNTAX_FILE, (char *) NULL); mc_global 1151 src/editor/editcmd.c vfs_path_build_filename (mc_global.share_data_dir, EDIT_SYNTAX_FILE, (char *) NULL); mc_global 1197 src/editor/editcmd.c vfs_path_build_filename (mc_global.sysconfig_dir, EDIT_GLOBAL_MENU, (char *) NULL); mc_global 1202 src/editor/editcmd.c vfs_path_build_filename (mc_global.share_data_dir, EDIT_GLOBAL_MENU, (char *) NULL); mc_global 1220 src/editor/editcmd.c vfs_path_build_filename (mc_global.sysconfig_dir, EDIT_GLOBAL_MENU, (char *) NULL); mc_global 1225 src/editor/editcmd.c vfs_path_build_filename (mc_global.share_data_dir, EDIT_GLOBAL_MENU, (char *) NULL); mc_global 1480 src/editor/editcmd.c if (!mc_global.midnight_shutdown) mc_global 1503 src/editor/editcmd.c if (!mc_global.midnight_shutdown && !edit_check_newline (&edit->buffer)) mc_global 1507 src/editor/editcmd.c if (!edit_save_cmd (edit) || mc_global.midnight_shutdown) mc_global 1508 src/editor/editcmd.c return mc_global.midnight_shutdown; mc_global 240 src/editor/editcomplete.c mc_config_get_bool (mc_global.main_config, CONFIG_APP_SECTION, mc_global 267 src/editor/editcomplete.c mc_config_get_bool (mc_global.main_config, CONFIG_APP_SECTION, mc_global 151 src/editor/editdraw.c mc_global.source_codepage >= 0 ? get_codepage_id (mc_global.source_codepage) : mc_global 168 src/editor/editdraw.c mc_global.source_codepage >= 0 ? get_codepage_id (mc_global.source_codepage) : mc_global 722 src/editor/editdraw.c if (mc_global.utf8_display) mc_global 767 src/editor/editdraw.c if (mc_global.utf8_display) mc_global 144 src/editor/editwidget.c ver = g_strdup_printf ("MCEdit %s", mc_global.mc_version); mc_global 538 src/editor/editwidget.c if (!mc_global.utf8_display) mc_global 283 src/editor/spell.c if (mc_global.source_codepage > 0) mc_global 284 src/editor/spell.c spell_codeset = get_codepage_id (mc_global.source_codepage); mc_global 602 src/editor/spell.c if (mc_global.source_codepage >= 0 && mc_global.source_codepage != mc_global.display_codepage) mc_global 639 src/editor/spell.c if (mc_global.source_codepage >= 0 && mc_global 640 src/editor/spell.c (mc_global.source_codepage != mc_global.display_codepage)) mc_global 912 src/editor/syntax.c g_build_filename (mc_global.share_data_dir, EDIT_SYNTAX_DIR, filename, (char *) NULL); mc_global 1283 src/editor/syntax.c g_build_filename (mc_global.share_data_dir, EDIT_SYNTAX_FILE, (char *) NULL); mc_global 94 src/execute.c if (mc_global.tty.alternate_plus_minus) mc_global 107 src/execute.c if (!(mc_global.tty.console_flag != '\0' || mc_global.tty.xterm_flag)) mc_global 152 src/execute.c if (mc_global.tty.console_flag != '\0' && !mc_global.tty.use_subshell) mc_global 172 src/execute.c if (mc_global.tty.console_flag != '\0' && !mc_global.tty.use_subshell) mc_global 238 src/execute.c mc_config_get_string_raw (mc_global.main_config, CONFIG_EXT_EDITOR_VIEWER_SECTION, command, mc_global 245 src/execute.c cfg = mc_config_init (mc_global.profile_name, TRUE); mc_global 306 src/execute.c if (mc_global.mc_run_mode == MC_RUN_FULL) mc_global 309 src/execute.c if (mc_global.tty.console_flag != '\0') mc_global 312 src/execute.c if (!mc_global.tty.use_subshell && *argv != NULL && (flags & EXECUTE_INTERNAL) == 0) mc_global 318 src/execute.c if (mc_global.tty.use_subshell && (flags & EXECUTE_INTERNAL) == 0) mc_global 332 src/execute.c || (pause_after_run == pause_on_dumb_terminals && !mc_global.tty.xterm_flag mc_global 333 src/execute.c && mc_global.tty.console_flag == '\0')) && quit == 0 mc_global 346 src/execute.c if (mc_global.tty.console_flag != '\0' && output_lines != 0 && mc_global.keybar_visible) mc_global 353 src/execute.c if (mc_global.tty.console_flag != '\0') mc_global 372 src/execute.c if (mc_global.mc_run_mode == MC_RUN_FULL) mc_global 435 src/execute.c if (mc_global.tty.use_subshell) mc_global 438 src/execute.c do_execute (mc_global.shell->path, cmd != NULL ? cmd : command, mc_global 445 src/execute.c do_execute (mc_global.shell->path, cmd != NULL ? cmd : command, flags | EXECUTE_AS_SHELL); mc_global 463 src/execute.c if (!(mc_global.tty.xterm_flag || mc_global.tty.console_flag != '\0' mc_global 464 src/execute.c || mc_global.tty.use_subshell || output_starts_shell)) mc_global 478 src/execute.c if (mc_global.tty.alternate_plus_minus) mc_global 491 src/execute.c if (mc_global.tty.console_flag != '\0') mc_global 495 src/execute.c if (mc_global.tty.use_subshell) mc_global 510 src/execute.c my_system (EXECUTE_INTERNAL, mc_global.shell->path, NULL); mc_global 516 src/execute.c if (mc_global.tty.console_flag != '\0') mc_global 535 src/execute.c if (mc_global.tty.use_subshell) mc_global 543 src/execute.c if (mc_global.tty.alternate_plus_minus) mc_global 554 src/execute.c if (mc_global.tty.use_subshell) mc_global 556 src/execute.c if (mc_global.mc_run_mode == MC_RUN_FULL) mc_global 568 src/execute.c if (mc_global.mc_run_mode == MC_RUN_FULL) mc_global 593 src/execute.c if (mc_global.mc_run_mode == MC_RUN_FULL) mc_global 596 src/execute.c if (mc_global.mc_run_mode == MC_RUN_FULL) mc_global 165 src/filemanager/boxes.c if (mc_global.mc_run_mode == MC_RUN_FULL) mc_global 295 src/filemanager/boxes.c mc_global.tty.shadows = CHECK (sender)->state; mc_global 385 src/filemanager/boxes.c mc_global.utf8_display = str_isutf8 (cpname); mc_global 556 src/filemanager/boxes.c QUICK_CHECKBOX (N_("&Preallocate space"), &mc_global.vfs.preallocate_space, mc_global 579 src/filemanager/boxes.c &mc_global.widget.show_all_if_ambiguous, NULL), mc_global 581 src/filemanager/boxes.c QUICK_CHECKBOX (N_("Cd follows lin&ks"), &mc_global.vfs.cd_symlinks, NULL), mc_global 611 src/filemanager/boxes.c mc_global.vfs.preallocate_space = FALSE; mc_global 632 src/filemanager/boxes.c gboolean shadows = mc_global.tty.shadows; mc_global 647 src/filemanager/boxes.c QUICK_CHECKBOX (N_("&Shadows"), &mc_global.tty.shadows, &shadows_id), mc_global 661 src/filemanager/boxes.c mc_config_set_string (mc_global.main_config, CONFIG_APP_SECTION, "skin", mc_global 666 src/filemanager/boxes.c mc_global.tty.shadows = shadows; mc_global 681 src/filemanager/boxes.c simple_swap = mc_config_get_bool (mc_global.main_config, CONFIG_PANELS_SECTION, mc_global 744 src/filemanager/boxes.c mc_config_set_bool (mc_global.main_config, CONFIG_PANELS_SECTION, "simple_swap", simple_swap); mc_global 935 src/filemanager/boxes.c &mc_global.widget.confirm_history_cleanup, NULL), mc_global 984 src/filemanager/boxes.c if (mc_global.full_eight_bits) mc_global 986 src/filemanager/boxes.c else if (mc_global.eight_bit_clean) mc_global 995 src/filemanager/boxes.c mc_global.eight_bit_clean = current_mode < 3; mc_global 996 src/filemanager/boxes.c mc_global.full_eight_bits = current_mode < 2; mc_global 998 src/filemanager/boxes.c tty_display_8bit (mc_global.eight_bit_clean); mc_global 1000 src/filemanager/boxes.c tty_display_8bit (mc_global.full_eight_bits); mc_global 1014 src/filemanager/boxes.c new_display_codepage = mc_global.display_codepage; mc_global 1050 src/filemanager/boxes.c mc_global.display_codepage = new_display_codepage; mc_global 1052 src/filemanager/boxes.c errmsg = init_translation_table (mc_global.source_codepage, mc_global.display_codepage); mc_global 1060 src/filemanager/boxes.c tty_display_8bit (mc_global.display_codepage != 0 && mc_global.display_codepage != 1); mc_global 1062 src/filemanager/boxes.c tty_display_8bit (mc_global.display_codepage != 0); mc_global 463 src/filemanager/chattr.c if (!mc_global.tty.slow_terminal && check_attr_mod_num > w->rect.lines) mc_global 674 src/filemanager/cmd.c if (mc_global.mc_run_mode == MC_RUN_FULL) mc_global 746 src/filemanager/cmd.c mc_global.source_codepage = default_source_codepage; mc_global 837 src/filemanager/cmd.c extdir_vpath = vfs_path_build_filename (mc_global.sysconfig_dir, MC_EXT_FILE, (char *) NULL); mc_global 854 src/filemanager/cmd.c vfs_path_build_filename (mc_global.share_data_dir, MC_EXT_FILE, (char *) NULL); mc_global 879 src/filemanager/cmd.c vfs_path_build_filename (mc_global.sysconfig_dir, MC_GLOBAL_MENU, (char *) NULL); mc_global 885 src/filemanager/cmd.c vfs_path_build_filename (mc_global.share_data_dir, MC_GLOBAL_MENU, (char *) NULL); mc_global 903 src/filemanager/cmd.c vfs_path_build_filename (mc_global.sysconfig_dir, MC_GLOBAL_MENU, (char *) NULL); mc_global 908 src/filemanager/cmd.c vfs_path_build_filename (mc_global.share_data_dir, MC_GLOBAL_MENU, (char *) NULL); mc_global 937 src/filemanager/cmd.c vfs_path_build_filename (mc_global.sysconfig_dir, MC_FHL_INI_FILE, (char *) NULL); mc_global 954 src/filemanager/cmd.c vfs_path_build_filename (mc_global.sysconfig_dir, MC_FHL_INI_FILE, (char *) NULL); mc_global 1061 src/filemanager/cmd.c if (mc_global.mc_run_mode == MC_RUN_FULL) mc_global 125 src/filemanager/command.c if (mc_global.tty.use_subshell && subshell_state != INACTIVE) mc_global 162 src/filemanager/command.c if (mc_global.tty.use_subshell) mc_global 166 src/filemanager/command.c if (mc_global.tty.use_subshell) mc_global 525 src/filemanager/ext.c if (mc_global.tty.console_flag != '\0') mc_global 528 src/filemanager/ext.c if (output_lines != 0 && mc_global.keybar_visible) mc_global 532 src/filemanager/ext.c end_line = LINES - (mc_global.keybar_visible ? 1 : 0) - 1; mc_global 816 src/filemanager/ext.c extension_file = mc_build_filename (mc_global.sysconfig_dir, MC_EXT_FILE, (char *) NULL); mc_global 821 src/filemanager/ext.c mc_build_filename (mc_global.share_data_dir, MC_EXT_FILE, (char *) NULL); mc_global 847 src/filemanager/ext.c mc_global.sysconfig_dir, MC_EXT_FILE); mc_global 861 src/filemanager/ext.c extension_file, mc_global.sysconfig_dir, MC_EXT_FILE); mc_global 755 src/filemanager/file.c if (mc_global.we_are_background) mc_global 915 src/filemanager/file.c if (mc_global.we_are_background) mc_global 1051 src/filemanager/file.c if (mc_global.we_are_background) mc_global 1072 src/filemanager/file.c if (mc_global.we_are_background) mc_global 1095 src/filemanager/file.c if (mc_global.we_are_background) mc_global 2099 src/filemanager/file.c if (!mc_global.we_are_background) mc_global 2654 src/filemanager/file.c while (mc_global.vfs.preallocate_space && mc_global 3705 src/filemanager/file.c if (mc_global.we_are_background) mc_global 525 src/filemanager/filemanager.c if (mc_global.midnight_shutdown) mc_global 528 src/filemanager/filemanager.c if (!mc_global.message_visible || the_hint == NULL || WIDGET (the_hint)->owner == NULL) mc_global 548 src/filemanager/filemanager.c if (mc_global.message_visible) mc_global 845 src/filemanager/filemanager.c tty_display_8bit (mc_global.full_eight_bits); mc_global 853 src/filemanager/filemanager.c tty_display_8bit (mc_global.eight_bit_clean); mc_global 858 src/filemanager/filemanager.c if ((baudrate > 0 && baudrate < 9600) || mc_global.tty.slow_terminal) mc_global 940 src/filemanager/filemanager.c if (mc_global.tty.use_subshell) mc_global 941 src/filemanager/filemanager.c add_select_channel (mc_global.tty.subshell_pty, load_prompt, NULL); mc_global 972 src/filemanager/filemanager.c switch (mc_global.mc_run_mode) mc_global 1075 src/filemanager/filemanager.c if (!mc_global.tty.use_subshell) mc_global 1497 src/filemanager/filemanager.c if (mc_global.tty.console_flag != '\0' && output_lines != 0) mc_global 1501 src/filemanager/filemanager.c end_line = LINES - (mc_global.keybar_visible ? 1 : 0) - 1; mc_global 1544 src/filemanager/filemanager.c if ((!mc_global.tty.alternate_plus_minus mc_global 1545 src/filemanager/filemanager.c || !(mc_global.tty.console_flag != '\0' || mc_global.tty.xterm_flag)) && !quote mc_global 1670 src/filemanager/filemanager.c data = load_mc_home_file (mc_global.share_data_dir, MC_HINT, NULL, &len); mc_global 1733 src/filemanager/filemanager.c if (!mc_global.message_visible) mc_global 1751 src/filemanager/filemanager.c g_snprintf (text, sizeof (text), _("GNU Midnight Commander %s\n"), mc_global.mc_version); mc_global 1812 src/filemanager/filemanager.c if (mc_global.mc_run_mode != MC_RUN_FULL) mc_global 1841 src/filemanager/filemanager.c mc_global.midnight_shutdown = TRUE; mc_global 17 src/filemanager/filemanager.h #define MENU_PANEL (mc_global.widget.is_right ? right_panel : left_panel) mc_global 18 src/filemanager/filemanager.h #define MENU_PANEL_IDX (mc_global.widget.is_right ? 1 : 0) mc_global 288 src/filemanager/find.c mc_config_get_bool (mc_global.main_config, "FindFile", "file_case_sens", TRUE); mc_global 290 src/filemanager/find.c mc_config_get_bool (mc_global.main_config, "FindFile", "file_shell_pattern", TRUE); mc_global 292 src/filemanager/find.c mc_config_get_bool (mc_global.main_config, "FindFile", "file_find_recurs", TRUE); mc_global 294 src/filemanager/find.c mc_config_get_bool (mc_global.main_config, "FindFile", "follow_symlinks", FALSE); mc_global 296 src/filemanager/find.c mc_config_get_bool (mc_global.main_config, "FindFile", "file_skip_hidden", FALSE); mc_global 298 src/filemanager/find.c mc_config_get_bool (mc_global.main_config, "FindFile", "file_all_charsets", FALSE); mc_global 300 src/filemanager/find.c mc_config_get_bool (mc_global.main_config, "FindFile", "content_case_sens", TRUE); mc_global 302 src/filemanager/find.c mc_config_get_bool (mc_global.main_config, "FindFile", "content_regexp", FALSE); mc_global 304 src/filemanager/find.c mc_config_get_bool (mc_global.main_config, "FindFile", "content_first_hit", FALSE); mc_global 306 src/filemanager/find.c mc_config_get_bool (mc_global.main_config, "FindFile", "content_whole_words", FALSE); mc_global 308 src/filemanager/find.c mc_config_get_bool (mc_global.main_config, "FindFile", "content_all_charsets", FALSE); mc_global 310 src/filemanager/find.c mc_config_get_bool (mc_global.main_config, "FindFile", "ignore_dirs_enable", TRUE); mc_global 312 src/filemanager/find.c mc_config_get_string (mc_global.main_config, "FindFile", "ignore_dirs", ""); mc_global 323 src/filemanager/find.c mc_config_set_bool (mc_global.main_config, "FindFile", "file_case_sens", mc_global 325 src/filemanager/find.c mc_config_set_bool (mc_global.main_config, "FindFile", "file_shell_pattern", mc_global 327 src/filemanager/find.c mc_config_set_bool (mc_global.main_config, "FindFile", "file_find_recurs", options.find_recurs); mc_global 328 src/filemanager/find.c mc_config_set_bool (mc_global.main_config, "FindFile", "follow_symlinks", mc_global 330 src/filemanager/find.c mc_config_set_bool (mc_global.main_config, "FindFile", "file_skip_hidden", options.skip_hidden); mc_global 331 src/filemanager/find.c mc_config_set_bool (mc_global.main_config, "FindFile", "file_all_charsets", mc_global 333 src/filemanager/find.c mc_config_set_bool (mc_global.main_config, "FindFile", "content_case_sens", mc_global 335 src/filemanager/find.c mc_config_set_bool (mc_global.main_config, "FindFile", "content_regexp", mc_global 337 src/filemanager/find.c mc_config_set_bool (mc_global.main_config, "FindFile", "content_first_hit", mc_global 339 src/filemanager/find.c mc_config_set_bool (mc_global.main_config, "FindFile", "content_whole_words", mc_global 341 src/filemanager/find.c mc_config_set_bool (mc_global.main_config, "FindFile", "content_all_charsets", mc_global 343 src/filemanager/find.c mc_config_set_bool (mc_global.main_config, "FindFile", "ignore_dirs_enable", mc_global 345 src/filemanager/find.c mc_config_set_string (mc_global.main_config, "FindFile", "ignore_dirs", options.ignore_dirs); mc_global 1202 src/filemanager/hotlist.c keys = mc_config_get_keys (mc_global.main_config, group_section, NULL); mc_global 1207 src/filemanager/hotlist.c add2hotlist (mc_config_get_string (mc_global.main_config, group_section, *profile_keys, ""), mc_global 1212 src/filemanager/hotlist.c keys = mc_config_get_keys (mc_global.main_config, grp->directory, NULL); mc_global 1215 src/filemanager/hotlist.c add2hotlist (mc_config_get_string (mc_global.main_config, group_section, *profile_keys, ""), mc_global 1427 src/filemanager/hotlist.c if (mc_config_has_group (mc_global.main_config, section)) mc_global 1428 src/filemanager/hotlist.c mc_config_del_group (mc_global.main_config, section); mc_global 1430 src/filemanager/hotlist.c if (mc_config_has_group (mc_global.main_config, grp_section)) mc_global 1434 src/filemanager/hotlist.c keys = mc_config_get_keys (mc_global.main_config, grp_section, NULL); mc_global 1440 src/filemanager/hotlist.c mc_config_del_group (mc_global.main_config, grp_section); mc_global 1507 src/filemanager/hotlist.c if (!mc_config_save_file (mc_global.main_config, &mcerror)) mc_global 1508 src/filemanager/hotlist.c setup_save_config_show_error (mc_global.main_config->ini_path, &mcerror); mc_global 125 src/filemanager/info.c tty_printf (_("Midnight Commander %s"), mc_global.mc_version); mc_global 176 src/filemanager/layout.c { N_("&Keybar visible"), &mc_global.keybar_visible, NULL }, mc_global 177 src/filemanager/layout.c { N_("H&intbar visible"), &mc_global.message_visible, NULL }, mc_global 332 src/filemanager/layout.c tty_setcolor (mc_global.tty.console_flag != '\0' ? COLOR_NORMAL : DISABLED_COLOR); mc_global 364 src/filemanager/layout.c if (mc_global.tty.console_flag == '\0') mc_global 388 src/filemanager/layout.c tty_setcolor (mc_global.tty.console_flag != '\0' ? COLOR_NORMAL : DISABLED_COLOR); mc_global 463 src/filemanager/layout.c mc_global.keybar_visible = check_options[3].widget->state; mc_global 465 src/filemanager/layout.c mc_global.message_visible = check_options[4].widget->state; mc_global 595 src/filemanager/layout.c disabled = mc_global.tty.console_flag != '\0' ? 0 : WST_DISABLED; mc_global 678 src/filemanager/layout.c old_layout.keybar_visible = mc_global.keybar_visible; mc_global 679 src/filemanager/layout.c old_layout.message_visible = mc_global.message_visible; mc_global 696 src/filemanager/layout.c mc_global.keybar_visible = old_layout.keybar_visible; mc_global 697 src/filemanager/layout.c mc_global.message_visible = old_layout.message_visible; mc_global 834 src/filemanager/layout.c r->lines - (menubar_visible ? 1 : 0) - (mc_global.message_visible ? 1 : 0) - mc_global 835 src/filemanager/layout.c (command_prompt ? 1 : 0) - (mc_global.keybar_visible ? 1 : 0); mc_global 837 src/filemanager/layout.c if (mc_global.tty.console_flag != '\0') mc_global 881 src/filemanager/layout.c widget_set_visibility (WIDGET (the_hint), mc_global.message_visible); mc_global 884 src/filemanager/layout.c if (mc_global.tty.console_flag != '\0' && output_lines != 0) mc_global 888 src/filemanager/layout.c end_line = r->lines - (mc_global.keybar_visible ? 1 : 0) - 1; mc_global 896 src/filemanager/layout.c if (!mc_global.tty.use_subshell || !do_load_prompt ()) mc_global 911 src/filemanager/layout.c widget_set_visibility (WIDGET (the_bar), mc_global.keybar_visible); mc_global 991 src/filemanager/layout.c if (mc_global.tty.use_subshell) mc_global 1015 src/filemanager/layout.c if (mc_global.tty.use_subshell) mc_global 1022 src/filemanager/layout.c y = r->lines - 1 - (mc_global.keybar_visible ? 1 : 0); mc_global 1293 src/filemanager/layout.c !mc_config_get_bool (mc_global.main_config, CONFIG_PANELS_SECTION, "simple_swap", FALSE)) mc_global 1563 src/filemanager/layout.c if (mc_global.tty.xterm_flag && xterm_title) mc_global 1578 src/filemanager/layout.c if (!mc_global.tty.alternate_plus_minus) mc_global 1590 src/filemanager/layout.c if (mc_global.tty.xterm_flag && vfs_current_is_local ()) mc_global 1462 src/filemanager/panel.c if ((mc_global.midnight_shutdown && auto_save_setup) || saving_setup) mc_global 3044 src/filemanager/panel.c mc_global.source_codepage = default_source_codepage; mc_global 3450 src/filemanager/panel.c if (mc_global.tty.use_subshell && vfs_current_is_local ()) mc_global 4611 src/filemanager/panel.c if (!mc_config_has_group (mc_global.main_config, section)) mc_global 5093 src/filemanager/panel.c g_free (init_translation_table (mc_global.display_codepage, mc_global.display_codepage)); mc_global 5101 src/filemanager/panel.c errmsg = init_translation_table (panel->codepage, mc_global.display_codepage); mc_global 498 src/filemanager/panelize.c keys = mc_config_get_keys (mc_global.main_config, panelize_section, NULL); mc_global 524 src/filemanager/panelize.c if (mc_global.utf8_display || conv == INVALID_CONV) mc_global 534 src/filemanager/panelize.c mc_config_get_string (mc_global.main_config, panelize_section, mc_global 551 src/filemanager/panelize.c mc_config_del_group (mc_global.main_config, panelize_section); mc_global 558 src/filemanager/panelize.c mc_config_set_string (mc_global.main_config, mc_global 573 src/filemanager/treestore.c process_special_dirs (&special_dirs, mc_global.profile_name); mc_global 523 src/help.c tty_print_string (mc_global.mc_version); mc_global 524 src/help.c col += str_term_width1 (mc_global.mc_version); mc_global 1102 src/help.c filedata = load_mc_home_file (mc_global.share_data_dir, MC_HELP, &hlpfile, NULL); mc_global 763 src/keymap.c ret = g_build_filename (mc_global.share_data_dir, subdir, lc_basename, (char *) NULL); mc_global 765 src/keymap.c ret = g_build_filename (mc_global.share_data_dir, lc_basename, (char *) NULL); mc_global 820 src/keymap.c share_keymap = g_build_filename (mc_global.share_data_dir, GLOBAL_KEYMAP_FILE, (char *) NULL); mc_global 825 src/keymap.c g_build_filename (mc_global.sysconfig_dir, GLOBAL_KEYMAP_FILE, (char *) NULL); mc_global 850 src/keymap.c fname2 = mc_config_get_string (mc_global.main_config, CONFIG_APP_SECTION, "keymap", NULL); mc_global 369 src/learn.c mc_config_set_string_raw_value (mc_global.main_config, section, mc_global 383 src/learn.c mc_config_save_file (mc_global.main_config, NULL); mc_global 396 src/learn.c gboolean save_alternate_plus_minus = mc_global.tty.alternate_plus_minus; mc_global 405 src/learn.c mc_global.tty.alternate_plus_minus = TRUE; mc_global 412 src/learn.c mc_global.tty.alternate_plus_minus = save_alternate_plus_minus; mc_global 414 src/learn.c if (!mc_global.tty.alternate_plus_minus) mc_global 113 src/main.c _display_codepage = get_codepage_id (mc_global.display_codepage); mc_global 117 src/main.c mc_global.display_codepage = get_codepage_index (current_system_codepage); mc_global 118 src/main.c if (mc_global.display_codepage == -1) mc_global 119 src/main.c mc_global.display_codepage = 0; mc_global 121 src/main.c mc_config_set_string (mc_global.main_config, CONFIG_MISC_SECTION, "display_codepage", mc_global 127 src/main.c mc_global.utf8_display = str_isutf8 (current_system_codepage); mc_global 144 src/main.c mc_global.sysconfig_dir = g_strdup (datadir_env); mc_global 146 src/main.c mc_global.sysconfig_dir = g_strdup (SYSCONFDIR); mc_global 148 src/main.c mc_global.share_data_dir = g_strdup (DATADIR); mc_global 159 src/main.c if (mc_global.tty.console_flag == '\0') mc_global 182 src/main.c mc_global.tty.console_flag = '\0'; mc_global 201 src/main.c mc_global.tty.use_subshell ? sigchld_handler : mc_global 218 src/main.c mc_global.tty.use_subshell = FALSE; mc_global 263 src/main.c mc_global.run_from_parent_mc = !check_sid (); mc_global 293 src/main.c mc_global.tty.xterm_flag = tty_check_term (mc_args__force_xterm); mc_global 353 src/main.c if (mc_global.mc_run_mode == MC_RUN_FULL) mc_global 358 src/main.c buffer = mc_config_get_string (mc_global.panels_config, "Dirs", "other_dir", "."); mc_global 376 src/main.c if (mc_global.mc_run_mode != MC_RUN_FULL && mc_global.run_from_parent_mc) mc_global 377 src/main.c mc_global.tty.use_subshell = FALSE; mc_global 379 src/main.c if (mc_global.tty.use_subshell) mc_global 391 src/main.c tty_init (!mc_args__nomouse, mc_global.tty.xterm_flag); mc_global 405 src/main.c tty_init_colors (mc_global.tty.disable_colors, mc_args__force_colors); mc_global 410 src/main.c if (mc_global.mc_run_mode == MC_RUN_FULL) mc_global 418 src/main.c if (mc_global.tty.use_subshell && mc_global.run_from_parent_mc) mc_global 434 src/main.c mc_global.midnight_shutdown = TRUE; mc_global 437 src/main.c mc_global.tty.use_subshell = FALSE; mc_global 440 src/main.c if (mc_global.tty.use_subshell) mc_global 444 src/main.c if (!mc_global.midnight_shutdown) mc_global 447 src/main.c if (mc_global.tty.console_flag != '\0') mc_global 450 src/main.c if (mc_global.tty.alternate_plus_minus) mc_global 466 src/main.c if (mc_global.midnight_shutdown) mc_global 497 src/main.c if (mc_global.tty.console_flag != '\0' && (quit & SUBSHELL_EXIT) == 0) mc_global 499 src/main.c if (mc_global.tty.alternate_plus_minus) mc_global 504 src/main.c if (mc_global.tty.console_flag != '\0') mc_global 507 src/main.c if (mc_global.mc_run_mode == MC_RUN_FULL && mc_args__last_wd_file != NULL mc_global 548 src/main.c if (mc_global.mc_run_mode != MC_RUN_EDITOR) mc_global 144 src/selcodepage.c mc_global.source_codepage = codepage; mc_global 146 src/selcodepage.c mc_global.display_codepage : mc_global.source_codepage, mc_global 147 src/selcodepage.c mc_global.display_codepage); mc_global 273 src/setup.c { "message_visible", &mc_global.message_visible }, mc_global 274 src/setup.c { "keybar_visible", &mc_global.keybar_visible }, mc_global 293 src/setup.c { "preallocate_space", &mc_global.vfs.preallocate_space }, mc_global 301 src/setup.c { "confirm_history_cleanup", &mc_global.widget.confirm_history_cleanup }, mc_global 308 src/setup.c { "eight_bit_clean", &mc_global.eight_bit_clean }, mc_global 309 src/setup.c { "full_eight_bits", &mc_global.full_eight_bits }, mc_global 318 src/setup.c { "cd_symlinks", &mc_global.vfs.cd_symlinks }, mc_global 319 src/setup.c { "show_all_if_ambiguous", &mc_global.widget.show_all_if_ambiguous }, mc_global 323 src/setup.c { "alternate_plus_minus", &mc_global.tty.alternate_plus_minus }, mc_global 365 src/setup.c { "shadows", &mc_global.tty.shadows }, mc_global 519 src/setup.c mc_config_get_bool (mc_global.main_config, CONFIG_APP_SECTION, bool_options[i].opt_name, mc_global 525 src/setup.c mc_config_get_int (mc_global.main_config, CONFIG_APP_SECTION, int_options[i].opt_name, mc_global 531 src/setup.c mc_config_get_string (mc_global.main_config, CONFIG_APP_SECTION, mc_global 561 src/setup.c buffer = mc_config_get_string (mc_global.panels_config, section, "display", "listing"); mc_global 585 src/setup.c mc_config_get_int (mc_global.main_config, CONFIG_LAYOUT_SECTION, mc_global 590 src/setup.c mc_config_get_bool (mc_global.main_config, CONFIG_LAYOUT_SECTION, mc_global 601 src/setup.c mc_config_get_bool (mc_global.panels_config, "Dirs", "current_is_left", TRUE); mc_global 674 src/setup.c mc_config_set_string (mc_global.panels_config, section, "display", mc_global 688 src/setup.c if (mc_config_has_group (mc_global.main_config, CONFIG_PANELS_SECTION)) mc_global 695 src/setup.c mc_config_get_bool (mc_global.main_config, CONFIG_PANELS_SECTION, mc_global 699 src/setup.c qmode = mc_config_get_int (mc_global.main_config, CONFIG_PANELS_SECTION, mc_global 709 src/setup.c mc_config_get_int (mc_global.main_config, CONFIG_PANELS_SECTION, "select_flags", mc_global 725 src/setup.c mc_config_set_bool (mc_global.main_config, CONFIG_PANELS_SECTION, mc_global 728 src/setup.c mc_config_set_int (mc_global.main_config, CONFIG_PANELS_SECTION, mc_global 730 src/setup.c mc_config_set_int (mc_global.main_config, CONFIG_PANELS_SECTION, mc_global 743 src/setup.c mc_config_set_bool (mc_global.main_config, CONFIG_APP_SECTION, bool_options[i].opt_name, mc_global 748 src/setup.c mc_config_set_int (mc_global.main_config, CONFIG_APP_SECTION, int_options[i].opt_name, mc_global 753 src/setup.c mc_config_set_string (mc_global.main_config, CONFIG_APP_SECTION, str_options[i].opt_name, mc_global 766 src/setup.c mc_config_set_int (mc_global.main_config, CONFIG_LAYOUT_SECTION, mc_global 771 src/setup.c mc_config_set_bool (mc_global.main_config, CONFIG_LAYOUT_SECTION, mc_global 783 src/setup.c if (mc_global.mc_run_mode != MC_RUN_FULL) mc_global 799 src/setup.c mc_config_set_string (mc_global.panels_config, "Dirs", "other_dir", dirs); mc_global 804 src/setup.c mc_config_set_bool (mc_global.panels_config, "Dirs", "current_is_left", mc_global 807 src/setup.c if (mc_global.panels_config->ini_path == NULL) mc_global 808 src/setup.c mc_global.panels_config->ini_path = g_strdup (panels_profile_name); mc_global 810 src/setup.c mc_config_del_group (mc_global.panels_config, "Temporal:New Left Panel"); mc_global 811 src/setup.c mc_config_del_group (mc_global.panels_config, "Temporal:New Right Panel"); mc_global 813 src/setup.c mc_config_save_file (mc_global.panels_config, NULL); mc_global 832 src/setup.c inifile = mc_build_filename (mc_global.sysconfig_dir, "mc.ini", (char *) NULL); mc_global 841 src/setup.c inifile = mc_build_filename (mc_global.share_data_dir, "mc.ini", (char *) NULL); mc_global 875 src/setup.c mc_global.profile_name = mc_global 876 src/setup.c g_build_filename (mc_global.sysconfig_dir, MC_GLOBAL_CONFIG_FILE, (char *) NULL); mc_global 877 src/setup.c if (!exist_file (mc_global.profile_name)) mc_global 879 src/setup.c g_free (mc_global.profile_name); mc_global 880 src/setup.c mc_global.profile_name = mc_global 881 src/setup.c g_build_filename (mc_global.share_data_dir, MC_GLOBAL_CONFIG_FILE, (char *) NULL); mc_global 886 src/setup.c mc_global.main_config = mc_config_init (profile, FALSE); mc_global 891 src/setup.c mc_global.panels_config = mc_config_init (panels_profile_name, FALSE); mc_global 900 src/setup.c mc_config_get_string (mc_global.main_config, CONFIG_MISC_SECTION, "timeformat_recent", mc_global 903 src/setup.c mc_config_get_string (mc_global.main_config, CONFIG_MISC_SECTION, "timeformat_old", mc_global 908 src/setup.c mc_config_get_string (mc_global.main_config, CONFIG_MISC_SECTION, "ftp_proxy_host", "gate"); mc_global 913 src/setup.c mc_global.tty.setup_color_string = mc_global 914 src/setup.c mc_config_get_string (mc_global.main_config, "Colors", "base_color", ""); mc_global 915 src/setup.c mc_global.tty.term_color_string = mc_global 916 src/setup.c mc_config_get_string (mc_global.main_config, "Colors", getenv ("TERM"), ""); mc_global 917 src/setup.c mc_global.tty.color_terminal_string = mc_global 918 src/setup.c mc_config_get_string (mc_global.main_config, "Colors", "color_terminals", ""); mc_global 930 src/setup.c mc_config_get_string (mc_global.main_config, CONFIG_MISC_SECTION, "display_codepage", mc_global 934 src/setup.c mc_global.display_codepage = get_codepage_index (buffer); mc_global 935 src/setup.c cp_display = get_codepage_id (mc_global.display_codepage); mc_global 939 src/setup.c mc_config_get_string (mc_global.main_config, CONFIG_MISC_SECTION, "source_codepage", mc_global 944 src/setup.c mc_global.source_codepage = default_source_codepage; /* May be source_codepage doesn't need this */ mc_global 945 src/setup.c cp_source = get_codepage_id (mc_global.source_codepage); mc_global 951 src/setup.c mc_config_get_string (mc_global.main_config, CONFIG_MISC_SECTION, "autodetect_codeset", ""); mc_global 955 src/setup.c g_free (init_translation_table (mc_global.source_codepage, mc_global.display_codepage)); mc_global 956 src/setup.c cbuffer = get_codepage_id (mc_global.display_codepage); mc_global 958 src/setup.c mc_global.utf8_display = str_isutf8 (cbuffer); mc_global 963 src/setup.c mc_config_get_string (mc_global.main_config, CONFIG_MISC_SECTION, "spell_language", "en"); mc_global 967 src/setup.c mc_config_get_string (mc_global.main_config, CONFIG_MISC_SECTION, "clipboard_store", ""); mc_global 969 src/setup.c mc_config_get_string (mc_global.main_config, CONFIG_MISC_SECTION, "clipboard_paste", ""); mc_global 997 src/setup.c mc_config_set_string (mc_global.main_config, CONFIG_MISC_SECTION, "ftpfs_password", mc_global 1000 src/setup.c mc_config_set_string (mc_global.main_config, CONFIG_MISC_SECTION, "ftp_proxy_host", mc_global 1005 src/setup.c mc_config_set_string (mc_global.main_config, CONFIG_MISC_SECTION, "display_codepage", mc_global 1006 src/setup.c get_codepage_id (mc_global.display_codepage)); mc_global 1007 src/setup.c mc_config_set_string (mc_global.main_config, CONFIG_MISC_SECTION, "source_codepage", mc_global 1009 src/setup.c mc_config_set_string (mc_global.main_config, CONFIG_MISC_SECTION, "autodetect_codeset", mc_global 1014 src/setup.c mc_config_set_string (mc_global.main_config, CONFIG_MISC_SECTION, "spell_language", mc_global 1018 src/setup.c mc_config_set_string (mc_global.main_config, CONFIG_MISC_SECTION, "clipboard_store", mc_global 1020 src/setup.c mc_config_set_string (mc_global.main_config, CONFIG_MISC_SECTION, "clipboard_paste", mc_global 1024 src/setup.c ret = mc_config_save_to_file (mc_global.main_config, tmp_profile, NULL); mc_global 1042 src/setup.c g_free (mc_global.profile_name); mc_global 1043 src/setup.c g_free (mc_global.tty.color_terminal_string); mc_global 1044 src/setup.c g_free (mc_global.tty.term_color_string); mc_global 1045 src/setup.c g_free (mc_global.tty.setup_color_string); mc_global 1048 src/setup.c mc_config_deinit (mc_global.main_config); mc_global 1049 src/setup.c mc_config_deinit (mc_global.panels_config); mc_global 1096 src/setup.c mc_global_config = mc_config_init (mc_global.profile_name, FALSE); mc_global 1104 src/setup.c load_keys_from_section ("general", mc_global.main_config); mc_global 1105 src/setup.c load_keys_from_section (getenv ("TERM"), mc_global.main_config); mc_global 1117 src/setup.c mc_config_get_string (mc_global.main_config, CONFIG_MISC_SECTION, "ftpfs_password", ""); mc_global 1136 src/setup.c mc_config_get_bool (mc_global.panels_config, section, "reverse", FALSE); mc_global 1138 src/setup.c mc_config_get_bool (mc_global.panels_config, section, "case_sensitive", mc_global 1141 src/setup.c mc_config_get_bool (mc_global.panels_config, section, "exec_first", FALSE); mc_global 1144 src/setup.c buffer = mc_config_get_string (mc_global.panels_config, section, "sort_order", "name"); mc_global 1152 src/setup.c buffer = mc_config_get_string (mc_global.panels_config, section, "list_format", NULL); mc_global 1156 src/setup.c buffer = mc_config_get_string (mc_global.panels_config, section, "list_mode", "full"); mc_global 1167 src/setup.c panel->brief_cols = mc_config_get_int (mc_global.panels_config, section, "brief_cols", 2); mc_global 1172 src/setup.c mc_config_get_string (mc_global.panels_config, section, "user_format", NULL); mc_global 1181 src/setup.c mc_config_get_string (mc_global.panels_config, section, buffer2, NULL); mc_global 1185 src/setup.c mc_config_get_bool (mc_global.panels_config, section, "user_mini_status", FALSE); mc_global 1188 src/setup.c mc_config_get_string (mc_global.panels_config, section, "filter_value", NULL); mc_global 1190 src/setup.c mc_config_get_int (mc_global.panels_config, section, "filter_flags", mc_global 1202 src/setup.c mc_config_set_bool (mc_global.panels_config, section, "reverse", panel->sort_info.reverse); mc_global 1203 src/setup.c mc_config_set_bool (mc_global.panels_config, section, "case_sensitive", mc_global 1205 src/setup.c mc_config_set_bool (mc_global.panels_config, section, "exec_first", mc_global 1208 src/setup.c mc_config_set_string (mc_global.panels_config, section, "sort_order", panel->sort_field->id); mc_global 1213 src/setup.c mc_config_set_string (mc_global.panels_config, section, "list_format", mc_global 1218 src/setup.c mc_config_set_int (mc_global.panels_config, section, "brief_cols", panel->brief_cols); mc_global 1220 src/setup.c mc_config_set_string (mc_global.panels_config, section, "user_format", panel->user_format); mc_global 1225 src/setup.c mc_config_set_string (mc_global.panels_config, section, buffer, mc_global 1229 src/setup.c mc_config_set_bool (mc_global.panels_config, section, "user_mini_status", mc_global 1234 src/setup.c mc_config_set_string (mc_global.panels_config, section, "filter_value", mc_global 1237 src/setup.c mc_config_del_key (mc_global.panels_config, section, "filter_value"); mc_global 1238 src/setup.c mc_config_set_int (mc_global.panels_config, section, "filter_flags", (int) panel->filter.flags); mc_global 322 src/subshell/common.c switch (mc_global.shell->type) mc_global 392 src/subshell/common.c fprintf (stderr, __FILE__ ": unimplemented subshell type %u\r\n", mc_global.shell->type); mc_global 417 src/subshell/common.c close (mc_global.tty.subshell_pty); mc_global 421 src/subshell/common.c switch (mc_global.shell->type) mc_global 424 src/subshell/common.c execl (mc_global.shell->path, mc_global.shell->path, "-rcfile", init_file, (char *) NULL); mc_global 430 src/subshell/common.c execl (mc_global.shell->path, mc_global.shell->path, "-Z", "-g", (char *) NULL); mc_global 434 src/subshell/common.c execl (mc_global.shell->path, mc_global.shell->path, mc_global 441 src/subshell/common.c execl (mc_global.shell->path, mc_global.shell->path, (char *) NULL); mc_global 570 src/subshell/common.c write_all (mc_global.tty.subshell_pty, ESC_STR SHELL_BUFFER_KEYBINDING, mc_global 601 src/subshell/common.c write_all (mc_global.tty.subshell_pty, ESC_STR SHELL_CURSOR_KEYBINDING, mc_global 629 src/subshell/common.c if (mc_global.shell->type == SHELL_BASH) mc_global 673 src/subshell/common.c if (mc_global.shell->type != SHELL_ZSH) mc_global 681 src/subshell/common.c write_all (mc_global.tty.subshell_pty, "\005", 1); mc_global 690 src/subshell/common.c write_all (mc_global.tty.subshell_pty, "\025", 1); mc_global 714 src/subshell/common.c if (mc_global.mc_run_mode != MC_RUN_FULL) mc_global 736 src/subshell/common.c if (mc_global.mc_run_mode != MC_RUN_FULL) mc_global 776 src/subshell/common.c FD_SET (mc_global.tty.subshell_pty, &read_set); mc_global 778 src/subshell/common.c maxfdp = MAX (mc_global.tty.subshell_pty, subshell_pipe[READ]); mc_global 801 src/subshell/common.c if (FD_ISSET (mc_global.tty.subshell_pty, &read_set)) mc_global 809 src/subshell/common.c bytes = read (mc_global.tty.subshell_pty, pty_buffer, sizeof (pty_buffer)); mc_global 879 src/subshell/common.c write_all (mc_global.tty.subshell_pty, pty_buffer, i); mc_global 888 src/subshell/common.c if (mc_global.shell->type != SHELL_FISH) mc_global 890 src/subshell/common.c write_all (mc_global.tty.subshell_pty, "\003", 1); mc_global 905 src/subshell/common.c write_all (mc_global.tty.subshell_pty, pty_buffer, bytes); mc_global 1095 src/subshell/common.c switch (mc_global.shell->type) mc_global 1229 src/subshell/common.c if (mc_global.shell->type == SHELL_FISH) mc_global 1338 src/subshell/common.c if (mc_global.tty.subshell_pty == 0) mc_global 1340 src/subshell/common.c if (mc_global.shell->type == SHELL_NONE) mc_global 1348 src/subshell/common.c if (openpty (&mc_global.tty.subshell_pty, &subshell_pty_slave, NULL, NULL, NULL)) mc_global 1352 src/subshell/common.c mc_global.tty.use_subshell = FALSE; mc_global 1356 src/subshell/common.c mc_global.tty.subshell_pty = pty_open_master (pty_name); mc_global 1357 src/subshell/common.c if (mc_global.tty.subshell_pty == -1) mc_global 1360 src/subshell/common.c mc_global.tty.use_subshell = FALSE; mc_global 1368 src/subshell/common.c mc_global.tty.use_subshell = FALSE; mc_global 1375 src/subshell/common.c if (mc_global.shell->type == SHELL_TCSH) mc_global 1382 src/subshell/common.c mc_global.tty.use_subshell = FALSE; mc_global 1393 src/subshell/common.c mc_global.tty.use_subshell = FALSE; mc_global 1400 src/subshell/common.c mc_global.tty.use_subshell = FALSE; mc_global 1404 src/subshell/common.c if (mc_global.mc_run_mode == MC_RUN_FULL && mc_global 1405 src/subshell/common.c (mc_global.shell->type == SHELL_BASH || mc_global.shell->type == SHELL_ZSH mc_global 1406 src/subshell/common.c || mc_global.shell->type == SHELL_FISH)) mc_global 1411 src/subshell/common.c mc_global.tty.use_subshell = FALSE; mc_global 1438 src/subshell/common.c write_all (mc_global.tty.subshell_pty, precmd, strlen (precmd)); mc_global 1445 src/subshell/common.c mc_global.tty.use_subshell = FALSE; mc_global 1448 src/subshell/common.c mc_global.tty.use_subshell = FALSE; /* Subshell died instantly, so don't use it */ mc_global 1477 src/subshell/common.c if (subshell_ready && mc_global.mc_run_mode == MC_RUN_FULL) mc_global 1478 src/subshell/common.c write_all (mc_global.tty.subshell_pty, " \b", 2); /* Hack to make prompt reappear */ mc_global 1495 src/subshell/common.c write_all (mc_global.tty.subshell_pty, s, cmdline->buffer->len); mc_global 1500 src/subshell/common.c write_all (mc_global.tty.subshell_pty, ESC_STR "[D", 3); mc_global 1516 src/subshell/common.c if (mc_global.shell->type != SHELL_FISH) mc_global 1518 src/subshell/common.c write_all (mc_global.tty.subshell_pty, "\003", 1); mc_global 1525 src/subshell/common.c write_all (mc_global.tty.subshell_pty, " ", 1); mc_global 1527 src/subshell/common.c write_all (mc_global.tty.subshell_pty, command, strlen (command)); mc_global 1528 src/subshell/common.c write_all (mc_global.tty.subshell_pty, "\n", 1); mc_global 1545 src/subshell/common.c while (!subshell_alive && subshell_get_mainloop_quit () == 0 && mc_global.tty.use_subshell) mc_global 1564 src/subshell/common.c FD_SET (mc_global.tty.subshell_pty, &tmp); mc_global 1567 src/subshell/common.c && (rc = select (mc_global.tty.subshell_pty + 1, &tmp, NULL, NULL, &timeleft)) != 0) mc_global 1588 src/subshell/common.c bytes = read (mc_global.tty.subshell_pty, pty_buffer, sizeof (pty_buffer)); mc_global 1608 src/subshell/common.c FD_SET (mc_global.tty.subshell_pty, &tmp); mc_global 1611 src/subshell/common.c && (rc = select (mc_global.tty.subshell_pty + 1, &tmp, NULL, NULL, &timeleft)) != 0) mc_global 1628 src/subshell/common.c bytes = read (mc_global.tty.subshell_pty, pty_buffer, sizeof (pty_buffer)); mc_global 1671 src/subshell/common.c if (mc_global.shell->type == SHELL_TCSH) mc_global 1722 src/subshell/common.c write_all (mc_global.tty.subshell_pty, "\003", 1); mc_global 1724 src/subshell/common.c if (mc_global.shell->type != SHELL_FISH) mc_global 1736 src/subshell/common.c if (mc_global.shell->type == SHELL_FISH) mc_global 1738 src/subshell/common.c write_all (mc_global.tty.subshell_pty, "\n", 1); mc_global 1745 src/subshell/common.c write_all (mc_global.tty.subshell_pty, " cd ", 4); mc_global 1748 src/subshell/common.c write_all (mc_global.tty.subshell_pty, "/", 1); mc_global 1755 src/subshell/common.c write_all (mc_global.tty.subshell_pty, ".", 1); mc_global 1761 src/subshell/common.c write_all (mc_global.tty.subshell_pty, temp->str, temp->len); mc_global 1766 src/subshell/common.c write_all (mc_global.tty.subshell_pty, "\n", 1); mc_global 1781 src/subshell/common.c if (bPathNotEq && mc_global.shell->type == SHELL_TCSH) mc_global 1808 src/subshell/common.c if (mc_global.shell->type == SHELL_ZSH || mc_global.shell->type == SHELL_FISH) mc_global 1817 src/subshell/common.c write_all (mc_global.tty.subshell_pty, " \n", 2); mc_global 1839 src/subshell/common.c mc_global.tty.use_subshell = FALSE; mc_global 1879 src/subshell/common.c delete_select_channel (mc_global.tty.subshell_pty); mc_global 63 src/subshell/proxyfunc.c if (mc_global.mc_run_mode == MC_RUN_FULL) mc_global 90 src/subshell/proxyfunc.c mc_global.tty.console_flag = '\0'; mc_global 145 src/textconf.c printf (_("GNU Midnight Commander %s\n"), mc_global.mc_version); mc_global 218 src/textconf.c PRINTF_SECTION (_("Config directory:"), mc_global.sysconfig_dir); mc_global 219 src/textconf.c PRINTF_SECTION (_("Data directory:"), mc_global.share_data_dir); mc_global 792 src/usermenu.c switch (mc_global.mc_run_mode) mc_global 1035 src/usermenu.c menu = mc_build_filename (mc_global.sysconfig_dir, global_menu, (char *) NULL); mc_global 1039 src/usermenu.c menu = mc_build_filename (mc_global.share_data_dir, global_menu, (char *) NULL); mc_global 741 src/vfs/ftpfs/ftpfs.c mc_file = g_build_filename (mc_global.sysconfig_dir, "mc.no_proxy", (char *) NULL); mc_global 451 src/vfs/sfs/sfs.c mc_sfsini = g_build_filename (mc_global.sysconfig_dir, "sfs.ini", (char *) NULL); mc_global 273 src/viewer/actions_cmd.c if (mc_global.mc_run_mode != MC_RUN_VIEWER) mc_global 634 src/viewer/actions_cmd.c if (!mc_global.midnight_shutdown) mc_global 654 src/viewer/actions_cmd.c return mcview_hexedit_save_changes (view) || mc_global.midnight_shutdown; mc_global 741 src/viewer/actions_cmd.c if (mc_global.midnight_shutdown) mc_global 296 src/viewer/ascii.c if (mc_global.utf8_display) mc_global 182 src/viewer/display.c mc_global.source_codepage >= 0 ? mc_global 183 src/viewer/display.c get_codepage_id (mc_global.source_codepage) : mc_global 325 src/viewer/hex.c if (mc_global.utf8_display) mc_global 249 src/viewer/lib.c if (mc_global.mc_run_mode == MC_RUN_VIEWER && view->dir != NULL) mc_global 270 src/viewer/lib.c get_codepage_id (mc_global.source_codepage >= mc_global 271 src/viewer/lib.c 0 ? mc_global.source_codepage : mc_global.display_codepage); mc_global 55 tests/lib/vfs/canonicalize_pathname.c mc_global.sysconfig_dir = (char *) TEST_SHARE_DIR; mc_global 52 tests/lib/vfs/path_cmp.c mc_global.sysconfig_dir = (char *) TEST_SHARE_DIR; mc_global 52 tests/lib/vfs/path_len.c mc_global.sysconfig_dir = (char *) TEST_SHARE_DIR; mc_global 72 tests/lib/vfs/path_manipulations.c mc_global.sysconfig_dir = (char *) TEST_SHARE_DIR; mc_global 74 tests/lib/vfs/path_recode.c mc_global.sysconfig_dir = (char *) TEST_SHARE_DIR; mc_global 64 tests/lib/vfs/path_serialize.c mc_global.sysconfig_dir = (char *) TEST_SHARE_DIR; mc_global 67 tests/lib/vfs/vfs_path_string_convert.c mc_global.sysconfig_dir = (char *) TEST_SHARE_DIR; mc_global 164 tests/src/editor/edit_complete_word_cmd.c mc_global.sysconfig_dir = (char *) TEST_SHARE_DIR; mc_global 168 tests/src/editor/edit_complete_word_cmd.c mc_global.main_config = mc_config_init ("edit_complete_word_cmd.ini", FALSE); mc_global 169 tests/src/editor/edit_complete_word_cmd.c mc_config_set_bool (mc_global.main_config, CONFIG_APP_SECTION, mc_global 194 tests/src/editor/edit_complete_word_cmd.c mc_config_deinit (mc_global.main_config); mc_global 263 tests/src/editor/edit_complete_word_cmd.c mc_global.source_codepage = data->input_source_codepage_id; mc_global 264 tests/src/editor/edit_complete_word_cmd.c mc_global.display_codepage = data->input_display_codepage_id; mc_global 342 tests/src/editor/edit_complete_word_cmd.c mc_global.source_codepage = data->input_source_codepage_id; mc_global 343 tests/src/editor/edit_complete_word_cmd.c mc_global.display_codepage = data->input_display_codepage_id; mc_global 53 tests/src/filemanager/exec_get_export_variables_ext.c mc_global.mc_run_mode = MC_RUN_FULL; mc_global 64 tests/src/filemanager/get_random_hint.c mc_global.share_data_dir = (char *) TEST_SHARE_DIR;