[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sigsegv in rl_resize_terminal
From: |
Chet Ramey |
Subject: |
Re: sigsegv in rl_resize_terminal |
Date: |
Sun, 16 Oct 2005 17:53:39 -0400 |
User-agent: |
Mozilla Thunderbird 1.0.6 (Macintosh/20050716) |
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.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live Strong.
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/