bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sigsegv in rl_resize_terminal


From: Sam Steingold
Subject: Re: sigsegv in rl_resize_terminal
Date: Sun, 16 Oct 2005 18:39:16 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

> * Chet Ramey <purg.enzrl@pnfr.rqh> [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     root@x86-freebsd1:/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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]