From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: emacs-orgmode@gnu.org
Subject: babel: fancy prompt messes up results of shell block
Date: Fri, 11 Sep 2015 10:29:14 +0200 [thread overview]
Message-ID: <87k2rxbbqd.fsf@hornfels.zedat.fu-berlin.de> (raw)
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\a[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.
next reply other threads:[~2015-09-11 8:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-11 8:29 Loris Bennett [this message]
2015-09-11 17:59 ` babel: fancy prompt messes up results of shell block Grant Rettke
2015-09-18 12:16 ` Loris Bennett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k2rxbbqd.fsf@hornfels.zedat.fu-berlin.de \
--to=loris.bennett@fu-berlin.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).