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

Re: can't find termcap info

On Tue, Sep 18, 2001 at 06:25:37 -0700, Will Yardley wrote:
> well it won't be too helpful to me, but perhaps indicating the version
> of zsh

4.0.2 with history patch.

> and compile options (if known) and other pertinent information
> might help.

Options: --enable-maildir-support

zsh configuration
zsh version               : 4.0.2
host operating system     : i686-pc-linux-gnu
source code location      : .
compiler                  : gcc
preprocessor flags        : -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
executable compiler flags :  -Wall -Wno-implicit -Wmissing-prototypes -O2
executable linker flags   :   -s -rdynamic
library flags             : -ldl -lnsl -ltermcap -lm  -lc
installation basename     : zsh
binary install path       : /users/spaces/lefevre/i686-linux/bin
man page install path     : /users/spaces/lefevre/man
info install path         : /users/spaces/lefevre/info
functions install path    : /users/spaces/lefevre/share/zsh/4.0.2/functions
See config.modules for installed modules and functions.

greux:~> uname -a                                                     <16:29:34
Linux greux.loria.fr 2.2.17 #13 SMP Tue Dec 12 15:26:51 MET 2000 i686 unknown

>  have you tried this in any other shells?

No problem with bash.

>  are you sure that the termcap and / or terminfo info for your
> terminal type is correct?

It works with Mutt, less and emacs. But well, zsh doesn't say that it is
incorrect; it says that it can't find the termcap info.

BTW, I added the following lines in terminfo.src (distributed with
ncurses), after the rxvt entry:

nettle|nettle terminal emulator (RISC OS), 
	rmkx=, smkx=, use=rxvt, 

then reinstalled the terminfo and termcap databases in my $HOME.

> what does the 'nettle' section of $HOME/.termcap look like?

nettle|nettle terminal emulator (RISC OS):\

> is the terminfo directory in your home dir as well (in
> /home/.terminfo/ or something)?

greux:~> ll ~/.terminfo                                               <16:36:33
lrwxrwxrwx    1 lefevre  spaces         14 Sep 18 12:50 /users/spaces/lefevre/.terminfo -> share/terminfo/
greux:~> ll share/terminfo/n/nettle                                   <16:36:42
-rw-r--r--    1 lefevre  spaces       1595 Sep 18 13:18 share/terminfo/n/nettle

> it sounds like there's an error in the termcap description or something.
> does the same thing happen if you do:
> % bash
> bash$ export TERMINFO=[location of terminfo directory]
> bash$ export TERM=nettle
> or does that work?

No problem with bash (I don't even need to set TERMINFO).

> i think that unless zsh is compiled with ncurses you have to use
> $TERMCAP (again check the archives if you'd like to hear someone
> explain it in more excruciating detail).

The archives say to use the TERMCAP variable. But here it closes
the connection!

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