On Tue, Jul 31 2012,Stephen Leake wrote: > Sivaram Neelakantan <nsivaram....@gmail.com> writes: > >> "bash: cannot set terminal process group (-1): Inappropriate ioctl for device >> bash: no job control in this shell" >> >> is what I get when I launch shell. It works but with the annoying >> echo of the current directory. > > This is from the ~/.bashrc that Cygwin installs by default, or some > similar system-level file. > > You can override that for bash under Emacs by creating a file > ~/.emacs-bash, and setting the prompt the way you want it in that. > > See Emacs info, Shell Mode, for more..
Right, thanks for that, I did as you suggested but it didn't work In the Roaming folder in AppData, created a file ~/.emacs_bash with just PS1="$ " as the only line in and tried with a new instance of Emacs and M-x shell, it still gives --8<---------------cut here---------------start------------->8--- bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell ]0;/cygdrive/c/gnu/emacs-24.1/bin sivaramn@HRS3 /cygdrive/c/gnu/emacs-24.1/bin --8<---------------cut here---------------end--------------->8--- sivaram --