Mail Archives: djgpp/1997/04/08/10:34:06
On Tue, 8 Apr 1997, Dave Pearson wrote:
> [emacs]
> TERM=
> SHELL=c:/bin/bash -login
^^^^^^
This is OK, but it might have unexpected effect on some commands. You
need to be aware that $SHELL is also used when running child programs e.g.
via `M-x compile' or `M-x grep' (these commands call the library function
`system' to run the command, and `system' will call the shell if the value
of $SHELL seems like a Unix-style shell). I'm not sure -login is what you
want then. I suggest you try to run a few such commands and see what you
get. In particular, try to submit a command with pipes and/or redirection
to `M-x compile' (it should work). If this makes trouble, I can suggest
ways to work around them.
- Raw text -