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@alcatel.be 32 3 451 60 31 ==========================================================