Re: [R] lreadline

About this list Date view Thread view Subject view Author view

From: Álvaro A. Novo (novo@uiuc.edu)
Date: Thu 08 Mar 2001 - 01:06:12 EST


Message-Id: <0103070906120Q.09445@friedman>

On Wednesday 07 March 2001 03:20, Martin Maechler wrote:
> >>>>> "Alvaro" == Alvaro A Novo <novo@uiuc.edu> writes:
>
> Alvaro> I compiled R-1.2.2 on my SuSE 7.1, kernel 2.4.2-2 machine
> with Alvaro> libreadline.4.1 and although I can use vi commands to
> scroll on ====
> The bash can be told to use vi-style commands (instead of default
> Emacs-style ones),
> but AFAIK R can not (yet; are you willing to provide patches ??)

First, I apologize if my exposition was not clear, because I have been using
vi-style commands (see below what I mean by vi-style) in R well before 1.0.0.

Second, I have to report that I solved my problem this morning... Here's a
briefing:

although .bashrc reads
set -o vi
my .inputrc file, reading

anovo@friedman anovo > cat .inputrc
set editing-mode vi

was missing (I forgot to copy it to my new $HOME).

Once that's in place, in R-1.2.2 (that I compiled), if I press ESC followed
by:
(i) j, it scrolls down,
(ii) / and some text it search R history...
(iii) ...

Thank you for your time,

Alvaro
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2b30 : Fri 22 Jun 2001 - 18:58:35 EST