[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-readline] Re: PATCH: PR tui/2173: Arrow keys no longer works in bre
[Bug-readline] Re: PATCH: PR tui/2173: Arrow keys no longer works in breakpoint command list
Sat, 2 Dec 2006 18:05:58 -0500
On Sat, Dec 02, 2006 at 02:15:41PM -0800, H. J. Lu wrote:
> > There should be no reason that the application cannot remove the callback
> > handler and re-add it before calling readline synchronously, as Daniel or
> > H.J. suggested. The application is the only one in a position to know
> > which is right.
> Did you mean
> is more appropriate?
HJ, did you even read my response?
Messing about with RL_SETSTATE and RL_UNSETSTATE in GDB is not wise and
we should not be doing it. We should be manually removing our
callbacks before we call readline synchronously, as I wrote in reply to
your message. Someone is going to need to really understand the
different paths that take us into readline to work out where to do it.
[Bug-readline] Re: PATCH: PR tui/2173: Arrow keys no longer works in breakpoint command list, Daniel Jacobowitz, 2006/12/04