Lines Matching refs:mc_global

105         _display_codepage = get_codepage_id (mc_global.display_codepage);  in check_codeset()
109 mc_global.display_codepage = get_codepage_index (current_system_codepage); in check_codeset()
110 if (mc_global.display_codepage == -1) in check_codeset()
111 mc_global.display_codepage = 0; in check_codeset()
113 mc_config_set_string (mc_global.main_config, CONFIG_MISC_SECTION, "display_codepage", in check_codeset()
119 mc_global.utf8_display = str_isutf8 (current_system_codepage); in check_codeset()
136 mc_global.sysconfig_dir = g_strdup (datadir_env); in OS_Setup()
138 mc_global.sysconfig_dir = g_strdup (SYSCONFDIR); in OS_Setup()
140 mc_global.share_data_dir = g_strdup (DATADIR); in OS_Setup()
151 if (mc_global.tty.console_flag == '\0') in sigchld_handler_no_subshell()
174 mc_global.tty.console_flag = '\0'; in sigchld_handler_no_subshell()
193 mc_global.tty.use_subshell ? sigchld_handler : in init_sigchld()
210 mc_global.tty.use_subshell = FALSE; in init_sigchld()
254 mc_global.run_from_parent_mc = !check_sid (); in main()
332 if (mc_global.mc_run_mode == MC_RUN_FULL) in main()
337 buffer = mc_config_get_string (mc_global.panels_config, "Dirs", "other_dir", "."); in main()
351 mc_global.tty.xterm_flag = tty_check_term (mc_args__force_xterm); in main()
362 if (mc_global.mc_run_mode != MC_RUN_FULL && mc_global.run_from_parent_mc) in main()
363 mc_global.tty.use_subshell = FALSE; in main()
365 if (mc_global.tty.use_subshell) in main()
377 tty_init (!mc_args__nomouse, mc_global.tty.xterm_flag); in main()
391 tty_init_colors (mc_global.tty.disable_colors, mc_args__force_colors); in main()
396 if (mc_global.mc_run_mode == MC_RUN_FULL) in main()
404 if (mc_global.tty.use_subshell && mc_global.run_from_parent_mc) in main()
420 mc_global.midnight_shutdown = TRUE; in main()
423 mc_global.tty.use_subshell = FALSE; in main()
426 if (mc_global.tty.use_subshell) in main()
430 if (!mc_global.midnight_shutdown) in main()
433 if (mc_global.tty.console_flag != '\0') in main()
436 if (mc_global.tty.alternate_plus_minus) in main()
452 if (mc_global.midnight_shutdown) in main()
478 if (mc_global.tty.console_flag != '\0' && (quit & SUBSHELL_EXIT) == 0) in main()
480 if (mc_global.tty.alternate_plus_minus) in main()
485 if (mc_global.tty.console_flag != '\0') in main()
488 if (mc_global.mc_run_mode == MC_RUN_FULL && mc_args__last_wd_file != NULL in main()
530 if (mc_global.mc_run_mode != MC_RUN_EDITOR) in main()