readline support in samba
Andrew Tridgell
tridge at samba.org
Wed Feb 21 02:13:37 GMT 2001
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.
Cheers, Tridge
More information about the samba-technical
mailing list