help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: chdir output incorrect for prompt


From: Tim X
Subject: Re: chdir output incorrect for prompt
Date: Wed, 26 Apr 2006 08:11:41 +1000
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

"Jim" <James.Poli@sas.com> writes:

> Hello,
>
> I have   export PS1='($PWD)> '  for my prompt on linux and it works fine in 
> my shell displaying
> the path after a 'cd' command.  However in emacs after a 'cd' command the 
> output has junk
> in the path:  ^[]1:Test^G^[]2;Test      ???@cc99^G^[]3:/r/...
>
> Thanks in advance for any advice,
> Jim 
>
>

I suspect you are using ANSI escape characters to set the colour of
your prompt. Look for the ansi-color with apropos and you will find
some emacs modes for providing ansi color support within
terminal/shell modes.

Tim

-- 
tcross (at) rapttech dot com dot au


reply via email to

[Prev in Thread] Current Thread [Next in Thread]