From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Bennee Newsgroups: gmane.emacs.help Subject: Re: shell prompt undesired characters Date: Sat, 11 Apr 2009 10:03:54 +1000 Message-ID: References: <877i1vkrmd.fsf@stats.ox.ac.uk> <8763hf2frd.fsf@stats.ox.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1239408285 6465 80.91.229.12 (11 Apr 2009 00:04:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Apr 2009 00:04:45 +0000 (UTC) Cc: help-gnu-emacs mailing list To: Dan Davison Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 11 02:06:04 2009 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 1LsQjD-0006t1-4i for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Apr 2009 02:05:50 +0200 Original-Received: from localhost ([127.0.0.1]:50731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LsQho-0005Ku-OY for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Apr 2009 20:04:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LsQhT-0005Kn-85 for help-gnu-emacs@gnu.org; Fri, 10 Apr 2009 20:03:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LsQhR-0005KR-Mm for help-gnu-emacs@gnu.org; Fri, 10 Apr 2009 20:03:58 -0400 Original-Received: from [199.232.76.173] (port=40249 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LsQhR-0005KJ-Gk for help-gnu-emacs@gnu.org; Fri, 10 Apr 2009 20:03:57 -0400 Original-Received: from yw-out-1718.google.com ([74.125.46.154]:54681) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LsQhQ-0003wF-W8 for help-gnu-emacs@gnu.org; Fri, 10 Apr 2009 20:03:57 -0400 Original-Received: by yw-out-1718.google.com with SMTP id 9so1013623ywk.66 for ; Fri, 10 Apr 2009 17:03:54 -0700 (PDT) Original-Received: by 10.90.74.7 with SMTP id w7mr5139903aga.35.1239408234797; Fri, 10 Apr 2009 17:03:54 -0700 (PDT) In-Reply-To: <8763hf2frd.fsf@stats.ox.ac.uk> X-Google-Sender-Auth: 1698f0ab7a575313 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:63650 Archived-At: 2009/4/9 Dan Davison : > Thanks, but unfortunately that doesn't solve it. I've tried without any > ~/.emacs and ~/.bashrc, on emacs22, and I still get those initial > characters. They're not coming from $PS1, so where are they coming from? PS2? Bash has a whole bunch of env variables for various things, including one for a command to run after every line. I'd just do an 'env' and grep through for anything that looks like an escape character. -- Alex, homepage: http://www.bennee.com/~alex/ CV: http://www.bennee.com/~alex/cv.php