Zsh Mailing List Archive
Messages sorted by:
Re: can't find termcap info
- X-seq: zsh-users 4253
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: can't find termcap info
- Date: Tue, 18 Sep 2001 12:19:41 -0700
- In-reply-to: <20010918053813.C13299@xxxxxxxxxxxxxxx>
- In-reply-to: <20010918145958.A17178@xxxxxxxxxxxxxx>
- In-reply-to: <20010918165111.B17411@xxxxxxxxxxxxxx>
- In-reply-to: <20010918155339.20305.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
- In-reply-to: <20010918181329.A17722@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20010918142514.A16873@xxxxxxxxxxxxxx> <20010918053813.C13299@xxxxxxxxxxxxxxx> <20010918145958.A17178@xxxxxxxxxxxxxx> <20010918062537.G13299@xxxxxxxxxxxxxxx> <20010918165111.B17411@xxxxxxxxxxxxxx> <20010918155339.20305.qmail@xxxxxxxxxxxxxxxxxxxxxxx> <20010918181329.A17722@xxxxxxxxxxxxxx>
On Sep 18, 5:38am, Will Yardley wrote:
> i don't understand this fully (perhaps bart or someone can give a more
> depth explanation), but i believe that unless you specifically compile
> zsh with ncurses (or have a version that was compiled to work with
> ncurses) it uses some sort of system of its own.
No, that's not it.
Zsh's configure looks for the smallest set of libraries that will provide
support for ZLE. (As in smallest memory footprint, or at least that was
the original intent.) Curses is the heavyweight of the bunch, so that is
avoided unless nothing else will work (or unless you ask configure to use
it via --with-curses-terminfo). Zsh's configure looks for termcap first,
then terminfo, and finally curses, except on some specific platforms where
that search order is known to be sub-optimal.
So the chances are that if termcap exists and you didn't pass any options
to configure, then termcap is the only thing that zsh will understand.
On Sep 18, 2:59pm, Vincent Lefevre wrote:
> > export TERMCAP=/etc/termcap (terminfo is better if it works)
> greux:~> export TERMCAP=$HOME/.termcap <14:54:42
> greux:~> TERM=nettle <14:54:55
> rlogin: connection closed.
Here's what you do: Log in to greux. Start a second copy of zsh inside the
first one, so that you're no longer working directly with the login shell.
Then try the above again and see if (a) the connection still closes or (b)
you get some error messages when the "nested" shell exits.
Then tell us about it.
On Sep 18, 4:51pm, Vincent Lefevre wrote:
> > 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.
It's entirely possible that Mutt, less, emacs, and bash are using terminfo
(which is OK) while zsh is using termcap (which has something wrong).
> nettle|nettle terminal emulator (RISC OS):\
Are you sure there's an rxvt entry? What happens if you do
? Is there any value you can assign to TERM that does *not* produce the
On Sep 18, 6:13pm, Vincent Lefevre wrote:
> Here, until I installed ncurses 5.2 (which is after I compiled zsh),
> tgetent didn't seem to exist; at least, there was no man page about
> this function.
Try "man curs_termcap". However, tgetent() is unlikely to be the problem.
Messages sorted by: