[ESS] ess-remote double echo

Sam Steingold sds at gnu.org
Fri May 8 15:46:41 CEST 2015

> * Sam Steingold <fqf at tah.bet> [2014-03-28 13:09:37 -0400]:
> I fixed http://stackoverflow.com/a/22703777/850781

... yet again!
Specifically, I use dtach instead of screen which permits comint instead
of term and fixes all problems.
I am a happy camper now :-)

--8<---------------cut here---------------start------------->8---
(defvar R-remote-host "remote-server")
(defvar R-remote-session "R")
(defun R-remote (&optional remote-host session)
  "Connect to the remote-host's dtach session running R."
  (interactive (list
                (read-from-minibuffer "R remote host: " R-remote-host)
                (read-from-minibuffer "R remote session: " R-remote-session)))
  (pop-to-buffer (make-comint (concat "remote-" session)
                              "ssh" nil "-t" "-t" remote-host
                              "dtach" "-A" (concat ".dtach-" session)
                              "-z" "-E" "-r" "none"
                              inferior-R-program-name "--no-readline"
  (ess-remote (process-name (get-buffer-process (current-buffer))) "R")
  (setq comint-process-echoes t))
--8<---------------cut here---------------end--------------->8---

> It would be nice if this were included in ESS.


Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1347
http://www.childpsy.net/ http://camera.org http://think-israel.org
http://americancensorship.org http://jihadwatch.org http://www.dhimmitude.org
Trespassers will be shot.  Survivors will be SHOT AGAIN!

More information about the ESS-help mailing list