[ESS-bugs] ess-mode 15.09-devel [git: f0c5d8019ead3d8b206ca85f039f6a4841e8ac08]; .ess commands are visible in remote buffers

Sam Steingold sds at gnu.org
Thu May 7 14:52:49 CEST 2015


> * Vitalie Spinu <fcvahivg at tznvy.pbz> [2015-05-07 00:59:53 +0200]:
>
>  >>> Sam Steingold on Wed, 06 May 2015 18:12:42 -0400 wrote:
>
>  >> * Vitalie Spinu <fcvahivg at tznvy.pbz> [2015-05-06 22:58:42 +0200]:
>  >> 
>  >> I am always on remotes but through tramp and everything works fine.
>
>  > tramp/ssh is unacceptable - R dies on lost connection (with all the
>  > unfinished computations).
>
> Yes. I know. I am suffering from the same pain.

welcome to the club.
please take a look at the emacs-devel thread.

>  >> It's probably because of the control characters from xterm which
>  >> terminate with >. I cannot think of any other reason.
>
>  > this seems to imply that I should disabuse R of he illusion that it
>  > is running under xterm. do you know what tramp sets TERM to?
>
> Yes. Something of that kind. But honestly, I have no idea what's
> really going on. I need to try your code and learn how exactly term.el
> works to really see what's going on.
>
> I am think that if you replace make-term with make-comint it might work
> as expected.

nope.
is I set TERM=dumb (either with env(1) or in emacs by binding
`term-term-name'), screen exits with
--8<---------------cut here---------------start------------->8---
Clear screen capability required.
--8<---------------cut here---------------end--------------->8---

i.e., I am pretty sure that the problem is with screen, not
emacs/ess/term/comint.

> A year or so ago I promised to you to setup an infrastructure for
> automatic screen connections. Never got down to it, but might do now.
> I am getting more and more pissed off with tramp ways these days.

Cool.
You can use my code as a starting point = it works!
(the problem I am complaining about are aesthetics, not functionality.)

The problem is that screen cannot do what I need - it's too heavy on
terminal emulation.
I think [dtach](http://dtach.sourceforge.net/) can.
Again, see the emacs-devel thread.

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1347
http://www.childpsy.net/ http://camera.org http://honestreporting.com
http://memri.org http://palestinefacts.org http://www.dhimmitude.org
He who laughs last did not get the joke.



More information about the ESS-bugs mailing list