Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: can't find termcap info



On Tue, Sep 18, 2001 at 15:10:18 -0700, Bart Schaefer wrote:
> On Sep 18, 10:39pm, Vincent Lefevre wrote:
> > greux:~> export TERMCAP=$HOME/.termcap
> > greux:~> TERM=nettle
> > zsh: segmentation fault (core dumped)  zsh
> 
> OK, that's pretty unpleasant.  Unfortunately, I'm not able to reproduce
> this, so you'll have to at least get us a stack trace with gdb and send it.

(gdb) backtrace
#0  chunk_alloc (ar_ptr=0x2abf1d60, nb=24) at malloc.c:2814
#1  0x2ab5c5ce in __libc_malloc (bytes=16) at malloc.c:2696
#2  0x2aae1f09 in _init () from /lib/libtermcap.so.2
#3  0x2aae2328 in _init () from /lib/libtermcap.so.2
#4  0x2aae2b3b in _init () from /lib/libtermcap.so.2
#5  0x2aae2bc8 in tgetent () from /lib/libtermcap.so.2
#6  0x806fdf8 in init_term ()
#7  0x80865f9 in termsetfn ()
#8  0x8083e5c in setstrvalue ()
#9  0x80849a6 in setsparam ()
#10 0x805fc03 in untokenize ()
#11 0x805e232 in execode ()
#12 0x805e329 in execlist ()
#13 0x805e1b1 in execode ()
#14 0x806f318 in loop ()
#15 0x807172c in zsh_main ()
#16 0x80516ca in main ()
#17 0x2ab1b9cb in __libc_start_main (main=0x80516b4 <main>, argc=1,
    argv=0x7ffff674, init=0x8050c34 <_init>, fini=0x80a1794 <_fini>,
    rtld_fini=0x2aab5e60 <_dl_fini>, stack_end=0x7ffff66c)
    at ../sysdeps/generic/libc-start.c:92

> If $HOME/.termcap isn't too huge, include that too.

It's too huge: 748544 KB.

I generated it with "tic -C -T terminfo.src", where terminfo.src is the
file distributed with ncurses 5.2 + a couple of lines for the nettle
terminal.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Messages sorted by: Reverse Date, Date, Thread, Author