#6 Non bash shells may not work

open
nobody
5
2009-11-20
2009-11-20
Anonymous
No

I was running the fish shell as my default shell. The R process would not start correctly under Gedit. Changed the default back to bash and it worked great. Is there an argument to vte.terminal that determines the shell?

Discussion

  • Dan Dediu
    Dan Dediu
    2009-11-21

    Hi,

    well, I'm using "fork_command()" to start the user's default shell (http://library.gnome.org/devel/vte/unstable/VteTerminal.html#vte-terminal-fork-command) and I must say that your case did not cross my mind (mea culpa).
    Now, I see three solutions:
    1. force to start "sh" or "bash" for instance (fork_command("sh")) instead of the default shell
    2. add an option in the plug-in's preferences where users with "non-standard" shells can specify sh or bash
    3. start R directly (without a subtending shell) but I don't really like this as sometimes it might be useful to get down there and do some stuff in between two R sessions.

    What do you think?
    Best,
    Dan