From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25050 invoked from network); 18 Sep 2001 14:52:41 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 Sep 2001 14:52:41 -0000 Received: (qmail 17829 invoked by alias); 18 Sep 2001 14:52:10 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4248 Received: (qmail 17786 invoked from network); 18 Sep 2001 14:52:08 -0000 X-Authentication-Warning: greux.loria.fr: lefevre set sender to vincent@vinc17.org using -f Date: Tue, 18 Sep 2001 16:51:11 +0200 From: Vincent Lefevre To: zsh-users@sunsite.dk Subject: Re: can't find termcap info Message-ID: <20010918165111.B17411@greux.loria.fr> Mail-Followup-To: zsh-users@sunsite.dk References: <20010918142514.A16873@greux.loria.fr> <20010918053813.C13299@hq.newdream.net> <20010918145958.A17178@greux.loria.fr> <20010918062537.G13299@hq.newdream.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20010918062537.G13299@hq.newdream.net> User-Agent: Mutt/1.3.22.1i X-Mailer-Info: http://www.vinc17.org/mutt_eng.html 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):\ :ke=:ks=:tc=rxvt: > 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 - Web: - 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