/dports/misc/mc/mc-4.8.27/src/ |
H A D | setup.c | 316 { "cd_symlinks", &mc_global.vfs.cd_symlinks }, 363 { "shadows", &mc_global.tty.shadows }, 781 if (mc_global.mc_run_mode != MC_RUN_FULL) in save_panel_types() 911 mc_global.tty.setup_color_string = in load_setup() 913 mc_global.tty.term_color_string = in load_setup() 915 mc_global.tty.color_terminal_string = in load_setup() 953 g_free (init_translation_table (mc_global.source_codepage, mc_global.display_codepage)); in load_setup() 1042 g_free (mc_global.tty.term_color_string); in done_setup() 1043 g_free (mc_global.tty.setup_color_string); in done_setup() 1046 mc_config_deinit (mc_global.main_config); in done_setup() [all …]
|
H A D | main.c | 151 if (mc_global.tty.console_flag == '\0') in sigchld_handler_no_subshell() 210 mc_global.tty.use_subshell = FALSE; in init_sigchld() 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() 404 if (mc_global.tty.use_subshell && mc_global.run_from_parent_mc) 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() 452 if (mc_global.midnight_shutdown) in main() [all …]
|
H A D | execute.c | 92 if (mc_global.tty.alternate_plus_minus) in edition_post_exec() 105 if (!(mc_global.tty.console_flag != '\0' || mc_global.tty.xterm_flag)) in edition_pre_exec() 150 if (mc_global.tty.console_flag != '\0' && !mc_global.tty.use_subshell) in do_suspend_cmd() 170 if (mc_global.tty.console_flag != '\0' && !mc_global.tty.use_subshell) in do_suspend_cmd() 307 if (mc_global.tty.console_flag != '\0') in do_executev() 344 if (mc_global.tty.console_flag != '\0' && output_lines != 0 && mc_global.keybar_visible) in do_executev() 432 if (mc_global.tty.use_subshell) in shell_execute() 459 if (!(mc_global.tty.xterm_flag || mc_global.tty.console_flag != '\0' in toggle_subshell() 491 if (mc_global.tty.use_subshell) in toggle_subshell() 531 if (mc_global.tty.use_subshell) in toggle_subshell() [all …]
|
H A D | cons.handler.c | 96 if (mc_global.tty.console_flag == '\0') in show_console_contents_linux() 102 mc_global.tty.console_flag = '\0'; in show_console_contents_linux() 150 mc_global.tty.console_flag = '\0'; in handle_console_linux() 277 if (mc_global.tty.console_flag != '\0') in console_init() 289 mc_global.tty.console_flag = '\001'; in console_init() 318 if (mc_global.tty.console_flag == '\0') in console_restore() 342 if (mc_global.tty.console_flag == '\0') in console_shutdown() 347 mc_global.tty.console_flag = '\0'; in console_shutdown() 359 if (mc_global.tty.console_flag == '\0') in console_save() 411 if (mc_global.tty.console_flag == '\0') in show_console_contents_freebsd() [all …]
|
H A D | args.c | 150 &mc_global.tty.use_subshell, 215 &mc_global.tty.disable_x11, 222 &mc_global.tty.old_mouse, 245 &mc_global.tty.slow_terminal, 252 &mc_global.tty.ugly_line_drawing, 294 &mc_global.tty.disable_colors, 308 &mc_global.tty.command_line_colors, 315 &mc_global.tty.skin, 393 switch (mc_global.mc_run_mode) in mc_args_add_usage_info() 752 printf ("%s (%s)\n", mc_global.sysconfig_dir, mc_global.share_data_dir); in mc_args_show_info() [all …]
|
H A D | selcodepage.c | 145 mc_global.source_codepage = codepage; in do_set_codepage() 147 mc_global.display_codepage : mc_global.source_codepage, in do_set_codepage() 148 mc_global.display_codepage); in do_set_codepage()
|
/dports/misc/mc-nox11/mc-4.8.27/src/ |
H A D | setup.c | 316 { "cd_symlinks", &mc_global.vfs.cd_symlinks }, 363 { "shadows", &mc_global.tty.shadows }, 781 if (mc_global.mc_run_mode != MC_RUN_FULL) in save_panel_types() 911 mc_global.tty.setup_color_string = in load_setup() 913 mc_global.tty.term_color_string = in load_setup() 915 mc_global.tty.color_terminal_string = in load_setup() 953 g_free (init_translation_table (mc_global.source_codepage, mc_global.display_codepage)); in load_setup() 1042 g_free (mc_global.tty.term_color_string); in done_setup() 1043 g_free (mc_global.tty.setup_color_string); in done_setup() 1046 mc_config_deinit (mc_global.main_config); in done_setup() [all …]
|
H A D | main.c | 151 if (mc_global.tty.console_flag == '\0') in sigchld_handler_no_subshell() 210 mc_global.tty.use_subshell = FALSE; in init_sigchld() 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() 404 if (mc_global.tty.use_subshell && mc_global.run_from_parent_mc) 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() 452 if (mc_global.midnight_shutdown) in main() [all …]
|
H A D | execute.c | 92 if (mc_global.tty.alternate_plus_minus) in edition_post_exec() 105 if (!(mc_global.tty.console_flag != '\0' || mc_global.tty.xterm_flag)) in edition_pre_exec() 150 if (mc_global.tty.console_flag != '\0' && !mc_global.tty.use_subshell) in do_suspend_cmd() 170 if (mc_global.tty.console_flag != '\0' && !mc_global.tty.use_subshell) in do_suspend_cmd() 307 if (mc_global.tty.console_flag != '\0') in do_executev() 344 if (mc_global.tty.console_flag != '\0' && output_lines != 0 && mc_global.keybar_visible) in do_executev() 432 if (mc_global.tty.use_subshell) in shell_execute() 459 if (!(mc_global.tty.xterm_flag || mc_global.tty.console_flag != '\0' in toggle_subshell() 491 if (mc_global.tty.use_subshell) in toggle_subshell() 531 if (mc_global.tty.use_subshell) in toggle_subshell() [all …]
|
H A D | cons.handler.c | 96 if (mc_global.tty.console_flag == '\0') in show_console_contents_linux() 102 mc_global.tty.console_flag = '\0'; in show_console_contents_linux() 150 mc_global.tty.console_flag = '\0'; in handle_console_linux() 277 if (mc_global.tty.console_flag != '\0') in console_init() 289 mc_global.tty.console_flag = '\001'; in console_init() 318 if (mc_global.tty.console_flag == '\0') in console_restore() 342 if (mc_global.tty.console_flag == '\0') in console_shutdown() 347 mc_global.tty.console_flag = '\0'; in console_shutdown() 359 if (mc_global.tty.console_flag == '\0') in console_save() 411 if (mc_global.tty.console_flag == '\0') in show_console_contents_freebsd() [all …]
|
H A D | args.c | 150 &mc_global.tty.use_subshell, 215 &mc_global.tty.disable_x11, 222 &mc_global.tty.old_mouse, 245 &mc_global.tty.slow_terminal, 252 &mc_global.tty.ugly_line_drawing, 294 &mc_global.tty.disable_colors, 308 &mc_global.tty.command_line_colors, 315 &mc_global.tty.skin, 393 switch (mc_global.mc_run_mode) in mc_args_add_usage_info() 752 printf ("%s (%s)\n", mc_global.sysconfig_dir, mc_global.share_data_dir); in mc_args_show_info() [all …]
|
H A D | selcodepage.c | 145 mc_global.source_codepage = codepage; in do_set_codepage() 147 mc_global.display_codepage : mc_global.source_codepage, in do_set_codepage() 148 mc_global.display_codepage); in do_set_codepage()
|
/dports/misc/mc/mc-4.8.27/src/subshell/ |
H A D | common.c | 317 switch (mc_global.shell->type) in init_subshell_child() 412 close (mc_global.tty.subshell_pty); in init_subshell_child() 416 switch (mc_global.shell->type) in init_subshell_child() 432 execl (mc_global.shell->path, mc_global.shell->path, (char *) NULL); in init_subshell_child() 620 if (mc_global.shell->type == SHELL_BASH) in read_command_line_buffer() 664 if (mc_global.shell->type != SHELL_ZSH) in read_command_line_buffer() 1082 switch (mc_global.shell->type) in init_subshell_precmd() 1290 if (mc_global.tty.subshell_pty == 0) in init_subshell() 1357 (mc_global.shell->type == SHELL_BASH || mc_global.shell->type == SHELL_ZSH in init_subshell() 1397 mc_global.tty.use_subshell = FALSE; in init_subshell() [all …]
|
/dports/misc/mc-nox11/mc-4.8.27/src/subshell/ |
H A D | common.c | 317 switch (mc_global.shell->type) in init_subshell_child() 412 close (mc_global.tty.subshell_pty); in init_subshell_child() 416 switch (mc_global.shell->type) in init_subshell_child() 432 execl (mc_global.shell->path, mc_global.shell->path, (char *) NULL); in init_subshell_child() 620 if (mc_global.shell->type == SHELL_BASH) in read_command_line_buffer() 664 if (mc_global.shell->type != SHELL_ZSH) in read_command_line_buffer() 1082 switch (mc_global.shell->type) in init_subshell_precmd() 1290 if (mc_global.tty.subshell_pty == 0) in init_subshell() 1357 (mc_global.shell->type == SHELL_BASH || mc_global.shell->type == SHELL_ZSH in init_subshell() 1397 mc_global.tty.use_subshell = FALSE; in init_subshell() [all …]
|
/dports/misc/mc-nox11/mc-4.8.27/tests/src/editor/ |
H A D | edit_complete_word_cmd.c | 161 mc_global.sysconfig_dir = (char *) TEST_SHARE_DIR; in my_setup() 165 mc_global.main_config = mc_config_init ("edit_complete_word_cmd.ini", FALSE); in my_setup() 166 mc_config_set_bool (mc_global.main_config, CONFIG_APP_SECTION, in my_setup() 188 mc_config_deinit (mc_global.main_config); in my_teardown() 257 mc_global.source_codepage = data->input_source_codepage_id; in START_PARAMETRIZED_TEST() 258 mc_global.display_codepage = data->input_display_codepage_id; in START_PARAMETRIZED_TEST() 336 mc_global.source_codepage = data->input_source_codepage_id; in START_PARAMETRIZED_TEST() 337 mc_global.display_codepage = data->input_display_codepage_id; in START_PARAMETRIZED_TEST()
|
/dports/misc/mc/mc-4.8.27/tests/src/editor/ |
H A D | edit_complete_word_cmd.c | 161 mc_global.sysconfig_dir = (char *) TEST_SHARE_DIR; in my_setup() 165 mc_global.main_config = mc_config_init ("edit_complete_word_cmd.ini", FALSE); in my_setup() 166 mc_config_set_bool (mc_global.main_config, CONFIG_APP_SECTION, in my_setup() 188 mc_config_deinit (mc_global.main_config); in my_teardown() 257 mc_global.source_codepage = data->input_source_codepage_id; in START_PARAMETRIZED_TEST() 258 mc_global.display_codepage = data->input_display_codepage_id; in START_PARAMETRIZED_TEST() 336 mc_global.source_codepage = data->input_source_codepage_id; in START_PARAMETRIZED_TEST() 337 mc_global.display_codepage = data->input_display_codepage_id; in START_PARAMETRIZED_TEST()
|
/dports/misc/mc/mc-4.8.27/src/filemanager/ |
H A D | boxes.c | 166 if (mc_global.mc_run_mode == MC_RUN_FULL) in skin_apply() 611 mc_global.vfs.preallocate_space = FALSE; in configure_box() 627 gboolean shadows = mc_global.tty.shadows; in appearance_box() 660 mc_global.tty.shadows = shadows; in appearance_box() 974 if (mc_global.full_eight_bits) in display_bits_box() 976 else if (mc_global.eight_bit_clean) in display_bits_box() 985 mc_global.eight_bit_clean = current_mode < 3; in display_bits_box() 986 mc_global.full_eight_bits = current_mode < 2; in display_bits_box() 988 tty_display_8bit (mc_global.eight_bit_clean); in display_bits_box() 1041 errmsg = init_translation_table (mc_global.source_codepage, mc_global.display_codepage); in display_bits_box() [all …]
|
H A D | layout.c | 363 if (mc_global.tty.console_flag == '\0') in layout_callback() 677 old_layout.keybar_visible = mc_global.keybar_visible; in layout_save() 678 old_layout.message_visible = mc_global.message_visible; in layout_save() 695 mc_global.keybar_visible = old_layout.keybar_visible; in layout_restore() 696 mc_global.message_visible = old_layout.message_visible; in layout_restore() 834 if (mc_global.tty.console_flag != '\0') in setup_panels() 981 if (mc_global.tty.use_subshell) in setup_cmdline() 1005 if (mc_global.tty.use_subshell) in setup_cmdline() 1013 y = mw->lines - 1 - (mc_global.keybar_visible ? 1 : 0); in setup_cmdline() 1560 if (mc_global.tty.xterm_flag && xterm_title) in update_xterm_title_path() [all …]
|
H A D | filemanager.c | 541 if (mc_global.midnight_shutdown) in print_vfs_message() 564 if (mc_global.message_visible) in print_vfs_message() 850 tty_display_8bit (mc_global.full_eight_bits); in setup_mc() 944 if (mc_global.tty.use_subshell) in create_file_manager() 976 switch (mc_global.mc_run_mode) in mc_maybe_editor_or_viewer() 1079 if (!mc_global.tty.use_subshell) in quit_cmd_internal() 1555 if ((!mc_global.tty.alternate_plus_minus in midnight_callback() 1556 || !(mc_global.tty.console_flag != '\0' || mc_global.tty.xterm_flag)) && !quote in midnight_callback() 1745 if (!mc_global.message_visible) in load_hint() 1824 if (mc_global.mc_run_mode != MC_RUN_FULL) in do_nc() [all …]
|
/dports/misc/mc-nox11/mc-4.8.27/src/filemanager/ |
H A D | boxes.c | 166 if (mc_global.mc_run_mode == MC_RUN_FULL) in skin_apply() 611 mc_global.vfs.preallocate_space = FALSE; in configure_box() 627 gboolean shadows = mc_global.tty.shadows; in appearance_box() 660 mc_global.tty.shadows = shadows; in appearance_box() 974 if (mc_global.full_eight_bits) in display_bits_box() 976 else if (mc_global.eight_bit_clean) in display_bits_box() 985 mc_global.eight_bit_clean = current_mode < 3; in display_bits_box() 986 mc_global.full_eight_bits = current_mode < 2; in display_bits_box() 988 tty_display_8bit (mc_global.eight_bit_clean); in display_bits_box() 1041 errmsg = init_translation_table (mc_global.source_codepage, mc_global.display_codepage); in display_bits_box() [all …]
|
H A D | layout.c | 363 if (mc_global.tty.console_flag == '\0') in layout_callback() 677 old_layout.keybar_visible = mc_global.keybar_visible; in layout_save() 678 old_layout.message_visible = mc_global.message_visible; in layout_save() 695 mc_global.keybar_visible = old_layout.keybar_visible; in layout_restore() 696 mc_global.message_visible = old_layout.message_visible; in layout_restore() 834 if (mc_global.tty.console_flag != '\0') in setup_panels() 981 if (mc_global.tty.use_subshell) in setup_cmdline() 1005 if (mc_global.tty.use_subshell) in setup_cmdline() 1013 y = mw->lines - 1 - (mc_global.keybar_visible ? 1 : 0); in setup_cmdline() 1560 if (mc_global.tty.xterm_flag && xterm_title) in update_xterm_title_path() [all …]
|
/dports/misc/mc/mc-4.8.27/lib/ |
H A D | shell.c | 245 mc_global.tty.use_subshell = FALSE; in mc_shell_init() 247 mc_global.shell = mc_shell; in mc_shell_init() 255 if (mc_global.shell != NULL) in mc_shell_deinit() 257 g_free (mc_global.shell->path); in mc_shell_deinit() 258 MC_PTR_FREE (mc_global.shell); in mc_shell_deinit()
|
/dports/misc/mc-nox11/mc-4.8.27/lib/ |
H A D | shell.c | 245 mc_global.tty.use_subshell = FALSE; in mc_shell_init() 247 mc_global.shell = mc_shell; in mc_shell_init() 255 if (mc_global.shell != NULL) in mc_shell_deinit() 257 g_free (mc_global.shell->path); in mc_shell_deinit() 258 MC_PTR_FREE (mc_global.shell); in mc_shell_deinit()
|
/dports/misc/mc-nox11/mc-4.8.27/lib/skin/ |
H A D | common.c | 70 if (mc_global.tty.skin != NULL) in mc_skin_get_default_name() 71 return g_strdup (mc_global.tty.skin); in mc_skin_get_default_name() 79 return mc_config_get_string (mc_global.main_config, CONFIG_APP_SECTION, "skin", "default"); in mc_skin_get_default_name() 202 if (mc_global.tty.ugly_line_drawing) in mc_skin_get()
|
/dports/misc/mc/mc-4.8.27/lib/skin/ |
H A D | common.c | 70 if (mc_global.tty.skin != NULL) in mc_skin_get_default_name() 71 return g_strdup (mc_global.tty.skin); in mc_skin_get_default_name() 79 return mc_config_get_string (mc_global.main_config, CONFIG_APP_SECTION, "skin", "default"); in mc_skin_get_default_name() 202 if (mc_global.tty.ugly_line_drawing) in mc_skin_get()
|