> * Chet Ramey <[EMAIL PROTECTED]> [2005-10-16 17:53:39 -0400]: > > Sam Steingold wrote: >> I get this: >> >> Program received signal SIGSEGV, Segmentation fault. >> 0x2821e472 in rl_resize_terminal () from /usr/lib/libreadline.so.4 >> >> (FreeBSD x86-freebsd1 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Wed Oct 5 >> 21:16:58 PDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386) >> >> what are the rules for invoking rl_resize_terminal? >> do I need to call rl_initialize() or readline() before rl_resize_terminal? > > Certainly rl_intialize at least, and readline to avoid unexpected and > bizarre output, since rl_resize_terminal calls the display code.
is there a way to check whether readline has been initialized already? e.g., clisp may be running interactively and using readline and it may be running in the batch mode and not using readline (so when the SIGWINCH handler is called, readline has not been initialized). what is TRT? thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k <http://ffii.org/> <http://www.memri.org/> <http://www.savegushkatif.org> <http://www.iris.org.il> <http://www.camera.org> Bill Gates is not god and Microsoft is not heaven. _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash