shell 88 lib/global.c .shell = NULL, shell 160 lib/global.h mc_shell_t *shell; shell 249 lib/shell.c mc_global.shell = mc_shell; shell 257 lib/shell.c if (mc_global.shell != NULL) shell 259 lib/shell.c g_free (mc_global.shell->path); shell 260 lib/shell.c MC_PTR_FREE (mc_global.shell); shell 216 lib/util.h int my_system (int flags, const char *shell, const char *command); shell 217 lib/util.h int my_systeml (int flags, const char *shell, ...); shell 199 lib/utilunix.c my_system_make_arg_array (int flags, const char *shell) shell 206 lib/utilunix.c g_ptr_array_add (args_array, (gpointer) shell); shell 209 lib/utilunix.c else if (shell == NULL || *shell == '\0') shell 215 lib/utilunix.c args_array = str_tokenize (shell); shell 419 lib/utilunix.c my_system (int flags, const char *shell, const char *command) shell 421 lib/utilunix.c return my_systeml (flags, shell, command, NULL); shell 439 lib/utilunix.c my_systeml (int flags, const char *shell, ...) shell 448 lib/utilunix.c va_start (vargs, shell); shell 454 lib/utilunix.c status = my_systemv_flags (flags, shell, (char *const *) args_array->pdata); shell 89 src/clipboard.c my_system (EXECUTE_AS_SHELL, mc_global.shell->path, cmd); shell 68 src/execute.c MC_MOCKABLE void do_execute (const char *shell, const char *command, int flags); shell 69 src/execute.c MC_MOCKABLE void do_executev (const char *shell, int flags, char *const argv[]); shell 295 src/execute.c do_executev (const char *shell, int flags, char *const argv[]) shell 327 src/execute.c my_systemv_flags (flags, shell, argv); shell 386 src/execute.c do_execute (const char *shell, const char *command, int flags) shell 394 src/execute.c do_executev (shell, flags, (char *const *) args_array->pdata); shell 438 src/execute.c do_execute (mc_global.shell->path, cmd != NULL ? cmd : command, shell 445 src/execute.c do_execute (mc_global.shell->path, cmd != NULL ? cmd : command, flags | EXECUTE_AS_SHELL); shell 510 src/execute.c my_system (EXECUTE_INTERNAL, mc_global.shell->path, NULL); shell 322 src/subshell/common.c switch (mc_global.shell->type) shell 392 src/subshell/common.c fprintf (stderr, __FILE__ ": unimplemented subshell type %u\r\n", mc_global.shell->type); shell 421 src/subshell/common.c switch (mc_global.shell->type) shell 424 src/subshell/common.c execl (mc_global.shell->path, mc_global.shell->path, "-rcfile", init_file, (char *) NULL); shell 430 src/subshell/common.c execl (mc_global.shell->path, mc_global.shell->path, "-Z", "-g", (char *) NULL); shell 434 src/subshell/common.c execl (mc_global.shell->path, mc_global.shell->path, shell 441 src/subshell/common.c execl (mc_global.shell->path, mc_global.shell->path, (char *) NULL); shell 629 src/subshell/common.c if (mc_global.shell->type == SHELL_BASH) shell 673 src/subshell/common.c if (mc_global.shell->type != SHELL_ZSH) shell 888 src/subshell/common.c if (mc_global.shell->type != SHELL_FISH) shell 1095 src/subshell/common.c switch (mc_global.shell->type) shell 1229 src/subshell/common.c if (mc_global.shell->type == SHELL_FISH) shell 1340 src/subshell/common.c if (mc_global.shell->type == SHELL_NONE) shell 1375 src/subshell/common.c if (mc_global.shell->type == SHELL_TCSH) shell 1405 src/subshell/common.c (mc_global.shell->type == SHELL_BASH || mc_global.shell->type == SHELL_ZSH shell 1406 src/subshell/common.c || mc_global.shell->type == SHELL_FISH)) shell 1516 src/subshell/common.c if (mc_global.shell->type != SHELL_FISH) shell 1671 src/subshell/common.c if (mc_global.shell->type == SHELL_TCSH) shell 1724 src/subshell/common.c if (mc_global.shell->type != SHELL_FISH) shell 1736 src/subshell/common.c if (mc_global.shell->type == SHELL_FISH) shell 1781 src/subshell/common.c if (bPathNotEq && mc_global.shell->type == SHELL_TCSH) shell 1808 src/subshell/common.c if (mc_global.shell->type == SHELL_ZSH || mc_global.shell->type == SHELL_FISH) shell 984 src/vfs/shell/shell.c shell_file_handler_t *shell = SHELL_FILE_HANDLER (fh); shell 1038 src/vfs/shell/shell.c shell->append ? shell_super->scr_append : shell_super->scr_send, shell 1096 src/vfs/shell/shell.c shell_file_handler_t *shell = SHELL_FILE_HANDLER (fh); shell 1106 src/vfs/shell/shell.c shell->append = FALSE; shell 1124 src/vfs/shell/shell.c shell->got = 0; shell 1127 src/vfs/shell/shell.c shell->total = (off_t) strtol (reply_str, NULL, 10); shell 1129 src/vfs/shell/shell.c shell->total = (off_t) g_ascii_strtoll (reply_str, NULL, 10); shell 1141 src/vfs/shell/shell.c shell_file_handler_t *shell = SHELL_FILE_HANDLER (fh); shell 1150 src/vfs/shell/shell.c n = MIN ((off_t) sizeof (buffer), (shell->total - shell->got)); shell 1156 src/vfs/shell/shell.c shell->got += n; shell 1172 src/vfs/shell/shell.c shell_file_handler_t *shell = SHELL_FILE_HANDLER (fh); shell 1176 src/vfs/shell/shell.c len = MIN ((size_t) (shell->total - shell->got), len); shell 1187 src/vfs/shell/shell.c shell->got += n; shell 1200 src/vfs/shell/shell.c shell_file_handler_t *shell = SHELL_FILE_HANDLER (fh); shell 1202 src/vfs/shell/shell.c if (shell->total != shell->got) shell 1230 src/vfs/shell/shell.c v = vfs_s_select_on_two (VFS_FILE_HANDLER_SUPER (fh)->u.shell.sockr, 0); shell 1640 src/vfs/shell/shell.c shell_file_handler_t *shell = SHELL_FILE_HANDLER (fh); shell 1649 src/vfs/shell/shell.c shell->append = TRUE;