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          135 lib/shell.c        mc_shell_t *mc_shell = NULL;
mc_shell          143 lib/shell.c            mc_shell = g_new0 (mc_shell_t, 1);
mc_shell          144 lib/shell.c            mc_shell->path = shell_name;
mc_shell          147 lib/shell.c        return mc_shell;
mc_shell          153 lib/shell.c    mc_shell_recognize_real_path (mc_shell_t *mc_shell)
mc_shell          155 lib/shell.c        if (strstr (mc_shell->path, "/zsh") != NULL || strstr (mc_shell->real_path, "/zsh") != NULL
mc_shell          159 lib/shell.c            mc_shell->type = SHELL_ZSH;
mc_shell          160 lib/shell.c            mc_shell->name = "zsh";
mc_shell          162 lib/shell.c        else if (strstr (mc_shell->path, "/tcsh") != NULL
mc_shell          163 lib/shell.c                 || strstr (mc_shell->real_path, "/tcsh") != NULL)
mc_shell          166 lib/shell.c            mc_shell->type = SHELL_TCSH;
mc_shell          167 lib/shell.c            mc_shell->name = "tcsh";
mc_shell          169 lib/shell.c        else if (strstr (mc_shell->path, "/csh") != NULL
mc_shell          170 lib/shell.c                 || strstr (mc_shell->real_path, "/csh") != NULL)
mc_shell          172 lib/shell.c            mc_shell->type = SHELL_TCSH;
mc_shell          173 lib/shell.c            mc_shell->name = "csh";
mc_shell          175 lib/shell.c        else if (strstr (mc_shell->path, "/fish") != NULL
mc_shell          176 lib/shell.c                 || strstr (mc_shell->real_path, "/fish") != NULL)
mc_shell          178 lib/shell.c            mc_shell->type = SHELL_FISH;
mc_shell          179 lib/shell.c            mc_shell->name = "fish";
mc_shell          181 lib/shell.c        else if (strstr (mc_shell->path, "/dash") != NULL
mc_shell          182 lib/shell.c                 || strstr (mc_shell->real_path, "/dash") != NULL)
mc_shell          185 lib/shell.c            mc_shell->type = SHELL_DASH;
mc_shell          186 lib/shell.c            mc_shell->name = "dash";
mc_shell          188 lib/shell.c        else if (strstr (mc_shell->real_path, "/busybox") != NULL)
mc_shell          197 lib/shell.c            mc_shell->type = SHELL_ASH_BUSYBOX;
mc_shell          198 lib/shell.c            mc_shell->name = mc_shell->path;
mc_shell          200 lib/shell.c        else if (strstr (mc_shell->path, "/ksh") != NULL
mc_shell          201 lib/shell.c                 || strstr (mc_shell->real_path, "/ksh") != NULL
mc_shell          202 lib/shell.c                 || strstr (mc_shell->path, "/ksh93") != NULL
mc_shell          203 lib/shell.c                 || strstr (mc_shell->real_path, "/ksh93") != NULL
mc_shell          204 lib/shell.c                 || strstr (mc_shell->path, "/oksh") != NULL
mc_shell          205 lib/shell.c                 || strstr (mc_shell->real_path, "/oksh") != NULL)
mc_shell          207 lib/shell.c            mc_shell->type = SHELL_KSH;
mc_shell          208 lib/shell.c            mc_shell->name = "ksh";
mc_shell          210 lib/shell.c        else if (strstr (mc_shell->path, "/mksh") != NULL
mc_shell          211 lib/shell.c                 || strstr (mc_shell->real_path, "/mksh") != NULL)
mc_shell          213 lib/shell.c            mc_shell->type = SHELL_MKSH;
mc_shell          214 lib/shell.c            mc_shell->name = "mksh";
mc_shell          217 lib/shell.c            mc_shell->type = SHELL_NONE;
mc_shell          223 lib/shell.c    mc_shell_recognize_path (mc_shell_t *mc_shell)
mc_shell          226 lib/shell.c        if (strstr (mc_shell->path, "/bash") != NULL || getenv ("BASH_VERSION") != NULL)
mc_shell          228 lib/shell.c            mc_shell->type = SHELL_BASH;
mc_shell          229 lib/shell.c            mc_shell->name = "bash";
mc_shell          231 lib/shell.c        else if (strstr (mc_shell->path, "/sh") != NULL)
mc_shell          233 lib/shell.c            mc_shell->type = SHELL_SH;
mc_shell          234 lib/shell.c            mc_shell->name = "sh";
mc_shell          236 lib/shell.c        else if (strstr (mc_shell->path, "/ash") != NULL || getenv ("BB_ASH_VERSION") != NULL)
mc_shell          238 lib/shell.c            mc_shell->type = SHELL_ASH_BUSYBOX;
mc_shell          239 lib/shell.c            mc_shell->name = "ash";
mc_shell          241 lib/shell.c        else if (strstr (mc_shell->path, "/ksh") != NULL
mc_shell          242 lib/shell.c                 || strstr (mc_shell->path, "/ksh93") != NULL
mc_shell          243 lib/shell.c                 || strstr (mc_shell->path, "/oksh") != NULL
mc_shell          247 lib/shell.c            mc_shell->type = SHELL_KSH;
mc_shell          248 lib/shell.c            mc_shell->name = "ksh";
mc_shell          250 lib/shell.c        else if (strstr (mc_shell->path, "/mksh") != NULL
mc_shell          254 lib/shell.c            mc_shell->type = SHELL_MKSH;
mc_shell          255 lib/shell.c            mc_shell->name = "mksh";
mc_shell          258 lib/shell.c            mc_shell->type = SHELL_NONE;
mc_shell          268 lib/shell.c        mc_shell_t *mc_shell;
mc_shell          270 lib/shell.c        mc_shell = mc_shell_get_from_env ();
mc_shell          272 lib/shell.c        if (mc_shell == NULL)
mc_shell          273 lib/shell.c            mc_shell = mc_shell_get_installed_in_system ();
mc_shell          275 lib/shell.c        mc_shell->real_path = mc_realpath (mc_shell->path, rp_shell);
mc_shell          280 lib/shell.c        if (mc_shell->real_path != NULL)
mc_shell          281 lib/shell.c            mc_shell_recognize_real_path (mc_shell);
mc_shell          283 lib/shell.c        if (mc_shell->type == SHELL_NONE)
mc_shell          284 lib/shell.c            mc_shell_recognize_path (mc_shell);
mc_shell          286 lib/shell.c        if (mc_shell->type == SHELL_NONE)
mc_shell          289 lib/shell.c        mc_global.shell = mc_shell;