command 425 lib/keybind.c new_bind.command = cmd; command 486 lib/keybind.c if (keymap[i].command == action) command 503 lib/keybind.c return keymap[i].command; command 351 lib/keybind.h long command; command 216 lib/util.h int my_system (int flags, const char *shell, const char *command); command 218 lib/util.h int my_systemv (const char *command, char *const argv[]); command 219 lib/util.h int my_systemv_flags (int flags, const char *command, char *const argv[]); command 221 lib/util.h mc_pipe_t *mc_popen (const char *command, gboolean read_out, gboolean read_err, GError ** error); command 419 lib/utilunix.c my_system (int flags, const char *shell, const char *command) command 421 lib/utilunix.c return my_systeml (flags, shell, command, NULL); command 472 lib/utilunix.c my_systemv (const char *command, char *const argv[]) command 493 lib/utilunix.c my_execvp (command, argv); command 520 lib/utilunix.c my_systemv_flags (int flags, const char *command, char *const argv[]) command 526 lib/utilunix.c args_array = my_system_make_arg_array (flags, command); command 554 lib/utilunix.c mc_popen (const char *command, gboolean read_out, gboolean read_err, GError **error) command 557 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 331 lib/widget/listbox.c ret = send_message (WIDGET (l)->owner, l, MSG_NOTIFY, command, NULL); command 346 lib/widget/listbox.c long command; command 358 lib/widget/listbox.c command = widget_lookup_key (WIDGET (l), key); command 359 lib/widget/listbox.c if (command == CK_IgnoreKey) command 361 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 3040 src/diffviewer/ydiff.c dview_execute_cmd (WDiff *dview, long command) command 3044 src/diffviewer/ydiff.c switch (command) command 3206 src/diffviewer/ydiff.c long command; command 3212 src/diffviewer/ydiff.c command = widget_lookup_key (WIDGET (dview), key); command 3213 src/diffviewer/ydiff.c if (command == CK_IgnoreKey) command 3216 src/diffviewer/ydiff.c return dview_execute_cmd (dview, command); command 209 src/editor/edit-impl.h void edit_execute_key_command (WEdit * edit, long command, int char_for_insertion); command 212 src/editor/edit-impl.h gboolean edit_handle_move_resize (WEdit * edit, long command); command 253 src/editor/edit-impl.h void edit_execute_cmd (WEdit * edit, long command, int char_for_insertion); command 3333 src/editor/edit.c edit_execute_key_command (WEdit *edit, long command, int char_for_insertion) command 3335 src/editor/edit.c if (command == CK_MacroStartRecord || command == CK_RepeatStartRecord command 3337 src/editor/edit.c && (command == CK_MacroStartStopRecord || command == CK_RepeatStartStopRecord))) command 3346 src/editor/edit.c if (command == CK_MacroStopRecord || command == CK_MacroStartStopRecord) command 3352 src/editor/edit.c if (command == CK_RepeatStopRecord || command == CK_RepeatStartStopRecord) command 3362 src/editor/edit.c record_macro_buf[macro_index].action = command; command 3366 src/editor/edit.c if (command != CK_Undo && command != CK_ExtendedKeyMap) command 3369 src/editor/edit.c edit_execute_cmd (edit, command, char_for_insertion); command 3382 src/editor/edit.c edit_execute_cmd (WEdit *edit, long command, int char_for_insertion) command 3386 src/editor/edit.c if (command == CK_WindowFullscreen) command 3393 src/editor/edit.c if (edit_handle_move_resize (edit, command)) command 3403 src/editor/edit.c switch (command) command 3452 src/editor/edit.c if (command == CK_Undo) command 3462 src/editor/edit.c if (command == CK_Redo) command 3537 src/editor/edit.c switch (command) command 3565 src/editor/edit.c switch (command) command 3595 src/editor/edit.c switch (command) command 4074 src/editor/edit.c if ((command / CK_PipeBlock (0)) == 1) command 4075 src/editor/edit.c edit_block_process_cmd (edit, command - CK_PipeBlock (0)); command 4078 src/editor/edit.c switch (command) command 4127 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 218 src/editor/editwidget.c edit_window_move (WEdit *edit, long command) command 225 src/editor/editwidget.c switch (command) command 260 src/editor/editwidget.c edit_window_resize (WEdit *edit, long command) command 267 src/editor/editwidget.c switch (command) command 353 src/editor/editwidget.c edit_get_shortcut (long command) command 358 src/editor/editwidget.c shortcut = keybind_lookup_keymap_shortcut (editor_map, command); command 364 src/editor/editwidget.c shortcut = keybind_lookup_keymap_shortcut (editor_x_map, command); command 400 src/editor/editwidget.c edit_dialog_command_execute (WDialog *h, long command) command 405 src/editor/editwidget.c switch (command) command 442 src/editor/editwidget.c else if (command == CK_Quit) command 473 src/editor/editwidget.c edit_handle_move_resize (EDIT (g->current->data), command); command 511 src/editor/editwidget.c long command = CK_InsertChar; command 608 src/editor/editwidget.c command = widget_lookup_key (w, x_key); command 609 src/editor/editwidget.c if (command == CK_IgnoreKey) command 610 src/editor/editwidget.c command = CK_InsertChar; command 613 src/editor/editwidget.c *cmd = (int) command; /* FIXME */ command 616 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 1394 src/editor/editwidget.c edit_handle_move_resize (WEdit *edit, long command) command 1410 src/editor/editwidget.c switch (command) command 1436 src/editor/editwidget.c switch (command) command 1446 src/editor/editwidget.c edit_window_move (edit, command); command 1461 src/editor/editwidget.c switch (command) command 1471 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 mc_config_get_string_raw (mc_global.main_config, CONFIG_EXT_EDITOR_VIEWER_SECTION, command, command 250 src/execute.c mc_config_get_string_raw (cfg, CONFIG_EXT_EDITOR_VIEWER_SECTION, command, default_str); command 263 src/execute.c execute_get_external_cmd_opts_from_config (const char *command, const vfs_path_t *filename_vpath, command 277 src/execute.c str_from_config = execute_get_opts_from_cfg (command, "%filename"); command 386 src/execute.c do_execute (const char *shell, const char *command, int flags) command 391 src/execute.c g_ptr_array_add (args_array, (char *) command); command 424 src/execute.c shell_execute (const char *command, int flags) command 430 src/execute.c cmd = g_strconcat (" ", command, (char *) NULL); command 438 src/execute.c do_execute (mc_global.shell->path, cmd != NULL ? cmd : command, command 445 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 714 src/filemanager/chattr.c chattrboxes_execute_cmd (WChattrBoxes *cb, long command) command 716 src/filemanager/chattr.c switch (command) command 740 src/filemanager/chattr.c if (command == CK_MarkAndDown) command 756 src/filemanager/chattr.c long command; command 758 src/filemanager/chattr.c command = widget_lookup_key (WIDGET (cb), key); command 759 src/filemanager/chattr.c if (command == CK_IgnoreKey) command 761 src/filemanager/chattr.c return chattrboxes_execute_cmd (cb, command); command 614 src/filemanager/cmd.c char *command; command 630 src/filemanager/cmd.c command = command 636 src/filemanager/cmd.c if (command != NULL) command 638 src/filemanager/cmd.c mcview_viewer (command, NULL, 0, 0, 0); command 639 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 559 src/filemanager/ext.c char *command; command 562 src/filemanager/ext.c command = g_strconcat (cmd_file, args, " 2>/dev/null", (char *) NULL); command 563 src/filemanager/ext.c f = popen (command, "r"); command 564 src/filemanager/ext.c g_free (command); command 408 src/filemanager/filemanager.c midnight_get_shortcut (long command) command 413 src/filemanager/filemanager.c shortcut = keybind_lookup_keymap_shortcut (filemanager_map, command); command 417 src/filemanager/filemanager.c shortcut = keybind_lookup_keymap_shortcut (panel_map, command); command 423 src/filemanager/filemanager.c shortcut = keybind_lookup_keymap_shortcut (filemanager_x_map, command); command 1128 src/filemanager/filemanager.c midnight_execute_cmd (Widget *sender, long command) command 1137 src/filemanager/filemanager.c switch (command) command 1360 src/filemanager/filemanager.c res = send_message (current_panel, filemanager, MSG_ACTION, command, NULL); command 1484 src/filemanager/filemanager.c long command; command 1528 src/filemanager/filemanager.c command = widget_lookup_key (w, parm); command 1529 src/filemanager/filemanager.c if (command != CK_IgnoreKey) command 1530 src/filemanager/filemanager.c return midnight_execute_cmd (NULL, command); command 1591 src/filemanager/filemanager.c command = widget_lookup_key (w, parm); command 1592 src/filemanager/filemanager.c if (command != CK_IgnoreKey) command 1593 src/filemanager/filemanager.c v = midnight_execute_cmd (NULL, command); command 3625 src/filemanager/panel.c panel_execute_cmd (WPanel *panel, long command) command 3629 src/filemanager/panel.c if (command != CK_Search) command 3632 src/filemanager/panel.c switch (command) command 3649 src/filemanager/panel.c switch (command) command 3816 src/filemanager/panel.c long command; command 3830 src/filemanager/panel.c command = widget_lookup_key (WIDGET (panel), key); command 3831 src/filemanager/panel.c if (command != CK_IgnoreKey) command 3832 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 253 src/filemanager/panelize.c add2panelize (char *label, char *command) command 261 src/filemanager/panelize.c entry->command = command; command 301 src/filemanager/panelize.c do_external_panelize (const char *command) command 308 src/filemanager/panelize.c external = mc_popen (command, TRUE, TRUE, &error); command 559 src/filemanager/panelize.c panelize_section, current->label, current->command); command 989 src/filemanager/tree.c tree_execute_cmd (WTree *tree, long command) command 993 src/filemanager/tree.c if (command != CK_Search) command 996 src/filemanager/tree.c switch (command) command 1061 src/filemanager/tree.c long command; command 1083 src/filemanager/tree.c command = widget_lookup_key (WIDGET (tree), key); command 1084 src/filemanager/tree.c switch (command) command 1093 src/filemanager/tree.c tree_execute_cmd (tree, command); command 790 src/help.c help_execute_cmd (long command) command 794 src/help.c switch (command) command 860 src/help.c long command; command 862 src/help.c command = widget_lookup_key (w, key); command 863 src/help.c if (command == CK_IgnoreKey) command 866 src/help.c return help_execute_cmd (command); command 1461 src/subshell/common.c invoke_subshell (const char *command, int how, vfs_path_t **new_dir_vpath) command 1470 src/subshell/common.c if (command == NULL) /* The user has done "C-o" from MC */ command 1527 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 313 src/vfs/shell/shell.c GString *command; command 315 src/vfs/shell/shell.c command = mc_g_string_dup (SHELL_SUPER (super)->scr_env); command 316 src/vfs/shell/shell.c g_string_append_vprintf (command, vars, ap); command 317 src/vfs/shell/shell.c g_string_append (command, scr); command 318 src/vfs/shell/shell.c r = shell_command (me, super, wait_reply, command->str, command->len); command 319 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 384 src/viewer/datasource.c mcview_load_command_output (WView *view, const char *command) command 391 src/viewer/datasource.c p = mc_popen (command, TRUE, TRUE, &error); command 165 src/viewer/display.c vfs_path_get_last_path_str (view->filename_vpath) : view->command != NULL ? command 166 src/viewer/display.c view->command : ""; command 96 src/viewer/internal.h char *command; /* Command used to pipe data in */ command 252 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 392 src/viewer/lib.c file_label = view_filename != NULL ? view_filename : view->command != NULL ? view->command : ""; command 237 src/viewer/mcviewer.c mcview_viewer (const char *command, const vfs_path_t *file_vpath, int start_line, command 266 src/viewer/mcviewer.c mcview_load (lc_mcview, command, vfs_path_as_str (file_vpath), start_line, search_start, command 285 src/viewer/mcviewer.c mcview_load (WView *view, const char *command, const char *file, int start_line, command 328 src/viewer/mcviewer.c if (command != NULL && (view->mode_flags.magic || file == NULL || file[0] == '\0')) command 329 src/viewer/mcviewer.c retval = mcview_load_command_output (view, command); command 426 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 50 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 53 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 111 tests/src/filemanager/cd_to.c const char *command; command 143 tests/src/filemanager/cd_to.c input_command = g_strdup (data->command);