From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ChunYe Wang Newsgroups: gmane.emacs.help Subject: Re: Messed up shell prompt Date: Thu, 16 Feb 2006 01:48:07 GMT Organization: Nokia Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1140058792 7226 80.91.229.2 (16 Feb 2006 02:59:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Feb 2006 02:59:52 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 16 03:59:52 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F9ZN0-0000vY-0q for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Feb 2006 03:59:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F9ZLo-000116-N9 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Feb 2006 21:58:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.swip.net!swipnet!newsfeed1.funet.fi!newsfeeds.funet.fi!nntp.inet.fi!inet.fi!newsfeed1.nokia.com!news1.nokia.com!news2.nokia.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-NNTP-Posting-Host: 172.28.83.39 Original-X-Complaints-To: newsmaster@nokia.com Original-X-Trace: news2.nokia.com 1140054487 172.28.83.39 (Thu, 16 Feb 2006 03:48:07 EET) Original-NNTP-Posting-Date: Thu, 16 Feb 2006 03:48:07 EET Original-Xref: shelby.stanford.edu gnu.emacs.help:137598 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:33223 Archived-At: August Karlstrom writes: > Hi everyone, > > When I start a shell in Emacs with `M-x shell' I get the prompt > > [august ~]$  > > instead of > > [august ~]$ > > The value of the PS1 environment variable in ~/.bashrc is > > export PS1="\[\033[0;34m\][\u \W]\$ \[\e[0m\]" > > Any clues? > > > August > > -- > I am the "ILOVEGNU" signature virus. Just copy me to your > signature. This email was infected under the terms of the GNU > General Public License. (add-hook 'shell-mode-hook (lambda () (ansi-color-for-comint-mode-on))) -- Wang ChunYe