[R] command-line editing

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Sun Feb 6 00:26:20 CET 2000


Thomas Lumley <thomas at biostat.washington.edu> writes:

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

Somewhere in the back of my mind sits a recollection that there's a
version problem, that we require a newer readline than shipped in
RH5.2. In redhat 6.1 we have 2.2.1 and that works but I suspect 2.0
will not do the callback method we use in the console handler.

Also note that you need the readline-devel package as well as the
library itself.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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