From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23801 invoked from network); 16 Jan 2001 11:20:03 -0000 Received: from sunsite.dk (HELO sunsite.auc.dk) (130.225.51.30) by ns1.primenet.com.au with SMTP; 16 Jan 2001 11:20:03 -0000 Received: (qmail 20159 invoked by alias); 16 Jan 2001 11:19:57 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13359 Received: (qmail 20147 invoked from network); 16 Jan 2001 11:19:56 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: , "Zsh hackers list" Subject: RE: TERMCAP problem. Date: Tue, 16 Jan 2001 14:19:53 +0300 Message-ID: <000201c07fae$3fa07010$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal > > > > 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). > One more possibility is that your termcap entry is corrupted (or your system does not like something in termcap built by screen). I am not sure if TERMCAP=abc is valid termcap entry anyway. -andrej