emacs shell mode prompt with escape sequences \[\033]0;\w\007

2005-03-02 Thread Kelly Felkins
I'm looking for the best way to eliminate the escape sequences displayed in emacs shell mode. example: - \[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ -- It is clear these are from the shell prompt that I believe is being established

Re: emacs shell mode prompt with escape sequences \[\033]0;\w\007

2005-03-02 Thread Brian Dessent
Kelly Felkins wrote: At the risk of exposing my ignorance of shell initialization, I'm not sure how best to fix this. First, I think the issue is that the emacs shell does not know how to interpret these sequences. Can emacs be configured to correct this? I think that it's a sh-vs-bash

Re: emacs shell mode prompt with escape sequences \[\033]0;\w\007

2005-03-02 Thread Igor Pechtchanski
On Wed, 2 Mar 2005, Brian Dessent wrote: Perhaps a cleaner solution would be to modify the stock /etc/profile to detect whether it is running under bash or sh, and create an appropriate prompt. I don't know who's maintaining the base-files package or whether he/she's interested in looking