[ESS] R in telnet session in emacs: too much ee eecc eecchh ...

Richard M. Heiberger rmh at temple.edu
Mon Apr 11 19:44:32 CEST 2005

It is most likely that you need something like
  stty -echo
on the remote side before starting R.
There are a few other stty parameters that might also be relevant.

But it might be something on the local side.
I use the following function

(defun rmh-comint-toggle-echo (&optional arg)
  "Toggle comint-process-echoes.
With arg, turn comint-process-echoes on if arg is positive, off otherwise."
  (interactive "P")
  (setq comint-process-echoes
	(if (null arg) (not comint-process-echoes)
	  (> (prefix-numeric-value arg) 0))))
(define-key comint-mode-map "\C-c\C-k" 'rmh-comint-toggle-echo)

And then I do C-c C-k when the type of echoing you describe happens.

Please report back to this list when you figure out which of these
potential solutions is the one that works.


More information about the ESS-help mailing list