Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: TERMCAP problem.
- X-seq: zsh-workers 13357
- From: koen van hoof <koen.van_hoof@xxxxxxxxxx>
- To: Andrej Borsenkow <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- Subject: Re: TERMCAP problem.
- Date: Tue, 16 Jan 2001 11:42:02 +0100
- Cc: zsh-workers@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: Alcatel Bell
- References: <000501c07f99$b8d08110$21c9ca95@xxxxxxxxxxxxxx>
- Reply-to: koen.van_hoof@xxxxxxxxxx
- Sender: kvho@xxxxxxxxxxxxxxxxxxx
Andrej Borsenkow wrote:
>
> This strcmp() is in library function tgetent. Try to unset
> TGETENT_ACCEPTS_NULL, recompile and try again. It is possible that your OS
> actually needs preallocated buffer.
>
> One more possibilty is, that screen creates too long termcap entry. IIRC I've
> seen something similar. How long is new termcap entry? I think, common limit
> is 1024.
>
> -andrej
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
#2 0x4860c in init_term () at init.c:480
#3 0x6f80c in termsetfn (pm=0x145e20, x=0x15cae8 "xterm") at params.c:2763
#4 0x6c518 in setstrvalue (v=0xefffed38, val=0x15cae8 "xterm") at params.c:1513
#5 0x6d7d4 in setsparam (s=0xeffffe51 "", val=0x15cae8 "xterm") at
params.c:1810
#6 0x67680 in createparamtable () at params.c:515
#7 0x491d4 in setupvals () at init.c:715
#8 0x12158 in main (argc=1, argv=0xeffff4bc) at ./main.c:78
--
==========================================================
Koen Van Hoof koen.van_hoof@xxxxxxxxxx 32 3 451 60 31
==========================================================
begin:vcard
n:Van Hoof;Koen
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
email;internet:koen.van_hoof@xxxxxxxxxx
x-mozilla-cpt:;0
fn:Koen Van Hoof
end:vcard
Messages sorted by:
Reverse Date,
Date,
Thread,
Author