[ESS] Prevent ESS From Writing .Rhistory
Stephen Berman
stephen.berman at gmx.net
Thu Sep 8 09:36:28 CEST 2016
On Fri, 26 Aug 2016 09:52:07 +0200 Martin Maechler <maechler at stat.math.ethz.ch> wrote:
>>>>>> Laurent Gatto <lg390 at cam.ac.uk>
>>>>>> on Fri, 26 Aug 2016 06:12:04 +0100 writes:
>
> > On 26 August 2016 02:52, RICHARD M. HEIBERGER wrote:
>
> >> yes i am sure
> >>
> >> Sent from my iPhone
> >>
> >>> On Aug 25, 2016, at 17:00, Stephen Eglen <sje30 at cam.ac.uk> wrote:
> >>>
> >>>
> >>>> Yes, the dots appear in the minibuffer. Then when the minibuffer goes
> >>>> away, the password is displayed in the
> >>>> *R* buffer.
> >>>
> >>> Are you sure?
> >>>
> >>> When I do this:
> >>>
> >>> cat(" Password: "); pwd <- readLines(file("stdin"), 1)
> >>>
> >>> Then I all I see in *R* is:
> >>> Password: >
> >>>
> >>> and I would consider it a bug to have the password echoed. (Not just
> >>> for ESS but for shell/other comint modes).
>
> > Well, as far as I can tell, it does work as expected using
>
> > ess 16.04 [elpa 20160819.531]
> > emacs 24.5.1
>
> for me, it works, too (on Linux, same emacs version).
>
> I assume this could be an R issue more than an ESS one, and am
> guessing that Rich is on a platform where file("stdin") is
> not well implemented (because of missing / flaky / ... OS support),
For me it's the same as for Rich Heiberger: dots when entering the
password in the minibuffer but then it gets printed in cleartext after
the "Password: " prompt in the *R* buffer. This is with R version 3.3.1
Patched (2016-09-02 r71210) Platform: x86_64-suse-linux-gnu (64-bit),
ESS 16.04 built today from the Git repository (commit 14e80d60) and with
both a recent Emacs build from the Git master branch as well as Emacs
24.5.
Steve Berman
More information about the ESS-help
mailing list