From p.dalgaard@biostat.ku.dk  Mon Nov  4 21:45:10 2002
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 04 Nov 2002 22:45:10 +0100
Subject: seemingly random "nesting of readline input" warnings
In-Reply-To: <20021104154512.G25720@jessie.research.bell-labs.com>
References: <x24rb0nx4k.fsf@biostat.ku.dk>
 <Pine.LNX.4.44.0211021007340.20950-100000@nokomis2.stat.umn.edu>
 <20021104154512.G25720@jessie.research.bell-labs.com>
Message-ID: <x2r8e157rt.fsf@biostat.ku.dk>

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


seemingly random "nesting of readline input" warnings
Peter Dalgaard BSA