General Schvantzkoph writes:
> I'm trying to uses shells on a Win7 box, I'm a Linux user and I do all of
> my work inside of Xemacs and I always use Emacs shells. I have Cygwin with
> Xemacs on the box to make the system usable however shells are a mess, it
> looks like more than just the end of line problem. I'm getting stuff like
That's your fancy prompt string. It won't work inside xemacs. You
need to change wherever you are setting up the PS1 environment
variable.
In my case I have
a) explicit-shell-file-name set to "/bin/bash";
b) my normal PS1 initialisation in .bashrc wrapped inside
if [ "$TERM" = 'emacs' ]
then
export PS1='\W> '
else
... # your existing PS1 code goes here, if any
fi
Hope this helps,
ht
--
Henry S. Thompson, School of Informatics, University of Edinburgh
10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 651-1426, e-mail:
h...@inf.ed.ac.uk
URL:
http://www.ltg.ed.ac.uk/~ht/
[mail from me _always_ has a .sig like this -- mail without it is forged spam]