On 11/16/20 6:23 PM, Nick Black wrote:
Chet Ramey left as an exercise for the reader:
Are you calling rl_prep_terminal directly, or letting readline call it for
you? If you call it before readline can initialize, or are calling it
without calling rl_initialize, all bets are off.
Ahhh, that's almost certainly it, then. I'm not calling
rl_initialize() because I'm using readline in conjunction with
another character graphics library. This had once worked, but if
it's not supported behavior, I might need change how I do
things.
Are you calling readline() or using the callback interface? If
you're using the latter, you should call rl_initialize for more
reasons than to set rl_outstream.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/