From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: babel: fancy prompt messes up results of shell block Date: Fri, 11 Sep 2015 10:29:14 +0200 Message-ID: <87k2rxbbqd.fsf@hornfels.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaJiM-0001dk-JI for emacs-orgmode@gnu.org; Fri, 11 Sep 2015 04:29:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaJiJ-00077V-9r for emacs-orgmode@gnu.org; Fri, 11 Sep 2015 04:29:46 -0400 Received: from plane.gmane.org ([80.91.229.3]:49114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaJiJ-00076E-3G for emacs-orgmode@gnu.org; Fri, 11 Sep 2015 04:29:43 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZaJiF-0007hQ-Ol for emacs-orgmode@gnu.org; Fri, 11 Sep 2015 10:29:39 +0200 Received: from hornfels.zedat.fu-berlin.de ([160.45.11.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Sep 2015 10:29:39 +0200 Received: from loris.bennett by hornfels.zedat.fu-berlin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Sep 2015 10:29:39 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I have a bit of a fancy bash prompt and so the output of evaluating a block of shell script ends up a little messy: #+BEGIN_SRC sh :session install :results output echo blah #+END_SRC #+RESULTS: : blah : ]2;loris@soroban[35m[10:21:45] [31mloris@soroban [36m(1058) [33m/home/loris/tmp[34m[0m Is there any way to avoid this short of resetting PS1 within the babel session? Cheers, Loris -- This signature is currently under construction.