Mike Gauland <mikely...@gmail.com> writes: > I've reported it to the inf-ruby project: > https://github.com/nonsequitur/inf-ruby/issues/172 > > I wasn't aware that Emacs would insert EOF in a stream, but that doesn't > seem to be the problem (if it is even occurring here).
AFAIK, it has nothing to do with Emacs itself. Rather Linux PTY quirks. See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=6149 I posted the same link in the github issue. On Org side, the best we might do is splitting the long command into multiline (if ruby REPL supports line continuation like \ this or similar). Of course, it will be a workaround. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>