> Hello Chet,
> 
> readline-6.2 complete.c get_y_or_n:
>   /* For now, disable pager in callback mode, until we later convert to state
>      driven functions.  Have to wait until next major version to add new
>      state definition, since it will change value of RL_STATE_DONE. */
> #if defined (READLINE_CALLBACKS)
>   if (RL_ISSTATE (RL_STATE_CALLBACK))
>     return 1;
> #endif
> 
> this makes readline not much suitable with GDB as GDB uses it only in callback
> mode and thus any large <tab>-completion are printed without any question.

It's not easy to make the readline pager, as it's currently structured, work
in callback mode.  That's a blocking read; it makes many multithreaded
programs that use callback mode not useful.  (Especially window-based programs,
which can't get the input they need to satisfy the request.)

> What is the schedule for `next major version' and/or is there an approved hack
> in the meantime?

You can try to remove that part of the code, restoring the old status quo.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    [email protected]    http://cnswww.cns.cwru.edu/~chet/

_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to