seemingly random "nesting of readline input" warnings

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
04 Nov 2002 22:45:10 +0100


Duncan Temple Lang <duncan@research.bell-labs.com> writes:

> Luke Tierney wrote:
> > On 2 Nov 2002, Peter Dalgaard BSA wrote:
> > 
> > > Argh. Yes, the ReadlineStack.current needs to be reset to zero by
> > > something when you break out. A pragmatic temporary fix is to increase
> > > the maximum to be large enough that you don't bump into it this
> > > easily.
> > > 
> > > Duuuuncan! Come and fix this!
> > > 
> 
> Done using a local signal handler that pops the readline stack and
> then calls the regular handler. This should work for pretty much all
> the cases of interest. There are issues with the very unusual cases.
> 
> Fix committed to R-devel. (Do we want it also on R-patches?)

Eventually, provided it works. Let it ferment in R-devel for a
while till we're sure. Call me paranoid...

Btw, did this fix the noecho-tty-after-exit problem as well?

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