command 422 lib/keybind.c new_bind.command = cmd; command 483 lib/keybind.c if (keymap[i].command == action) command 500 lib/keybind.c return keymap[i].command; command 351 lib/keybind.h long command; command 232 lib/util.h int my_system (int flags, const char *shell, const char *command); command 234 lib/util.h int my_systemv (const char *command, char *const argv[]); command 235 lib/util.h int my_systemv_flags (int flags, const char *command, char *const argv[]); command 237 lib/util.h mc_pipe_t *mc_popen (const char *command, gboolean read_out, gboolean read_err, GError **error); command 420 lib/utilunix.c my_system (int flags, const char *shell, const char *command) command 422 lib/utilunix.c return my_systeml (flags, shell, command, NULL); command 473 lib/utilunix.c my_systemv (const char *command, char *const argv[]) command 494 lib/utilunix.c my_execvp (command, argv); command 521 lib/utilunix.c my_systemv_flags (int flags, const char *command, char *const argv[]) command 527 lib/utilunix.c args_array = my_system_make_arg_array (flags, command); command 555 lib/utilunix.c mc_popen (const char *command, gboolean read_out, gboolean read_err, GError **error) command 558 lib/utilunix.c const char *const argv[] = { "/bin/sh", "sh", "-c", command, NULL }; command 154 lib/widget/buttonbar.c if ((bb != NULL) && (bb->labels[i].command != CK_IgnoreKey)) command 157 lib/widget/buttonbar.c ret = send_message (target, w, MSG_ACTION, bb->labels[i].command, NULL); command 268 lib/widget/buttonbar.c long command = CK_IgnoreKey; command 271 lib/widget/buttonbar.c command = keybind_lookup_keymap_command (keymap, KEY_F (idx)); command 278 lib/widget/buttonbar.c bb->labels[idx - 1].command = command; command 29 lib/widget/buttonbar.h long command; command 136 lib/widget/dialog.c dlg_execute_cmd (WDialog *h, long command) command 141 lib/widget/dialog.c if (send_message (h, NULL, MSG_ACTION, command, NULL) == MSG_HANDLED) command 144 lib/widget/dialog.c switch (command) command 207 lib/widget/dialog.c long command; command 209 lib/widget/dialog.c command = widget_lookup_key (WIDGET (h), d_key); command 210 lib/widget/dialog.c if (command == CK_IgnoreKey) command 211 lib/widget/dialog.c command = keybind_lookup_keymap_command (dialog_map, d_key); command 212 lib/widget/dialog.c if (command != CK_IgnoreKey) command 213 lib/widget/dialog.c return dlg_execute_cmd (h, command); command 50 lib/widget/dialog.h typedef char *(*dlg_shortcut_str) (long command); command 654 lib/widget/input.c input_execute_cmd (WInput *in, long command) command 658 lib/widget/input.c switch (command) command 684 lib/widget/input.c switch (command) command 785 lib/widget/input.c switch (command) command 1093 lib/widget/input.c long command; command 1104 lib/widget/input.c command = widget_lookup_key (WIDGET (in), key); command 1105 lib/widget/input.c if (command == CK_IgnoreKey) command 1119 lib/widget/input.c if (command != CK_Complete) command 1121 lib/widget/input.c input_execute_cmd (in, command); command 1125 lib/widget/input.c keep_first = in->first && (command == CK_History || command == CK_Complete); command 276 lib/widget/listbox.c listbox_execute_cmd (WListbox *l, long command) command 284 lib/widget/listbox.c switch (command) command 333 lib/widget/listbox.c ret = send_message (WIDGET (l)->owner, l, MSG_NOTIFY, command, NULL); command 348 lib/widget/listbox.c long command; command 360 lib/widget/listbox.c command = widget_lookup_key (WIDGET (l), key); command 361 lib/widget/listbox.c if (command == CK_IgnoreKey) command 363 lib/widget/listbox.c return listbox_execute_cmd (l, command); command 61 lib/widget/menu.c long command; command 107 lib/widget/menu.c entry->shortcut = get_shortcut (entry->command); command 357 lib/widget/menu.c if ((entry != NULL) && (entry->command != CK_IgnoreKey)) command 363 lib/widget/menu.c send_message (w->owner, w, MSG_ACTION, entry->command, NULL); command 384 lib/widget/menu.c while ((entry == NULL) || (entry->command == CK_IgnoreKey)); command 408 lib/widget/menu.c while ((entry == NULL) || (entry->command == CK_IgnoreKey)); command 435 lib/widget/menu.c if ((entry == NULL) || (entry->command == CK_IgnoreKey)) command 473 lib/widget/menu.c while ((entry == NULL) || (entry->command == CK_IgnoreKey)); command 552 lib/widget/menu.c menubar_execute_cmd (WMenuBar *menubar, long command) command 556 lib/widget/menu.c switch (command) command 765 lib/widget/menu.c if (entry != NULL && entry->command != CK_IgnoreKey) command 892 lib/widget/menu.c menu_entry_new (const char *name, long command) command 899 lib/widget/menu.c entry->command = command; command 45 lib/widget/menu.h menu_entry_t *menu_entry_new (const char *name, long command); command 61 lib/widget/radio.c radio_execute_cmd (WRadio *r, long command) command 66 lib/widget/radio.c switch (command) command 73 lib/widget/radio.c if (command == CK_Top) command 85 lib/widget/radio.c if (command == CK_Bottom) command 112 lib/widget/radio.c long command; command 114 lib/widget/radio.c command = widget_lookup_key (WIDGET (r), key); command 115 lib/widget/radio.c if (command == CK_IgnoreKey) command 117 lib/widget/radio.c return radio_execute_cmd (r, command); command 3037 src/diffviewer/ydiff.c dview_execute_cmd (WDiff *dview, long command) command 3041 src/diffviewer/ydiff.c switch (command) command 3203 src/diffviewer/ydiff.c long command; command 3209 src/diffviewer/ydiff.c command = widget_lookup_key (WIDGET (dview), key); command 3210 src/diffviewer/ydiff.c if (command == CK_IgnoreKey) command 3213 src/diffviewer/ydiff.c return dview_execute_cmd (dview, command); command 191 src/editor/edit-impl.h void edit_execute_key_command (WEdit *edit, long command, int char_for_insertion); command 194 src/editor/edit-impl.h gboolean edit_handle_move_resize (WEdit *edit, long command); command 235 src/editor/edit-impl.h void edit_execute_cmd (WEdit *edit, long command, int char_for_insertion); command 3302 src/editor/edit.c edit_execute_key_command (WEdit *edit, long command, int char_for_insertion) command 3304 src/editor/edit.c if (command == CK_MacroStartRecord || command == CK_RepeatStartRecord command 3306 src/editor/edit.c && (command == CK_MacroStartStopRecord || command == CK_RepeatStartStopRecord))) command 3315 src/editor/edit.c if (command == CK_MacroStopRecord || command == CK_MacroStartStopRecord) command 3321 src/editor/edit.c if (command == CK_RepeatStopRecord || command == CK_RepeatStartStopRecord) command 3331 src/editor/edit.c record_macro_buf[macro_index].action = command; command 3335 src/editor/edit.c if (command != CK_Undo && command != CK_ExtendedKeyMap) command 3338 src/editor/edit.c edit_execute_cmd (edit, command, char_for_insertion); command 3351 src/editor/edit.c edit_execute_cmd (WEdit *edit, long command, int char_for_insertion) command 3355 src/editor/edit.c if (command == CK_WindowFullscreen) command 3362 src/editor/edit.c if (edit_handle_move_resize (edit, command)) command 3372 src/editor/edit.c switch (command) command 3421 src/editor/edit.c if (command == CK_Undo) command 3431 src/editor/edit.c if (command == CK_Redo) command 3506 src/editor/edit.c switch (command) command 3534 src/editor/edit.c switch (command) command 3564 src/editor/edit.c switch (command) command 4043 src/editor/edit.c if ((command / CK_PipeBlock (0)) == 1) command 4044 src/editor/edit.c edit_block_process_cmd (edit, command - CK_PipeBlock (0)); command 4047 src/editor/edit.c switch (command) command 4096 src/editor/edit.c switch (command) command 417 src/editor/editmacros.c long command = macro_index < 0 ? CK_MacroStartRecord : CK_MacroStopRecord; command 419 src/editor/editmacros.c edit_execute_key_command (edit, command, -1); command 431 src/editor/editmacros.c long command = macro_index < 0 ? CK_RepeatStartRecord : CK_RepeatStopRecord; command 433 src/editor/editmacros.c edit_execute_key_command (edit, command, -1); command 221 src/editor/editwidget.c edit_window_move (WEdit *edit, long command) command 228 src/editor/editwidget.c switch (command) command 263 src/editor/editwidget.c edit_window_resize (WEdit *edit, long command) command 270 src/editor/editwidget.c switch (command) command 355 src/editor/editwidget.c edit_get_shortcut (long command) command 360 src/editor/editwidget.c shortcut = keybind_lookup_keymap_shortcut (editor_map, command); command 366 src/editor/editwidget.c shortcut = keybind_lookup_keymap_shortcut (editor_x_map, command); command 402 src/editor/editwidget.c edit_dialog_command_execute (WDialog *h, long command) command 407 src/editor/editwidget.c switch (command) command 444 src/editor/editwidget.c else if (command == CK_Quit) command 475 src/editor/editwidget.c edit_handle_move_resize (EDIT (g->current->data), command); command 513 src/editor/editwidget.c long command = CK_InsertChar; command 610 src/editor/editwidget.c command = widget_lookup_key (w, x_key); command 611 src/editor/editwidget.c if (command == CK_IgnoreKey) command 612 src/editor/editwidget.c command = CK_InsertChar; command 615 src/editor/editwidget.c *cmd = (int) command; // FIXME command 618 src/editor/editwidget.c return !(command == CK_InsertChar && char_for_insertion == -1); command 802 src/editor/editwidget.c long command; command 806 src/editor/editwidget.c command = widget_lookup_key (we, parm); command 809 src/editor/editwidget.c if (command == CK_IgnoreKey) command 813 src/editor/editwidget.c ret = edit_dialog_command_execute (h, command); command 1395 src/editor/editwidget.c edit_handle_move_resize (WEdit *edit, long command) command 1411 src/editor/editwidget.c switch (command) command 1437 src/editor/editwidget.c switch (command) command 1447 src/editor/editwidget.c edit_window_move (edit, command); command 1462 src/editor/editwidget.c switch (command) command 1472 src/editor/editwidget.c edit_window_resize (edit, command); command 68 src/execute.c MC_MOCKABLE void do_execute (const char *shell, const char *command, int flags); command 70 src/execute.c MC_MOCKABLE char *execute_get_external_cmd_opts_from_config (const char *command, command 233 src/execute.c execute_get_opts_from_cfg (const char *command, const char *default_str) command 238 src/execute.c CONFIG_EXT_EDITOR_VIEWER_SECTION, command, NULL); command 249 src/execute.c mc_config_get_string_raw (cfg, CONFIG_EXT_EDITOR_VIEWER_SECTION, command, default_str); command 262 src/execute.c execute_get_external_cmd_opts_from_config (const char *command, const vfs_path_t *filename_vpath, command 276 src/execute.c str_from_config = execute_get_opts_from_cfg (command, "%filename"); command 387 src/execute.c do_execute (const char *shell, const char *command, int flags) command 392 src/execute.c g_ptr_array_add (args_array, (char *) command); command 425 src/execute.c shell_execute (const char *command, int flags) command 431 src/execute.c cmd = g_strconcat (" ", command, (char *) NULL); command 439 src/execute.c do_execute (mc_global.shell->path, cmd != NULL ? cmd : command, command 446 src/execute.c do_execute (mc_global.shell->path, cmd != NULL ? cmd : command, flags | EXECUTE_AS_SHELL); command 611 src/execute.c execute_with_vfs_arg (const char *command, const vfs_path_t *filename_vpath) command 622 src/execute.c do_execute (command, vfs_path_get_last_path_str (do_execute_vpath), EXECUTE_INTERNAL); command 638 src/execute.c execute_external_editor_or_viewer (const char *command, const vfs_path_t *filename_vpath, command 652 src/execute.c execute_get_external_cmd_opts_from_config (command, do_execute_vpath, start_line); command 661 src/execute.c do_executev (command, EXECUTE_INTERNAL, argv_cmd_options); command 665 src/execute.c do_executev (command, EXECUTE_INTERNAL, NULL); command 32 src/execute.h void shell_execute (const char *command, int flags); command 42 src/execute.h void execute_with_vfs_arg (const char *command, const vfs_path_t *filename_vpath); command 43 src/execute.h void execute_external_editor_or_viewer (const char *command, const vfs_path_t *filename_vpath, command 710 src/filemanager/chattr.c chattrboxes_execute_cmd (WChattrBoxes *cb, long command) command 712 src/filemanager/chattr.c switch (command) command 736 src/filemanager/chattr.c if (command == CK_MarkAndDown) command 752 src/filemanager/chattr.c long command; command 754 src/filemanager/chattr.c command = widget_lookup_key (WIDGET (cb), key); command 755 src/filemanager/chattr.c if (command == CK_IgnoreKey) command 757 src/filemanager/chattr.c return chattrboxes_execute_cmd (cb, command); command 612 src/filemanager/cmd.c char *command; command 628 src/filemanager/cmd.c command = input_dialog (_ ("Filtered view"), _ ("Filter command and arguments:"), command 632 src/filemanager/cmd.c if (command != NULL) command 634 src/filemanager/cmd.c mcview_viewer (command, NULL, 0, 0, 0); command 635 src/filemanager/cmd.c g_free (command); command 114 src/filemanager/command.c GString *command; command 131 src/filemanager/command.c command = g_string_sized_new (32); command 136 src/filemanager/command.c g_string_append_c (command, cmd[i]); command 144 src/filemanager/command.c g_string_append (command, s); command 151 src/filemanager/command.c shell_execute (command->str, 0); command 152 src/filemanager/command.c g_string_free (command, TRUE); command 552 src/filemanager/ext.c char *command; command 555 src/filemanager/ext.c command = g_strconcat (cmd_file, args, " 2>/dev/null", (char *) NULL); command 556 src/filemanager/ext.c f = popen (command, "r"); command 557 src/filemanager/ext.c g_free (command); command 406 src/filemanager/filemanager.c midnight_get_shortcut (long command) command 411 src/filemanager/filemanager.c shortcut = keybind_lookup_keymap_shortcut (filemanager_map, command); command 415 src/filemanager/filemanager.c shortcut = keybind_lookup_keymap_shortcut (panel_map, command); command 421 src/filemanager/filemanager.c shortcut = keybind_lookup_keymap_shortcut (filemanager_x_map, command); command 1129 src/filemanager/filemanager.c midnight_execute_cmd (Widget *sender, long command) command 1138 src/filemanager/filemanager.c switch (command) command 1361 src/filemanager/filemanager.c res = send_message (current_panel, filemanager, MSG_ACTION, command, NULL); command 1485 src/filemanager/filemanager.c long command; command 1529 src/filemanager/filemanager.c command = widget_lookup_key (w, parm); command 1530 src/filemanager/filemanager.c if (command != CK_IgnoreKey) command 1531 src/filemanager/filemanager.c return midnight_execute_cmd (NULL, command); command 1592 src/filemanager/filemanager.c command = widget_lookup_key (w, parm); command 1593 src/filemanager/filemanager.c if (command != CK_IgnoreKey) command 1594 src/filemanager/filemanager.c v = midnight_execute_cmd (NULL, command); command 3490 src/filemanager/panel.c panel_execute_cmd (WPanel *panel, long command) command 3494 src/filemanager/panel.c if (command != CK_Search) command 3497 src/filemanager/panel.c switch (command) command 3514 src/filemanager/panel.c switch (command) command 3681 src/filemanager/panel.c long command; command 3695 src/filemanager/panel.c command = widget_lookup_key (WIDGET (panel), key); command 3696 src/filemanager/panel.c if (command != CK_IgnoreKey) command 3697 src/filemanager/panel.c return panel_execute_cmd (panel, command); command 66 src/filemanager/panelize.c char *command; command 91 src/filemanager/panelize.c g_free (entry->command); command 130 src/filemanager/panelize.c input_assign_text (pname, data->command); command 250 src/filemanager/panelize.c add2panelize (char *label, char *command) command 258 src/filemanager/panelize.c entry->command = command; command 297 src/filemanager/panelize.c do_external_panelize (const char *command) command 304 src/filemanager/panelize.c external = mc_popen (command, TRUE, TRUE, &error); command 555 src/filemanager/panelize.c current->command); command 987 src/filemanager/tree.c tree_execute_cmd (WTree *tree, long command) command 991 src/filemanager/tree.c if (command != CK_Search) command 994 src/filemanager/tree.c switch (command) command 1059 src/filemanager/tree.c long command; command 1081 src/filemanager/tree.c command = widget_lookup_key (WIDGET (tree), key); command 1082 src/filemanager/tree.c switch (command) command 1091 src/filemanager/tree.c tree_execute_cmd (tree, command); command 788 src/help.c help_execute_cmd (long command) command 792 src/help.c switch (command) command 858 src/help.c long command; command 860 src/help.c command = widget_lookup_key (w, key); command 861 src/help.c if (command == CK_IgnoreKey) command 864 src/help.c return help_execute_cmd (command); command 1658 src/subshell/common.c invoke_subshell (const char *command, int how, vfs_path_t **new_dir_vpath) command 1667 src/subshell/common.c if (command == NULL) // The user has done "C-o" from MC command 1725 src/subshell/common.c write_all (mc_global.tty.subshell_pty, command, strlen (command)); command 44 src/subshell/subshell.h int invoke_subshell (const char *command, int how, vfs_path_t **new_dir); command 115 src/vfs/sfs/sfs.c char *command; command 182 src/vfs/sfs/sfs.c for (s_iter = sfs_info[w].command; *s_iter != '\0'; s_iter++) command 516 src/vfs/sfs/sfs.c sfs_info[sfs_no].command = g_strdup (c); command 537 src/vfs/sfs/sfs.c MC_PTR_FREE (sfs_info[i].command); command 311 src/vfs/shell/shell.c GString *command; command 313 src/vfs/shell/shell.c command = mc_g_string_dup (SHELL_SUPER (super)->scr_env); command 314 src/vfs/shell/shell.c g_string_append_vprintf (command, vars, ap); command 315 src/vfs/shell/shell.c g_string_append (command, scr); command 316 src/vfs/shell/shell.c r = shell_command (me, super, wait_reply, command->str, command->len); command 317 src/vfs/shell/shell.c g_string_free (command, TRUE); command 369 src/viewer/actions_cmd.c mcview_execute_cmd (WView *view, long command) command 373 src/viewer/actions_cmd.c switch (command) command 517 src/viewer/actions_cmd.c mcview_load_next_prev (view, command == CK_FileNext ? 1 : -1); command 551 src/viewer/actions_cmd.c long command; command 561 src/viewer/actions_cmd.c command = mcview_lookup_key (view, key); command 562 src/viewer/actions_cmd.c if (command != CK_IgnoreKey && mcview_execute_cmd (view, command) == MSG_HANDLED) command 383 src/viewer/datasource.c mcview_load_command_output (WView *view, const char *command) command 390 src/viewer/datasource.c p = mc_popen (command, TRUE, TRUE, &error); command 160 src/viewer/display.c : view->command != NULL ? view->command command 97 src/viewer/internal.h char *command; // Command used to pipe data in command 253 src/viewer/internal.h gboolean mcview_load_command_output (WView *view, const char *command); command 74 src/viewer/lib.c char *filename, *command; command 83 src/viewer/lib.c command = g_strdup (view->command); command 90 src/viewer/lib.c mcview_load (view, command, filename, 0, 0, 0); command 94 src/viewer/lib.c g_free (command); command 158 src/viewer/lib.c view->command = NULL; command 224 src/viewer/lib.c MC_PTR_FREE (view->command); command 395 src/viewer/lib.c file_label = view_filename != NULL ? view_filename : view->command != NULL ? view->command : ""; command 231 src/viewer/mcviewer.c mcview_viewer (const char *command, const vfs_path_t *file_vpath, int start_line, command 259 src/viewer/mcviewer.c succeeded = mcview_load (lc_mcview, command, vfs_path_as_str (file_vpath), start_line, command 278 src/viewer/mcviewer.c mcview_load (WView *view, const char *command, const char *file, int start_line, off_t search_start, command 321 src/viewer/mcviewer.c if (command != NULL && (view->mode_flags.magic || file == NULL || file[0] == '\0')) command 322 src/viewer/mcviewer.c retval = mcview_load_command_output (view, command); command 419 src/viewer/mcviewer.c view->command = g_strdup (command); command 47 src/viewer/mcviewer.h extern gboolean mcview_viewer (const char *command, const vfs_path_t *file_vpath, int start_line, command 50 src/viewer/mcviewer.h extern gboolean mcview_load (WView *view, const char *command, const char *file, int start_line, command 70 tests/src/execute__common.c void do_execute (const char *lc_shell, const char *command, int flags); command 81 tests/src/execute__common.c do_execute (const char *lc_shell, const char *command, int flags) command 84 tests/src/execute__common.c do_execute__command__captured = g_strdup (command); command 34 tests/src/execute__execute_external_editor_or_viewer.c char *execute_get_external_cmd_opts_from_config (const char *command, command 49 tests/src/execute__execute_external_editor_or_viewer.c execute_get_external_cmd_opts_from_config (const char *command, const vfs_path_t *filename_vpath, command 52 tests/src/execute__execute_external_editor_or_viewer.c execute_external_cmd_opts__command__captured = g_strdup (command); command 35 tests/src/execute__execute_get_external_cmd_opts_from_config.c char *execute_get_external_cmd_opts_from_config (const char *command, command 110 tests/src/filemanager/cd_to.c const char *command; command 130 tests/src/filemanager/cd_to.c input_command = g_strdup (data->command);