zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: koen.van_hoof@alcatel.be, zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: Re: TERMCAP problem.
Date: Tue, 16 Jan 2001 10:54:19 +0000	[thread overview]
Message-ID: <Tc0a8890c5123a97d52@mailsweeper01.cambridgesiliconradio.com> (raw)
In-Reply-To: Your message of "Tue, 16 Jan 2001 11:42:02 +0100." <3A64257A.5FEA2B99@alcatel.be>

> 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@csr.com>                  Software Engineer
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070


  reply	other threads:[~2001-01-16 10:54 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-15 10:14 koen van hoof
2001-01-15 15:46 ` Dan Nelson
2001-01-15 17:23   ` Bart Schaefer
2001-01-16  8:30     ` koen van hoof
2001-01-16  8:52       ` Andrej Borsenkow
2001-01-16 10:42         ` koen van hoof
2001-01-16 10:54           ` Peter Stephenson [this message]
2001-01-16 11:19             ` Andrej Borsenkow
2001-01-16 11:56               ` koen van hoof
2001-01-16 12:11                 ` Andrej Borsenkow
2001-01-16 16:27                   ` koen van hoof
2001-01-16 17:05                     ` Peter Stephenson
2001-01-17  7:46                       ` koen van hoof
2001-01-17  7:53                       ` Andrej Borsenkow
2001-01-17 18:41                         ` Some general problems with exporting cariables (Was: TERMCAP problem. ) Andrej Borsenkow
2001-01-18 12:34                           ` koen van hoof
2001-01-18 13:16                             ` Andrej Borsenkow
2001-01-18 15:54                               ` koen van hoof
2001-01-19 15:05                                 ` Andrej Borsenkow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Tc0a8890c5123a97d52@mailsweeper01.cambridgesiliconradio.com \
    --to=pws@csr.com \
    --cc=koen.van_hoof@alcatel.be \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).