readline support in samba

Simo Sorce simo.sorce at polimi.it
Wed Feb 21 17:31:59 GMT 2001


On Wed, 21 Feb 2001, Andrew Tridgell wrote:

> Simo,
>
> > Well, I don't know for the first 2 point (a configure and Makefile
> > triggering is needed obviously), but I solved the last point in another
> > software using the provided rl_callback_handler_install() and a
> > select/rl_callback_read_char() on stdin, it think it may apply there
> > eliminating the need of timers and signals.
>
> I wasn't aware of those hooks. I've just had a look at the info pages
> and they do look like they will do nicely.
>
> > Readline is pretty nice, if the solution above is good enough I hope you
> > will consider to save readline.
>
> Could you code up a patch to the head branch and submit it?
>
> My preferred solution would be to write wrappers around
> rl_callback_handler_install() which work on systems without readline
> (obviously without readline functionality). That would keep the code
> neat.

Sure, I will code up asap.

>
> Cheers, Tridge
>

-- 
Simo Sorce - Linux Systems Consultant
E-mail: simo.sorce at polimi.it
Tel: +39 0348 7149179 - Fax: +39 02 700442399
-----------------------------------------------------------------
Be happy, use Linux!





More information about the samba-technical mailing list