"Charles C. Berry" writes:
>> However, I don't want to change this globally. Is there an org mean to
>> change this locally just for the session?
>>
>> Maybe the shell prompt could be customizable for a session in ob-sh.el?
>
> That happens in the shell. You can do this to
On Sun, 16 Apr 2017, Michael Albinus wrote:
"Charles C. Berry" writes:
Michael might get some relief by altering `shell-prompt-pattern' whose
default value is
"^[^#$%>\n]*[#$%>] *"
is tricked by the embedded `%' in the output lines
If you know the prompt will not contain
"Charles C. Berry" writes:
> Michael might get some relief by altering `shell-prompt-pattern' whose
> default value is
>
> "^[^#$%>\n]*[#$%>] *"
>
> is tricked by the embedded `%' in the output lines
>
> If you know the prompt will not contain `%', you could delete that.
>
>
On Sun, 16 Apr 2017, Tilmann Singer wrote:
Let me add that when not specifying ":results verbatim", the presence of
the % sign in the output also triggers table formatting:
#+BEGIN_SRC sh :session *session*
echo "a%b"
#+END_SRC
#+RESULTS:
| |
| b |
The extra line looks like a bug in
Let me add that when not specifying ":results verbatim", the presence of
the % sign in the output also triggers table formatting:
#+BEGIN_SRC sh :session *session*
echo "a%b"
#+END_SRC
#+RESULTS:
| |
| b |
Whereas without session, the output is formatted like this
#+BEGIN_SRC sh
echo "a%b"
Hi,
when I eval the following source block, everything is fine:
#+BEGIN_SRC sh :results verbatim
df -h /
#+END_SRC
#+RESULTS:
: Filesystem Size Used Avail Use% Mounted on
: /dev/sda6 137G 55G 76G 43% /
However, using a :session shortens the output unexpectedly:
#+BEGIN_SRC sh