command line editing does not work (PR#1656)
Tue, 11 Jun 2002 19:52:11 +0200 (MET DST)

I compiled R-1.5.0 on SuSE 7.2. Everything worked out, including
make check.  However, the escape sequences generated by the arrow
keys are not correctly understood.  So, I cannot e.g. get the previous
command by up arrow.  I had the same problem, when compiled R-1.4.1
on SuSE 7.2.

The problem was not present in precompiled binary R-1.3.0.rpm for
SuSE 7.2 from CRAN, however, I need at least R-1.4.1 for randomForest.

Compiling R-1.4.1 on RedHat based system was also OK, but I have SuSE
as my basic system.

I compared the output of "strace R" for the precompiled R-1.3.0 and
R-1.5.0 compiled by myself:

The correct behaviour of R-1.3.0 may be due to the fact, that
it reads /usr/share/terminfo/x/xterm
(in strace output: open("/usr/share/terminfo/x/xterm", O_RDONLY) = 4),
while the R-1.5.0 does not read it
(no occurrence of "xterm" in strace output).

I think, it should be something simple, but I do not know how
to force R to read the terminfo file. I appreciate any help from you.

Kind regards

  Petr Savicky

r-devel mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: