Author: pulkomandy Date: 2010-08-16 11:12:34 +0200 (Mon, 16 Aug 2010) New Revision: 38133 Changeset: http://dev.haiku-os.org/changeset/38133 Modified: haiku/trunk/src/apps/terminal/Shell.cpp Log: Explicitly start bash when opening a new tab, since other shells may not handle the "--login" option. Modified: haiku/trunk/src/apps/terminal/Shell.cpp =================================================================== --- haiku/trunk/src/apps/terminal/Shell.cpp 2010-08-16 08:14:34 UTC (rev 38132) +++ haiku/trunk/src/apps/terminal/Shell.cpp 2010-08-16 09:12:34 UTC (rev 38133) @@ -14,6 +14,7 @@ #include <dirent.h> #include <errno.h> #include <fcntl.h> +#include <iostream> #include <new> #include <signal.h> #include <string.h> @@ -335,7 +336,7 @@ status_t Shell::_Spawn(int row, int col, const char *encoding, int argc, const char **argv) { - const char *kDefaultShellCommand[] = { "/bin/sh", "--login", NULL }; + const char *kDefaultShellCommand[] = { "/bin/bash", "--login", NULL }; if (argv == NULL || argc == 0) { argv = kDefaultShellCommand;