Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: TERMCAP problem.
- X-seq: zsh-workers 13358
- From: Peter Stephenson <pws@xxxxxxx>
- To: koen.van_hoof@xxxxxxxxxx, zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: TERMCAP problem.
- Date: Tue, 16 Jan 2001 10:54:19 +0000
- In-reply-to: Your message of "Tue, 16 Jan 2001 11:42:02 +0100." <3A64257A.5FEA2B99@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
> I've unset TGETENT_ACCEPTS_NULL.
>
> $ export TERMCAP=abc
> $ ./zhs
> zsh: 26119 segmentation fault (core dumped) ./zsh
> $ ddd ./zsh core
>
> And the backtrace is
> #0 0xef5a4274 in strcmp () from /usr/lib/libc.so.1
> #1 0x126c04 in tgetent (bp=0x14d018 "", name=0x15cae8 "xterm") at termcap.c:
> 469
...
The next thing to try is Andrej's other point: increase the declared size
of termbuf until it doesn't crash any more (or increase it to 65536 and
start halving it). If that works, we'll just have to add a few kb to the
shell to make sure (or use curses).
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author