[R] lreadline

Álvaro A. Novo novo at uiuc.edu
Wed Mar 7 16:06:12 CET 2001


On Wednesday 07 March 2001 03:20, Martin Maechler wrote:
   > >>>>> "Alvaro" == Alvaro A Novo <novo at 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 at 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 at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list