[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, 02 Dec 2006 14:17:15 -0500
Thunderbird 22.214.171.124 (Macintosh/20061025)
Daniel Jacobowitz wrote:
> On Sat, Dec 02, 2006 at 10:43:44AM -0800, H. J. Lu wrote:
>> 2006-12-02 H.J. Lu <address@hidden>
>> Jan Kratochvil <address@hidden>
>> PR tui/2173
>> * readline.c (readline): Unset and reset RL_STATE_CALLBACK if
> This looks reasonable to me; I was wrong about longjmp since Readline's
> signal handlers will be installed. If Chet accepts this or a similar
> fix for the next release of readline, then you can apply it to our
In general, readline's signal handlers will restore any application-
installed handlers before resending the signal to itself. This means
that any signal can potentially cause an application's handler to be
called, and longjmp to be called from that.
Now we would be relying on the application's signal handler to restore
the appropriate readline state.
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/
[Bug-readline] Re: PATCH: PR tui/2173: Arrow keys no longer works in breakpoint command list, Daniel Jacobowitz, 2006/12/04