mc_shell           64 lib/shell.c        mc_shell_t *mc_shell;
mc_shell           66 lib/shell.c        mc_shell = g_new0 (mc_shell_t, 1);
mc_shell           70 lib/shell.c            mc_shell->path = g_strdup ("/bin/bash");
mc_shell           72 lib/shell.c            mc_shell->path = g_strdup ("/bin/zsh");
mc_shell           74 lib/shell.c            mc_shell->path = g_strdup ("/bin/oksh");
mc_shell           76 lib/shell.c            mc_shell->path = g_strdup ("/bin/ksh");
mc_shell           78 lib/shell.c            mc_shell->path = g_strdup ("/bin/ksh93");
mc_shell           80 lib/shell.c            mc_shell->path = g_strdup ("/bin/ash");
mc_shell           82 lib/shell.c            mc_shell->path = g_strdup ("/bin/dash");
mc_shell           84 lib/shell.c            mc_shell->path = g_strdup ("/bin/busybox");
mc_shell           86 lib/shell.c            mc_shell->path = g_strdup ("/bin/tcsh");
mc_shell           88 lib/shell.c            mc_shell->path = g_strdup ("/bin/csh");
mc_shell           90 lib/shell.c            mc_shell->path = g_strdup ("/bin/mksh");
mc_shell          100 lib/shell.c            mc_shell->path = g_strdup ("/bin/sh");
mc_shell          102 lib/shell.c        return mc_shell;
mc_shell          136 lib/shell.c            mc_shell_t *mc_shell = NULL;
mc_shell          137 lib/shell.c            mc_shell = g_new0 (mc_shell_t, 1);
mc_shell          138 lib/shell.c            mc_shell->path = shell_name;
mc_shell          139 lib/shell.c            return mc_shell;
mc_shell          148 lib/shell.c    mc_shell_recognize_real_path (mc_shell_t *mc_shell)
mc_shell          150 lib/shell.c        if (strstr (mc_shell->path, "/zsh") != NULL || strstr (mc_shell->real_path, "/zsh") != NULL
mc_shell          154 lib/shell.c            mc_shell->type = SHELL_ZSH;
mc_shell          155 lib/shell.c            mc_shell->name = "zsh";
mc_shell          157 lib/shell.c        else if (strstr (mc_shell->path, "/tcsh") != NULL
mc_shell          158 lib/shell.c                 || strstr (mc_shell->real_path, "/tcsh") != NULL)
mc_shell          161 lib/shell.c            mc_shell->type = SHELL_TCSH;
mc_shell          162 lib/shell.c            mc_shell->name = "tcsh";
mc_shell          164 lib/shell.c        else if (strstr (mc_shell->path, "/csh") != NULL
mc_shell          165 lib/shell.c                 || strstr (mc_shell->real_path, "/csh") != NULL)
mc_shell          167 lib/shell.c            mc_shell->type = SHELL_TCSH;
mc_shell          168 lib/shell.c            mc_shell->name = "csh";
mc_shell          170 lib/shell.c        else if (strstr (mc_shell->path, "/fish") != NULL
mc_shell          171 lib/shell.c                 || strstr (mc_shell->real_path, "/fish") != NULL)
mc_shell          173 lib/shell.c            mc_shell->type = SHELL_FISH;
mc_shell          174 lib/shell.c            mc_shell->name = "fish";
mc_shell          176 lib/shell.c        else if (strstr (mc_shell->path, "/dash") != NULL
mc_shell          177 lib/shell.c                 || strstr (mc_shell->real_path, "/dash") != NULL)
mc_shell          180 lib/shell.c            mc_shell->type = SHELL_DASH;
mc_shell          181 lib/shell.c            mc_shell->name = "dash";
mc_shell          183 lib/shell.c        else if (strstr (mc_shell->real_path, "/busybox") != NULL)
mc_shell          192 lib/shell.c            mc_shell->type = SHELL_ASH_BUSYBOX;
mc_shell          193 lib/shell.c            mc_shell->name = mc_shell->path;
mc_shell          195 lib/shell.c        else if (strstr (mc_shell->path, "/ksh") != NULL || strstr (mc_shell->real_path, "/ksh") != NULL
mc_shell          196 lib/shell.c                 || strstr (mc_shell->path, "/ksh93") != NULL
mc_shell          197 lib/shell.c                 || strstr (mc_shell->real_path, "/ksh93") != NULL
mc_shell          198 lib/shell.c                 || strstr (mc_shell->path, "/oksh") != NULL
mc_shell          199 lib/shell.c                 || strstr (mc_shell->real_path, "/oksh") != NULL)
mc_shell          201 lib/shell.c            mc_shell->type = SHELL_KSH;
mc_shell          202 lib/shell.c            mc_shell->name = "ksh";
mc_shell          204 lib/shell.c        else if (strstr (mc_shell->path, "/mksh") != NULL
mc_shell          205 lib/shell.c                 || strstr (mc_shell->real_path, "/mksh") != NULL)
mc_shell          207 lib/shell.c            mc_shell->type = SHELL_MKSH;
mc_shell          208 lib/shell.c            mc_shell->name = "mksh";
mc_shell          211 lib/shell.c            mc_shell->type = SHELL_NONE;
mc_shell          217 lib/shell.c    mc_shell_recognize_path (mc_shell_t *mc_shell)
mc_shell          220 lib/shell.c        if (strstr (mc_shell->path, "/bash") != NULL || getenv ("BASH_VERSION") != NULL)
mc_shell          222 lib/shell.c            mc_shell->type = SHELL_BASH;
mc_shell          223 lib/shell.c            mc_shell->name = "bash";
mc_shell          225 lib/shell.c        else if (strstr (mc_shell->path, "/sh") != NULL)
mc_shell          227 lib/shell.c            mc_shell->type = SHELL_SH;
mc_shell          228 lib/shell.c            mc_shell->name = "sh";
mc_shell          230 lib/shell.c        else if (strstr (mc_shell->path, "/ash") != NULL || getenv ("BB_ASH_VERSION") != NULL)
mc_shell          232 lib/shell.c            mc_shell->type = SHELL_ASH_BUSYBOX;
mc_shell          233 lib/shell.c            mc_shell->name = "ash";
mc_shell          235 lib/shell.c        else if (strstr (mc_shell->path, "/ksh") != NULL || strstr (mc_shell->path, "/ksh93") != NULL
mc_shell          236 lib/shell.c                 || strstr (mc_shell->path, "/oksh") != NULL
mc_shell          240 lib/shell.c            mc_shell->type = SHELL_KSH;
mc_shell          241 lib/shell.c            mc_shell->name = "ksh";
mc_shell          243 lib/shell.c        else if (strstr (mc_shell->path, "/mksh") != NULL
mc_shell          247 lib/shell.c            mc_shell->type = SHELL_MKSH;
mc_shell          248 lib/shell.c            mc_shell->name = "mksh";
mc_shell          251 lib/shell.c            mc_shell->type = SHELL_NONE;
mc_shell          261 lib/shell.c        mc_shell_t *mc_shell = mc_shell_get_from_env ();
mc_shell          263 lib/shell.c        if (mc_shell == NULL)
mc_shell          264 lib/shell.c            mc_shell = mc_shell_get_installed_in_system ();
mc_shell          266 lib/shell.c        mc_shell->real_path = mc_realpath (mc_shell->path, rp_shell);
mc_shell          270 lib/shell.c        if (mc_shell->real_path != NULL)
mc_shell          271 lib/shell.c            mc_shell_recognize_real_path (mc_shell);
mc_shell          273 lib/shell.c        if (mc_shell->type == SHELL_NONE)
mc_shell          274 lib/shell.c            mc_shell_recognize_path (mc_shell);
mc_shell          276 lib/shell.c        if (mc_shell->type == SHELL_NONE)
mc_shell          279 lib/shell.c        mc_global.shell = mc_shell;