[R] command-line editing

Thomas Lumley thomas at biostat.washington.edu
Sat Feb 5 21:37:50 CET 2000


On Sat, 5 Feb 2000, Tino Reinhardt wrote:

> hello,
> I've had compiled Version 0.90.1  (December 15, 1999) on an i586
> running GNU/Linux (RedHat 5.2-patched with 6.* pieces) last night.
> Everything seems to work fine but it's impossible to use command-line
> editing (on the linuxconsole, xterm, rxvt). It just looks like
> 
> > a <- 1
> > ^[[A^[[A^[[A
> after pressing arrow-up, left or right
> 
> On the console i've got	$ echo $TERM linux-lat
> an in X			$ echo $TERM	xterm
> 
> Did I forgot something whilst compiling? More info needed?


You probably don't have GNU readline or its header files installed.

If you have the library (libreadline.so) then look
in config.cache for the lines
 ac_cv_header_readline_history_h=${ac_cv_header_readline_history_h=yes}
 ac_cv_header_readline_readline_h=${ac_cv_header_readline_readline_h=yes}
or
 ac_cv_header_readline_history_h=${ac_cv_header_readline_history_h=no}
 ac_cv_header_readline_readline_h=${ac_cv_header_readline_readline_h=no}

If you have the =no version then ./configure couldn't find the headers, so
you probably need to install them. They should be on the Red Hat
distribution.

	-thomas

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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