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 214 lib/util.h int my_system (int flags, const char *shell, const char *command); command 216 lib/util.h int my_systemv (const char *command, char *const argv[]); command 217 lib/util.h int my_systemv_flags (int flags, const char *command, char *const argv[]); command 219 lib/util.h mc_pipe_t *mc_popen (const char *command, gboolean read_out, gboolean read_err, GError ** error); command 369 lib/utilunix.c my_system (int flags, const char *shell, const char *command) command 371 lib/utilunix.c return my_systeml (flags, shell, command, NULL); command 422 lib/utilunix.c my_systemv (const char *command, char *const argv[]) command 443 lib/utilunix.c execvp (command, argv); command 470 lib/utilunix.c my_systemv_flags (int flags, const char *command, char *const argv[]) command 476 lib/utilunix.c args_array = my_system_make_arg_array (flags, command, &execute_name); command 503 lib/utilunix.c mc_popen (const char *command, gboolean read_out, gboolean read_err, GError ** error) command 506 lib/utilunix.c const char *const argv[] = { "/bin/sh", "sh", "-c", command, NULL }; command 151 lib/widget/buttonbar.c if ((bb != NULL) && (bb->labels[i].command != CK_IgnoreKey)) command 154 lib/widget/buttonbar.c ret = send_message (target, w, MSG_ACTION, bb->labels[i].command, NULL); command 264 lib/widget/buttonbar.c long command = CK_IgnoreKey; command 267 lib/widget/buttonbar.c command = keybind_lookup_keymap_command (keymap, KEY_F (idx)); command 274 lib/widget/buttonbar.c bb->labels[idx - 1].command = command; command 29 lib/widget/buttonbar.h long command; command 132 lib/widget/dialog.c dlg_execute_cmd (WDialog * h, long command) command 137 lib/widget/dialog.c if (send_message (h, NULL, MSG_ACTION, command, NULL) == MSG_HANDLED) command 140 lib/widget/dialog.c switch (command) command 206 lib/widget/dialog.c long command; command 208 lib/widget/dialog.c command = widget_lookup_key (WIDGET (h), d_key); command 209 lib/widget/dialog.c if (command == CK_IgnoreKey) command 210 lib/widget/dialog.c command = keybind_lookup_keymap_command (dialog_map, d_key); command 211 lib/widget/dialog.c if (command != CK_IgnoreKey) command 212 lib/widget/dialog.c return dlg_execute_cmd (h, command); command 50 lib/widget/dialog.h typedef char *(*dlg_shortcut_str) (long command); command 684 lib/widget/input.c input_execute_cmd (WInput * in, long command) command 688 lib/widget/input.c switch (command) command 714 lib/widget/input.c switch (command) command 815 lib/widget/input.c switch (command) command 1129 lib/widget/input.c long command; command 1140 lib/widget/input.c command = widget_lookup_key (WIDGET (in), key); command 1141 lib/widget/input.c if (command == CK_IgnoreKey) command 1155 lib/widget/input.c if (command != CK_Complete) command 1157 lib/widget/input.c input_execute_cmd (in, command); command 1161 lib/widget/input.c keep_first = in->first && (command == CK_History || command == CK_Complete); command 271 lib/widget/listbox.c listbox_execute_cmd (WListbox * l, long command) command 279 lib/widget/listbox.c switch (command) command 326 lib/widget/listbox.c ret = send_message (WIDGET (l)->owner, l, MSG_NOTIFY, command, NULL); command 341 lib/widget/listbox.c long command; command 353 lib/widget/listbox.c command = widget_lookup_key (WIDGET (l), key); command 354 lib/widget/listbox.c if (command == CK_IgnoreKey) command 356 lib/widget/listbox.c return listbox_execute_cmd (l, command); command 61 lib/widget/menu.c long command; command 104 lib/widget/menu.c entry->shortcut = get_shortcut (entry->command); command 353 lib/widget/menu.c if ((entry != NULL) && (entry->command != CK_IgnoreKey)) command 359 lib/widget/menu.c send_message (w->owner, w, MSG_ACTION, entry->command, NULL); command 380 lib/widget/menu.c while ((entry == NULL) || (entry->command == CK_IgnoreKey)); command 404 lib/widget/menu.c while ((entry == NULL) || (entry->command == CK_IgnoreKey)); command 431 lib/widget/menu.c if ((entry == NULL) || (entry->command == CK_IgnoreKey)) command 469 lib/widget/menu.c while ((entry == NULL) || (entry->command == CK_IgnoreKey)); command 530 lib/widget/menu.c menubar_execute_cmd (WMenuBar * menubar, long command) command 534 lib/widget/menu.c switch (command) command 754 lib/widget/menu.c if (entry != NULL && entry->command != CK_IgnoreKey) command 881 lib/widget/menu.c menu_entry_create (const char *name, long command) command 888 lib/widget/menu.c entry->command = command; command 45 lib/widget/menu.h menu_entry_t *menu_entry_create (const char *name, long command); command 59 lib/widget/radio.c radio_execute_cmd (WRadio * r, long command) command 64 lib/widget/radio.c switch (command) command 71 lib/widget/radio.c if (command == CK_Top) command 83 lib/widget/radio.c if (command == CK_Bottom) command 110 lib/widget/radio.c long command; command 112 lib/widget/radio.c command = widget_lookup_key (WIDGET (r), key); command 113 lib/widget/radio.c if (command == CK_IgnoreKey) command 115 lib/widget/radio.c return radio_execute_cmd (r, command); command 3122 src/diffviewer/ydiff.c dview_execute_cmd (WDiff * dview, long command) command 3126 src/diffviewer/ydiff.c switch (command) command 3288 src/diffviewer/ydiff.c long command; command 3294 src/diffviewer/ydiff.c command = widget_lookup_key (WIDGET (dview), key); command 3295 src/diffviewer/ydiff.c if (command == CK_IgnoreKey) command 3298 src/diffviewer/ydiff.c return dview_execute_cmd (dview, command); command 216 src/editor/edit-impl.h void edit_execute_key_command (WEdit * edit, long command, int char_for_insertion); command 219 src/editor/edit-impl.h gboolean edit_handle_move_resize (WEdit * edit, long command); command 260 src/editor/edit-impl.h void edit_execute_cmd (WEdit * edit, long command, int char_for_insertion); command 3202 src/editor/edit.c edit_execute_key_command (WEdit * edit, long command, int char_for_insertion) command 3204 src/editor/edit.c if (command == CK_MacroStartRecord || command == CK_RepeatStartRecord command 3206 src/editor/edit.c && (command == CK_MacroStartStopRecord || command == CK_RepeatStartStopRecord))) command 3215 src/editor/edit.c if (command == CK_MacroStopRecord || command == CK_MacroStartStopRecord) command 3221 src/editor/edit.c if (command == CK_RepeatStopRecord || command == CK_RepeatStartStopRecord) command 3231 src/editor/edit.c record_macro_buf[macro_index].action = command; command 3235 src/editor/edit.c if (command != CK_Undo && command != CK_ExtendedKeyMap) command 3238 src/editor/edit.c edit_execute_cmd (edit, command, char_for_insertion); command 3251 src/editor/edit.c edit_execute_cmd (WEdit * edit, long command, int char_for_insertion) command 3255 src/editor/edit.c if (command == CK_WindowFullscreen) command 3262 src/editor/edit.c if (edit_handle_move_resize (edit, command)) command 3272 src/editor/edit.c switch (command) command 3321 src/editor/edit.c if (command == CK_Undo) command 3331 src/editor/edit.c if (command == CK_Redo) command 3409 src/editor/edit.c switch (command) command 3437 src/editor/edit.c switch (command) command 3467 src/editor/edit.c switch (command) command 3943 src/editor/edit.c if ((command / CK_PipeBlock (0)) == 1) command 3944 src/editor/edit.c edit_block_process_cmd (edit, command - CK_PipeBlock (0)); command 3947 src/editor/edit.c switch (command) command 3996 src/editor/edit.c switch (command) command 414 src/editor/editmacros.c long command = macro_index < 0 ? CK_MacroStartRecord : CK_MacroStopRecord; command 416 src/editor/editmacros.c edit_execute_key_command (edit, command, -1); command 428 src/editor/editmacros.c long command = macro_index < 0 ? CK_RepeatStartRecord : CK_RepeatStopRecord; command 430 src/editor/editmacros.c edit_execute_key_command (edit, command, -1); command 217 src/editor/editwidget.c edit_window_move (WEdit * edit, long command) command 222 src/editor/editwidget.c switch (command) command 257 src/editor/editwidget.c edit_window_resize (WEdit * edit, long command) command 262 src/editor/editwidget.c switch (command) command 347 src/editor/editwidget.c edit_get_shortcut (long command) command 352 src/editor/editwidget.c shortcut = keybind_lookup_keymap_shortcut (editor_map, command); command 358 src/editor/editwidget.c shortcut = keybind_lookup_keymap_shortcut (editor_x_map, command); command 391 src/editor/editwidget.c edit_dialog_command_execute (WDialog * h, long command) command 397 src/editor/editwidget.c switch (command) command 435 src/editor/editwidget.c else if (command == CK_Quit) command 466 src/editor/editwidget.c edit_handle_move_resize ((WEdit *) g->current->data, command); command 504 src/editor/editwidget.c long command = CK_InsertChar; command 601 src/editor/editwidget.c command = widget_lookup_key (w, x_key); command 602 src/editor/editwidget.c if (command == CK_IgnoreKey) command 603 src/editor/editwidget.c command = CK_InsertChar; command 606 src/editor/editwidget.c *cmd = (int) command; /* FIXME */ command 609 src/editor/editwidget.c return !(command == CK_InsertChar && char_for_insertion == -1); command 795 src/editor/editwidget.c long command; command 799 src/editor/editwidget.c command = widget_lookup_key (we, parm); command 802 src/editor/editwidget.c if (command == CK_IgnoreKey) command 806 src/editor/editwidget.c ret = edit_dialog_command_execute (h, command); command 1406 src/editor/editwidget.c edit_handle_move_resize (WEdit * edit, long command) command 1422 src/editor/editwidget.c switch (command) command 1448 src/editor/editwidget.c switch (command) command 1458 src/editor/editwidget.c edit_window_move (edit, command); command 1473 src/editor/editwidget.c switch (command) command 1483 src/editor/editwidget.c edit_window_resize (edit, command); command 70 src/execute.c void do_execute (const char *shell, const char *command, int flags); command 72 src/execute.c char *execute_get_external_cmd_opts_from_config (const char *command, command 231 src/execute.c execute_get_opts_from_cfg (const char *command, const char *default_str) command 236 src/execute.c mc_config_get_string_raw (mc_global.main_config, CONFIG_EXT_EDITOR_VIEWER_SECTION, command, command 248 src/execute.c mc_config_get_string_raw (cfg, CONFIG_EXT_EDITOR_VIEWER_SECTION, command, default_str); command 261 src/execute.c execute_get_external_cmd_opts_from_config (const char *command, const vfs_path_t * filename_vpath, command 275 src/execute.c str_from_config = execute_get_opts_from_cfg (command, "%filename"); command 383 src/execute.c do_execute (const char *shell, const char *command, int flags) command 388 src/execute.c g_ptr_array_add (args_array, (char *) command); command 421 src/execute.c shell_execute (const char *command, int flags) command 427 src/execute.c cmd = g_strconcat (" ", command, (char *) NULL); command 435 src/execute.c do_execute (mc_global.shell->path, cmd ? cmd : command, flags | EXECUTE_AS_SHELL); command 441 src/execute.c do_execute (mc_global.shell->path, cmd ? cmd : command, flags | EXECUTE_AS_SHELL); command 606 src/execute.c execute_with_vfs_arg (const char *command, const vfs_path_t * filename_vpath) command 617 src/execute.c do_execute (command, vfs_path_get_last_path_str (do_execute_vpath), EXECUTE_INTERNAL); command 633 src/execute.c execute_external_editor_or_viewer (const char *command, const vfs_path_t * filename_vpath, command 647 src/execute.c execute_get_external_cmd_opts_from_config (command, do_execute_vpath, start_line); command 656 src/execute.c do_executev (command, EXECUTE_INTERNAL, argv_cmd_options); command 660 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 716 src/filemanager/chattr.c chattrboxes_execute_cmd (WChattrBoxes * cb, long command) command 718 src/filemanager/chattr.c switch (command) command 742 src/filemanager/chattr.c if (command == CK_MarkAndDown) command 758 src/filemanager/chattr.c long command; command 760 src/filemanager/chattr.c command = widget_lookup_key (WIDGET (cb), key); command 761 src/filemanager/chattr.c if (command == CK_IgnoreKey) command 763 src/filemanager/chattr.c return chattrboxes_execute_cmd (cb, command); command 619 src/filemanager/cmd.c char *command; command 627 src/filemanager/cmd.c command = command 633 src/filemanager/cmd.c if (command != NULL) command 635 src/filemanager/cmd.c mcview_viewer (command, NULL, 0, 0, 0); command 636 src/filemanager/cmd.c g_free (command); command 110 src/filemanager/command.c GString *command; command 127 src/filemanager/command.c command = g_string_sized_new (32); command 132 src/filemanager/command.c g_string_append_c (command, cmd[i]); command 138 src/filemanager/command.c g_string_append (command, s); command 144 src/filemanager/command.c shell_execute (command->str, 0); command 145 src/filemanager/command.c g_string_free (command, TRUE); command 547 src/filemanager/ext.c char *command; command 550 src/filemanager/ext.c command = g_strconcat (cmd_file, args, " 2>/dev/null", (char *) NULL); command 551 src/filemanager/ext.c f = popen (command, "r"); command 552 src/filemanager/ext.c g_free (command); command 410 src/filemanager/filemanager.c midnight_get_shortcut (long command) command 415 src/filemanager/filemanager.c shortcut = keybind_lookup_keymap_shortcut (filemanager_map, command); command 419 src/filemanager/filemanager.c shortcut = keybind_lookup_keymap_shortcut (panel_map, command); command 425 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 3474 src/filemanager/panel.c panel_execute_cmd (WPanel * panel, long command) command 3478 src/filemanager/panel.c if (command != CK_Search) command 3481 src/filemanager/panel.c switch (command) command 3498 src/filemanager/panel.c switch (command) command 3665 src/filemanager/panel.c long command; command 3679 src/filemanager/panel.c command = widget_lookup_key (WIDGET (panel), key); command 3680 src/filemanager/panel.c if (command != CK_IgnoreKey) command 3681 src/filemanager/panel.c return panel_execute_cmd (panel, command); command 83 src/filemanager/panelize.c char *command; command 101 src/filemanager/panelize.c input_assign_text (pname, data->command); command 227 src/filemanager/panelize.c add2panelize (char *label, char *command) command 243 src/filemanager/panelize.c panelize->command = command; command 252 src/filemanager/panelize.c new->command = command; command 298 src/filemanager/panelize.c g_free (entry->command); command 306 src/filemanager/panelize.c do_external_panelize (char *command) command 313 src/filemanager/panelize.c external = mc_popen (command, TRUE, TRUE, &error); command 706 src/filemanager/panelize.c panelize_section, current->label, current->command); command 720 src/filemanager/panelize.c g_free (current->command); command 992 src/filemanager/tree.c tree_execute_cmd (WTree * tree, long command) command 996 src/filemanager/tree.c if (command != CK_Search) command 999 src/filemanager/tree.c switch (command) command 1067 src/filemanager/tree.c long command; command 1089 src/filemanager/tree.c command = widget_lookup_key (WIDGET (tree), key); command 1090 src/filemanager/tree.c switch (command) command 1099 src/filemanager/tree.c tree_execute_cmd (tree, command); command 782 src/help.c help_execute_cmd (long command) command 786 src/help.c switch (command) command 852 src/help.c long command; command 854 src/help.c command = widget_lookup_key (w, key); command 855 src/help.c if (command == CK_IgnoreKey) command 858 src/help.c return help_execute_cmd (command); command 1444 src/subshell/common.c invoke_subshell (const char *command, int how, vfs_path_t ** new_dir_vpath) command 1453 src/subshell/common.c if (command == NULL) /* The user has done "C-o" from MC */ command 1508 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 310 src/vfs/fish/fish.c GString *command; command 312 src/vfs/fish/fish.c command = g_string_new (FISH_SUPER (super)->scr_env); command 313 src/vfs/fish/fish.c g_string_append_vprintf (command, vars, ap); command 314 src/vfs/fish/fish.c g_string_append (command, scr); command 315 src/vfs/fish/fish.c r = fish_command (me, super, wait_reply, command->str, command->len); command 316 src/vfs/fish/fish.c g_string_free (command, TRUE); command 116 src/vfs/sfs/sfs.c char *command; command 181 src/vfs/sfs/sfs.c for (s_iter = sfs_info[w].command; *s_iter != '\0'; s_iter++) command 519 src/vfs/sfs/sfs.c sfs_info[sfs_no].command = g_strdup (c); command 540 src/vfs/sfs/sfs.c MC_PTR_FREE (sfs_info[i].command); command 401 src/viewer/actions_cmd.c mcview_execute_cmd (WView * view, long command) command 405 src/viewer/actions_cmd.c switch (command) command 555 src/viewer/actions_cmd.c mcview_load_next_prev (view, command == CK_FileNext ? 1 : -1); command 589 src/viewer/actions_cmd.c long command; command 599 src/viewer/actions_cmd.c command = mcview_lookup_key (view, key); command 600 src/viewer/actions_cmd.c if (command != CK_IgnoreKey && mcview_execute_cmd (view, command) == MSG_HANDLED) command 381 src/viewer/datasource.c mcview_load_command_output (WView * view, const char *command) command 388 src/viewer/datasource.c p = mc_popen (command, TRUE, TRUE, &error); command 164 src/viewer/display.c vfs_path_get_last_path_str (view->filename_vpath) : view->command != NULL ? command 165 src/viewer/display.c view->command : ""; command 111 src/viewer/internal.h char *command; /* Command used to pipe data in */ command 269 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 389 src/viewer/lib.c file_label = view_filename != NULL ? view_filename : view->command != NULL ? view->command : ""; command 233 src/viewer/mcviewer.c mcview_viewer (const char *command, const vfs_path_t * file_vpath, int start_line, command 259 src/viewer/mcviewer.c mcview_load (lc_mcview, command, vfs_path_as_str (file_vpath), start_line, search_start, command 278 src/viewer/mcviewer.c mcview_load (WView * view, const char *command, const char *file, int start_line, 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 48 src/viewer/mcviewer.h extern gboolean mcview_viewer (const char *command, const vfs_path_t * file_vpath, int start_line, command 51 src/viewer/mcviewer.h extern gboolean mcview_load (WView * view, const char *command, const char *file, int start_line, command 72 tests/src/execute__common.c void do_execute (const char *lc_shell, const char *command, int flags); command 83 tests/src/execute__common.c do_execute (const char *lc_shell, const char *command, int flags) command 86 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);