zsh-users
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: Zsh Users <zsh-users@sunsite.dk>
Subject: Re: termcap
Date: Wed, 5 Sep 2001 09:25:33 -0400	[thread overview]
Message-ID: <20010905092533.A29243@dman.com> (raw)
In-Reply-To: <20010905053205.F4009@hq.newdream.net>; from william@hq.newdream.net on Wed, Sep 05, 2001 at 05:32:05AM -0700

> this machine doesn't have zsh so i'm running zsh from $HOME/bin/
> did i need to tell zsh the location of terminfo when i compiled it? do i
> just need to set different environment variables?
> 
> if termcap is needed, i have a current copy of that in $HOME/etc/termcap
> 
> i'm having the same problem with tcsh, so i'm assuming there's just some
> variable i need to set.

bash treats the TERMINFO parameter as special, and resets the terminal every
time it changes.  zsh (and tcsh, I assume) don't currently know about this
variable.  Other than the zsh/terminfo module, zsh is dealing with
termcap or termcap emulation.

On the other hand, zsh does react when the TERM parameter is changed.
I have zsh linked against ncurses, which knows about TERMINFO even though
zsh doesn't, and if I export TERMINFO, then change TERM, it will happily
find the terminfo definitions in $TERMINFO.

Thus, I think you are either not exporting TERMINFO to the environment
or the library which is providing zsh with tgetent() and friends
doesn't care about that variable.


  reply	other threads:[~2001-09-05 13:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-05 12:32 termcap Will Yardley
2001-09-05 13:25 ` Clint Adams [this message]
2001-09-05 19:28   ` termcap Will Yardley
2001-09-05 14:03 ` termcap Oliver Kiddle
2001-09-05 14:21   ` termcap Will Yardley
2001-09-05 14:24   ` termcap Bart Schaefer

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=20010905092533.A29243@dman.com \
    --to=clint@zsh.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).