From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: emacs shell mode prompt problem Date: Mon, 25 Jun 2007 21:42:34 +0200 Message-ID: References: <1182790246.402779.85130@o11g2000prd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1182800584 13142 80.91.229.12 (25 Jun 2007 19:43:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Jun 2007 19:43:04 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Zhen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 25 21:43:03 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I2uSh-0007T2-0r for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jun 2007 21:42:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I2uSg-0001sf-Iv for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jun 2007 15:42:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I2uST-0001sa-4c for help-gnu-emacs@gnu.org; Mon, 25 Jun 2007 15:42:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I2uSR-0001sJ-PY for help-gnu-emacs@gnu.org; Mon, 25 Jun 2007 15:42:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I2uSR-0001sG-Kh for help-gnu-emacs@gnu.org; Mon, 25 Jun 2007 15:42:43 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I2uSR-00033G-6w for help-gnu-emacs@gnu.org; Mon, 25 Jun 2007 15:42:43 -0400 Original-Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate02.web.de (Postfix) with ESMTP id 2C767891DADB; Mon, 25 Jun 2007 21:42:42 +0200 (CEST) Original-Received: from [62.134.234.6] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #197) id 1I2uSP-0007mx-00; Mon, 25 Jun 2007 21:42:41 +0200 In-Reply-To: <1182790246.402779.85130@o11g2000prd.googlegroups.com> X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/521ojYBuv9ANyrfRhivfhqwgCymA7Y0LBBwZs Hu2Cp8RAb9GDBgTTmRm7dXxkeDi1amrOjlXX+SdSZgievA25bA nRuNmlsXIM0F35NmyATw== X-detected-kernel: Linux 2.4-2.6 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:45284 Archived-At: Am 25.06.2007 um 18:50 schrieb Zhen: > This prompt is very annoying, how can I change it back to > "12:34:25@desk~> "? By reading the bash manual. In GNU Emacs' *shell* buffer neither the prompt nor ls should emit ANSI escape sequences for (colour) effects. In *terminal* buffer this might work better ... In ~/.emacs_bash you can set a prompt that is only used in GNU Emacs' *shell* buffer (*terminal* does not read ~/.emacs_bash). -- Greetings Pete From error to error, one discovers the entire truth. - Sigmund Freud