zsh-users
 help / color / mirror / code / Atom feed
From: Vincent Lefevre <vincent@vinc17.org>
To: zsh-users@sunsite.dk
Subject: Re: can't find termcap info
Date: Tue, 18 Sep 2001 16:51:11 +0200	[thread overview]
Message-ID: <20010918165111.B17411@greux.loria.fr> (raw)
In-Reply-To: <20010918062537.G13299@hq.newdream.net>

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 <vincent@vinc17.org> - 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


  reply	other threads:[~2001-09-18 14:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-18 12:25 Vincent Lefevre
2001-09-18 12:38 ` Will Yardley
2001-09-18 12:59   ` Vincent Lefevre
2001-09-18 13:25     ` Will Yardley
2001-09-18 14:51       ` Vincent Lefevre [this message]
2001-09-18 15:53         ` a normal guy
2001-09-18 16:13           ` Vincent Lefevre
2001-09-18 16:28             ` a normal guy
2001-09-18 17:04               ` Vincent Lefevre
2001-09-18 19:19             ` Bart Schaefer
2001-09-18 20:39               ` Vincent Lefevre
2001-09-18 22:10                 ` Bart Schaefer
2001-09-18 22:50                   ` Vincent Lefevre
2001-09-18 23:17                     ` Bart Schaefer
2001-09-19 10:10                       ` Vincent Lefevre

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=20010918165111.B17411@greux.loria.fr \
    --to=vincent@vinc17.org \
    --cc=zsh-users@sunsite.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).