GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33,
cairo version 1.17.6)
of 2022-04-27
Package: Org mode version 9.5.4 (release_9.5.4-521-g1105da.dirty @
/home/me/src/org-mode/lisp/)
Felix Freeman
#+name: input
tramp
* Works
#+begin_src sh :stdin input
read -r who
echo &
igit:]]\\.[[:digit:]]\\|/ssh:[^:]+:[^$]+\\)$ ")
Notice it requires the patch to org-babel-sh-strip-weird-long-prompt
posted earlier.
I hope I got it right this time ^_^'
Felix Freeman
the thing afterwards, or - if this changes
things too much - at least set $PS1 to a very unique and distinctive
value in order to avoid these kind of bugs.
Felix Freeman
Today I stumbed upon the same bug.
Sadly I have no idea how to fix it, but thought it would be nice to post
about it here so the bug doesn't get lost in the sands of time.
Felix Freeman